Top Description Fields Constructors Methods
org.lwjgl.opengl

public Class GL13C

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

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

Extensions promoted to core in this release:

Field Summary

Modifier and TypeField and Description
public static final int
GL_ACTIVE_TEXTURE

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

public static final int
GL_CLAMP_TO_BORDER

Accepted by the param parameter of TexParameteri and TexParameterf, and by the params parameter of TexParameteriv and TexParameterfv, when their pname parameter is TEXTURE_WRAP_S, TEXTURE_WRAP_T, or TEXTURE_WRAP_R.

public static final int
GL_COMPRESSED_RGB

Accepted by the internalformat parameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, and CopyTexImage2D.

public static final int
GL_COMPRESSED_RGBA

Accepted by the internalformat parameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, and CopyTexImage2D.

public static final int
GL_COMPRESSED_TEXTURE_FORMATS

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

public static final int
GL_MAX_CUBE_MAP_TEXTURE_SIZE

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

public static final int
GL_MULTISAMPLE

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

public static final int
GL_NUM_COMPRESSED_TEXTURE_FORMATS

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

public static final int
GL_PROXY_TEXTURE_CUBE_MAP

Accepted by the target parameter of GetTexLevelParameteriv, GetTexLevelParameterfv, GetTexParameteriv, and TexImage2D.

public static final int
GL_SAMPLE_ALPHA_TO_COVERAGE

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

public static final int
GL_SAMPLE_ALPHA_TO_ONE

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

public static final int
GL_SAMPLE_BUFFERS

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

public static final int
GL_SAMPLE_COVERAGE

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

public static final int
GL_SAMPLE_COVERAGE_INVERT

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

public static final int
GL_SAMPLE_COVERAGE_VALUE

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

public static final int
GL_SAMPLES

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

public static final int
GL_TEXTURE0

Accepted by the texture parameter of ActiveTexture and MultiTexCoord.

public static final int
GL_TEXTURE1

Accepted by the texture parameter of ActiveTexture and MultiTexCoord.

public static final int
GL_TEXTURE10

Accepted by the texture parameter of ActiveTexture and MultiTexCoord.

public static final int
GL_TEXTURE11

Accepted by the texture parameter of ActiveTexture and MultiTexCoord.

public static final int
GL_TEXTURE12

Accepted by the texture parameter of ActiveTexture and MultiTexCoord.

public static final int
GL_TEXTURE13

Accepted by the texture parameter of ActiveTexture and MultiTexCoord.

public static final int
GL_TEXTURE14

Accepted by the texture parameter of ActiveTexture and MultiTexCoord.

public static final int
GL_TEXTURE15

Accepted by the texture parameter of ActiveTexture and MultiTexCoord.

public static final int
GL_TEXTURE16

Accepted by the texture parameter of ActiveTexture and MultiTexCoord.

public static final int
GL_TEXTURE17

Accepted by the texture parameter of ActiveTexture and MultiTexCoord.

public static final int
GL_TEXTURE18

Accepted by the texture parameter of ActiveTexture and MultiTexCoord.

public static final int
GL_TEXTURE19

Accepted by the texture parameter of ActiveTexture and MultiTexCoord.

public static final int
GL_TEXTURE2

Accepted by the texture parameter of ActiveTexture and MultiTexCoord.

public static final int
GL_TEXTURE20

Accepted by the texture parameter of ActiveTexture and MultiTexCoord.

public static final int
GL_TEXTURE21

Accepted by the texture parameter of ActiveTexture and MultiTexCoord.

public static final int
GL_TEXTURE22

Accepted by the texture parameter of ActiveTexture and MultiTexCoord.

public static final int
GL_TEXTURE23

Accepted by the texture parameter of ActiveTexture and MultiTexCoord.

public static final int
GL_TEXTURE24

Accepted by the texture parameter of ActiveTexture and MultiTexCoord.

public static final int
GL_TEXTURE25

Accepted by the texture parameter of ActiveTexture and MultiTexCoord.

public static final int
GL_TEXTURE26

Accepted by the texture parameter of ActiveTexture and MultiTexCoord.

public static final int
GL_TEXTURE27

Accepted by the texture parameter of ActiveTexture and MultiTexCoord.

public static final int
GL_TEXTURE28

