Extensions promoted to core in this release:
| Modifier and Type | Field and Description |
|---|---|
| public static final int | GL_ACTIVE_ATTRIBUTE_MAX_LENGTH
Accepted by the |
| public static final int | GL_ACTIVE_ATTRIBUTES
Accepted by the |
| public static final int | GL_ACTIVE_UNIFORM_MAX_LENGTH
Accepted by the |
| public static final int | GL_ACTIVE_UNIFORMS
Accepted by the |
| public static final int | GL_ATTACHED_SHADERS
Accepted by the |
| public static final int | GL_BLEND_EQUATION_ALPHA
Accepted by the |
| public static final int | GL_BLEND_EQUATION_RGB
Accepted by the |
| public static final int | GL_BOOL
Returned by the |
| public static final int | GL_BOOL_VEC2
Returned by the |
| public static final int | GL_BOOL_VEC3
Returned by the |
| public static final int | GL_BOOL_VEC4
Returned by the |
| public static final int | GL_COMPILE_STATUS
Accepted by the |
| public static final int | GL_COORD_REPLACE
When the |
| public static final int | GL_CURRENT_PROGRAM
Accepted by the |
| public static final int | GL_CURRENT_VERTEX_ATTRIB
Accepted by the |
| public static final int | GL_DELETE_STATUS
Accepted by the |
| public static final int | GL_DRAW_BUFFER0
Accepted by the |
| public static final int | GL_DRAW_BUFFER1
Accepted by the |
| public static final int | GL_DRAW_BUFFER10
Accepted by the |
| public static final int | GL_DRAW_BUFFER11
Accepted by the |
| public static final int | GL_DRAW_BUFFER12
Accepted by the |
| public static final int | GL_DRAW_BUFFER13
Accepted by the |
| public static final int | GL_DRAW_BUFFER14
Accepted by the |
| public static final int | GL_DRAW_BUFFER15
Accepted by the |
| public static final int | GL_DRAW_BUFFER2
Accepted by the |
| public static final int | GL_DRAW_BUFFER3
Accepted by the |
| public static final int | GL_DRAW_BUFFER4
Accepted by the |
| public static final int | GL_DRAW_BUFFER5
Accepted by the |
| public static final int | GL_DRAW_BUFFER6
Accepted by the |
| public static final int | GL_DRAW_BUFFER7
Accepted by the |
| public static final int | GL_DRAW_BUFFER8
Accepted by the |
| public static final int | GL_DRAW_BUFFER9
Accepted by the |
| public static final int | GL_FLOAT_MAT2
Returned by the |
| public static final int | GL_FLOAT_MAT3
Returned by the |
| public static final int | GL_FLOAT_MAT4
Returned by the |
| public static final int | GL_FLOAT_VEC2
Returned by the |
| public static final int | GL_FLOAT_VEC3
Returned by the |
| public static final int | GL_FLOAT_VEC4
Returned by the |
| public static final int | GL_FRAGMENT_SHADER
Accepted by the |
| public static final int | GL_FRAGMENT_SHADER_DERIVATIVE_HINT
Accepted by the |
| public static final int | GL_INFO_LOG_LENGTH
Accepted by the |
| public static final int | GL_INT_VEC2
Returned by the |
| public static final int | GL_INT_VEC3
Returned by the |
| public static final int | GL_INT_VEC4
Returned by the |
| public static final int | GL_LINK_STATUS
Accepted by the |
| public static final int | GL_LOWER_LEFT
Accepted by the |
| public static final int | GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS
Accepted by the |
| public static final int | GL_MAX_DRAW_BUFFERS
Accepted by the |
| public static final int | GL_MAX_FRAGMENT_UNIFORM_COMPONENTS
Accepted by the |
| public static final int | GL_MAX_TEXTURE_COORDS
Accepted by the |
| public static final int | GL_MAX_TEXTURE_IMAGE_UNITS
Accepted by the |
| public static final int | GL_MAX_VARYING_FLOATS
Accepted by the |
| public static final int | GL_MAX_VERTEX_ATTRIBS
Accepted by the |
| public static final int | GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS
Accepted by the |
| public static final int | GL_MAX_VERTEX_UNIFORM_COMPONENTS
Accepted by the |
| public static final int | GL_POINT_SPRITE
Accepted by the |
| public static final int | GL_POINT_SPRITE_COORD_ORIGIN
Accepted by the |
| public static final int | GL_SAMPLER_1D
Returned by the |
| public static final int | GL_SAMPLER_1D_SHADOW
Returned by the |
| public static final int | GL_SAMPLER_2D
Returned by the |
| public static final int | GL_SAMPLER_2D_SHADOW
Returned by the |
| public static final int | GL_SAMPLER_3D
Returned by the |
| public static final int | GL_SAMPLER_CUBE
Returned by the |
| public static final int | GL_SHADER_SOURCE_LENGTH
Accepted by the |
| public static final int | GL_SHADER_TYPE
Accepted by the |
| public static final int | GL_SHADING_LANGUAGE_VERSION
Accepted by the |
| public static final int | GL_STENCIL_BACK_FAIL
Accepted by the |
| public static final int | GL_STENCIL_BACK_FUNC
Accepted by the |
| public static final int | GL_STENCIL_BACK_PASS_DEPTH_FAIL
Accepted by the |
| public static final int | GL_STENCIL_BACK_PASS_DEPTH_PASS
Accepted by the |
| public static final int | GL_STENCIL_BACK_REF
Accepted by the |
| public static final int | GL_STENCIL_BACK_VALUE_MASK
Accepted by the |
| public static final int | GL_STENCIL_BACK_WRITEMASK
Accepted by the |
| public static final int | GL_UPPER_LEFT
Accepted by the |
| public static final int | GL_VALIDATE_STATUS
Accepted by the |
| public static final int | GL_VERTEX_ATTRIB_ARRAY_ENABLED
Accepted by the |
| public static final int | GL_VERTEX_ATTRIB_ARRAY_NORMALIZED
Accepted by the |
| public static final int | GL_VERTEX_ATTRIB_ARRAY_POINTER
Accepted by the |
| public static final int | GL_VERTEX_ATTRIB_ARRAY_SIZE
Accepted by the |
| public static final int | GL_VERTEX_ATTRIB_ARRAY_STRIDE
Accepted by the |
| public static final int | GL_VERTEX_ATTRIB_ARRAY_TYPE
Accepted by the |
| public static final int | GL_VERTEX_PROGRAM_POINT_SIZE
Accepted by the |
| public static final int | GL_VERTEX_PROGRAM_TWO_SIDE
Accepted by the |
| public static final int | GL_VERTEX_SHADER
Accepted by the |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description | |||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public static 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 name)index is to be boundAssociates 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 name)index is to be boundAssociates a generic vertex attribute index with a named attribute variable. | |||||||||||||||||
| public static void | glBlendEquationSeparate(int
the RGB blend equation, how the red, green, and blue components of the source and destination colors are combined. One of: 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 void | ||||||||||||||||||
| public static int | ||||||||||||||||||
| public static int | glCreateShader(int
the type of shader to be created. One of: type)
Creates a shader object. | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static 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 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: bufs)
Specifies a list of color buffers to be drawn into. | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static 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 length, IntBuffer name (excluding the null terminator) if a value other than
NULL is passedthe 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 maxLength, IntBuffer namethe 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: | |||||||||||||||||
| 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 length, IntBuffer name (excluding the null terminator) if a value other than NULL is passedthe 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 maxLength, IntBuffer namethe 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: | |||||||||||||||||
| public static void | glGetAttachedShaders(int
the program object to be queried program, IntBuffer the number of names actually returned in count, IntBuffer shadersan 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 | ||||||||||||||||||
| 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 | glGetProgrami(int
the program object to be queried program, int the object parameter. One of: pname)Returns a parameter from a program object. | |||||||||||||||||
| public static void | glGetProgramInfoLog(int
the program object whose information log is to be queried program, IntBuffer the length of the string returned in length, ByteBuffer infoLog (excluding the null terminator)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: | |||||||||||||||||
| public static void | glGetProgramiv(int
the program object to be queried program, int the object parameter. One of: pname, IntBuffer the requested object parameter params)Returns a parameter from a program object. | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static int | glGetShaderi(int
the shader object to be queried shader, int the object parameter. One of: 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 length, ByteBuffer infoLog (excluding the null terminator)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 | ||||||||||||||||||
| public static void | glGetShaderiv(int
the shader object to be queried shader, int the object parameter. One of: pname, IntBuffer
the requested object parameter params)Returns a parameter from a shader object. | |||||||||||||||||
| public static void | ||||||||||||||||||
| 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 | ||||||||||||||||||
| 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 | ||||||||||||||||||
| 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 | ||||||||||||||||||
| 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 | |||||||||||||||||
| public static void | ||||||||||||||||||
| 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 | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static int | glGetVertexAttribi(int
the generic vertex attribute parameter to be queried index, int the symbolic name of the vertex attribute parameter to be queried. One of: 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 the symbolic name of the vertex attribute parameter to be queried. One of: pname, IntBuffer returns the requested data params)Returns the integer value of a generic vertex attribute parameter. | |||||||||||||||||
| public static void | ||||||||||||||||||
| 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: 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: pname, PointerBuffer
the pointer value pointer)Returns the address of the specified generic vertex attribute pointer. | |||||||||||||||||
| public static boolean | glIsProgram(int
the program object name to query program)Returns | |||||||||||||||||
| public static boolean | glIsShader(int
the shader object name to query shader)Returns | |||||||||||||||||
| public static void | ||||||||||||||||||
| 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 | |||||||||||||||||
| 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 | |||||||||||||||||
| public static void | glShaderSource(int
the shader object whose source code is to be replaced shader, CharSequence string)Sets the source code in | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | glStencilFuncSeparate(int
whether front and/or back stencil state is updated. One of: face, int func, int
the reference value for the stencil test. ref, int 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.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 void | glStencilMaskSeparate(int
whether front and/or back stencil writemask is updated. One of: 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 void | glStencilOpSeparate(int
whether front and/or back stencil state is updated. One of: face, int 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 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 value)count values that will be used to update the specified uniform variableSpecifies the value of a single float uniform variable or a float uniform variable array for the current program object. | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static 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 value)count values that will be used to update the specified uniform variableSpecifies the value of a single int uniform variable or a int uniform variable array for the current program object. | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static 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 value)count values that will be used to update the specified uniform variableSpecifies the value of a single vec2 uniform variable or a vec2 uniform variable array for the current program object. | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static 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 value)count values that will be used to update the specified uniform variableSpecifies the value of a single ivec2 uniform variable or an ivec2 uniform variable array for the current program object. | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static 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 value)count values that will be used to update the specified uniform variableSpecifies the value of a single vec3 uniform variable or a vec3 uniform variable array for the current program object. | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static 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 value)count values that will be used to update the specified uniform variableSpecifies the value of a single ivec3 uniform variable or an ivec3 uniform variable array for the current program object. | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static 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 value)count values that will be used to update the specified uniform variableSpecifies the value of a single vec4 uniform variable or a vec4 uniform variable array for the current program object. | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static 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 value)count values that will be used to update the specified uniform variableSpecifies the value of a single ivec4 uniform variable or an ivec4 uniform variable array for the current program object. | |||||||||||||||||
| public static void | ||||||||||||||||||
| 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 value)count values that will be used to update the specified uniform variableSpecifies 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: | |||||||||||||||||
| 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 value)count values that will be used to update the specified uniform variableSpecifies 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: | |||||||||||||||||
| 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 value)count values that will be used to update the specified uniform variableSpecifies 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: | |||||||||||||||||
| public static 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 void | ||||||||||||||||||
| public static void | glVertexAttrib1d(int
the index of the generic vertex attribute to be modified index, double the vertex attribute x component v0)Double version of | |||||||||||||||||
| 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 | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static 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 | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | glVertexAttrib1s(int
the index of the generic vertex attribute to be modified index, short the vertex attribute x component v0)Short version of | |||||||||||||||||
| 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 | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static 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 | |||||||||||||||||
| 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 | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static 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 | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static 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 | |||||||||||||||||
| 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 | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static 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 | |||||||||||||||||
| 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 | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static 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 | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static 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 | |||||||||||||||||
| 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 | |||||||||||||||||
| public static void | ||||||||||||||||||
| 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 | |||||||||||||||||
| public static 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 | |||||||||||||||||
| 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 | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static 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 | |||||||||||||||||
| public static void | ||||||||||||||||||
| 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 | |||||||||||||||||
| public static void | ||||||||||||||||||
| 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 | |||||||||||||||||
| 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 | |||||||||||||||||
| public static void | ||||||||||||||||||
| 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 | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static 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 | |||||||||||||||||
| 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 | |||||||||||||||||
| 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 | |||||||||||||||||
| public static void | ||||||||||||||||||
| 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 | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static 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 | |||||||||||||||||
| 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 | |||||||||||||||||
| public static void | ||||||||||||||||||
| 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 | |||||||||||||||||
| 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 | |||||||||||||||||
| public static void | ||||||||||||||||||
| 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 | |||||||||||||||||
| public static void | ||||||||||||||||||
| 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: size, int
the data type of each component in the array. The initial value is GL_FLOAT. One of: 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 pointer)ARRAY_BUFFER target. The initial value is 0.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: size, int
the data type of each component in the array. The initial value is GL_FLOAT. One of: 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 pointer)ARRAY_BUFFER target. The initial value is 0.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: size, int
the data type of each component in the array. The initial value is GL_FLOAT. One of: 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 pointer)ARRAY_BUFFER target. The initial value is 0.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: size, int
the data type of each component in the array. The initial value is GL_FLOAT. One of: 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 pointer)ARRAY_BUFFER target. The initial value is 0.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: size, int
the data type of each component in the array. The initial value is GL_FLOAT. One of: 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 pointer)ARRAY_BUFFER target. The initial value is 0.Specifies the location and organization of a vertex attribute array. | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | nglGetActiveAttrib(int program, int index, int
the maximum number of characters OpenGL is allowed to write in the character buffer indicated by maxLength, long length, long size, long type, long name)nameUnsafe version of: | |||||||||||||||||
| public static void | nglGetActiveUniform(int program, int index, int
the maximum number of characters OpenGL is allowed to write in the character buffer indicated by maxLength, long length, long size, long type, long name)nameUnsafe version of: | |||||||||||||||||
| public static void | nglGetAttachedShaders(int program, int
the size of the array for storing the returned object names maxCount, long count, long shaders)Unsafe version of: | |||||||||||||||||
| public static int | ||||||||||||||||||
| public static 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: | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static 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: | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static 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: | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static int | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | nglGetVertexAttribPointerv(int index, int pname, long pointer)
Unsafe version of: | |||||||||||||||||
| public static void | nglShaderSource(int shader, int
the number of elements in the string and length arrays count, long strings, long length)Unsafe version of: | |||||||||||||||||
| public static 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: | |||||||||||||||||
| public static 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: | |||||||||||||||||
| public static 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: | |||||||||||||||||
| public static 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: | |||||||||||||||||
| public static 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: | |||||||||||||||||
| public static 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: | |||||||||||||||||
| public static 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: | |||||||||||||||||
| public static 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: | |||||||||||||||||
| public static 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: | |||||||||||||||||
| public static 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: | |||||||||||||||||
| public static 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: | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | nglVertexAttribPointer(int index, int size, int type, boolean normalized, int stride, long pointer)
Unsafe version of: |