Class ARBFragmentShader

java.lang.Object
org.lwjgl.opengl.ARBFragmentShader

public final class ARBFragmentShader extends Object
Native bindings to the ARB_fragment_shader extension.

This extension adds functionality to define fragment shader objects. A fragment shader object is a shader object (see the ARB_shader_objects extension) that, when attached to a program object, can be compiled and linked to produce an executable that runs on the fragment processor in OpenGL. The fragment processor is a programmable unit that replaces the OpenGL 1.4 fixed-function texturing, color sum and fog stages. This extension also defines how such an executable interacts with the fixed functionality fragment processing of OpenGL 1.4. The language is defined in the OpenGL Shading Language specification as the Fragment Shading Language.

Promoted to core in OpenGL 2.0.

  • Field Details

    • GL_FRAGMENT_SHADER_ARB

      public static final int GL_FRAGMENT_SHADER_ARB
      Accepted by the shaderType argument of CreateShaderObjectARB and returned by the params parameter of GetObjectParameter{fi}vARB.
      See Also:
    • GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB

      public static final int GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB
      Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB

      public static final int GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB
      Accepted by the target parameter of Hint and the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
      See Also: