Java org.lwjgl.opengl GL30 fields, constructors, methods, implement or subclass

Example usage for Java org.lwjgl.opengl GL30 fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.lwjgl.opengl GL30.

The text is from its open source code.

Field

intGL_MAJOR_VERSION
GetTarget
intGL_DEPTH_COMPONENT32F
Accepted by the internalformat parameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, CopyTexImage2D, and RenderbufferStorage, and returned in the data parameter of GetTexLevelParameter and GetRenderbufferParameteriv.
intGL_RGBA32F
Accepted by the internalFormat parameter of TexImage1D, TexImage2D, and TexImage3D.
intGL_FRAMEBUFFER
Accepted by the target parameter of BindFramebuffer, CheckFramebufferStatus, FramebufferTexture{1D|2D|3D}, FramebufferRenderbuffer, and GetFramebufferAttachmentParameteriv.
intGL_RENDERBUFFER
Accepted by the target parameter of BindRenderbuffer, RenderbufferStorage, and GetRenderbufferParameteriv, and returned by GetFramebufferAttachmentParameteriv.
intGL_COLOR_ATTACHMENT0
Accepted by the attachment parameter of FramebufferTexture{1D|2D|3D}, FramebufferRenderbuffer, and GetFramebufferAttachmentParameteriv.
intGL_MAX_SAMPLES
Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
intGL_FRAMEBUFFER_COMPLETE
Returned by CheckFramebufferStatus().
intGL_FRAMEBUFFER_BINDING
Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
intGL_INVALID_FRAMEBUFFER_OPERATION
Returned by GetError().
intGL_DEPTH_STENCIL
Accepted by the format parameter of DrawPixels, ReadPixels, TexImage1D, TexImage2D, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, and GetTexImage, by the type parameter of CopyPixels, by the internalformat parameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, CopyTexImage2D, and RenderbufferStorage, and returned in the data parameter of GetTexLevelParameter and GetRenderbufferParameteriv.
intGL_UNSIGNED_INT_24_8
Accepted by the type parameter of DrawPixels, ReadPixels, TexImage1D, TexImage2D, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, and GetTexImage.
intGL_DEPTH24_STENCIL8
Accepted by the internalformat parameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, CopyTexImage2D, and RenderbufferStorage, and returned in the data parameter of GetTexLevelParameter and GetRenderbufferParameteriv.
intGL_RGBA32UI
Accepted by the internalFormat parameter of TexImage1D, TexImage2D, and TexImage3D.
intGL_R8
Accepted by the internalFormat parameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, and CopyTexImage2D.
intGL_TRANSFORM_FEEDBACK_BUFFER
Accepted by the target parameters of BindBuffer, BufferData, BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData, GetBufferPointerv, BindBufferRange, BindBufferOffset and BindBufferBase.
intGL_INTERLEAVED_ATTRIBS
Accepted by the bufferMode parameter of TransformFeedbackVaryings.
intGL_RASTERIZER_DISCARD
Accepted by the cap parameter of Enable, Disable, and IsEnabled, and by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
intGL_VERTEX_ARRAY_BINDING
Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
intGL_FRAMEBUFFER_SRGB
Accepted by the cap parameter of Enable, Disable, and IsEnabled, and by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.

Method

