public class EXTBlendColor
extends java.lang.Object
Blending capability is extended by defining a constant color that can be included in blending equations. A typical usage is blending two RGB images. Without the constant blend factor, one image must have an alpha channel with each pixel set to the desired blend factor.
Promoted to core in OpenGL 1.4.
| Modifier and Type | Field and Description |
|---|---|
static int |
GL_BLEND_COLOR_EXT
Accepted by the
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_CONSTANT_ALPHA_EXT
Accepted by the
sfactor and dfactor parameters of BlendFunc. |
static int |
GL_CONSTANT_COLOR_EXT
Accepted by the
sfactor and dfactor parameters of BlendFunc. |
static int |
GL_ONE_MINUS_CONSTANT_ALPHA_EXT
Accepted by the
sfactor and dfactor parameters of BlendFunc. |
static int |
GL_ONE_MINUS_CONSTANT_COLOR_EXT
Accepted by the
sfactor and dfactor parameters of BlendFunc. |
| Modifier and Type | Method and Description |
|---|---|
static void |
glBlendColorEXT(float red,
float green,
float blue,
float alpha) |
public static final int GL_CONSTANT_COLOR_EXT
sfactor and dfactor parameters of BlendFunc.public static final int GL_ONE_MINUS_CONSTANT_COLOR_EXT
sfactor and dfactor parameters of BlendFunc.public static final int GL_CONSTANT_ALPHA_EXT
sfactor and dfactor parameters of BlendFunc.public static final int GL_ONE_MINUS_CONSTANT_ALPHA_EXT
sfactor and dfactor parameters of BlendFunc.public static final int GL_BLEND_COLOR_EXT
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.Copyright LWJGL. All Rights Reserved. License terms.