Class GL12
- java.lang.Object
-
- org.lwjgl.opengl.GL12
-
public class GL12 extends java.lang.ObjectThe 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 intGL_ALIASED_LINE_WIDTH_RANGE
GL_ALIASED_POINT_SIZE_RANGEAliases for smooth points and lines.static intGL_BGR
GL_BGRAAccepted by theformatparameter of DrawPixels, GetTexImage, ReadPixels, TexImage1D, and TexImage2D.static intGL_CLAMP_TO_EDGEAccepted by theparamparameter of TexParameteri and TexParameterf, and by theparamsparameter of TexParameteriv and TexParameterfv, when theirpnameparameter is TEXTURE_WRAP_S, TEXTURE_WRAP_T, or TEXTURE_WRAP_R.static intGL_LIGHT_MODEL_COLOR_CONTROLAccepted by thepnameparameter of LightModel*, and also by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static intGL_MAX_3D_TEXTURE_SIZEAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static intGL_MAX_ELEMENTS_INDICES
GL_MAX_ELEMENTS_VERTICESRecommended maximum amounts of vertex and index data.static intGL_PACK_IMAGE_HEIGHT
GL_PACK_SKIP_IMAGESAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev, and by thepnameparameter of PixelStore.static intGL_PROXY_TEXTURE_3DAccepted by thetargetparameter of TexImage3D, GetTexLevelParameteriv, and GetTexLevelParameterfv.static intGL_RESCALE_NORMALAccepted by thecapparameter of Enable, Disable, and IsEnabled, and by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static intGL_SEPARATE_SPECULAR_COLOR
GL_SINGLE_COLORAccepted by theparamparameter of LightModel* whenpnameis LIGHT_MODEL_COLOR_CONTROL.static intGL_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 intGL_TEXTURE_3DAccepted by thecapparameter of Enable, Disable, and IsEnabled, by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev, and by thetargetparameter of TexImage3D, GetTexImage, GetTexLevelParameteriv, GetTexLevelParameterfv, GetTexParameteriv, and GetTexParameterfv.static intGL_TEXTURE_BASE_LEVELAccepted by thepnameparameter of TexParameteri, TexParameterf, TexParameteriv, TexParameterfv, GetTexParameteriv, and GetTexParameterfv.static intGL_TEXTURE_BINDING_3DAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static intGL_TEXTURE_DEPTHAccepted by thepnameparameter of GetTexLevelParameteriv and GetTexLevelParameterfv.static intGL_TEXTURE_MAX_LEVEL
GL_TEXTURE_MAX_LOD
GL_TEXTURE_MIN_LODAccepted by thepnameparameter of TexParameteri, TexParameterf, TexParameteriv, TexParameterfv, GetTexParameteriv, and GetTexParameterfv.static intGL_TEXTURE_WRAP_RAccepted by thepnameparameter of TexParameteriv, TexParameterfv, GetTexParameteriv, and GetTexParameterfv.static intGL_UNPACK_IMAGE_HEIGHT
GL_UNPACK_SKIP_IMAGESAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev, and by thepnameparameter of PixelStore.static intGL_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 thetypeparameter 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 voidglCopyTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int x, int y, int width, int height)static voidglDrawRangeElements(int mode, int start, int end, java.nio.ByteBuffer indices)static voidglDrawRangeElements(int mode, int start, int end, java.nio.IntBuffer indices)static voidglDrawRangeElements(int mode, int start, int end, int type, java.nio.ByteBuffer indices)static voidglDrawRangeElements(int mode, int start, int end, int count, int type, long indices)static voidglDrawRangeElements(int mode, int start, int end, java.nio.ShortBuffer indices)static voidglTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, java.nio.ByteBuffer pixels)static voidglTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, double[] pixels)static voidglTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, java.nio.DoubleBuffer pixels)static voidglTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, float[] pixels)static voidglTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, java.nio.FloatBuffer pixels)static voidglTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, int[] pixels)static voidglTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, java.nio.IntBuffer pixels)static voidglTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, long pixels)static voidglTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, short[] pixels)static voidglTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, java.nio.ShortBuffer pixels)static voidglTexSubImage3D(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 voidglTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, double[] pixels)static voidglTexSubImage3D(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 voidglTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, float[] pixels)static voidglTexSubImage3D(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 voidglTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, int[] pixels)static voidglTexSubImage3D(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 voidglTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, long pixels)static voidglTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, short[] pixels)static voidglTexSubImage3D(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
public static final int GL_ALIASED_POINT_SIZE_RANGE
Aliases for smooth points and lines.- See Also:
- Constant Field Values
-
GL_ALIASED_LINE_WIDTH_RANGE
public static final int GL_ALIASED_LINE_WIDTH_RANGE
Aliases for smooth points and lines.- See Also:
- Constant Field Values
-
GL_SMOOTH_POINT_SIZE_RANGE
public static final int GL_SMOOTH_POINT_SIZE_RANGE
Aliases for smooth points and lines.- See Also:
- Constant Field Values
-
GL_SMOOTH_POINT_SIZE_GRANULARITY
public static final int GL_SMOOTH_POINT_SIZE_GRANULARITY
Aliases for smooth points and lines.- See Also:
- Constant Field Values
-
GL_SMOOTH_LINE_WIDTH_RANGE
public static final int GL_SMOOTH_LINE_WIDTH_RANGE
Aliases for smooth points and lines.- See Also:
- Constant Field Values
-
GL_SMOOTH_LINE_WIDTH_GRANULARITY
public static final int GL_SMOOTH_LINE_WIDTH_GRANULARITY
Aliases for smooth points and lines.- See Also:
- Constant Field Values
-
GL_TEXTURE_BINDING_3D
public static final int GL_TEXTURE_BINDING_3D
Accepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.- See Also:
- Constant Field Values
-
GL_PACK_SKIP_IMAGES
public static final int GL_PACK_SKIP_IMAGES
Accepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev, and by thepnameparameter of PixelStore.- See Also:
- Constant Field Values
-
GL_PACK_IMAGE_HEIGHT
public static final int GL_PACK_IMAGE_HEIGHT
Accepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev, and by thepnameparameter of PixelStore.- See Also:
- Constant Field Values
-
GL_UNPACK_SKIP_IMAGES
public static final int GL_UNPACK_SKIP_IMAGES
Accepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev, and by thepnameparameter of PixelStore.- See Also:
- Constant Field Values
-
GL_UNPACK_IMAGE_HEIGHT
public static final int GL_UNPACK_IMAGE_HEIGHT
Accepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev, and by thepnameparameter of PixelStore.- See Also:
- Constant Field Values
-
GL_TEXTURE_3D
public static final int GL_TEXTURE_3D
Accepted by thecapparameter of Enable, Disable, and IsEnabled, by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev, and by thetargetparameter of TexImage3D, GetTexImage, GetTexLevelParameteriv, GetTexLevelParameterfv, GetTexParameteriv, and GetTexParameterfv.- See Also:
- Constant Field Values
-
GL_PROXY_TEXTURE_3D
public static final int GL_PROXY_TEXTURE_3D
Accepted by thetargetparameter of TexImage3D, GetTexLevelParameteriv, and GetTexLevelParameterfv.- See Also:
- Constant Field Values
-
GL_TEXTURE_DEPTH
public static final int GL_TEXTURE_DEPTH
Accepted by thepnameparameter of GetTexLevelParameteriv and GetTexLevelParameterfv.- See Also:
- Constant Field Values
-
GL_TEXTURE_WRAP_R
public static final int GL_TEXTURE_WRAP_R
Accepted by thepnameparameter of TexParameteriv, TexParameterfv, GetTexParameteriv, and GetTexParameterfv.- See Also:
- Constant Field Values
-
GL_MAX_3D_TEXTURE_SIZE
public static final int GL_MAX_3D_TEXTURE_SIZE
Accepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.- See Also:
- Constant Field Values
-
GL_BGR
public static final int GL_BGR
Accepted by theformatparameter of DrawPixels, GetTexImage, ReadPixels, TexImage1D, and TexImage2D.- See Also:
- Constant Field Values
-
GL_BGRA
public static final int GL_BGRA
Accepted by theformatparameter of DrawPixels, GetTexImage, ReadPixels, TexImage1D, and TexImage2D.- See Also:
- Constant Field Values
-
GL_UNSIGNED_BYTE_3_3_2
public static final int GL_UNSIGNED_BYTE_3_3_2
Accepted by thetypeparameter of DrawPixels, ReadPixels, TexImage1D, TexImage2D, GetTexImage, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, GetHistogram, GetMinmax, ConvolutionFilter1D, ConvolutionFilter2D, ConvolutionFilter3D, GetConvolutionFilter, SeparableFilter2D, SeparableFilter3D, GetSeparableFilter, ColorTable, GetColorTable, TexImage4D, and TexSubImage4D.- See Also:
- Constant Field Values
-
GL_UNSIGNED_BYTE_2_3_3_REV
public static final int GL_UNSIGNED_BYTE_2_3_3_REV
Accepted by thetypeparameter of DrawPixels, ReadPixels, TexImage1D, TexImage2D, GetTexImage, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, GetHistogram, GetMinmax, ConvolutionFilter1D, ConvolutionFilter2D, ConvolutionFilter3D, GetConvolutionFilter, SeparableFilter2D, SeparableFilter3D, GetSeparableFilter, ColorTable, GetColorTable, TexImage4D, and TexSubImage4D.- See Also:
- Constant Field Values
-
GL_UNSIGNED_SHORT_5_6_5
public static final int GL_UNSIGNED_SHORT_5_6_5
Accepted by thetypeparameter of DrawPixels, ReadPixels, TexImage1D, TexImage2D, GetTexImage, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, GetHistogram, GetMinmax, ConvolutionFilter1D, ConvolutionFilter2D, ConvolutionFilter3D, GetConvolutionFilter, SeparableFilter2D, SeparableFilter3D, GetSeparableFilter, ColorTable, GetColorTable, TexImage4D, and TexSubImage4D.- See Also:
- Constant Field Values
-
GL_UNSIGNED_SHORT_5_6_5_REV
public static final int GL_UNSIGNED_SHORT_5_6_5_REV
Accepted by thetypeparameter of DrawPixels, ReadPixels, TexImage1D, TexImage2D, GetTexImage, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, GetHistogram, GetMinmax, ConvolutionFilter1D, ConvolutionFilter2D, ConvolutionFilter3D, GetConvolutionFilter, SeparableFilter2D, SeparableFilter3D, GetSeparableFilter, ColorTable, GetColorTable, TexImage4D, and TexSubImage4D.- See Also:
- Constant Field Values
-
GL_UNSIGNED_SHORT_4_4_4_4
public static final int GL_UNSIGNED_SHORT_4_4_4_4
Accepted by thetypeparameter of DrawPixels, ReadPixels, TexImage1D, TexImage2D, GetTexImage, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, GetHistogram, GetMinmax, ConvolutionFilter1D, ConvolutionFilter2D, ConvolutionFilter3D, GetConvolutionFilter, SeparableFilter2D, SeparableFilter3D, GetSeparableFilter, ColorTable, GetColorTable, TexImage4D, and TexSubImage4D.- See Also:
- Constant Field Values
-
GL_UNSIGNED_SHORT_4_4_4_4_REV
public static final int GL_UNSIGNED_SHORT_4_4_4_4_REV
Accepted by thetypeparameter of DrawPixels, ReadPixels, TexImage1D, TexImage2D, GetTexImage, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, GetHistogram, GetMinmax, ConvolutionFilter1D, ConvolutionFilter2D, ConvolutionFilter3D, GetConvolutionFilter, SeparableFilter2D, SeparableFilter3D, GetSeparableFilter, ColorTable, GetColorTable, TexImage4D, and TexSubImage4D.- See Also:
- Constant Field Values
-
GL_UNSIGNED_SHORT_5_5_5_1
public static final int GL_UNSIGNED_SHORT_5_5_5_1
Accepted by thetypeparameter of DrawPixels, ReadPixels, TexImage1D, TexImage2D, GetTexImage, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, GetHistogram, GetMinmax, ConvolutionFilter1D, ConvolutionFilter2D, ConvolutionFilter3D, GetConvolutionFilter, SeparableFilter2D, SeparableFilter3D, GetSeparableFilter, ColorTable, GetColorTable, TexImage4D, and TexSubImage4D.- See Also:
- Constant Field Values
-
GL_UNSIGNED_SHORT_1_5_5_5_REV
public static final int GL_UNSIGNED_SHORT_1_5_5_5_REV
Accepted by thetypeparameter of DrawPixels, ReadPixels, TexImage1D, TexImage2D, GetTexImage, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, GetHistogram, GetMinmax, ConvolutionFilter1D, ConvolutionFilter2D, ConvolutionFilter3D, GetConvolutionFilter, SeparableFilter2D, SeparableFilter3D, GetSeparableFilter, ColorTable, GetColorTable, TexImage4D, and TexSubImage4D.- See Also:
- Constant Field Values
-
GL_UNSIGNED_INT_8_8_8_8
public static final int GL_UNSIGNED_INT_8_8_8_8
Accepted by thetypeparameter of DrawPixels, ReadPixels, TexImage1D, TexImage2D, GetTexImage, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, GetHistogram, GetMinmax, ConvolutionFilter1D, ConvolutionFilter2D, ConvolutionFilter3D, GetConvolutionFilter, SeparableFilter2D, SeparableFilter3D, GetSeparableFilter, ColorTable, GetColorTable, TexImage4D, and TexSubImage4D.- See Also:
- Constant Field Values
-
GL_UNSIGNED_INT_8_8_8_8_REV
public static final int GL_UNSIGNED_INT_8_8_8_8_REV
Accepted by thetypeparameter of DrawPixels, ReadPixels, TexImage1D, TexImage2D, GetTexImage, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, GetHistogram, GetMinmax, ConvolutionFilter1D, ConvolutionFilter2D, ConvolutionFilter3D, GetConvolutionFilter, SeparableFilter2D, SeparableFilter3D, GetSeparableFilter, ColorTable, GetColorTable, TexImage4D, and TexSubImage4D.- See Also:
- Constant Field Values
-
GL_UNSIGNED_INT_10_10_10_2
public static final int GL_UNSIGNED_INT_10_10_10_2
Accepted by thetypeparameter of DrawPixels, ReadPixels, TexImage1D, TexImage2D, GetTexImage, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, GetHistogram, GetMinmax, ConvolutionFilter1D, ConvolutionFilter2D, ConvolutionFilter3D, GetConvolutionFilter, SeparableFilter2D, SeparableFilter3D, GetSeparableFilter, ColorTable, GetColorTable, TexImage4D, and TexSubImage4D.- See Also:
- Constant Field Values
-
GL_UNSIGNED_INT_2_10_10_10_REV
public static final int GL_UNSIGNED_INT_2_10_10_10_REV
Accepted by thetypeparameter of DrawPixels, ReadPixels, TexImage1D, TexImage2D, GetTexImage, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, GetHistogram, GetMinmax, ConvolutionFilter1D, ConvolutionFilter2D, ConvolutionFilter3D, GetConvolutionFilter, SeparableFilter2D, SeparableFilter3D, GetSeparableFilter, ColorTable, GetColorTable, TexImage4D, and TexSubImage4D.- See Also:
- Constant Field Values
-
GL_RESCALE_NORMAL
public static final int GL_RESCALE_NORMAL
Accepted by thecapparameter of Enable, Disable, and IsEnabled, and by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.- See Also:
- Constant Field Values
-
GL_LIGHT_MODEL_COLOR_CONTROL
public static final int GL_LIGHT_MODEL_COLOR_CONTROL
Accepted by thepnameparameter of LightModel*, and also by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.- See Also:
- Constant Field Values
-
GL_SINGLE_COLOR
public static final int GL_SINGLE_COLOR
Accepted by theparamparameter of LightModel* whenpnameis LIGHT_MODEL_COLOR_CONTROL.- See Also:
- Constant Field Values
-
GL_SEPARATE_SPECULAR_COLOR
public static final int GL_SEPARATE_SPECULAR_COLOR
Accepted by theparamparameter of LightModel* whenpnameis LIGHT_MODEL_COLOR_CONTROL.- See Also:
- Constant Field Values
-
GL_CLAMP_TO_EDGE
public static final int GL_CLAMP_TO_EDGE
Accepted by theparamparameter of TexParameteri and TexParameterf, and by theparamsparameter of TexParameteriv and TexParameterfv, when theirpnameparameter is TEXTURE_WRAP_S, TEXTURE_WRAP_T, or TEXTURE_WRAP_R.- See Also:
- Constant Field Values
-
GL_TEXTURE_MIN_LOD
public static final int GL_TEXTURE_MIN_LOD
Accepted by thepnameparameter of TexParameteri, TexParameterf, TexParameteriv, TexParameterfv, GetTexParameteriv, and GetTexParameterfv.- See Also:
- Constant Field Values
-
GL_TEXTURE_MAX_LOD
public static final int GL_TEXTURE_MAX_LOD
Accepted by thepnameparameter of TexParameteri, TexParameterf, TexParameteriv, TexParameterfv, GetTexParameteriv, and GetTexParameterfv.- See Also:
- Constant Field Values
-
GL_TEXTURE_BASE_LEVEL
public static final int GL_TEXTURE_BASE_LEVEL
Accepted by thepnameparameter of TexParameteri, TexParameterf, TexParameteriv, TexParameterfv, GetTexParameteriv, and GetTexParameterfv.- See Also:
- Constant Field Values
-
GL_TEXTURE_MAX_LEVEL
public static final int GL_TEXTURE_MAX_LEVEL
Accepted by thepnameparameter of TexParameteri, TexParameterf, TexParameteriv, TexParameterfv, GetTexParameteriv, and GetTexParameterfv.- See Also:
- Constant Field Values
-
GL_MAX_ELEMENTS_VERTICES
public static final int GL_MAX_ELEMENTS_VERTICES
Recommended maximum amounts of vertex and index data.- See Also:
- Constant Field Values
-
GL_MAX_ELEMENTS_INDICES
public static final int GL_MAX_ELEMENTS_INDICES
Recommended maximum amounts of vertex and index data.- See Also:
- Constant Field Values
-
-
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)Specifies a three-dimensional texture image.- Parameters:
target- the texture target. One of:TEXTURE_3DTEXTURE_2D_ARRAYTEXTURE_CUBE_MAP_ARRAYPROXY_TEXTURE_3DPROXY_TEXTURE_2D_ARRAYPROXY_TEXTURE_CUBE_MAP_ARRAYlevel- 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
-
glTexImage3D
public static void glTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, long pixels)Specifies a three-dimensional texture image.- Parameters:
target- the texture target. One of:TEXTURE_3DTEXTURE_2D_ARRAYTEXTURE_CUBE_MAP_ARRAYPROXY_TEXTURE_3DPROXY_TEXTURE_2D_ARRAYPROXY_TEXTURE_CUBE_MAP_ARRAYlevel- 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
-
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.ShortBuffer pixels)ShortBuffer version of:TexImage3D
-
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.IntBuffer pixels)IntBuffer version of:TexImage3D
-
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.FloatBuffer pixels)FloatBuffer version of:TexImage3D
-
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.DoubleBuffer pixels)DoubleBuffer 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, java.nio.ByteBuffer 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_3DTEXTURE_2D_ARRAYTEXTURE_CUBE_MAP_ARRAYlevel- 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
-
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, long 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_3DTEXTURE_2D_ARRAYTEXTURE_CUBE_MAP_ARRAYlevel- 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
-
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.ShortBuffer pixels)ShortBuffer version of:TexSubImage3D
-
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.IntBuffer pixels)IntBuffer version of:TexSubImage3D
-
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.FloatBuffer pixels)FloatBuffer version of:TexSubImage3D
-
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.DoubleBuffer pixels)DoubleBuffer version of:TexSubImage3D
-
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, orborderparameters of the specified texel array, nor is any change made to texel values outside the specified subregion. SeeCopyTexImage2Dfor more details.- Parameters:
target- the texture target. One of:TEXTURE_3DTEXTURE_2D_ARRAYTEXTURE_CUBE_MAP_ARRAYlevel- 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_VERTICESandMAX_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:POINTSLINE_STRIPLINE_LOOPLINESPOLYGONTRIANGLE_STRIPTRIANGLE_FANTRIANGLESQUAD_STRIPQUADSLINES_ADJACENCYLINE_STRIP_ADJACENCYTRIANGLES_ADJACENCYTRIANGLE_STRIP_ADJACENCYPATCHESstart- the minimum array index contained inindicesend- the maximum array index contained inindicescount- the number of elements to be renderedtype- the type of the values inindices. One of:UNSIGNED_BYTEUNSIGNED_SHORTUNSIGNED_INTindices- 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_VERTICESandMAX_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:POINTSLINE_STRIPLINE_LOOPLINESPOLYGONTRIANGLE_STRIPTRIANGLE_FANTRIANGLESQUAD_STRIPQUADSLINES_ADJACENCYLINE_STRIP_ADJACENCYTRIANGLES_ADJACENCYTRIANGLE_STRIP_ADJACENCYPATCHESstart- the minimum array index contained inindicesend- the maximum array index contained inindicestype- the type of the values inindices. One of:UNSIGNED_BYTEUNSIGNED_SHORTUNSIGNED_INTindices- 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)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_VERTICESandMAX_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:POINTSLINE_STRIPLINE_LOOPLINESPOLYGONTRIANGLE_STRIPTRIANGLE_FANTRIANGLESQUAD_STRIPQUADSLINES_ADJACENCYLINE_STRIP_ADJACENCYTRIANGLES_ADJACENCYTRIANGLE_STRIP_ADJACENCYPATCHESstart- the minimum array index contained inindicesend- the maximum array index contained inindicesindices- a pointer to the location where the indices are stored
-
glDrawRangeElements
public static void glDrawRangeElements(int mode, int start, int end, java.nio.ShortBuffer 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_VERTICESandMAX_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:POINTSLINE_STRIPLINE_LOOPLINESPOLYGONTRIANGLE_STRIPTRIANGLE_FANTRIANGLESQUAD_STRIPQUADSLINES_ADJACENCYLINE_STRIP_ADJACENCYTRIANGLES_ADJACENCYTRIANGLE_STRIP_ADJACENCYPATCHESstart- the minimum array index contained inindicesend- the maximum array index contained inindicesindices- a pointer to the location where the indices are stored
-
glDrawRangeElements
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_VERTICESandMAX_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:POINTSLINE_STRIPLINE_LOOPLINESPOLYGONTRIANGLE_STRIPTRIANGLE_FANTRIANGLESQUAD_STRIPQUADSLINES_ADJACENCYLINE_STRIP_ADJACENCYTRIANGLES_ADJACENCYTRIANGLE_STRIP_ADJACENCYPATCHESstart- the minimum array index contained inindicesend- the maximum array index contained inindicesindices- 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)short[] version of:TexImage3D
-
glTexImage3D
public static void glTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, int[] pixels)int[] version of:TexImage3D
-
glTexImage3D
public static void glTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, float[] pixels)float[] version of:TexImage3D
-
glTexImage3D
public static void glTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, double[] pixels)double[] 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)short[] version of:TexSubImage3D
-
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, int[] pixels)int[] version of:TexSubImage3D
-
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, float[] pixels)float[] version of:TexSubImage3D
-
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, double[] pixels)double[] version of:TexSubImage3D
-
-