HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TIL_TextureCache Class Reference

#include <TIL_TextureMap.h>

Classes

struct  ErrorFiles
 
struct  OIIOStats
 
struct  PtexStats
 

Static Public Member Functions

static int getMaxWidth ()
 
static int getMaxHeight ()
 
static void setMaxSize (int w=256, int h=256)
 
static int getCacheSize ()
 
static void setCacheSize (int size=100)
 
static int64 getCacheMemSize ()
 
static void setCacheMemSize (int64 sizeinmb)
 
static void getImageStat (UT_Array< TIL_TextureMapStat > &stats)
 
static int64 getMemoryUsage ()
 
static void getConversionStats (exint &num_conversions, exint &current_memory, exint &peak_memory)
 
static void storeTexture (const UT_StringHolder &name, UT_UniquePtr< TIL_TextureRaster > map)
 
static void eraseTexture (const UT_StringHolder &name)
 
static bool getOIIOStats (OIIOStats &stats)
 
static UT_StringHolder getOIIOStats (int level=1)
 
static void getPtexStats (PtexStats &stats)
 
static ErrorFiles getErrorFiles ()
 
static int getVersion ()
 
static void clearCache (int only_out_of_date=0)
 
static void clearCache (const UT_StringRef &mapname)
 
static int getAutoFlush ()
 
static void setAutoFlush (int onOff)
 
static void rasterDied (TIL_Raster *raster)
 
static void imageDataDied (void *imagedata)
 
static void setNonRATError (bool on)
 
static bool getNonRATError ()
 

Detailed Description

Definition at line 150 of file TIL_TextureMap.h.

Member Function Documentation

static void TIL_TextureCache::clearCache ( int  only_out_of_date = 0)
static
static void TIL_TextureCache::clearCache ( const UT_StringRef mapname)
static
static void TIL_TextureCache::eraseTexture ( const UT_StringHolder name)
static
static int TIL_TextureCache::getAutoFlush ( )
static
static int64 TIL_TextureCache::getCacheMemSize ( )
static
static int TIL_TextureCache::getCacheSize ( )
static
static void TIL_TextureCache::getConversionStats ( exint num_conversions,
exint current_memory,
exint peak_memory 
)
static
static ErrorFiles TIL_TextureCache::getErrorFiles ( )
static
static void TIL_TextureCache::getImageStat ( UT_Array< TIL_TextureMapStat > &  stats)
static
static int TIL_TextureCache::getMaxHeight ( )
static
static int TIL_TextureCache::getMaxWidth ( )
static
static int64 TIL_TextureCache::getMemoryUsage ( )
static
static bool TIL_TextureCache::getNonRATError ( )
static
static bool TIL_TextureCache::getOIIOStats ( OIIOStats stats)
static
static UT_StringHolder TIL_TextureCache::getOIIOStats ( int  level = 1)
static
static void TIL_TextureCache::getPtexStats ( PtexStats stats)
static
static int TIL_TextureCache::getVersion ( )
static
static void TIL_TextureCache::imageDataDied ( void imagedata)
static
static void TIL_TextureCache::rasterDied ( TIL_Raster raster)
static
static void TIL_TextureCache::setAutoFlush ( int  onOff)
static
static void TIL_TextureCache::setCacheMemSize ( int64  sizeinmb)
static
static void TIL_TextureCache::setCacheSize ( int  size = 100)
static
static void TIL_TextureCache::setMaxSize ( int  w = 256,
int  h = 256 
)
static
static void TIL_TextureCache::setNonRATError ( bool  on)
static
static void TIL_TextureCache::storeTexture ( const UT_StringHolder name,
UT_UniquePtr< TIL_TextureRaster >  map 
)
static

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