Package org.lwjgl.opengl
Class ARBEnhancedLayouts
java.lang.Object
org.lwjgl.opengl.ARBEnhancedLayouts
Native bindings to the ARB_enhanced_layouts extension.
This extension adds the following functionality to layout qualifiers, including broadening the API where this functionality is reflected. The following are added:
- Use compile-time constant expressions.
- Specify explicit byte offsets within a uniform or shader storage block.
- Force alignment within a uniform or shader storage block.
- Specify component numbers to more fully utilize the vec4-slot interfaces between shader outputs and shader inputs.
- Specify transform/feedback buffers, locations, and widths.
- Allow locations on input and output blocks for SSO interface matching.
Requires OpenGL 3.1
and GLSL 1.40. Promoted to core in OpenGL 4.4
.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Accepted in theprops
array ofGetProgramResourceiv
.static final int
Accepted in theprops
array ofGetProgramResourceiv
.static final int
Accepted in theprops
array ofGetProgramResourceiv
. -
Method Summary
-
Field Details
-
GL_LOCATION_COMPONENT
public static final int GL_LOCATION_COMPONENTAccepted in theprops
array ofGetProgramResourceiv
.- See Also:
-
GL_TRANSFORM_FEEDBACK_BUFFER_INDEX
public static final int GL_TRANSFORM_FEEDBACK_BUFFER_INDEXAccepted in theprops
array ofGetProgramResourceiv
.- See Also:
-
GL_TRANSFORM_FEEDBACK_BUFFER_STRIDE
public static final int GL_TRANSFORM_FEEDBACK_BUFFER_STRIDEAccepted in theprops
array ofGetProgramResourceiv
.- See Also:
-