Top Description Fields Constructors Methods
org.lwjgl.opengl

public Class GL46C

extends GL45C
Class Inheritance
Imports
javax.annotation.*, java.nio.*, org.lwjgl.system.*

The OpenGL functionality up to version 4.6. Includes only Core Profile symbols.

OpenGL 4.6 implementations support revision 4.60 of the OpenGL Shading Language.

Extensions promoted to core in this release:

Field Summary

Modifier and TypeField and Description
public static final int
public static final int
public static final int
public static final int
GL_CONTEXT_FLAG_NO_ERROR_BIT

If set in CONTEXT_FLAGS, then no error behavior is enabled for this context.

public static final int
public static final int
public static final int
GL_MAX_TEXTURE_MAX_ANISOTROPY

Accepted by the pname parameters of GetBooleanv, GetDoublev, GetFloatv, and GetIntegerv.

public static final int
GL_NUM_SPIR_V_EXTENSIONS

Accepted by the pname parameter of GetIntegerv.

public static final int
GL_PARAMETER_BUFFER

Accepted by the target parameters of BindBuffer, BufferData, BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData, GetBufferPointerv, MapBufferRange, FlushMappedBufferRange, GetBufferParameteriv, and CopyBufferSubData.

public static final int
GL_PARAMETER_BUFFER_BINDING

Accepted by the value parameter of GetIntegerv, GetBooleanv, GetFloatv, and GetDoublev.

public static final int
GL_POLYGON_OFFSET_CLAMP

Accepted by the pname parameters of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.

public static final int
public static final int
GL_SHADER_BINARY_FORMAT_SPIR_V

Accepted by the binaryformat parameter of ShaderBinary.

public static final int
GL_SPIR_V_BINARY

Accepted by the pname parameter of GetShaderiv.

public static final int
GL_SPIR_V_EXTENSIONS

Accepted by the name parameter of GetStringi.

public static final int
public static final int
public static final int
GL_TEXTURE_MAX_ANISOTROPY

Accepted by the pname parameters of GetTexParameterfv, GetTexParameteriv, TexParameterf, TexParameterfv, TexParameteri, and TexParameteriv.

public static final int
public static final int
public static final int
public static final int
Inherited from org.lwjgl.opengl.GL45C:
GL_CLIP_DEPTH_MODEGL_CLIP_ORIGINGL_CONTEXT_FLAG_ROBUST_ACCESS_BITGL_CONTEXT_LOSTGL_CONTEXT_RELEASE_BEHAVIORGL_CONTEXT_RELEASE_BEHAVIOR_FLUSHGL_GUILTY_CONTEXT_RESETGL_INNOCENT_CONTEXT_RESETGL_LOSE_CONTEXT_ON_RESETGL_MAX_COMBINED_CLIP_AND_CULL_DISTANCESGL_MAX_CULL_DISTANCESGL_NEGATIVE_ONE_TO_ONEGL_NO_RESET_NOTIFICATIONGL_QUERY_BY_REGION_NO_WAIT_INVERTEDGL_QUERY_BY_REGION_WAIT_INVERTEDGL_QUERY_NO_WAIT_INVERTEDGL_QUERY_TARGETGL_QUERY_WAIT_INVERTEDGL_RESET_NOTIFICATION_STRATEGYGL_TEXTURE_TARGETGL_UNKNOWN_CONTEXT_RESETGL_ZERO_TO_ONE

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod 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 MultiDrawArraysIndirect, except that drawcount defines an offset (in bytes) into the buffer object bound to the PARAMETER_BUFFER binding point at which a single sizei typed value is stored, which contains the draw count.

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 MultiDrawArraysIndirect, except that drawcount defines an offset (in bytes) into the buffer object bound to the PARAMETER_BUFFER binding point at which a single sizei typed value is stored, which contains the draw count.

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 MultiDrawArraysIndirect, except that drawcount defines an offset (in bytes) into the buffer object bound to the PARAMETER_BUFFER binding point at which a single sizei typed value is stored, which contains the draw count.

public static void
glMultiDrawArraysIndirectCount(int mode, int[] indirect, long drawcount, int maxdrawcount, int stride)

Array version of: MultiDrawArraysIndirectCount

