Package org.lwjgl.opengl
Class GL30
- java.lang.Object
-
- org.lwjgl.opengl.GL30
-
public class GL30 extends java.lang.ObjectThe core OpenGL 3.0 functionality. OpenGL 3.0 implementations are guaranteed to support at least versions 1.10, 1.20 and 1.30 of the shading language, although versions 1.10 and 1.20 are deprecated in a forward-compatible context.Extensions promoted to core in this release:
- EXT_gpu_shader4
- NV_conditional_render
- APPLE_flush_buffer_range
- ARB_color_buffer_float, NV_depth_buffer_float, ARB_texture_float, EXT_packed_float and EXT_texture_shared_exponent
- EXT_framebuffer_object
- NV_half_float and ARB_half_float_pixel
- EXT_framebuffer_multisample and EXT_framebuffer_blit
- EXT_texture_integer
- EXT_texture_array
- EXT_packed_depth_stencil
- EXT_draw_buffers2
- EXT_texture_compression_rgtc
- EXT_transform_feedback
- APPLE_vertex_array_object
- EXT_framebuffer_sRGB
-
-
Field Summary
Fields Modifier and Type Field and Description static intGL_ALPHA_INTEGER
GL_BGR_INTEGER
GL_BGRA_INTEGER
GL_BLUE_INTEGERAccepted by theformatparameter of TexImage1D, TexImage2D, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, DrawPixels and ReadPixels.static intGL_BUFFER_ACCESS_FLAGS
GL_BUFFER_MAP_LENGTH
GL_BUFFER_MAP_OFFSETAccepted by thepnameparameter of GetBufferParameteriv.static intGL_CLAMP_FRAGMENT_COLOR
GL_CLAMP_READ_COLOR
GL_CLAMP_VERTEX_COLORAccepted by thetargetparameter of ClampColor and thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static intGL_CLIP_DISTANCE0
GL_CLIP_DISTANCE1
GL_CLIP_DISTANCE2
GL_CLIP_DISTANCE3
GL_CLIP_DISTANCE4
GL_CLIP_DISTANCE5
GL_CLIP_DISTANCE6
GL_CLIP_DISTANCE7Renamed tokens.static intGL_COLOR_ATTACHMENT0
GL_COLOR_ATTACHMENT1
GL_COLOR_ATTACHMENT10
GL_COLOR_ATTACHMENT11
GL_COLOR_ATTACHMENT12
GL_COLOR_ATTACHMENT13
GL_COLOR_ATTACHMENT14
GL_COLOR_ATTACHMENT15
GL_COLOR_ATTACHMENT16
GL_COLOR_ATTACHMENT17
GL_COLOR_ATTACHMENT18
GL_COLOR_ATTACHMENT19
GL_COLOR_ATTACHMENT2
GL_COLOR_ATTACHMENT20
GL_COLOR_ATTACHMENT21
GL_COLOR_ATTACHMENT22
GL_COLOR_ATTACHMENT23
GL_COLOR_ATTACHMENT24
GL_COLOR_ATTACHMENT25
GL_COLOR_ATTACHMENT26
GL_COLOR_ATTACHMENT27
GL_COLOR_ATTACHMENT28
GL_COLOR_ATTACHMENT29
GL_COLOR_ATTACHMENT3
GL_COLOR_ATTACHMENT30
GL_COLOR_ATTACHMENT31
GL_COLOR_ATTACHMENT4
GL_COLOR_ATTACHMENT5
GL_COLOR_ATTACHMENT6
GL_COLOR_ATTACHMENT7
GL_COLOR_ATTACHMENT8
GL_COLOR_ATTACHMENT9Accepted by theattachmentparameter of FramebufferTexture{1D|2D|3D}, FramebufferRenderbuffer, and GetFramebufferAttachmentParameteriv.static intGL_COMPARE_REF_TO_TEXTURERenamed tokens.static intGL_COMPRESSED_REDAccepted by theinternalFormatparameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, and CopyTexImage2D.static intGL_COMPRESSED_RED_RGTC1Accepted by theinternalformatparameter of TexImage2D, CopyTexImage2D, and CompressedTexImage2D and theformatparameter of CompressedTexSubImage2D.static intGL_COMPRESSED_RGAccepted by theinternalFormatparameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, and CopyTexImage2D.static intGL_COMPRESSED_RG_RGTC2
GL_COMPRESSED_SIGNED_RED_RGTC1
GL_COMPRESSED_SIGNED_RG_RGTC2Accepted by theinternalformatparameter of TexImage2D, CopyTexImage2D, and CompressedTexImage2D and theformatparameter of CompressedTexSubImage2D.static intGL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT
GL_CONTEXT_FLAGSGetTargetstatic intGL_DEPTH_ATTACHMENTAccepted by theattachmentparameter of FramebufferTexture{1D|2D|3D}, FramebufferRenderbuffer, and GetFramebufferAttachmentParameteriv.static intGL_DEPTH_COMPONENT32FAccepted by theinternalformatparameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, CopyTexImage2D, and RenderbufferStorage, and returned in thedataparameter of GetTexLevelParameter and GetRenderbufferParameteriv.static intGL_DEPTH_STENCILAccepted by theformatparameter of DrawPixels, ReadPixels, TexImage1D, TexImage2D, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, and GetTexImage, by thetypeparameter of CopyPixels, by theinternalformatparameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, CopyTexImage2D, and RenderbufferStorage, and returned in thedataparameter of GetTexLevelParameter and GetRenderbufferParameteriv.static intGL_DEPTH_STENCIL_ATTACHMENTAccepted by theattachmentparameter of FramebufferTexture{1D|2D|3D}, FramebufferRenderbuffer, and GetFramebufferAttachmentParameteriv.static intGL_DEPTH24_STENCIL8
GL_DEPTH32F_STENCIL8Accepted by theinternalformatparameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, CopyTexImage2D, and RenderbufferStorage, and returned in thedataparameter of GetTexLevelParameter and GetRenderbufferParameteriv.static intGL_DRAW_FRAMEBUFFERAccepted by thetargetparameter of BindFramebuffer, CheckFramebufferStatus, FramebufferTexture{1D|2D|3D}, FramebufferRenderbuffer, and GetFramebufferAttachmentParameteriv.static intGL_DRAW_FRAMEBUFFER_BINDINGAccepted by thepnameparameters of GetIntegerv, GetFloatv, and GetDoublev.static intGL_FIXED_ONLYAccepted by theclampparameter of ClampColor.static intGL_FLOAT_32_UNSIGNED_INT_24_8_REVAccepted by thetypeparameter of DrawPixels, ReadPixels, TexImage1D, TexImage2D, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, and GetTexImage.static intGL_FRAMEBUFFERAccepted by thetargetparameter of BindFramebuffer, CheckFramebufferStatus, FramebufferTexture{1D|2D|3D}, FramebufferRenderbuffer, and GetFramebufferAttachmentParameteriv.static intGL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE
GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE
GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING
GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE
GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE
GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE
GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME
GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE
GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE
GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE
GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE
GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER
GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVELAccepted by thepnameparameter of GetFramebufferAttachmentParameteriv.static intGL_FRAMEBUFFER_BINDINGAccepted by thepnameparameters of GetIntegerv, GetFloatv, and GetDoublev.static intGL_FRAMEBUFFER_COMPLETEReturned by CheckFramebufferStatus().static intGL_FRAMEBUFFER_DEFAULTReturned inparamsby GetFramebufferAttachmentParameteriv.static intGL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT
GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER
GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT
GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE
GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFERReturned by CheckFramebufferStatus().static intGL_FRAMEBUFFER_SRGBAccepted by thecapparameter of Enable, Disable, and IsEnabled, and by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static intGL_FRAMEBUFFER_UNDEFINED
GL_FRAMEBUFFER_UNSUPPORTEDReturned by CheckFramebufferStatus().static intGL_GREEN_INTEGERAccepted by theformatparameter of TexImage1D, TexImage2D, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, DrawPixels and ReadPixels.static intGL_HALF_FLOATAccepted by thetypeparameter of DrawPixels, ReadPixels, TexImage1D, TexImage2D, TexImage3D, GetTexImage, TexSubImage1D, TexSubImage2D, TexSubImage3D, GetHistogram, GetMinmax, ConvolutionFilter1D, ConvolutionFilter2D, GetConvolutionFilter, SeparableFilter2D, GetSeparableFilter, ColorTable, ColorSubTable, and GetColorTable.static intGL_INDEXReturned inparamsby GetFramebufferAttachmentParameteriv.static intGL_INT_SAMPLER_1D
GL_INT_SAMPLER_1D_ARRAY
GL_INT_SAMPLER_2D
GL_INT_SAMPLER_2D_ARRAY
GL_INT_SAMPLER_3D
GL_INT_SAMPLER_CUBEReturned by thetypeparameter of GetActiveUniform.static intGL_INTERLEAVED_ATTRIBSAccepted by thebufferModeparameter of TransformFeedbackVaryings.static intGL_INVALID_FRAMEBUFFER_OPERATIONReturned by GetError().static intGL_MAJOR_VERSIONGetTargetstatic intGL_MAP_FLUSH_EXPLICIT_BIT
GL_MAP_INVALIDATE_BUFFER_BIT
GL_MAP_INVALIDATE_RANGE_BIT
GL_MAP_READ_BIT
GL_MAP_UNSYNCHRONIZED_BIT
GL_MAP_WRITE_BITAccepted by theaccessparameter of MapBufferRange.static intGL_MAX_ARRAY_TEXTURE_LAYERSAccepted by thepnameparameter of GetBooleanv, GetDoublev, GetIntegerv and GetFloatv.static intGL_MAX_CLIP_DISTANCESRenamed tokens.static intGL_MAX_COLOR_ATTACHMENTSAccepted by thepnameparameters of GetIntegerv, GetFloatv, and GetDoublev.static intGL_MAX_PROGRAM_TEXEL_OFFSETAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static intGL_MAX_RENDERBUFFER_SIZEAccepted by thepnameparameters of GetIntegerv, GetFloatv, and GetDoublev.static intGL_MAX_SAMPLESAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static intGL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS
GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS
GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTSAccepted by thepnameparameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.static intGL_MAX_VARYING_COMPONENTSRenamed tokens.static intGL_MIN_PROGRAM_TEXEL_OFFSETAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static intGL_MINOR_VERSION
GL_NUM_EXTENSIONSGetTargetstatic intGL_PRIMITIVES_GENERATEDAccepted by thetargetparameter of BeginQuery, EndQuery, and GetQueryiv.static intGL_PROXY_TEXTURE_1D_ARRAYAccepted by thetargetparameter of TexImage2D, TexSubImage2D, CopyTexImage2D, CopyTexSubImage2D, CompressedTexImage2D, and CompressedTexSubImage2D.static intGL_PROXY_TEXTURE_2D_ARRAYAccepted by thetargetparameter of TexImage3D, TexSubImage3D, CopyTexSubImage3D, CompressedTexImage3D, and CompressedTexSubImage3D.static intGL_QUERY_BY_REGION_NO_WAIT
GL_QUERY_BY_REGION_WAIT
GL_QUERY_NO_WAIT
GL_QUERY_WAITAccepted by themodeparameter of BeginConditionalRender.static intGL_R11F_G11F_B10FAccepted by theinternalformatparameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, CopyTexImage2D, and RenderbufferStorage.static intGL_R16
GL_R16F
GL_R16I
GL_R16UI
GL_R32F
GL_R32I
GL_R32UI
GL_R8
GL_R8I
GL_R8UIAccepted by theinternalFormatparameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, and CopyTexImage2D.static intGL_RASTERIZER_DISCARDAccepted by thecapparameter of Enable, Disable, and IsEnabled, and by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static intGL_READ_FRAMEBUFFERAccepted by thetargetparameter of BindFramebuffer, CheckFramebufferStatus, FramebufferTexture{1D|2D|3D}, FramebufferRenderbuffer, and GetFramebufferAttachmentParameteriv.static intGL_READ_FRAMEBUFFER_BINDINGAccepted by thepnameparameters of GetIntegerv, GetFloatv, and GetDoublev.static intGL_RED_INTEGERAccepted by theformatparameter of TexImage1D, TexImage2D, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, DrawPixels and ReadPixels.static intGL_RENDERBUFFERAccepted by thetargetparameter of BindRenderbuffer, RenderbufferStorage, and GetRenderbufferParameteriv, and returned by GetFramebufferAttachmentParameteriv.static intGL_RENDERBUFFER_ALPHA_SIZEAccepted by thepnameparameter of GetRenderbufferParameteriv.static intGL_RENDERBUFFER_BINDINGAccepted by thepnameparameters of GetIntegerv, GetFloatv, and GetDoublev.static intGL_RENDERBUFFER_BLUE_SIZE
GL_RENDERBUFFER_DEPTH_SIZE
GL_RENDERBUFFER_GREEN_SIZE
GL_RENDERBUFFER_HEIGHT
GL_RENDERBUFFER_INTERNAL_FORMAT
GL_RENDERBUFFER_RED_SIZE
GL_RENDERBUFFER_SAMPLES
GL_RENDERBUFFER_STENCIL_SIZE
GL_RENDERBUFFER_WIDTHAccepted by thepnameparameter of GetRenderbufferParameteriv.static intGL_RGAccepted by theinternalFormatparameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, and CopyTexImage2D.static intGL_RG_INTEGERAccepted by theformatparameter of TexImage3D, TexImage2D, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, and ReadPixels.static intGL_RG16
GL_RG16F
GL_RG16I
GL_RG16UI
GL_RG32F
GL_RG32I
GL_RG32UI
GL_RG8
GL_RG8I
GL_RG8UIAccepted by theinternalFormatparameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, and CopyTexImage2D.static intGL_RGB_INTEGERAccepted by theformatparameter of TexImage1D, TexImage2D, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, DrawPixels and ReadPixels.static intGL_RGB16F
GL_RGB16I
GL_RGB16UI
GL_RGB32F
GL_RGB32I
GL_RGB32UI
GL_RGB8I
GL_RGB8UIAccepted by theinternalFormatparameter of TexImage1D, TexImage2D, and TexImage3D.static intGL_RGB9_E5Accepted by theinternalformatparameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, CopyTexImage2D, and RenderbufferStorage.static intGL_RGBA_INTEGERAccepted by theformatparameter of TexImage1D, TexImage2D, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, DrawPixels and ReadPixels.static intGL_RGBA16F
GL_RGBA16I
GL_RGBA16UI
GL_RGBA32F
GL_RGBA32I
GL_RGBA32UI
GL_RGBA8I
GL_RGBA8UIAccepted by theinternalFormatparameter of TexImage1D, TexImage2D, and TexImage3D.static intGL_SAMPLER_1D_ARRAY
GL_SAMPLER_1D_ARRAY_SHADOW
GL_SAMPLER_2D_ARRAY
GL_SAMPLER_2D_ARRAY_SHADOW
GL_SAMPLER_CUBE_SHADOWReturned by thetypeparameter of GetActiveUniform.static intGL_SEPARATE_ATTRIBSAccepted by thebufferModeparameter of TransformFeedbackVaryings.static intGL_STENCIL_ATTACHMENTAccepted by theattachmentparameter of FramebufferTexture{1D|2D|3D}, FramebufferRenderbuffer, and GetFramebufferAttachmentParameteriv.static intGL_STENCIL_INDEX1
GL_STENCIL_INDEX16
GL_STENCIL_INDEX4
GL_STENCIL_INDEX8Accepted by theinternalformatparameter of RenderbufferStorage.static intGL_TEXTURE_1D_ARRAY
GL_TEXTURE_2D_ARRAYAccepted by thetargetparameter of TexParameteri, TexParameteriv, TexParameterf, TexParameterfv, GenerateMipmap, and BindTexture.static intGL_TEXTURE_ALPHA_TYPEAccepted by thevalueparameter of GetTexLevelParameter.static intGL_TEXTURE_BINDING_1D_ARRAY
GL_TEXTURE_BINDING_2D_ARRAYAccepted by thepnameparameter of GetBooleanv, GetDoublev, GetIntegerv and GetFloatv.static intGL_TEXTURE_BLUE_TYPE
GL_TEXTURE_DEPTH_TYPE
GL_TEXTURE_GREEN_TYPE
GL_TEXTURE_INTENSITY_TYPE
GL_TEXTURE_LUMINANCE_TYPE
GL_TEXTURE_RED_TYPEAccepted by thevalueparameter of GetTexLevelParameter.static intGL_TEXTURE_SHARED_SIZEAccepted by thepnameparameter of GetTexLevelParameterfv and GetTexLevelParameteriv.static intGL_TEXTURE_STENCIL_SIZEAccepted by thevalueparameter of GetTexLevelParameter.static intGL_TRANSFORM_FEEDBACK_BUFFERAccepted by thetargetparameters of BindBuffer, BufferData, BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData, GetBufferPointerv, BindBufferRange, BindBufferOffset and BindBufferBase.static intGL_TRANSFORM_FEEDBACK_BUFFER_BINDINGAccepted by theparamparameter of GetIntegeri_v and GetBooleani_v, and by thepnameparameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.static intGL_TRANSFORM_FEEDBACK_BUFFER_MODEAccepted by thepnameparameter of GetProgramiv.static intGL_TRANSFORM_FEEDBACK_BUFFER_SIZE
GL_TRANSFORM_FEEDBACK_BUFFER_STARTAccepted by theparamparameter of GetIntegeri_v and GetBooleani_v.static intGL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTENAccepted by thetargetparameter of BeginQuery, EndQuery, and GetQueryiv.static intGL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH
GL_TRANSFORM_FEEDBACK_VARYINGSAccepted by thepnameparameter of GetProgramiv.static intGL_UNSIGNED_INT_10F_11F_11F_REVAccepted by thetypeparameter of DrawPixels, ReadPixels, TexImage1D, TexImage2D, GetTexImage, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, GetHistogram, GetMinmax, ConvolutionFilter1D, ConvolutionFilter2D, ConvolutionFilter3D, GetConvolutionFilter, SeparableFilter2D, GetSeparableFilter, ColorTable, ColorSubTable, and GetColorTable.static intGL_UNSIGNED_INT_24_8Accepted by thetypeparameter of DrawPixels, ReadPixels, TexImage1D, TexImage2D, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, and GetTexImage.static intGL_UNSIGNED_INT_5_9_9_9_REVAccepted by thetypeparameter of DrawPixels, ReadPixels, TexImage1D, TexImage2D, GetTexImage, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, GetHistogram, GetMinmax, ConvolutionFilter1D, ConvolutionFilter2D, ConvolutionFilter3D, GetConvolutionFilter, SeparableFilter2D, GetSeparableFilter, ColorTable, ColorSubTable, and GetColorTable.static intGL_UNSIGNED_INT_SAMPLER_1D
GL_UNSIGNED_INT_SAMPLER_1D_ARRAY
GL_UNSIGNED_INT_SAMPLER_2D
GL_UNSIGNED_INT_SAMPLER_2D_ARRAY
GL_UNSIGNED_INT_SAMPLER_3D
GL_UNSIGNED_INT_SAMPLER_CUBE
GL_UNSIGNED_INT_VEC2
GL_UNSIGNED_INT_VEC3
GL_UNSIGNED_INT_VEC4Returned by thetypeparameter of GetActiveUniform.static intGL_UNSIGNED_NORMALIZEDReturned by theparamsparameter of GetTexLevelParameter.static intGL_VERTEX_ARRAY_BINDINGAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static intGL_VERTEX_ATTRIB_ARRAY_INTEGERAccepted by thepnameparameters of GetVertexAttribdv, GetVertexAttribfv, GetVertexAttribiv, GetVertexAttribIuiv and GetVertexAttribIiv.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static voidglBeginConditionalRender(int id, int mode)static voidglBeginTransformFeedback(int primitiveMode)static voidglBindBufferBase(int target, int index, int buffer)static voidglBindBufferRange(int target, int index, int buffer, long offset, long size)static voidglBindFragDataLocation(int program, int colorNumber, java.nio.ByteBuffer name)static voidglBindFragDataLocation(int program, int colorNumber, java.lang.CharSequence name)static voidglBindFramebuffer(int target, int framebuffer)static voidglBindRenderbuffer(int target, int renderbuffer)static voidglBindVertexArray(int array)static voidglBlitFramebuffer(int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, int mask, int filter)static intglCheckFramebufferStatus(int target)static voidglClampColor(int target, int clamp)static voidglClearBufferfi(int buffer, int drawbuffer, float depth, int stencil)static voidglClearBufferfv(int buffer, int drawbuffer, float[] value)static voidglClearBufferfv(int buffer, int drawbuffer, java.nio.FloatBuffer value)static voidglClearBufferiv(int buffer, int drawbuffer, int[] value)static voidglClearBufferiv(int buffer, int drawbuffer, java.nio.IntBuffer value)static voidglClearBufferuiv(int buffer, int drawbuffer, int[] value)static voidglClearBufferuiv(int buffer, int drawbuffer, java.nio.IntBuffer value)static voidglColorMaski(int buf, boolean r, boolean g, boolean b, boolean a)static voidglDeleteFramebuffers(int framebuffer)static voidglDeleteFramebuffers(int[] framebuffers)static voidglDeleteFramebuffers(java.nio.IntBuffer framebuffers)static voidglDeleteRenderbuffers(int renderbuffer)static voidglDeleteRenderbuffers(int[] renderbuffers)static voidglDeleteRenderbuffers(java.nio.IntBuffer renderbuffers)static voidglDeleteVertexArrays(int array)static voidglDeleteVertexArrays(int[] arrays)static voidglDeleteVertexArrays(java.nio.IntBuffer arrays)static voidglDisablei(int target, int index)static voidglEnablei(int cap, int index)static voidglEndConditionalRender()static voidglEndTransformFeedback()static voidglFlushMappedBufferRange(int target, long offset, long length)static voidglFramebufferRenderbuffer(int target, int attachment, int renderbuffertarget, int renderbuffer)static voidglFramebufferTexture1D(int target, int attachment, int textarget, int texture, int level)static voidglFramebufferTexture2D(int target, int attachment, int textarget, int texture, int level)static voidglFramebufferTexture3D(int target, int attachment, int textarget, int texture, int level, int layer)static voidglFramebufferTextureLayer(int target, int attachment, int texture, int level, int layer)static voidglGenerateMipmap(int target)static intglGenFramebuffers()static voidglGenFramebuffers(int[] framebuffers)static voidglGenFramebuffers(java.nio.IntBuffer framebuffers)static intglGenRenderbuffers()static voidglGenRenderbuffers(int[] renderbuffers)static voidglGenRenderbuffers(java.nio.IntBuffer renderbuffers)static intglGenVertexArrays()static voidglGenVertexArrays(int[] arrays)static voidglGenVertexArrays(java.nio.IntBuffer arrays)static voidglGetBooleani_v(int target, int index, java.nio.ByteBuffer data)static booleanglGetBooleani(int target, int index)static intglGetFragDataLocation(int program, java.nio.ByteBuffer name)static intglGetFragDataLocation(int program, java.lang.CharSequence name)static intglGetFramebufferAttachmentParameteri(int target, int attachment, int pname)static voidglGetFramebufferAttachmentParameteriv(int target, int attachment, int pname, int[] params)static voidglGetFramebufferAttachmentParameteriv(int target, int attachment, int pname, java.nio.IntBuffer params)static voidglGetIntegeri_v(int target, int index, int[] data)static voidglGetIntegeri_v(int target, int index, java.nio.IntBuffer data)static intglGetIntegeri(int target, int index)static intglGetRenderbufferParameteri(int target, int pname)static voidglGetRenderbufferParameteriv(int target, int pname, int[] params)static voidglGetRenderbufferParameteriv(int target, int pname, java.nio.IntBuffer params)static java.lang.StringglGetStringi(int name, int index)static intglGetTexParameterIi(int target, int pname)static voidglGetTexParameterIiv(int target, int pname, int[] params)static voidglGetTexParameterIiv(int target, int pname, java.nio.IntBuffer params)static intglGetTexParameterIui(int target, int pname)static voidglGetTexParameterIuiv(int target, int pname, int[] params)static voidglGetTexParameterIuiv(int target, int pname, java.nio.IntBuffer params)static voidglGetTransformFeedbackVarying(int program, int index, int[] length, int[] size, int[] type, java.nio.ByteBuffer name)static java.lang.StringglGetTransformFeedbackVarying(int program, int index, java.nio.IntBuffer size, java.nio.IntBuffer type)static voidglGetTransformFeedbackVarying(int program, int index, java.nio.IntBuffer length, java.nio.IntBuffer size, java.nio.IntBuffer type, java.nio.ByteBuffer name)static java.lang.StringglGetTransformFeedbackVarying(int program, int index, int bufSize, java.nio.IntBuffer size, java.nio.IntBuffer type)static intglGetUniformui(int program, int location)static voidglGetUniformuiv(int program, int location, int[] params)static voidglGetUniformuiv(int program, int location, java.nio.IntBuffer params)static intglGetVertexAttribIi(int index, int pname)static voidglGetVertexAttribIiv(int index, int pname, int[] params)static voidglGetVertexAttribIiv(int index, int pname, java.nio.IntBuffer params)static intglGetVertexAttribIui(int index, int pname)static voidglGetVertexAttribIuiv(int index, int pname, int[] params)static voidglGetVertexAttribIuiv(int index, int pname, java.nio.IntBuffer params)static booleanglIsEnabledi(int target, int index)static booleanglIsFramebuffer(int framebuffer)static booleanglIsRenderbuffer(int renderbuffer)static booleanglIsVertexArray(int array)static java.nio.ByteBufferglMapBufferRange(int target, long offset, long length, int access)static java.nio.ByteBufferglMapBufferRange(int target, long offset, long length, int access, java.nio.ByteBuffer old_buffer)static voidglRenderbufferStorage(int target, int internalformat, int width, int height)static voidglRenderbufferStorageMultisample(int target, int samples, int internalformat, int width, int height)static voidglTexParameterIi(int target, int pname, int param)static voidglTexParameterIiv(int target, int pname, int[] params)static voidglTexParameterIiv(int target, int pname, java.nio.IntBuffer params)static voidglTexParameterIui(int target, int pname, int param)static voidglTexParameterIuiv(int target, int pname, int[] params)static voidglTexParameterIuiv(int target, int pname, java.nio.IntBuffer params)static voidglTransformFeedbackVaryings(int program, java.lang.CharSequence[] varyings, int bufferMode)static voidglTransformFeedbackVaryings(int program, java.lang.CharSequence varying, int bufferMode)static voidglTransformFeedbackVaryings(int program, org.lwjgl.PointerBuffer varyings, int bufferMode)static voidglUniform1ui(int location, int v0)static voidglUniform1uiv(int location, int[] value)static voidglUniform1uiv(int location, java.nio.IntBuffer value)static voidglUniform2ui(int location, int v0, int v1)static voidglUniform2uiv(int location, int[] value)static voidglUniform2uiv(int location, java.nio.IntBuffer value)static voidglUniform3ui(int location, int v0, int v1, int v2)static voidglUniform3uiv(int location, int[] value)static voidglUniform3uiv(int location, java.nio.IntBuffer value)static voidglUniform4ui(int location, int v0, int v1, int v2, int v3)static voidglUniform4uiv(int location, int[] value)static voidglUniform4uiv(int location, java.nio.IntBuffer value)static voidglVertexAttribI1i(int index, int x)static voidglVertexAttribI1iv(int index, int[] v)static voidglVertexAttribI1iv(int index, java.nio.IntBuffer v)static voidglVertexAttribI1ui(int index, int x)static voidglVertexAttribI1uiv(int index, int[] v)static voidglVertexAttribI1uiv(int index, java.nio.IntBuffer v)static voidglVertexAttribI2i(int index, int x, int y)static voidglVertexAttribI2iv(int index, int[] v)static voidglVertexAttribI2iv(int index, java.nio.IntBuffer v)static voidglVertexAttribI2ui(int index, int x, int y)static voidglVertexAttribI2uiv(int index, int[] v)static voidglVertexAttribI2uiv(int index, java.nio.IntBuffer v)static voidglVertexAttribI3i(int index, int x, int y, int z)static voidglVertexAttribI3iv(int index, int[] v)static voidglVertexAttribI3iv(int index, java.nio.IntBuffer v)static voidglVertexAttribI3ui(int index, int x, int y, int z)static voidglVertexAttribI3uiv(int index, int[] v)static voidglVertexAttribI3uiv(int index, java.nio.IntBuffer v)static voidglVertexAttribI4bv(int index, java.nio.ByteBuffer v)static voidglVertexAttribI4i(int index, int x, int y, int z, int w)static voidglVertexAttribI4iv(int index, int[] v)static voidglVertexAttribI4iv(int index, java.nio.IntBuffer v)static voidglVertexAttribI4sv(int index, short[] v)static voidglVertexAttribI4sv(int index, java.nio.ShortBuffer v)static voidglVertexAttribI4ubv(int index, java.nio.ByteBuffer v)static voidglVertexAttribI4ui(int index, int x, int y, int z, int w)static voidglVertexAttribI4uiv(int index, int[] v)static voidglVertexAttribI4uiv(int index, java.nio.IntBuffer v)static voidglVertexAttribI4usv(int index, short[] v)static voidglVertexAttribI4usv(int index, java.nio.ShortBuffer v)static voidglVertexAttribIPointer(int index, int size, int type, int stride, java.nio.ByteBuffer pointer)static voidglVertexAttribIPointer(int index, int size, int type, int stride, int[] pointer)static voidglVertexAttribIPointer(int index, int size, int type, int stride, java.nio.IntBuffer pointer)static voidglVertexAttribIPointer(int index, int size, int type, int stride, long pointer)static voidglVertexAttribIPointer(int index, int size, int type, int stride, short[] pointer)static voidglVertexAttribIPointer(int index, int size, int type, int stride, java.nio.ShortBuffer pointer)
-
-
-
Field Detail
-
GL_MAJOR_VERSION, GL_MINOR_VERSION, GL_NUM_EXTENSIONS, GL_CONTEXT_FLAGS, GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT
GetTarget
-
GL_COMPARE_REF_TO_TEXTURE, GL_CLIP_DISTANCE0, GL_CLIP_DISTANCE1, GL_CLIP_DISTANCE2, GL_CLIP_DISTANCE3, GL_CLIP_DISTANCE4, GL_CLIP_DISTANCE5, GL_CLIP_DISTANCE6, GL_CLIP_DISTANCE7, GL_MAX_CLIP_DISTANCES, GL_MAX_VARYING_COMPONENTS
Renamed tokens.
-
GL_VERTEX_ATTRIB_ARRAY_INTEGER
Accepted by thepnameparameters of GetVertexAttribdv, GetVertexAttribfv, GetVertexAttribiv, GetVertexAttribIuiv and GetVertexAttribIiv.
-
GL_SAMPLER_1D_ARRAY, GL_SAMPLER_2D_ARRAY, GL_SAMPLER_1D_ARRAY_SHADOW, GL_SAMPLER_2D_ARRAY_SHADOW, GL_SAMPLER_CUBE_SHADOW, GL_UNSIGNED_INT_VEC2, GL_UNSIGNED_INT_VEC3, GL_UNSIGNED_INT_VEC4, GL_INT_SAMPLER_1D, GL_INT_SAMPLER_2D, GL_INT_SAMPLER_3D, GL_INT_SAMPLER_CUBE, GL_INT_SAMPLER_1D_ARRAY, GL_INT_SAMPLER_2D_ARRAY, GL_UNSIGNED_INT_SAMPLER_1D, GL_UNSIGNED_INT_SAMPLER_2D, GL_UNSIGNED_INT_SAMPLER_3D, GL_UNSIGNED_INT_SAMPLER_CUBE, GL_UNSIGNED_INT_SAMPLER_1D_ARRAY, GL_UNSIGNED_INT_SAMPLER_2D_ARRAY
Returned by thetypeparameter of GetActiveUniform.
-
GL_MIN_PROGRAM_TEXEL_OFFSET, GL_MAX_PROGRAM_TEXEL_OFFSET
Accepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
-
GL_QUERY_WAIT, GL_QUERY_NO_WAIT, GL_QUERY_BY_REGION_WAIT, GL_QUERY_BY_REGION_NO_WAIT
Accepted by themodeparameter of BeginConditionalRender.
-
GL_MAP_READ_BIT, GL_MAP_WRITE_BIT, GL_MAP_INVALIDATE_RANGE_BIT, GL_MAP_INVALIDATE_BUFFER_BIT, GL_MAP_FLUSH_EXPLICIT_BIT, GL_MAP_UNSYNCHRONIZED_BIT
Accepted by theaccessparameter of MapBufferRange.
-
GL_BUFFER_ACCESS_FLAGS, GL_BUFFER_MAP_LENGTH, GL_BUFFER_MAP_OFFSET
Accepted by thepnameparameter of GetBufferParameteriv.
-
GL_CLAMP_VERTEX_COLOR, GL_CLAMP_FRAGMENT_COLOR, GL_CLAMP_READ_COLOR
Accepted by thetargetparameter of ClampColor and thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
-
GL_FIXED_ONLY
Accepted by theclampparameter of ClampColor.
-
GL_DEPTH_COMPONENT32F, GL_DEPTH32F_STENCIL8
Accepted by theinternalformatparameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, CopyTexImage2D, and RenderbufferStorage, and returned in thedataparameter of GetTexLevelParameter and GetRenderbufferParameteriv.
-
GL_FLOAT_32_UNSIGNED_INT_24_8_REV
Accepted by thetypeparameter of DrawPixels, ReadPixels, TexImage1D, TexImage2D, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, and GetTexImage.
-
GL_TEXTURE_RED_TYPE, GL_TEXTURE_GREEN_TYPE, GL_TEXTURE_BLUE_TYPE, GL_TEXTURE_ALPHA_TYPE, GL_TEXTURE_LUMINANCE_TYPE, GL_TEXTURE_INTENSITY_TYPE, GL_TEXTURE_DEPTH_TYPE
Accepted by thevalueparameter of GetTexLevelParameter.
-
GL_UNSIGNED_NORMALIZED
Returned by theparamsparameter of GetTexLevelParameter.
-
GL_RGBA32F, GL_RGB32F, GL_RGBA16F, GL_RGB16F
Accepted by theinternalFormatparameter of TexImage1D, TexImage2D, and TexImage3D.
-
GL_R11F_G11F_B10F
Accepted by theinternalformatparameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, CopyTexImage2D, and RenderbufferStorage.
-
GL_UNSIGNED_INT_10F_11F_11F_REV
Accepted by thetypeparameter of DrawPixels, ReadPixels, TexImage1D, TexImage2D, GetTexImage, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, GetHistogram, GetMinmax, ConvolutionFilter1D, ConvolutionFilter2D, ConvolutionFilter3D, GetConvolutionFilter, SeparableFilter2D, GetSeparableFilter, ColorTable, ColorSubTable, and GetColorTable.
-
GL_RGB9_E5
Accepted by theinternalformatparameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, CopyTexImage2D, and RenderbufferStorage.
-
GL_UNSIGNED_INT_5_9_9_9_REV
Accepted by thetypeparameter of DrawPixels, ReadPixels, TexImage1D, TexImage2D, GetTexImage, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, GetHistogram, GetMinmax, ConvolutionFilter1D, ConvolutionFilter2D, ConvolutionFilter3D, GetConvolutionFilter, SeparableFilter2D, GetSeparableFilter, ColorTable, ColorSubTable, and GetColorTable.
-
GL_TEXTURE_SHARED_SIZE
Accepted by thepnameparameter of GetTexLevelParameterfv and GetTexLevelParameteriv.
-
GL_FRAMEBUFFER, GL_READ_FRAMEBUFFER, GL_DRAW_FRAMEBUFFER
Accepted by thetargetparameter of BindFramebuffer, CheckFramebufferStatus, FramebufferTexture{1D|2D|3D}, FramebufferRenderbuffer, and GetFramebufferAttachmentParameteriv.
-
GL_RENDERBUFFER
Accepted by thetargetparameter of BindRenderbuffer, RenderbufferStorage, and GetRenderbufferParameteriv, and returned by GetFramebufferAttachmentParameteriv.
-
GL_STENCIL_INDEX1, GL_STENCIL_INDEX4, GL_STENCIL_INDEX8, GL_STENCIL_INDEX16
Accepted by theinternalformatparameter of RenderbufferStorage.
-
GL_RENDERBUFFER_WIDTH, GL_RENDERBUFFER_HEIGHT, GL_RENDERBUFFER_INTERNAL_FORMAT, GL_RENDERBUFFER_RED_SIZE, GL_RENDERBUFFER_GREEN_SIZE, GL_RENDERBUFFER_BLUE_SIZE, GL_RENDERBUFFER_ALPHA_SIZE, GL_RENDERBUFFER_DEPTH_SIZE, GL_RENDERBUFFER_STENCIL_SIZE, GL_RENDERBUFFER_SAMPLES
Accepted by thepnameparameter of GetRenderbufferParameteriv.
-
GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME, GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL, GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE, GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER, GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING, GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE, GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE, GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE, GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE, GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE, GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE, GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE
Accepted by thepnameparameter of GetFramebufferAttachmentParameteriv.
-
GL_FRAMEBUFFER_DEFAULT, GL_INDEX
Returned inparamsby GetFramebufferAttachmentParameteriv.
-
GL_COLOR_ATTACHMENT0, GL_COLOR_ATTACHMENT1, GL_COLOR_ATTACHMENT2, GL_COLOR_ATTACHMENT3, GL_COLOR_ATTACHMENT4, GL_COLOR_ATTACHMENT5, GL_COLOR_ATTACHMENT6, GL_COLOR_ATTACHMENT7, GL_COLOR_ATTACHMENT8, GL_COLOR_ATTACHMENT9, GL_COLOR_ATTACHMENT10, GL_COLOR_ATTACHMENT11, GL_COLOR_ATTACHMENT12, GL_COLOR_ATTACHMENT13, GL_COLOR_ATTACHMENT14, GL_COLOR_ATTACHMENT15, GL_COLOR_ATTACHMENT16, GL_COLOR_ATTACHMENT17, GL_COLOR_ATTACHMENT18, GL_COLOR_ATTACHMENT19, GL_COLOR_ATTACHMENT20, GL_COLOR_ATTACHMENT21, GL_COLOR_ATTACHMENT22, GL_COLOR_ATTACHMENT23, GL_COLOR_ATTACHMENT24, GL_COLOR_ATTACHMENT25, GL_COLOR_ATTACHMENT26, GL_COLOR_ATTACHMENT27, GL_COLOR_ATTACHMENT28, GL_COLOR_ATTACHMENT29, GL_COLOR_ATTACHMENT30, GL_COLOR_ATTACHMENT31, GL_DEPTH_ATTACHMENT, GL_STENCIL_ATTACHMENT, GL_DEPTH_STENCIL_ATTACHMENT
Accepted by theattachmentparameter of FramebufferTexture{1D|2D|3D}, FramebufferRenderbuffer, and GetFramebufferAttachmentParameteriv.
-
GL_MAX_SAMPLES
Accepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
-
GL_FRAMEBUFFER_COMPLETE, GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT, GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT, GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER, GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER, GL_FRAMEBUFFER_UNSUPPORTED, GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE, GL_FRAMEBUFFER_UNDEFINED
Returned by CheckFramebufferStatus().
-
GL_FRAMEBUFFER_BINDING, GL_DRAW_FRAMEBUFFER_BINDING, GL_READ_FRAMEBUFFER_BINDING, GL_RENDERBUFFER_BINDING, GL_MAX_COLOR_ATTACHMENTS, GL_MAX_RENDERBUFFER_SIZE
Accepted by thepnameparameters of GetIntegerv, GetFloatv, and GetDoublev.
-
GL_INVALID_FRAMEBUFFER_OPERATION
Returned by GetError().
-
GL_DEPTH_STENCIL
Accepted by theformatparameter of DrawPixels, ReadPixels, TexImage1D, TexImage2D, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, and GetTexImage, by thetypeparameter of CopyPixels, by theinternalformatparameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, CopyTexImage2D, and RenderbufferStorage, and returned in thedataparameter of GetTexLevelParameter and GetRenderbufferParameteriv.
-
GL_UNSIGNED_INT_24_8
Accepted by thetypeparameter of DrawPixels, ReadPixels, TexImage1D, TexImage2D, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, and GetTexImage.
-
GL_DEPTH24_STENCIL8
Accepted by theinternalformatparameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, CopyTexImage2D, and RenderbufferStorage, and returned in thedataparameter of GetTexLevelParameter and GetRenderbufferParameteriv.
-
GL_TEXTURE_STENCIL_SIZE
Accepted by thevalueparameter of GetTexLevelParameter.
-
GL_HALF_FLOAT
Accepted by thetypeparameter of DrawPixels, ReadPixels, TexImage1D, TexImage2D, TexImage3D, GetTexImage, TexSubImage1D, TexSubImage2D, TexSubImage3D, GetHistogram, GetMinmax, ConvolutionFilter1D, ConvolutionFilter2D, GetConvolutionFilter, SeparableFilter2D, GetSeparableFilter, ColorTable, ColorSubTable, and GetColorTable.Accepted by the
typeargument of VertexPointer, NormalPointer, ColorPointer, SecondaryColorPointer, FogCoordPointer, TexCoordPointer, and VertexAttribPointer.
-
GL_RGBA32UI, GL_RGB32UI, GL_RGBA16UI, GL_RGB16UI, GL_RGBA8UI, GL_RGB8UI, GL_RGBA32I, GL_RGB32I, GL_RGBA16I, GL_RGB16I, GL_RGBA8I, GL_RGB8I
Accepted by theinternalFormatparameter of TexImage1D, TexImage2D, and TexImage3D.
-
GL_RED_INTEGER, GL_GREEN_INTEGER, GL_BLUE_INTEGER, GL_ALPHA_INTEGER, GL_RGB_INTEGER, GL_RGBA_INTEGER, GL_BGR_INTEGER, GL_BGRA_INTEGER
Accepted by theformatparameter of TexImage1D, TexImage2D, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, DrawPixels and ReadPixels.
-
GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY
Accepted by thetargetparameter of TexParameteri, TexParameteriv, TexParameterf, TexParameterfv, GenerateMipmap, and BindTexture.
-
GL_PROXY_TEXTURE_2D_ARRAY
Accepted by thetargetparameter of TexImage3D, TexSubImage3D, CopyTexSubImage3D, CompressedTexImage3D, and CompressedTexSubImage3D.
-
GL_PROXY_TEXTURE_1D_ARRAY
Accepted by thetargetparameter of TexImage2D, TexSubImage2D, CopyTexImage2D, CopyTexSubImage2D, CompressedTexImage2D, and CompressedTexSubImage2D.
-
GL_TEXTURE_BINDING_1D_ARRAY, GL_TEXTURE_BINDING_2D_ARRAY, GL_MAX_ARRAY_TEXTURE_LAYERS
Accepted by thepnameparameter of GetBooleanv, GetDoublev, GetIntegerv and GetFloatv.
-
GL_COMPRESSED_RED_RGTC1, GL_COMPRESSED_SIGNED_RED_RGTC1, GL_COMPRESSED_RG_RGTC2, GL_COMPRESSED_SIGNED_RG_RGTC2
Accepted by theinternalformatparameter of TexImage2D, CopyTexImage2D, and CompressedTexImage2D and theformatparameter of CompressedTexSubImage2D.
-
GL_R8, GL_R16, GL_RG8, GL_RG16, GL_R16F, GL_R32F, GL_RG16F, GL_RG32F, GL_R8I, GL_R8UI, GL_R16I, GL_R16UI, GL_R32I, GL_R32UI, GL_RG8I, GL_RG8UI, GL_RG16I, GL_RG16UI, GL_RG32I, GL_RG32UI, GL_RG, GL_COMPRESSED_RED, GL_COMPRESSED_RG
Accepted by theinternalFormatparameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, and CopyTexImage2D.
-
GL_RG_INTEGER
Accepted by theformatparameter of TexImage3D, TexImage2D, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, and ReadPixels.
-
GL_TRANSFORM_FEEDBACK_BUFFER
Accepted by thetargetparameters of BindBuffer, BufferData, BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData, GetBufferPointerv, BindBufferRange, BindBufferOffset and BindBufferBase.
-
GL_TRANSFORM_FEEDBACK_BUFFER_START, GL_TRANSFORM_FEEDBACK_BUFFER_SIZE
Accepted by theparamparameter of GetIntegeri_v and GetBooleani_v.
-
GL_TRANSFORM_FEEDBACK_BUFFER_BINDING
Accepted by theparamparameter of GetIntegeri_v and GetBooleani_v, and by thepnameparameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.
-
GL_INTERLEAVED_ATTRIBS, GL_SEPARATE_ATTRIBS
Accepted by thebufferModeparameter of TransformFeedbackVaryings.
-
GL_PRIMITIVES_GENERATED, GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN
Accepted by thetargetparameter of BeginQuery, EndQuery, and GetQueryiv.
-
GL_RASTERIZER_DISCARD
Accepted by thecapparameter of Enable, Disable, and IsEnabled, and by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
-
GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS, GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS, GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS
Accepted by thepnameparameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.
-
GL_TRANSFORM_FEEDBACK_VARYINGS, GL_TRANSFORM_FEEDBACK_BUFFER_MODE, GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH
Accepted by thepnameparameter of GetProgramiv.
-
GL_VERTEX_ARRAY_BINDING
Accepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
-
GL_FRAMEBUFFER_SRGB
Accepted by thecapparameter of Enable, Disable, and IsEnabled, and by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
-
-
Method Detail
-
glGetStringi
public static java.lang.String glGetStringi(int name, int index)Queries indexed string state.- Parameters:
name- the indexed state to query. One of:EXTENSIONSSHADING_LANGUAGE_VERSIONindex- the index of the particular element being queried
-
glClearBufferiv
public static void glClearBufferiv(int buffer, int drawbuffer, java.nio.IntBuffer value)Clears an individual buffer of the currently bound framebuffer object to theDRAW_FRAMEBUFFERbinding.
-
glClearBufferuiv
public static void glClearBufferuiv(int buffer, int drawbuffer, java.nio.IntBuffer value)Clears an individual buffer of the currently bound framebuffer object to theDRAW_FRAMEBUFFERbinding.- Parameters:
buffer- the buffer to clear. Must be:COLORdrawbuffer- the draw buffer to clearvalue- a pointer to a four-element vector specifying R, G, B and A values to clear the buffer to
-
glClearBufferfv
public static void glClearBufferfv(int buffer, int drawbuffer, java.nio.FloatBuffer value)Clears an individual buffer of the currently bound framebuffer object to theDRAW_FRAMEBUFFERbinding.
-
glClearBufferfi
public static void glClearBufferfi(int buffer, int drawbuffer, float depth, int stencil)Clears an individual buffer of the currently bound framebuffer object to theDRAW_FRAMEBUFFERbinding.- Parameters:
buffer- the buffer to clear. Must be:DEPTH_STENCILdrawbuffer- the draw buffer to cleardepth- the depth value to clear the buffer tostencil- the stencil value to clear the buffer to
-
glVertexAttribI1i
public static void glVertexAttribI1i(int index, int x)Specifies the value of a pure integer generic vertex attribute. The y and z components are implicitly set to 0 and w to 1.- Parameters:
index- the index of the pure integer generic vertex attribute to be modifiedx- the vertex attribute x component
-
glVertexAttribI2i
public static void glVertexAttribI2i(int index, int x, int y)Specifies the value of a pure integer generic vertex attribute. The z component is implicitly set to 0 and w to 1.- Parameters:
index- the index of the pure integer generic vertex attribute to be modifiedx- the vertex attribute x componenty- the vertex attribute y component
-
glVertexAttribI3i
public static void glVertexAttribI3i(int index, int x, int y, int z)Specifies the value of a pure integer generic vertex attribute. The w component is implicitly set to 1.- Parameters:
index- the index of the pure integer generic vertex attribute to be modifiedx- the vertex attribute x componenty- the vertex attribute y componentz- the vertex attribute z component
-
glVertexAttribI4i
public static void glVertexAttribI4i(int index, int x, int y, int z, int w)Specifies the value of a pure integer generic vertex attribute.- Parameters:
index- the index of the pure integer generic vertex attribute to be modifiedx- the vertex attribute x componenty- the vertex attribute y componentz- the vertex attribute z componentw- the vertex attribute w component
-
glVertexAttribI1ui
public static void glVertexAttribI1ui(int index, int x)Specifies the value of an unsigned pure integer generic vertex attribute. The y and z components are implicitly set to 0 and w to 1.- Parameters:
index- the index of the pure integer generic vertex attribute to be modifiedx- the vertex attribute x component
-
glVertexAttribI2ui
public static void glVertexAttribI2ui(int index, int x, int y)Specifies the value of an unsigned pure integer generic vertex attribute. The z component is implicitly set to 0 and w to 1.- Parameters:
index- the index of the pure integer generic vertex attribute to be modifiedx- the vertex attribute x componenty- the vertex attribute y component
-
glVertexAttribI3ui
public static void glVertexAttribI3ui(int index, int x, int y, int z)Specifies the value of an unsigned pure integer generic vertex attribute. The w component is implicitly set to 1.- Parameters:
index- the index of the pure integer generic vertex attribute to be modifiedx- the vertex attribute x componenty- the vertex attribute y componentz- the vertex attribute z component
-
glVertexAttribI4ui
public static void glVertexAttribI4ui(int index, int x, int y, int z, int w)Specifies the value of an unsigned pure integer generic vertex attribute.- Parameters:
index- the index of the pure integer generic vertex attribute to be modifiedx- the vertex attribute x componenty- the vertex attribute y componentz- the vertex attribute z componentw- the vertex attribute w component
-
glVertexAttribI1iv
public static void glVertexAttribI1iv(int index, java.nio.IntBuffer v)Pointer version ofVertexAttribI1i.- Parameters:
index- the index of the pure integer generic vertex attribute to be modifiedv- the pure integer vertex attribute buffer
-
glVertexAttribI2iv
public static void glVertexAttribI2iv(int index, java.nio.IntBuffer v)Pointer version ofVertexAttribI2i.- Parameters:
index- the index of the pure integer generic vertex attribute to be modifiedv- the pure integer vertex attribute buffer
-
glVertexAttribI3iv
public static void glVertexAttribI3iv(int index, java.nio.IntBuffer v)Pointer version ofVertexAttribI3i.- Parameters:
index- the index of the pure integer generic vertex attribute to be modifiedv- the pure integer vertex attribute buffer
-
glVertexAttribI4iv
public static void glVertexAttribI4iv(int index, java.nio.IntBuffer v)Pointer version ofVertexAttribI4i.- Parameters:
index- the index of the pure integer generic vertex attribute to be modifiedv- the pure integer vertex attribute buffer
-
glVertexAttribI1uiv
public static void glVertexAttribI1uiv(int index, java.nio.IntBuffer v)Pointer version ofVertexAttribI1ui.- Parameters:
index- the index of the pure integer generic vertex attribute to be modifiedv- the pure integer vertex attribute buffer
-
glVertexAttribI2uiv
public static void glVertexAttribI2uiv(int index, java.nio.IntBuffer v)Pointer version ofVertexAttribI2ui.- Parameters:
index- the index of the pure integer generic vertex attribute to be modifiedv- the pure integer vertex attribute buffer
-
glVertexAttribI3uiv
public static void glVertexAttribI3uiv(int index, java.nio.IntBuffer v)Pointer version ofVertexAttribI3ui.- Parameters:
index- the index of the pure integer generic vertex attribute to be modifiedv- the pure integer vertex attribute buffer
-
glVertexAttribI4uiv
public static void glVertexAttribI4uiv(int index, java.nio.IntBuffer v)Pointer version ofVertexAttribI4ui.- Parameters:
index- the index of the pure integer generic vertex attribute to be modifiedv- the pure integer vertex attribute buffer
-
glVertexAttribI4bv
public static void glVertexAttribI4bv(int index, java.nio.ByteBuffer v)Byte version ofVertexAttribI4iv.- Parameters:
index- the index of the pure integer generic vertex attribute to be modifiedv- the pure integer vertex attribute buffer
-
glVertexAttribI4sv
public static void glVertexAttribI4sv(int index, java.nio.ShortBuffer v)Short version ofVertexAttribI4iv.- Parameters:
index- the index of the pure integer generic vertex attribute to be modifiedv- the pure integer vertex attribute buffer
-
glVertexAttribI4ubv
public static void glVertexAttribI4ubv(int index, java.nio.ByteBuffer v)Byte version ofVertexAttribI4uiv.- Parameters:
index- the index of the pure integer generic vertex attribute to be modifiedv- the pure integer vertex attribute buffer
-
glVertexAttribI4usv
public static void glVertexAttribI4usv(int index, java.nio.ShortBuffer v)Short version ofVertexAttribI4uiv.- Parameters:
index- the index of the pure integer generic vertex attribute to be modifiedv- the pure integer vertex attribute buffer
-
glVertexAttribIPointer
public static void glVertexAttribIPointer(int index, int size, int type, int stride, java.nio.ByteBuffer pointer) public static void glVertexAttribIPointer(int index, int size, int type, int stride, long pointer) public static void glVertexAttribIPointer(int index, int size, int type, int stride, java.nio.ShortBuffer pointer) public static void glVertexAttribIPointer(int index, int size, int type, int stride, java.nio.IntBuffer pointer)Specifies the location and organization of a pure integer vertex attribute array.- Parameters:
index- the index of the pure integer generic vertex attribute to be modifiedsize- the number of values per vertex that are stored in the array. The initial value is 4. One of:1 2 3 4 BGRAtype- the data type of each component in the array. One of:BYTEUNSIGNED_BYTESHORTUNSIGNED_SHORTINTUNSIGNED_INTstride- the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.pointer- the vertex attribute data or the offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to theARRAY_BUFFERtarget. The initial value is 0.
-
glGetVertexAttribIiv
public static void glGetVertexAttribIiv(int index, int pname, java.nio.IntBuffer params)Returns the value of a pure integer generic vertex attribute parameter.- Parameters:
index- the index of the pure integer generic vertex attribute to be modifiedpname- the symbolic name of the vertex attribute parameter to be queried. Must be:CURRENT_VERTEX_ATTRIBparams- returns the requested data
-
glGetVertexAttribIi
public static int glGetVertexAttribIi(int index, int pname)Returns the value of a pure integer generic vertex attribute parameter.- Parameters:
index- the index of the pure integer generic vertex attribute to be modifiedpname- the symbolic name of the vertex attribute parameter to be queried. Must be:CURRENT_VERTEX_ATTRIB
-
glGetVertexAttribIuiv
public static void glGetVertexAttribIuiv(int index, int pname, java.nio.IntBuffer params)Unsigned version ofGetVertexAttribIiv.- Parameters:
index- the index of the pure integer generic vertex attribute to be modifiedpname- the symbolic name of the vertex attribute parameter to be queried. Must be:CURRENT_VERTEX_ATTRIBparams- returns the requested data
-
glGetVertexAttribIui
public static int glGetVertexAttribIui(int index, int pname)Unsigned version ofGetVertexAttribIiv.- Parameters:
index- the index of the pure integer generic vertex attribute to be modifiedpname- the symbolic name of the vertex attribute parameter to be queried. Must be:CURRENT_VERTEX_ATTRIB
-
glUniform1ui
public static void glUniform1ui(int location, int v0)Specifies the value of a uint uniform variable for the current program object.- Parameters:
location- the location of the uniform variable to be modifiedv0- the uniform value
-
glUniform2ui
public static void glUniform2ui(int location, int v0, int v1)Specifies the value of a uvec2 uniform variable for the current program object.- Parameters:
location- the location of the uniform variable to be modifiedv0- the uniform x valuev1- the uniform y value
-
glUniform3ui
public static void glUniform3ui(int location, int v0, int v1, int v2)Specifies the value of a uvec3 uniform variable for the current program object.- Parameters:
location- the location of the uniform variable to be modifiedv0- the uniform x valuev1- the uniform y valuev2- the uniform z value
-
glUniform4ui
public static void glUniform4ui(int location, int v0, int v1, int v2, int v3)Specifies the value of a uvec4 uniform variable for the current program object.- Parameters:
location- the location of the uniform variable to be modifiedv0- the uniform x valuev1- the uniform y valuev2- the uniform z valuev3- the uniform w value
-
glUniform1uiv
public static void glUniform1uiv(int location, java.nio.IntBuffer value)Specifies the value of a single uint uniform variable or a uint uniform variable array for the current program object.- Parameters:
location- the location of the uniform variable to be modifiedvalue- a pointer to an array ofcountvalues that will be used to update the specified uniform variable
-
glUniform2uiv
public static void glUniform2uiv(int location, java.nio.IntBuffer value)Specifies the value of a single uvec2 uniform variable or a uvec2 uniform variable array for the current program object.- Parameters:
location- the location of the uniform variable to be modifiedvalue- a pointer to an array ofcountvalues that will be used to update the specified uniform variable
-
glUniform3uiv
public static void glUniform3uiv(int location, java.nio.IntBuffer value)Specifies the value of a single uvec3 uniform variable or a uvec3 uniform variable array for the current program object.- Parameters:
location- the location of the uniform variable to be modifiedvalue- a pointer to an array ofcountvalues that will be used to update the specified uniform variable
-
glUniform4uiv
public static void glUniform4uiv(int location, java.nio.IntBuffer value)Specifies the value of a single uvec4 uniform variable or a uvec4 uniform variable array for the current program object.- Parameters:
location- the location of the uniform variable to be modifiedvalue- a pointer to an array ofcountvalues that will be used to update the specified uniform variable
-
glGetUniformuiv
public static void glGetUniformuiv(int program, int location, java.nio.IntBuffer params)Returns the uint value(s) of a uniform variable.- Parameters:
program- the program object to be queriedlocation- the location of the uniform variable to be queriedparams- the value of the specified uniform variable
-
glGetUniformui
public static int glGetUniformui(int program, int location)Returns the uint value(s) of a uniform variable.- Parameters:
program- the program object to be queriedlocation- the location of the uniform variable to be queried
-
glBindFragDataLocation
public static void glBindFragDataLocation(int program, int colorNumber, java.nio.ByteBuffer name) public static void glBindFragDataLocation(int program, int colorNumber, java.lang.CharSequence name)Binds a user-defined varying out variable to a fragment shader color number.- Parameters:
program- the name of the program containing varying out variable whose binding to modifycolorNumber- the color number to bind the user-defined varying out variable toname- the name of the user-defined varying out variable whose binding to modify
-
glGetFragDataLocation
public static int glGetFragDataLocation(int program, java.nio.ByteBuffer name) public static int glGetFragDataLocation(int program, java.lang.CharSequence name)Queries the bindings of color numbers to user-defined varying out variables.- Parameters:
program- the name of the program containing varying out variable whose binding to queryname- the name of the user-defined varying out variable whose binding to query
-
glBeginConditionalRender
public static void glBeginConditionalRender(int id, int mode)Starts conditional rendering.- Parameters:
id- the name of an occlusion query object whose results are used to determine if the rendering commands are discardedmode- howglBeginConditionalRenderinterprets the results of the occlusion query. One of:QUERY_WAITQUERY_NO_WAITQUERY_BY_REGION_WAITQUERY_BY_REGION_NO_WAITQUERY_WAIT_INVERTEDQUERY_NO_WAIT_INVERTEDQUERY_BY_REGION_WAIT_INVERTEDQUERY_BY_REGION_NO_WAIT_INVERTED
-
glEndConditionalRender
public static void glEndConditionalRender()
Ends conditional rendering.
-
glMapBufferRange
public static java.nio.ByteBuffer glMapBufferRange(int target, long offset, long length, int access) public static java.nio.ByteBuffer glMapBufferRange(int target, long offset, long length, int access, java.nio.ByteBuffer old_buffer)Maps a section of a buffer object's data store.LWJGL note: This method comes in 2 flavors:
GL30.glMapBufferRange(int, long, long, int)- Always returns a new ByteBuffer instance.GL30.glMapBufferRange(int, long, long, int, ByteBuffer)- Theold_bufferparameter is reused if not null.
- Parameters:
target- a binding to which the target buffer is bound. One of:offset- the starting offset within the buffer of the range to be mappedlength- the length of the range to be mappedaccess- a combination of access flags indicating the desired access to the range. One or more of:MAP_READ_BITMAP_WRITE_BITMAP_INVALIDATE_RANGE_BITMAP_INVALIDATE_BUFFER_BITMAP_FLUSH_EXPLICIT_BITMAP_UNSYNCHRONIZED_BIT
-
glFlushMappedBufferRange
public static void glFlushMappedBufferRange(int target, long offset, long length)Indicates modifications to a range of a mapped buffer.- Parameters:
target- the target of the flush operation. One of:offset- the start of the buffer subrange, in basic machine unitslength- the length of the buffer subrange, in basic machine units
-
glClampColor
public static void glClampColor(int target, int clamp)Controls color clamping.- Parameters:
target- target for color clamping. One of:CLAMP_VERTEX_COLORCLAMP_FRAGMENT_COLORCLAMP_READ_COLORclamp- whether to apply color clamping. One of:TRUEFALSEFIXED_ONLY
-
glIsRenderbuffer
public static boolean glIsRenderbuffer(int renderbuffer)
Determines if a name corresponds to a renderbuffer object.- Parameters:
renderbuffer- a value that may be the name of a renderbuffer object
-
glBindRenderbuffer
public static void glBindRenderbuffer(int target, int renderbuffer)Binds a renderbuffer to a renderbuffer target.- Parameters:
target- the renderbuffer target of the binding operation. Must be:RENDERBUFFERrenderbuffer- the name of the renderbuffer object to bind
-
glDeleteRenderbuffers
public static void glDeleteRenderbuffers(java.nio.IntBuffer renderbuffers)
Deletes renderbuffer objects.- Parameters:
renderbuffers- an array containingnrenderbuffer objects to be deleted
-
glDeleteRenderbuffers
public static void glDeleteRenderbuffers(int renderbuffer)
Deletes renderbuffer objects.
-
glGenRenderbuffers
public static void glGenRenderbuffers(java.nio.IntBuffer renderbuffers)
Generates renderbuffer object names.- Parameters:
renderbuffers- a buffer in which the generated renderbuffer object names are stored
-
glGenRenderbuffers
public static int glGenRenderbuffers()
Generates renderbuffer object names.
-
glRenderbufferStorage
public static void glRenderbufferStorage(int target, int internalformat, int width, int height)Establishes data storage, format and dimensions of a renderbuffer object's image.- Parameters:
target- the target of the allocation. Must be:RENDERBUFFERinternalformat- the internal format to use for the renderbuffer object's image. Must be a color-renderable, depth-renderable, or stencil-renderable format.width- the width of the renderbuffer, in pixelsheight- the height of the renderbuffer, in pixels
-
glRenderbufferStorageMultisample
public static void glRenderbufferStorageMultisample(int target, int samples, int internalformat, int width, int height)Establishes data storage, format, dimensions and sample count of a renderbuffer object's image.RenderbufferStorageis equivalent to calling this method with the samples set to zero.- Parameters:
target- the target of the allocation. Must be:RENDERBUFFERsamples- the number of samples to be used for the renderbuffer object's storageinternalformat- the internal format to use for the renderbuffer object's image. Must be a color-renderable, depth-renderable, or stencil-renderable format.width- the width of the renderbuffer, in pixelsheight- the height of the renderbuffer, in pixels
-
glGetRenderbufferParameteriv
public static void glGetRenderbufferParameteriv(int target, int pname, java.nio.IntBuffer params)Retrieves information about a bound renderbuffer object.- Parameters:
target- the target of the query operation. Must be:RENDERBUFFERpname- the parameter whose value to retrieve from the renderbuffer bound totarget. One of:params- an array to receive the value of the queried parameter
-
glGetRenderbufferParameteri
public static int glGetRenderbufferParameteri(int target, int pname)Retrieves information about a bound renderbuffer object.- Parameters:
target- the target of the query operation. Must be:RENDERBUFFERpname- the parameter whose value to retrieve from the renderbuffer bound totarget. One of:
-
glIsFramebuffer
public static boolean glIsFramebuffer(int framebuffer)
Determines if a name corresponds to a framebuffer object.- Parameters:
framebuffer- a value that may be the name of a framebuffer object
-
glBindFramebuffer
public static void glBindFramebuffer(int target, int framebuffer)Binds a framebuffer to a framebuffer target.- Parameters:
target- the framebuffer target of the binding operation. One of:FRAMEBUFFERREAD_FRAMEBUFFERDRAW_FRAMEBUFFERframebuffer- the name of the framebuffer object to bind
-
glDeleteFramebuffers
public static void glDeleteFramebuffers(java.nio.IntBuffer framebuffers)
Deletes framebuffer objects.- Parameters:
framebuffers- an array containingnframebuffer objects to be deleted
-
glDeleteFramebuffers
public static void glDeleteFramebuffers(int framebuffer)
Deletes framebuffer objects.
-
glGenFramebuffers
public static void glGenFramebuffers(java.nio.IntBuffer framebuffers)
Generates framebuffer object names.- Parameters:
framebuffers- a buffer in which the generated framebuffer object names are stored
-
glGenFramebuffers
public static int glGenFramebuffers()
Generates framebuffer object names.
-
glCheckFramebufferStatus
public static int glCheckFramebufferStatus(int target)
Checks the completeness status of a framebuffer.- Parameters:
target- the target of the framebuffer completeness check. One of:FRAMEBUFFERREAD_FRAMEBUFFERDRAW_FRAMEBUFFER
-
glFramebufferTexture1D
public static void glFramebufferTexture1D(int target, int attachment, int textarget, int texture, int level)Attaches a level of a 1D texture object as a logical buffer to the currently bound framebuffer object.- Parameters:
target- the framebuffer target. One of:FRAMEBUFFERREAD_FRAMEBUFFERDRAW_FRAMEBUFFERattachment- the attachment point of the framebuffer. One of:textarget- the type of texturetexture- the texture object to attach to the framebuffer attachment point named byattachmentlevel- the mipmap level oftextureto attach
-
glFramebufferTexture2D
public static void glFramebufferTexture2D(int target, int attachment, int textarget, int texture, int level)Attaches a level of a 2D texture object as a logical buffer to the currently bound framebuffer object.- Parameters:
target- the framebuffer target. One of:FRAMEBUFFERREAD_FRAMEBUFFERDRAW_FRAMEBUFFERattachment- the attachment point of the framebuffer. One of:textarget- the type of texturetexture- the texture object to attach to the framebuffer attachment point named byattachmentlevel- the mipmap level oftextureto attach
-
glFramebufferTexture3D
public static void glFramebufferTexture3D(int target, int attachment, int textarget, int texture, int level, int layer)Attaches a layer of a 3D texture object as a logical buffer to the currently bound framebuffer object.- Parameters:
target- the framebuffer target. One of:FRAMEBUFFERREAD_FRAMEBUFFERDRAW_FRAMEBUFFERattachment- the attachment point of the framebuffer. One of:textarget- the type of texturetexture- the texture object to attach to the framebuffer attachment point named byattachmentlevel- the mipmap level oftextureto attachlayer- the layer of a 2-dimensional image within the 3-dimensional texture.
-
glFramebufferTextureLayer
public static void glFramebufferTextureLayer(int target, int attachment, int texture, int level, int layer)Attaches a single layer of a texture to a framebuffer- Parameters:
target- the framebuffer target. One of:FRAMEBUFFERREAD_FRAMEBUFFERDRAW_FRAMEBUFFERattachment- the attachment point of the framebuffer. One of:texture- the texture object to attach to the framebuffer attachment point named byattachmentlevel- the mipmap level oftextureto attachlayer- the layer oftextureto attach.
-
glFramebufferRenderbuffer
public static void glFramebufferRenderbuffer(int target, int attachment, int renderbuffertarget, int renderbuffer)Attaches a renderbuffer as a logical buffer to the currently bound framebuffer object.- Parameters:
target- the framebuffer target. One of:FRAMEBUFFERREAD_FRAMEBUFFERDRAW_FRAMEBUFFERattachment- the attachment point of the framebuffer. One of:renderbuffertarget- the renderbuffer target. Must be:RENDERBUFFERrenderbuffer- the name of an existing renderbuffer object of typerenderbuffertargetto attach
-
glGetFramebufferAttachmentParameteriv
public static void glGetFramebufferAttachmentParameteriv(int target, int attachment, int pname, java.nio.IntBuffer params)Retrievees information about attachments of a bound framebuffer object.- Parameters:
target- the target of the query operation. One of:FRAMEBUFFERREAD_FRAMEBUFFERDRAW_FRAMEBUFFERattachment- the attachment withintarget. One of:pname- the parameter ofattachmentto query. One of:params- an array to receive the value of the queried parameter
-
glGetFramebufferAttachmentParameteri
public static int glGetFramebufferAttachmentParameteri(int target, int attachment, int pname)Retrievees information about attachments of a bound framebuffer object.- Parameters:
target- the target of the query operation. One of:FRAMEBUFFERREAD_FRAMEBUFFERDRAW_FRAMEBUFFERattachment- the attachment withintarget. One of:pname- the parameter ofattachmentto query. One of:
-
glBlitFramebuffer
public static void glBlitFramebuffer(int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, int mask, int filter)Copies a block of pixels from the read framebuffer to the draw framebuffer.- Parameters:
srcX0- the lower-left coordinate of the source rectangle within the read buffersrcY0- the upper-left coordinate of the source rectangle within the read buffersrcX1- the lower-right coordinate of the source rectangle within the read buffersrcY1- the upper-right coordinate of the source rectangle within the read bufferdstX0- the lower-left coordinate of the destination rectangle within the write bufferdstY0- the upper-left coordinate of the destination rectangle within the write bufferdstX1- the lower-right coordinate of the destination rectangle within the write bufferdstY1- the upper-right coordinate of the destination rectangle within the write buffermask- the bitwise OR of the flags indicating which buffers are to be copied. One of:COLOR_BUFFER_BITDEPTH_BUFFER_BITSTENCIL_BUFFER_BITfilter- the interpolation to be applied if the image is stretched. One of:NEARESTLINEAR
-
glGenerateMipmap
public static void glGenerateMipmap(int target)
Generate mipmaps for a specified texture target.- Parameters:
target- the target to which the texture whose mimaps to generate is bound. One of:TEXTURE_1DTEXTURE_2DTEXTURE_3DTEXTURE_1D_ARRAYTEXTURE_2D_ARRAYTEXTURE_CUBE_MAP
-
glTexParameterIiv
public static void glTexParameterIiv(int target, int pname, java.nio.IntBuffer params)Sets the integer value of a texture parameter.- Parameters:
target- the texture targetpname- the symbolic name of a single-valued texture parameterparams- the value ofpname
-
glTexParameterIi
public static void glTexParameterIi(int target, int pname, int param)Sets the integer value of a texture parameter.- Parameters:
target- the texture targetpname- the symbolic name of a single-valued texture parameter
-
glTexParameterIuiv
public static void glTexParameterIuiv(int target, int pname, java.nio.IntBuffer params)Sets the unsigned integer value of a texture parameter.- Parameters:
target- the texture targetpname- the symbolic name of a single-valued texture parameterparams- the value ofpname
-
glTexParameterIui
public static void glTexParameterIui(int target, int pname, int param)Sets the unsigned integer value of a texture parameter.- Parameters:
target- the texture targetpname- the symbolic name of a single-valued texture parameter
-
glGetTexParameterIiv
public static void glGetTexParameterIiv(int target, int pname, java.nio.IntBuffer params)Returns the integer value of a texture parameter.- Parameters:
target- the texture targetpname- the symbolic name of a texture parameterparams- returns the texture parameter value
-
glGetTexParameterIi
public static int glGetTexParameterIi(int target, int pname)Returns the integer value of a texture parameter.- Parameters:
target- the texture targetpname- the symbolic name of a texture parameter
-
glGetTexParameterIuiv
public static void glGetTexParameterIuiv(int target, int pname, java.nio.IntBuffer params)Returns the unsigned integer value of a texture parameter.- Parameters:
target- the texture targetpname- the symbolic name of a texture parameterparams- returns the texture parameter value
-
glGetTexParameterIui
public static int glGetTexParameterIui(int target, int pname)Returns the unsigned integer value of a texture parameter.- Parameters:
target- the texture targetpname- the symbolic name of a texture parameter
-
glColorMaski
public static void glColorMaski(int buf, boolean r, boolean g, boolean b, boolean a)Enables and disables writing of frame buffer color components.- Parameters:
buf- the index of the draw buffer whose color mask to setr- whether R values are written or notg- whether G values are written or notb- whether B values are written or nota- whether A values are written or not
-
glGetBooleani_v
public static void glGetBooleani_v(int target, int index, java.nio.ByteBuffer data)Queries the boolean value of an indexed state variable.- Parameters:
target- the indexed state to queryindex- the index of the element being querieddata- a scalar or buffer in which to place the returned data
-
glGetBooleani
public static boolean glGetBooleani(int target, int index)Queries the boolean value of an indexed state variable.- Parameters:
target- the indexed state to queryindex- the index of the element being queried
-
glGetIntegeri_v
public static void glGetIntegeri_v(int target, int index, java.nio.IntBuffer data)Queries the integer value of an indexed state variable.- Parameters:
target- the indexed state to queryindex- the index of the element being querieddata- a scalar or buffer in which to place the returned data
-
glGetIntegeri
public static int glGetIntegeri(int target, int index)Queries the integer value of an indexed state variable.- Parameters:
target- the indexed state to queryindex- the index of the element being queried
-
glEnablei
public static void glEnablei(int cap, int index)Enables an indexed capability.- Parameters:
cap- the indexed capability to enableindex- the index to enable
-
glDisablei
public static void glDisablei(int target, int index)Disables an indexed capability.- Parameters:
target- the indexed capability to disableindex- the index to disable
-
glIsEnabledi
public static boolean glIsEnabledi(int target, int index)Tests whether an indexed capability is enabled.- Parameters:
target- the indexed capability to queryindex- the index to query
-
glBindBufferRange
public static void glBindBufferRange(int target, int index, int buffer, long offset, long size)Binds a range within a buffer object to an indexed buffer target.- Parameters:
target- the target of the bind operation. One of:TRANSFORM_FEEDBACK_BUFFERUNIFORM_BUFFERATOMIC_COUNTER_BUFFERSHADER_STORAGE_BUFFERindex- the index of the binding point within the array specified bytargetbuffer- a buffer object to bind to the specified binding pointoffset- the starting offset in basic machine units into the buffer objectbuffersize- the amount of data in machine units that can be read from the buffer object while used as an indexed target
-
glBindBufferBase
public static void glBindBufferBase(int target, int index, int buffer)Binds a buffer object to an indexed buffer target.- Parameters:
target- the target of the bind operation. One of:TRANSFORM_FEEDBACK_BUFFERUNIFORM_BUFFERATOMIC_COUNTER_BUFFERSHADER_STORAGE_BUFFERindex- the index of the binding point within the array specified bytargetbuffer- a buffer object to bind to the specified binding point
-
glBeginTransformFeedback
public static void glBeginTransformFeedback(int primitiveMode)
Starts transform feedback operation.
-
glEndTransformFeedback
public static void glEndTransformFeedback()
Ends transform feedback operation.
-
glTransformFeedbackVaryings
public static void glTransformFeedbackVaryings(int program, org.lwjgl.PointerBuffer varyings, int bufferMode) public static void glTransformFeedbackVaryings(int program, java.lang.CharSequence[] varyings, int bufferMode)Specifies values to record in transform feedback buffers.- Parameters:
program- the target program objectvaryings- an array ofcountzero-terminated strings specifying the names of the varying variables to use for transform feedbackbufferMode- the mode used to capture the varying variables when transform feedback is active. One of:INTERLEAVED_ATTRIBSSEPARATE_ATTRIBS
-
glTransformFeedbackVaryings
public static void glTransformFeedbackVaryings(int program, java.lang.CharSequence varying, int bufferMode)Specifies values to record in transform feedback buffers.- Parameters:
program- the target program objectbufferMode- the mode used to capture the varying variables when transform feedback is active. One of:INTERLEAVED_ATTRIBSSEPARATE_ATTRIBS
-
glGetTransformFeedbackVarying
public static void glGetTransformFeedbackVarying(int program, int index, java.nio.IntBuffer length, java.nio.IntBuffer size, java.nio.IntBuffer type, java.nio.ByteBuffer name)Retrieves information about varying variables selected for transform feedback.- Parameters:
program- the target program objectindex- the index of the varying variable whose information to retrievelength- a variable which will receive the number of characters written intoname, excluding the null-terminator. Iflengthis NULL no length is returned.size- a variable that will receive the size of the varyingtype- a variable that will receive the type of the varyingname- a buffer into which will be written the name of the varying
-
glGetTransformFeedbackVarying
public static java.lang.String glGetTransformFeedbackVarying(int program, int index, int bufSize, java.nio.IntBuffer size, java.nio.IntBuffer type)Retrieves information about varying variables selected for transform feedback.- Parameters:
program- the target program objectindex- the index of the varying variable whose information to retrievebufSize- the maximum number of characters, including the null terminator, that may be written intonamesize- a variable that will receive the size of the varyingtype- a variable that will receive the type of the varying
-
glGetTransformFeedbackVarying
public static java.lang.String glGetTransformFeedbackVarying(int program, int index, java.nio.IntBuffer size, java.nio.IntBuffer type)Retrieves information about varying variables selected for transform feedback.- Parameters:
program- the target program objectindex- the index of the varying variable whose information to retrievesize- a variable that will receive the size of the varyingtype- a variable that will receive the type of the varying
-
glBindVertexArray
public static void glBindVertexArray(int array)
Binds a vertex array object- Parameters:
array- the name of the vertex array to bind
-
glDeleteVertexArrays
public static void glDeleteVertexArrays(java.nio.IntBuffer arrays)
Deletes vertex array objects.- Parameters:
arrays- an array containing the n names of the objects to be deleted
-
glDeleteVertexArrays
public static void glDeleteVertexArrays(int array)
Deletes vertex array objects.
-
glGenVertexArrays
public static void glGenVertexArrays(java.nio.IntBuffer arrays)
Generates vertex array object names.- Parameters:
arrays- a buffer in which the generated vertex array object names are stored
-
glGenVertexArrays
public static int glGenVertexArrays()
Generates vertex array object names.
-
glIsVertexArray
public static boolean glIsVertexArray(int array)
Determines if a name corresponds to a vertex array object.- Parameters:
array- a value that may be the name of a vertex array object
-
glClearBufferiv
public static void glClearBufferiv(int buffer, int drawbuffer, int[] value)Array version of:ClearBufferiv
-
glClearBufferuiv
public static void glClearBufferuiv(int buffer, int drawbuffer, int[] value)Array version of:ClearBufferuiv
-
glClearBufferfv
public static void glClearBufferfv(int buffer, int drawbuffer, float[] value)Array version of:ClearBufferfv
-
glVertexAttribI1iv
public static void glVertexAttribI1iv(int index, int[] v)Array version of:VertexAttribI1iv
-
glVertexAttribI2iv
public static void glVertexAttribI2iv(int index, int[] v)Array version of:VertexAttribI2iv
-
glVertexAttribI3iv
public static void glVertexAttribI3iv(int index, int[] v)Array version of:VertexAttribI3iv
-
glVertexAttribI4iv
public static void glVertexAttribI4iv(int index, int[] v)Array version of:VertexAttribI4iv
-
glVertexAttribI1uiv
public static void glVertexAttribI1uiv(int index, int[] v)Array version of:VertexAttribI1uiv
-
glVertexAttribI2uiv
public static void glVertexAttribI2uiv(int index, int[] v)Array version of:VertexAttribI2uiv
-
glVertexAttribI3uiv
public static void glVertexAttribI3uiv(int index, int[] v)Array version of:VertexAttribI3uiv
-
glVertexAttribI4uiv
public static void glVertexAttribI4uiv(int index, int[] v)Array version of:VertexAttribI4uiv
-
glVertexAttribI4sv
public static void glVertexAttribI4sv(int index, short[] v)Array version of:VertexAttribI4sv
-
glVertexAttribI4usv
public static void glVertexAttribI4usv(int index, short[] v)Array version of:VertexAttribI4usv
-
glVertexAttribIPointer
public static void glVertexAttribIPointer(int index, int size, int type, int stride, short[] pointer) public static void glVertexAttribIPointer(int index, int size, int type, int stride, int[] pointer)Array version of:VertexAttribIPointer
-
glGetVertexAttribIiv
public static void glGetVertexAttribIiv(int index, int pname, int[] params)Array version of:GetVertexAttribIiv
-
glGetVertexAttribIuiv
public static void glGetVertexAttribIuiv(int index, int pname, int[] params)Array version of:GetVertexAttribIuiv
-
glUniform1uiv
public static void glUniform1uiv(int location, int[] value)Array version of:Uniform1uiv
-
glUniform2uiv
public static void glUniform2uiv(int location, int[] value)Array version of:Uniform2uiv
-
glUniform3uiv
public static void glUniform3uiv(int location, int[] value)Array version of:Uniform3uiv
-
glUniform4uiv
public static void glUniform4uiv(int location, int[] value)Array version of:Uniform4uiv
-
glGetUniformuiv
public static void glGetUniformuiv(int program, int location, int[] params)Array version of:GetUniformuiv
-
glDeleteRenderbuffers
public static void glDeleteRenderbuffers(int[] renderbuffers)
Array version of:DeleteRenderbuffers
-
glGenRenderbuffers
public static void glGenRenderbuffers(int[] renderbuffers)
Array version of:GenRenderbuffers
-
glGetRenderbufferParameteriv
public static void glGetRenderbufferParameteriv(int target, int pname, int[] params)Array version of:GetRenderbufferParameteriv
-
glDeleteFramebuffers
public static void glDeleteFramebuffers(int[] framebuffers)
Array version of:DeleteFramebuffers
-
glGenFramebuffers
public static void glGenFramebuffers(int[] framebuffers)
Array version of:GenFramebuffers
-
glGetFramebufferAttachmentParameteriv
public static void glGetFramebufferAttachmentParameteriv(int target, int attachment, int pname, int[] params)Array version of:GetFramebufferAttachmentParameteriv
-
glTexParameterIiv
public static void glTexParameterIiv(int target, int pname, int[] params)Array version of:TexParameterIiv
-
glTexParameterIuiv
public static void glTexParameterIuiv(int target, int pname, int[] params)Array version of:TexParameterIuiv
-
glGetTexParameterIiv
public static void glGetTexParameterIiv(int target, int pname, int[] params)Array version of:GetTexParameterIiv
-
glGetTexParameterIuiv
public static void glGetTexParameterIuiv(int target, int pname, int[] params)Array version of:GetTexParameterIuiv
-
glGetIntegeri_v
public static void glGetIntegeri_v(int target, int index, int[] data)Array version of:GetIntegeri_v
-
glGetTransformFeedbackVarying
public static void glGetTransformFeedbackVarying(int program, int index, int[] length, int[] size, int[] type, java.nio.ByteBuffer name)Array version of:GetTransformFeedbackVarying
-
glDeleteVertexArrays
public static void glDeleteVertexArrays(int[] arrays)
Array version of:DeleteVertexArrays
-
glGenVertexArrays
public static void glGenVertexArrays(int[] arrays)
Array version of:GenVertexArrays
-
-