Package org.lwjgl.opengl
Class ARBFragmentShader
java.lang.Object
org.lwjgl.opengl.ARBFragmentShader
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
Modifier and TypeFieldDescriptionstatic final int
Accepted by theshaderType
argument of CreateShaderObjectARB and returned by theparams
parameter of GetObjectParameter{fi}vARB.static final int
Accepted by thetarget
parameter of Hint and thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static final int
Accepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev. -
Method Summary
-
Field Details
-
GL_FRAGMENT_SHADER_ARB
public static final int GL_FRAGMENT_SHADER_ARBAccepted by theshaderType
argument of CreateShaderObjectARB and returned by theparams
parameter of GetObjectParameter{fi}vARB.- See Also:
-
GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB
public static final int GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARBAccepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.- See Also:
-
GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB
public static final int GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARBAccepted by thetarget
parameter of Hint and thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.- See Also:
-