![]() |
VR-Forces 4.10 Class Documentation
|
helper class to handle texture residency More...
Public Types | |
| typedef std::map< unsigned int, int > | TexIDToCount |
| typedef std::map< void *, TexIDToCount > | ContextToTexID |
Static Public Member Functions | |
| static void | makeResidentIfNecessary (void *gContext, GLuint textureID) |
| Check if a texture is resident in a given context. If not, make it resident. More... | |
| static bool | makeNonResidentIfNecessary (void *gContext, GLuint textureID, bool canDelete) |
| 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. More... | |
| static GLuint64 | gpuTextureAddress (GLuint textureID) |
| Get the Gpu address of a texture. More... | |
| static bool | isTexture (GLuint textureID) |
| check if the texture is infact an OpenGL texture More... | |
Static Protected Attributes | |
| static ContextToTexID | theTextureCountByContext |
| static TexIDToCount | theTextureCountAcrossContexts |
Private Member Functions | |
| DtGLTextureUtils ()=delete | |
| not allowed More... | |
| DtGLTextureUtils (const DtGLTextureUtils &)=delete | |
| not allowed More... | |
| DtGLTextureUtils & | operator= (const DtGLTextureUtils &)=delete |
| not allowed More... | |
| virtual | ~DtGLTextureUtils ()=delete |
| not allowed More... | |
helper class to handle texture residency
| typedef std::map<unsigned int, int> makVrv::DtGLTextureUtils::TexIDToCount |
| typedef std::map<void*, TexIDToCount> makVrv::DtGLTextureUtils::ContextToTexID |
|
privatedelete |
not allowed
|
privatedelete |
not allowed
|
privatevirtualdelete |
not allowed
|
privatedelete |
not allowed
|
static |
Check if a texture is resident in a given context. If not, make it resident.
|
static |
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.
|
static |
Get the Gpu address of a texture.
check if the texture is infact an OpenGL texture
|
staticprotected |
|
staticprotected |