16 #include <tbb/spin_rw_mutex.h>
47 virtual const std::string& vertShaderSource(
const std::string& vertShaderFile,
int textureUnit)
const;
51 virtual const std::string& fragShaderSource(
const std::string& fragShaderFile,
bool forTexArray,
const std::string& effectUnitName)
const;
54 virtual std::string generateVertShaderSource(
const std::string& vertShaderFile,
int textureUnit)
const;
57 virtual std::string generateFragShaderSource(
const std::string& fragShaderFile,
bool forTexArray,
const std::string& effectUnitName)
const;
std::map< VertShaderKey, std::string > MapVertShaders
Definition: DtEffectControllerShaderCache.h:62
DtDe & myDe
Definition: DtEffectControllerShaderCache.h:73
std::map< FragShaderKey, std::string > MapFragShaders
Definition: DtEffectControllerShaderCache.h:67
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
brief DtEffectControllerShaderCache is a cache for shaders used by effect texture controller ...
Definition: DtEffectControllerShaderCache.h:26
const DtOsgFileCache & myFileCache
Definition: DtEffectControllerShaderCache.h:59
std::pair< std::string, bool > FragShaderKey
Definition: DtEffectControllerShaderCache.h:66
The OSG implementation of makVrv::DtOsgFileCache. This will cache files as .ive's for quicker load ti...
Definition: DtOsgFileCache.h:56
tbb::spin_rw_mutex myVertMapMutex
Definition: DtEffectControllerShaderCache.h:71
MapVertShaders myMapVertShaders
Definition: DtEffectControllerShaderCache.h:64
Contains DLL export macros.
std::pair< std::string, int > VertShaderKey
Definition: DtEffectControllerShaderCache.h:61
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:72
MapFragShaders myMapFragShaders
Definition: DtEffectControllerShaderCache.h:68
tbb::spin_rw_mutex myFragMapMutex
Definition: DtEffectControllerShaderCache.h:70