Les trésors d'Elfea - 13/03/12 - 1143

Le blog de Just-Love-Books
GLAPI/glBlendEquationSeparate
glBlendEquationSeparate: set the RGB blend equation and the alpha blend equation separately Function Definition void glBlendEquation(GLenum mode ); void glBlendEquationi(GLuint buf , GLenum mode ); buf for glBlendEquationi, specifies the index of the draw buffer for which to set the blend equation. mode specifies how source and destination colors are combined. void glBlendEquationSeparate(GLenum modeRGB , GLenum modeAlpha ); void glBlendEquationSeparatei(GLuint buf , GLenum modeRGB , GLenum modeAlpha ); 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. modeAlpha specifies the alpha blend equation, how the alpha component of the source and destination colors are combined. Description glBlendEquation is equivalent to calling glBlendEquationSeparate, passing the mode parameter as modeRGB and modeAlpha . and .
Related:
Related: