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