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 cacheShader (const UT_StringHolder &name, RV_ShaderProgram *shader)
 
static bool removeShader (const UT_StringHolder &name)
 

Detailed Description

Definition at line 310 of file GR_Material.h.

Constructor & Destructor Documentation

GR_ShaderCache::GR_ShaderCache ( )
inline

Definition at line 313 of file GR_Material.h.

Member Function Documentation

static exint GR_ShaderCache::cacheShader ( const UT_StringHolder name,
RV_ShaderProgram shader 
)
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: