|
HDK
|
#include <GR_Material.h>
Public Member Functions | |
| GR_ShaderCache () | |
| ~GR_ShaderCache () | |
| UT_NON_COPYABLE (GR_ShaderCache) | |
Static Public Member Functions | |
| static void | initCache () |
| static void | destroyCache () |
| static void | clearCache () |
| static exint | getShaderID (const UT_StringHolder &name) |
| static exint | getComputeID (const UT_StringHolder &name) |
| static RV_ShaderProgram * | getShader (exint id) |
| static RV_ShaderCompute * | getComputeShader (exint id) |
| static exint | createEntryID (const UT_StringHolder &name) |
| static exint | createComputeEntryID (const UT_StringHolder &name) |
| static void | cacheShader (exint entry, const GR_Material &for_material, UT_UniquePtr< RV_ShaderProgram > shader) |
| static void | cacheComputeShader (exint entry, const GR_Material &for_material, UT_UniquePtr< RV_ShaderCompute > shader) |
| static void | addShaderRef (exint id, const GR_Material &material) |
| static void | addComputeRef (exint id, const GR_Material &material) |
| static bool | removeShader (const UT_StringHolder &name, const GR_Material &for_material) |
| static bool | removeComputeShader (const UT_StringHolder &name, const GR_Material &for_material) |
Definition at line 362 of file GR_Material.h.
|
inline |
Definition at line 365 of file GR_Material.h.
| GR_ShaderCache::~GR_ShaderCache | ( | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| GR_ShaderCache::UT_NON_COPYABLE | ( | GR_ShaderCache | ) |