Inventor/caches/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

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

Variables

SoContextedObjectCacheList __pad0__
SoContextedObjectCacheList bool sharable = true
SoContextedObjectCacheList
bool SbBool 
useMutex = FALSE)
SoGLTexCacheEntrym_cacheList
int m_numCaches
SbThreadMutexm_mutex
bool m_sharable
static int s_debugFlag

Function Documentation

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

Variable Documentation

SoContextedObjectCacheList __pad0__
bool m_sharable

True if the object can be shared between context.

int s_debugFlag [static]
SoContextedObjectCacheList bool sharable = true
SoContextedObjectCacheList bool SbBool useMutex = FALSE)

Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/