brief DtEffectControllerShaderCache is a cache for shaders used by effect texture controller
More...
|
| | DtEffectControllerShaderCache (DtDe &de, DtOsgFileCache &fileCache) |
| | constructor More...
|
| |
| virtual | ~DtEffectControllerShaderCache () |
| | destructor More...
|
| |
| virtual const std::string & | vertShaderSource (const std::string &vertShaderFile, int textureUnit) const |
| | get vert shader, given an effect vert shader file name, with the multi texture coords adjusted for the given texture unit create an entry in the cache if its not present More...
|
| |
| virtual const std::string & | fragShaderSource (const std::string &fragShaderFile, bool forTexArray, const std::string &effectUnitName) const |
| | get vert shader, given an effect vert shader file name, with the shader adjusted for texture array, if that bool is true create an entry in the cache if its not present More...
|
| |
|
| virtual std::string | generateVertShaderSource (const std::string &vertShaderFile, int textureUnit) const |
| | generate the source, given the shader, texture unit More...
|
| |
| virtual std::string | generateFragShaderSource (const std::string &fragShaderFile, bool forTexArray, const std::string &effectUnitName) const |
| | generate the source, given the shader, whether its for texture array and the effect unit name More...
|
| |
brief DtEffectControllerShaderCache is a cache for shaders used by effect texture controller
| makVrv::DtEffectControllerShaderCache::DtEffectControllerShaderCache |
( |
DtDe & |
de, |
|
|
DtOsgFileCache & |
fileCache |
|
) |
| |
| virtual makVrv::DtEffectControllerShaderCache::~DtEffectControllerShaderCache |
( |
| ) |
|
|
virtual |
| makVrv::DtEffectControllerShaderCache::DtEffectControllerShaderCache |
( |
| ) |
|
|
private |
Default Constructor not implemented.
Copy Constructor not implemented – Copy Not Allowed.
Assignment Operator Not implemented – Assignment Not Allowed.
| virtual const std::string& makVrv::DtEffectControllerShaderCache::vertShaderSource |
( |
const std::string & |
vertShaderFile, |
|
|
int |
textureUnit |
|
) |
| const |
|
virtual |
get vert shader, given an effect vert shader file name, with the multi texture coords adjusted for the given texture unit create an entry in the cache if its not present
| virtual const std::string& makVrv::DtEffectControllerShaderCache::fragShaderSource |
( |
const std::string & |
fragShaderFile, |
|
|
bool |
forTexArray, |
|
|
const std::string & |
effectUnitName |
|
) |
| const |
|
virtual |
get vert shader, given an effect vert shader file name, with the shader adjusted for texture array, if that bool is true create an entry in the cache if its not present
| virtual std::string makVrv::DtEffectControllerShaderCache::generateVertShaderSource |
( |
const std::string & |
vertShaderFile, |
|
|
int |
textureUnit |
|
) |
| const |
|
protectedvirtual |
generate the source, given the shader, texture unit
| virtual std::string makVrv::DtEffectControllerShaderCache::generateFragShaderSource |
( |
const std::string & |
fragShaderFile, |
|
|
bool |
forTexArray, |
|
|
const std::string & |
effectUnitName |
|
) |
| const |
|
protectedvirtual |
generate the source, given the shader, whether its for texture array and the effect unit name
| const DtOsgFileCache& makVrv::DtEffectControllerShaderCache::myFileCache |
|
protected |
| MapVertShaders makVrv::DtEffectControllerShaderCache::myMapVertShaders |
|
mutableprotected |
| MapFragShaders makVrv::DtEffectControllerShaderCache::myMapFragShaders |
|
mutableprotected |
| tbb::spin_rw_mutex makVrv::DtEffectControllerShaderCache::myFragMapMutex |
|
mutableprotected |
| tbb::spin_rw_mutex makVrv::DtEffectControllerShaderCache::myVertMapMutex |
|
mutableprotected |
| DtDe& makVrv::DtEffectControllerShaderCache::myDe |
|
protected |
The documentation for this class was generated from the following file: