This extension provides a set of new features to the OpenGL Shading Language and related APIs to support capabilities of new GPUs, extending the capabilities of version 1.50 of the OpenGL Shading Language. Shaders using the new functionality provided by this extension should enable this functionality via the construct:
#extension GL_ARB_gpu_shader5 : require (or enable)
This extension provides a variety of new features for all shader types, including:
ARB_texture_gather:
This extension also provides some new capabilities for individual shader types, including:
gl_InvocationID to identify the invocation number;Requires GL32 and GLSL 1.50. Promoted to core in OpenGL 4..
| Modifier and Type | Field and Description |
|---|---|
| public static final int | GL_FRAGMENT_INTERPOLATION_OFFSET_BITS
Accepted by the |
| public static final int | GL_GEOMETRY_SHADER_INVOCATIONS
Accepted by the |
| public static final int | GL_MAX_FRAGMENT_INTERPOLATION_OFFSET
Accepted by the |
| public static final int | GL_MAX_GEOMETRY_SHADER_INVOCATIONS
Accepted by the |
| public static final int | GL_MAX_VERTEX_STREAMS
Accepted by the |
| public static final int | GL_MIN_FRAGMENT_INTERPOLATION_OFFSET
Accepted by the |
| Access | Constructor and Description |
|---|---|
| private |
| GL_FRAGMENT_INTERPOLATION_OFFSET_BITS | back to summary |
|---|---|
| public static final int GL_FRAGMENT_INTERPOLATION_OFFSET_BITS Accepted by the | |
| GL_GEOMETRY_SHADER_INVOCATIONS | back to summary |
|---|---|
| public static final int GL_GEOMETRY_SHADER_INVOCATIONS Accepted by the | |
| GL_MAX_FRAGMENT_INTERPOLATION_OFFSET | back to summary |
|---|---|
| public static final int GL_MAX_FRAGMENT_INTERPOLATION_OFFSET Accepted by the | |
| GL_MAX_GEOMETRY_SHADER_INVOCATIONS | back to summary |
|---|---|
| public static final int GL_MAX_GEOMETRY_SHADER_INVOCATIONS Accepted by the | |
| GL_MAX_VERTEX_STREAMS | back to summary |
|---|---|
| public static final int GL_MAX_VERTEX_STREAMS Accepted by the | |
| GL_MIN_FRAGMENT_INTERPOLATION_OFFSET | back to summary |
|---|---|
| public static final int GL_MIN_FRAGMENT_INTERPOLATION_OFFSET Accepted by the | |
| ARBGPUShader5 | back to summary |
|---|---|
| private ARBGPUShader5() | |