Class EXTBlendColor



  • public class EXTBlendColor
    extends java.lang.Object
    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 Detail

      • GL_CONSTANT_COLOR_EXT

        public static final int GL_CONSTANT_COLOR_EXT
        Accepted by the sfactor and dfactor parameters of BlendFunc.
        See Also:
        Constant Field Values
      • GL_ONE_MINUS_CONSTANT_COLOR_EXT

        public static final int GL_ONE_MINUS_CONSTANT_COLOR_EXT
        Accepted by the sfactor and dfactor parameters of BlendFunc.
        See Also:
        Constant Field Values
      • GL_CONSTANT_ALPHA_EXT

        public static final int GL_CONSTANT_ALPHA_EXT
        Accepted by the sfactor and dfactor parameters of BlendFunc.
        See Also:
        Constant Field Values
      • GL_ONE_MINUS_CONSTANT_ALPHA_EXT

        public static final int GL_ONE_MINUS_CONSTANT_ALPHA_EXT
        Accepted by the sfactor and dfactor parameters of BlendFunc.
        See Also:
        Constant Field Values
      • GL_BLEND_COLOR_EXT

        public static final int GL_BLEND_COLOR_EXT
        Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
        See Also:
        Constant Field Values
    • Method Detail

      • glBlendColorEXT

        public static void glBlendColorEXT(float red,
                                           float green,
                                           float blue,
                                           float alpha)