Top Description Fields Constructors Methods
org.lwjgl.opengl

public Class GL20C

extends GL15C
Class Inheritance
Known Direct Subclasses
org.lwjgl.opengl.GL21C
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

The OpenGL functionality of a forward compatible context, up to version 2.0.

Extensions promoted to core in this release:

Field Summary

Modifier and TypeField and Description
public static final int
GL_ACTIVE_ATTRIBUTE_MAX_LENGTH

Accepted by the pname parameter of GetShaderiv.

public static final int
GL_ACTIVE_ATTRIBUTES

Accepted by the pname parameter of GetShaderiv.

public static final int
GL_ACTIVE_UNIFORM_MAX_LENGTH

Accepted by the pname parameter of GetShaderiv.

public static final int
GL_ACTIVE_UNIFORMS

Accepted by the pname parameter of GetShaderiv.

public static final int
GL_ATTACHED_SHADERS

Accepted by the pname parameter of GetShaderiv.

public static final int
GL_BLEND_EQUATION_ALPHA

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

public static final int
GL_BLEND_EQUATION_RGB

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

public static final int
GL_BOOL

Returned by the type parameter of GetActiveUniform.

public static final int
GL_BOOL_VEC2

Returned by the type parameter of GetActiveUniform.

public static final int
GL_BOOL_VEC3

Returned by the type parameter of GetActiveUniform.

public static final int
GL_BOOL_VEC4

Returned by the type parameter of GetActiveUniform.

public static final int
GL_COMPILE_STATUS

Accepted by the pname parameter of GetShaderiv.

public static final int
GL_CURRENT_PROGRAM

Accepted by the pname parameter of GetInteger.

public static final int
GL_CURRENT_VERTEX_ATTRIB

Accepted by the pname parameter of GetVertexAttrib{dfi}v.

public static final int
GL_DELETE_STATUS

Accepted by the pname parameter of GetShaderiv.

public static final int
GL_DRAW_BUFFER0

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

public static final int
GL_DRAW_BUFFER1

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

public static final int
GL_DRAW_BUFFER10

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

public static final int
GL_DRAW_BUFFER11

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

public static final int
GL_DRAW_BUFFER12

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

public static final int
GL_DRAW_BUFFER13

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

public static final int
GL_DRAW_BUFFER14

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

public static final int
GL_DRAW_BUFFER15

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

public static final int
GL_DRAW_BUFFER2

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

public static final int
GL_DRAW_BUFFER3

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

public static final int
GL_DRAW_BUFFER4

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

public static final int
GL_DRAW_BUFFER5

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

public static final int
GL_DRAW_BUFFER6

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

public static final int
GL_DRAW_BUFFER7

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

public static final int
GL_DRAW_BUFFER8

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

public static final int
GL_DRAW_BUFFER9

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

public static final int
GL_FLOAT_MAT2

Returned by the type parameter of GetActiveUniform.

public static final int
GL_FLOAT_MAT3

Returned by the type parameter of GetActiveUniform.

public static final int
GL_FLOAT_MAT4

Returned by the type parameter of GetActiveUniform.

public static final int
GL_FLOAT_VEC2

Returned by the type parameter of GetActiveUniform.

public static final int
GL_FLOAT_VEC3

Returned by the type parameter of GetActiveUniform.

public static final int
GL_FLOAT_VEC4

Returned by the type parameter of GetActiveUniform.

public static final int
GL_FRAGMENT_SHADER

Accepted by the type argument of CreateShader and returned by the params parameter of GetShaderiv.

public static final int
GL_FRAGMENT_SHADER_DERIVATIVE_HINT

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

public static final int
GL_INFO_LOG_LENGTH

Accepted by the pname parameter of GetShaderiv.

public static final int
GL_INT_VEC2

Returned by the type parameter of GetActiveUniform.

public static final int
GL_INT_VEC3

Returned by the type parameter of GetActiveUniform.

public static final int
GL_INT_VEC4

Returned by the type parameter of GetActiveUniform.

public static final int
GL_LOWER_LEFT

Accepted by the param parameter of PointParameter{if}v.

public static final int
GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS

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

public static final int
GL_MAX_DRAW_BUFFERS

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

public static final int
GL_MAX_FRAGMENT_UNIFORM_COMPONENTS

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

public static final int
GL_MAX_TEXTURE_IMAGE_UNITS

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

public static final int
GL_MAX_VARYING_FLOATS

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

public static final int
GL_MAX_VERTEX_ATTRIBS

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

public static final int
GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS

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

public static final int
GL_MAX_VERTEX_UNIFORM_COMPONENTS

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

public static final int
GL_POINT_SPRITE_COORD_ORIGIN

Accepted by the pname parameter of PointParameter{if}v.

public static final int
GL_SAMPLER_1D

Returned by the type parameter of GetActiveUniform.

public static final int
GL_SAMPLER_1D_SHADOW

Returned by the type parameter of GetActiveUniform.

public static final int
GL_SAMPLER_2D

Returned by the type parameter of GetActiveUniform.

public static final int
GL_SAMPLER_2D_SHADOW

Returned by the type parameter of GetActiveUniform.

public static final int
GL_SAMPLER_3D

Returned by the type parameter of GetActiveUniform.

public static final int
GL_SAMPLER_CUBE

Returned by the type parameter of GetActiveUniform.

public static final int
GL_SHADER_SOURCE_LENGTH

Accepted by the pname parameter of GetShaderiv.

public static final int
GL_SHADER_TYPE

Accepted by the pname parameter of GetShaderiv.

public static final int
GL_SHADING_LANGUAGE_VERSION

Accepted by the name parameter of GetString.

public static final int
GL_STENCIL_BACK_FAIL

Accepted by the pname parameter of GetIntegerv.

public static final int
GL_STENCIL_BACK_FUNC

Accepted by the pname parameter of GetIntegerv.

public static final int
GL_STENCIL_BACK_PASS_DEPTH_FAIL

Accepted by the pname parameter of GetIntegerv.

public static final int
GL_STENCIL_BACK_PASS_DEPTH_PASS

Accepted by the pname parameter of GetIntegerv.

public static final int
GL_STENCIL_BACK_REF

Accepted by the pname parameter of GetIntegerv.

public static final int
GL_STENCIL_BACK_VALUE_MASK

Accepted by the pname parameter of GetIntegerv.

public static final int
GL_STENCIL_BACK_WRITEMASK

Accepted by the pname parameter of GetIntegerv.

public static final int
GL_UPPER_LEFT

Accepted by the param parameter of PointParameter{if}v.

public static final int
GL_VALIDATE_STATUS

Accepted by the pname parameter of GetShaderiv.

public static final int
GL_VERTEX_ATTRIB_ARRAY_ENABLED

Accepted by the pname parameter of GetVertexAttrib{dfi}v.

public static final int
GL_VERTEX_ATTRIB_ARRAY_NORMALIZED

Accepted by the pname parameter of GetVertexAttrib{dfi}v.

public static final int
GL_VERTEX_ATTRIB_ARRAY_POINTER

Accepted by the pname parameter of GetVertexAttribPointerv.

public static final int
GL_VERTEX_ATTRIB_ARRAY_SIZE

Accepted by the pname parameter of GetVertexAttrib{dfi}v.

public static final int
GL_VERTEX_ATTRIB_ARRAY_STRIDE

Accepted by the pname parameter of GetVertexAttrib{dfi}v.

public static final int
GL_VERTEX_ATTRIB_ARRAY_TYPE

Accepted by the pname parameter of GetVertexAttrib{dfi}v.

public static final int
GL_VERTEX_PROGRAM_POINT_SIZE

Accepted by the cap parameter of Disable, Enable, and IsEnabled, and by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_VERTEX_SHADER

Accepted by the type argument of CreateShader and returned by the params parameter of GetShaderiv.

Inherited from org.lwjgl.opengl.GL15C:
GL_ARRAY_BUFFERGL_ARRAY_BUFFER_BINDINGGL_BUFFER_ACCESSGL_BUFFER_MAP_POINTERGL_BUFFER_MAPPEDGL_BUFFER_SIZEGL_BUFFER_USAGEGL_CURRENT_QUERYGL_DYNAMIC_COPYGL_DYNAMIC_DRAWGL_DYNAMIC_READGL_ELEMENT_ARRAY_BUFFERGL_ELEMENT_ARRAY_BUFFER_BINDINGGL_QUERY_COUNTER_BITSGL_QUERY_RESULTGL_QUERY_RESULT_AVAILABLEGL_READ_ONLYGL_READ_WRITEGL_SAMPLES_PASSEDGL_SRC1_ALPHAGL_STATIC_COPYGL_STATIC_DRAWGL_STATIC_READGL_STREAM_COPYGL_STREAM_DRAWGL_STREAM_READGL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDINGGL_WRITE_ONLY

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static native void
glAttachShader(int
the program object to which a shader object will be attached
program
,
int
the shader object that is to be attached
shader
)

Attaches a shader object to a program object.

public static void
glBindAttribLocation(int
the program object in which the association is to be made
program
,
int
the index of the generic vertex attribute to be bound
index
,
ByteBuffer
a null terminated string containing the name of the vertex shader attribute variable to which index is to be bound
name
)

Associates a generic vertex attribute index with a named attribute variable.

public static void
glBindAttribLocation(int
the program object in which the association is to be made
program
,
int
the index of the generic vertex attribute to be bound
index
,
CharSequence
a null terminated string containing the name of the vertex shader attribute variable to which index is to be bound
name
)

Associates a generic vertex attribute index with a named attribute variable.

public static native void
glBlendEquationSeparate(int
the RGB blend equation, how the red, green, and blue components of the source and destination colors are combined. One of:
FUNC_ADDFUNC_SUBTRACTFUNC_REVERSE_SUBTRACTMINMAX
modeRGB
,
int
the alpha blend equation, how the alpha component of the source and destination colors are combined
modeAlpha
)

Sets the RGB blend equation and the alpha blend equation separately.

public static native void
glCompileShader(int
the shader object to be compiled
shader
)

Compiles a shader object.

public static native int
glCreateProgram()

Creates a program object.

public static native int
glCreateShader(int type)

Creates a shader object.

public static native void
glDeleteProgram(int
the program object to be deleted
program
)

Deletes a program object.

public static native void
glDeleteShader(int
the shader object to be deleted
shader
)

Deletes a shader object.

public static native void
glDetachShader(int
the program object from which to detach the shader object
program
,
int
the shader object to be detached
shader
)

Detaches a shader object from a program object to which it is attached.

public static native void
glDisableVertexAttribArray(int
the index of the generic vertex attribute to be disabled
index
)

Disables a generic vertex attribute array.

public static void
glDrawBuffers(IntBuffer
an array of symbolic constants specifying the buffers into which fragment colors or data values will be written. One of:
NONEFRONT_LEFTFRONT_RIGHTBACK_LEFTBACK_RIGHTCOLOR_ATTACHMENT0
GL30.GL_COLOR_ATTACHMENT[1-15]
bufs
)

Specifies a list of color buffers to be drawn into.

public static void
glDrawBuffers(int buf)

Specifies a list of color buffers to be drawn into.

public static void
glDrawBuffers(int[] bufs)

Array version of: DrawBuffers

public static native void
glEnableVertexAttribArray(int
the index of the generic vertex attribute to be enabled
index
)

Enables a generic vertex attribute array.

public static void
glGetActiveAttrib(int
the program object to be queried
program
,
int
the index of the attribute variable to be queried
index
,
IntBuffer
the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed
length
,
IntBuffer
the size of the attribute variable
size
,
IntBuffer
the data type of the attribute variable
type
,
ByteBuffer
a null terminated string containing the name of the attribute variable
name
)

Returns information about an active attribute variable for the specified program object.

public static String
glGetActiveAttrib(int
the program object to be queried
program
,
int
the index of the attribute variable to be queried
index
,
int
the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name
maxLength
,
IntBuffer
the size of the attribute variable
size
,
IntBuffer
the data type of the attribute variable
type
)

Returns information about an active attribute variable for the specified program object.

public static String
glGetActiveAttrib(int
the program object to be queried
program
,
int
the index of the attribute variable to be queried
index
,
IntBuffer
the size of the attribute variable
size
,
IntBuffer
the data type of the attribute variable
type
)

Returns information about an active attribute variable for the specified program object.

public static void
glGetActiveAttrib(int program, int index, int[] length, int[] size, int[] type, ByteBuffer name)

Array version of: GetActiveAttrib

public static void
glGetActiveUniform(int
the program object to be queried
program
,
int
the index of the uniform variable to be queried
index
,
IntBuffer
the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed
length
,
IntBuffer
the size of the uniform variable
size
,
IntBuffer
the data type of the uniform variable
type
,
ByteBuffer
a null terminated string containing the name of the uniform variable
name
)

Returns information about an active uniform variable for the specified program object.

public static String
glGetActiveUniform(int
the program object to be queried
program
,
int
the index of the uniform variable to be queried
index
,
int
the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name
maxLength
,
IntBuffer
the size of the uniform variable
size
,
IntBuffer
the data type of the uniform variable
type
)

