19 #include <osg/Referenced>
21 #include <boost/thread.hpp>
48 virtual const std::string& loadShaderSource(
const std::string& strFileName,
bool logWarning =
true)
const;
50 virtual const std::string& loadProgramBinary(
const std::string& strFileName,
bool logWarning =
true)
const;
53 virtual void PreReloadShaders(
void);
56 virtual void PostReloadShaders(
void);
static const std::string theEmptyString
Definition: DtOsgShaderFilesCache.h:64
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
std::map< std::string, std::string > MapStringToString
Definition: DtCommonTypes.h:24
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
class for holding loader shader files, so that they are not repeatedly loaded from disk ...
Definition: DtOsgShaderFilesCache.h:27
boost::mutex myMutex
Definition: DtOsgShaderFilesCache.h:73
Contains makVrv::DtVirtualBaseClass class.
DtDe & myDe
Definition: DtOsgShaderFilesCache.h:71
OpenThreads::Mutex Mutex
Definition: DtOsgThreadingUtils.h:12
Contains DLL export macros.
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
MapStringToString myMutableProgramBinaryFilesCache
Definition: DtOsgShaderFilesCache.h:68
MapStringToString myMutableShaderFilesCache
Definition: DtOsgShaderFilesCache.h:67
OpenThreads::Mutex myShaderFilesCacheMutex
Definition: DtOsgShaderFilesCache.h:69