Enforces a single DtGlTextureResidencyManager across the whole indirect system/vrv (since the DtGlTextureResidencyManager class is in vrvGraphicsUtils and knows nothing about DtDe)
| virtual makVrv::DtIndirectGlTextureResidencyManager::~DtIndirectGlTextureResidencyManager |
( |
| ) |
|
|
virtual |
| makVrv::DtIndirectGlTextureResidencyManager::DtIndirectGlTextureResidencyManager |
( |
| ) |
|
|
delete |
| makVrv::DtIndirectGlTextureResidencyManager::DtIndirectGlTextureResidencyManager |
( |
DtDe & |
de | ) |
|
|
protected |
Access the singleton instance.
| virtual void makVrv::DtIndirectGlTextureResidencyManager::makeResidentIfNecessary |
( |
void * |
gContext, |
|
|
GLuint |
textureID |
|
) |
| |
|
virtual |
Check if a texture is resident in a given context. If not, make it resident.
| virtual bool makVrv::DtIndirectGlTextureResidencyManager::makeNonResidentIfNecessary |
( |
void * |
gContext, |
|
|
GLuint |
textureID, |
|
|
bool |
canDelete |
|
) |
| |
|
virtual |
Make a texture non-resident in GPU memory If canDelete=true, the function will try to delete the texture and return true if it succeeded in deleting the texture.
| virtual GLuint64 makVrv::DtIndirectGlTextureResidencyManager::gpuTextureAddress |
( |
GLuint |
textureID | ) |
const |
|
virtual |
Get the Gpu address of a texture.
| virtual bool makVrv::DtIndirectGlTextureResidencyManager::isTexture |
( |
GLuint |
textureID | ) |
const |
|
virtual |
check if the texture is in fact an OpenGL texture
access the actual manager
register if the manager is registered
| DtDe& makVrv::DtIndirectGlTextureResidencyManager::myDe |
|
protected |
pointer to the internal gl residency manager
The documentation for this class was generated from the following file: