CCShaderCache Class Reference
Inherits from | NSObject |
Declared in | CCShaderCache.h |
Tasks
-
+ sharedShaderCache
returns the shared instance
-
+ purgeSharedShaderCache
purges the cache. It releases the retained instance.
-
– loadDefaultShaders
loads the default shaders
-
– programForKey:
returns a GL program for a given key
-
– addProgram:forKey:
adds a CCGLProgram to the cache for a given name