Accepted by the texture parameter of ActiveTexture and MultiTexCoord.

public static final int
GL_TEXTURE29

Accepted by the texture parameter of ActiveTexture and MultiTexCoord.

public static final int
GL_TEXTURE3

Accepted by the texture parameter of ActiveTexture and MultiTexCoord.

public static final int
GL_TEXTURE30

Accepted by the texture parameter of ActiveTexture and MultiTexCoord.

public static final int
GL_TEXTURE31

Accepted by the texture parameter of ActiveTexture and MultiTexCoord.

public static final int
GL_TEXTURE4

Accepted by the texture parameter of ActiveTexture and MultiTexCoord.

public static final int
GL_TEXTURE5

Accepted by the texture parameter of ActiveTexture and MultiTexCoord.

public static final int
GL_TEXTURE6

Accepted by the texture parameter of ActiveTexture and MultiTexCoord.

public static final int
GL_TEXTURE7

Accepted by the texture parameter of ActiveTexture and MultiTexCoord.

public static final int
GL_TEXTURE8

Accepted by the texture parameter of ActiveTexture and MultiTexCoord.

public static final int
GL_TEXTURE9

Accepted by the texture parameter of ActiveTexture and MultiTexCoord.

public static final int
GL_TEXTURE_BINDING_CUBE_MAP

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

public static final int
GL_TEXTURE_COMPRESSED

Accepted by the value parameter of GetTexLevelParameter.

public static final int
GL_TEXTURE_COMPRESSED_IMAGE_SIZE

Accepted by the value parameter of GetTexLevelParameter.

public static final int
GL_TEXTURE_COMPRESSION_HINT

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

public static final int
GL_TEXTURE_CUBE_MAP

When the pname parameter of TexGendv, TexGenfv, and TexGeniv is TEXTURE_GEN_MODE, then the array params may also contain NORMAL_MAP or REFLECTION_MAP.

public static final int
GL_TEXTURE_CUBE_MAP_NEGATIVE_X

Accepted by the target parameter of GetTexImage, GetTexLevelParameteriv, GetTexLevelParameterfv, TexImage2D, CopyTexImage2D, TexSubImage2D, and CopySubTexImage2D.

public static final int
GL_TEXTURE_CUBE_MAP_NEGATIVE_Y

Accepted by the target parameter of GetTexImage, GetTexLevelParameteriv, GetTexLevelParameterfv, TexImage2D, CopyTexImage2D, TexSubImage2D, and CopySubTexImage2D.

public static final int
GL_TEXTURE_CUBE_MAP_NEGATIVE_Z

Accepted by the target parameter of GetTexImage, GetTexLevelParameteriv, GetTexLevelParameterfv, TexImage2D, CopyTexImage2D, TexSubImage2D, and CopySubTexImage2D.

public static final int
GL_TEXTURE_CUBE_MAP_POSITIVE_X

Accepted by the target parameter of GetTexImage, GetTexLevelParameteriv, GetTexLevelParameterfv, TexImage2D, CopyTexImage2D, TexSubImage2D, and CopySubTexImage2D.

public static final int
GL_TEXTURE_CUBE_MAP_POSITIVE_Y

Accepted by the target parameter of GetTexImage, GetTexLevelParameteriv, GetTexLevelParameterfv, TexImage2D, CopyTexImage2D, TexSubImage2D, and CopySubTexImage2D.

public static final int
GL_TEXTURE_CUBE_MAP_POSITIVE_Z

Accepted by the target parameter of GetTexImage, GetTexLevelParameteriv, GetTexLevelParameterfv, TexImage2D, CopyTexImage2D, TexSubImage2D, and CopySubTexImage2D.

Inherited from org.lwjgl.opengl.GL12C:
GL_ALIASED_LINE_WIDTH_RANGEGL_BGRGL_BGRAGL_CLAMP_TO_EDGEGL_MAX_3D_TEXTURE_SIZEGL_MAX_ELEMENTS_INDICESGL_MAX_ELEMENTS_VERTICESGL_PACK_IMAGE_HEIGHTGL_PACK_SKIP_IMAGESGL_PROXY_TEXTURE_3DGL_SMOOTH_LINE_WIDTH_GRANULARITYGL_SMOOTH_LINE_WIDTH_RANGEGL_SMOOTH_POINT_SIZE_GRANULARITYGL_SMOOTH_POINT_SIZE_RANGEGL_TEXTURE_3DGL_TEXTURE_BASE_LEVELGL_TEXTURE_BINDING_3DGL_TEXTURE_DEPTHGL_TEXTURE_MAX_LEVELGL_TEXTURE_MAX_LODGL_TEXTURE_MIN_LODGL_TEXTURE_WRAP_RGL_UNPACK_IMAGE_HEIGHTGL_UNPACK_SKIP_IMAGESGL_UNSIGNED_BYTE_2_3_3_REVGL_UNSIGNED_BYTE_3_3_2GL_UNSIGNED_INT_10_10_10_2GL_UNSIGNED_INT_2_10_10_10_REVGL_UNSIGNED_INT_8_8_8_8GL_UNSIGNED_INT_8_8_8_8_REVGL_UNSIGNED_SHORT_1_5_5_5_REVGL_UNSIGNED_SHORT_4_4_4_4GL_UNSIGNED_SHORT_4_4_4_4_REVGL_UNSIGNED_SHORT_5_5_5_1GL_UNSIGNED_SHORT_5_6_5GL_UNSIGNED_SHORT_5_6_5_REV

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static native void
glActiveTexture(int
which texture unit to make active. One of:
TEXTURE0GL_TEXTURE[1-31]
texture
)

Selects which texture unit subsequent texture state calls will affect.

public static void
glCompressedTexImage1D(int
the target texture. One of:
TEXTURE_1DPROXY_TEXTURE_1D
target
,
int
the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
level
,
int internalformat, int
the width of the texture image
width
,
int
must be 0
border
,
int
the number of unsigned bytes of image data starting at the address specified by data
imageSize
,
long
a pointer to the compressed image data
data
)

Specifies a one-dimensional texture image in a compressed format.

public static void
public static void
glCompressedTexImage2D(int target, int
the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
level
,
int internalformat, int
the width of the texture image
width
,
int
the height of the texture image
height
,
int
must be 0
border
,
int
the number of unsigned bytes of image data starting at the address specified by data
imageSize
,
long
a pointer to the compressed image data
data
)

Specifies a two-dimensional texture image in a compressed format.

public static void
public static void
glCompressedTexImage3D(int target, int
the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
level
,
int internalformat, int
the width of the texture image
width
,
int
the height of the texture image
height
,
int
the depth of the texture image
depth
,
int
must be 0
border
,
int
the number of unsigned bytes of image data starting at the address specified by data
imageSize
,
long
a pointer to the compressed image data
data
)

Specifies a three-dimensional texture image in a compressed format.

public static void
glCompressedTexImage3D(int target, int
the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
level
,
int internalformat, int
the width of the texture image
width
,
int
the height of the texture image
height
,
int
the depth of the texture image
depth
,
int
must be 0
border
,
ByteBuffer
a pointer to the compressed image data
data
)

Specifies a three-dimensional texture image in a compressed format.

public static void
glCompressedTexSubImage1D(int
the target texture. Must be:
TEXTURE_1D
target
,
int
the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
level
,
int
a texel offset in the x direction within the texture array
xoffset
,
int
the width of the texture subimage
width
,
int format, int
the number of unsigned bytes of image data starting at the address specified by data
imageSize
,
long
a pointer to the compressed image data
data
)

Respecifies only a subregion of an existing 1D texel array, with incoming data stored in a specific compressed image format.

public static void
glCompressedTexSubImage1D(int
the target texture. Must be:
TEXTURE_1D
target
,
int
the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
level
,
int
a texel offset in the x direction within the texture array
xoffset
,
int
the width of the texture subimage
width
,
int format, ByteBuffer
a pointer to the compressed image data
data
)

Respecifies only a subregion of an existing 1D texel array, with incoming data stored in a specific compressed image format.

public static void
glCompressedTexSubImage2D(int target, int
the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
level
,
int
a texel offset in the x direction within the texture array
xoffset
,
int
a texel offset in the y direction within the texture array
yoffset
,
int
the width of the texture subimage
width
,
int
the height of the texture subimage
height
,
int format, int
the number of unsigned bytes of image data starting at the address specified by data
imageSize
,
long
a pointer to the compressed image data
data
)

