glBlendEquationSeparate

set the RGB blend equation and the alpha blend equation separately

Signature

glBlendEquationSeparate( GLenum ( modeRGB ) , GLenum ( modeAlpha ) )-> void
glBlendEquationSeparate( modeRGB , modeAlpha )
glBlendEquationSeparatei( GLuint ( buf ) , GLenum ( modeRGB ) , GLenum ( modeAlpha ) )-> void
glBlendEquationSeparatei( buf , modeRGB , modeAlpha )

Parameters

VariablesDescription
buf
for glBlendEquationSeparatei , specifies the index of the draw buffer for which to set the blend equations.
modeRGB
specifies the RGB blend equation, how the red, green, and blue components of the source and destination colors are combined. It must be GL_FUNC_ADD , GL_FUNC_SUBTRACT , GL_FUNC_REVERSE_SUBTRACT , GL_MIN , GL_MAX .
modeAlpha
specifies the alpha blend equation, how the alpha component of the source and destination colors are combined. It must be GL_FUNC_ADD , GL_FUNC_SUBTRACT , GL_FUNC_REVERSE_SUBTRACT , GL_MIN , GL_MAX .