![]() |
VR-Forces Developer's Guide
|
Abstract class to look in the stateset and collect textures specified via its template The effect texture visitor installs effect textures during loading Indirect rendering needs to know which effect textures these are (so it can install its indirect rendering based shaders, etc). These are slightly different in case of point features, cdb, etc This abstract class allows you to handle these abstractly.

Public Member Functions | |
| virtual | ~DtIndirectTextureCollectionPolicy () |
| virtual void | collectTextures (DtIndirectGeometryTextures &textures, const osg::StateSet *stateSet, const std::string &modelName) const =0 |
| virtual const DtIndirectEffectTexturesTemplate & | effectTexturesTemplate (void) const |
Protected Member Functions | |
| DtIndirectTextureCollectionPolicy (DtDe &de) | |
| virtual void | collectDiffuseTexture (osg::ref_ptr< const osg::Texture > osgDiffuseTexture, DtIndirectGeometryTextures &textures, const osg::StateSet *stateSet, const std::string &modelName, uint32_t flags) const |
| virtual uint32_t | flags (const osg::Texture *srcOsgTexture, const std::string &modelName, DtEffectTextureType effectTextureType) const |
Friends | |
| class | DtIndirectTextureCollectionPolicyCreator |
|
virtual |
destructor
|
protected |
constructor
|
pure virtual |
inherited class must implement the found textures go into texturePointers pass in the model name to improve the error messages
Implemented in makVrv::DtIndirectDefaultTextureCollectionPolicy, and makVrv::oe::CDB::DtCDBTextureCollectionPolicy.
|
virtual |
access the template
|
protectedvirtual |
collect diffuse texture
|
protectedvirtual |
is gltf? is runtime?
|
friend |
cannot create directly, must use creator
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |