OpenGL 4.6 implementations support revision 4.60 of the OpenGL Shading Language.
Extensions promoted to core in this release:
| Modifier and Type | Field and Description |
|---|---|
| public static final int | GL_CLIPPING_INPUT_PRIMITIVES
Accepted by the |
| public static final int | GL_CLIPPING_OUTPUT_PRIMITIVES
Accepted by the |
| public static final int | GL_COMPUTE_SHADER_INVOCATIONS
Accepted by the |
| public static final int | GL_CONTEXT_FLAG_NO_ERROR_BIT
If set in |
| public static final int | GL_FRAGMENT_SHADER_INVOCATIONS
Accepted by the |
| public static final int | GL_GEOMETRY_SHADER_PRIMITIVES_EMITTED
Accepted by the |
| public static final int | GL_MAX_TEXTURE_MAX_ANISOTROPY
Accepted by the |
| public static final int | GL_NUM_SPIR_V_EXTENSIONS
Accepted by the |
| public static final int | GL_PARAMETER_BUFFER
Accepted by the |
| public static final int | GL_PARAMETER_BUFFER_BINDING
Accepted by the |
| public static final int | GL_POLYGON_OFFSET_CLAMP
Accepted by the |
| public static final int | GL_PRIMITIVES_SUBMITTED
Accepted by the |
| public static final int | GL_SHADER_BINARY_FORMAT_SPIR_V
Accepted by the |
| public static final int | GL_SPIR_V_BINARY
Accepted by the |
| public static final int | GL_SPIR_V_EXTENSIONS
Accepted by the |
| public static final int | GL_TESS_CONTROL_SHADER_PATCHES
Accepted by the |
| public static final int | GL_TESS_EVALUATION_SHADER_INVOCATIONS
Accepted by the |
| public static final int | GL_TEXTURE_MAX_ANISOTROPY
Accepted by the |
| public static final int | GL_TRANSFORM_FEEDBACK_OVERFLOW
Accepted by the |
| public static final int | GL_TRANSFORM_FEEDBACK_STREAM_OVERFLOW
Accepted by the |
| public static final int | GL_VERTEX_SHADER_INVOCATIONS
Accepted by the |
| public static final int | GL_VERTICES_SUBMITTED
Accepted by the |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description | |||
|---|---|---|---|---|
| public static void | glMultiDrawArraysIndirectCount(int mode, ByteBuffer
an array of structures containing the draw parameters indirect, long the offset into the parameter buffer object drawcount, int the maximum number of draws maxdrawcount, int the distance in basic machine units between elements of the draw parameter array stride)Behaves similarly to | |||
| public static void | glMultiDrawArraysIndirectCount(int mode, long
an array of structures containing the draw parameters indirect, long the offset into the parameter buffer object drawcount, int the maximum number of draws maxdrawcount, int the distance in basic machine units between elements of the draw parameter array stride)Behaves similarly to | |||
| public static void | glMultiDrawArraysIndirectCount(int mode, IntBuffer
an array of structures containing the draw parameters indirect, long the offset into the parameter buffer object drawcount, int the maximum number of draws maxdrawcount, int the distance in basic machine units between elements of the draw parameter array stride)Behaves similarly to | |||
| public static void | glMultiDrawArraysIndirectCount(int mode, int[] indirect, long drawcount, int maxdrawcount, int stride)
Array version of: | |||
| public static void | glMultiDrawElementsIndirectCount(int mode, int
the type of data in the buffer bound to the GL_ELEMENT_ARRAY_BUFFER binding. One of: type, ByteBuffer
a structure containing an array of draw parameters indirect, long the offset into the parameter buffer object drawcount, int the maximum number of draws maxdrawcount, int the distance in basic machine units between elements of the draw parameter array stride)Behaves similarly to | |||
| public static void | glMultiDrawElementsIndirectCount(int mode, int
the type of data in the buffer bound to the GL_ELEMENT_ARRAY_BUFFER binding. One of: type, long
a structure containing an array of draw parameters indirect, long the offset into the parameter buffer object drawcount, int the maximum number of draws maxdrawcount, int the distance in basic machine units between elements of the draw parameter array stride)Behaves similarly to | |||
| public static void | glMultiDrawElementsIndirectCount(int mode, int
the type of data in the buffer bound to the GL_ELEMENT_ARRAY_BUFFER binding. One of: type, IntBuffer
a structure containing an array of draw parameters indirect, long the offset into the parameter buffer object drawcount, int the maximum number of draws maxdrawcount, int the distance in basic machine units between elements of the draw parameter array stride)Behaves similarly to | |||
| public static void | glMultiDrawElementsIndirectCount(int mode, int type, int[] indirect, long drawcount, int maxdrawcount, int stride)
Array version of: | |||
| public static native void | glPolygonOffsetClamp(float
scales the maximum depth slope of the polygon factor, float scales an implementation-dependent constant that relates to the usable resolution of the depth buffer units, float the minimum or maximum polygon offset value clamp)The depth values of all fragments generated by the rasterization of a polygon may be offset by a single value that is computed for that polygon. | |||
| public static void | glSpecializeShader(int
the name of a shader object containing unspecialized SPIR-V as created from a successful call to shader, ByteBuffer ShaderBinary to which a SPIR-V module was
passeda pointer to a null-terminated UTF-8 string specifying the name of the entry point in the SPIR-V module to use for this shader pEntryPoint, IntBuffer is a pointer to an array of pConstantIndex, IntBuffer numSpecializationConstants unsigned integers, each holding the index of a specialization constant in the SPIR-V
module whose value to set.
Specialization constants not referenced by an entry in pConstantValue)pConstantValue is used to set the value of the specialization constant indexed by the corresponding entry in
pConstantIndex.
Although this array is of unsigned integer, each entry is bitcast to the appropriate type for the module, and therefore, floating-point constants
may be set by including their IEEE-754 bit representation in the Specializes a shader created from a SPIR-V module. | |||
| public static void | glSpecializeShader(int
the name of a shader object containing unspecialized SPIR-V as created from a successful call to shader, CharSequence ShaderBinary to which a SPIR-V module was
passeda pointer to a null-terminated UTF-8 string specifying the name of the entry point in the SPIR-V module to use for this shader pEntryPoint, IntBuffer is a pointer to an array of pConstantIndex, IntBuffer numSpecializationConstants unsigned integers, each holding the index of a specialization constant in the SPIR-V
module whose value to set.
Specialization constants not referenced by an entry in pConstantValue)pConstantValue is used to set the value of the specialization constant indexed by the corresponding entry in
pConstantIndex.
Although this array is of unsigned integer, each entry is bitcast to the appropriate type for the module, and therefore, floating-point constants
may be set by including their IEEE-754 bit representation in the Specializes a shader created from a SPIR-V module. | |||
| public static void | glSpecializeShader(int shader, ByteBuffer pEntryPoint, int[] pConstantIndex, int[] pConstantValue)
Array version of: | |||
| public static void | glSpecializeShader(int shader, CharSequence pEntryPoint, int[] pConstantIndex, int[] pConstantValue)
Array version of: | |||
| public static native void | nglMultiDrawArraysIndirectCount(int mode, long indirect, long drawcount, int maxdrawcount, int stride)
Unsafe version of: | |||
| public static native void | nglMultiDrawElementsIndirectCount(int mode, int type, long indirect, long drawcount, int maxdrawcount, int stride)
Unsafe version of: | |||
| public static native void | nglSpecializeShader(int shader, long pEntryPoint, int
the number of specialization constants whose values to set in this call numSpecializationConstants, long pConstantIndex, long pConstantValue)Unsafe version of: |