Top Description Fields Constructors Methods
org.lwjgl.opengl

public Class GL33C

extends GL32C
Class Inheritance
Known Direct Subclasses
org.lwjgl.opengl.GL40C
Imports
java.nio.*, org.lwjgl.system.*

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

OpenGL 3.3 implementations support revision 3.30 of the OpenGL Shading Language.

Extensions promoted to core in this release:

Field Summary

Modifier and TypeField and Description
public static final int
GL_ANY_SAMPLES_PASSED

Accepted by the target parameter of BeginQuery, EndQuery, and GetQueryiv.

public static final int
GL_INT_2_10_10_10_REV

Accepted by the type parameter of VertexAttribPointer, VertexPointer, NormalPointer, ColorPointer, SecondaryColorPointer, TexCoordPointer, VertexAttribP{1234}ui, VertexP*, TexCoordP*, MultiTexCoordP*, NormalP3ui, ColorP*, SecondaryColorP* and VertexAttribP*.

public static final int
GL_MAX_DUAL_SOURCE_DRAW_BUFFERS

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

public static final int
GL_ONE_MINUS_SRC1_ALPHA

Accepted by the src and dst parameters of BlendFunc and BlendFunci, and by the srcRGB, dstRGB, srcAlpha and dstAlpha parameters of BlendFuncSeparate and BlendFuncSeparatei.

public static final int
GL_ONE_MINUS_SRC1_COLOR

Accepted by the src and dst parameters of BlendFunc and BlendFunci, and by the srcRGB, dstRGB, srcAlpha and dstAlpha parameters of BlendFuncSeparate and BlendFuncSeparatei.

public static final int
GL_RGB10_A2UI

Accepted by the internalFormat parameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, CopyTexImage2D, RenderbufferStorage and RenderbufferStorageMultisample.

public static final int
GL_SAMPLER_BINDING

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

public static final int
GL_SRC1_COLOR

Accepted by the src and dst parameters of BlendFunc and BlendFunci, and by the srcRGB, dstRGB, srcAlpha and dstAlpha parameters of BlendFuncSeparate and BlendFuncSeparatei.

public static final int
GL_TEXTURE_SWIZZLE_A

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

public static final int
GL_TEXTURE_SWIZZLE_B

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

public static final int
GL_TEXTURE_SWIZZLE_G

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

public static final int
GL_TEXTURE_SWIZZLE_R

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

public static final int
GL_TEXTURE_SWIZZLE_RGBA

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

public static final int
GL_TIME_ELAPSED

Accepted by the target parameter of BeginQuery, EndQuery, and GetQueryiv.

public static final int
GL_TIMESTAMP

Accepted by the target parameter of GetQueryiv and QueryCounter.

public static final int
GL_VERTEX_ATTRIB_ARRAY_DIVISOR

Accepted by the pname parameters of GetVertexAttribdv, GetVertexAttribfv, and GetVertexAttribiv.

Inherited from org.lwjgl.opengl.GL32C:
GL_ALREADY_SIGNALEDGL_CONDITION_SATISFIEDGL_CONTEXT_COMPATIBILITY_PROFILE_BITGL_CONTEXT_CORE_PROFILE_BITGL_CONTEXT_PROFILE_MASKGL_DEPTH_CLAMPGL_FIRST_VERTEX_CONVENTIONGL_FRAMEBUFFER_ATTACHMENT_LAYEREDGL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETSGL_GEOMETRY_INPUT_TYPEGL_GEOMETRY_OUTPUT_TYPEGL_GEOMETRY_SHADERGL_GEOMETRY_VERTICES_OUTGL_INT_SAMPLER_2D_MULTISAMPLEGL_INT_SAMPLER_2D_MULTISAMPLE_ARRAYGL_LAST_VERTEX_CONVENTIONGL_LINE_STRIP_ADJACENCYGL_LINES_ADJACENCYGL_MAX_COLOR_TEXTURE_SAMPLESGL_MAX_DEPTH_TEXTURE_SAMPLESGL_MAX_FRAGMENT_INPUT_COMPONENTSGL_MAX_GEOMETRY_INPUT_COMPONENTSGL_MAX_GEOMETRY_OUTPUT_COMPONENTSGL_MAX_GEOMETRY_OUTPUT_VERTICESGL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITSGL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTSGL_MAX_GEOMETRY_UNIFORM_COMPONENTSGL_MAX_INTEGER_SAMPLESGL_MAX_SAMPLE_MASK_WORDSGL_MAX_SERVER_WAIT_TIMEOUTGL_MAX_VERTEX_OUTPUT_COMPONENTSGL_OBJECT_TYPEGL_PROGRAM_POINT_SIZEGL_PROVOKING_VERTEXGL_PROXY_TEXTURE_2D_MULTISAMPLEGL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAYGL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTIONGL_SAMPLE_MASKGL_SAMPLE_MASK_VALUEGL_SAMPLE_POSITIONGL_SAMPLER_2D_MULTISAMPLEGL_SAMPLER_2D_MULTISAMPLE_ARRAYGL_SIGNALEDGL_SYNC_CONDITIONGL_SYNC_FENCEGL_SYNC_FLAGSGL_SYNC_FLUSH_COMMANDS_BITGL_SYNC_GPU_COMMANDS_COMPLETEGL_SYNC_STATUSGL_TEXTURE_2D_MULTISAMPLEGL_TEXTURE_2D_MULTISAMPLE_ARRAYGL_TEXTURE_BINDING_2D_MULTISAMPLEGL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAYGL_TEXTURE_CUBE_MAP_SEAMLESSGL_TEXTURE_FIXED_SAMPLE_LOCATIONSGL_TEXTURE_SAMPLESGL_TIMEOUT_EXPIREDGL_TIMEOUT_IGNOREDGL_TRIANGLE_STRIP_ADJACENCYGL_TRIANGLES_ADJACENCYGL_UNSIGNALEDGL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLEGL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAYGL_WAIT_FAILED

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static void
glBindFragDataLocationIndexed(int
the name of the program containing varying out variable whose binding to modify
program
,
int
the color number to bind the user-defined varying out variable to
colorNumber
,
int
the index of the color input to bind the user-defined varying out variable to
index
,
ByteBuffer
the name of the user-defined varying out variable whose binding to modify
name
)

Binds a user-defined varying out variable to a fragment shader color number and index.

public static void
glBindFragDataLocationIndexed(int
the name of the program containing varying out variable whose binding to modify
program
,
int
the color number to bind the user-defined varying out variable to
colorNumber
,
int
the index of the color input to bind the user-defined varying out variable to
index
,
CharSequence
the name of the user-defined varying out variable whose binding to modify
name
)

Binds a user-defined varying out variable to a fragment shader color number and index.

public static native void
glBindSampler(int
the index of the texture unit to which the sampler is bound
unit
,
int
the name of a sampler
sampler
)

Binds a named sampler to a texturing target.

public static void
glDeleteSamplers(IntBuffer
an array of sampler objects to be deleted
samplers
)

Deletes named sampler objects.

public static void
glDeleteSamplers(int sampler)

Deletes named sampler objects.

public static void
glDeleteSamplers(int[] samplers)

Array version of: DeleteSamplers

public static void
glGenSamplers(IntBuffer
a buffer in which the generated sampler object names are stored
samplers
)

Generates sampler object names.

public static int
glGenSamplers()

Generates sampler object names.

public static void
glGenSamplers(int[] samplers)

Array version of: GenSamplers

public static int
glGetFragDataIndex(int
the name of the program containing varying out variable whose binding to query
program
,
ByteBuffer
the name of the user-defined varying out variable whose index to query
name
)

Queries the bindings of color indices to user-defined varying out variables.

public static int
glGetFragDataIndex(int
the name of the program containing varying out variable whose binding to query
program
,
CharSequence
the name of the user-defined varying out variable whose index to query
name
)

Queries the bindings of color indices to user-defined varying out variables.

public static long
glGetQueryObjecti64(int
the name of a query object
id
,
int
the symbolic name of a query object parameter. One of:
QUERY_RESULTQUERY_RESULT_AVAILABLE
pname
)

Returns the 64bit integer value of query object parameter.

public static void
glGetQueryObjecti64v(int
the name of a query object
id
,
int
the symbolic name of a query object parameter. One of:
QUERY_RESULTQUERY_RESULT_AVAILABLE
pname
,
LongBuffer
the requested data
params
)

Returns the 64bit integer value of query object parameter.

public static void
glGetQueryObjecti64v(int
the name of a query object
id
,
int
the symbolic name of a query object parameter. One of:
QUERY_RESULTQUERY_RESULT_AVAILABLE
pname
,
long
the requested data
params
)

Returns the 64bit integer value of query object parameter.

public static void
glGetQueryObjecti64v(int id, int pname, long[] params)

Array version of: GetQueryObjecti64v

public static long
glGetQueryObjectui64(int
the name of a query object
id
,
int
the symbolic name of a query object parameter
pname
)

Unsigned version of GetQueryObjecti64v.

public static void
glGetQueryObjectui64v(int
the name of a query object
id
,
int
the symbolic name of a query object parameter
pname
,
LongBuffer
the requested data
params
)

Unsigned version of GetQueryObjecti64v.

public static void
glGetQueryObjectui64v(int
the name of a query object
id
,
int
the symbolic name of a query object parameter
pname
,
long
the requested data
params
)

Unsigned version of GetQueryObjecti64v.

public static void
glGetQueryObjectui64v(int id, int pname, long[] params)

Array version of: GetQueryObjectui64v

public static float
glGetSamplerParameterf(int
the name of the sampler object from which to retrieve parameters
sampler
,
int
the symbolic name of a sampler parameter
pname
)

Float version of GetSamplerParameteriv.

public static void
glGetSamplerParameterfv(int
the name of the sampler object from which to retrieve parameters
sampler
,
int
the symbolic name of a sampler parameter
pname
,
FloatBuffer
the sampler parameters
params
)

Float version of GetSamplerParameteriv.

public static void
glGetSamplerParameterfv(int sampler, int pname, float[] params)

Array version of: GetSamplerParameterfv

public static int
glGetSamplerParameteri(int
the name of the sampler object from which to retrieve parameters
sampler
,
int pname)

Return the integer value(s) of a sampler parameter.

public static int
glGetSamplerParameterIi(int
the name of the sampler object from which to retrieve parameters
sampler
,
int
the symbolic name of a sampler parameter
pname
)

Pure integer version of GetSamplerParameteriv.

public static void
glGetSamplerParameterIiv(int
the name of the sampler object from which to retrieve parameters
sampler
,
int
the symbolic name of a sampler parameter
pname
,
IntBuffer
the sampler parameters
params
)

Pure integer version of GetSamplerParameteriv.

public static void
glGetSamplerParameterIiv(int sampler, int pname, int[] params)

Array version of: GetSamplerParameterIiv

public static int
glGetSamplerParameterIui(int
the name of the sampler object from which to retrieve parameters
sampler
,
int
the symbolic name of a sampler parameter
pname
)

Unsigned pure integer version of GetSamplerParameteriv.

public static void
glGetSamplerParameterIuiv(int
the name of the sampler object from which to retrieve parameters
sampler
,
int
the symbolic name of a sampler parameter
pname
,
IntBuffer
the sampler parameters
params
)

Unsigned pure integer version of GetSamplerParameteriv.

public static void
glGetSamplerParameterIuiv(int sampler, int pname, int[] params)

Array version of: GetSamplerParameterIuiv

public static void
glGetSamplerParameteriv(int
the name of the sampler object from which to retrieve parameters
sampler
,
int pname, IntBuffer
the sampler parameters
params
)

Return the integer value(s) of a sampler parameter.

public static void
glGetSamplerParameteriv(int sampler, int pname, int[] params)

Array version of: GetSamplerParameteriv

public static native boolean
glIsSampler(int
a value that may be the name of a sampler object
sampler
)

Determines if a name corresponds to a sampler object.

public static native void
glQueryCounter(int
the name of a query object into which to record the GL time
id
,
int
the counter to query. Must be:
TIMESTAMP
target
)

Records the GL time into a query object after all previous commands have reached the GL server but have not yet necessarily executed.

public static native void
glSamplerParameterf(int
the sampler object whose parameter to modify
sampler
,
int
the symbolic name of a single-valued sampler parameter
pname
,
float
the value of pname
param
)

Float version of SamplerParameteri.

public static void
glSamplerParameterfv(int
the sampler object whose parameter to modify
sampler
,
int
the symbolic name of a sampler parameter
pname
,
FloatBuffer
an array where the value or values of pname are stored
params
)

Float version of SamplerParameteriv.

public static void
glSamplerParameterfv(int sampler, int pname, float[] params)

Array version of: SamplerParameterfv

