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