public static void
glMultiDrawElementsIndirectCount(int mode, int
the type of data in the buffer bound to the GL_ELEMENT_ARRAY_BUFFER binding. One of:
UNSIGNED_BYTEUNSIGNED_SHORTUNSIGNED_INT
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 MultiDrawElementsIndirect, except that drawcount defines an offset (in bytes) into the buffer object bound to the PARAMETER_BUFFER binding point at which a single sizei typed value is stored, which contains the draw count.

public static void
glMultiDrawElementsIndirectCount(int mode, int
the type of data in the buffer bound to the GL_ELEMENT_ARRAY_BUFFER binding. One of:
UNSIGNED_BYTEUNSIGNED_SHORTUNSIGNED_INT
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 MultiDrawElementsIndirect, except that drawcount defines an offset (in bytes) into the buffer object bound to the PARAMETER_BUFFER binding point at which a single sizei typed value is stored, which contains the draw count.

public static void
glMultiDrawElementsIndirectCount(int mode, int
the type of data in the buffer bound to the GL_ELEMENT_ARRAY_BUFFER binding. One of:
UNSIGNED_BYTEUNSIGNED_SHORTUNSIGNED_INT
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 MultiDrawElementsIndirect, except that drawcount defines an offset (in bytes) into the buffer object bound to the PARAMETER_BUFFER binding point at which a single sizei typed value is stored, which contains the draw count.

public static void
glMultiDrawElementsIndirectCount(int mode, int type, int[] indirect, long drawcount, int maxdrawcount, int stride)

Array version of: MultiDrawElementsIndirectCount

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 ShaderBinary to which a SPIR-V module was passed
shader
,
ByteBuffer
a 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 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 pConstantIndex retain their default values as specified in the SPIR-V module.

pConstantIndex
,
IntBuffer
an entry in 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 pConstantValue array.

pConstantValue
)

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 ShaderBinary to which a SPIR-V module was passed
shader
,
CharSequence
a 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 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 pConstantIndex retain their default values as specified in the SPIR-V module.

pConstantIndex
,
IntBuffer
an entry in 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 pConstantValue array.

pConstantValue
)

Specializes a shader created from a SPIR-V module.

public static void
glSpecializeShader(int shader, ByteBuffer pEntryPoint, int[] pConstantIndex, int[] pConstantValue)

Array version of: SpecializeShader

public static void
glSpecializeShader(int shader, CharSequence pEntryPoint, int[] pConstantIndex, int[] pConstantValue)

Array version of: SpecializeShader

public static native void
nglMultiDrawArraysIndirectCount(int mode, long indirect, long drawcount, int maxdrawcount, int stride)

Unsafe version of: MultiDrawArraysIndirectCount

public static native void
nglMultiDrawElementsIndirectCount(int mode, int type, long indirect, long drawcount, int maxdrawcount, int stride)

Unsafe version of: MultiDrawElementsIndirectCount

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: SpecializeShader

Inherited from org.lwjgl.opengl.GL45C:
glBindTextureUnitglBlitNamedFramebufferglCheckNamedFramebufferStatusglClearNamedBufferDataglClearNamedBufferDataglClearNamedBufferDataglClearNamedBufferDataglClearNamedBufferDataglClearNamedBufferDataglClearNamedBufferDataglClearNamedBufferSubDataglClearNamedBufferSubDataglClearNamedBufferSubDataglClearNamedBufferSubDataglClearNamedBufferSubDataglClearNamedBufferSubDataglClearNamedBufferSubDataglClearNamedFramebufferfiglClearNamedFramebufferfvglClearNamedFramebufferfvglClearNamedFramebufferivglClearNamedFramebufferivglClearNamedFramebufferuivglClearNamedFramebufferuivglClipControlglCompressedTextureSubImage1DglCompressedTextureSubImage1DglCompressedTextureSubImage2DglCompressedTextureSubImage2DglCompressedTextureSubImage3DglCompressedTextureSubImage3DglCopyNamedBufferSubDataglCopyTextureSubImage1DglCopyTextureSubImage2DglCopyTextureSubImage3DglCreateBuffersglCreateBuffersglCreateBuffersglCreateFramebuffersglCreateFramebuffersglCreateFramebuffersglCreateProgramPipelinesglCreateProgramPipelinesglCreateProgramPipelinesglCreateQueriesglCreateQueriesglCreateQueriesglCreateRenderbuffersglCreateRenderbuffersglCreateRenderbuffersglCreateSamplersglCreateSamplersglCreateSamplersglCreateTexturesglCreateTexturesglCreateTexturesglCreateTransformFeedbacksglCreateTransformFeedbacksglCreateTransformFeedbacksglCreateVertexArraysglCreateVertexArraysglCreateVertexArraysglDisableVertexArrayAttribglEnableVertexArrayAttribglFlushMappedNamedBufferRangeglGenerateTextureMipmapglGetCompressedTextureImageglGetCompressedTextureImageglGetCompressedTextureSubImageglGetCompressedTextureSubImageglGetCompressedTextureSubImageglGetCompressedTextureSubImageglGetCompressedTextureSubImageglGetCompressedTextureSubImageglGetCompressedTextureSubImageglGetCompressedTextureSubImageglGetCompressedTextureSubImageglGetCompressedTextureSubImageglGetGraphicsResetStatusglGetNamedBufferParameteriglGetNamedBufferParameteri64glGetNamedBufferParameteri64vglGetNamedBufferParameteri64vglGetNamedBufferParameterivglGetNamedBufferParameterivglGetNamedBufferPointerglGetNamedBufferPointervglGetNamedBufferSubDataglGetNamedBufferSubDataglGetNamedBufferSubDataglGetNamedBufferSubDataglGetNamedBufferSubDataglGetNamedBufferSubDataglGetNamedBufferSubDataglGetNamedBufferSubDataglGetNamedBufferSubDataglGetNamedBufferSubDataglGetNamedBufferSubDataglGetNamedFramebufferAttachmentParameteriglGetNamedFramebufferAttachmentParameterivglGetNamedFramebufferAttachmentParameterivglGetNamedFramebufferParameteriglGetNamedFramebufferParameterivglGetNamedFramebufferParameterivglGetNamedRenderbufferParameteriglGetNamedRenderbufferParameterivglGetNamedRenderbufferParameterivglGetnCompressedTexImageglGetnCompressedTexImageglGetnTexImageglGetnTexImageglGetnTexImageglGetnTexImageglGetnTexImageglGetnTexImageglGetnTexImageglGetnTexImageglGetnTexImageglGetnTexImageglGetnUniformdglGetnUniformdvglGetnUniformdvglGetnUniformfglGetnUniformfvglGetnUniformfvglGetnUniformiglGetnUniformivglGetnUniformivglGetnUniformuiglGetnUniformuivglGetnUniformuivglGetQueryBufferObjecti64vglGetQueryBufferObjectivglGetQueryBufferObjectui64vglGetQueryBufferObjectuivglGetTextureImageglGetTextureImageglGetTextureImageglGetTextureImageglGetTextureImageglGetTextureImageglGetTextureImageglGetTextureImageglGetTextureImageglGetTextureImageglGetTextureLevelParameterfglGetTextureLevelParameterfvglGetTextureLevelParameterfvglGetTextureLevelParameteriglGetTextureLevelParameterivglGetTextureLevelParameterivglGetTextureParameterfglGetTextureParameterfvglGetTextureParameterfvglGetTextureParameteriglGetTextureParameterIiglGetTextureParameterIivglGetTextureParameterIivglGetTextureParameterIuiglGetTextureParameterIuivglGetTextureParameterIuivglGetTextureParameterivglGetTextureParameterivglGetTextureSubImageglGetTextureSubImageglGetTextureSubImageglGetTextureSubImageglGetTextureSubImageglGetTextureSubImageglGetTextureSubImageglGetTextureSubImageglGetTextureSubImageglGetTextureSubImageglGetTransformFeedbackiglGetTransformFeedbackiglGetTransformFeedbacki64glGetTransformFeedbacki64_vglGetTransformFeedbacki64_vglGetTransformFeedbacki_vglGetTransformFeedbacki_vglGetTransformFeedbackivglGetTransformFeedbackivglGetVertexArrayiglGetVertexArrayIndexed64iglGetVertexArrayIndexed64ivglGetVertexArrayIndexed64ivglGetVertexArrayIndexediglGetVertexArrayIndexedivglGetVertexArrayIndexedivglGetVertexArrayivglGetVertexArrayivglInvalidateNamedFramebufferDataglInvalidateNamedFramebufferDataglInvalidateNamedFramebufferDataglInvalidateNamedFramebufferSubDataglInvalidateNamedFramebufferSubDataglInvalidateNamedFramebufferSubDataglMapNamedBufferglMapNamedBufferglMapNamedBufferglMapNamedBufferRangeglMapNamedBufferRangeglMemoryBarrierByRegionglNamedBufferDataglNamedBufferDataglNamedBufferDataglNamedBufferDataglNamedBufferDataglNamedBufferDataglNamedBufferDataglNamedBufferDataglNamedBufferDataglNamedBufferDataglNamedBufferDataglNamedBufferDataglNamedBufferStorageglNamedBufferStorageglNamedBufferStorageglNamedBufferStorageglNamedBufferStorageglNamedBufferStorageglNamedBufferStorageglNamedBufferStorageglNamedBufferStorageglNamedBufferStorageglNamedBufferSubDataglNamedBufferSubDataglNamedBufferSubDataglNamedBufferSubDataglNamedBufferSubDataglNamedBufferSubDataglNamedBufferSubDataglNamedBufferSubDataglNamedBufferSubDataglNamedBufferSubDataglNamedBufferSubDataglNamedFramebufferDrawBufferglNamedFramebufferDrawBuffersglNamedFramebufferDrawBuffersglNamedFramebufferDrawBuffersglNamedFramebufferParameteriglNamedFramebufferReadBufferglNamedFramebufferRenderbufferglNamedFramebufferTextureglNamedFramebufferTextureLayerglNamedRenderbufferStorageglNamedRenderbufferStorageMultisampleglReadnPixelsglReadnPixelsglReadnPixelsglReadnPixelsglReadnPixelsglReadnPixelsglReadnPixelsglReadnPixelsglTextureBarrierglTextureBufferglTextureBufferRangeglTextureParameterfglTextureParameterfvglTextureParameterfvglTextureParameteriglTextureParameterIiglTextureParameterIivglTextureParameterIivglTextureParameterIuiglTextureParameterIuivglTextureParameterIuivglTextureParameterivglTextureParameterivglTextureStorage1DglTextureStorage2DglTextureStorage2DMultisampleglTextureStorage3DglTextureStorage3DMultisampleglTextureSubImage1DglTextureSubImage1DglTextureSubImage1DglTextureSubImage1DglTextureSubImage1DglTextureSubImage1DglTextureSubImage1DglTextureSubImage1DglTextureSubImage1DglTextureSubImage1DglTextureSubImage2DglTextureSubImage2DglTextureSubImage2DglTextureSubImage2DglTextureSubImage2DglTextureSubImage2DglTextureSubImage2DglTextureSubImage2DglTextureSubImage2DglTextureSubImage2DglTextureSubImage3DglTextureSubImage3DglTextureSubImage3DglTextureSubImage3DglTextureSubImage3DglTextureSubImage3DglTextureSubImage3DglTextureSubImage3DglTextureSubImage3DglTextureSubImage3DglTransformFeedbackBufferBaseglTransformFeedbackBufferRangeglUnmapNamedBufferglVertexArrayAttribBindingglVertexArrayAttribFormatglVertexArrayAttribIFormatglVertexArrayAttribLFormatglVertexArrayBindingDivisorglVertexArrayElementBufferglVertexArrayVertexBufferglVertexArrayVertexBuffersglVertexArrayVertexBuffersnglClearNamedBufferDatanglClearNamedBufferSubDatanglClearNamedFramebufferfvnglClearNamedFramebufferivnglClearNamedFramebufferuivnglCompressedTextureSubImage1DnglCompressedTextureSubImage2DnglCompressedTextureSubImage3DnglCreateBuffersnglCreateFramebuffersnglCreateProgramPipelinesnglCreateQueriesnglCreateRenderbuffersnglCreateSamplersnglCreateTexturesnglCreateTransformFeedbacksnglCreateVertexArraysnglGetCompressedTextureImagenglGetCompressedTextureSubImagenglGetNamedBufferParameteri64vnglGetNamedBufferParameterivnglGetNamedBufferPointervnglGetNamedBufferSubDatanglGetNamedFramebufferAttachmentParameterivnglGetNamedFramebufferParameterivnglGetNamedRenderbufferParameterivnglGetnCompressedTexImagenglGetnTexImagenglGetnUniformdvnglGetnUniformfvnglGetnUniformivnglGetnUniformuivnglGetTextureImagenglGetTextureLevelParameterfvnglGetTextureLevelParameterivnglGetTextureParameterfvnglGetTextureParameterIivnglGetTextureParameterIuivnglGetTextureParameterivnglGetTextureSubImagenglGetTransformFeedbacki64_vnglGetTransformFeedbacki_vnglGetTransformFeedbackivnglGetVertexArrayIndexed64ivnglGetVertexArrayIndexedivnglGetVertexArrayivnglInvalidateNamedFramebufferDatanglInvalidateNamedFramebufferSubDatanglMapNamedBuffernglMapNamedBufferRangenglNamedBufferDatanglNamedBufferStoragenglNamedBufferSubDatanglNamedFramebufferDrawBuffersnglReadnPixelsnglTextureParameterfvnglTextureParameterIivnglTextureParameterIuivnglTextureParameterivnglTextureSubImage1DnglTextureSubImage2DnglTextureSubImage3DnglVertexArrayVertexBuffers