public final class ARBGPUShader5
extends java.lang.Object
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.0.
| Modifier and Type | Field and Description |
|---|---|
static int |
GL_FRAGMENT_INTERPOLATION_OFFSET_BITS
Accepted by the
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v. |
static int |
GL_GEOMETRY_SHADER_INVOCATIONS
Accepted by the
pname parameter of GetProgramiv. |
static int |
GL_MAX_FRAGMENT_INTERPOLATION_OFFSET
Accepted by the
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v. |
static int |
GL_MAX_GEOMETRY_SHADER_INVOCATIONS
Accepted by the
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v. |
static int |
GL_MAX_VERTEX_STREAMS
Accepted by the
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v. |
static int |
GL_MIN_FRAGMENT_INTERPOLATION_OFFSET
Accepted by the
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v. |
public static final int GL_GEOMETRY_SHADER_INVOCATIONS
pname parameter of GetProgramiv.public static final int GL_MAX_GEOMETRY_SHADER_INVOCATIONS
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v.public static final int GL_MIN_FRAGMENT_INTERPOLATION_OFFSET
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v.public static final int GL_MAX_FRAGMENT_INTERPOLATION_OFFSET
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v.public static final int GL_FRAGMENT_INTERPOLATION_OFFSET_BITS
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v.public static final int GL_MAX_VERTEX_STREAMS
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v.Copyright LWJGL. All Rights Reserved. License terms.