voidglBeginConditionalRender(@NativeType("GLuint") int id, @NativeType("GLenum") int mode)
Starts conditional rendering.
voidglBeginTransformFeedback(@NativeType("GLenum") int primitiveMode)
Starts transform feedback operation.
voidglBindBufferBase(@NativeType("GLenum") int target, @NativeType("GLuint") int index, @NativeType("GLuint") int buffer)
Binds a buffer object to an indexed buffer target.
voidglBindBufferRange(@NativeType("GLenum") int target, @NativeType("GLuint") int index, @NativeType("GLuint") int buffer, @NativeType("GLintptr") long offset, @NativeType("GLsizeiptr") long size)
Binds a range within a buffer object to an indexed buffer target.
voidglBindFragDataLocation(@NativeType("GLuint") int program, @NativeType("GLuint") int colorNumber, @NativeType("GLchar const *") ByteBuffer name)
Binds a user-defined varying out variable to a fragment shader color number.
voidglBindFragDataLocation(@NativeType("GLuint") int program, @NativeType("GLuint") int colorNumber, @NativeType("GLchar const *") CharSequence name)
Binds a user-defined varying out variable to a fragment shader color number.
voidglBindFramebuffer(@NativeType("GLenum") int target, @NativeType("GLuint") int framebuffer)
Binds a framebuffer to a framebuffer target.
voidglBindRenderbuffer(@NativeType("GLenum") int target, @NativeType("GLuint") int renderbuffer)
Binds a renderbuffer to a renderbuffer target.
voidglBindVertexArray(@NativeType("GLuint") int array)
Binds a vertex array object
voidglBlitFramebuffer(@NativeType("GLint") int srcX0, @NativeType("GLint") int srcY0, @NativeType("GLint") int srcX1, @NativeType("GLint") int srcY1, @NativeType("GLint") int dstX0, @NativeType("GLint") int dstY0, @NativeType("GLint") int dstX1, @NativeType("GLint") int dstY1, @NativeType("GLbitfield") int mask, @NativeType("GLenum") int filter)
Copies a block of pixels from the read framebuffer to the draw framebuffer.
intglCheckFramebufferStatus(@NativeType("GLenum") int target)
Checks the completeness status of a framebuffer.
voidglClampColor(@NativeType("GLenum") int target, @NativeType("GLenum") int clamp)
Controls color clamping.
voidglClearBufferfi(@NativeType("GLenum") int buffer, @NativeType("GLint") int drawbuffer, @NativeType("GLfloat") float depth, @NativeType("GLint") int stencil)
Clears an individual buffer of the currently bound framebuffer object to the GL30C#GL_DRAW_FRAMEBUFFER DRAW_FRAMEBUFFER binding.
voidglClearBufferfv(@NativeType("GLenum") int buffer, @NativeType("GLint") int drawbuffer, @NativeType("GLfloat *") FloatBuffer value)
Clears an individual buffer of the currently bound framebuffer object to the GL30C#GL_DRAW_FRAMEBUFFER DRAW_FRAMEBUFFER binding.
voidglClearBufferfv(@NativeType("GLenum") int buffer, @NativeType("GLint") int drawbuffer, @NativeType("GLfloat *") float[] value)
Array version of: #glClearBufferfv ClearBufferfv
voidglClearBufferiv(@NativeType("GLenum") int buffer, @NativeType("GLint") int drawbuffer, @NativeType("GLint *") IntBuffer value)
Clears an individual buffer of the currently bound framebuffer object to the GL30C#GL_DRAW_FRAMEBUFFER DRAW_FRAMEBUFFER binding.
voidglClearBufferiv(@NativeType("GLenum") int buffer, @NativeType("GLint") int drawbuffer, @NativeType("GLint *") int[] value)
Array version of: #glClearBufferiv ClearBufferiv
voidglClearBufferuiv(@NativeType("GLenum") int buffer, @NativeType("GLint") int drawbuffer, @NativeType("GLint *") IntBuffer value)
Clears an individual buffer of the currently bound framebuffer object to the GL30C#GL_DRAW_FRAMEBUFFER DRAW_FRAMEBUFFER binding.
voidglClearBufferuiv(@NativeType("GLenum") int buffer, @NativeType("GLint") int drawbuffer, @NativeType("GLint *") int[] value)
Array version of: #glClearBufferuiv ClearBufferuiv
voidglColorMaski(@NativeType("GLuint") int buf, @NativeType("GLboolean") boolean r, @NativeType("GLboolean") boolean g, @NativeType("GLboolean") boolean b, @NativeType("GLboolean") boolean a)
Enables and disables writing of frame buffer color components.
voidglDeleteFramebuffers(@NativeType("GLuint const *") IntBuffer framebuffers)
Deletes framebuffer objects.
voidglDeleteFramebuffers(@NativeType("GLuint const *") int framebuffer)
Deletes framebuffer objects.
voidglDeleteFramebuffers(@NativeType("GLuint const *") int[] framebuffers)
Array version of: #glDeleteFramebuffers DeleteFramebuffers
voidglDeleteRenderbuffers(@NativeType("GLuint const *") IntBuffer renderbuffers)
Deletes renderbuffer objects.
voidglDeleteRenderbuffers(@NativeType("GLuint const *") int renderbuffer)
Deletes renderbuffer objects.
voidglDeleteRenderbuffers(@NativeType("GLuint const *") int[] renderbuffers)
Array version of: #glDeleteRenderbuffers DeleteRenderbuffers
voidglDeleteVertexArrays(@NativeType("GLuint const *") IntBuffer arrays)
Deletes vertex array objects.
voidglDeleteVertexArrays(@NativeType("GLuint const *") int array)
Deletes vertex array objects.
voidglDeleteVertexArrays(@NativeType("GLuint const *") int[] arrays)
Array version of: #glDeleteVertexArrays DeleteVertexArrays
voidglDisablei(@NativeType("GLenum") int target, @NativeType("GLuint") int index)
Disables an indexed capability.
voidglEnablei(@NativeType("GLenum") int cap, @NativeType("GLuint") int index)
Enables an indexed capability.
voidglEndConditionalRender()
Ends conditional rendering.
voidglEndTransformFeedback()
Ends transform feedback operation.
voidglFlushMappedBufferRange(@NativeType("GLenum") int target, @NativeType("GLintptr") long offset, @NativeType("GLsizeiptr") long length)
Indicates modifications to a range of a mapped buffer.
voidglFramebufferRenderbuffer(@NativeType("GLenum") int target, @NativeType("GLenum") int attachment, @NativeType("GLenum") int renderbuffertarget, @NativeType("GLuint") int renderbuffer)
Attaches a renderbuffer as a logical buffer to the currently bound framebuffer object.
voidglFramebufferTexture2D(@NativeType("GLenum") int target, @NativeType("GLenum") int attachment, @NativeType("GLenum") int textarget, @NativeType("GLuint") int texture, @NativeType("GLint") int level)
Attaches a level of a 2D texture object as a logical buffer to the currently bound framebuffer object.
voidglFramebufferTexture3D(@NativeType("GLenum") int target, @NativeType("GLenum") int attachment, @NativeType("GLenum") int textarget, @NativeType("GLuint") int texture, @NativeType("GLint") int level, @NativeType("GLint") int layer)
Attaches a layer of a 3D texture object as a logical buffer to the currently bound framebuffer object.
voidglFramebufferTextureLayer(@NativeType("GLenum") int target, @NativeType("GLenum") int attachment, @NativeType("GLuint") int texture, @NativeType("GLint") int level, @NativeType("GLint") int layer)
Attaches a single layer of a texture to a framebuffer
voidglGenerateMipmap(@NativeType("GLenum") int target)
Generate mipmaps for a specified texture target.
intglGenFramebuffers()
Generates framebuffer object names.
voidglGenFramebuffers(@NativeType("GLuint *") IntBuffer framebuffers)
Generates framebuffer object names.
voidglGenFramebuffers(@NativeType("GLuint *") int[] framebuffers)
Array version of: #glGenFramebuffers GenFramebuffers
voidglGenRenderbuffers(@NativeType("GLuint *") IntBuffer renderbuffers)
Generates renderbuffer object names.
voidglGenRenderbuffers(@NativeType("GLuint *") int[] renderbuffers)
Array version of: #glGenRenderbuffers GenRenderbuffers
intglGenRenderbuffers()
Generates renderbuffer object names.
intglGenVertexArrays()
Generates vertex array object names.
voidglGenVertexArrays(@NativeType("GLuint *") IntBuffer arrays)
Generates vertex array object names.
voidglGenVertexArrays(@NativeType("GLuint *") int[] arrays)
Array version of: #glGenVertexArrays GenVertexArrays
intglGetFragDataLocation(@NativeType("GLuint") int program, @NativeType("GLchar const *") ByteBuffer name)
Queries the bindings of color numbers to user-defined varying out variables.
intglGetFragDataLocation(@NativeType("GLuint") int program, @NativeType("GLchar const *") CharSequence name)
Queries the bindings of color numbers to user-defined varying out variables.
intglGetRenderbufferParameteri(@NativeType("GLenum") int target, @NativeType("GLenum") int pname)
Retrieves information about a bound renderbuffer object.
voidglGetRenderbufferParameteriv(@NativeType("GLenum") int target, @NativeType("GLenum") int pname, @NativeType("GLint *") IntBuffer params)
Retrieves information about a bound renderbuffer object.
voidglGetRenderbufferParameteriv(@NativeType("GLenum") int target, @NativeType("GLenum") int pname, @NativeType("GLint *") int[] params)
Array version of: #glGetRenderbufferParameteriv GetRenderbufferParameteriv
StringglGetStringi(@NativeType("GLenum") int name, @NativeType("GLuint") int index)
Queries indexed string state.
intglGetTexParameterIi(@NativeType("GLenum") int target, @NativeType("GLenum") int pname)
Returns the integer value of a texture parameter.
intglGetTexParameterIui(@NativeType("GLenum") int target, @NativeType("GLenum") int pname)
Returns the unsigned integer value of a texture parameter.
voidglGetTransformFeedbackVarying(@NativeType("GLuint") int program, @NativeType("GLuint") int index, @Nullable @NativeType("GLsizei *") IntBuffer length, @NativeType("GLsizei *") IntBuffer size, @NativeType("GLenum *") IntBuffer type, @NativeType("GLchar *") ByteBuffer name)
Retrieves information about varying variables selected for transform feedback.
voidglGetTransformFeedbackVarying(@NativeType("GLuint") int program, @NativeType("GLuint") int index, @Nullable @NativeType("GLsizei *") int[] length, @NativeType("GLsizei *") int[] size, @NativeType("GLenum *") int[] type, @NativeType("GLchar *") ByteBuffer name)
Array version of: #glGetTransformFeedbackVarying GetTransformFeedbackVarying
StringglGetTransformFeedbackVarying(@NativeType("GLuint") int program, @NativeType("GLuint") int index, @NativeType("GLsizei") int bufSize, @NativeType("GLsizei *") IntBuffer size, @NativeType("GLenum *") IntBuffer type)
Retrieves information about varying variables selected for transform feedback.
voidglGetUniformuiv(@NativeType("GLuint") int program, @NativeType("GLint") int location, @NativeType("GLuint *") IntBuffer params)
Returns the uint value(s) of a uniform variable.
voidglGetUniformuiv(@NativeType("GLuint") int program, @NativeType("GLint") int location, @NativeType("GLuint *") int[] params)
Array version of: #glGetUniformuiv GetUniformuiv
voidglGetVertexAttribIiv(@NativeType("GLuint") int index, @NativeType("GLenum") int pname, @NativeType("GLint *") IntBuffer params)
Returns the value of a pure integer generic vertex attribute parameter.
voidglGetVertexAttribIiv(@NativeType("GLuint") int index, @NativeType("GLenum") int pname, @NativeType("GLint *") int[] params)
Array version of: #glGetVertexAttribIiv GetVertexAttribIiv
voidglGetVertexAttribIuiv(@NativeType("GLuint") int index, @NativeType("GLenum") int pname, @NativeType("GLuint *") IntBuffer params)
Unsigned version of #glGetVertexAttribIiv GetVertexAttribIiv .
voidglGetVertexAttribIuiv(@NativeType("GLuint") int index, @NativeType("GLenum") int pname, @NativeType("GLuint *") int[] params)
Array version of: #glGetVertexAttribIuiv GetVertexAttribIuiv
booleanglIsEnabledi(@NativeType("GLenum") int target, @NativeType("GLuint") int index)
Tests whether an indexed capability is enabled.
booleanglIsFramebuffer(@NativeType("GLuint") int framebuffer)
Determines if a name corresponds to a framebuffer object.
booleanglIsRenderbuffer(@NativeType("GLuint") int renderbuffer)
Determines if a name corresponds to a renderbuffer object.
booleanglIsVertexArray(@NativeType("GLuint") int array)
Determines if a name corresponds to a vertex array object.
ByteBufferglMapBufferRange(@NativeType("GLenum") int target, @NativeType("GLintptr") long offset, @NativeType("GLsizeiptr") long length, @NativeType("GLbitfield") int access, @Nullable ByteBuffer old_buffer)
Maps a section of a buffer object's data store.
voidglRenderbufferStorage(@NativeType("GLenum") int target, @NativeType("GLenum") int internalformat, @NativeType("GLsizei") int width, @NativeType("GLsizei") int height)
Establishes data storage, format and dimensions of a renderbuffer object's image.
voidglRenderbufferStorageMultisample(@NativeType("GLenum") int target, @NativeType("GLsizei") int samples, @NativeType("GLenum") int internalformat, @NativeType("GLsizei") int width, @NativeType("GLsizei") int height)
Establishes data storage, format, dimensions and sample count of a renderbuffer object's image.
voidglTexParameterIi(@NativeType("GLenum") int target, @NativeType("GLenum") int pname, @NativeType("GLint const *") int param)
Sets the integer value of a texture parameter.
voidglTexParameterIui(@NativeType("GLenum") int target, @NativeType("GLenum") int pname, @NativeType("GLuint const *") int param)
Sets the unsigned integer value of a texture parameter.
voidglTransformFeedbackVaryings(@NativeType("GLuint") int program, @NativeType("GLchar const **") PointerBuffer varyings, @NativeType("GLenum") int bufferMode)
Specifies values to record in transform feedback buffers.
voidglTransformFeedbackVaryings(@NativeType("GLuint") int program, @NativeType("GLchar const **") CharSequence[] varyings, @NativeType("GLenum") int bufferMode)
Specifies values to record in transform feedback buffers.
voidglTransformFeedbackVaryings(@NativeType("GLuint") int program, @NativeType("GLchar const **") CharSequence varying, @NativeType("GLenum") int bufferMode)
Specifies values to record in transform feedback buffers.
voidglUniform1ui(@NativeType("GLint") int location, @NativeType("GLuint") int v0)
Specifies the value of a uint uniform variable for the current program object.
voidglUniform1uiv(@NativeType("GLint") int location, @NativeType("GLuint const *") IntBuffer value)
Specifies the value of a single uint uniform variable or a uint uniform variable array for the current program object.
voidglUniform1uiv(@NativeType("GLint") int location, @NativeType("GLuint const *") int[] value)
Array version of: #glUniform1uiv Uniform1uiv
voidglUniform2ui(@NativeType("GLint") int location, @NativeType("GLuint") int v0, @NativeType("GLuint") int v1)
Specifies the value of a uvec2 uniform variable for the current program object.
voidglUniform3ui(@NativeType("GLint") int location, @NativeType("GLuint") int v0, @NativeType("GLuint") int v1, @NativeType("GLuint") int v2)
Specifies the value of a uvec3 uniform variable for the current program object.
voidglUniform3uiv(@NativeType("GLint") int location, @NativeType("GLuint const *") IntBuffer value)
Specifies the value of a single uvec3 uniform variable or a uvec3 uniform variable array for the current program object.
voidglUniform3uiv(@NativeType("GLint") int location, @NativeType("GLuint const *") int[] value)
Array version of: #glUniform3uiv Uniform3uiv
voidglUniform4ui(@NativeType("GLint") int location, @NativeType("GLuint") int v0, @NativeType("GLuint") int v1, @NativeType("GLuint") int v2, @NativeType("GLuint") int v3)
Specifies the value of a uvec4 uniform variable for the current program object.
voidglUniform4uiv(@NativeType("GLint") int location, @NativeType("GLuint const *") IntBuffer value)
Specifies the value of a single uvec4 uniform variable or a uvec4 uniform variable array for the current program object.
voidglUniform4uiv(@NativeType("GLint") int location, @NativeType("GLuint const *") int[] value)
Array version of: #glUniform4uiv Uniform4uiv
voidglVertexAttribI1i(@NativeType("GLuint") int index, @NativeType("GLint") int x)
Specifies the value of a pure integer generic vertex attribute.
voidglVertexAttribI1ui(@NativeType("GLuint") int index, @NativeType("GLuint") int x)
Specifies the value of an unsigned pure integer generic vertex attribute.
voidglVertexAttribI2i(@NativeType("GLuint") int index, @NativeType("GLint") int x, @NativeType("GLint") int y)
Specifies the value of a pure integer generic vertex attribute.
voidglVertexAttribI2ui(@NativeType("GLuint") int index, @NativeType("GLuint") int x, @NativeType("GLuint") int y)
Specifies the value of an unsigned pure integer generic vertex attribute.
voidglVertexAttribI3i(@NativeType("GLuint") int index, @NativeType("GLint") int x, @NativeType("GLint") int y, @NativeType("GLint") int z)
Specifies the value of a pure integer generic vertex attribute.
voidglVertexAttribI3ui(@NativeType("GLuint") int index, @NativeType("GLint") int x, @NativeType("GLint") int y, @NativeType("GLint") int z)
Specifies the value of an unsigned pure integer generic vertex attribute.
voidglVertexAttribI4i(@NativeType("GLuint") int index, @NativeType("GLint") int x, @NativeType("GLint") int y, @NativeType("GLint") int z, @NativeType("GLint") int w)
Specifies the value of a pure integer generic vertex attribute.
voidglVertexAttribI4ui(@NativeType("GLuint") int index, @NativeType("GLint") int x, @NativeType("GLint") int y, @NativeType("GLint") int z, @NativeType("GLint") int w)
Specifies the value of an unsigned pure integer generic vertex attribute.
voidglVertexAttribIPointer(@NativeType("GLuint") int index, @NativeType("GLint") int size, @NativeType("GLenum") int type, @NativeType("GLsizei") int stride, @NativeType("void const *") ByteBuffer pointer)
Specifies the location and organization of a pure integer vertex attribute array.
voidglVertexAttribIPointer(@NativeType("GLuint") int index, @NativeType("GLint") int size, @NativeType("GLenum") int type, @NativeType("GLsizei") int stride, @NativeType("void const *") long pointer)
Specifies the location and organization of a pure integer vertex attribute array.
voidglVertexAttribIPointer(@NativeType("GLuint") int index, @NativeType("GLint") int size, @NativeType("GLenum") int type, @NativeType("GLsizei") int stride, @NativeType("void const *") ShortBuffer pointer)
Specifies the location and organization of a pure integer vertex attribute array.
voidglVertexAttribIPointer(@NativeType("GLuint") int index, @NativeType("GLint") int size, @NativeType("GLenum") int type, @NativeType("GLsizei") int stride, @NativeType("void const *") IntBuffer pointer)
Specifies the location and organization of a pure integer vertex attribute array.
voidnglUniform1uiv(int location, int count, long value)
Unsafe version of: #glUniform1uiv Uniform1uiv
voidnglVertexAttribIPointer(int index, int size, int type, int stride, long pointer)
Unsafe version of: #glVertexAttribIPointer VertexAttribIPointer