Package org.lwjgl.opengl
Class EXTBlendEquationSeparate
java.lang.Object
org.lwjgl.opengl.EXTBlendEquationSeparate
Native bindings to the EXT_blend_equation_separate extension.
EXT_blend_func_separate introduced separate RGB and alpha blend factors. EXT_blend_minmax introduced a distinct blend equation for
combining source and destination blend terms. (EXT_blend_subtract & EXT_blend_logic_op added other blend equation
modes.) OpenGL 1.4 integrated both functionalities into the core standard.
While there are separate blend functions for the RGB and alpha blend factors, OpenGL 1.4 provides a single blend equation that applies to both RGB and alpha portions of blending.
This extension provides a separate blend equation for RGB and alpha to match the generality available for blend factors.
Requires OpenGL 1.4 or ARB_imaging or EXT_blend_minmax and/or EXT_blend_subtract. Promoted to core in OpenGL 2.0.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static final intAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidglBlendEquationSeparateEXT(int modeRGB, int modeAlpha)
-
Field Details
-
GL_BLEND_EQUATION_RGB_EXT
public static final int GL_BLEND_EQUATION_RGB_EXTAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.- See Also:
-
GL_BLEND_EQUATION_ALPHA_EXT
public static final int GL_BLEND_EQUATION_ALPHA_EXTAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.- See Also:
-
-
Method Details
-
glBlendEquationSeparateEXT
public static void glBlendEquationSeparateEXT(int modeRGB, int modeAlpha)
-