Class cc.ShaderCache

Class Summary
Constructor Attributes Constructor Name and Description
 
Singleton that stores manages GL shaders

Method Summary

Class Detail

cc.ShaderCache()
Singleton that stores manages GL shaders

Method Detail

  • <static> {cc.ShaderCache} cc.ShaderCache.getInstance()
    returns the cc.ShaderCache instance
    Returns:
    {cc.ShaderCache}
  • <static> cc.ShaderCache.purgeSharedShaderCache()
    purges the cache. It releases the retained instance.