Class GL12
- java.lang.Object
-
- org.lwjgl.opengl.GL11
-
- org.lwjgl.opengl.GL12
-
- Direct Known Subclasses:
GL13
public class GL12 extends GL11
The OpenGL functionality up to version 1.2. Includes the deprecated symbols of the Compatibility Profile.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 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.-
Fields inherited from class org.lwjgl.opengl.GL11
GL_2_BYTES, GL_2D, GL_3_BYTES, GL_3D, GL_3D_COLOR, GL_3D_COLOR_TEXTURE, GL_4_BYTES, GL_4D_COLOR_TEXTURE, GL_ACCUM, GL_ACCUM_ALPHA_BITS, GL_ACCUM_BLUE_BITS, GL_ACCUM_BUFFER_BIT, GL_ACCUM_CLEAR_VALUE, GL_ACCUM_GREEN_BITS, GL_ACCUM_RED_BITS, GL_ADD, GL_ALL_ATTRIB_BITS, GL_ALPHA, GL_ALPHA_BIAS, GL_ALPHA_BITS, GL_ALPHA_SCALE, GL_ALPHA_TEST, GL_ALPHA_TEST_FUNC, GL_ALPHA_TEST_REF, GL_ALPHA12, GL_ALPHA16, GL_ALPHA4, GL_ALPHA8, GL_ALWAYS, GL_AMBIENT, GL_AMBIENT_AND_DIFFUSE, GL_AND, GL_AND_INVERTED, GL_AND_REVERSE, GL_ATTRIB_STACK_DEPTH, GL_AUTO_NORMAL, GL_AUX_BUFFERS, GL_AUX0, GL_AUX1, GL_AUX2, GL_AUX3, GL_BACK, GL_BACK_LEFT, GL_BACK_RIGHT, GL_BITMAP, GL_BITMAP_TOKEN, GL_BLEND, GL_BLEND_DST, GL_BLEND_SRC, GL_BLUE, GL_BLUE_BIAS, GL_BLUE_BITS, GL_BLUE_SCALE, GL_BYTE, GL_C3F_V3F, GL_C4F_N3F_V3F, GL_C4UB_V2F, GL_C4UB_V3F, GL_CCW, GL_CLAMP, GL_CLEAR, GL_CLIENT_ALL_ATTRIB_BITS, GL_CLIENT_ATTRIB_STACK_DEPTH, GL_CLIENT_PIXEL_STORE_BIT, GL_CLIENT_VERTEX_ARRAY_BIT, GL_CLIP_PLANE0, GL_CLIP_PLANE1, GL_CLIP_PLANE2, GL_CLIP_PLANE3, GL_CLIP_PLANE4, GL_CLIP_PLANE5, GL_COEFF, GL_COLOR, GL_COLOR_ARRAY, GL_COLOR_ARRAY_POINTER, GL_COLOR_ARRAY_SIZE, GL_COLOR_ARRAY_STRIDE, GL_COLOR_ARRAY_TYPE, GL_COLOR_BUFFER_BIT, GL_COLOR_CLEAR_VALUE, GL_COLOR_INDEX, GL_COLOR_INDEXES, GL_COLOR_LOGIC_OP, GL_COLOR_MATERIAL, GL_COLOR_MATERIAL_FACE, GL_COLOR_MATERIAL_PARAMETER, GL_COLOR_WRITEMASK, GL_COMPILE, GL_COMPILE_AND_EXECUTE, GL_CONSTANT_ATTENUATION, GL_COPY, GL_COPY_INVERTED, GL_COPY_PIXEL_TOKEN, GL_CULL_FACE, GL_CULL_FACE_MODE, GL_CURRENT_BIT, GL_CURRENT_COLOR, GL_CURRENT_INDEX, GL_CURRENT_NORMAL, GL_CURRENT_RASTER_COLOR, GL_CURRENT_RASTER_DISTANCE, GL_CURRENT_RASTER_INDEX, GL_CURRENT_RASTER_POSITION, GL_CURRENT_RASTER_POSITION_VALID, GL_CURRENT_RASTER_TEXTURE_COORDS, GL_CURRENT_TEXTURE_COORDS, GL_CW, GL_DECAL, GL_DECR, GL_DEPTH, GL_DEPTH_BIAS, GL_DEPTH_BITS, GL_DEPTH_BUFFER_BIT, GL_DEPTH_CLEAR_VALUE, GL_DEPTH_COMPONENT, GL_DEPTH_FUNC, GL_DEPTH_RANGE, GL_DEPTH_SCALE, GL_DEPTH_TEST, GL_DEPTH_WRITEMASK, GL_DIFFUSE, GL_DITHER, GL_DOMAIN, GL_DONT_CARE, GL_DOUBLE, GL_DOUBLEBUFFER, GL_DRAW_BUFFER, GL_DRAW_PIXEL_TOKEN, GL_DST_ALPHA, GL_DST_COLOR, GL_EDGE_FLAG, GL_EDGE_FLAG_ARRAY, GL_EDGE_FLAG_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_STRIDE, GL_EMISSION, GL_ENABLE_BIT, GL_EQUAL, GL_EQUIV, GL_EVAL_BIT, GL_EXP, GL_EXP2, GL_EXTENSIONS, GL_EYE_LINEAR, GL_EYE_PLANE, GL_FALSE, GL_FASTEST, GL_FEEDBACK, GL_FEEDBACK_BUFFER_POINTER, GL_FEEDBACK_BUFFER_SIZE, GL_FEEDBACK_BUFFER_TYPE, GL_FILL, GL_FLAT, GL_FLOAT, GL_FOG, GL_FOG_BIT, GL_FOG_COLOR, GL_FOG_DENSITY, GL_FOG_END, GL_FOG_HINT, GL_FOG_INDEX, GL_FOG_MODE, GL_FOG_START, GL_FRONT, GL_FRONT_AND_BACK, GL_FRONT_FACE, GL_FRONT_LEFT, GL_FRONT_RIGHT, GL_GEQUAL, GL_GREATER, GL_GREEN, GL_GREEN_BIAS, GL_GREEN_BITS, GL_GREEN_SCALE, GL_HINT_BIT, GL_INCR, GL_INDEX_ARRAY, GL_INDEX_ARRAY_POINTER, GL_INDEX_ARRAY_STRIDE, GL_INDEX_ARRAY_TYPE, GL_INDEX_BITS, GL_INDEX_CLEAR_VALUE, GL_INDEX_LOGIC_OP, GL_INDEX_MODE, GL_INDEX_OFFSET, GL_INDEX_SHIFT, GL_INDEX_WRITEMASK, GL_INT, GL_INTENSITY, GL_INTENSITY12, GL_INTENSITY16, GL_INTENSITY4, GL_INTENSITY8, GL_INVALID_ENUM, GL_INVALID_OPERATION, GL_INVALID_VALUE, GL_INVERT, GL_KEEP, GL_LEFT, GL_LEQUAL, GL_LESS, GL_LIGHT_MODEL_AMBIENT, GL_LIGHT_MODEL_LOCAL_VIEWER, GL_LIGHT_MODEL_TWO_SIDE, GL_LIGHT0, GL_LIGHT1, GL_LIGHT2, GL_LIGHT3, GL_LIGHT4, GL_LIGHT5, GL_LIGHT6, GL_LIGHT7, GL_LIGHTING, GL_LIGHTING_BIT, GL_LINE, GL_LINE_BIT, GL_LINE_LOOP, GL_LINE_RESET_TOKEN, GL_LINE_SMOOTH, GL_LINE_SMOOTH_HINT, GL_LINE_STIPPLE, GL_LINE_STIPPLE_PATTERN, GL_LINE_STIPPLE_REPEAT, GL_LINE_STRIP, GL_LINE_TOKEN, GL_LINE_WIDTH, GL_LINE_WIDTH_GRANULARITY, GL_LINE_WIDTH_RANGE, GL_LINEAR, GL_LINEAR_ATTENUATION, GL_LINEAR_MIPMAP_LINEAR, GL_LINEAR_MIPMAP_NEAREST, GL_LINES, GL_LIST_BASE, GL_LIST_BIT, GL_LIST_INDEX, GL_LIST_MODE, GL_LOAD, GL_LOGIC_OP, GL_LOGIC_OP_MODE, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_LUMINANCE12, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE16, GL_LUMINANCE16_ALPHA16, GL_LUMINANCE4, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8, GL_LUMINANCE8_ALPHA8, GL_MAP_COLOR, GL_MAP_STENCIL, GL_MAP1_COLOR_4, GL_MAP1_GRID_DOMAIN, GL_MAP1_GRID_SEGMENTS, GL_MAP1_INDEX, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, GL_MAP1_TEXTURE_COORD_4, GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP2_COLOR_4, GL_MAP2_GRID_DOMAIN, GL_MAP2_GRID_SEGMENTS, GL_MAP2_INDEX, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, GL_MAP2_TEXTURE_COORD_4, GL_MAP2_VERTEX_3, GL_MAP2_VERTEX_4, GL_MATRIX_MODE, GL_MAX_ATTRIB_STACK_DEPTH, GL_MAX_CLIENT_ATTRIB_STACK_DEPTH, GL_MAX_CLIP_PLANES, GL_MAX_EVAL_ORDER, GL_MAX_LIGHTS, GL_MAX_LIST_NESTING, GL_MAX_MODELVIEW_STACK_DEPTH, GL_MAX_NAME_STACK_DEPTH, GL_MAX_PIXEL_MAP_TABLE, GL_MAX_PROJECTION_STACK_DEPTH, GL_MAX_TEXTURE_SIZE, GL_MAX_TEXTURE_STACK_DEPTH, GL_MAX_VIEWPORT_DIMS, GL_MODELVIEW, GL_MODELVIEW_MATRIX, GL_MODELVIEW_STACK_DEPTH, GL_MODULATE, GL_MULT, GL_N3F_V3F, GL_NAME_STACK_DEPTH, GL_NAND, GL_NEAREST, GL_NEAREST_MIPMAP_LINEAR, GL_NEAREST_MIPMAP_NEAREST, GL_NEVER, GL_NICEST, GL_NO_ERROR, GL_NONE, GL_NOOP, GL_NOR, GL_NORMAL_ARRAY, GL_NORMAL_ARRAY_POINTER, GL_NORMAL_ARRAY_STRIDE, GL_NORMAL_ARRAY_TYPE, GL_NORMALIZE, GL_NOTEQUAL, GL_OBJECT_LINEAR, GL_OBJECT_PLANE, GL_ONE, GL_ONE_MINUS_DST_ALPHA, GL_ONE_MINUS_DST_COLOR, GL_ONE_MINUS_SRC_ALPHA, GL_ONE_MINUS_SRC_COLOR, GL_OR, GL_OR_INVERTED, GL_OR_REVERSE, GL_ORDER, GL_OUT_OF_MEMORY, GL_PACK_ALIGNMENT, GL_PACK_LSB_FIRST, GL_PACK_ROW_LENGTH, GL_PACK_SKIP_PIXELS, GL_PACK_SKIP_ROWS, GL_PACK_SWAP_BYTES, GL_PASS_THROUGH_TOKEN, GL_PERSPECTIVE_CORRECTION_HINT, GL_PIXEL_MAP_A_TO_A, GL_PIXEL_MAP_A_TO_A_SIZE, GL_PIXEL_MAP_B_TO_B, GL_PIXEL_MAP_B_TO_B_SIZE, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_G_TO_G_SIZE, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_I_TO_A_SIZE, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_B_SIZE, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_G_SIZE, GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_I_TO_I_SIZE, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_R_SIZE, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_R_TO_R_SIZE, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_S_TO_S_SIZE, GL_PIXEL_MODE_BIT, GL_POINT, GL_POINT_BIT, GL_POINT_SIZE, GL_POINT_SIZE_GRANULARITY, GL_POINT_SIZE_RANGE, GL_POINT_SMOOTH, GL_POINT_SMOOTH_HINT, GL_POINT_TOKEN, GL_POINTS, GL_POLYGON, GL_POLYGON_BIT, GL_POLYGON_MODE, GL_POLYGON_OFFSET_FACTOR, GL_POLYGON_OFFSET_FILL, GL_POLYGON_OFFSET_LINE, GL_POLYGON_OFFSET_POINT, GL_POLYGON_OFFSET_UNITS, GL_POLYGON_SMOOTH, GL_POLYGON_SMOOTH_HINT, GL_POLYGON_STIPPLE, GL_POLYGON_STIPPLE_BIT, GL_POLYGON_TOKEN, GL_POSITION, GL_PROJECTION, GL_PROJECTION_MATRIX, GL_PROJECTION_STACK_DEPTH, GL_PROXY_TEXTURE_1D, GL_PROXY_TEXTURE_2D, GL_Q, GL_QUAD_STRIP, GL_QUADRATIC_ATTENUATION, GL_QUADS, GL_R, GL_R3_G3_B2, GL_READ_BUFFER, GL_RED, GL_RED_BIAS, GL_RED_BITS, GL_RED_SCALE, GL_RENDER, GL_RENDER_MODE, GL_RENDERER, GL_REPEAT, GL_REPLACE, GL_RETURN, GL_RGB, GL_RGB10, GL_RGB10_A2, GL_RGB12, GL_RGB16, GL_RGB4, GL_RGB5, GL_RGB5_A1, GL_RGB8, GL_RGBA, GL_RGBA_MODE, GL_RGBA12, GL_RGBA16, GL_RGBA2, GL_RGBA4, GL_RGBA8, GL_RIGHT, GL_S, GL_SCISSOR_BIT, GL_SCISSOR_BOX, GL_SCISSOR_TEST, GL_SELECT, GL_SELECTION_BUFFER_POINTER, GL_SELECTION_BUFFER_SIZE, GL_SET, GL_SHADE_MODEL, GL_SHININESS, GL_SHORT, GL_SMOOTH, GL_SPECULAR, GL_SPHERE_MAP, GL_SPOT_CUTOFF, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SRC_ALPHA, GL_SRC_ALPHA_SATURATE, GL_SRC_COLOR, GL_STACK_OVERFLOW, GL_STACK_UNDERFLOW, GL_STENCIL, GL_STENCIL_BITS, GL_STENCIL_BUFFER_BIT, GL_STENCIL_CLEAR_VALUE, GL_STENCIL_FAIL, GL_STENCIL_FUNC, GL_STENCIL_INDEX, GL_STENCIL_PASS_DEPTH_FAIL, GL_STENCIL_PASS_DEPTH_PASS, GL_STENCIL_REF, GL_STENCIL_TEST, GL_STENCIL_VALUE_MASK, GL_STENCIL_WRITEMASK, GL_STEREO, GL_SUBPIXEL_BITS, GL_T, GL_T2F_C3F_V3F, GL_T2F_C4F_N3F_V3F, GL_T2F_C4UB_V3F, GL_T2F_N3F_V3F, GL_T2F_V3F, GL_T4F_C4F_N3F_V4F, GL_T4F_V4F, GL_TEXTURE, GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_ALPHA_SIZE, GL_TEXTURE_BINDING_1D, GL_TEXTURE_BINDING_2D, GL_TEXTURE_BIT, GL_TEXTURE_BLUE_SIZE, GL_TEXTURE_BORDER, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPONENTS, GL_TEXTURE_COORD_ARRAY, GL_TEXTURE_COORD_ARRAY_POINTER, GL_TEXTURE_COORD_ARRAY_SIZE, GL_TEXTURE_COORD_ARRAY_STRIDE, GL_TEXTURE_COORD_ARRAY_TYPE, GL_TEXTURE_ENV, GL_TEXTURE_ENV_COLOR, GL_TEXTURE_ENV_MODE, GL_TEXTURE_GEN_MODE, GL_TEXTURE_GEN_Q, GL_TEXTURE_GEN_R, GL_TEXTURE_GEN_S, GL_TEXTURE_GEN_T, GL_TEXTURE_GREEN_SIZE, GL_TEXTURE_HEIGHT, GL_TEXTURE_INTENSITY_SIZE, GL_TEXTURE_INTERNAL_FORMAT, GL_TEXTURE_LUMINANCE_SIZE, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MATRIX, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_PRIORITY, GL_TEXTURE_RED_SIZE, GL_TEXTURE_RESIDENT, GL_TEXTURE_STACK_DEPTH, GL_TEXTURE_WIDTH, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TRANSFORM_BIT, GL_TRIANGLE_FAN, GL_TRIANGLE_STRIP, GL_TRIANGLES, GL_TRUE, GL_UNPACK_ALIGNMENT, GL_UNPACK_LSB_FIRST, GL_UNPACK_ROW_LENGTH, GL_UNPACK_SKIP_PIXELS, GL_UNPACK_SKIP_ROWS, GL_UNPACK_SWAP_BYTES, GL_UNSIGNED_BYTE, GL_UNSIGNED_INT, GL_UNSIGNED_SHORT, GL_V2F, GL_V3F, GL_VENDOR, GL_VERSION, GL_VERTEX_ARRAY, GL_VERTEX_ARRAY_POINTER, GL_VERTEX_ARRAY_SIZE, GL_VERTEX_ARRAY_STRIDE, GL_VERTEX_ARRAY_TYPE, GL_VIEWPORT, GL_VIEWPORT_BIT, GL_XOR, GL_ZERO, GL_ZOOM_X, GL_ZOOM_Y
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.static void
glDrawRangeElements(int mode, int start, int end, int count, int type, long indices)
A restricted form ofDrawElements
.static void
glDrawRangeElements(int mode, int start, int end, int type, java.nio.ByteBuffer indices)
A restricted form ofDrawElements
.static void
glDrawRangeElements(int mode, int start, int end, java.nio.ByteBuffer indices)
A restricted form ofDrawElements
.static void
glDrawRangeElements(int mode, int start, int end, java.nio.IntBuffer indices)
A restricted form ofDrawElements
.static void
glDrawRangeElements(int mode, int start, int end, java.nio.ShortBuffer indices)
A restricted form ofDrawElements
.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
static void
glTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, float[] pixels)
Array version of:TexImage3D
static void
glTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, int[] pixels)
Array version of:TexImage3D
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.static void
glTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, short[] pixels)
Array version of:TexImage3D
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.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.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)
Specifies a three-dimensional texture image.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)
Specifies a three-dimensional texture image.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)
Specifies a three-dimensional texture image.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
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)
Array version of:TexSubImage3D
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)
Array version of:TexSubImage3D
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.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)
Array version of:TexSubImage3D
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.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.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)
Respecifies a cubic subregion of an existing 3D texel array.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)
Respecifies a cubic subregion of an existing 3D texel array.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)
Respecifies a cubic subregion of an existing 3D texel array.static void
nglDrawRangeElements(int mode, int start, int end, int count, int type, long indices)
Unsafe version of:DrawRangeElements
static void
nglTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, long pixels)
Unsafe version of:TexImage3D
static void
nglTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, long pixels)
Unsafe version of:TexSubImage3D
-
Methods inherited from class org.lwjgl.opengl.GL11
glAccum, glAlphaFunc, glAreTexturesResident, glAreTexturesResident, glAreTexturesResident, glArrayElement, glBegin, glBindTexture, glBitmap, glBitmap, glBlendFunc, glCallList, glCallLists, glCallLists, glCallLists, glCallLists, glClear, glClearAccum, glClearColor, glClearDepth, glClearIndex, glClearStencil, glClipPlane, glClipPlane, glColor3b, glColor3bv, glColor3d, glColor3dv, glColor3dv, glColor3f, glColor3fv, glColor3fv, glColor3i, glColor3iv, glColor3iv, glColor3s, glColor3sv, glColor3sv, glColor3ub, glColor3ubv, glColor3ui, glColor3uiv, glColor3uiv, glColor3us, glColor3usv, glColor3usv, glColor4b, glColor4bv, glColor4d, glColor4dv, glColor4dv, glColor4f, glColor4fv, glColor4fv, glColor4i, glColor4iv, glColor4iv, glColor4s, glColor4sv, glColor4sv, glColor4ub, glColor4ubv, glColor4ui, glColor4uiv, glColor4uiv, glColor4us, glColor4usv, glColor4usv, glColorMask, glColorMaterial, glColorPointer, glColorPointer, glColorPointer, glColorPointer, glColorPointer, glCopyPixels, glCopyTexImage1D, glCopyTexImage2D, glCopyTexSubImage1D, glCopyTexSubImage2D, glCullFace, glDeleteLists, glDeleteTextures, glDeleteTextures, glDeleteTextures, glDepthFunc, glDepthMask, glDepthRange, glDisable, glDisableClientState, glDrawArrays, glDrawBuffer, glDrawElements, glDrawElements, glDrawElements, glDrawElements, glDrawElements, glDrawPixels, glDrawPixels, glDrawPixels, glDrawPixels, glDrawPixels, glDrawPixels, glDrawPixels, glDrawPixels, glEdgeFlag, glEdgeFlagPointer, glEdgeFlagPointer, glEdgeFlagv, glEnable, glEnableClientState, glEnd, glEndList, glEvalCoord1d, glEvalCoord1dv, glEvalCoord1dv, glEvalCoord1f, glEvalCoord1fv, glEvalCoord1fv, glEvalCoord2d, glEvalCoord2dv, glEvalCoord2dv, glEvalCoord2f, glEvalCoord2fv, glEvalCoord2fv, glEvalMesh1, glEvalMesh2, glEvalPoint1, glEvalPoint2, glFeedbackBuffer, glFeedbackBuffer, glFinish, glFlush, glFogf, glFogfv, glFogfv, glFogi, glFogiv, glFogiv, glFrontFace, glFrustum, glGenLists, glGenTextures, glGenTextures, glGenTextures, glGetBoolean, glGetBooleanv, glGetClipPlane, glGetClipPlane, glGetDouble, glGetDoublev, glGetDoublev, glGetError, glGetFloat, glGetFloatv, glGetFloatv, glGetInteger, glGetIntegerv, glGetIntegerv, glGetLightf, glGetLightfv, glGetLightfv, glGetLighti, glGetLightiv, glGetLightiv, glGetMapd, glGetMapdv, glGetMapdv, glGetMapf, glGetMapfv, glGetMapfv, glGetMapi, glGetMapiv, glGetMapiv, glGetMaterialfv, glGetMaterialfv, glGetMaterialiv, glGetMaterialiv, glGetPixelMapfv, glGetPixelMapfv, glGetPixelMapfv, glGetPixelMapuiv, glGetPixelMapuiv, glGetPixelMapuiv, glGetPixelMapusv, glGetPixelMapusv, glGetPixelMapusv, glGetPointer, glGetPointerv, glGetPolygonStipple, glGetPolygonStipple, glGetString, glGetTexEnvf, glGetTexEnvfv, glGetTexEnvfv, glGetTexEnvi, glGetTexEnviv, glGetTexEnviv, glGetTexGend, glGetTexGendv, glGetTexGendv, glGetTexGenf, glGetTexGenfv, glGetTexGenfv, glGetTexGeni, glGetTexGeniv, glGetTexGeniv, glGetTexImage, glGetTexImage, glGetTexImage, glGetTexImage, glGetTexImage, glGetTexImage, glGetTexImage, glGetTexImage, glGetTexImage, glGetTexImage, glGetTexLevelParameterf, glGetTexLevelParameterfv, glGetTexLevelParameterfv, glGetTexLevelParameteri, glGetTexLevelParameteriv, glGetTexLevelParameteriv, glGetTexParameterf, glGetTexParameterfv, glGetTexParameterfv, glGetTexParameteri, glGetTexParameteriv, glGetTexParameteriv, glHint, glIndexd, glIndexdv, glIndexdv, glIndexf, glIndexfv, glIndexfv, glIndexi, glIndexiv, glIndexiv, glIndexMask, glIndexPointer, glIndexPointer, glIndexPointer, glIndexPointer, glIndexPointer, glIndexs, glIndexsv, glIndexsv, glIndexub, glIndexubv, glInitNames, glInterleavedArrays, glInterleavedArrays, glInterleavedArrays, glInterleavedArrays, glInterleavedArrays, glInterleavedArrays, glInterleavedArrays, glInterleavedArrays, glInterleavedArrays, glInterleavedArrays, glIsEnabled, glIsList, glIsTexture, glLightf, glLightfv, glLightfv, glLighti, glLightiv, glLightiv, glLightModelf, glLightModelfv, glLightModelfv, glLightModeli, glLightModeliv, glLightModeliv, glLineStipple, glLineWidth, glListBase, glLoadIdentity, glLoadMatrixd, glLoadMatrixd, glLoadMatrixf, glLoadMatrixf, glLoadName, glLogicOp, glMap1d, glMap1d, glMap1f, glMap1f, glMap2d, glMap2d, glMap2f, glMap2f, glMapGrid1d, glMapGrid1f, glMapGrid2d, glMapGrid2f, glMaterialf, glMaterialfv, glMaterialfv, glMateriali, glMaterialiv, glMaterialiv, glMatrixMode, glMultMatrixd, glMultMatrixd, glMultMatrixf, glMultMatrixf, glNewList, glNormal3b, glNormal3bv, glNormal3d, glNormal3dv, glNormal3dv, glNormal3f, glNormal3fv, glNormal3fv, glNormal3i, glNormal3iv, glNormal3iv, glNormal3s, glNormal3sv, glNormal3sv, glNormalPointer, glNormalPointer, glNormalPointer, glNormalPointer, glNormalPointer, glOrtho, glPassThrough, glPixelMapfv, glPixelMapfv, glPixelMapfv, glPixelMapuiv, glPixelMapuiv, glPixelMapuiv, glPixelMapusv, glPixelMapusv, glPixelMapusv, glPixelStoref, glPixelStorei, glPixelTransferf, glPixelTransferi, glPixelZoom, glPointSize, glPolygonMode, glPolygonOffset, glPolygonStipple, glPolygonStipple, glPopAttrib, glPopClientAttrib, glPopMatrix, glPopName, glPrioritizeTextures, glPrioritizeTextures, glPushAttrib, glPushClientAttrib, glPushMatrix, glPushName, glRasterPos2d, glRasterPos2dv, glRasterPos2dv, glRasterPos2f, glRasterPos2fv, glRasterPos2fv, glRasterPos2i, glRasterPos2iv, glRasterPos2iv, glRasterPos2s, glRasterPos2sv, glRasterPos2sv, glRasterPos3d, glRasterPos3dv, glRasterPos3dv, glRasterPos3f, glRasterPos3fv, glRasterPos3fv, glRasterPos3i, glRasterPos3iv, glRasterPos3iv, glRasterPos3s, glRasterPos3sv, glRasterPos3sv, glRasterPos4d, glRasterPos4dv, glRasterPos4dv, glRasterPos4f, glRasterPos4fv, glRasterPos4fv, glRasterPos4i, glRasterPos4iv, glRasterPos4iv, glRasterPos4s, glRasterPos4sv, glRasterPos4sv, glReadBuffer, glReadPixels, glReadPixels, glReadPixels, glReadPixels, glReadPixels, glReadPixels, glReadPixels, glReadPixels, glRectd, glRectdv, glRectdv, glRectf, glRectfv, glRectfv, glRecti, glRectiv, glRectiv, glRects, glRectsv, glRectsv, glRenderMode, glRotated, glRotatef, glScaled, glScalef, glScissor, glSelectBuffer, glSelectBuffer, glShadeModel, glStencilFunc, glStencilMask, glStencilOp, glTexCoord1d, glTexCoord1dv, glTexCoord1dv, glTexCoord1f, glTexCoord1fv, glTexCoord1fv, glTexCoord1i, glTexCoord1iv, glTexCoord1iv, glTexCoord1s, glTexCoord1sv, glTexCoord1sv, glTexCoord2d, glTexCoord2dv, glTexCoord2dv, glTexCoord2f, glTexCoord2fv, glTexCoord2fv, glTexCoord2i, glTexCoord2iv, glTexCoord2iv, glTexCoord2s, glTexCoord2sv, glTexCoord2sv, glTexCoord3d, glTexCoord3dv, glTexCoord3dv, glTexCoord3f, glTexCoord3fv, glTexCoord3fv, glTexCoord3i, glTexCoord3iv, glTexCoord3iv, glTexCoord3s, glTexCoord3sv, glTexCoord3sv, glTexCoord4d, glTexCoord4dv, glTexCoord4dv, glTexCoord4f, glTexCoord4fv, glTexCoord4fv, glTexCoord4i, glTexCoord4iv, glTexCoord4iv, glTexCoord4s, glTexCoord4sv, glTexCoord4sv, glTexCoordPointer, glTexCoordPointer, glTexCoordPointer, glTexCoordPointer, glTexCoordPointer, glTexEnvf, glTexEnvfv, glTexEnvfv, glTexEnvi, glTexEnviv, glTexEnviv, glTexGend, glTexGendv, glTexGendv, glTexGenf, glTexGenfv, glTexGenfv, glTexGeni, glTexGeniv, glTexGeniv, glTexImage1D, glTexImage1D, glTexImage1D, glTexImage1D, glTexImage1D, glTexImage1D, glTexImage1D, glTexImage1D, glTexImage1D, glTexImage1D, glTexImage2D, glTexImage2D, glTexImage2D, glTexImage2D, glTexImage2D, glTexImage2D, glTexImage2D, glTexImage2D, glTexImage2D, glTexImage2D, glTexParameterf, glTexParameterfv, glTexParameterfv, glTexParameteri, glTexParameteriv, glTexParameteriv, glTexSubImage1D, glTexSubImage1D, glTexSubImage1D, glTexSubImage1D, glTexSubImage1D, glTexSubImage1D, glTexSubImage1D, glTexSubImage1D, glTexSubImage1D, glTexSubImage1D, glTexSubImage2D, glTexSubImage2D, glTexSubImage2D, glTexSubImage2D, glTexSubImage2D, glTexSubImage2D, glTexSubImage2D, glTexSubImage2D, glTexSubImage2D, glTexSubImage2D, glTranslated, glTranslatef, glVertex2d, glVertex2dv, glVertex2dv, glVertex2f, glVertex2fv, glVertex2fv, glVertex2i, glVertex2iv, glVertex2iv, glVertex2s, glVertex2sv, glVertex2sv, glVertex3d, glVertex3dv, glVertex3dv, glVertex3f, glVertex3fv, glVertex3fv, glVertex3i, glVertex3iv, glVertex3iv, glVertex3s, glVertex3sv, glVertex3sv, glVertex4d, glVertex4dv, glVertex4dv, glVertex4f, glVertex4fv, glVertex4fv, glVertex4i, glVertex4iv, glVertex4iv, glVertex4s, glVertex4sv, glVertex4sv, glVertexPointer, glVertexPointer, glVertexPointer, glVertexPointer, glVertexPointer, glViewport, nglAreTexturesResident, nglBitmap, nglCallLists, nglClipPlane, nglColor3bv, nglColor3dv, nglColor3fv, nglColor3iv, nglColor3sv, nglColor3ubv, nglColor3uiv, nglColor3usv, nglColor4bv, nglColor4dv, nglColor4fv, nglColor4iv, nglColor4sv, nglColor4ubv, nglColor4uiv, nglColor4usv, nglColorPointer, nglDeleteTextures, nglDrawElements, nglDrawPixels, nglEdgeFlagPointer, nglEdgeFlagv, nglEvalCoord1dv, nglEvalCoord1fv, nglEvalCoord2dv, nglEvalCoord2fv, nglFeedbackBuffer, nglFogfv, nglFogiv, nglGenTextures, nglGetBooleanv, nglGetClipPlane, nglGetDoublev, nglGetFloatv, nglGetIntegerv, nglGetLightfv, nglGetLightiv, nglGetMapdv, nglGetMapfv, nglGetMapiv, nglGetMaterialfv, nglGetMaterialiv, nglGetPixelMapfv, nglGetPixelMapuiv, nglGetPixelMapusv, nglGetPointerv, nglGetPolygonStipple, nglGetString, nglGetTexEnvfv, nglGetTexEnviv, nglGetTexGendv, nglGetTexGenfv, nglGetTexGeniv, nglGetTexImage, nglGetTexLevelParameterfv, nglGetTexLevelParameteriv, nglGetTexParameterfv, nglGetTexParameteriv, nglIndexdv, nglIndexfv, nglIndexiv, nglIndexPointer, nglIndexsv, nglIndexubv, nglInterleavedArrays, nglLightfv, nglLightiv, nglLightModelfv, nglLightModeliv, nglLoadMatrixd, nglLoadMatrixf, nglMap1d, nglMap1f, nglMap2d, nglMap2f, nglMaterialfv, nglMaterialiv, nglMultMatrixd, nglMultMatrixf, nglNormal3bv, nglNormal3dv, nglNormal3fv, nglNormal3iv, nglNormal3sv, nglNormalPointer, nglPixelMapfv, nglPixelMapuiv, nglPixelMapusv, nglPolygonStipple, nglPrioritizeTextures, nglRasterPos2dv, nglRasterPos2fv, nglRasterPos2iv, nglRasterPos2sv, nglRasterPos3dv, nglRasterPos3fv, nglRasterPos3iv, nglRasterPos3sv, nglRasterPos4dv, nglRasterPos4fv, nglRasterPos4iv, nglRasterPos4sv, nglReadPixels, nglRectdv, nglRectfv, nglRectiv, nglRectsv, nglSelectBuffer, nglTexCoord1dv, nglTexCoord1fv, nglTexCoord1iv, nglTexCoord1sv, nglTexCoord2dv, nglTexCoord2fv, nglTexCoord2iv, nglTexCoord2sv, nglTexCoord3dv, nglTexCoord3fv, nglTexCoord3iv, nglTexCoord3sv, nglTexCoord4dv, nglTexCoord4fv, nglTexCoord4iv, nglTexCoord4sv, nglTexCoordPointer, nglTexEnvfv, nglTexEnviv, nglTexGendv, nglTexGenfv, nglTexGeniv, nglTexImage1D, nglTexImage2D, nglTexParameterfv, nglTexParameteriv, nglTexSubImage1D, nglTexSubImage2D, nglVertex2dv, nglVertex2fv, nglVertex2iv, nglVertex2sv, nglVertex3dv, nglVertex3fv, nglVertex3iv, nglVertex3sv, nglVertex4dv, nglVertex4fv, nglVertex4iv, nglVertex4sv, nglVertexPointer
-
-
-
-
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
-
nglTexImage3D
public static void nglTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, long pixels)
Unsafe 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, @Nullable 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, @Nullable long pixels) public static void glTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, @Nullable 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, @Nullable 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, @Nullable 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, @Nullable 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:RED
GREEN
BLUE
ALPHA
RG
RGB
RGBA
BGR
BGRA
RED_INTEGER
GREEN_INTEGER
BLUE_INTEGER
ALPHA_INTEGER
RG_INTEGER
RGB_INTEGER
RGBA_INTEGER
BGR_INTEGER
BGRA_INTEGER
STENCIL_INDEX
DEPTH_COMPONENT
DEPTH_STENCIL
type
- the texel data type. One of:pixels
- the texel data- See Also:
- Reference Page
-
nglTexSubImage3D
public static void nglTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, long pixels)
Unsafe 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.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:RED
GREEN
BLUE
ALPHA
RG
RGB
RGBA
BGR
BGRA
RED_INTEGER
GREEN_INTEGER
BLUE_INTEGER
ALPHA_INTEGER
RG_INTEGER
RGB_INTEGER
RGBA_INTEGER
BGR_INTEGER
BGRA_INTEGER
STENCIL_INDEX
DEPTH_COMPONENT
DEPTH_STENCIL
type
- the pixel data type. One of:pixels
- the pixel data- See Also:
- Reference Page
-
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- See Also:
- Reference Page
-
nglDrawRangeElements
public static void nglDrawRangeElements(int mode, int start, int end, int count, int type, long indices)
Unsafe version of:DrawRangeElements
- Parameters:
count
- the number of elements to be renderedtype
- the type of the values inindices
. One of:UNSIGNED_BYTE
UNSIGNED_SHORT
UNSIGNED_INT
-
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
TRIANGLE_STRIP
TRIANGLE_FAN
TRIANGLES
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- See Also:
- Reference Page
-
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
TRIANGLE_STRIP
TRIANGLE_FAN
TRIANGLES
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- See Also:
- Reference Page
-
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
TRIANGLE_STRIP
TRIANGLE_FAN
TRIANGLES
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- See Also:
- Reference Page
-
glTexImage3D
public static void glTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, @Nullable short[] pixels) public static void glTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, @Nullable int[] pixels) public static void glTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, @Nullable float[] pixels) public static void glTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, @Nullable double[] pixels)
Array version of:TexImage3D
- See Also:
- Reference Page
-
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
- See Also:
- Reference Page
-
-