Function ccGLBlendFunc

#include <Geode/cocos/shaders/ccGLStateCache.h>voidccGLBlendFunc(
GLenumsfactor
,
GLenumdfactor
)

Since v2.0.0

Uses a blending function in case it not already used. If CC_ENABLE_GL_STATE_CACHE is disabled, it will the glBlendFunc() directly.

Examples0