OpenGl using cocos2dx

Is it possible to use opengl code while using cocos2dx library to improve performance?

sure, Cocos2d-x is based upon OpenGL under the hood. Please see CustomCommand this tells you when to use it, outside of operations that you just just inline wherever.

1 Like