It will delete a given texture. If the texture was bound, it will invalidate the cached for the given texture unit. If CC_ENABLE_GL_STATE_CACHE is disabled, it will call glDeleteTextures() directly.
Function ccGLDeleteTextureN
#include <Geode/cocos/shaders/ccGLStateCache.h>
GLuinttextureUnit
,GLuinttextureId
)