Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
SoContextedObjectCacheList.h File Reference
#include <Inventor/SbBasic.h>
#include <Inventor/helpers/SbGlContextHelper.h>
#include <Inventor/caches/SoBaseContextCache.h>

Go to the source code of this file.

Classes

struct  SoGLTexCacheEntry
 Stores info about a tex cache. More...
 

Functions

void * getCache (SoState *state, float quality)
 
void * getCache (SoDeviceContext *ctx, float quality)
 
void setCache (int sharedGroup, void *texObj, float quality, SoState *state=NULL)
 
void setCache (int sharedGroup, void *texObj, float quality, SoState *state, void *&oldTexObj)
 
void invalidateAll (SoState *state=NULL) const
 
bool invalidateContext (SoDeviceContextSharedGroup *ctx)
 

Function Documentation

◆ getCache() [1/2]

void * getCache ( SoDeviceContext ctx,
float  quality 
)

◆ getCache() [2/2]

void * getCache ( SoState state,
float  quality 
)

◆ invalidateAll()

void invalidateAll ( SoState state = NULL) const

◆ invalidateContext()

bool invalidateContext ( SoDeviceContextSharedGroup ctx)

◆ setCache() [1/2]

void setCache ( int  sharedGroup,
void *  texObj,
float  quality,
SoState state,
void *&  oldTexObj 
)

◆ setCache() [2/2]

void setCache ( int  sharedGroup,
void *  texObj,
float  quality,
SoState state = NULL 
)