Returns information about an active uniform variable for the specified program object.

public static String
glGetActiveUniform(int
the program object to be queried
program
,
int
the index of the uniform variable to be queried
index
,
IntBuffer
the size of the uniform variable
size
,
IntBuffer
the data type of the uniform variable
type
)

Returns information about an active uniform variable for the specified program object.

public static void
glGetActiveUniform(int program, int index, int[] length, int[] size, int[] type, ByteBuffer name)

Array version of: GetActiveUniform

public static void
glGetAttachedShaders(int
the program object to be queried
program
,
IntBuffer
the number of names actually returned in shaders
count
,
IntBuffer
an array that is used to return the names of attached shader objects
shaders
)

Returns the shader objects attached to a program object.

public static void
glGetAttachedShaders(int program, int[] count, int[] shaders)

Array version of: GetAttachedShaders

public static int
glGetAttribLocation(int
the program object to be queried
program
,
ByteBuffer
a null terminated string containing the name of the attribute variable whose location is to be queried
name
)

Returns the location of an attribute variable.

public static int
glGetAttribLocation(int
the program object to be queried
program
,
CharSequence
a null terminated string containing the name of the attribute variable whose location is to be queried
name
)

Returns the location of an attribute variable.

public static int
public static void
glGetProgramInfoLog(int
the program object whose information log is to be queried
program
,
IntBuffer
the length of the string returned in infoLog (excluding the null terminator)
length
,
ByteBuffer
an array of characters that is used to return the information log
infoLog
)

Returns the information log for a program object.

public static String
glGetProgramInfoLog(int
the program object whose information log is to be queried
program
,
int
the size of the character buffer for storing the returned information log
maxLength
)

Returns the information log for a program object.

public static String
glGetProgramInfoLog(int
the program object whose information log is to be queried
program
)

Returns the information log for a program object.

public static void
glGetProgramInfoLog(int program, int[] length, ByteBuffer infoLog)

Array version of: GetProgramInfoLog

public static void
public static void
glGetProgramiv(int program, int pname, int[] params)

Array version of: GetProgramiv

public static int
glGetShaderi(int
the shader object to be queried
shader
,
int pname)

Returns a parameter from a shader object.

public static void
glGetShaderInfoLog(int
the shader object whose information log is to be queried
shader
,
IntBuffer
the length of the string returned in infoLog (excluding the null terminator)
length
,
ByteBuffer
an array of characters that is used to return the information log
infoLog
)

Returns the information log for a shader object.

public static String
glGetShaderInfoLog(int
the shader object whose information log is to be queried
shader
,
int
the size of the character buffer for storing the returned information log
maxLength
)

Returns the information log for a shader object.

public static String
glGetShaderInfoLog(int
the shader object whose information log is to be queried
shader
)

Returns the information log for a shader object.

public static void
glGetShaderInfoLog(int shader, int[] length, ByteBuffer infoLog)

Array version of: GetShaderInfoLog

public static void
glGetShaderiv(int
the shader object to be queried
shader
,
int pname, IntBuffer
the requested object parameter
params
)

Returns a parameter from a shader object.

public static void
glGetShaderiv(int shader, int pname, int[] params)

Array version of: GetShaderiv

public static void
glGetShaderSource(int
the shader object to be queried
shader
,
IntBuffer
the length of the string returned in source (excluding the null terminator)
length
,
ByteBuffer
an array of characters that is used to return the source code string
source
)

Returns the source code string from a shader object.

public static String
glGetShaderSource(int
the shader object to be queried
shader
,
int
the size of the character buffer for storing the returned source code string
maxLength
)

Returns the source code string from a shader object.

public static String
glGetShaderSource(int
the shader object to be queried
shader
)

Returns the source code string from a shader object.

public static void
glGetShaderSource(int shader, int[] length, ByteBuffer source)

Array version of: GetShaderSource

public static float
glGetUniformf(int
the program object to be queried
program
,
int
the location of the uniform variable to be queried
location
)

Returns the float value(s) of a uniform variable.

public static void
glGetUniformfv(int
the program object to be queried
program
,
int
the location of the uniform variable to be queried
location
,
FloatBuffer
the value of the specified uniform variable
params
)

Returns the float value(s) of a uniform variable.

public static void
glGetUniformfv(int program, int location, float[] params)

Array version of: GetUniformfv

public static int
glGetUniformi(int
the program object to be queried
program
,
int
the location of the uniform variable to be queried
location
)

Returns the int value(s) of a uniform variable.

public static void
glGetUniformiv(int
the program object to be queried
program
,
int
the location of the uniform variable to be queried
location
,
IntBuffer
the value of the specified uniform variable
params
)

Returns the int value(s) of a uniform variable.

public static void
glGetUniformiv(int program, int location, int[] params)

Array version of: GetUniformiv

public static int
glGetUniformLocation(int
the program object to be queried
program
,
ByteBuffer
a null terminated string containing the name of the uniform variable whose location is to be queried
name
)

Returns the location of a uniform variable.

public static int
glGetUniformLocation(int
the program object to be queried
program
,
CharSequence
a null terminated string containing the name of the uniform variable whose location is to be queried
name
)

Returns the location of a uniform variable.

public static void
glGetVertexAttribdv(int
the generic vertex attribute parameter to be queried
index
,
int
the symbolic name of the vertex attribute parameter to be queried
pname
,
DoubleBuffer
returns the requested data
params
)

Double version of GetVertexAttribiv.

public static void
glGetVertexAttribdv(int index, int pname, double[] params)

Array version of: GetVertexAttribdv

public static void
glGetVertexAttribfv(int
the generic vertex attribute parameter to be queried
index
,
int
the symbolic name of the vertex attribute parameter to be queried
pname
,
FloatBuffer
returns the requested data
params
)

Float version of GetVertexAttribiv.

public static void
glGetVertexAttribfv(int index, int pname, float[] params)

Array version of: GetVertexAttribfv

public static int
glGetVertexAttribi(int
the generic vertex attribute parameter to be queried
index
,
int pname)

Returns the integer value of a generic vertex attribute parameter.

public static void
glGetVertexAttribiv(int
the generic vertex attribute parameter to be queried
index
,
int pname, IntBuffer
returns the requested data
params
)

Returns the integer value of a generic vertex attribute parameter.

public static void
glGetVertexAttribiv(int index, int pname, int[] params)

Array version of: GetVertexAttribiv

public static long
glGetVertexAttribPointer(int
the generic vertex attribute parameter to be queried
index
,
int
the symbolic name of the generic vertex attribute parameter to be returned. Must be:
VERTEX_ATTRIB_ARRAY_POINTER
pname
)

Returns the address of the specified generic vertex attribute pointer.

public static void
glGetVertexAttribPointerv(int
the generic vertex attribute parameter to be queried
index
,
int
the symbolic name of the generic vertex attribute parameter to be returned. Must be:
VERTEX_ATTRIB_ARRAY_POINTER
pname
,
PointerBuffer
the pointer value
pointer
)

Returns the address of the specified generic vertex attribute pointer.

public static native boolean
glIsProgram(int
the program object name to query
program
)

Returns TRUE if program is the name of a program object.

public static native boolean
glIsShader(int
the shader object name to query
shader
)

Returns TRUE if shader is the name of a shader object.

public static native void
glLinkProgram(int
the program object to be linked
program
)

Links a program object.

public static void
glShaderSource(int
the shader object whose source code is to be replaced
shader
,
PointerBuffer
an array of pointers to strings containing the source code to be loaded into the shader
strings
,
IntBuffer
an array of string lengths
length
)

Sets the source code in shader to the source code in the array of strings specified by strings.

public static void
glShaderSource(int
the shader object whose source code is to be replaced
shader
,
CharSequence...
an array of pointers to strings containing the source code to be loaded into the shader
strings
)

Sets the source code in shader to the source code in the array of strings specified by strings.

public static void
glShaderSource(int
the shader object whose source code is to be replaced
shader
,
CharSequence string)

Sets the source code in shader to the source code in the array of strings specified by strings.

public static void
glShaderSource(int shader, PointerBuffer strings, int[] length)

Array version of: ShaderSource

public static native void
glStencilFuncSeparate(int
whether front and/or back stencil state is updated. One of:
FRONTBACKFRONT_AND_BACK
face
,
int
the test function. The initial value is GL_ALWAYS. One of:
NEVERLESSLEQUALGREATERGEQUALEQUALNOTEQUALALWAYS
func
,
int
the reference value for the stencil test. ref is clamped to the range [0, 2n – 1], where n is the number of bitplanes in the stencil buffer. The initial value is 0.
ref
,
int
a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's.
mask
)

Sets front and/or back function and reference value for stencil testing.

public static native void
glStencilMaskSeparate(int
whether front and/or back stencil writemask is updated. One of:
FRONTBACKFRONT_AND_BACK
face
,
int
a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's.
mask
)

Controls the front and/or back writing of individual bits in the stencil planes.

public static native void
glStencilOpSeparate(int
whether front and/or back stencil state is updated. One of:
FRONTBACKFRONT_AND_BACK
face
,
int
the action to take when the stencil test fails. The initial value is GL_KEEP. One of:
KEEPZEROREPLACEINCRINCR_WRAPDECRDECR_WRAPINVERT
sfail
,
int
the stencil action when the stencil test passes, but the depth test fails. The initial value is GL_KEEP
dpfail
,
int
the stencil action when both the stencil test and the depth test pass, or when the stencil test passes and either there is no depth buffer or depth testing is not enabled. The initial value is GL_KEEP
dppass
)

Sets front and/or back stencil test actions.

public static native void
glUniform1f(int
the location of the uniform variable to be modified
location
,
float
the uniform value
v0
)

Specifies the value of a float uniform variable for the current program object.

public static void
glUniform1fv(int
the location of the uniform variable to be modified
location
,
FloatBuffer
a pointer to an array of count values that will be used to update the specified uniform variable
value
)

Specifies the value of a single float uniform variable or a float uniform variable array for the current program object.

public static void
glUniform1fv(int location, float[] value)

Array version of: Uniform1fv

public static native void
glUniform1i(int
the location of the uniform variable to be modified
location
,
int
the uniform value
v0
)

Specifies the value of an int uniform variable for the current program object.

public static void
glUniform1iv(int
the location of the uniform variable to be modified
location
,
IntBuffer
a pointer to an array of count values that will be used to update the specified uniform variable
value
)

Specifies the value of a single int uniform variable or a int uniform variable array for the current program object.

public static void
glUniform1iv(int location, int[] value)

Array version of: Uniform1iv

public static native void
glUniform2f(int
the location of the uniform variable to be modified
location
,
float
the uniform x value
v0
,
float
the uniform y value
v1
)

Specifies the value of a vec2 uniform variable for the current program object.

public static void
glUniform2fv(int
the location of the uniform variable to be modified
location
,
FloatBuffer
a pointer to an array of count values that will be used to update the specified uniform variable
value
)

Specifies the value of a single vec2 uniform variable or a vec2 uniform variable array for the current program object.

public static void
glUniform2fv(int location, float[] value)

Array version of: Uniform2fv

public static native void
glUniform2i(int
the location of the uniform variable to be modified
location
,
int
the uniform x value
v0
,
int
the uniform y value
v1
)

Specifies the value of an ivec2 uniform variable for the current program object.

public static void
glUniform2iv(int
the location of the uniform variable to be modified
location
,
IntBuffer
a pointer to an array of count values that will be used to update the specified uniform variable
value
)

Specifies the value of a single ivec2 uniform variable or an ivec2 uniform variable array for the current program object.

public static void
glUniform2iv(int location, int[] value)

Array version of: Uniform2iv

public static native void
glUniform3f(int
the location of the uniform variable to be modified
location
,
float
the uniform x value
v0
,
float
the uniform y value
v1
,
float
the uniform z value
v2
)

Specifies the value of a vec3 uniform variable for the current program object.

public static void
glUniform3fv(int
the location of the uniform variable to be modified
location
,
FloatBuffer
a pointer to an array of count values that will be used to update the specified uniform variable
value
)

Specifies the value of a single vec3 uniform variable or a vec3 uniform variable array for the current program object.

public static void
glUniform3fv(int location, float[] value)

Array version of: Uniform3fv

public static native void
glUniform3i(int
the location of the uniform variable to be modified
location
,
int
the uniform x value
v0
,
int
the uniform y value
v1
,
int
the uniform z value
v2
)

Specifies the value of an ivec3 uniform variable for the current program object.

public static void
glUniform3iv(int
the location of the uniform variable to be modified
location
,
IntBuffer
a pointer to an array of count values that will be used to update the specified uniform variable
value
)

Specifies the value of a single ivec3 uniform variable or an ivec3 uniform variable array for the current program object.

public static void
glUniform3iv(int location, int[] value)

Array version of: Uniform3iv

public static native void
glUniform4f(int
the location of the uniform variable to be modified
location
,
float
the uniform x value
v0
,
float
the uniform y value
v1
,
float
the uniform z value
v2
,
float
the uniform w value
v3
)

Specifies the value of a vec4 uniform variable for the current program object.

public static void
glUniform4fv(int
the location of the uniform variable to be modified
location
,
FloatBuffer
a pointer to an array of count values that will be used to update the specified uniform variable
value
)

Specifies the value of a single vec4 uniform variable or a vec4 uniform variable array for the current program object.

public static void
glUniform4fv(int location, float[] value)

Array version of: Uniform4fv

public static native void
glUniform4i(int
the location of the uniform variable to be modified
location
,
int
the uniform x value
v0
,
int
the uniform y value
v1
,
int
the uniform z value
v2
,
int
the uniform w value
v3
)

Specifies the value of an ivec4 uniform variable for the current program object.

public static void
glUniform4iv(int
the location of the uniform variable to be modified
location
,
IntBuffer
a pointer to an array of count values that will be used to update the specified uniform variable
value
)

Specifies the value of a single ivec4 uniform variable or an ivec4 uniform variable array for the current program object.

public static void
glUniform4iv(int location, int[] value)

Array version of: Uniform4iv

public static void
glUniformMatrix2fv(int
the location of the uniform variable to be modified
location
,
boolean
whether to transpose the matrix as the values are loaded into the uniform variable
transpose
,
FloatBuffer
a pointer to an array of count values that will be used to update the specified uniform variable
value
)

Specifies the value of a single mat2 uniform variable or a mat2 uniform variable array for the current program object.

public static void
glUniformMatrix2fv(int location, boolean transpose, float[] value)

Array version of: UniformMatrix2fv

public static void
glUniformMatrix3fv(int
the location of the uniform variable to be modified
location
,
boolean
whether to transpose the matrix as the values are loaded into the uniform variable
transpose
,
FloatBuffer
a pointer to an array of count values that will be used to update the specified uniform variable
value
)

Specifies the value of a single mat3 uniform variable or a mat3 uniform variable array for the current program object.

public static void
glUniformMatrix3fv(int location, boolean transpose, float[] value)

Array version of: UniformMatrix3fv

public static void
glUniformMatrix4fv(int
the location of the uniform variable to be modified
location
,
boolean
whether to transpose the matrix as the values are loaded into the uniform variable
transpose
,
FloatBuffer
a pointer to an array of count values that will be used to update the specified uniform variable
value
)

Specifies the value of a single mat4 uniform variable or a mat4 uniform variable array for the current program object.

public static void
glUniformMatrix4fv(int location, boolean transpose, float[] value)

Array version of: UniformMatrix4fv

public static native void
glUseProgram(int
the program object whose executables are to be used as part of current rendering state
program
)

Installs a program object as part of current rendering state.

public static native void
glValidateProgram(int
the program object to be validated
program
)

Validates a program object.

public static native void
glVertexAttrib1d(int
the index of the generic vertex attribute to be modified
index
,
double
the vertex attribute x component
v0
)

Double version of VertexAttrib1f.

public static void
glVertexAttrib1dv(int
the index of the generic vertex attribute to be modified
index
,
DoubleBuffer
the vertex attribute buffer
v
)

Pointer version of VertexAttrib1d.

public static void
glVertexAttrib1dv(int index, double[] v)

Array version of: VertexAttrib1dv

public static native void
glVertexAttrib1f(int
the index of the generic vertex attribute to be modified
index
,
float
the vertex attribute x component
v0
)

Specifies the value of a generic vertex attribute.

public static void
glVertexAttrib1fv(int
the index of the generic vertex attribute to be modified
index
,
FloatBuffer
the vertex attribute buffer
v
)

Pointer version of VertexAttrib1f.

public static void
glVertexAttrib1fv(int index, float[] v)

Array version of: VertexAttrib1fv

public static native void
glVertexAttrib1s(int
the index of the generic vertex attribute to be modified
index
,
short
the vertex attribute x component
v0
)

Short version of VertexAttrib1f.

public static void
glVertexAttrib1sv(int
the index of the generic vertex attribute to be modified
index
,
ShortBuffer
the vertex attribute buffer
v
)

Pointer version of VertexAttrib1s.

public static void
glVertexAttrib1sv(int index, short[] v)

Array version of: VertexAttrib1sv

public static native void
glVertexAttrib2d(int
the index of the generic vertex attribute to be modified
index
,
double
the vertex attribute x component
v0
,
double
the vertex attribute y component
v1
)

Double version of VertexAttrib2f.

public static void
glVertexAttrib2dv(int
the index of the generic vertex attribute to be modified
index
,
DoubleBuffer
the vertex attribute buffer
v
)

Pointer version of VertexAttrib2d.

public static void
glVertexAttrib2dv(int index, double[] v)

Array version of: VertexAttrib2dv

public static native void
glVertexAttrib2f(int
the index of the generic vertex attribute to be modified
index
,
float
the vertex attribute x component
v0
,
float
the vertex attribute y component
v1
)

Specifies the value of a generic vertex attribute.

public static void
glVertexAttrib2fv(int
the index of the generic vertex attribute to be modified
index
,
FloatBuffer
the vertex attribute buffer
v
)

Pointer version of VertexAttrib2f.

public static void
glVertexAttrib2fv(int index, float[] v)

Array version of: VertexAttrib2fv

public static native void
glVertexAttrib2s(int
the index of the generic vertex attribute to be modified
index
,
short
the vertex attribute x component
v0
,
short
the vertex attribute y component
v1
)

Short version of VertexAttrib2f.

public static void
glVertexAttrib2sv(int
the index of the generic vertex attribute to be modified
index
,
ShortBuffer
the vertex attribute buffer
v
)

Pointer version of VertexAttrib2s.

public static void
glVertexAttrib2sv(int index, short[] v)

Array version of: VertexAttrib2sv

public static native void
glVertexAttrib3d(int
the index of the generic vertex attribute to be modified
index
,
double
the vertex attribute x component
v0
,
double
the vertex attribute y component
v1
,
double
the vertex attribute z component
v2
)

Double version of VertexAttrib3f.

public static void
glVertexAttrib3dv(int
the index of the generic vertex attribute to be modified
index
,
DoubleBuffer
the vertex attribute buffer
v
)

Pointer version of VertexAttrib3d.

public static void
glVertexAttrib3dv(int index, double[] v)

Array version of: VertexAttrib3dv

public static native void
glVertexAttrib3f(int
the index of the generic vertex attribute to be modified
index
,
float
the vertex attribute x component
v0
,
float
the vertex attribute y component
v1
,
float
the vertex attribute z component
v2
)

Specifies the value of a generic vertex attribute.

public static void
glVertexAttrib3fv(int
the index of the generic vertex attribute to be modified
index
,
FloatBuffer
the vertex attribute buffer
v
)

Pointer version of VertexAttrib3f.

public static void
glVertexAttrib3fv(int index, float[] v)

Array version of: VertexAttrib3fv

public static native void
glVertexAttrib3s(int
the index of the generic vertex attribute to be modified
index
,
short
the vertex attribute x component
v0
,
short
the vertex attribute y component
v1
,
short
the vertex attribute z component
v2
)

Short version of VertexAttrib3f.

public static void
glVertexAttrib3sv(int
the index of the generic vertex attribute to be modified
index
,
ShortBuffer
the vertex attribute buffer
v
)

Pointer version of VertexAttrib3s.

public static void
glVertexAttrib3sv(int index, short[] v)

Array version of: VertexAttrib3sv

public static void
glVertexAttrib4bv(int
the index of the generic vertex attribute to be modified
index
,
ByteBuffer
the vertex attribute buffer
v
)

Byte pointer version of VertexAttrib4f.

public static native void
glVertexAttrib4d(int
the index of the generic vertex attribute to be modified
index
,
double
the vertex attribute x component
v0
,
double
the vertex attribute y component
v1
,
double
the vertex attribute z component
v2
,
double
the vertex attribute w component
v3
)

Double version of VertexAttrib4f.

public static void
glVertexAttrib4dv(int
the index of the generic vertex attribute to be modified
index
,
DoubleBuffer
the vertex attribute buffer
v
)

Pointer version of VertexAttrib4d.

public static void
glVertexAttrib4dv(int index, double[] v)

Array version of: VertexAttrib4dv

public static native void
glVertexAttrib4f(int
the index of the generic vertex attribute to be modified
index
,
float
the vertex attribute x component
v0
,
float
the vertex attribute y component
v1
,
float
the vertex attribute z component
v2
,
float
the vertex attribute w component
v3
)

Specifies the value of a generic vertex attribute.

public static void
glVertexAttrib4fv(int
the index of the generic vertex attribute to be modified
index
,
FloatBuffer
the vertex attribute buffer
v
)

Pointer version of VertexAttrib4f.

public static void
glVertexAttrib4fv(int index, float[] v)

Array version of: VertexAttrib4fv

public static void
glVertexAttrib4iv(int
the index of the generic vertex attribute to be modified
index
,
IntBuffer
the vertex attribute buffer
v
)

Integer pointer version of VertexAttrib4f.

public static void
glVertexAttrib4iv(int index, int[] v)

Array version of: VertexAttrib4iv

public static void
glVertexAttrib4Nbv(int
the index of the generic vertex attribute to be modified
index
,
ByteBuffer
the vertex attribute buffer
v
)

Normalized byte pointer version of VertexAttrib4f.

public static void
glVertexAttrib4Niv(int
the index of the generic vertex attribute to be modified
index
,
IntBuffer
the vertex attribute buffer
v
)

Normalized int pointer version of VertexAttrib4f.

public static void
glVertexAttrib4Niv(int index, int[] v)

Array version of: VertexAttrib4Niv

public static void
glVertexAttrib4Nsv(int
the index of the generic vertex attribute to be modified
index
,
ShortBuffer
the vertex attribute buffer
v
)

Normalized short pointer version of VertexAttrib4f.

public static void
glVertexAttrib4Nsv(int index, short[] v)

Array version of: VertexAttrib4Nsv

public static native void
glVertexAttrib4Nub(int
the index of the generic vertex attribute to be modified
index
,
byte
the vertex attribute x component
x
,
byte
the vertex attribute y component
y
,
byte
the vertex attribute z component
z
,
byte
the vertex attribute w component
w
)

Normalized unsigned byte version of VertexAttrib4f.

public static void
glVertexAttrib4Nubv(int
the index of the generic vertex attribute to be modified
index
,
ByteBuffer
the vertex attribute buffer
v
)

Normalized unsigned byte pointer version of VertexAttrib4f.

public static void
glVertexAttrib4Nuiv(int
the index of the generic vertex attribute to be modified
index
,
IntBuffer
the vertex attribute buffer
v
)

Normalized unsigned int pointer version of VertexAttrib4f.

public static void
glVertexAttrib4Nuiv(int index, int[] v)

Array version of: VertexAttrib4Nuiv

public static void
glVertexAttrib4Nusv(int
the index of the generic vertex attribute to be modified
index
,
ShortBuffer
the vertex attribute buffer
v
)

Normalized unsigned short pointer version of VertexAttrib4f.

public static void
glVertexAttrib4Nusv(int index, short[] v)

Array version of: VertexAttrib4Nusv

public static native void
glVertexAttrib4s(int
the index of the generic vertex attribute to be modified
index
,
short
the vertex attribute x component
v0
,
short
the vertex attribute y component
v1
,
short
the vertex attribute z component
v2
,
short
the vertex attribute w component
v3
)

Short version of VertexAttrib4f.

public static void
glVertexAttrib4sv(int
the index of the generic vertex attribute to be modified
index
,
ShortBuffer
the vertex attribute buffer
v
)

Pointer version of VertexAttrib4s.

public static void
glVertexAttrib4sv(int index, short[] v)

Array version of: VertexAttrib4sv

public static void
glVertexAttrib4ubv(int
the index of the generic vertex attribute to be modified
index
,
ByteBuffer
the vertex attribute buffer
v
)

Pointer version of VertexAttrib4Nub.

public static void
glVertexAttrib4uiv(int
the index of the generic vertex attribute to be modified
index
,
IntBuffer
the vertex attribute buffer
v
)

Unsigned int pointer version of VertexAttrib4f.

public static void
glVertexAttrib4uiv(int index, int[] v)

Array version of: VertexAttrib4uiv

public static void
glVertexAttrib4usv(int
the index of the generic vertex attribute to be modified
index
,
ShortBuffer
the vertex attribute buffer
v
)

Unsigned short pointer version of VertexAttrib4f.

public static void
glVertexAttrib4usv(int index, short[] v)

Array version of: VertexAttrib4usv

public static void
glVertexAttribPointer(int
the index of the generic vertex attribute to be modified
index
,
int
the number of values per vertex that are stored in the array. The initial value is 4. One of:
1234BGRA
size
,
int
the data type of each component in the array. The initial value is GL_FLOAT. One of:
BYTEUNSIGNED_BYTESHORTUNSIGNED_SHORTINTUNSIGNED_INTHALF_FLOATFLOAT
DOUBLEUNSIGNED_INT_2_10_10_10_REVINT_2_10_10_10_REVFIXED
type
,
boolean
whether fixed-point data values should be normalized or converted directly as fixed-point values when they are accessed
normalized
,
int
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.
stride
,
ByteBuffer
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 the ARRAY_BUFFER target. The initial value is 0.
pointer
)

Specifies the location and organization of a vertex attribute array.

public static void
glVertexAttribPointer(int
the index of the generic vertex attribute to be modified
index
,
int
the number of values per vertex that are stored in the array. The initial value is 4. One of:
1234BGRA
size
,
int
the data type of each component in the array. The initial value is GL_FLOAT. One of:
BYTEUNSIGNED_BYTESHORTUNSIGNED_SHORTINTUNSIGNED_INTHALF_FLOATFLOAT
DOUBLEUNSIGNED_INT_2_10_10_10_REVINT_2_10_10_10_REVFIXED
type
,
boolean
whether fixed-point data values should be normalized or converted directly as fixed-point values when they are accessed
normalized
,
int
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.
stride
,
long
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 the ARRAY_BUFFER target. The initial value is 0.
pointer
)

Specifies the location and organization of a vertex attribute array.

public static void
glVertexAttribPointer(int
the index of the generic vertex attribute to be modified
index
,
int
the number of values per vertex that are stored in the array. The initial value is 4. One of:
1234BGRA
size
,
int
the data type of each component in the array. The initial value is GL_FLOAT. One of:
BYTEUNSIGNED_BYTESHORTUNSIGNED_SHORTINTUNSIGNED_INTHALF_FLOATFLOAT
DOUBLEUNSIGNED_INT_2_10_10_10_REVINT_2_10_10_10_REVFIXED
type
,
boolean
whether fixed-point data values should be normalized or converted directly as fixed-point values when they are accessed
normalized
,
int
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.
stride
,
ShortBuffer
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 the ARRAY_BUFFER target. The initial value is 0.
pointer
)

Specifies the location and organization of a vertex attribute array.

public static void
glVertexAttribPointer(int
the index of the generic vertex attribute to be modified
index
,
int
the number of values per vertex that are stored in the array. The initial value is 4. One of:
1234BGRA
size
,
int
the data type of each component in the array. The initial value is GL_FLOAT. One of:
BYTEUNSIGNED_BYTESHORTUNSIGNED_SHORTINTUNSIGNED_INTHALF_FLOATFLOAT
DOUBLEUNSIGNED_INT_2_10_10_10_REVINT_2_10_10_10_REVFIXED
type
,
boolean
whether fixed-point data values should be normalized or converted directly as fixed-point values when they are accessed
normalized
,
int
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.
stride
,
IntBuffer
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 the ARRAY_BUFFER target. The initial value is 0.
pointer
)

Specifies the location and organization of a vertex attribute array.

public static void
glVertexAttribPointer(int
the index of the generic vertex attribute to be modified
index
,
int
the number of values per vertex that are stored in the array. The initial value is 4. One of:
1234BGRA
size
,
int
the data type of each component in the array. The initial value is GL_FLOAT. One of:
BYTEUNSIGNED_BYTESHORTUNSIGNED_SHORTINTUNSIGNED_INTHALF_FLOATFLOAT
DOUBLEUNSIGNED_INT_2_10_10_10_REVINT_2_10_10_10_REVFIXED
type
,
boolean
whether fixed-point data values should be normalized or converted directly as fixed-point values when they are accessed
normalized
,
int
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.
stride
,
FloatBuffer
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 the ARRAY_BUFFER target. The initial value is 0.
pointer
)

Specifies the location and organization of a vertex attribute array.

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

Unsafe version of: BindAttribLocation

public static native void
nglDrawBuffers(int
the number of buffers in bufs
n
,
long bufs)

Unsafe version of: DrawBuffers

public static native void
nglGetActiveAttrib(int program, int index, int
the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name
maxLength
,
long length, long size, long type, long name)

Unsafe version of: GetActiveAttrib

public static native void
nglGetActiveUniform(int program, int index, int
the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name
maxLength
,
long length, long size, long type, long name)

Unsafe version of: GetActiveUniform

public static native void
nglGetAttachedShaders(int program, int
the size of the array for storing the returned object names
maxCount
,
long count, long shaders)

Unsafe version of: GetAttachedShaders

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

Unsafe version of: GetAttribLocation

public static native void
nglGetProgramInfoLog(int program, int
the size of the character buffer for storing the returned information log
maxLength
,
long length, long infoLog)

Unsafe version of: GetProgramInfoLog

public static native void
nglGetProgramiv(int program, int pname, long params)

Unsafe version of: GetProgramiv

public static native void
nglGetShaderInfoLog(int shader, int
the size of the character buffer for storing the returned information log
maxLength
,
long length, long infoLog)

Unsafe version of: GetShaderInfoLog

public static native void
nglGetShaderiv(int shader, int pname, long params)

Unsafe version of: GetShaderiv

public static native void
nglGetShaderSource(int shader, int
the size of the character buffer for storing the returned source code string
maxLength
,
long length, long source)

Unsafe version of: GetShaderSource

public static native void
nglGetUniformfv(int program, int location, long params)

Unsafe version of: GetUniformfv

public static native void
nglGetUniformiv(int program, int location, long params)

Unsafe version of: GetUniformiv

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

Unsafe version of: GetUniformLocation

public static native void
nglGetVertexAttribdv(int index, int pname, long params)

Unsafe version of: GetVertexAttribdv

public static native void
nglGetVertexAttribfv(int index, int pname, long params)

Unsafe version of: GetVertexAttribfv

public static native void
nglGetVertexAttribiv(int index, int pname, long params)

Unsafe version of: GetVertexAttribiv

public static native void
nglGetVertexAttribPointerv(int index, int pname, long pointer)

Unsafe version of: GetVertexAttribPointerv

public static native void
nglShaderSource(int shader, int
the number of elements in the string and length arrays
count
,
long strings, long length)

Unsafe version of: ShaderSource

public static native void
nglUniform1fv(int location, int
the number of elements that are to be modified. This should be 1 if the targeted uniform variable is not an array, and 1 or more if it is an array.
count
,
long value)

Unsafe version of: Uniform1fv

public static native void
nglUniform1iv(int location, int
the number of elements that are to be modified. This should be 1 if the targeted uniform variable is not an array, and 1 or more if it is an array.
count
,
long value)

Unsafe version of: Uniform1iv

public static native void
nglUniform2fv(int location, int
the number of elements that are to be modified. This should be 1 if the targeted uniform variable is not an array, and 1 or more if it is an array.
count
,
long value)

Unsafe version of: Uniform2fv

public static native void
nglUniform2iv(int location, int
the number of elements that are to be modified. This should be 1 if the targeted uniform variable is not an array, and 1 or more if it is an array.
count
,
long value)

Unsafe version of: Uniform2iv

public static native void
nglUniform3fv(int location, int
the number of elements that are to be modified. This should be 1 if the targeted uniform variable is not an array, and 1 or more if it is an array.
count
,
long value)

Unsafe version of: Uniform3fv

public static native void
nglUniform3iv(int location, int
the number of elements that are to be modified. This should be 1 if the targeted uniform variable is not an array, and 1 or more if it is an array.
count
,
long value)

Unsafe version of: Uniform3iv

public static native void
nglUniform4fv(int location, int
the number of elements that are to be modified. This should be 1 if the targeted uniform variable is not an array, and 1 or more if it is an array.
count
,
long value)

Unsafe version of: Uniform4fv

public static native void
nglUniform4iv(int location, int
the number of elements that are to be modified. This should be 1 if the targeted uniform variable is not an array, and 1 or more if it is an array.
count
,
long value)

Unsafe version of: Uniform4iv

public static native void
nglUniformMatrix2fv(int location, int
the number of matrices that are to be modified. This should be 1 if the targeted uniform variable is not an array of matrices, and 1 or more if it is an array of matrices.
count
,
boolean transpose, long value)

Unsafe version of: UniformMatrix2fv

public static native void
nglUniformMatrix3fv(int location, int
the number of matrices that are to be modified. This should be 1 if the targeted uniform variable is not an array of matrices, and 1 or more if it is an array of matrices.
count
,
boolean transpose, long value)

Unsafe version of: UniformMatrix3fv

public static native void
nglUniformMatrix4fv(int location, int
the number of matrices that are to be modified. This should be 1 if the targeted uniform variable is not an array of matrices, and 1 or more if it is an array of matrices.
count
,
boolean transpose, long value)

Unsafe version of: UniformMatrix4fv

public static native void
nglVertexAttrib1dv(int index, long v)

Unsafe version of: VertexAttrib1dv

public static native void
nglVertexAttrib1fv(int index, long v)

Unsafe version of: VertexAttrib1fv

public static native void
nglVertexAttrib1sv(int index, long v)

Unsafe version of: VertexAttrib1sv

public static native void
nglVertexAttrib2dv(int index, long v)

Unsafe version of: VertexAttrib2dv

public static native void
nglVertexAttrib2fv(int index, long v)

Unsafe version of: VertexAttrib2fv

public static native void
nglVertexAttrib2sv(int index, long v)

Unsafe version of: VertexAttrib2sv

public static native void
nglVertexAttrib3dv(int index, long v)

Unsafe version of: VertexAttrib3dv

public static native void
nglVertexAttrib3fv(int index, long v)

Unsafe version of: VertexAttrib3fv

public static native void
nglVertexAttrib3sv(int index, long v)

Unsafe version of: VertexAttrib3sv

public static native void
nglVertexAttrib4bv(int index, long v)

Unsafe version of: VertexAttrib4bv

public static native void
nglVertexAttrib4dv(int index, long v)

Unsafe version of: VertexAttrib4dv

public static native void
nglVertexAttrib4fv(int index, long v)

Unsafe version of: VertexAttrib4fv

public static native void
nglVertexAttrib4iv(int index, long v)

Unsafe version of: VertexAttrib4iv

public static native void
nglVertexAttrib4Nbv(int index, long v)

Unsafe version of: VertexAttrib4Nbv

public static native void
nglVertexAttrib4Niv(int index, long v)

Unsafe version of: VertexAttrib4Niv

public static native void
nglVertexAttrib4Nsv(int index, long v)

Unsafe version of: VertexAttrib4Nsv

public static native void
nglVertexAttrib4Nubv(int index, long v)

Unsafe version of: VertexAttrib4Nubv

public static native void
nglVertexAttrib4Nuiv(int index, long v)

Unsafe version of: VertexAttrib4Nuiv

public static native void
nglVertexAttrib4Nusv(int index, long v)

Unsafe version of: VertexAttrib4Nusv

public static native void
nglVertexAttrib4sv(int index, long v)

Unsafe version of: VertexAttrib4sv

public static native void
nglVertexAttrib4ubv(int index, long v)

Unsafe version of: VertexAttrib4ubv

public static native void
nglVertexAttrib4uiv(int index, long v)

Unsafe version of: VertexAttrib4uiv

public static native void
nglVertexAttrib4usv(int index, long v)

Unsafe version of: VertexAttrib4usv

public static native void
nglVertexAttribPointer(int index, int size, int type, boolean normalized, int stride, long pointer)

Unsafe version of: VertexAttribPointer

Inherited from org.lwjgl.opengl.GL15C:
glBeginQueryglBindBufferglBufferDataglBufferDataglBufferDataglBufferDataglBufferDataglBufferDataglBufferDataglBufferDataglBufferDataglBufferDataglBufferDataglBufferDataglBufferSubDataglBufferSubDataglBufferSubDataglBufferSubDataglBufferSubDataglBufferSubDataglBufferSubDataglBufferSubDataglBufferSubDataglBufferSubDataglBufferSubDataglDeleteBuffersglDeleteBuffersglDeleteBuffersglDeleteQueriesglDeleteQueriesglDeleteQueriesglEndQueryglGenBuffersglGenBuffersglGenBuffersglGenQueriesglGenQueriesglGenQueriesglGetBufferParameteriglGetBufferParameterivglGetBufferParameterivglGetBufferPointerglGetBufferPointervglGetBufferSubDataglGetBufferSubDataglGetBufferSubDataglGetBufferSubDataglGetBufferSubDataglGetBufferSubDataglGetBufferSubDataglGetBufferSubDataglGetBufferSubDataglGetBufferSubDataglGetBufferSubDataglGetQueryiglGetQueryivglGetQueryivglGetQueryObjectiglGetQueryObjectivglGetQueryObjectivglGetQueryObjectivglGetQueryObjectuiglGetQueryObjectuivglGetQueryObjectuivglGetQueryObjectuivglIsBufferglIsQueryglMapBufferglMapBufferglMapBufferglUnmapBuffernglBufferDatanglBufferSubDatanglDeleteBuffersnglDeleteQueriesnglGenBuffersnglGenQueriesnglGetBufferParameterivnglGetBufferPointervnglGetBufferSubDatanglGetQueryivnglGetQueryObjectivnglGetQueryObjectuivnglMapBuffer