VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Static Public Member Functions | Static Public Attributes
makVrv::DtGLTextureUtils Class Reference

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)
 
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 GetAddress (GLuint textureID)
 
static bool isTexture (GLuint textureID)
 
static void ContextToBeDeleted (void *gContext)
 

Static Public Attributes

static ContextToTexID theTextureCountByContext
 
static TexIDToCount theTextureCountAcrossContexts
 

Member Typedef Documentation

Member Function Documentation

static void makVrv::DtGLTextureUtils::MakeResidentIfNecessary ( void *  gContext,
GLuint  textureID 
)
static
static bool makVrv::DtGLTextureUtils::MakeNonResidentIfNecessary ( void *  gContext,
GLuint  textureID,
bool  canDelete 
)
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 GLuint64 makVrv::DtGLTextureUtils::GetAddress ( GLuint  textureID)
static
static bool makVrv::DtGLTextureUtils::isTexture ( GLuint  textureID)
static
static void makVrv::DtGLTextureUtils::ContextToBeDeleted ( void *  gContext)
static

Member Data Documentation

ContextToTexID makVrv::DtGLTextureUtils::theTextureCountByContext
static
TexIDToCount makVrv::DtGLTextureUtils::theTextureCountAcrossContexts
static

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)