Function ccGLBindVAO

#include <Geode/cocos/shaders/ccGLStateCache.h>voidccGLBindVAO()

Since v2.0.0

If the vertex array is not already bound, it binds it. If CC_ENABLE_GL_STATE_CACHE is disabled, it will call glBindVertexArray() directly.

Examples0