Function ccGLBlendResetToCache

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

Since v2.0.0

Resets the blending mode back to the cached state in case you used glBlendFuncSeparate() or glBlendEquation(). If CC_ENABLE_GL_STATE_CACHE is disabled, it will just set the default blending mode using GL_FUNC_ADD.

Examples0