Top Description Fields Constructors Methods
org.lwjgl.opengl

public Class EXTBlendColor

extends Object
Class Inheritance
Imports
org.lwjgl.system.*

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

Modifier and TypeField and Description
public static final int
GL_BLEND_COLOR_EXT

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_CONSTANT_ALPHA_EXT

Accepted by the sfactor and dfactor parameters of BlendFunc.

public static final int
GL_CONSTANT_COLOR_EXT

Accepted by the sfactor and dfactor parameters of BlendFunc.

public static final int
GL_ONE_MINUS_CONSTANT_ALPHA_EXT

Accepted by the sfactor and dfactor parameters of BlendFunc.

public static final int
GL_ONE_MINUS_CONSTANT_COLOR_EXT

Accepted by the sfactor and dfactor parameters of BlendFunc.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static native void
glBlendColorEXT(float red, float green, float blue, float alpha)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

GL_BLEND_COLOR_EXTback to summary
public static final int GL_BLEND_COLOR_EXT

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.

GL_CONSTANT_ALPHA_EXTback to summary
public static final int GL_CONSTANT_ALPHA_EXT

Accepted by the sfactor and dfactor parameters of BlendFunc.

GL_CONSTANT_COLOR_EXTback to summary
public static final int GL_CONSTANT_COLOR_EXT

Accepted by the sfactor and dfactor parameters of BlendFunc.

GL_ONE_MINUS_CONSTANT_ALPHA_EXTback to summary
public static final int GL_ONE_MINUS_CONSTANT_ALPHA_EXT

Accepted by the sfactor and dfactor parameters of BlendFunc.

GL_ONE_MINUS_CONSTANT_COLOR_EXTback to summary
public static final int GL_ONE_MINUS_CONSTANT_COLOR_EXT

Accepted by the sfactor and dfactor parameters of BlendFunc.

Constructor Detail

EXTBlendColorback to summary
protected EXTBlendColor()

Method Detail

glBlendColorEXTback to summary
public static native void glBlendColorEXT(float red, float green, float blue, float alpha)