Class ARBFragmentShader



  • public final class ARBFragmentShader
    extends java.lang.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 Summary

      Fields 
      Modifier and Type Field and Description
      static int GL_FRAGMENT_SHADER_ARB
      Accepted by the shaderType argument of CreateShaderObjectARB and returned by the params parameter of GetObjectParameter{fi}vARB.
      static int GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB
      Accepted by the target parameter of Hint and the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
      static int GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB
      Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
    • Method Summary

      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values