#include <CCGLProgramStateCache.h>
Public Member Functions | |
GLProgramState * | getGLProgramState (GLProgram *program) |
local | getGLProgramState ( local program) |
void | removeAllGLProgramState () |
void | removeUnusedGLProgramState () |
Static Public Member Functions | |
static GLProgramStateCache * | getInstance () |
local | getInstance () |
static void | destroyInstance () |
Protected Member Functions | |
GLProgramStateCache () | |
~GLProgramStateCache () |
Protected Attributes | |
Map< GLProgram *, GLProgramState * > | _glProgramStates |
local | _glProgramStates |
Static Protected Attributes | |
static GLProgramStateCache * | s_instance |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
static |
|
static |
|
static |
GLProgramState* getGLProgramState | ( | GLProgram * | program | ) |
var getGLProgramState | ( | var | program | ) |
local getGLProgramState | ( | local | program | ) |
|
static |
|
static |
|
static |
void removeAllGLProgramState | ( | ) |
var removeAllGLProgramState | ( | ) |
local removeAllGLProgramState | ( | ) |
void removeUnusedGLProgramState | ( | ) |
var removeUnusedGLProgramState | ( | ) |
local removeUnusedGLProgramState | ( | ) |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |
|
staticprotected |