16 #include <osgDB/Options>
18 #include <osg/Referenced>
19 #include <osg/ExtendedMaterial>
20 #include <osg/StateAttribute>
36 class DtOsgShaderManager;
38 class DtPossibleFileNamesCache;
40 struct DtVirtualProgramParams;
53 virtual const std::string& effectTypeCode()
const;
56 virtual int effectTextureType()
const;
64 virtual osg::Texture* installEffectTexture(osg::Texture* baseTexture,
int baseTexUnit,
71 virtual bool installShaders(
int baseUnit,
int effectUnit,
const osg::Texture* tex, osg::StateSet* stateSet,
const std::string& baseTextureName)
const {
return true; }
79 virtual osgEarth::VirtualProgram* installVirtualProgram(
int baseUnit,
int effectUnit,
const osg::Texture* tex, osg::StateSet* stateSet,
const std::string& baseTextureName
83 virtual void applyDefaultShaderLODRanges(osgEarth::VirtualProgram* vp,
const std::string&
function)
const;
virtual bool installShaders(int baseUnit, int effectUnit, const osg::Texture *tex, osg::StateSet *stateSet, const std::string &baseTextureName) const
install shaders for a stateset if required by this effect.
Definition: DtOsgEffectTextureController.h:71
Contains makVrv::DtEffectTextureType declaration.
A thread safe cache containing a list of possible file names for effect textures, based on the curren...
Definition: DtPossibleFileNamesCache.h:27
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
float myDefaultMaxRange
Definition: DtOsgEffectTextureController.h:89
The OSG implementation of makVrv::DtOsgFileCache. This will cache files as .ive's for quicker load ti...
Definition: DtOsgFileCache.h:54
DtDe & myDe
Definition: DtOsgEffectTextureController.h:92
Base class for controllers that install and control effect textures.
Definition: DtOsgEffectTextureController.h:44
const int myEffectTextureType
Definition: DtOsgEffectTextureController.h:86
Contains DLL export macros.
const DtOsgFileCache & myFileCache
Definition: DtOsgEffectTextureController.h:91
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:70
const std::string myEffectTypeCode
Definition: DtOsgEffectTextureController.h:87
structure to pass encapsulate parameters of a particular VP
Definition: DtVirtualProgramParams.h:19