Class GL12
- java.lang.Object
-
- org.lwjgl.opengl.GL12
-
public class GL12 extends java.lang.Object
The core OpenGL 1.2 functionality.Extensions promoted to core in this release:
- EXT_texture3D
- EXT_bgra
- EXT_packed_pixels
- EXT_rescale_normal
- EXT_separate_specular_color
- SGIS_texture_edge_clamp
- SGIS_texture_lod
- EXT_draw_range_elements
Extensions part of the imaging subset:
-
-
Field Summary
Fields Modifier and Type Field and Description static int
GL_ALIASED_LINE_WIDTH_RANGE
GL_ALIASED_POINT_SIZE_RANGEAliases for smooth points and lines.static int
GL_BGR
GL_BGRAAccepted by theformat
parameter of DrawPixels, GetTexImage, ReadPixels, TexImage1D, and TexImage2D.static int
GL_CLAMP_TO_EDGE
Accepted by theparam
parameter of TexParameteri and TexParameterf, and by theparams
parameter of TexParameteriv and TexParameterfv, when theirpname
parameter is TEXTURE_WRAP_S, TEXTURE_WRAP_T, or TEXTURE_WRAP_R.static int
GL_LIGHT_MODEL_COLOR_CONTROL
Accepted by thepname
parameter of LightModel*, and also by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static int
GL_MAX_3D_TEXTURE_SIZE
Accepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static int
GL_MAX_ELEMENTS_INDICES
GL_MAX_ELEMENTS_VERTICESRecommended maximum amounts of vertex and index data.static int
GL_PACK_IMAGE_HEIGHT
GL_PACK_SKIP_IMAGESAccepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev, and by thepname
parameter of PixelStore.static int
GL_PROXY_TEXTURE_3D
Accepted by thetarget
parameter of TexImage3D, GetTexLevelParameteriv, and GetTexLevelParameterfv.static int
GL_RESCALE_NORMAL
Accepted by thecap
parameter of Enable, Disable, and IsEnabled, and by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static int
GL_SEPARATE_SPECULAR_COLOR
GL_SINGLE_COLORAccepted by theparam
parameter of LightModel* whenpname
is LIGHT_MODEL_COLOR_CONTROL.static int
GL_SMOOTH_LINE_WIDTH_GRANULARITY
GL_SMOOTH_LINE_WIDTH_RANGE
GL_SMOOTH_POINT_SIZE_GRANULARITY
GL_SMOOTH_POINT_SIZE_RANGEAliases for smooth points and lines.static int
GL_TEXTURE_3D
Accepted by thecap
parameter of Enable, Disable, and IsEnabled, by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev, and by thetarget
parameter of TexImage3D, GetTexImage, GetTexLevelParameteriv, GetTexLevelParameterfv, GetTexParameteriv, and GetTexParameterfv.static int
GL_TEXTURE_BASE_LEVEL
Accepted by thepname
parameter of TexParameteri, TexParameterf, TexParameteriv, TexParameterfv, GetTexParameteriv, and GetTexParameterfv.static int
GL_TEXTURE_BINDING_3D
Accepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static int
GL_TEXTURE_DEPTH
Accepted by thepname
parameter of GetTexLevelParameteriv and GetTexLevelParameterfv.static int
GL_TEXTURE_MAX_LEVEL
GL_TEXTURE_MAX_LOD
GL_TEXTURE_MIN_LODAccepted by thepname
parameter of TexParameteri, TexParameterf, TexParameteriv, TexParameterfv, GetTexParameteriv, and GetTexParameterfv.static int
GL_TEXTURE_WRAP_R
Accepted by thepname
parameter of TexParameteriv, TexParameterfv, GetTexParameteriv, and GetTexParameterfv.static int
GL_UNPACK_IMAGE_HEIGHT
GL_UNPACK_SKIP_IMAGESAccepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev, and by thepname
parameter of PixelStore.static int
GL_UNSIGNED_BYTE_2_3_3_REV
GL_UNSIGNED_BYTE_3_3_2
GL_UNSIGNED_INT_10_10_10_2
GL_UNSIGNED_INT_2_10_10_10_REV
GL_UNSIGNED_INT_8_8_8_8
GL_UNSIGNED_INT_8_8_8_8_REV
GL_UNSIGNED_SHORT_1_5_5_5_REV
GL_UNSIGNED_SHORT_4_4_4_4
GL_UNSIGNED_SHORT_4_4_4_4_REV
GL_UNSIGNED_SHORT_5_5_5_1
GL_UNSIGNED_SHORT_5_6_5
GL_UNSIGNED_SHORT_5_6_5_REVAccepted by thetype
parameter of DrawPixels, ReadPixels, TexImage1D, TexImage2D, GetTexImage, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, GetHistogram, GetMinmax, ConvolutionFilter1D, ConvolutionFilter2D, ConvolutionFilter3D, GetConvolutionFilter, SeparableFilter2D, SeparableFilter3D, GetSeparableFilter, ColorTable, GetColorTable, TexImage4D, and TexSubImage4D.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static void
glCopyTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int x, int y, int width, int height)
static void
glDrawRangeElements(int mode, int start, int end, java.nio.ByteBuffer indices)
static void
glDrawRangeElements(int mode, int start, int end, java.nio.IntBuffer indices)
static void
glDrawRangeElements(int mode, int start, int end, int type, java.nio.ByteBuffer indices)
static void
glDrawRangeElements(int mode, int start, int end, int count, int type, long indices)
static void
glDrawRangeElements(int mode, int start, int end, java.nio.ShortBuffer indices)
static void
glTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, java.nio.ByteBuffer pixels)
static void
glTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, double[] pixels)
static void
glTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, java.nio.DoubleBuffer pixels)
static void
glTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, float[] pixels)
static void
glTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, java.nio.FloatBuffer pixels)
static void
glTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, int[] pixels)
static void
glTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, java.nio.IntBuffer pixels)
static void
glTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, long pixels)
static void
glTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, short[] pixels)
static void
glTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, java.nio.ShortBuffer pixels)
static void
glTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, java.nio.ByteBuffer pixels)
static void
glTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, double[] pixels)
static void
glTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, java.nio.DoubleBuffer pixels)
static void
glTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, float[] pixels)
static void
glTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, java.nio.FloatBuffer pixels)
static void
glTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, int[] pixels)
static void
glTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, java.nio.IntBuffer pixels)
static void
glTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, long pixels)
static void
glTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, short[] pixels)
static void
glTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, java.nio.ShortBuffer pixels)
-
-
-
Field Detail
-
GL_ALIASED_POINT_SIZE_RANGE, GL_ALIASED_LINE_WIDTH_RANGE, GL_SMOOTH_POINT_SIZE_RANGE, GL_SMOOTH_POINT_SIZE_GRANULARITY, GL_SMOOTH_LINE_WIDTH_RANGE, GL_SMOOTH_LINE_WIDTH_GRANULARITY
Aliases for smooth points and lines.
-
GL_TEXTURE_BINDING_3D
Accepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
-
GL_PACK_SKIP_IMAGES, GL_PACK_IMAGE_HEIGHT, GL_UNPACK_SKIP_IMAGES, GL_UNPACK_IMAGE_HEIGHT
Accepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev, and by thepname
parameter of PixelStore.
-
GL_TEXTURE_3D
Accepted by thecap
parameter of Enable, Disable, and IsEnabled, by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev, and by thetarget
parameter of TexImage3D, GetTexImage, GetTexLevelParameteriv, GetTexLevelParameterfv, GetTexParameteriv, and GetTexParameterfv.
-
GL_PROXY_TEXTURE_3D
Accepted by thetarget
parameter of TexImage3D, GetTexLevelParameteriv, and GetTexLevelParameterfv.
-
GL_TEXTURE_DEPTH
Accepted by thepname
parameter of GetTexLevelParameteriv and GetTexLevelParameterfv.
-
GL_TEXTURE_WRAP_R
Accepted by thepname
parameter of TexParameteriv, TexParameterfv, GetTexParameteriv, and GetTexParameterfv.
-
GL_MAX_3D_TEXTURE_SIZE
Accepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
-
GL_BGR, GL_BGRA
Accepted by theformat
parameter of DrawPixels, GetTexImage, ReadPixels, TexImage1D, and TexImage2D.
-
GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV
Accepted by thetype
parameter of DrawPixels, ReadPixels, TexImage1D, TexImage2D, GetTexImage, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, GetHistogram, GetMinmax, ConvolutionFilter1D, ConvolutionFilter2D, ConvolutionFilter3D, GetConvolutionFilter, SeparableFilter2D, SeparableFilter3D, GetSeparableFilter, ColorTable, GetColorTable, TexImage4D, and TexSubImage4D.
-
GL_RESCALE_NORMAL
Accepted by thecap
parameter of Enable, Disable, and IsEnabled, and by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
-
GL_LIGHT_MODEL_COLOR_CONTROL
Accepted by thepname
parameter of LightModel*, and also by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
-
GL_SINGLE_COLOR, GL_SEPARATE_SPECULAR_COLOR
Accepted by theparam
parameter of LightModel* whenpname
is LIGHT_MODEL_COLOR_CONTROL.
-
GL_CLAMP_TO_EDGE
Accepted by theparam
parameter of TexParameteri and TexParameterf, and by theparams
parameter of TexParameteriv and TexParameterfv, when theirpname
parameter is TEXTURE_WRAP_S, TEXTURE_WRAP_T, or TEXTURE_WRAP_R.
-
GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_MAX_LEVEL
Accepted by thepname
parameter of TexParameteri, TexParameterf, TexParameteriv, TexParameterfv, GetTexParameteriv, and GetTexParameterfv.
-
GL_MAX_ELEMENTS_VERTICES, GL_MAX_ELEMENTS_INDICES
Recommended maximum amounts of vertex and index data.
-
-
Method Detail
-
glTexImage3D
public static void glTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, java.nio.ByteBuffer pixels) public static void glTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, long pixels) public static void glTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, java.nio.ShortBuffer pixels) public static void glTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, java.nio.IntBuffer pixels) public static void glTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, java.nio.FloatBuffer pixels) public static void glTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, java.nio.DoubleBuffer pixels)
Specifies a three-dimensional texture image.- Parameters:
target
- the texture target. One of:TEXTURE_3D
TEXTURE_2D_ARRAY
TEXTURE_CUBE_MAP_ARRAY
PROXY_TEXTURE_3D
PROXY_TEXTURE_2D_ARRAY
PROXY_TEXTURE_CUBE_MAP_ARRAY
level
- the level-of-detail numberinternalformat
- the texture internal format. One of:width
- the texture widthheight
- the texture heightdepth
- the texture depthborder
- the texture border widthformat
- the texel data format. One of:type
- the texel data type. One of:pixels
- the texel data
-
glTexSubImage3D
public static void glTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, java.nio.ByteBuffer pixels) public static void glTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, long pixels) public static void glTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, java.nio.ShortBuffer pixels) public static void glTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, java.nio.IntBuffer pixels) public static void glTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, java.nio.FloatBuffer pixels) public static void glTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, java.nio.DoubleBuffer pixels)
Respecifies a cubic subregion of an existing 3D texel array. No change is made to the internalformat, width, height, depth, or border parameters of the specified texel array, nor is any change made to texel values outside the specified subregion.- Parameters:
target
- the texture target. One of:TEXTURE_3D
TEXTURE_2D_ARRAY
TEXTURE_CUBE_MAP_ARRAY
level
- the level-of-detail-numberxoffset
- the x coordinate of the texel subregionyoffset
- the y coordinate of the texel subregionzoffset
- the z coordinate of the texel subregionwidth
- the subregion widthheight
- the subregion heightdepth
- the subregion depthformat
- the pixel data format. One of:type
- the pixel data type. One of:pixels
- the pixel data
-
glCopyTexSubImage3D
public static void glCopyTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int x, int y, int width, int height)
Respecifies a rectangular subregion of a slice of an existing 3D texel array. No change is made to theinternalformat
,width
,height
, orborder
parameters of the specified texel array, nor is any change made to texel values outside the specified subregion. SeeCopyTexImage2D
for more details.- Parameters:
target
- the texture target. One of:TEXTURE_3D
TEXTURE_2D_ARRAY
TEXTURE_CUBE_MAP_ARRAY
level
- the level-of-detail numberxoffset
- the x coordinate of the texture subregion to updateyoffset
- the y coordinate of the texture subregion to updatezoffset
- the z coordinate of the texture subregion to updatex
- the left framebuffer pixel coordinatey
- the lower framebuffer pixel coordinatewidth
- the texture subregion widthheight
- the texture subregion height
-
glDrawRangeElements
public static void glDrawRangeElements(int mode, int start, int end, int count, int type, long indices)
A restricted form ofDrawElements
. mode, start, end, and count match the corresponding arguments to glDrawElements, with the additional constraint that all values in the arrays count must lie between start and end, inclusive.Implementations denote recommended maximum amounts of vertex and index data, which may be queried by calling glGet with argument
MAX_ELEMENTS_VERTICES
andMAX_ELEMENTS_INDICES
. If end - start + 1 is greater than the value of GL_MAX_ELEMENTS_VERTICES, or if count is greater than the value of GL_MAX_ELEMENTS_INDICES, then the call may operate at reduced performance. There is no requirement that all vertices in the range start end be referenced. However, the implementation may partially process unused vertices, reducing performance from what could be achieved with an optimal index set.When glDrawRangeElements is called, it uses count sequential elements from an enabled array, starting at start to construct a sequence of geometric primitives. mode specifies what kind of primitives are constructed, and how the array elements construct these primitives. If more than one array is enabled, each is used.
Vertex attributes that are modified by glDrawRangeElements have an unspecified value after glDrawRangeElements returns. Attributes that aren't modified maintain their previous values.
Errors
It is an error for indices to lie outside the range start end, but implementations may not check for this situation. Such indices cause implementation-dependent behavior.
- GL_INVALID_ENUM is generated if mode is not an accepted value.
- GL_INVALID_VALUE is generated if count is negative.
- GL_INVALID_VALUE is generated if end < start.
- GL_INVALID_OPERATION is generated if a geometry shader is active and mode is incompatible with the input primitive type of the geometry shader in the currently installed program object.
- GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to an enabled array or the element array and the buffer object's data store is currently mapped.
- Parameters:
mode
- the kind of primitives to render. One of:POINTS
LINE_STRIP
LINE_LOOP
LINES
POLYGON
TRIANGLE_STRIP
TRIANGLE_FAN
TRIANGLES
QUAD_STRIP
QUADS
LINES_ADJACENCY
LINE_STRIP_ADJACENCY
TRIANGLES_ADJACENCY
TRIANGLE_STRIP_ADJACENCY
PATCHES
start
- the minimum array index contained inindices
end
- the maximum array index contained inindices
count
- the number of elements to be renderedtype
- the type of the values inindices
. One of:UNSIGNED_BYTE
UNSIGNED_SHORT
UNSIGNED_INT
indices
- a pointer to the location where the indices are stored
-
glDrawRangeElements
public static void glDrawRangeElements(int mode, int start, int end, int type, java.nio.ByteBuffer indices)
A restricted form ofDrawElements
. mode, start, end, and count match the corresponding arguments to glDrawElements, with the additional constraint that all values in the arrays count must lie between start and end, inclusive.Implementations denote recommended maximum amounts of vertex and index data, which may be queried by calling glGet with argument
MAX_ELEMENTS_VERTICES
andMAX_ELEMENTS_INDICES
. If end - start + 1 is greater than the value of GL_MAX_ELEMENTS_VERTICES, or if count is greater than the value of GL_MAX_ELEMENTS_INDICES, then the call may operate at reduced performance. There is no requirement that all vertices in the range start end be referenced. However, the implementation may partially process unused vertices, reducing performance from what could be achieved with an optimal index set.When glDrawRangeElements is called, it uses count sequential elements from an enabled array, starting at start to construct a sequence of geometric primitives. mode specifies what kind of primitives are constructed, and how the array elements construct these primitives. If more than one array is enabled, each is used.
Vertex attributes that are modified by glDrawRangeElements have an unspecified value after glDrawRangeElements returns. Attributes that aren't modified maintain their previous values.
Errors
It is an error for indices to lie outside the range start end, but implementations may not check for this situation. Such indices cause implementation-dependent behavior.
- GL_INVALID_ENUM is generated if mode is not an accepted value.
- GL_INVALID_VALUE is generated if count is negative.
- GL_INVALID_VALUE is generated if end < start.
- GL_INVALID_OPERATION is generated if a geometry shader is active and mode is incompatible with the input primitive type of the geometry shader in the currently installed program object.
- GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to an enabled array or the element array and the buffer object's data store is currently mapped.
- Parameters:
mode
- the kind of primitives to render. One of:POINTS
LINE_STRIP
LINE_LOOP
LINES
POLYGON
TRIANGLE_STRIP
TRIANGLE_FAN
TRIANGLES
QUAD_STRIP
QUADS
LINES_ADJACENCY
LINE_STRIP_ADJACENCY
TRIANGLES_ADJACENCY
TRIANGLE_STRIP_ADJACENCY
PATCHES
start
- the minimum array index contained inindices
end
- the maximum array index contained inindices
type
- the type of the values inindices
. One of:UNSIGNED_BYTE
UNSIGNED_SHORT
UNSIGNED_INT
indices
- a pointer to the location where the indices are stored
-
glDrawRangeElements
public static void glDrawRangeElements(int mode, int start, int end, java.nio.ByteBuffer indices) public static void glDrawRangeElements(int mode, int start, int end, java.nio.ShortBuffer indices) public static void glDrawRangeElements(int mode, int start, int end, java.nio.IntBuffer indices)
A restricted form ofDrawElements
. mode, start, end, and count match the corresponding arguments to glDrawElements, with the additional constraint that all values in the arrays count must lie between start and end, inclusive.Implementations denote recommended maximum amounts of vertex and index data, which may be queried by calling glGet with argument
MAX_ELEMENTS_VERTICES
andMAX_ELEMENTS_INDICES
. If end - start + 1 is greater than the value of GL_MAX_ELEMENTS_VERTICES, or if count is greater than the value of GL_MAX_ELEMENTS_INDICES, then the call may operate at reduced performance. There is no requirement that all vertices in the range start end be referenced. However, the implementation may partially process unused vertices, reducing performance from what could be achieved with an optimal index set.When glDrawRangeElements is called, it uses count sequential elements from an enabled array, starting at start to construct a sequence of geometric primitives. mode specifies what kind of primitives are constructed, and how the array elements construct these primitives. If more than one array is enabled, each is used.
Vertex attributes that are modified by glDrawRangeElements have an unspecified value after glDrawRangeElements returns. Attributes that aren't modified maintain their previous values.
Errors
It is an error for indices to lie outside the range start end, but implementations may not check for this situation. Such indices cause implementation-dependent behavior.
- GL_INVALID_ENUM is generated if mode is not an accepted value.
- GL_INVALID_VALUE is generated if count is negative.
- GL_INVALID_VALUE is generated if end < start.
- GL_INVALID_OPERATION is generated if a geometry shader is active and mode is incompatible with the input primitive type of the geometry shader in the currently installed program object.
- GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to an enabled array or the element array and the buffer object's data store is currently mapped.
- Parameters:
mode
- the kind of primitives to render. One of:POINTS
LINE_STRIP
LINE_LOOP
LINES
POLYGON
TRIANGLE_STRIP
TRIANGLE_FAN
TRIANGLES
QUAD_STRIP
QUADS
LINES_ADJACENCY
LINE_STRIP_ADJACENCY
TRIANGLES_ADJACENCY
TRIANGLE_STRIP_ADJACENCY
PATCHES
start
- the minimum array index contained inindices
end
- the maximum array index contained inindices
indices
- a pointer to the location where the indices are stored
-
glTexImage3D
public static void glTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, short[] pixels) public static void glTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, int[] pixels) public static void glTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, float[] pixels) public static void glTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, double[] pixels)
Array version of:TexImage3D
-
glTexSubImage3D
public static void glTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, short[] pixels) public static void glTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, int[] pixels) public static void glTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, float[] pixels) public static void glTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, double[] pixels)
Array version of:TexSubImage3D
-
-