Respecifies only a rectangular subregion of an existing 2D texel array, with incoming data stored in a specific compressed image format.

public static void
glCompressedTexSubImage2D(int target, int
the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
level
,
int
a texel offset in the x direction within the texture array
xoffset
,
int
a texel offset in the y direction within the texture array
yoffset
,
int
the width of the texture subimage
width
,
int
the height of the texture subimage
height
,
int format, ByteBuffer
a pointer to the compressed image data
data
)

Respecifies only a rectangular subregion of an existing 2D texel array, with incoming data stored in a specific compressed image format.

public static void
glCompressedTexSubImage3D(int target, int
the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
level
,
int
a texel offset in the x direction within the texture array
xoffset
,
int
a texel offset in the y direction within the texture array
yoffset
,
int
a texel offset in the z direction within the texture array
zoffset
,
int
the width of the texture subimage
width
,
int
the height of the texture subimage
height
,
int
the depth of the texture subimage
depth
,
int format, int
the number of unsigned bytes of image data starting at the address specified by data
imageSize
,
long
a pointer to the compressed image data
data
)

Respecifies only a cubic subregion of an existing 3D texel array, with incoming data stored in a specific compressed image format.

public static void
glCompressedTexSubImage3D(int target, int
the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
level
,
int
a texel offset in the x direction within the texture array
xoffset
,
int
a texel offset in the y direction within the texture array
yoffset
,
int
a texel offset in the z direction within the texture array
zoffset
,
int
the width of the texture subimage
width
,
int
the height of the texture subimage
height
,
int
the depth of the texture subimage
depth
,
int format, ByteBuffer
a pointer to the compressed image data
data
)

Respecifies only a cubic subregion of an existing 3D texel array, with incoming data stored in a specific compressed image format.

public static void
glGetCompressedTexImage(int target, int
the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
level
,
ByteBuffer
a buffer in which to return the compressed texture image
pixels
)

Returns a compressed texture image.

public static void
glGetCompressedTexImage(int target, int
the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
level
,
long
a buffer in which to return the compressed texture image
pixels
)

Returns a compressed texture image.

public static native void
glSampleCoverage(float
a sample coverage value. The value is clamped to the range [0, 1]. The initial value is 1.0.
value
,
boolean
if the coverage masks should be inverted. The initial value is false.
invert
)

Specifies multisample coverage parameters.

public static native void
nglCompressedTexImage1D(int target, int level, int internalformat, int width, int border, int
the number of unsigned bytes of image data starting at the address specified by data
imageSize
,
long data)

Unsafe version of: CompressedTexImage1D

public static native void
nglCompressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, int
the number of unsigned bytes of image data starting at the address specified by data
imageSize
,
long data)

Unsafe version of: CompressedTexImage2D

public static native void
nglCompressedTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int
the number of unsigned bytes of image data starting at the address specified by data
imageSize
,
long data)

Unsafe version of: CompressedTexImage3D

public static native void
nglCompressedTexSubImage1D(int target, int level, int xoffset, int width, int format, int
the number of unsigned bytes of image data starting at the address specified by data
imageSize
,
long data)

Unsafe version of: CompressedTexSubImage1D

public static native void
nglCompressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int
the number of unsigned bytes of image data starting at the address specified by data
imageSize
,
long data)

Unsafe version of: CompressedTexSubImage2D

public static native void
nglCompressedTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int
the number of unsigned bytes of image data starting at the address specified by data
imageSize
,
long data)

Unsafe version of: CompressedTexSubImage3D

public static native void
nglGetCompressedTexImage(int target, int level, long pixels)

Unsafe version of: GetCompressedTexImage

Inherited from org.lwjgl.opengl.GL12C:
glCopyTexSubImage3DglDrawRangeElementsglDrawRangeElementsglDrawRangeElementsglDrawRangeElementsglDrawRangeElementsglTexImage3DglTexImage3DglTexImage3DglTexImage3DglTexImage3DglTexImage3DglTexImage3DglTexImage3DglTexImage3DglTexImage3DglTexSubImage3DglTexSubImage3DglTexSubImage3DglTexSubImage3DglTexSubImage3DglTexSubImage3DglTexSubImage3DglTexSubImage3DglTexSubImage3DglTexSubImage3DnglDrawRangeElementsnglTexImage3DnglTexSubImage3D