Class EXTBlendColor

java.lang.Object
org.lwjgl.opengl.EXTBlendColor

public class EXTBlendColor extends 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 Details

    • GL_CONSTANT_COLOR_EXT

      public static final int GL_CONSTANT_COLOR_EXT
      Accepted by the sfactor and dfactor parameters of BlendFunc.
      See Also:
    • 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:
    • GL_CONSTANT_ALPHA_EXT

      public static final int GL_CONSTANT_ALPHA_EXT
      Accepted by the sfactor and dfactor parameters of BlendFunc.
      See Also:
    • 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:
    • 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:
  • Method Details

    • glBlendColorEXT

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