Why not cache ProgramState in cocos2d-x-v4?

Just see the title…

@halx99 ProgramState was used to store uniforms value and textures. Since different effects may have different uniforms value or textures, so we don’t cache the ProgramState to avoid
override the uniform or texture.

Got it, thanks for your reply.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.