![]() |
VR-Forces Developer's Guide
|
loads and contains various core default textures used by the indirect system

Public Member Functions | |
| virtual | ~DtIndirectDefaultTexturesContainer () |
| DtIndirectDefaultTexturesContainer ()=delete | |
| DtIndirectDefaultTexturesContainer & | operator= (const DtIndirectDefaultTexturesContainer &rhs)=delete |
| DtIndirectDefaultTexturesContainer (const DtIndirectDefaultTexturesContainer &rhs)=delete | |
| virtual void | loadDefaultTextures (void) |
| virtual osg::ref_ptr < osg::Texture > | defaultTextureOsg (void) const |
| virtual const DtIndirectTexturePrototype * | defaultTexture (void) const |
| virtual int | loadModelDebugTexture (void) |
| virtual const DtIndirectTexturePrototype * | modelDebugTexture (void) const |
| virtual const DtIndirectTexturePrototype * | brdfLookupTexture (void) const |
| virtual const DtIndirectTexturePrototype * | outOfMemoryTexture (void) const |
| virtual const DtIndirectTexturePrototype * | lightsDebugDigitsTexture (void) const |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| virtual | ~DtVirtualBaseClass () |
Static Public Member Functions | |
| static DtIndirectDefaultTexturesContainer & | instance (DtDe &de) |
Protected Member Functions | |
| DtIndirectDefaultTexturesContainer (DtDe &de) | |
| void | loadTheDefaultTexture (const std::string &filename) |
| void | loadTheOutOfMemoryTexture (const std::string &filename) |
| void | loadLightsDigitsDebugTexture (const std::string &filename) |
| std::string | findDebugTexturePath (void) const |
| void | loadBrdfLookupTexture (void) |
Static Protected Member Functions | |
| static void | registerInstance (DtIndirectDefaultTexturesContainer *manager, DtDe &de) |
| static DtIndirectDefaultTexturesContainer * | findInstance (DtDe &de) |
Protected Attributes | |
| DtDe & | myDe |
| osg::ref_ptr< osg::Texture > | myDefaultTextureOsg |
| const DtIndirectTexturePrototype * | myDefaultTexture = nullptr |
| const DtIndirectTexturePrototype * | myOutOfMemoryTexture = nullptr |
| const DtIndirectTexturePrototype * | myLightsDigitsDebugTexture = nullptr |
| const DtIndirectTexturePrototype * | myModelDebugTexture = nullptr |
| const DtIndirectTexturePrototype * | myBrdfLookupTexture = nullptr |
| DtIndirectTexturePrototypeManager & | myTexturePrototypeManager |
Static Protected Attributes | |
| static const std::string | theClassName |
|
virtual |
destructor
|
delete |
not allowed
|
delete |
not allowed
|
protected |
cannot create directly
|
static |
Access the singleton instance.
|
delete |
not allowed
|
virtual |
call once. called from vrvOsg.cxx
|
virtual |
access the default texture
|
virtual |
access the default texture
|
virtual |
Loads the debug texture and returns the loaded status. return status: 0 = failed to load, 1 = first successful load, 2 = previously successful load.
|
virtual |
Returns the model debugging texture. This can return nullptr if the texture was not loaded.
|
virtual |
brdf look up texture
|
virtual |
access the out of memory texture
|
virtual |
access the lights debug digit texture
|
staticprotected |
register the manager
|
staticprotected |
register if the manager is registered
|
protected |
create a default texture for indirect to use when there is not a diffuse texture on a stateset
|
protected |
create a default texture for indirect to use instead when there is not enough memory to create the requested texture
|
protected |
the debug texture for the lights (the one shown via f4/lights/art dev
|
protected |
find the path of the debug texture
|
protected |
brdf texture
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Texture for rendering the debug labels. Contains all 10 digits so that any number can be shown using the debug labels. The debug labels show the light point type for now.
|
protected |
|
protected |
|
protected |
|
staticprotected |