![]() |
VR-Forces 5.0.3 Developer's Guide
|
This class tracks all the texture objects created on the vrv side It also detects clashes between vrv <> osg textures (ie whether a texture with the same file path on disk was made by both vrv and osg) It does this via DtVrvToOsgTextureClashDetector.
Public Member Functions | |
| virtual | ~DtIndirectGlTextureObjectTracker () |
| DtIndirectGlTextureObjectTracker ()=delete | |
| DtIndirectGlTextureObjectTracker & | operator= (const DtIndirectGlTextureObjectTracker &rhs)=delete |
| DtIndirectGlTextureObjectTracker (const DtIndirectGlTextureObjectTracker &rhs)=delete | |
| virtual void | textureSizeChanged (unsigned int textureId) |
| virtual void | textureDeleted (unsigned int textureId) |
| virtual const DtGlTextureMemoryTracker * | tracker (void) const |
| virtual void | osgTextureSizeChanged (unsigned int textureId) |
| virtual void | osgTextureDeleted (unsigned int textureId) |
| virtual unsigned int | findVrvTexture (const std::string &textureFilePath) const |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| virtual | ~DtVirtualBaseClass () |
Static Public Member Functions | |
| static DtIndirectGlTextureObjectTracker & | instance (DtDe &de) |
Protected Member Functions | |
| DtIndirectGlTextureObjectTracker (DtDe &de) | |
Static Protected Member Functions | |
| static void | registerInstance (DtIndirectGlTextureObjectTracker *manager, DtDe &de) |
| static DtIndirectGlTextureObjectTracker * | findInstance (DtDe &de) |
Protected Attributes | |
| DtDe & | myDe |
| DtGlTextureMemoryTracker * | myVrvTracker |
| DtVrvToOsgTextureClashDetector * | myVrvToOsgTextureClashDetector |
|
virtual |
destructor
|
delete |
not allowed
|
delete |
not allowed
|
protected |
cannot create directly
|
static |
Access the singleton instance.
|
delete |
not allowed
|
virtual |
call when texture size changed
|
virtual |
call when texture is being deleted
|
virtual |
access the tracker
|
virtual |
call this when osg texture size changed
|
virtual |
call this when osg texture is being deleted
|
virtual |
find a vrv texture with this file path 0 if none found
|
staticprotected |
register the manager
|
staticprotected |
register if the manager is registered
|
protected |
|
protected |
|
protected |