Package org.lwjgl.opengl
Class GL30
- java.lang.Object
-
- org.lwjgl.opengl.GL30
-
public class GL30 extends java.lang.Object
The 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 int
GL_ALPHA_INTEGER
GL_BGR_INTEGER
GL_BGRA_INTEGER
GL_BLUE_INTEGERAccepted by theformat
parameter of TexImage1D, TexImage2D, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, DrawPixels and ReadPixels.static int
GL_BUFFER_ACCESS_FLAGS
GL_BUFFER_MAP_LENGTH
GL_BUFFER_MAP_OFFSETAccepted by thepname
parameter of GetBufferParameteriv.static int
GL_CLAMP_FRAGMENT_COLOR
GL_CLAMP_READ_COLOR
GL_CLAMP_VERTEX_COLORAccepted by thetarget
parameter of ClampColor and thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static int
GL_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 int
GL_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 theattachment
parameter of FramebufferTexture{1D|2D|3D}, FramebufferRenderbuffer, and GetFramebufferAttachmentParameteriv.static int
GL_COMPARE_REF_TO_TEXTURE
Renamed tokens.static int
GL_COMPRESSED_RED
Accepted by theinternalFormat
parameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, and CopyTexImage2D.static int
GL_COMPRESSED_RED_RGTC1
Accepted by theinternalformat
parameter of TexImage2D, CopyTexImage2D, and CompressedTexImage2D and theformat
parameter of CompressedTexSubImage2D.static int
GL_COMPRESSED_RG
Accepted by theinternalFormat
parameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, and CopyTexImage2D.static int
GL_COMPRESSED_RG_RGTC2
GL_COMPRESSED_SIGNED_RED_RGTC1
GL_COMPRESSED_SIGNED_RG_RGTC2Accepted by theinternalformat
parameter of TexImage2D, CopyTexImage2D, and CompressedTexImage2D and theformat
parameter of CompressedTexSubImage2D.static int
GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT
GL_CONTEXT_FLAGSGetTargetstatic int
GL_DEPTH_ATTACHMENT
Accepted by theattachment
parameter of FramebufferTexture{1D|2D|3D}, FramebufferRenderbuffer, and GetFramebufferAttachmentParameteriv.static int
GL_DEPTH_COMPONENT32F
Accepted by theinternalformat
parameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, CopyTexImage2D, and RenderbufferStorage, and returned in thedata
parameter of GetTexLevelParameter and GetRenderbufferParameteriv.static int
GL_DEPTH_STENCIL
Accepted by theformat
parameter of DrawPixels, ReadPixels, TexImage1D, TexImage2D, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, and GetTexImage, by thetype
parameter of CopyPixels, by theinternalformat
parameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, CopyTexImage2D, and RenderbufferStorage, and returned in thedata
parameter of GetTexLevelParameter and GetRenderbufferParameteriv.static int
GL_DEPTH_STENCIL_ATTACHMENT
Accepted by theattachment
parameter of FramebufferTexture{1D|2D|3D}, FramebufferRenderbuffer, and GetFramebufferAttachmentParameteriv.static int
GL_DEPTH24_STENCIL8
GL_DEPTH32F_STENCIL8Accepted by theinternalformat
parameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, CopyTexImage2D, and RenderbufferStorage, and returned in thedata
parameter of GetTexLevelParameter and GetRenderbufferParameteriv.static int
GL_DRAW_FRAMEBUFFER
Accepted by thetarget
parameter of BindFramebuffer, CheckFramebufferStatus, FramebufferTexture{1D|2D|3D}, FramebufferRenderbuffer, and GetFramebufferAttachmentParameteriv.static int
GL_DRAW_FRAMEBUFFER_BINDING
Accepted by thepname
parameters of GetIntegerv, GetFloatv, and GetDoublev.static int
GL_FIXED_ONLY
Accepted by theclamp
parameter of ClampColor.static int
GL_FLOAT_32_UNSIGNED_INT_24_8_REV
Accepted by thetype
parameter of DrawPixels, ReadPixels, TexImage1D, TexImage2D, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, and GetTexImage.static int
GL_FRAMEBUFFER
Accepted by thetarget
parameter of BindFramebuffer, CheckFramebufferStatus, FramebufferTexture{1D|2D|3D}, FramebufferRenderbuffer, and GetFramebufferAttachmentParameteriv.static int
GL_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 thepname
parameter of GetFramebufferAttachmentParameteriv.static int
GL_FRAMEBUFFER_BINDING
Accepted by thepname
parameters of GetIntegerv, GetFloatv, and GetDoublev.static int
GL_FRAMEBUFFER_COMPLETE
Returned by CheckFramebufferStatus().static int
GL_FRAMEBUFFER_DEFAULT
Returned inparams
by GetFramebufferAttachmentParameteriv.static int
GL_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 int
GL_FRAMEBUFFER_SRGB
Accepted by thecap
parameter of Enable, Disable, and IsEnabled, and by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static int
GL_FRAMEBUFFER_UNDEFINED
GL_FRAMEBUFFER_UNSUPPORTEDReturned by CheckFramebufferStatus().static int
GL_GREEN_INTEGER
Accepted by theformat
parameter of TexImage1D, TexImage2D, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, DrawPixels and ReadPixels.static int
GL_HALF_FLOAT
Accepted by thetype
parameter of DrawPixels, ReadPixels, TexImage1D, TexImage2D, TexImage3D, GetTexImage, TexSubImage1D, TexSubImage2D, TexSubImage3D, GetHistogram, GetMinmax, ConvolutionFilter1D, ConvolutionFilter2D, GetConvolutionFilter, SeparableFilter2D, GetSeparableFilter, ColorTable, ColorSubTable, and GetColorTable.static int
GL_INDEX
Returned inparams
by GetFramebufferAttachmentParameteriv.static int
GL_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 thetype
parameter of GetActiveUniform.static int
GL_INTERLEAVED_ATTRIBS
Accepted by thebufferMode
parameter of TransformFeedbackVaryings.static int
GL_INVALID_FRAMEBUFFER_OPERATION
Returned by GetError().static int
GL_MAJOR_VERSION
GetTargetstatic int
GL_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 theaccess
parameter of MapBufferRange.static int
GL_MAX_ARRAY_TEXTURE_LAYERS
Accepted by thepname
parameter of GetBooleanv, GetDoublev, GetIntegerv and GetFloatv.static int
GL_MAX_CLIP_DISTANCES
Renamed tokens.static int
GL_MAX_COLOR_ATTACHMENTS
Accepted by thepname
parameters of GetIntegerv, GetFloatv, and GetDoublev.static int
GL_MAX_PROGRAM_TEXEL_OFFSET
Accepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static int
GL_MAX_RENDERBUFFER_SIZE
Accepted by thepname
parameters of GetIntegerv, GetFloatv, and GetDoublev.static int
GL_MAX_SAMPLES
Accepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static int
GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS
GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS
GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTSAccepted by thepname
parameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.static int
GL_MAX_VARYING_COMPONENTS
Renamed tokens.static int
GL_MIN_PROGRAM_TEXEL_OFFSET
Accepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static int
GL_MINOR_VERSION
GL_NUM_EXTENSIONSGetTargetstatic int
GL_PRIMITIVES_GENERATED
Accepted by thetarget
parameter of BeginQuery, EndQuery, and GetQueryiv.static int
GL_PROXY_TEXTURE_1D_ARRAY
Accepted by thetarget
parameter of TexImage2D, TexSubImage2D, CopyTexImage2D, CopyTexSubImage2D, CompressedTexImage2D, and CompressedTexSubImage2D.static int
GL_PROXY_TEXTURE_2D_ARRAY
Accepted by thetarget
parameter of TexImage3D, TexSubImage3D, CopyTexSubImage3D, CompressedTexImage3D, and CompressedTexSubImage3D.static int
GL_QUERY_BY_REGION_NO_WAIT
GL_QUERY_BY_REGION_WAIT
GL_QUERY_NO_WAIT
GL_QUERY_WAITAccepted by themode
parameter of BeginConditionalRender.static int
GL_R11F_G11F_B10F
Accepted by theinternalformat
parameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, CopyTexImage2D, and RenderbufferStorage.static int
GL_R16
GL_R16F
GL_R16I
GL_R16UI
GL_R32F
GL_R32I
GL_R32UI
GL_R8
GL_R8I
GL_R8UIAccepted by theinternalFormat
parameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, and CopyTexImage2D.static int
GL_RASTERIZER_DISCARD
Accepted by thecap
parameter of Enable, Disable, and IsEnabled, and by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static int
GL_READ_FRAMEBUFFER
Accepted by thetarget
parameter of BindFramebuffer, CheckFramebufferStatus, FramebufferTexture{1D|2D|3D}, FramebufferRenderbuffer, and GetFramebufferAttachmentParameteriv.static int
GL_READ_FRAMEBUFFER_BINDING
Accepted by thepname
parameters of GetIntegerv, GetFloatv, and GetDoublev.static int
GL_RED_INTEGER
Accepted by theformat
parameter of TexImage1D, TexImage2D, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, DrawPixels and ReadPixels.static int
GL_RENDERBUFFER
Accepted by thetarget
parameter of BindRenderbuffer, RenderbufferStorage, and GetRenderbufferParameteriv, and returned by GetFramebufferAttachmentParameteriv.static int
GL_RENDERBUFFER_ALPHA_SIZE
Accepted by thepname
parameter of GetRenderbufferParameteriv.static int
GL_RENDERBUFFER_BINDING
Accepted by thepname
parameters of GetIntegerv, GetFloatv, and GetDoublev.static int
GL_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 thepname
parameter of GetRenderbufferParameteriv.static int
GL_RG
Accepted by theinternalFormat
parameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, and CopyTexImage2D.static int
GL_RG_INTEGER
Accepted by theformat
parameter of TexImage3D, TexImage2D, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, and ReadPixels.static int
GL_RG16
GL_RG16F
GL_RG16I
GL_RG16UI
GL_RG32F
GL_RG32I
GL_RG32UI
GL_RG8
GL_RG8I
GL_RG8UIAccepted by theinternalFormat
parameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, and CopyTexImage2D.static int
GL_RGB_INTEGER
Accepted by theformat
parameter of TexImage1D, TexImage2D, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, DrawPixels and ReadPixels.static int
GL_RGB16F
GL_RGB16I
GL_RGB16UI
GL_RGB32F
GL_RGB32I
GL_RGB32UI
GL_RGB8I
GL_RGB8UIAccepted by theinternalFormat
parameter of TexImage1D, TexImage2D, and TexImage3D.static int
GL_RGB9_E5
Accepted by theinternalformat
parameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, CopyTexImage2D, and RenderbufferStorage.static int
GL_RGBA_INTEGER
Accepted by theformat
parameter of TexImage1D, TexImage2D, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, DrawPixels and ReadPixels.static int
GL_RGBA16F
GL_RGBA16I
GL_RGBA16UI
GL_RGBA32F
GL_RGBA32I
GL_RGBA32UI
GL_RGBA8I
GL_RGBA8UIAccepted by theinternalFormat
parameter of TexImage1D, TexImage2D, and TexImage3D.static int
GL_SAMPLER_1D_ARRAY
GL_SAMPLER_1D_ARRAY_SHADOW
GL_SAMPLER_2D_ARRAY
GL_SAMPLER_2D_ARRAY_SHADOW
GL_SAMPLER_CUBE_SHADOWReturned by thetype
parameter of GetActiveUniform.static int
GL_SEPARATE_ATTRIBS
Accepted by thebufferMode
parameter of TransformFeedbackVaryings.static int
GL_STENCIL_ATTACHMENT
Accepted by theattachment
parameter of FramebufferTexture{1D|2D|3D}, FramebufferRenderbuffer, and GetFramebufferAttachmentParameteriv.static int
GL_STENCIL_INDEX1
GL_STENCIL_INDEX16
GL_STENCIL_INDEX4
GL_STENCIL_INDEX8Accepted by theinternalformat
parameter of RenderbufferStorage.static int
GL_TEXTURE_1D_ARRAY
GL_TEXTURE_2D_ARRAYAccepted by thetarget
parameter of TexParameteri, TexParameteriv, TexParameterf, TexParameterfv, GenerateMipmap, and BindTexture.static int
GL_TEXTURE_ALPHA_TYPE
Accepted by thevalue
parameter of GetTexLevelParameter.static int
GL_TEXTURE_BINDING_1D_ARRAY
GL_TEXTURE_BINDING_2D_ARRAYAccepted by thepname
parameter of GetBooleanv, GetDoublev, GetIntegerv and GetFloatv.static int
GL_TEXTURE_BLUE_TYPE
GL_TEXTURE_DEPTH_TYPE
GL_TEXTURE_GREEN_TYPE
GL_TEXTURE_INTENSITY_TYPE
GL_TEXTURE_LUMINANCE_TYPE
GL_TEXTURE_RED_TYPEAccepted by thevalue
parameter of GetTexLevelParameter.static int
GL_TEXTURE_SHARED_SIZE
Accepted by thepname
parameter of GetTexLevelParameterfv and GetTexLevelParameteriv.static int
GL_TEXTURE_STENCIL_SIZE
Accepted by thevalue
parameter of GetTexLevelParameter.static int
GL_TRANSFORM_FEEDBACK_BUFFER
Accepted by thetarget
parameters of BindBuffer, BufferData, BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData, GetBufferPointerv, BindBufferRange, BindBufferOffset and BindBufferBase.static int
GL_TRANSFORM_FEEDBACK_BUFFER_BINDING
Accepted by theparam
parameter of GetIntegeri_v and GetBooleani_v, and by thepname
parameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.static int
GL_TRANSFORM_FEEDBACK_BUFFER_MODE
Accepted by thepname
parameter of GetProgramiv.static int
GL_TRANSFORM_FEEDBACK_BUFFER_SIZE
GL_TRANSFORM_FEEDBACK_BUFFER_STARTAccepted by theparam
parameter of GetIntegeri_v and GetBooleani_v.static int
GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN
Accepted by thetarget
parameter of BeginQuery, EndQuery, and GetQueryiv.static int
GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH
GL_TRANSFORM_FEEDBACK_VARYINGSAccepted by thepname
parameter of GetProgramiv.static int
GL_UNSIGNED_INT_10F_11F_11F_REV
Accepted by thetype
parameter of DrawPixels, ReadPixels, TexImage1D, TexImage2D, GetTexImage, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, GetHistogram, GetMinmax, ConvolutionFilter1D, ConvolutionFilter2D, ConvolutionFilter3D, GetConvolutionFilter, SeparableFilter2D, GetSeparableFilter, ColorTable, ColorSubTable, and GetColorTable.static int
GL_UNSIGNED_INT_24_8
Accepted by thetype
parameter of DrawPixels, ReadPixels, TexImage1D, TexImage2D, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, and GetTexImage.static int
GL_UNSIGNED_INT_5_9_9_9_REV
Accepted by thetype
parameter of DrawPixels, ReadPixels, TexImage1D, TexImage2D, GetTexImage, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, GetHistogram, GetMinmax, ConvolutionFilter1D, ConvolutionFilter2D, ConvolutionFilter3D, GetConvolutionFilter, SeparableFilter2D, GetSeparableFilter, ColorTable, ColorSubTable, and GetColorTable.static int
GL_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 thetype
parameter of GetActiveUniform.static int
GL_UNSIGNED_NORMALIZED
Returned by theparams
parameter of GetTexLevelParameter.static int
GL_VERTEX_ARRAY_BINDING
Accepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static int
GL_VERTEX_ATTRIB_ARRAY_INTEGER
Accepted by thepname
parameters of GetVertexAttribdv, GetVertexAttribfv, GetVertexAttribiv, GetVertexAttribIuiv and GetVertexAttribIiv.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static void
glBeginConditionalRender(int id, int mode)
static void
glBeginTransformFeedback(int primitiveMode)
static void
glBindBufferBase(int target, int index, int buffer)
static void
glBindBufferRange(int target, int index, int buffer, long offset, long size)
static void
glBindFragDataLocation(int program, int colorNumber, java.nio.ByteBuffer name)
static void
glBindFragDataLocation(int program, int colorNumber, java.lang.CharSequence name)
static void
glBindFramebuffer(int target, int framebuffer)
static void
glBindRenderbuffer(int target, int renderbuffer)
static void
glBindVertexArray(int array)
static void
glBlitFramebuffer(int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, int mask, int filter)
static int
glCheckFramebufferStatus(int target)
static void
glClampColor(int target, int clamp)
static void
glClearBufferfi(int buffer, int drawbuffer, float depth, int stencil)
static void
glClearBufferfv(int buffer, int drawbuffer, float[] value)
static void
glClearBufferfv(int buffer, int drawbuffer, java.nio.FloatBuffer value)
static void
glClearBufferiv(int buffer, int drawbuffer, int[] value)
static void
glClearBufferiv(int buffer, int drawbuffer, java.nio.IntBuffer value)
static void
glClearBufferuiv(int buffer, int drawbuffer, int[] value)
static void
glClearBufferuiv(int buffer, int drawbuffer, java.nio.IntBuffer value)
static void
glColorMaski(int buf, boolean r, boolean g, boolean b, boolean a)
static void
glDeleteFramebuffers(int framebuffer)
static void
glDeleteFramebuffers(int[] framebuffers)
static void
glDeleteFramebuffers(java.nio.IntBuffer framebuffers)
static void
glDeleteRenderbuffers(int renderbuffer)
static void
glDeleteRenderbuffers(int[] renderbuffers)
static void
glDeleteRenderbuffers(java.nio.IntBuffer renderbuffers)
static void
glDeleteVertexArrays(int array)
static void
glDeleteVertexArrays(int[] arrays)
static void
glDeleteVertexArrays(java.nio.IntBuffer arrays)
static void
glDisablei(int target, int index)
static void
glEnablei(int cap, int index)
static void
glEndConditionalRender()
static void
glEndTransformFeedback()
static void
glFlushMappedBufferRange(int target, long offset, long length)
static void
glFramebufferRenderbuffer(int target, int attachment, int renderbuffertarget, int renderbuffer)
static void
glFramebufferTexture1D(int target, int attachment, int textarget, int texture, int level)
static void
glFramebufferTexture2D(int target, int attachment, int textarget, int texture, int level)
static void
glFramebufferTexture3D(int target, int attachment, int textarget, int texture, int level, int layer)
static void
glFramebufferTextureLayer(int target, int attachment, int texture, int level, int layer)
static void
glGenerateMipmap(int target)
static int
glGenFramebuffers()
static void
glGenFramebuffers(int[] framebuffers)
static void
glGenFramebuffers(java.nio.IntBuffer framebuffers)
static int
glGenRenderbuffers()
static void
glGenRenderbuffers(int[] renderbuffers)
static void
glGenRenderbuffers(java.nio.IntBuffer renderbuffers)
static int
glGenVertexArrays()
static void
glGenVertexArrays(int[] arrays)
static void
glGenVertexArrays(java.nio.IntBuffer arrays)
static void
glGetBooleani_v(int target, int index, java.nio.ByteBuffer data)
static boolean
glGetBooleani(int target, int index)
static int
glGetFragDataLocation(int program, java.nio.ByteBuffer name)
static int
glGetFragDataLocation(int program, java.lang.CharSequence name)
static int
glGetFramebufferAttachmentParameteri(int target, int attachment, int pname)
static void
glGetFramebufferAttachmentParameteriv(int target, int attachment, int pname, int[] params)
static void
glGetFramebufferAttachmentParameteriv(int target, int attachment, int pname, java.nio.IntBuffer params)
static void
glGetIntegeri_v(int target, int index, int[] data)
static void
glGetIntegeri_v(int target, int index, java.nio.IntBuffer data)
static int
glGetIntegeri(int target, int index)
static int
glGetRenderbufferParameteri(int target, int pname)
static void
glGetRenderbufferParameteriv(int target, int pname, int[] params)
static void
glGetRenderbufferParameteriv(int target, int pname, java.nio.IntBuffer params)
static java.lang.String
glGetStringi(int name, int index)
static int
glGetTexParameterIi(int target, int pname)
static void
glGetTexParameterIiv(int target, int pname, int[] params)
static void
glGetTexParameterIiv(int target, int pname, java.nio.IntBuffer params)
static int
glGetTexParameterIui(int target, int pname)
static void
glGetTexParameterIuiv(int target, int pname, int[] params)
static void
glGetTexParameterIuiv(int target, int pname, java.nio.IntBuffer params)
static void
glGetTransformFeedbackVarying(int program, int index, int[] length, int[] size, int[] type, java.nio.ByteBuffer name)
static java.lang.String
glGetTransformFeedbackVarying(int program, int index, java.nio.IntBuffer size, java.nio.IntBuffer type)
static void
glGetTransformFeedbackVarying(int program, int index, java.nio.IntBuffer length, java.nio.IntBuffer size, java.nio.IntBuffer type, java.nio.ByteBuffer name)
static java.lang.String
glGetTransformFeedbackVarying(int program, int index, int bufSize, java.nio.IntBuffer size, java.nio.IntBuffer type)
static int
glGetUniformui(int program, int location)
static void
glGetUniformuiv(int program, int location, int[] params)
static void
glGetUniformuiv(int program, int location, java.nio.IntBuffer params)
static int
glGetVertexAttribIi(int index, int pname)
static void
glGetVertexAttribIiv(int index, int pname, int[] params)
static void
glGetVertexAttribIiv(int index, int pname, java.nio.IntBuffer params)
static int
glGetVertexAttribIui(int index, int pname)
static void
glGetVertexAttribIuiv(int index, int pname, int[] params)
static void
glGetVertexAttribIuiv(int index, int pname, java.nio.IntBuffer params)
static boolean
glIsEnabledi(int target, int index)
static boolean
glIsFramebuffer(int framebuffer)
static boolean
glIsRenderbuffer(int renderbuffer)
static boolean
glIsVertexArray(int array)
static java.nio.ByteBuffer
glMapBufferRange(int target, long offset, long length, int access)
static java.nio.ByteBuffer
glMapBufferRange(int target, long offset, long length, int access, java.nio.ByteBuffer old_buffer)
static void
glRenderbufferStorage(int target, int internalformat, int width, int height)
static void
glRenderbufferStorageMultisample(int target, int samples, int internalformat, int width, int height)
static void
glTexParameterIi(int target, int pname, int param)
static void
glTexParameterIiv(int target, int pname, int[] params)
static void
glTexParameterIiv(int target, int pname, java.nio.IntBuffer params)
static void
glTexParameterIui(int target, int pname, int param)
static void
glTexParameterIuiv(int target, int pname, int[] params)
static void
glTexParameterIuiv(int target, int pname, java.nio.IntBuffer params)
static void
glTransformFeedbackVaryings(int program, java.lang.CharSequence[] varyings, int bufferMode)
static void
glTransformFeedbackVaryings(int program, java.lang.CharSequence varying, int bufferMode)
static void
glTransformFeedbackVaryings(int program, org.lwjgl.PointerBuffer varyings, int bufferMode)
static void
glUniform1ui(int location, int v0)
static void
glUniform1uiv(int location, int[] value)
static void
glUniform1uiv(int location, java.nio.IntBuffer value)
static void
glUniform2ui(int location, int v0, int v1)
static void
glUniform2uiv(int location, int[] value)
static void
glUniform2uiv(int location, java.nio.IntBuffer value)
static void
glUniform3ui(int location, int v0, int v1, int v2)
static void
glUniform3uiv(int location, int[] value)
static void
glUniform3uiv(int location, java.nio.IntBuffer value)
static void
glUniform4ui(int location, int v0, int v1, int v2, int v3)
static void
glUniform4uiv(int location, int[] value)
static void
glUniform4uiv(int location, java.nio.IntBuffer value)
static void
glVertexAttribI1i(int index, int x)
static void
glVertexAttribI1iv(int index, int[] v)
static void
glVertexAttribI1iv(int index, java.nio.IntBuffer v)
static void
glVertexAttribI1ui(int index, int x)
static void
glVertexAttribI1uiv(int index, int[] v)
static void
glVertexAttribI1uiv(int index, java.nio.IntBuffer v)
static void
glVertexAttribI2i(int index, int x, int y)
static void
glVertexAttribI2iv(int index, int[] v)
static void
glVertexAttribI2iv(int index, java.nio.IntBuffer v)
static void
glVertexAttribI2ui(int index, int x, int y)
static void
glVertexAttribI2uiv(int index, int[] v)
static void
glVertexAttribI2uiv(int index, java.nio.IntBuffer v)
static void
glVertexAttribI3i(int index, int x, int y, int z)
static void
glVertexAttribI3iv(int index, int[] v)
static void
glVertexAttribI3iv(int index, java.nio.IntBuffer v)
static void
glVertexAttribI3ui(int index, int x, int y, int z)
static void
glVertexAttribI3uiv(int index, int[] v)
static void
glVertexAttribI3uiv(int index, java.nio.IntBuffer v)
static void
glVertexAttribI4bv(int index, java.nio.ByteBuffer v)
static void
glVertexAttribI4i(int index, int x, int y, int z, int w)
static void
glVertexAttribI4iv(int index, int[] v)
static void
glVertexAttribI4iv(int index, java.nio.IntBuffer v)
static void
glVertexAttribI4sv(int index, short[] v)
static void
glVertexAttribI4sv(int index, java.nio.ShortBuffer v)
static void
glVertexAttribI4ubv(int index, java.nio.ByteBuffer v)
static void
glVertexAttribI4ui(int index, int x, int y, int z, int w)
static void
glVertexAttribI4uiv(int index, int[] v)
static void
glVertexAttribI4uiv(int index, java.nio.IntBuffer v)
static void
glVertexAttribI4usv(int index, short[] v)
static void
glVertexAttribI4usv(int index, java.nio.ShortBuffer v)
static void
glVertexAttribIPointer(int index, int size, int type, int stride, java.nio.ByteBuffer pointer)
static void
glVertexAttribIPointer(int index, int size, int type, int stride, int[] pointer)
static void
glVertexAttribIPointer(int index, int size, int type, int stride, java.nio.IntBuffer pointer)
static void
glVertexAttribIPointer(int index, int size, int type, int stride, long pointer)
static void
glVertexAttribIPointer(int index, int size, int type, int stride, short[] pointer)
static void
glVertexAttribIPointer(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 thepname
parameters 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 thetype
parameter of GetActiveUniform.
-
GL_MIN_PROGRAM_TEXEL_OFFSET, GL_MAX_PROGRAM_TEXEL_OFFSET
Accepted by thepname
parameter 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 themode
parameter 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 theaccess
parameter of MapBufferRange.
-
GL_BUFFER_ACCESS_FLAGS, GL_BUFFER_MAP_LENGTH, GL_BUFFER_MAP_OFFSET
Accepted by thepname
parameter of GetBufferParameteriv.
-
GL_CLAMP_VERTEX_COLOR, GL_CLAMP_FRAGMENT_COLOR, GL_CLAMP_READ_COLOR
Accepted by thetarget
parameter of ClampColor and thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
-
GL_FIXED_ONLY
Accepted by theclamp
parameter of ClampColor.
-
GL_DEPTH_COMPONENT32F, GL_DEPTH32F_STENCIL8
Accepted by theinternalformat
parameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, CopyTexImage2D, and RenderbufferStorage, and returned in thedata
parameter of GetTexLevelParameter and GetRenderbufferParameteriv.
-
GL_FLOAT_32_UNSIGNED_INT_24_8_REV
Accepted by thetype
parameter 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 thevalue
parameter of GetTexLevelParameter.
-
GL_UNSIGNED_NORMALIZED
Returned by theparams
parameter of GetTexLevelParameter.
-
GL_RGBA32F, GL_RGB32F, GL_RGBA16F, GL_RGB16F
Accepted by theinternalFormat
parameter of TexImage1D, TexImage2D, and TexImage3D.
-
GL_R11F_G11F_B10F
Accepted by theinternalformat
parameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, CopyTexImage2D, and RenderbufferStorage.
-
GL_UNSIGNED_INT_10F_11F_11F_REV
Accepted by thetype
parameter 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 theinternalformat
parameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, CopyTexImage2D, and RenderbufferStorage.
-
GL_UNSIGNED_INT_5_9_9_9_REV
Accepted by thetype
parameter 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 thepname
parameter of GetTexLevelParameterfv and GetTexLevelParameteriv.
-
GL_FRAMEBUFFER, GL_READ_FRAMEBUFFER, GL_DRAW_FRAMEBUFFER
Accepted by thetarget
parameter of BindFramebuffer, CheckFramebufferStatus, FramebufferTexture{1D|2D|3D}, FramebufferRenderbuffer, and GetFramebufferAttachmentParameteriv.
-
GL_RENDERBUFFER
Accepted by thetarget
parameter of BindRenderbuffer, RenderbufferStorage, and GetRenderbufferParameteriv, and returned by GetFramebufferAttachmentParameteriv.
-
GL_STENCIL_INDEX1, GL_STENCIL_INDEX4, GL_STENCIL_INDEX8, GL_STENCIL_INDEX16
Accepted by theinternalformat
parameter 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 thepname
parameter 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 thepname
parameter of GetFramebufferAttachmentParameteriv.
-
GL_FRAMEBUFFER_DEFAULT, GL_INDEX
Returned inparams
by 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 theattachment
parameter of FramebufferTexture{1D|2D|3D}, FramebufferRenderbuffer, and GetFramebufferAttachmentParameteriv.
-
GL_MAX_SAMPLES
Accepted by thepname
parameter 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 thepname
parameters of GetIntegerv, GetFloatv, and GetDoublev.
-
GL_INVALID_FRAMEBUFFER_OPERATION
Returned by GetError().
-
GL_DEPTH_STENCIL
Accepted by theformat
parameter of DrawPixels, ReadPixels, TexImage1D, TexImage2D, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, and GetTexImage, by thetype
parameter of CopyPixels, by theinternalformat
parameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, CopyTexImage2D, and RenderbufferStorage, and returned in thedata
parameter of GetTexLevelParameter and GetRenderbufferParameteriv.
-
GL_UNSIGNED_INT_24_8
Accepted by thetype
parameter of DrawPixels, ReadPixels, TexImage1D, TexImage2D, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, and GetTexImage.
-
GL_DEPTH24_STENCIL8
Accepted by theinternalformat
parameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, CopyTexImage2D, and RenderbufferStorage, and returned in thedata
parameter of GetTexLevelParameter and GetRenderbufferParameteriv.
-
GL_TEXTURE_STENCIL_SIZE
Accepted by thevalue
parameter of GetTexLevelParameter.
-
GL_HALF_FLOAT
Accepted by thetype
parameter of DrawPixels, ReadPixels, TexImage1D, TexImage2D, TexImage3D, GetTexImage, TexSubImage1D, TexSubImage2D, TexSubImage3D, GetHistogram, GetMinmax, ConvolutionFilter1D, ConvolutionFilter2D, GetConvolutionFilter, SeparableFilter2D, GetSeparableFilter, ColorTable, ColorSubTable, and GetColorTable.Accepted by the
type
argument 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 theinternalFormat
parameter 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 theformat
parameter of TexImage1D, TexImage2D, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, DrawPixels and ReadPixels.
-
GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY
Accepted by thetarget
parameter of TexParameteri, TexParameteriv, TexParameterf, TexParameterfv, GenerateMipmap, and BindTexture.
-
GL_PROXY_TEXTURE_2D_ARRAY
Accepted by thetarget
parameter of TexImage3D, TexSubImage3D, CopyTexSubImage3D, CompressedTexImage3D, and CompressedTexSubImage3D.
-
GL_PROXY_TEXTURE_1D_ARRAY
Accepted by thetarget
parameter 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 thepname
parameter 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 theinternalformat
parameter of TexImage2D, CopyTexImage2D, and CompressedTexImage2D and theformat
parameter 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 theinternalFormat
parameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, and CopyTexImage2D.
-
GL_RG_INTEGER
Accepted by theformat
parameter of TexImage3D, TexImage2D, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, and ReadPixels.
-
GL_TRANSFORM_FEEDBACK_BUFFER
Accepted by thetarget
parameters of BindBuffer, BufferData, BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData, GetBufferPointerv, BindBufferRange, BindBufferOffset and BindBufferBase.
-
GL_TRANSFORM_FEEDBACK_BUFFER_START, GL_TRANSFORM_FEEDBACK_BUFFER_SIZE
Accepted by theparam
parameter of GetIntegeri_v and GetBooleani_v.
-
GL_TRANSFORM_FEEDBACK_BUFFER_BINDING
Accepted by theparam
parameter of GetIntegeri_v and GetBooleani_v, and by thepname
parameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.
-
GL_INTERLEAVED_ATTRIBS, GL_SEPARATE_ATTRIBS
Accepted by thebufferMode
parameter of TransformFeedbackVaryings.
-
GL_PRIMITIVES_GENERATED, GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN
Accepted by thetarget
parameter of BeginQuery, EndQuery, and GetQueryiv.
-
GL_RASTERIZER_DISCARD
Accepted by thecap
parameter of Enable, Disable, and IsEnabled, and by thepname
parameter 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 thepname
parameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.
-
GL_TRANSFORM_FEEDBACK_VARYINGS, GL_TRANSFORM_FEEDBACK_BUFFER_MODE, GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH
Accepted by thepname
parameter of GetProgramiv.
-
GL_VERTEX_ARRAY_BINDING
Accepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
-
GL_FRAMEBUFFER_SRGB
Accepted by thecap
parameter of Enable, Disable, and IsEnabled, and by thepname
parameter 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:EXTENSIONS
SHADING_LANGUAGE_VERSION
index
- 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_FRAMEBUFFER
binding.
-
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_FRAMEBUFFER
binding.- Parameters:
buffer
- the buffer to clear. Must be:COLOR
drawbuffer
- 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_FRAMEBUFFER
binding.
-
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_FRAMEBUFFER
binding.- Parameters:
buffer
- the buffer to clear. Must be:DEPTH_STENCIL
drawbuffer
- 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 BGRA
type
- the data type of each component in the array. One of:BYTE
UNSIGNED_BYTE
SHORT
UNSIGNED_SHORT
INT
UNSIGNED_INT
stride
- 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_BUFFER
target. 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_ATTRIB
params
- 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_ATTRIB
params
- 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 ofcount
values 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 ofcount
values 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 ofcount
values 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 ofcount
values 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
- howglBeginConditionalRender
interprets the results of the occlusion query. One of:QUERY_WAIT
QUERY_NO_WAIT
QUERY_BY_REGION_WAIT
QUERY_BY_REGION_NO_WAIT
QUERY_WAIT_INVERTED
QUERY_NO_WAIT_INVERTED
QUERY_BY_REGION_WAIT_INVERTED
QUERY_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_buffer
parameter 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_BIT
MAP_WRITE_BIT
MAP_INVALIDATE_RANGE_BIT
MAP_INVALIDATE_BUFFER_BIT
MAP_FLUSH_EXPLICIT_BIT
MAP_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_COLOR
CLAMP_FRAGMENT_COLOR
CLAMP_READ_COLOR
clamp
- whether to apply color clamping. One of:TRUE
FALSE
FIXED_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:RENDERBUFFER
renderbuffer
- the name of the renderbuffer object to bind
-
glDeleteRenderbuffers
public static void glDeleteRenderbuffers(java.nio.IntBuffer renderbuffers)
Deletes renderbuffer objects.- Parameters:
renderbuffers
- an array containingn
renderbuffer 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:RENDERBUFFER
internalformat
- 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.RenderbufferStorage
is equivalent to calling this method with the samples set to zero.- Parameters:
target
- the target of the allocation. Must be:RENDERBUFFER
samples
- 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:RENDERBUFFER
pname
- 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:RENDERBUFFER
pname
- 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:FRAMEBUFFER
READ_FRAMEBUFFER
DRAW_FRAMEBUFFER
framebuffer
- the name of the framebuffer object to bind
-
glDeleteFramebuffers
public static void glDeleteFramebuffers(java.nio.IntBuffer framebuffers)
Deletes framebuffer objects.- Parameters:
framebuffers
- an array containingn
framebuffer 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:FRAMEBUFFER
READ_FRAMEBUFFER
DRAW_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:FRAMEBUFFER
READ_FRAMEBUFFER
DRAW_FRAMEBUFFER
attachment
- the attachment point of the framebuffer. One of:textarget
- the type of texturetexture
- the texture object to attach to the framebuffer attachment point named byattachment
level
- the mipmap level oftexture
to 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:FRAMEBUFFER
READ_FRAMEBUFFER
DRAW_FRAMEBUFFER
attachment
- the attachment point of the framebuffer. One of:textarget
- the type of texturetexture
- the texture object to attach to the framebuffer attachment point named byattachment
level
- the mipmap level oftexture
to 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:FRAMEBUFFER
READ_FRAMEBUFFER
DRAW_FRAMEBUFFER
attachment
- the attachment point of the framebuffer. One of:textarget
- the type of texturetexture
- the texture object to attach to the framebuffer attachment point named byattachment
level
- the mipmap level oftexture
to 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:FRAMEBUFFER
READ_FRAMEBUFFER
DRAW_FRAMEBUFFER
attachment
- the attachment point of the framebuffer. One of:texture
- the texture object to attach to the framebuffer attachment point named byattachment
level
- the mipmap level oftexture
to attachlayer
- the layer oftexture
to 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:FRAMEBUFFER
READ_FRAMEBUFFER
DRAW_FRAMEBUFFER
attachment
- the attachment point of the framebuffer. One of:renderbuffertarget
- the renderbuffer target. Must be:RENDERBUFFER
renderbuffer
- the name of an existing renderbuffer object of typerenderbuffertarget
to 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:FRAMEBUFFER
READ_FRAMEBUFFER
DRAW_FRAMEBUFFER
attachment
- the attachment withintarget
. One of:pname
- the parameter ofattachment
to 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:FRAMEBUFFER
READ_FRAMEBUFFER
DRAW_FRAMEBUFFER
attachment
- the attachment withintarget
. One of:pname
- the parameter ofattachment
to 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_BIT
DEPTH_BUFFER_BIT
STENCIL_BUFFER_BIT
filter
- the interpolation to be applied if the image is stretched. One of:NEAREST
LINEAR
-
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_1D
TEXTURE_2D
TEXTURE_3D
TEXTURE_1D_ARRAY
TEXTURE_2D_ARRAY
TEXTURE_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_BUFFER
UNIFORM_BUFFER
ATOMIC_COUNTER_BUFFER
SHADER_STORAGE_BUFFER
index
- the index of the binding point within the array specified bytarget
buffer
- a buffer object to bind to the specified binding pointoffset
- the starting offset in basic machine units into the buffer objectbuffer
size
- 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_BUFFER
UNIFORM_BUFFER
ATOMIC_COUNTER_BUFFER
SHADER_STORAGE_BUFFER
index
- the index of the binding point within the array specified bytarget
buffer
- 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 ofcount
zero-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_ATTRIBS
SEPARATE_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_ATTRIBS
SEPARATE_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. Iflength
is 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 intoname
size
- 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
-
-