public static native void
glSamplerParameteri(int
the sampler object whose parameter to modify
sampler
,
int pname, int
the value of pname
param
)

Set the integer value of a sampler parameter.

public static void
glSamplerParameterIiv(int
the sampler object whose parameter to modify
sampler
,
int
the symbolic name of a sampler parameter
pname
,
IntBuffer
an array where the value or values of pname are stored
params
)

Pure integer version of SamplerParameteriv.

public static void
glSamplerParameterIiv(int sampler, int pname, int[] params)

Array version of: SamplerParameterIiv

public static void
glSamplerParameterIuiv(int
the sampler object whose parameter to modify
sampler
,
int
the symbolic name of a sampler parameter
pname
,
IntBuffer
an array where the value or values of pname are stored
params
)

Unsigned pure integer version of SamplerParameteriv.

public static void
glSamplerParameterIuiv(int sampler, int pname, int[] params)

Array version of: SamplerParameterIuiv

public static void
glSamplerParameteriv(int
the sampler object whose parameter to modify
sampler
,
int pname, IntBuffer
an array where the value or values of pname are stored
params
)

Pointer version of SamplerParameteri.

public static void
glSamplerParameteriv(int sampler, int pname, int[] params)

Array version of: SamplerParameteriv

public static native void
glVertexAttribDivisor(int
the index of the generic vertex attribute
index
,
int
the number of instances that will pass between updates of the generic attribute at slot index
divisor
)

Modifies the rate at which generic vertex attributes advance during instanced rendering.

public static native void
glVertexAttribP1ui(int
the index of the generic vertex attribute to be modified
index
,
int
type of packing used on the data. One of:
INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REV
type
,
boolean
whether values should be normalized or cast directly to floating-point
normalized
,
int
the packed value
value
)

Packed component version of VertexAttrib1f.

public static void
glVertexAttribP1uiv(int
the index of the generic vertex attribute to be modified
index
,
int
type of packing used on the data. One of:
INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REV
type
,
boolean
whether values should be normalized or cast directly to floating-point
normalized
,
IntBuffer
the packed value
value
)

Pointer version of VertexAttribP1ui.

public static void
glVertexAttribP1uiv(int index, int type, boolean normalized, int[] value)

Array version of: VertexAttribP1uiv

public static native void
glVertexAttribP2ui(int
the index of the generic vertex attribute to be modified
index
,
int
type of packing used on the data. One of:
INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REV
type
,
boolean
whether values should be normalized or cast directly to floating-point
normalized
,
int
the packed value
value
)

Packed component version of VertexAttrib2f.

public static void
glVertexAttribP2uiv(int
the index of the generic vertex attribute to be modified
index
,
int
type of packing used on the data. One of:
INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REV
type
,
boolean
whether values should be normalized or cast directly to floating-point
normalized
,
IntBuffer
the packed value
value
)

Pointer version of VertexAttribP2ui.

public static void
glVertexAttribP2uiv(int index, int type, boolean normalized, int[] value)

Array version of: VertexAttribP2uiv

public static native void
glVertexAttribP3ui(int
the index of the generic vertex attribute to be modified
index
,
int
type of packing used on the data. One of:
INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REV
type
,
boolean
whether values should be normalized or cast directly to floating-point
normalized
,
int
the packed value
value
)

Packed component version of VertexAttrib3f.

public static void
glVertexAttribP3uiv(int
the index of the generic vertex attribute to be modified
index
,
int
type of packing used on the data. One of:
INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REV
type
,
boolean
whether values should be normalized or cast directly to floating-point
normalized
,
IntBuffer
the packed value
value
)

Pointer version of VertexAttribP3ui.

public static void
glVertexAttribP3uiv(int index, int type, boolean normalized, int[] value)

Array version of: VertexAttribP3uiv

public static native void
glVertexAttribP4ui(int
the index of the generic vertex attribute to be modified
index
,
int
type of packing used on the data. One of:
INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REV
type
,
boolean
whether values should be normalized or cast directly to floating-point
normalized
,
int
the packed value
value
)

Packed component version of VertexAttrib4f.

public static void
glVertexAttribP4uiv(int
the index of the generic vertex attribute to be modified
index
,
int
type of packing used on the data. One of:
INT_2_10_10_10_REVUNSIGNED_INT_2_10_10_10_REV
type
,
boolean
whether values should be normalized or cast directly to floating-point
normalized
,
IntBuffer
the packed value
value
)

