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

#include <GR_Material.h>

Public Member Functions

 GR_ShaderCache ()
 
 UT_NON_COPYABLE (GR_ShaderCache)
 

Static Public Member Functions

static void initCache ()
 
static void destroyCache ()
 
static exint getShaderID (const UT_StringHolder &name)
 
static RV_ShaderProgramgetShader (exint id)
 
static exint createEntryID (const UT_StringHolder &name)
 
static void cacheShader (exint entry, UT_UniquePtr< RV_ShaderProgram > shader)
 
static bool removeShader (const UT_StringHolder &name)
 

Detailed Description

Definition at line 352 of file GR_Material.h.

Constructor & Destructor Documentation

GR_ShaderCache::GR_ShaderCache ( )
inline

Definition at line 355 of file GR_Material.h.

Member Function Documentation

static void GR_ShaderCache::cacheShader ( exint  entry,
UT_UniquePtr< RV_ShaderProgram shader 
)
static
static exint GR_ShaderCache::createEntryID ( const UT_StringHolder name)
static
static void GR_ShaderCache::destroyCache ( )
static
static RV_ShaderProgram* GR_ShaderCache::getShader ( exint  id)
static
static exint GR_ShaderCache::getShaderID ( const UT_StringHolder name)
static
static void GR_ShaderCache::initCache ( )
static
static bool GR_ShaderCache::removeShader ( const UT_StringHolder name)
static
GR_ShaderCache::UT_NON_COPYABLE ( GR_ShaderCache  )

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