Basic openGL usage in cocos2d-x v3.14.1
Basic openGL usage in cocos2d-x v3.14.1. Shows how to override the scenes onDraw method, setup VAO and VBOs, push data, and render a triangle with per vertex color using a basic shader. Accompanying tutorial explaining all code and concepts in detail can be found here.
Cocos2d-x is licensed under the MIT License.
All original code is also licensed under the MIT License.