Package org.lwjgl.opengl
Class EXTBlendColor
java.lang.Object
org.lwjgl.opengl.EXTBlendColor
Native bindings to the EXT_blend_color extension.
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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static final intAccepted by thesfactoranddfactorparameters of BlendFunc.static final intAccepted by thesfactoranddfactorparameters of BlendFunc.static final intAccepted by thesfactoranddfactorparameters of BlendFunc.static final intAccepted by thesfactoranddfactorparameters of BlendFunc. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidglBlendColorEXT(float red, float green, float blue, float alpha)
-
Field Details
-
GL_CONSTANT_COLOR_EXT
public static final int GL_CONSTANT_COLOR_EXTAccepted by thesfactoranddfactorparameters of BlendFunc.- See Also:
-
GL_ONE_MINUS_CONSTANT_COLOR_EXT
public static final int GL_ONE_MINUS_CONSTANT_COLOR_EXTAccepted by thesfactoranddfactorparameters of BlendFunc.- See Also:
-
GL_CONSTANT_ALPHA_EXT
public static final int GL_CONSTANT_ALPHA_EXTAccepted by thesfactoranddfactorparameters of BlendFunc.- See Also:
-
GL_ONE_MINUS_CONSTANT_ALPHA_EXT
public static final int GL_ONE_MINUS_CONSTANT_ALPHA_EXTAccepted by thesfactoranddfactorparameters of BlendFunc.- See Also:
-
GL_BLEND_COLOR_EXT
public static final int GL_BLEND_COLOR_EXTAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.- See Also:
-
-
Method Details
-
glBlendColorEXT
public static void glBlendColorEXT(float red, float green, float blue, float alpha)
-