Package org.lwjgl.opengl
Class GL21
- java.lang.Object
-
- org.lwjgl.opengl.GL21
-
public class GL21 extends java.lang.ObjectThe core OpenGL 2.1 functionality. OpenGL 2.1 implementations must support at least revision 1.20 of the OpenGL Shading Language.Extensions promoted to core in this release:
-
-
Field Summary
Fields Modifier and Type Field and Description static intGL_COMPRESSED_SLUMINANCE
GL_COMPRESSED_SLUMINANCE_ALPHA
GL_COMPRESSED_SRGB
GL_COMPRESSED_SRGB_ALPHAAccepted by theinternalformatparameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, CopyTexImage2D.static intGL_CURRENT_RASTER_SECONDARY_COLORAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static intGL_FLOAT_MAT2x3
GL_FLOAT_MAT2x4
GL_FLOAT_MAT3x2
GL_FLOAT_MAT3x4
GL_FLOAT_MAT4x2
GL_FLOAT_MAT4x3Returned by thetypeparameter of GetActiveUniform.static intGL_PIXEL_PACK_BUFFERAccepted by thetargetparameters of BindBuffer, BufferData, BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData, GetBufferParameteriv, and GetBufferPointerv.static intGL_PIXEL_PACK_BUFFER_BINDINGAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static intGL_PIXEL_UNPACK_BUFFERAccepted by thetargetparameters of BindBuffer, BufferData, BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData, GetBufferParameteriv, and GetBufferPointerv.static intGL_PIXEL_UNPACK_BUFFER_BINDINGAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static intGL_SLUMINANCE
GL_SLUMINANCE_ALPHA
GL_SLUMINANCE8
GL_SLUMINANCE8_ALPHA8
GL_SRGB
GL_SRGB_ALPHA
GL_SRGB8
GL_SRGB8_ALPHA8Accepted by theinternalformatparameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, CopyTexImage2D.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static voidglUniformMatrix2x3fv(int location, boolean transpose, float[] value)static voidglUniformMatrix2x3fv(int location, boolean transpose, java.nio.FloatBuffer value)static voidglUniformMatrix2x4fv(int location, boolean transpose, float[] value)static voidglUniformMatrix2x4fv(int location, boolean transpose, java.nio.FloatBuffer value)static voidglUniformMatrix3x2fv(int location, boolean transpose, float[] value)static voidglUniformMatrix3x2fv(int location, boolean transpose, java.nio.FloatBuffer value)static voidglUniformMatrix3x4fv(int location, boolean transpose, float[] value)static voidglUniformMatrix3x4fv(int location, boolean transpose, java.nio.FloatBuffer value)static voidglUniformMatrix4x2fv(int location, boolean transpose, float[] value)static voidglUniformMatrix4x2fv(int location, boolean transpose, java.nio.FloatBuffer value)static voidglUniformMatrix4x3fv(int location, boolean transpose, float[] value)static voidglUniformMatrix4x3fv(int location, boolean transpose, java.nio.FloatBuffer value)
-
-
-
Field Detail
-
GL_CURRENT_RASTER_SECONDARY_COLOR
Accepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
-
GL_FLOAT_MAT2x3, GL_FLOAT_MAT2x4, GL_FLOAT_MAT3x2, GL_FLOAT_MAT3x4, GL_FLOAT_MAT4x2, GL_FLOAT_MAT4x3
Returned by thetypeparameter of GetActiveUniform.
-
GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER
Accepted by thetargetparameters of BindBuffer, BufferData, BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData, GetBufferParameteriv, and GetBufferPointerv.
-
GL_PIXEL_PACK_BUFFER_BINDING, GL_PIXEL_UNPACK_BUFFER_BINDING
Accepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
-
GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, GL_SRGB8_ALPHA8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SLUMINANCE, GL_SLUMINANCE8, GL_COMPRESSED_SRGB, GL_COMPRESSED_SRGB_ALPHA, GL_COMPRESSED_SLUMINANCE, GL_COMPRESSED_SLUMINANCE_ALPHA
Accepted by theinternalformatparameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, CopyTexImage2D.
-
-
Method Detail
-
glUniformMatrix2x3fv
public static void glUniformMatrix2x3fv(int location, boolean transpose, java.nio.FloatBuffer value)Specifies the value of a single mat2x3 uniform variable or a mat2x3 uniform variable array for the current program object.- Parameters:
location- the location of the uniform variable to be modifiedtranspose- whether to transpose the matrix as the values are loaded into the uniform variablevalue- a pointer to an array ofcountvalues that will be used to update the specified uniform variable
-
glUniformMatrix3x2fv
public static void glUniformMatrix3x2fv(int location, boolean transpose, java.nio.FloatBuffer value)Specifies the value of a single mat3x2 uniform variable or a mat3x2 uniform variable array for the current program object.- Parameters:
location- the location of the uniform variable to be modifiedtranspose- whether to transpose the matrix as the values are loaded into the uniform variablevalue- a pointer to an array ofcountvalues that will be used to update the specified uniform variable
-
glUniformMatrix2x4fv
public static void glUniformMatrix2x4fv(int location, boolean transpose, java.nio.FloatBuffer value)Specifies the value of a single mat2x4 uniform variable or a mat2x4 uniform variable array for the current program object.- Parameters:
location- the location of the uniform variable to be modifiedtranspose- whether to transpose the matrix as the values are loaded into the uniform variablevalue- a pointer to an array ofcountvalues that will be used to update the specified uniform variable
-
glUniformMatrix4x2fv
public static void glUniformMatrix4x2fv(int location, boolean transpose, java.nio.FloatBuffer value)Specifies the value of a single mat4x2 uniform variable or a mat4x2 uniform variable array for the current program object.- Parameters:
location- the location of the uniform variable to be modifiedtranspose- whether to transpose the matrix as the values are loaded into the uniform variablevalue- a pointer to an array ofcountvalues that will be used to update the specified uniform variable
-
glUniformMatrix3x4fv
public static void glUniformMatrix3x4fv(int location, boolean transpose, java.nio.FloatBuffer value)Specifies the value of a single mat3x4 uniform variable or a mat3x4 uniform variable array for the current program object.- Parameters:
location- the location of the uniform variable to be modifiedtranspose- whether to transpose the matrix as the values are loaded into the uniform variablevalue- a pointer to an array ofcountvalues that will be used to update the specified uniform variable
-
glUniformMatrix4x3fv
public static void glUniformMatrix4x3fv(int location, boolean transpose, java.nio.FloatBuffer value)Specifies the value of a single mat4x3 uniform variable or a mat4x3 uniform variable array for the current program object.- Parameters:
location- the location of the uniform variable to be modifiedtranspose- whether to transpose the matrix as the values are loaded into the uniform variablevalue- a pointer to an array ofcountvalues that will be used to update the specified uniform variable
-
glUniformMatrix2x3fv
public static void glUniformMatrix2x3fv(int location, boolean transpose, float[] value)Array version of:UniformMatrix2x3fv
-
glUniformMatrix3x2fv
public static void glUniformMatrix3x2fv(int location, boolean transpose, float[] value)Array version of:UniformMatrix3x2fv
-
glUniformMatrix2x4fv
public static void glUniformMatrix2x4fv(int location, boolean transpose, float[] value)Array version of:UniformMatrix2x4fv
-
glUniformMatrix4x2fv
public static void glUniformMatrix4x2fv(int location, boolean transpose, float[] value)Array version of:UniformMatrix4x2fv
-
glUniformMatrix3x4fv
public static void glUniformMatrix3x4fv(int location, boolean transpose, float[] value)Array version of:UniformMatrix3x4fv
-
glUniformMatrix4x3fv
public static void glUniformMatrix4x3fv(int location, boolean transpose, float[] value)Array version of:UniformMatrix4x3fv
-
-