Pointer version of VertexAttribP4ui.

public static void
glVertexAttribP4uiv(int index, int type, boolean normalized, int[] value)

Array version of: VertexAttribP4uiv

public static native void
nglBindFragDataLocationIndexed(int program, int colorNumber, int index, long name)

Unsafe version of: BindFragDataLocationIndexed

public static native void
nglDeleteSamplers(int
the number of sampler objects to be deleted
count
,
long samplers)

Unsafe version of: DeleteSamplers

public static native void
nglGenSamplers(int
the number of sampler object names to generate
count
,
long samplers)

Unsafe version of: GenSamplers

public static native int
nglGetFragDataIndex(int program, long name)

Unsafe version of: GetFragDataIndex

public static native void
nglGetQueryObjecti64v(int id, int pname, long params)

Unsafe version of: GetQueryObjecti64v

public static native void
nglGetQueryObjectui64v(int id, int pname, long params)

Unsafe version of: GetQueryObjectui64v

public static native void
nglGetSamplerParameterfv(int sampler, int pname, long params)

Unsafe version of: GetSamplerParameterfv

public static native void
nglGetSamplerParameterIiv(int sampler, int pname, long params)

Unsafe version of: GetSamplerParameterIiv

public static native void
nglGetSamplerParameterIuiv(int sampler, int pname, long params)

Unsafe version of: GetSamplerParameterIuiv

public static native void
nglGetSamplerParameteriv(int sampler, int pname, long params)

Unsafe version of: GetSamplerParameteriv

public static native void
nglSamplerParameterfv(int sampler, int pname, long params)

Unsafe version of: SamplerParameterfv

public static native void
nglSamplerParameterIiv(int sampler, int pname, long params)

Unsafe version of: SamplerParameterIiv

public static native void
nglSamplerParameterIuiv(int sampler, int pname, long params)

Unsafe version of: SamplerParameterIuiv

public static native void
nglSamplerParameteriv(int sampler, int pname, long params)

Unsafe version of: SamplerParameteriv

public static native void
nglVertexAttribP1uiv(int index, int type, boolean normalized, long value)

Unsafe version of: VertexAttribP1uiv

public static native void
nglVertexAttribP2uiv(int index, int type, boolean normalized, long value)

Unsafe version of: VertexAttribP2uiv

public static native void
nglVertexAttribP3uiv(int index, int type, boolean normalized, long value)

Unsafe version of: VertexAttribP3uiv

public static native void
nglVertexAttribP4uiv(int index, int type, boolean normalized, long value)

Unsafe version of: VertexAttribP4uiv

Inherited from org.lwjgl.opengl.GL32C:
glClientWaitSyncglDeleteSyncglDrawElementsBaseVertexglDrawElementsBaseVertexglDrawElementsBaseVertexglDrawElementsBaseVertexglDrawElementsBaseVertexglDrawElementsInstancedBaseVertexglDrawElementsInstancedBaseVertexglDrawElementsInstancedBaseVertexglDrawElementsInstancedBaseVertexglDrawElementsInstancedBaseVertexglDrawRangeElementsBaseVertexglDrawRangeElementsBaseVertexglDrawRangeElementsBaseVertexglDrawRangeElementsBaseVertexglDrawRangeElementsBaseVertexglFenceSyncglFramebufferTextureglGetBufferParameteri64glGetBufferParameteri64vglGetBufferParameteri64vglGetInteger64glGetInteger64iglGetInteger64i_vglGetInteger64i_vglGetInteger64vglGetInteger64vglGetMultisamplefglGetMultisamplefvglGetMultisamplefvglGetSynciglGetSyncivglGetSyncivglIsSyncglMultiDrawElementsBaseVertexglMultiDrawElementsBaseVertexglProvokingVertexglSampleMaskiglTexImage2DMultisampleglTexImage3DMultisampleglWaitSyncnglClientWaitSyncnglDeleteSyncnglDrawElementsBaseVertexnglDrawElementsInstancedBaseVertexnglDrawRangeElementsBaseVertexnglGetBufferParameteri64vnglGetInteger64i_vnglGetInteger64vnglGetMultisamplefvnglGetSyncivnglIsSyncnglMultiDrawElementsBaseVertexnglWaitSync