Function ccGLDeleteTexture

#include <Geode/cocos/shaders/ccGLStateCache.h>voidccGLDeleteTexture(
_::GLuinttextureId
)

Since v2.0.0

It will delete a given texture. If the texture was bound, it will invalidate the cached. If CC_ENABLE_GL_STATE_CACHE is disabled, it will call glDeleteTextures() directly.

Examples0