public class GL11
extends java.lang.Object
Extensions promoted to core in this release:
| Modifier and Type | Field and Description |
|---|---|
static int |
GL_2_BYTES
DataType
|
static int |
GL_2D
FeedBackMode
|
static int |
GL_3_BYTES
DataType
|
static int |
GL_3D
FeedBackMode
|
static int |
GL_3D_COLOR
FeedBackMode
|
static int |
GL_3D_COLOR_TEXTURE
FeedBackMode
|
static int |
GL_4_BYTES
DataType
|
static int |
GL_4D_COLOR_TEXTURE
FeedBackMode
|
static int |
GL_ACCUM
AccumOp
|
static int |
GL_ACCUM_ALPHA_BITS
GetTarget
|
static int |
GL_ACCUM_BLUE_BITS
GetTarget
|
static int |
GL_ACCUM_BUFFER_BIT
AttribMask
|
static int |
GL_ACCUM_CLEAR_VALUE
GetTarget
|
static int |
GL_ACCUM_GREEN_BITS
GetTarget
|
static int |
GL_ACCUM_RED_BITS
GetTarget
|
static int |
GL_ADD
AccumOp
|
static int |
GL_ALL_ATTRIB_BITS
AttribMask
|
static int |
GL_ALPHA
PixelFormat
|
static int |
GL_ALPHA_BIAS
GetTarget
|
static int |
GL_ALPHA_BITS
GetTarget
|
static int |
GL_ALPHA_SCALE
GetTarget
|
static int |
GL_ALPHA_TEST
GetTarget
|
static int |
GL_ALPHA_TEST_FUNC
GetTarget
|
static int |
GL_ALPHA_TEST_REF
GetTarget
|
static int |
GL_ALPHA12
texture
|
static int |
GL_ALPHA16
texture
|
static int |
GL_ALPHA4
texture
|
static int |
GL_ALPHA8
texture
|
static int |
GL_ALWAYS
AlphaFunction
|
static int |
GL_AMBIENT
LightParameter
|
static int |
GL_AMBIENT_AND_DIFFUSE
MaterialParameter
|
static int |
GL_AND
LogicOp
|
static int |
GL_AND_INVERTED
LogicOp
|
static int |
GL_AND_REVERSE
LogicOp
|
static int |
GL_ATTRIB_STACK_DEPTH
GetTarget
|
static int |
GL_AUTO_NORMAL
GetTarget
|
static int |
GL_AUX_BUFFERS
GetTarget
|
static int |
GL_AUX0
DrawBufferMode
|
static int |
GL_AUX1
DrawBufferMode
|
static int |
GL_AUX2
DrawBufferMode
|
static int |
GL_AUX3
DrawBufferMode
|
static int |
GL_BACK
DrawBufferMode
|
static int |
GL_BACK_LEFT
DrawBufferMode
|
static int |
GL_BACK_RIGHT
DrawBufferMode
|
static int |
GL_BITMAP
PixelType
|
static int |
GL_BITMAP_TOKEN
FeedBackToken
|
static int |
GL_BLEND
GetTarget
|
static int |
GL_BLEND_DST
GetTarget
|
static int |
GL_BLEND_SRC
GetTarget
|
static int |
GL_BLUE
PixelFormat
|
static int |
GL_BLUE_BIAS
GetTarget
|
static int |
GL_BLUE_BITS
GetTarget
|
static int |
GL_BLUE_SCALE
GetTarget
|
static int |
GL_BYTE
DataType
|
static int |
GL_C3F_V3F
vertex_array
|
static int |
GL_C4F_N3F_V3F
vertex_array
|
static int |
GL_C4UB_V2F
vertex_array
|
static int |
GL_C4UB_V3F
vertex_array
|
static int |
GL_CCW
FrontFaceDirection
|
static int |
GL_CLAMP
TextureWrapMode
|
static int |
GL_CLEAR
LogicOp
|
static int |
GL_CLIENT_ALL_ATTRIB_BITS
ClientAttribMask
|
static int |
GL_CLIENT_ATTRIB_STACK_DEPTH
GetTarget
|
static int |
GL_CLIENT_PIXEL_STORE_BIT
ClientAttribMask
|
static int |
GL_CLIENT_VERTEX_ARRAY_BIT
ClientAttribMask
|
static int |
GL_CLIP_PLANE0
ClipPlaneName
|
static int |
GL_CLIP_PLANE1
ClipPlaneName
|
static int |
GL_CLIP_PLANE2
ClipPlaneName
|
static int |
GL_CLIP_PLANE3
ClipPlaneName
|
static int |
GL_CLIP_PLANE4
ClipPlaneName
|
static int |
GL_CLIP_PLANE5
ClipPlaneName
|
static int |
GL_COEFF
GetMapTarget
|
static int |
GL_COLOR
PixelCopyType
|
static int |
GL_COLOR_ARRAY
vertex_array
|
static int |
GL_COLOR_ARRAY_POINTER
vertex_array
|
static int |
GL_COLOR_ARRAY_SIZE
vertex_array
|
static int |
GL_COLOR_ARRAY_STRIDE
vertex_array
|
static int |
GL_COLOR_ARRAY_TYPE
vertex_array
|
static int |
GL_COLOR_BUFFER_BIT
AttribMask
|
static int |
GL_COLOR_CLEAR_VALUE
GetTarget
|
static int |
GL_COLOR_INDEX
PixelFormat
|
static int |
GL_COLOR_INDEXES
MaterialParameter
|
static int |
GL_COLOR_LOGIC_OP
GetTarget
|
static int |
GL_COLOR_MATERIAL
GetTarget
|
static int |
GL_COLOR_MATERIAL_FACE
GetTarget
|
static int |
GL_COLOR_MATERIAL_PARAMETER
GetTarget
|
static int |
GL_COLOR_WRITEMASK
GetTarget
|
static int |
GL_COMPILE
ListMode
|
static int |
GL_COMPILE_AND_EXECUTE
ListMode
|
static int |
GL_CONSTANT_ATTENUATION
LightParameter
|
static int |
GL_COPY
LogicOp
|
static int |
GL_COPY_INVERTED
LogicOp
|
static int |
GL_COPY_PIXEL_TOKEN
FeedBackToken
|
static int |
GL_CULL_FACE
GetTarget
|
static int |
GL_CULL_FACE_MODE
GetTarget
|
static int |
GL_CURRENT_BIT
AttribMask
|
static int |
GL_CURRENT_COLOR
GetTarget
|
static int |
GL_CURRENT_INDEX
GetTarget
|
static int |
GL_CURRENT_NORMAL
GetTarget
|
static int |
GL_CURRENT_RASTER_COLOR
GetTarget
|
static int |
GL_CURRENT_RASTER_DISTANCE
GetTarget
|
static int |
GL_CURRENT_RASTER_INDEX
GetTarget
|
static int |
GL_CURRENT_RASTER_POSITION
GetTarget
|
static int |
GL_CURRENT_RASTER_POSITION_VALID
GetTarget
|
static int |
GL_CURRENT_RASTER_TEXTURE_COORDS
GetTarget
|
static int |
GL_CURRENT_TEXTURE_COORDS
GetTarget
|
static int |
GL_CW
FrontFaceDirection
|
static int |
GL_DECAL
TextureEnvMode
|
static int |
GL_DECR
StencilOp
|
static int |
GL_DEPTH
PixelCopyType
|
static int |
GL_DEPTH_BIAS
GetTarget
|
static int |
GL_DEPTH_BITS
GetTarget
|
static int |
GL_DEPTH_BUFFER_BIT
AttribMask
|
static int |
GL_DEPTH_CLEAR_VALUE
GetTarget
|
static int |
GL_DEPTH_COMPONENT
PixelFormat
|
static int |
GL_DEPTH_FUNC
GetTarget
|
static int |
GL_DEPTH_RANGE
GetTarget
|
static int |
GL_DEPTH_SCALE
GetTarget
|
static int |
GL_DEPTH_TEST
GetTarget
|
static int |
GL_DEPTH_WRITEMASK
GetTarget
|
static int |
GL_DIFFUSE
LightParameter
|
static int |
GL_DITHER
GetTarget
|
static int |
GL_DOMAIN
GetMapTarget
|
static int |
GL_DONT_CARE
HintMode
|
static int |
GL_DOUBLE
DataType
|
static int |
GL_DOUBLEBUFFER
GetTarget
|
static int |
GL_DRAW_BUFFER
GetTarget
|
static int |
GL_DRAW_PIXEL_TOKEN
FeedBackToken
|
static int |
GL_DST_ALPHA
BlendingFactorDest
|
static int |
GL_DST_COLOR
BlendingFactorSrc
|
static int |
GL_EDGE_FLAG
GetTarget
|
static int |
GL_EDGE_FLAG_ARRAY
vertex_array
|
static int |
GL_EDGE_FLAG_ARRAY_POINTER
vertex_array
|
static int |
GL_EDGE_FLAG_ARRAY_STRIDE
vertex_array
|
static int |
GL_EMISSION
MaterialParameter
|
static int |
GL_ENABLE_BIT
AttribMask
|
static int |
GL_EQUAL
AlphaFunction
|
static int |
GL_EQUIV
LogicOp
|
static int |
GL_EVAL_BIT
AttribMask
|
static int |
GL_EXP
FogMode
|
static int |
GL_EXP2
FogMode
|
static int |
GL_EXTENSIONS
StringName
|
static int |
GL_EYE_LINEAR
TextureGenMode
|
static int |
GL_EYE_PLANE
TextureGenParameter
|
static int |
GL_FALSE
Boolean
|
static int |
GL_FASTEST
HintMode
|
static int |
GL_FEEDBACK
RenderingMode
|
static int |
GL_FEEDBACK_BUFFER_POINTER
GetTarget
|
static int |
GL_FEEDBACK_BUFFER_SIZE
GetTarget
|
static int |
GL_FEEDBACK_BUFFER_TYPE
GetTarget
|
static int |
GL_FILL
PolygonMode
|
static int |
GL_FLAT
ShadingModel
|
static int |
GL_FLOAT
DataType
|
static int |
GL_FOG
GetTarget
|
static int |
GL_FOG_BIT
AttribMask
|
static int |
GL_FOG_COLOR
GetTarget
|
static int |
GL_FOG_DENSITY
GetTarget
|
static int |
GL_FOG_END
GetTarget
|
static int |
GL_FOG_HINT
GetTarget
|
static int |
GL_FOG_INDEX
GetTarget
|
static int |
GL_FOG_MODE
GetTarget
|
static int |
GL_FOG_START
GetTarget
|
static int |
GL_FRONT
DrawBufferMode
|
static int |
GL_FRONT_AND_BACK
DrawBufferMode
|
static int |
GL_FRONT_FACE
GetTarget
|
static int |
GL_FRONT_LEFT
DrawBufferMode
|
static int |
GL_FRONT_RIGHT
DrawBufferMode
|
static int |
GL_GEQUAL
AlphaFunction
|
static int |
GL_GREATER
AlphaFunction
|
static int |
GL_GREEN
PixelFormat
|
static int |
GL_GREEN_BIAS
GetTarget
|
static int |
GL_GREEN_BITS
GetTarget
|
static int |
GL_GREEN_SCALE
GetTarget
|
static int |
GL_HINT_BIT
AttribMask
|
static int |
GL_INCR
StencilOp
|
static int |
GL_INDEX_ARRAY
vertex_array
|
static int |
GL_INDEX_ARRAY_POINTER
vertex_array
|
static int |
GL_INDEX_ARRAY_STRIDE
vertex_array
|
static int |
GL_INDEX_ARRAY_TYPE
vertex_array
|
static int |
GL_INDEX_BITS
GetTarget
|
static int |
GL_INDEX_CLEAR_VALUE
GetTarget
|
static int |
GL_INDEX_LOGIC_OP
GetTarget
|
static int |
GL_INDEX_MODE
GetTarget
|
static int |
GL_INDEX_OFFSET
GetTarget
|
static int |
GL_INDEX_SHIFT
GetTarget
|
static int |
GL_INDEX_WRITEMASK
GetTarget
|
static int |
GL_INT
DataType
|
static int |
GL_INTENSITY
texture
|
static int |
GL_INTENSITY12
texture
|
static int |
GL_INTENSITY16
texture
|
static int |
GL_INTENSITY4
texture
|
static int |
GL_INTENSITY8
texture
|
static int |
GL_INVALID_ENUM
ErrorCode
|
static int |
GL_INVALID_OPERATION
ErrorCode
|
static int |
GL_INVALID_VALUE
ErrorCode
|
static int |
GL_INVERT
LogicOp
|
static int |
GL_KEEP
StencilOp
|
static int |
GL_LEFT
DrawBufferMode
|
static int |
GL_LEQUAL
AlphaFunction
|
static int |
GL_LESS
AlphaFunction
|
static int |
GL_LIGHT_MODEL_AMBIENT
GetTarget
|
static int |
GL_LIGHT_MODEL_LOCAL_VIEWER
GetTarget
|
static int |
GL_LIGHT_MODEL_TWO_SIDE
GetTarget
|
static int |
GL_LIGHT0
LightName
|
static int |
GL_LIGHT1
LightName
|
static int |
GL_LIGHT2
LightName
|
static int |
GL_LIGHT3
LightName
|
static int |
GL_LIGHT4
LightName
|
static int |
GL_LIGHT5
LightName
|
static int |
GL_LIGHT6
LightName
|
static int |
GL_LIGHT7
LightName
|
static int |
GL_LIGHTING
GetTarget
|
static int |
GL_LIGHTING_BIT
AttribMask
|
static int |
GL_LINE
PolygonMode
|
static int |
GL_LINE_BIT
AttribMask
|
static int |
GL_LINE_LOOP
BeginMode
|
static int |
GL_LINE_RESET_TOKEN
FeedBackToken
|
static int |
GL_LINE_SMOOTH
GetTarget
|
static int |
GL_LINE_SMOOTH_HINT
GetTarget
|
static int |
GL_LINE_STIPPLE
GetTarget
|
static int |
GL_LINE_STIPPLE_PATTERN
GetTarget
|
static int |
GL_LINE_STIPPLE_REPEAT
GetTarget
|
static int |
GL_LINE_STRIP
BeginMode
|
static int |
GL_LINE_TOKEN
FeedBackToken
|
static int |
GL_LINE_WIDTH
GetTarget
|
static int |
GL_LINE_WIDTH_GRANULARITY
GetTarget
|
static int |
GL_LINE_WIDTH_RANGE
GetTarget
|
static int |
GL_LINEAR
TextureMagFilter
|
static int |
GL_LINEAR_ATTENUATION
LightParameter
|
static int |
GL_LINEAR_MIPMAP_LINEAR
TextureMinFilter
|
static int |
GL_LINEAR_MIPMAP_NEAREST
TextureMinFilter
|
static int |
GL_LINES
BeginMode
|
static int |
GL_LIST_BASE
GetTarget
|
static int |
GL_LIST_BIT
AttribMask
|
static int |
GL_LIST_INDEX
GetTarget
|
static int |
GL_LIST_MODE
GetTarget
|
static int |
GL_LOAD
AccumOp
|
static int |
GL_LOGIC_OP
GetTarget
|
static int |
GL_LOGIC_OP_MODE
GetTarget
|
static int |
GL_LUMINANCE
PixelFormat
|
static int |
GL_LUMINANCE_ALPHA
PixelFormat
|
static int |
GL_LUMINANCE12
texture
|
static int |
GL_LUMINANCE12_ALPHA12
texture
|
static int |
GL_LUMINANCE12_ALPHA4
texture
|
static int |
GL_LUMINANCE16
texture
|
static int |
GL_LUMINANCE16_ALPHA16
texture
|
static int |
GL_LUMINANCE4
texture
|
static int |
GL_LUMINANCE4_ALPHA4
texture
|
static int |
GL_LUMINANCE6_ALPHA2
texture
|
static int |
GL_LUMINANCE8
texture
|
static int |
GL_LUMINANCE8_ALPHA8
texture
|
static int |
GL_MAP_COLOR
GetTarget
|
static int |
GL_MAP_STENCIL
GetTarget
|
static int |
GL_MAP1_COLOR_4
GetTarget
|
static int |
GL_MAP1_GRID_DOMAIN
GetTarget
|
static int |
GL_MAP1_GRID_SEGMENTS
GetTarget
|
static int |
GL_MAP1_INDEX
GetTarget
|
static int |
GL_MAP1_NORMAL
GetTarget
|
static int |
GL_MAP1_TEXTURE_COORD_1
GetTarget
|
static int |
GL_MAP1_TEXTURE_COORD_2
GetTarget
|
static int |
GL_MAP1_TEXTURE_COORD_3
GetTarget
|
static int |
GL_MAP1_TEXTURE_COORD_4
GetTarget
|
static int |
GL_MAP1_VERTEX_3
GetTarget
|
static int |
GL_MAP1_VERTEX_4
GetTarget
|
static int |
GL_MAP2_COLOR_4
GetTarget
|
static int |
GL_MAP2_GRID_DOMAIN
GetTarget
|
static int |
GL_MAP2_GRID_SEGMENTS
GetTarget
|
static int |
GL_MAP2_INDEX
GetTarget
|
static int |
GL_MAP2_NORMAL
GetTarget
|
static int |
GL_MAP2_TEXTURE_COORD_1
GetTarget
|
static int |
GL_MAP2_TEXTURE_COORD_2
GetTarget
|
static int |
GL_MAP2_TEXTURE_COORD_3
GetTarget
|
static int |
GL_MAP2_TEXTURE_COORD_4
GetTarget
|
static int |
GL_MAP2_VERTEX_3
GetTarget
|
static int |
GL_MAP2_VERTEX_4
GetTarget
|
static int |
GL_MATRIX_MODE
GetTarget
|
static int |
GL_MAX_ATTRIB_STACK_DEPTH
GetTarget
|
static int |
GL_MAX_CLIENT_ATTRIB_STACK_DEPTH
GetTarget
|
static int |
GL_MAX_CLIP_PLANES
GetTarget
|
static int |
GL_MAX_EVAL_ORDER
GetTarget
|
static int |
GL_MAX_LIGHTS
GetTarget
|
static int |
GL_MAX_LIST_NESTING
GetTarget
|
static int |
GL_MAX_MODELVIEW_STACK_DEPTH
GetTarget
|
static int |
GL_MAX_NAME_STACK_DEPTH
GetTarget
|
static int |
GL_MAX_PIXEL_MAP_TABLE
GetTarget
|
static int |
GL_MAX_PROJECTION_STACK_DEPTH
GetTarget
|
static int |
GL_MAX_TEXTURE_SIZE
GetTarget
|
static int |
GL_MAX_TEXTURE_STACK_DEPTH
GetTarget
|
static int |
GL_MAX_VIEWPORT_DIMS
GetTarget
|
static int |
GL_MODELVIEW
MatrixMode
|
static int |
GL_MODELVIEW_MATRIX
GetTarget
|
static int |
GL_MODELVIEW_STACK_DEPTH
GetTarget
|
static int |
GL_MODULATE
TextureEnvMode
|
static int |
GL_MULT
AccumOp
|
static int |
GL_N3F_V3F
vertex_array
|
static int |
GL_NAME_STACK_DEPTH
GetTarget
|
static int |
GL_NAND
LogicOp
|
static int |
GL_NEAREST
TextureMagFilter
|
static int |
GL_NEAREST_MIPMAP_LINEAR
TextureMinFilter
|
static int |
GL_NEAREST_MIPMAP_NEAREST
TextureMinFilter
|
static int |
GL_NEVER
AlphaFunction
|
static int |
GL_NICEST
HintMode
|
static int |
GL_NO_ERROR
ErrorCode
|
static int |
GL_NONE
DrawBufferMode
|
static int |
GL_NOOP
LogicOp
|
static int |
GL_NOR
LogicOp
|
static int |
GL_NORMAL_ARRAY
vertex_array
|
static int |
GL_NORMAL_ARRAY_POINTER
vertex_array
|
static int |
GL_NORMAL_ARRAY_STRIDE
vertex_array
|
static int |
GL_NORMAL_ARRAY_TYPE
vertex_array
|
static int |
GL_NORMALIZE
GetTarget
|
static int |
GL_NOTEQUAL
AlphaFunction
|
static int |
GL_OBJECT_LINEAR
TextureGenMode
|
static int |
GL_OBJECT_PLANE
TextureGenParameter
|
static int |
GL_ONE
BlendingFactorDest
|
static int |
GL_ONE_MINUS_DST_ALPHA
BlendingFactorDest
|
static int |
GL_ONE_MINUS_DST_COLOR
BlendingFactorSrc
|
static int |
GL_ONE_MINUS_SRC_ALPHA
BlendingFactorDest
|
static int |
GL_ONE_MINUS_SRC_COLOR
BlendingFactorDest
|
static int |
GL_OR
LogicOp
|
static int |
GL_OR_INVERTED
LogicOp
|
static int |
GL_OR_REVERSE
LogicOp
|
static int |
GL_ORDER
GetMapTarget
|
static int |
GL_OUT_OF_MEMORY
ErrorCode
|
static int |
GL_PACK_ALIGNMENT
GetTarget
|
static int |
GL_PACK_LSB_FIRST
GetTarget
|
static int |
GL_PACK_ROW_LENGTH
GetTarget
|
static int |
GL_PACK_SKIP_PIXELS
GetTarget
|
static int |
GL_PACK_SKIP_ROWS
GetTarget
|
static int |
GL_PACK_SWAP_BYTES
GetTarget
|
static int |
GL_PASS_THROUGH_TOKEN
FeedBackToken
|
static int |
GL_PERSPECTIVE_CORRECTION_HINT
GetTarget
|
static int |
GL_PIXEL_MAP_A_TO_A
GetTarget
|
static int |
GL_PIXEL_MAP_A_TO_A_SIZE
GetTarget
|
static int |
GL_PIXEL_MAP_B_TO_B
GetTarget
|
static int |
GL_PIXEL_MAP_B_TO_B_SIZE
GetTarget
|
static int |
GL_PIXEL_MAP_G_TO_G
GetTarget
|
static int |
GL_PIXEL_MAP_G_TO_G_SIZE
GetTarget
|
static int |
GL_PIXEL_MAP_I_TO_A
GetTarget
|
static int |
GL_PIXEL_MAP_I_TO_A_SIZE
GetTarget
|
static int |
GL_PIXEL_MAP_I_TO_B
GetTarget
|
static int |
GL_PIXEL_MAP_I_TO_B_SIZE
GetTarget
|
static int |
GL_PIXEL_MAP_I_TO_G
GetTarget
|
static int |
GL_PIXEL_MAP_I_TO_G_SIZE
GetTarget
|
static int |
GL_PIXEL_MAP_I_TO_I
GetTarget
|
static int |
GL_PIXEL_MAP_I_TO_I_SIZE
GetTarget
|
static int |
GL_PIXEL_MAP_I_TO_R
GetTarget
|
static int |
GL_PIXEL_MAP_I_TO_R_SIZE
GetTarget
|
static int |
GL_PIXEL_MAP_R_TO_R
GetTarget
|
static int |
GL_PIXEL_MAP_R_TO_R_SIZE
GetTarget
|
static int |
GL_PIXEL_MAP_S_TO_S
GetTarget
|
static int |
GL_PIXEL_MAP_S_TO_S_SIZE
GetTarget
|
static int |
GL_PIXEL_MODE_BIT
AttribMask
|
static int |
GL_POINT
PolygonMode
|
static int |
GL_POINT_BIT
AttribMask
|
static int |
GL_POINT_SIZE
GetTarget
|
static int |
GL_POINT_SIZE_GRANULARITY
GetTarget
|
static int |
GL_POINT_SIZE_RANGE
GetTarget
|
static int |
GL_POINT_SMOOTH
GetTarget
|
static int |
GL_POINT_SMOOTH_HINT
GetTarget
|
static int |
GL_POINT_TOKEN
FeedBackToken
|
static int |
GL_POINTS
BeginMode
|
static int |
GL_POLYGON
BeginMode
|
static int |
GL_POLYGON_BIT
AttribMask
|
static int |
GL_POLYGON_MODE
GetTarget
|
static int |
GL_POLYGON_OFFSET_FACTOR
polygon_offset
|
static int |
GL_POLYGON_OFFSET_FILL
polygon_offset
|
static int |
GL_POLYGON_OFFSET_LINE
polygon_offset
|
static int |
GL_POLYGON_OFFSET_POINT
polygon_offset
|
static int |
GL_POLYGON_OFFSET_UNITS
polygon_offset
|
static int |
GL_POLYGON_SMOOTH
GetTarget
|
static int |
GL_POLYGON_SMOOTH_HINT
GetTarget
|
static int |
GL_POLYGON_STIPPLE
GetTarget
|
static int |
GL_POLYGON_STIPPLE_BIT
AttribMask
|
static int |
GL_POLYGON_TOKEN
FeedBackToken
|
static int |
GL_POSITION
LightParameter
|
static int |
GL_PROJECTION
MatrixMode
|
static int |
GL_PROJECTION_MATRIX
GetTarget
|
static int |
GL_PROJECTION_STACK_DEPTH
GetTarget
|
static int |
GL_PROXY_TEXTURE_1D
texture
|
static int |
GL_PROXY_TEXTURE_2D
texture
|
static int |
GL_Q
TextureCoordName
|
static int |
GL_QUAD_STRIP
BeginMode
|
static int |
GL_QUADRATIC_ATTENUATION
LightParameter
|
static int |
GL_QUADS
BeginMode
|
static int |
GL_R
TextureCoordName
|
static int |
GL_R3_G3_B2
texture
|
static int |
GL_READ_BUFFER
GetTarget
|
static int |
GL_RED
PixelFormat
|
static int |
GL_RED_BIAS
GetTarget
|
static int |
GL_RED_BITS
GetTarget
|
static int |
GL_RED_SCALE
GetTarget
|
static int |
GL_RENDER
RenderingMode
|
static int |
GL_RENDER_MODE
GetTarget
|
static int |
GL_RENDERER
StringName
|
static int |
GL_REPEAT
TextureWrapMode
|
static int |
GL_REPLACE
StencilOp
|
static int |
GL_RETURN
AccumOp
|
static int |
GL_RGB
PixelFormat
|
static int |
GL_RGB10
texture
|
static int |
GL_RGB10_A2
texture
|
static int |
GL_RGB12
texture
|
static int |
GL_RGB16
texture
|
static int |
GL_RGB4
texture
|
static int |
GL_RGB5
texture
|
static int |
GL_RGB5_A1
texture
|
static int |
GL_RGB8
texture
|
static int |
GL_RGBA
PixelFormat
|
static int |
GL_RGBA_MODE
GetTarget
|
static int |
GL_RGBA12
texture
|
static int |
GL_RGBA16
texture
|
static int |
GL_RGBA2
texture
|
static int |
GL_RGBA4
texture
|
static int |
GL_RGBA8
texture
|
static int |
GL_RIGHT
DrawBufferMode
|
static int |
GL_S
TextureCoordName
|
static int |
GL_SCISSOR_BIT
AttribMask
|
static int |
GL_SCISSOR_BOX
GetTarget
|
static int |
GL_SCISSOR_TEST
GetTarget
|
static int |
GL_SELECT
RenderingMode
|
static int |
GL_SELECTION_BUFFER_POINTER
GetTarget
|
static int |
GL_SELECTION_BUFFER_SIZE
GetTarget
|
static int |
GL_SET
LogicOp
|
static int |
GL_SHADE_MODEL
GetTarget
|
static int |
GL_SHININESS
MaterialParameter
|
static int |
GL_SHORT
DataType
|
static int |
GL_SMOOTH
ShadingModel
|
static int |
GL_SPECULAR
LightParameter
|
static int |
GL_SPHERE_MAP
TextureGenMode
|
static int |
GL_SPOT_CUTOFF
LightParameter
|
static int |
GL_SPOT_DIRECTION
LightParameter
|
static int |
GL_SPOT_EXPONENT
LightParameter
|
static int |
GL_SRC_ALPHA
BlendingFactorDest
|
static int |
GL_SRC_ALPHA_SATURATE
BlendingFactorSrc
|
static int |
GL_SRC_COLOR
BlendingFactorDest
|
static int |
GL_STACK_OVERFLOW
ErrorCode
|
static int |
GL_STACK_UNDERFLOW
ErrorCode
|
static int |
GL_STENCIL
PixelCopyType
|
static int |
GL_STENCIL_BITS
GetTarget
|
static int |
GL_STENCIL_BUFFER_BIT
AttribMask
|
static int |
GL_STENCIL_CLEAR_VALUE
GetTarget
|
static int |
GL_STENCIL_FAIL
GetTarget
|
static int |
GL_STENCIL_FUNC
GetTarget
|
static int |
GL_STENCIL_INDEX
PixelFormat
|
static int |
GL_STENCIL_PASS_DEPTH_FAIL
GetTarget
|
static int |
GL_STENCIL_PASS_DEPTH_PASS
GetTarget
|
static int |
GL_STENCIL_REF
GetTarget
|
static int |
GL_STENCIL_TEST
GetTarget
|
static int |
GL_STENCIL_VALUE_MASK
GetTarget
|
static int |
GL_STENCIL_WRITEMASK
GetTarget
|
static int |
GL_STEREO
GetTarget
|
static int |
GL_SUBPIXEL_BITS
GetTarget
|
static int |
GL_T
TextureCoordName
|
static int |
GL_T2F_C3F_V3F
vertex_array
|
static int |
GL_T2F_C4F_N3F_V3F
vertex_array
|
static int |
GL_T2F_C4UB_V3F
vertex_array
|
static int |
GL_T2F_N3F_V3F
vertex_array
|
static int |
GL_T2F_V3F
vertex_array
|
static int |
GL_T4F_C4F_N3F_V4F
vertex_array
|
static int |
GL_T4F_V4F
vertex_array
|
static int |
GL_TEXTURE
MatrixMode
|
static int |
GL_TEXTURE_1D
GetTarget
|
static int |
GL_TEXTURE_2D
GetTarget
|
static int |
GL_TEXTURE_ALPHA_SIZE
texture
|
static int |
GL_TEXTURE_BINDING_1D
texture_object
|
static int |
GL_TEXTURE_BINDING_2D
texture_object
|
static int |
GL_TEXTURE_BIT
AttribMask
|
static int |
GL_TEXTURE_BLUE_SIZE
texture
|
static int |
GL_TEXTURE_BORDER
GetTextureParameter
|
static int |
GL_TEXTURE_BORDER_COLOR
GetTextureParameter
|
static int |
GL_TEXTURE_COMPONENTS
GetTextureParameter
|
static int |
GL_TEXTURE_COORD_ARRAY
vertex_array
|
static int |
GL_TEXTURE_COORD_ARRAY_POINTER
vertex_array
|
static int |
GL_TEXTURE_COORD_ARRAY_SIZE
vertex_array
|
static int |
GL_TEXTURE_COORD_ARRAY_STRIDE
vertex_array
|
static int |
GL_TEXTURE_COORD_ARRAY_TYPE
vertex_array
|
static int |
GL_TEXTURE_ENV
TextureEnvTarget
|
static int |
GL_TEXTURE_ENV_COLOR
TextureEnvParameter
|
static int |
GL_TEXTURE_ENV_MODE
TextureEnvParameter
|
static int |
GL_TEXTURE_GEN_MODE
TextureGenParameter
|
static int |
GL_TEXTURE_GEN_Q
GetTarget
|
static int |
GL_TEXTURE_GEN_R
GetTarget
|
static int |
GL_TEXTURE_GEN_S
GetTarget
|
static int |
GL_TEXTURE_GEN_T
GetTarget
|
static int |
GL_TEXTURE_GREEN_SIZE
texture
|
static int |
GL_TEXTURE_HEIGHT
GetTextureParameter
|
static int |
GL_TEXTURE_INTENSITY_SIZE
texture
|
static int |
GL_TEXTURE_INTERNAL_FORMAT
GetTextureParameter
|
static int |
GL_TEXTURE_LUMINANCE_SIZE
texture
|
static int |
GL_TEXTURE_MAG_FILTER
TextureParameterName
|
static int |
GL_TEXTURE_MATRIX
GetTarget
|
static int |
GL_TEXTURE_MIN_FILTER
TextureParameterName
|
static int |
GL_TEXTURE_PRIORITY
texture_object
|
static int |
GL_TEXTURE_RED_SIZE
texture
|
static int |
GL_TEXTURE_RESIDENT
texture_object
|
static int |
GL_TEXTURE_STACK_DEPTH
GetTarget
|
static int |
GL_TEXTURE_WIDTH
GetTextureParameter
|
static int |
GL_TEXTURE_WRAP_S
TextureParameterName
|
static int |
GL_TEXTURE_WRAP_T
TextureParameterName
|
static int |
GL_TRANSFORM_BIT
AttribMask
|
static int |
GL_TRIANGLE_FAN
BeginMode
|
static int |
GL_TRIANGLE_STRIP
BeginMode
|
static int |
GL_TRIANGLES
BeginMode
|
static int |
GL_TRUE
Boolean
|
static int |
GL_UNPACK_ALIGNMENT
GetTarget
|
static int |
GL_UNPACK_LSB_FIRST
GetTarget
|
static int |
GL_UNPACK_ROW_LENGTH
GetTarget
|
static int |
GL_UNPACK_SKIP_PIXELS
GetTarget
|
static int |
GL_UNPACK_SKIP_ROWS
GetTarget
|
static int |
GL_UNPACK_SWAP_BYTES
GetTarget
|
static int |
GL_UNSIGNED_BYTE
DataType
|
static int |
GL_UNSIGNED_INT
DataType
|
static int |
GL_UNSIGNED_SHORT
DataType
|
static int |
GL_V2F
vertex_array
|
static int |
GL_V3F
vertex_array
|
static int |
GL_VENDOR
StringName
|
static int |
GL_VERSION
StringName
|
static int |
GL_VERTEX_ARRAY
vertex_array
|
static int |
GL_VERTEX_ARRAY_POINTER
vertex_array
|
static int |
GL_VERTEX_ARRAY_SIZE
vertex_array
|
static int |
GL_VERTEX_ARRAY_STRIDE
vertex_array
|
static int |
GL_VERTEX_ARRAY_TYPE
vertex_array
|
static int |
GL_VIEWPORT
GetTarget
|
static int |
GL_VIEWPORT_BIT
AttribMask
|
static int |
GL_XOR
LogicOp
|
static int |
GL_ZERO
BlendingFactorDest
|
static int |
GL_ZOOM_X
GetTarget
|
static int |
GL_ZOOM_Y
GetTarget
|
| Modifier and Type | Method and Description |
|---|---|
static void |
glAccum(int op,
float value)
Each portion of a pixel in the accumulation buffer consists of four values: one for each of R, G, B, and A.
|
static void |
glAlphaFunc(int func,
float ref)
The alpha test discards a fragment conditionally based on the outcome of a comparison between the incoming fragment’s alpha value and a constant value.
|
static boolean |
glAreTexturesResident(int[] textures,
java.nio.ByteBuffer residences)
Array version of:
AreTexturesResident |
static boolean |
glAreTexturesResident(java.nio.IntBuffer textures,
java.nio.ByteBuffer residences)
Returns
TRUE if all of the texture objects named in textures are resident, or if the implementation does not distinguish a working set. |
static boolean |
glAreTexturesResident(int texture,
java.nio.ByteBuffer residences)
Returns
TRUE if all of the texture objects named in textures are resident, or if the implementation does not distinguish a working set. |
static void |
glArrayElement(int i)
Transfers the ith element of every enabled, non-instanced array, and the first element of every enabled, instanced array to the GL.
|
static void |
glBegin(int mode)
Begins the definition of vertex attributes of a sequence of primitives to be transferred to the GL.
|
static void |
glBindTexture(int target,
int texture)
Binds the a texture to a texture target.
|
static void |
glBitmap(int w,
int h,
float xOrig,
float yOrig,
float xInc,
float yInc,
java.nio.ByteBuffer data)
Sents a bitmap to the GL.
|
static void |
glBitmap(int w,
int h,
float xOrig,
float yOrig,
float xInc,
float yInc,
long data)
Sents a bitmap to the GL.
|
static void |
glBlendFunc(int sfactor,
int dfactor)
Specifies the weighting factors used by the blend equation, for both RGB and alpha functions and for all draw buffers.
|
static void |
glCallList(int list)
Executes a display list.
|
static void |
glCallLists(java.nio.ByteBuffer lists)
Provides an efficient means for executing a number of display lists.
|
static void |
glCallLists(java.nio.IntBuffer lists)
Provides an efficient means for executing a number of display lists.
|
static void |
glCallLists(int type,
java.nio.ByteBuffer lists)
Provides an efficient means for executing a number of display lists.
|
static void |
glCallLists(java.nio.ShortBuffer lists)
Provides an efficient means for executing a number of display lists.
|
static void |
glClear(int mask)
Sets portions of every pixel in a particular buffer to the same value.
|
static void |
glClearAccum(float red,
float green,
float blue,
float alpha)
Sets the clear values for the accumulation buffer.
|
static void |
glClearColor(float red,
float green,
float blue,
float alpha)
Sets the clear value for fixed-point and floating-point color buffers in RGBA mode.
|
static void |
glClearDepth(double depth)
Sets the depth value used when clearing the depth buffer.
|
static void |
glClearIndex(float index)
sets the clear color index.
|
static void |
glClearStencil(int s)
Sets the value to which to clear the stencil buffer.
|
static void |
glClipPlane(int plane,
double[] equation)
Array version of:
ClipPlane |
static void |
glClipPlane(int plane,
java.nio.DoubleBuffer equation)
Specifies a client-defined clip plane.
|
static void |
glColor3b(byte red,
byte green,
byte blue)
Sets the R, G, and B components of the current color.
|
static void |
glColor3bv(java.nio.ByteBuffer v)
Byte pointer version of
Color3b. |
static void |
glColor3d(double red,
double green,
double blue)
Double version of
Color3b |
static void |
glColor3dv(double[] v)
Array version of:
Color3dv |
static void |
glColor3dv(java.nio.DoubleBuffer v)
Pointer version of
Color3d. |
static void |
glColor3f(float red,
float green,
float blue)
Float version of
Color3b |
static void |
glColor3fv(float[] v)
Array version of:
Color3fv |
static void |
glColor3fv(java.nio.FloatBuffer v)
Pointer version of
Color3f. |
static void |
glColor3i(int red,
int green,
int blue)
Integer version of
Color3b |
static void |
glColor3iv(int[] v)
Array version of:
Color3iv |
static void |
glColor3iv(java.nio.IntBuffer v)
Pointer version of
Color3i. |
static void |
glColor3s(short red,
short green,
short blue)
Short version of
Color3b |
static void |
glColor3sv(short[] v)
Array version of:
Color3sv |
static void |
glColor3sv(java.nio.ShortBuffer v)
Pointer version of
Color3s. |
static void |
glColor3ub(byte red,
byte green,
byte blue)
Unsigned version of
Color3b |
static void |
glColor3ubv(java.nio.ByteBuffer v)
Pointer version of
Color3ub. |
static void |
glColor3ui(int red,
int green,
int blue)
Unsigned int version of
Color3b |
static void |
glColor3uiv(int[] v)
Array version of:
Color3uiv |
static void |
glColor3uiv(java.nio.IntBuffer v)
Pointer version of
Color3ui. |
static void |
glColor3us(short red,
short green,
short blue)
Unsigned short version of
Color3b |
static void |
glColor3usv(short[] v)
Array version of:
Color3usv |
static void |
glColor3usv(java.nio.ShortBuffer v)
Pointer version of
Color3us. |
static void |
glColor4b(byte red,
byte green,
byte blue,
byte alpha)
Sets the current color.
|
static void |
glColor4bv(java.nio.ByteBuffer v)
Pointer version of
Color4b. |
static void |
glColor4d(double red,
double green,
double blue,
double alpha)
Double version of
Color4b |
static void |
glColor4dv(double[] v)
Array version of:
Color4dv |
static void |
glColor4dv(java.nio.DoubleBuffer v)
Pointer version of
Color4d. |
static void |
glColor4f(float red,
float green,
float blue,
float alpha)
Float version of
Color4b |
static void |
glColor4fv(float[] v)
Array version of:
Color4fv |
static void |
glColor4fv(java.nio.FloatBuffer v)
Pointer version of
Color4f. |
static void |
glColor4i(int red,
int green,
int blue,
int alpha)
Integer version of
Color4b |
static void |
glColor4iv(int[] v)
Array version of:
Color4iv |
static void |
glColor4iv(java.nio.IntBuffer v)
Pointer version of
Color4i. |
static void |
glColor4s(short red,
short green,
short blue,
short alpha)
Short version of
Color4b |
static void |
glColor4sv(short[] v)
Array version of:
Color4sv |
static void |
glColor4sv(java.nio.ShortBuffer v)
Pointer version of
Color4s. |
static void |
glColor4ub(byte red,
byte green,
byte blue,
byte alpha)
Unsigned version of
Color4b |
static void |
glColor4ubv(java.nio.ByteBuffer v)
Pointer version of
Color4ub. |
static void |
glColor4ui(int red,
int green,
int blue,
int alpha)
Unsigned int version of
Color4b |
static void |
glColor4uiv(int[] v)
Array version of:
Color4uiv |
static void |
glColor4uiv(java.nio.IntBuffer v)
Pointer version of
Color4ui. |
static void |
glColor4us(short red,
short green,
short blue,
short alpha)
Unsigned short version of
Color4b |
static void |
glColor4usv(short[] v)
Array version of:
Color4usv |
static void |
glColor4usv(java.nio.ShortBuffer v)
Pointer version of
Color4us. |
static void |
glColorMask(boolean red,
boolean green,
boolean blue,
boolean alpha)
Masks the writing of R, G, B and A values to all draw buffers.
|
static void |
glColorMaterial(int face,
int mode)
It is possible to attach one or more material properties to the current color, so that they continuously track its component values.
|
static void |
glColorPointer(int size,
int type,
int stride,
java.nio.ByteBuffer pointer)
Specifies the location and organization of a color array.
|
static void |
glColorPointer(int size,
int type,
int stride,
java.nio.FloatBuffer pointer)
Specifies the location and organization of a color array.
|
static void |
glColorPointer(int size,
int type,
int stride,
java.nio.IntBuffer pointer)
Specifies the location and organization of a color array.
|
static void |
glColorPointer(int size,
int type,
int stride,
long pointer)
Specifies the location and organization of a color array.
|
static void |
glColorPointer(int size,
int type,
int stride,
java.nio.ShortBuffer pointer)
Specifies the location and organization of a color array.
|
static void |
glCopyPixels(int x,
int y,
int width,
int height,
int type)
Transfers a rectangle of pixel values from one region of the read framebuffer to another in the draw framebuffer
|
static void |
glCopyTexImage1D(int target,
int level,
int internalFormat,
int x,
int y,
int width,
int border)
Defines a one-dimensional texel array in exactly the manner of
TexImage1D, except that the image data are taken from the framebuffer rather
than from client memory. |
static void |
glCopyTexImage2D(int target,
int level,
int internalFormat,
int x,
int y,
int width,
int height,
int border)
Defines a two-dimensional texel array in exactly the manner of
TexImage2D, except that the image data are taken from the framebuffer rather
than from client memory. |
static void |
glCopyTexSubImage1D(int target,
int level,
int xoffset,
int x,
int y,
int width)
Respecifies a rectangular subregion of an existing texel array.
|
static void |
glCopyTexSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int x,
int y,
int width,
int height)
Respecifies a rectangular subregion of an existing texel array.
|
static void |
glCullFace(int mode)
Specifies which polygon faces are culled if
CULL_FACE is enabled. |
static void |
glDeleteLists(int list,
int range)
Deletes a contiguous group of display lists.
|
static void |
glDeleteTextures(int texture)
Deletes texture objects.
|
static void |
glDeleteTextures(int[] textures)
Array version of:
DeleteTextures |
static void |
glDeleteTextures(java.nio.IntBuffer textures)
Deletes texture objects.
|
static void |
glDepthFunc(int func)
Specifies the comparison that takes place during the depth buffer test (when
DEPTH_TEST is enabled). |
static void |
glDepthMask(boolean flag)
Masks the writing of depth values to the depth buffer.
|
static void |
glDepthRange(double zNear,
double zFar)
Sets the depth range for all viewports to the same values.
|
static void |
glDisable(int target)
Disables the specified OpenGL state.
|
static void |
glDisableClientState(int cap)
Disables a client-side capability.
|
static void |
glDrawArrays(int mode,
int first,
int count)
Constructs a sequence of geometric primitives by successively transferring elements for
count vertices. |
static void |
glDrawBuffer(int buf)
Defines the color buffer to which fragment color zero is written.
|
static void |
glDrawElements(int mode,
java.nio.ByteBuffer indices)
Constructs a sequence of geometric primitives by successively transferring elements for
count vertices to the GL. |
static void |
glDrawElements(int mode,
java.nio.IntBuffer indices)
Constructs a sequence of geometric primitives by successively transferring elements for
count vertices to the GL. |
static void |
glDrawElements(int mode,
int type,
java.nio.ByteBuffer indices)
Constructs a sequence of geometric primitives by successively transferring elements for
count vertices to the GL. |
static void |
glDrawElements(int mode,
int count,
int type,
long indices)
Constructs a sequence of geometric primitives by successively transferring elements for
count vertices to the GL. |
static void |
glDrawElements(int mode,
java.nio.ShortBuffer indices)
Constructs a sequence of geometric primitives by successively transferring elements for
count vertices to the GL. |
static void |
glDrawPixels(int width,
int height,
int format,
int type,
java.nio.ByteBuffer pixels)
Draws a pixel rectangle to the active draw buffers.
|
static void |
glDrawPixels(int width,
int height,
int format,
int type,
float[] pixels)
Array version of:
DrawPixels |
static void |
glDrawPixels(int width,
int height,
int format,
int type,
java.nio.FloatBuffer pixels)
Draws a pixel rectangle to the active draw buffers.
|
static void |
glDrawPixels(int width,
int height,
int format,
int type,
int[] pixels)
Array version of:
DrawPixels |
static void |
glDrawPixels(int width,
int height,
int format,
int type,
java.nio.IntBuffer pixels)
Draws a pixel rectangle to the active draw buffers.
|
static void |
glDrawPixels(int width,
int height,
int format,
int type,
long pixels)
Draws a pixel rectangle to the active draw buffers.
|
static void |
glDrawPixels(int width,
int height,
int format,
int type,
short[] pixels)
Array version of:
DrawPixels |
static void |
glDrawPixels(int width,
int height,
int format,
int type,
java.nio.ShortBuffer pixels)
Draws a pixel rectangle to the active draw buffers.
|
static void |
glEdgeFlag(boolean flag)
Each edge of each polygon primitive generated is flagged as either boundary or non-boundary.
|
static void |
glEdgeFlagPointer(int stride,
java.nio.ByteBuffer pointer)
Specifies the location and organization of an edge flag array.
|
static void |
glEdgeFlagPointer(int stride,
long pointer)
Specifies the location and organization of an edge flag array.
|
static void |
glEdgeFlagv(java.nio.ByteBuffer flag)
Pointer version of
EdgeFlag. |
static void |
glEnable(int target)
Enables the specified OpenGL state.
|
static void |
glEnableClientState(int cap)
Enables a client-side capability.
|
static void |
glEnd()
Ends the definition of vertex attributes of a sequence of primitives to be transferred to the GL.
|
static void |
glEndList()
Ends the definition of GL commands to be placed in a display list.
|
static void |
glEvalCoord1d(double u)
Double version of
EvalCoord1f. |
static void |
glEvalCoord1dv(double[] u)
Array version of:
EvalCoord1dv |
static void |
glEvalCoord1dv(java.nio.DoubleBuffer u)
Pointer version of
EvalCoord1d. |
static void |
glEvalCoord1f(float u)
Causes evaluation of the enabled one-dimensional evaluator maps.
|
static void |
glEvalCoord1fv(float[] u)
Array version of:
EvalCoord1fv |
static void |
glEvalCoord1fv(java.nio.FloatBuffer u)
Pointer version of
EvalCoord1f. |
static void |
glEvalCoord2d(double u,
double v)
Double version of
EvalCoord2f. |
static void |
glEvalCoord2dv(double[] u)
Array version of:
EvalCoord2dv |
static void |
glEvalCoord2dv(java.nio.DoubleBuffer u)
Pointer version of
EvalCoord2d. |
static void |
glEvalCoord2f(float u,
float v)
Causes evaluation of the enabled two-dimensional evaluator maps.
|
static void |
glEvalCoord2fv(float[] u)
Array version of:
EvalCoord2fv |
static void |
glEvalCoord2fv(java.nio.FloatBuffer u)
Pointer version of
EvalCoord2f. |
static void |
glEvalMesh1(int mode,
int i1,
int i2)
Carries out an evaluation on a subset of the one-dimensional map grid.
|
static void |
glEvalMesh2(int mode,
int i1,
int i2,
int j1,
int j2)
Carries out an evaluation on a rectangular subset of the two-dimensional map grid.
|
static void |
glEvalPoint1(int i)
Carries out an evalutation of a single point on the one-dimensional map grid.
|
static void |
glEvalPoint2(int i,
int j)
Carries out an evalutation of a single point on the two-dimensional map grid.
|
static void |
glFeedbackBuffer(int type,
float[] buffer)
Array version of:
FeedbackBuffer |
static void |
glFeedbackBuffer(int type,
java.nio.FloatBuffer buffer)
Returns information about primitives when the GL is in feedback mode.
|
static void |
glFinish()
Forces all previously issued GL commands to complete.
|
static void |
glFlush()
Causes all previously issued GL commands to complete in finite time (although such commands may still be executing when
Flush returns). |
static void |
glFogf(int pname,
float param)
Sets the float value of a fog parameter.
|
static void |
glFogfv(int pname,
float[] params)
Array version of:
Fogfv |
static void |
glFogfv(int pname,
java.nio.FloatBuffer params)
Pointer version of
Fogf. |
static void |
glFogi(int pname,
int param)
Sets the integer value of a fog parameter.
|
static void |
glFogiv(int pname,
int[] params)
Array version of:
Fogiv |
static void |
glFogiv(int pname,
java.nio.IntBuffer params)
Pointer version of
Fogi. |
static void |
glFrontFace(int dir)
The first step of polygon rasterization is to determine if the polygon is back-facing or front-facing.
|
static void |
glFrustum(double l,
double r,
double b,
double t,
double n,
double f)
Manipulates the current matrix with a matrix that produces perspective projection, in such a way that the coordinates
(lb – n)T
and (rt – n)T specify the points on the near clipping plane that are mapped to the lower left and upper right corners of the
window, respectively (assuming that the eye is located at (0 0 0)T). |
static int |
glGenLists(int s)
Returns an integer n such that the indices
n,..., n + s - 1 are previously unused (i.e. |
static int |
glGenTextures()
Returns n previously unused texture names in textures.
|
static void |
glGenTextures(int[] textures)
Array version of:
GenTextures |
static void |
glGenTextures(java.nio.IntBuffer textures)
Returns n previously unused texture names in textures.
|
static boolean |
glGetBoolean(int pname)
Returns the current boolean value of the specified state variable.
|
static void |
glGetBooleanv(int pname,
java.nio.ByteBuffer params)
Returns the current boolean value of the specified state variable.
|
static void |
glGetClipPlane(int plane,
double[] equation)
Array version of:
GetClipPlane |
static void |
glGetClipPlane(int plane,
java.nio.DoubleBuffer equation)
Returns four double-precision values in
equation; these are the coefficients of the plane equation of plane in eye coordinates (these
coordinates are those that were computed when the plane was specified). |
static double |
glGetDouble(int pname)
Returns the current double value of the specified state variable.
|
static void |
glGetDoublev(int pname,
double[] params)
Array version of:
GetDoublev |
static void |
glGetDoublev(int pname,
java.nio.DoubleBuffer params)
Returns the current double value of the specified state variable.
|
static int |
glGetError()
Returns error information.
|
static float |
glGetFloat(int pname)
Returns the current float value of the specified state variable.
|
static void |
glGetFloatv(int pname,
float[] params)
Array version of:
GetFloatv |
static void |
glGetFloatv(int pname,
java.nio.FloatBuffer params)
Returns the current float value of the specified state variable.
|
static int |
glGetInteger(int pname)
Returns the current integer value of the specified state variable.
|
static void |
glGetIntegerv(int pname,
int[] params)
Array version of:
GetIntegerv |
static void |
glGetIntegerv(int pname,
java.nio.IntBuffer params)
Returns the current integer value of the specified state variable.
|
static float |
glGetLightf(int light,
int pname)
Float version of
GetLightiv. |
static void |
glGetLightfv(int light,
int pname,
float[] data)
Array version of:
GetLightfv |
static void |
glGetLightfv(int light,
int pname,
java.nio.FloatBuffer data)
Float version of
GetLightiv. |
static int |
glGetLighti(int light,
int pname)
Returns integer information about light parameter
pname for light in data. |
static void |
glGetLightiv(int light,
int pname,
int[] data)
Array version of:
GetLightiv |
static void |
glGetLightiv(int light,
int pname,
java.nio.IntBuffer data)
Returns integer information about light parameter
pname for light in data. |
static double |
glGetMapd(int target,
int query)
Double version of
GetMapiv. |
static void |
glGetMapdv(int target,
int query,
double[] data)
Array version of:
GetMapdv |
static void |
glGetMapdv(int target,
int query,
java.nio.DoubleBuffer data)
Double version of
GetMapiv. |
static float |
glGetMapf(int target,
int query)
Float version of
GetMapiv. |
static void |
glGetMapfv(int target,
int query,
float[] data)
Array version of:
GetMapfv |
static void |
glGetMapfv(int target,
int query,
java.nio.FloatBuffer data)
Float version of
GetMapiv. |
static int |
glGetMapi(int target,
int query)
Returns integer information about
query for evaluator map target in data. |
static void |
glGetMapiv(int target,
int query,
int[] data)
Array version of:
GetMapiv |
static void |
glGetMapiv(int target,
int query,
java.nio.IntBuffer data)
Returns integer information about
query for evaluator map target in data. |
static void |
glGetMaterialfv(int face,
int pname,
float[] data)
Array version of:
GetMaterialfv |
static void |
glGetMaterialfv(int face,
int pname,
java.nio.FloatBuffer data)
Float version of
GetMaterialiv. |
static void |
glGetMaterialiv(int face,
int pname,
int[] data)
Array version of:
GetMaterialiv |
static void |
glGetMaterialiv(int face,
int pname,
java.nio.IntBuffer data)
Returns integer information about material property
pname for face in data. |
static void |
glGetPixelMapfv(int map,
float[] data)
Array version of:
GetPixelMapfv |
static void |
glGetPixelMapfv(int map,
java.nio.FloatBuffer data)
Returns all float values in the pixel map
map in data. |
static void |
glGetPixelMapfv(int map,
long data)
Returns all float values in the pixel map
map in data. |
static void |
glGetPixelMapuiv(int map,
int[] data)
Array version of:
GetPixelMapuiv |
static void |
glGetPixelMapuiv(int map,
java.nio.IntBuffer data)
Unsigned integer version of
GetPixelMapfv. |
static void |
glGetPixelMapuiv(int map,
long data)
Unsigned integer version of
GetPixelMapfv. |
static void |
glGetPixelMapusv(int map,
long data)
Unsigned short version of
GetPixelMapfv. |
static void |
glGetPixelMapusv(int map,
short[] data)
Array version of:
GetPixelMapusv |
static void |
glGetPixelMapusv(int map,
java.nio.ShortBuffer data)
Unsigned short version of
GetPixelMapfv. |
static long |
glGetPointer(int pname)
Returns a pointer in the current GL context.
|
static void |
glGetPointerv(int pname,
org.lwjgl.PointerBuffer params)
Returns a pointer in the current GL context.
|
static void |
glGetPolygonStipple(java.nio.ByteBuffer pattern)
Obtains the polygon stipple.
|
static void |
glGetPolygonStipple(long pattern)
Obtains the polygon stipple.
|
static java.lang.String |
glGetString(int name)
Return strings describing properties of the current GL context.
|
static float |
glGetTexEnvf(int env,
int pname)
Float version of
GetTexEnviv. |
static void |
glGetTexEnvfv(int env,
int pname,
float[] data)
Array version of:
GetTexEnvfv |
static void |
glGetTexEnvfv(int env,
int pname,
java.nio.FloatBuffer data)
Float version of
GetTexEnviv. |
static int |
glGetTexEnvi(int env,
int pname)
Returns integer information about
pname for env in data. |
static void |
glGetTexEnviv(int env,
int pname,
int[] data)
Array version of:
GetTexEnviv |
static void |
glGetTexEnviv(int env,
int pname,
java.nio.IntBuffer data)
Returns integer information about
pname for env in data. |
static double |
glGetTexGend(int coord,
int pname)
Double version of
GetTexGeniv. |
static void |
glGetTexGendv(int coord,
int pname,
double[] data)
Array version of:
GetTexGendv |
static void |
glGetTexGendv(int coord,
int pname,
java.nio.DoubleBuffer data)
Double version of
GetTexGeniv. |
static float |
glGetTexGenf(int coord,
int pname)
Float version of
GetTexGeniv. |
static void |
glGetTexGenfv(int coord,
int pname,
float[] data)
Array version of:
GetTexGenfv |
static void |
glGetTexGenfv(int coord,
int pname,
java.nio.FloatBuffer data)
Float version of
GetTexGeniv. |
static int |
glGetTexGeni(int coord,
int pname)
Returns integer information about
pname for coord in data. |
static void |
glGetTexGeniv(int coord,
int pname,
int[] data)
Array version of:
GetTexGeniv |
static void |
glGetTexGeniv(int coord,
int pname,
java.nio.IntBuffer data)
Returns integer information about
pname for coord in data. |
static void |
glGetTexImage(int tex,
int level,
int format,
int type,
java.nio.ByteBuffer pixels)
Obtains texture images.
|
static void |
glGetTexImage(int tex,
int level,
int format,
int type,
double[] pixels)
Array version of:
GetTexImage |
static void |
glGetTexImage(int tex,
int level,
int format,
int type,
java.nio.DoubleBuffer pixels)
Obtains texture images.
|
static void |
glGetTexImage(int tex,
int level,
int format,
int type,
float[] pixels)
Array version of:
GetTexImage |
static void |
glGetTexImage(int tex,
int level,
int format,
int type,
java.nio.FloatBuffer pixels)
Obtains texture images.
|
static void |
glGetTexImage(int tex,
int level,
int format,
int type,
int[] pixels)
Array version of:
GetTexImage |
static void |
glGetTexImage(int tex,
int level,
int format,
int type,
java.nio.IntBuffer pixels)
Obtains texture images.
|
static void |
glGetTexImage(int tex,
int level,
int format,
int type,
long pixels)
Obtains texture images.
|
static void |
glGetTexImage(int tex,
int level,
int format,
int type,
short[] pixels)
Array version of:
GetTexImage |
static void |
glGetTexImage(int tex,
int level,
int format,
int type,
java.nio.ShortBuffer pixels)
Obtains texture images.
|
static float |
glGetTexLevelParameterf(int target,
int level,
int pname)
Float version of
GetTexLevelParameteriv. |
static void |
glGetTexLevelParameterfv(int target,
int level,
int pname,
float[] params)
Array version of:
GetTexLevelParameterfv |
static void |
glGetTexLevelParameterfv(int target,
int level,
int pname,
java.nio.FloatBuffer params)
Float version of
GetTexLevelParameteriv. |
static int |
glGetTexLevelParameteri(int target,
int level,
int pname)
Places integer information about texture image parameter
pname for level-of-detail level of the specified target into params. |
static void |
glGetTexLevelParameteriv(int target,
int level,
int pname,
int[] params)
Array version of:
GetTexLevelParameteriv |
static void |
glGetTexLevelParameteriv(int target,
int level,
int pname,
java.nio.IntBuffer params)
Places integer information about texture image parameter
pname for level-of-detail level of the specified target into params. |
static float |
glGetTexParameterf(int target,
int pname)
Float version of
GetTexParameteriv. |
static void |
glGetTexParameterfv(int target,
int pname,
float[] params)
Array version of:
GetTexParameterfv |
static void |
glGetTexParameterfv(int target,
int pname,
java.nio.FloatBuffer params)
Float version of
GetTexParameteriv. |
static int |
glGetTexParameteri(int target,
int pname)
Place integer information about texture parameter
pname for the specified target into params. |
static void |
glGetTexParameteriv(int target,
int pname,
int[] params)
Array version of:
GetTexParameteriv |
static void |
glGetTexParameteriv(int target,
int pname,
java.nio.IntBuffer params)
Place integer information about texture parameter
pname for the specified target into params. |
static void |
glHint(int target,
int hint)
Certain aspects of GL behavior, when there is room for variation, may be controlled with this function.
|
static void |
glIndexd(double index)
Double version of
Indexi. |
static void |
glIndexdv(double[] index)
Array version of:
Indexdv |
static void |
glIndexdv(java.nio.DoubleBuffer index)
Pointer version of
Indexd. |
static void |
glIndexf(float index)
Float version of
Indexi. |
static void |
glIndexfv(float[] index)
Array version of:
Indexfv |
static void |
glIndexfv(java.nio.FloatBuffer index)
Pointer version of
Indexf. |
static void |
glIndexi(int index)
Updates the current (single-valued) color index.
|
static void |
glIndexiv(int[] index)
Array version of:
Indexiv |
static void |
glIndexiv(java.nio.IntBuffer index)
Pointer version of
Indexi |
static void |
glIndexMask(int mask)
The least significant n bits of mask, where n is the number of bits in a color index buffer, specify a mask.
|
static void |
glIndexPointer(int stride,
java.nio.ByteBuffer pointer)
Specifies the location and organization of a color index array.
|
static void |
glIndexPointer(int stride,
java.nio.IntBuffer pointer)
Specifies the location and organization of a color index array.
|
static void |
glIndexPointer(int type,
int stride,
java.nio.ByteBuffer pointer)
Specifies the location and organization of a color index array.
|
static void |
glIndexPointer(int type,
int stride,
long pointer)
Specifies the location and organization of a color index array.
|
static void |
glIndexPointer(int stride,
java.nio.ShortBuffer pointer)
Specifies the location and organization of a color index array.
|
static void |
glIndexs(short index)
Short version of
Indexi. |
static void |
glIndexsv(short[] index)
Array version of:
Indexsv |
static void |
glIndexsv(java.nio.ShortBuffer index)
Pointer version of
Indexs. |
static void |
glIndexub(byte index)
Unsigned byte version of
Indexi. |
static void |
glIndexubv(java.nio.ByteBuffer index)
Pointer version of
Indexub. |
static void |
glInitNames()
Clears the selection name stack.
|
static void |
glInterleavedArrays(int format,
int stride,
java.nio.ByteBuffer pointer)
Efficiently initializes the six vertex arrays and their enables to one of 14 configurations.
|
static void |
glInterleavedArrays(int format,
int stride,
double[] pointer)
Array version of:
InterleavedArrays |
static void |
glInterleavedArrays(int format,
int stride,
java.nio.DoubleBuffer pointer)
Efficiently initializes the six vertex arrays and their enables to one of 14 configurations.
|
static void |
glInterleavedArrays(int format,
int stride,
float[] pointer)
Array version of:
InterleavedArrays |
static void |
glInterleavedArrays(int format,
int stride,
java.nio.FloatBuffer pointer)
Efficiently initializes the six vertex arrays and their enables to one of 14 configurations.
|
static void |
glInterleavedArrays(int format,
int stride,
int[] pointer)
Array version of:
InterleavedArrays |
static void |
glInterleavedArrays(int format,
int stride,
java.nio.IntBuffer pointer)
Efficiently initializes the six vertex arrays and their enables to one of 14 configurations.
|
static void |
glInterleavedArrays(int format,
int stride,
long pointer)
Efficiently initializes the six vertex arrays and their enables to one of 14 configurations.
|
static void |
glInterleavedArrays(int format,
int stride,
short[] pointer)
Array version of:
InterleavedArrays |
static void |
glInterleavedArrays(int format,
int stride,
java.nio.ShortBuffer pointer)
Efficiently initializes the six vertex arrays and their enables to one of 14 configurations.
|
static boolean |
glIsEnabled(int cap)
Determines if
cap is currently enabled (as with Enable) or disabled. |
static boolean |
glIsList(int list)
Returns true if the
list is the index of some display list. |
static boolean |
glIsTexture(int texture)
Returns true if
texture is the name of a texture object. |
static void |
glLightf(int light,
int pname,
float param)
Float version of
Lighti. |
static void |
glLightfv(int light,
int pname,
float[] params)
Array version of:
Lightfv |
static void |
glLightfv(int light,
int pname,
java.nio.FloatBuffer params)
Pointer version of
Lightf. |
static void |
glLighti(int light,
int pname,
int param)
Sets the integer value of a light parameter.
|
static void |
glLightiv(int light,
int pname,
int[] params)
Array version of:
Lightiv |
static void |
glLightiv(int light,
int pname,
java.nio.IntBuffer params)
Pointer version of
Lighti. |
static void |
glLightModelf(int pname,
float param)
Float version of
LightModeli. |
static void |
glLightModelfv(int pname,
float[] params)
Array version of:
LightModelfv |
static void |
glLightModelfv(int pname,
java.nio.FloatBuffer params)
Pointer version of
LightModelf. |
static void |
glLightModeli(int pname,
int param)
Set the integer value of a lighting model parameter.
|
static void |
glLightModeliv(int pname,
int[] params)
Array version of:
LightModeliv |
static void |
glLightModeliv(int pname,
java.nio.IntBuffer params)
Pointer version of
LightModeli. |
static void |
glLineStipple(int factor,
short pattern)
Defines a line stipple.
|
static void |
glLineWidth(float width)
Sets the width of rasterized line segments.
|
static void |
glListBase(int base)
Sets the display list base.
|
static void |
glLoadIdentity()
Sets the current matrix to the identity matrix.
|
static void |
glLoadMatrixd(double[] m)
Array version of:
LoadMatrixd |
static void |
glLoadMatrixd(java.nio.DoubleBuffer m)
Double version of
LoadMatrixf. |
static void |
glLoadMatrixf(float[] m)
Array version of:
LoadMatrixf |
static void |
glLoadMatrixf(java.nio.FloatBuffer m)
Sets the current matrix to a 4 × 4 matrix in column-major order.
|
static void |
glLoadName(int name)
Replaces the value on the top of the selection stack with
name. |
static void |
glLogicOp(int op)
Sets the logical framebuffer operation.
|
static void |
glMap1d(int target,
double u1,
double u2,
int stride,
int order,
double[] points)
Array version of:
Map1d |
static void |
glMap1d(int target,
double u1,
double u2,
int stride,
int order,
java.nio.DoubleBuffer points)
Double version of
Map1f. |
static void |
glMap1f(int target,
float u1,
float u2,
int stride,
int order,
float[] points)
Array version of:
Map1f |
static void |
glMap1f(int target,
float u1,
float u2,
int stride,
int order,
java.nio.FloatBuffer points)
Defines a polynomial or rational polynomial mapping to produce vertex, normal, texture coordinates and colors.
|
static void |
glMap2d(int target,
double u1,
double u2,
int ustride,
int uorder,
double v1,
double v2,
int vstride,
int vorder,
double[] points)
Array version of:
Map2d |
static void |
glMap2d(int target,
double u1,
double u2,
int ustride,
int uorder,
double v1,
double v2,
int vstride,
int vorder,
java.nio.DoubleBuffer points)
Double version of
Map2f. |
static void |
glMap2f(int target,
float u1,
float u2,
int ustride,
int uorder,
float v1,
float v2,
int vstride,
int vorder,
float[] points)
Array version of:
Map2f |
static void |
glMap2f(int target,
float u1,
float u2,
int ustride,
int uorder,
float v1,
float v2,
int vstride,
int vorder,
java.nio.FloatBuffer points)
Bivariate version of
Map1f. |
static void |
glMapGrid1d(int n,
double u1,
double u2)
Double version of
MapGrid1f. |
static void |
glMapGrid1f(int n,
float u1,
float u2)
Defines a one-dimensional grid in the map evaluator domain.
|
static void |
glMapGrid2d(int un,
double u1,
double u2,
int vn,
double v1,
double v2)
Double version of
MapGrid2f. |
static void |
glMapGrid2f(int un,
float u1,
float u2,
int vn,
float v1,
float v2)
Defines a two-dimensional grid in the map evaluator domain.
|
static void |
glMaterialf(int face,
int pname,
float param)
Float version of
Materiali. |
static void |
glMaterialfv(int face,
int pname,
float[] params)
Array version of:
Materialfv |
static void |
glMaterialfv(int face,
int pname,
java.nio.FloatBuffer params)
Pointer version of
Materialf. |
static void |
glMateriali(int face,
int pname,
int param)
Sets the integer value of a material parameter.
|
static void |
glMaterialiv(int face,
int pname,
int[] params)
Array version of:
Materialiv |
static void |
glMaterialiv(int face,
int pname,
java.nio.IntBuffer params)
Pointer version of
Materiali. |
static void |
glMatrixMode(int mode)
Set the current matrix mode.
|
static void |
glMultMatrixd(double[] m)
Array version of:
MultMatrixd |
static void |
glMultMatrixd(java.nio.DoubleBuffer m)
Double version of
MultMatrixf. |
static void |
glMultMatrixf(float[] m)
Array version of:
MultMatrixf |
static void |
glMultMatrixf(java.nio.FloatBuffer m)
Multiplies the current matrix with a 4 × 4 matrix in column-major order.
|
static void |
glNewList(int n,
int mode)
Begins the definition of a display list.
|
static void |
glNormal3b(byte nx,
byte ny,
byte nz)
Byte version of
Normal3f. |
static void |
glNormal3bv(java.nio.ByteBuffer v)
Pointer version of
Normal3b. |
static void |
glNormal3d(double nx,
double ny,
double nz)
Double version of
Normal3f. |
static void |
glNormal3dv(double[] v)
Array version of:
Normal3dv |
static void |
glNormal3dv(java.nio.DoubleBuffer v)
Pointer version of
Normal3d. |
static void |
glNormal3f(float nx,
float ny,
float nz)
Sets the current normal.
|
static void |
glNormal3fv(float[] v)
Array version of:
Normal3fv |
static void |
glNormal3fv(java.nio.FloatBuffer v)
Pointer version of
Normal3f. |
static void |
glNormal3i(int nx,
int ny,
int nz)
Integer version of
Normal3f. |
static void |
glNormal3iv(int[] v)
Array version of:
Normal3iv |
static void |
glNormal3iv(java.nio.IntBuffer v)
Pointer version of
Normal3i. |
static void |
glNormal3s(short nx,
short ny,
short nz)
Short version of
Normal3f. |
static void |
glNormal3sv(short[] v)
Array version of:
Normal3sv |
static void |
glNormal3sv(java.nio.ShortBuffer v)
Pointer version of
Normal3s. |
static void |
glNormalPointer(int type,
int stride,
java.nio.ByteBuffer pointer)
Specifies the location and organization of a normal array.
|
static void |
glNormalPointer(int type,
int stride,
java.nio.FloatBuffer pointer)
Specifies the location and organization of a normal array.
|
static void |
glNormalPointer(int type,
int stride,
java.nio.IntBuffer pointer)
Specifies the location and organization of a normal array.
|
static void |
glNormalPointer(int type,
int stride,
long pointer)
Specifies the location and organization of a normal array.
|
static void |
glNormalPointer(int type,
int stride,
java.nio.ShortBuffer pointer)
Specifies the location and organization of a normal array.
|
static void |
glOrtho(double l,
double r,
double b,
double t,
double n,
double f)
Manipulates the current matrix with a matrix that produces parallel projection, in such a way that the coordinates
(lb – n)T
and (rt – n)T specify the points on the near clipping plane that are mapped to the lower left and upper right corners of the
window, respectively (assuming that the eye is located at (0 0 0)T). |
static void |
glPassThrough(float token)
Inserts a marker when the GL is in feeback mode.
|
static void |
glPixelMapfv(int map,
float[] values)
Array version of:
PixelMapfv |
static void |
glPixelMapfv(int map,
java.nio.FloatBuffer values)
Sets a pixel map lookup table.
|
static void |
glPixelMapfv(int map,
int size,
long values)
Sets a pixel map lookup table.
|
static void |
glPixelMapuiv(int map,
int[] values)
Array version of:
PixelMapuiv |
static void |
glPixelMapuiv(int map,
java.nio.IntBuffer values)
Unsigned integer version of
PixelMapfv. |
static void |
glPixelMapuiv(int map,
int size,
long values)
Unsigned integer version of
PixelMapfv. |
static void |
glPixelMapusv(int map,
int size,
long values)
Unsigned short version of
PixelMapfv. |
static void |
glPixelMapusv(int map,
short[] values)
Array version of:
PixelMapusv |
static void |
glPixelMapusv(int map,
java.nio.ShortBuffer values)
Unsigned short version of
PixelMapfv. |
static void |
glPixelStoref(int pname,
float param)
Float version of
PixelStorei. |
static void |
glPixelStorei(int pname,
int param)
Sets the integer value of a pixel store parameter.
|
static void |
glPixelTransferf(int pname,
float param)
Float version of
PixelTransferi. |
static void |
glPixelTransferi(int pname,
int param)
Sets the integer value of a pixel transfer parameter.
|
static void |
glPixelZoom(float xfactor,
float yfactor)
Controls the conversion of a group of fragments.
|
static void |
glPointSize(float size)
Controls the rasterization of points if no vertex, tessellation control, tessellation evaluation, or geometry shader is active.
|
static void |
glPolygonMode(int face,
int mode)
Controls the interpretation of polygons for rasterization.
|
static void |
glPolygonOffset(float factor,
float units)
The depth values of all fragments generated by the rasterization of a polygon may be offset by a single value that is computed for that polygon.
|
static void |
glPolygonStipple(java.nio.ByteBuffer pattern)
Defines a polygon stipple.
|
static void |
glPolygonStipple(long pattern)
Defines a polygon stipple.
|
static void |
glPopAttrib()
Resets the values of those state variables that were saved with the last
PushAttrib. |
static void |
glPopClientAttrib()
Resets the values of those state variables that were saved with the last
PushClientAttrib. |
static void |
glPopMatrix()
Pops the top entry off the current matrix stack, replacing the current matrix with the matrix that was the second entry in the stack.
|
static void |
glPopName()
Pops one name off the top of the selection name stack.
|
static void |
glPrioritizeTextures(int[] textures,
float[] priorities)
Array version of:
PrioritizeTextures |
static void |
glPrioritizeTextures(java.nio.IntBuffer textures,
java.nio.FloatBuffer priorities)
Sets the priority of texture objects.
|
static void |
glPushAttrib(int mask)
Takes a bitwise OR of symbolic constants indicating which groups of state variables to push onto the server attribute stack.
|
static void |
glPushClientAttrib(int mask)
Takes a bitwise OR of symbolic constants indicating which groups of state variables to push onto the client attribute stack.
|
static void |
glPushMatrix()
Pushes the current matrix stack down by one, duplicating the current matrix in both the top of the stack and the entry below it.
|
static void |
glPushName(int name)
Causes
name to be pushed onto the selection name stack. |
static void |
glRasterPos2d(double x,
double y)
Double version of
RasterPos2i. |
static void |
glRasterPos2dv(double[] coords)
Array version of:
RasterPos2dv |
static void |
glRasterPos2dv(java.nio.DoubleBuffer coords)
Pointer version of
RasterPos2d. |
static void |
glRasterPos2f(float x,
float y)
Float version of
RasterPos2i. |
static void |
glRasterPos2fv(float[] coords)
Array version of:
RasterPos2fv |
static void |
glRasterPos2fv(java.nio.FloatBuffer coords)
Pointer version of
RasterPos2f. |
static void |
glRasterPos2i(int x,
int y)
Sets the two-dimensional current raster position.
|
static void |
glRasterPos2iv(int[] coords)
Array version of:
RasterPos2iv |
static void |
glRasterPos2iv(java.nio.IntBuffer coords)
Pointer version of
RasterPos2i. |
static void |
glRasterPos2s(short x,
short y)
Short version of
RasterPos2i. |
static void |
glRasterPos2sv(short[] coords)
Array version of:
RasterPos2sv |
static void |
glRasterPos2sv(java.nio.ShortBuffer coords)
Pointer version of
RasterPos2s. |
static void |
glRasterPos3d(double x,
double y,
double z)
Double version of
RasterPos3i. |
static void |
glRasterPos3dv(double[] coords)
Array version of:
RasterPos3dv |
static void |
glRasterPos3dv(java.nio.DoubleBuffer coords)
Pointer version of
RasterPos3d. |
static void |
glRasterPos3f(float x,
float y,
float z)
Float version of
RasterPos3i. |
static void |
glRasterPos3fv(float[] coords)
Array version of:
RasterPos3fv |
static void |
glRasterPos3fv(java.nio.FloatBuffer coords)
Pointer version of
RasterPos3f. |
static void |
glRasterPos3i(int x,
int y,
int z)
Sets the three-dimensional current raster position.
|
static void |
glRasterPos3iv(int[] coords)
Array version of:
RasterPos3iv |
static void |
glRasterPos3iv(java.nio.IntBuffer coords)
Pointer version of
RasterPos3i. |
static void |
glRasterPos3s(short x,
short y,
short z)
Short version of
RasterPos3i. |
static void |
glRasterPos3sv(short[] coords)
Array version of:
RasterPos3sv |
static void |
glRasterPos3sv(java.nio.ShortBuffer coords)
Pointer version of
RasterPos3s. |
static void |
glRasterPos4d(double x,
double y,
double z,
double w)
Double version of
RasterPos4i. |
static void |
glRasterPos4dv(double[] coords)
Array version of:
RasterPos4dv |
static void |
glRasterPos4dv(java.nio.DoubleBuffer coords)
Pointer version of
RasterPos4d. |
static void |
glRasterPos4f(float x,
float y,
float z,
float w)
Float version of RasterPos4i.
|
static void |
glRasterPos4fv(float[] coords)
Array version of:
RasterPos4fv |
static void |
glRasterPos4fv(java.nio.FloatBuffer coords)
Pointer version of
RasterPos4f. |
static void |
glRasterPos4i(int x,
int y,
int z,
int w)
Sets the four-dimensional current raster position.
|
static void |
glRasterPos4iv(int[] coords)
Array version of:
RasterPos4iv |
static void |
glRasterPos4iv(java.nio.IntBuffer coords)
Pointer version of
RasterPos4i. |
static void |
glRasterPos4s(short x,
short y,
short z,
short w)
Short version of
RasterPos4i. |
static void |
glRasterPos4sv(short[] coords)
Array version of:
RasterPos4sv |
static void |
glRasterPos4sv(java.nio.ShortBuffer coords)
Pointer version of
RasterPos4s. |
static void |
glReadBuffer(int src)
Defines the color buffer from which values are obtained.
|
static void |
glReadPixels(int x,
int y,
int width,
int height,
int format,
int type,
java.nio.ByteBuffer pixels)
ReadPixels obtains values from the selected read buffer from each pixel with lower left hand corner at
(x + i, y + j) for 0 <= i < width
and 0 <= j < height; this pixel is said to be the ith pixel in the jth row. |
static void |
glReadPixels(int x,
int y,
int width,
int height,
int format,
int type,
float[] pixels)
Array version of:
ReadPixels |
static void |
glReadPixels(int x,
int y,
int width,
int height,
int format,
int type,
java.nio.FloatBuffer pixels)
ReadPixels obtains values from the selected read buffer from each pixel with lower left hand corner at
(x + i, y + j) for 0 <= i < width
and 0 <= j < height; this pixel is said to be the ith pixel in the jth row. |
static void |
glReadPixels(int x,
int y,
int width,
int height,
int format,
int type,
int[] pixels)
Array version of:
ReadPixels |
static void |
glReadPixels(int x,
int y,
int width,
int height,
int format,
int type,
java.nio.IntBuffer pixels)
ReadPixels obtains values from the selected read buffer from each pixel with lower left hand corner at
(x + i, y + j) for 0 <= i < width
and 0 <= j < height; this pixel is said to be the ith pixel in the jth row. |
static void |
glReadPixels(int x,
int y,
int width,
int height,
int format,
int type,
long pixels)
ReadPixels obtains values from the selected read buffer from each pixel with lower left hand corner at
(x + i, y + j) for 0 <= i < width
and 0 <= j < height; this pixel is said to be the ith pixel in the jth row. |
static void |
glReadPixels(int x,
int y,
int width,
int height,
int format,
int type,
short[] pixels)
Array version of:
ReadPixels |
static void |
glReadPixels(int x,
int y,
int width,
int height,
int format,
int type,
java.nio.ShortBuffer pixels)
ReadPixels obtains values from the selected read buffer from each pixel with lower left hand corner at
(x + i, y + j) for 0 <= i < width
and 0 <= j < height; this pixel is said to be the ith pixel in the jth row. |
static void |
glRectd(double x1,
double y1,
double x2,
double y2)
Double version of
Recti. |
static void |
glRectdv(double[] v1,
double[] v2)
Array version of:
Rectdv |
static void |
glRectdv(java.nio.DoubleBuffer v1,
java.nio.DoubleBuffer v2)
Pointer version of
Rectd. |
static void |
glRectf(float x1,
float y1,
float x2,
float y2)
Float version of
Recti. |
static void |
glRectfv(float[] v1,
float[] v2)
Array version of:
Rectfv |
static void |
glRectfv(java.nio.FloatBuffer v1,
java.nio.FloatBuffer v2)
Pointer version of
Rectf. |
static void |
glRecti(int x1,
int y1,
int x2,
int y2)
Specifies a rectangle as two corner vertices.
|
static void |
glRectiv(int[] v1,
int[] v2)
Array version of:
Rectiv |
static void |
glRectiv(java.nio.IntBuffer v1,
java.nio.IntBuffer v2)
Pointer version of
Recti. |
static void |
glRects(short x1,
short y1,
short x2,
short y2)
Short version of
Recti. |
static void |
glRectsv(short[] v1,
short[] v2)
Array version of:
Rectsv |
static void |
glRectsv(java.nio.ShortBuffer v1,
java.nio.ShortBuffer v2)
Pointer version of
Rects. |
static int |
glRenderMode(int mode)
Sets the current render mode.
|
static void |
glRotated(double angle,
double x,
double y,
double z)
Double version of
Rotatef. |
static void |
glRotatef(float angle,
float x,
float y,
float z)
Manipulates the current matrix with a rotation matrix.
|
static void |
glScaled(double x,
double y,
double z)
Double version of
Scalef. |
static void |
glScalef(float x,
float y,
float z)
Manipulates the current matrix with a general scaling matrix along the x-, y- and z- axes.
|
static void |
glScissor(int x,
int y,
int width,
int height)
Defines the scissor rectangle for all viewports.
|
static void |
glSelectBuffer(int[] buffer)
Array version of:
SelectBuffer |
static void |
glSelectBuffer(java.nio.IntBuffer buffer)
Sets the selection array.
|
static void |
glShadeModel(int mode)
Sets the current shade mode.
|
static void |
glStencilFunc(int func,
int ref,
int mask)
Controls the stencil test.
|
static void |
glStencilMask(int mask)
Masks the writing of particular bits into the stencil plans.
|
static void |
glStencilOp(int sfail,
int dpfail,
int dppass)
Indicates what happens to the stored stencil value if this or certain subsequent tests fail or pass.
|
static void |
glTexCoord1d(double s)
Double version of
TexCoord1f. |
static void |
glTexCoord1dv(double[] v)
Array version of:
TexCoord1dv |
static void |
glTexCoord1dv(java.nio.DoubleBuffer v)
Pointer version of
TexCoord1d. |
static void |
glTexCoord1f(float s)
Sets the current one-dimensional texture coordinate.
|
static void |
glTexCoord1fv(float[] v)
Array version of:
TexCoord1fv |
static void |
glTexCoord1fv(java.nio.FloatBuffer v)
Pointer version of
TexCoord1f. |
static void |
glTexCoord1i(int s)
Integer version of
TexCoord1f. |
static void |
glTexCoord1iv(int[] v)
Array version of:
TexCoord1iv |
static void |
glTexCoord1iv(java.nio.IntBuffer v)
Pointer version of
TexCoord1i. |
static void |
glTexCoord1s(short s)
Short version of
TexCoord1f. |
static void |
glTexCoord1sv(short[] v)
Array version of:
TexCoord1sv |
static void |
glTexCoord1sv(java.nio.ShortBuffer v)
Pointer version of
TexCoord1s. |
static void |
glTexCoord2d(double s,
double t)
Double version of
TexCoord2f. |
static void |
glTexCoord2dv(double[] v)
Array version of:
TexCoord2dv |
static void |
glTexCoord2dv(java.nio.DoubleBuffer v)
Pointer version of
TexCoord2d. |
static void |
glTexCoord2f(float s,
float t)
Sets the current two-dimensional texture coordinate.
|
static void |
glTexCoord2fv(float[] v)
Array version of:
TexCoord2fv |
static void |
glTexCoord2fv(java.nio.FloatBuffer v)
Pointer version of
TexCoord2f. |
static void |
glTexCoord2i(int s,
int t)
Integer version of
TexCoord2f. |
static void |
glTexCoord2iv(int[] v)
Array version of:
TexCoord2iv |
static void |
glTexCoord2iv(java.nio.IntBuffer v)
Pointer version of
TexCoord2i. |
static void |
glTexCoord2s(short s,
short t)
Short version of
TexCoord2f. |
static void |
glTexCoord2sv(short[] v)
Array version of:
TexCoord2sv |
static void |
glTexCoord2sv(java.nio.ShortBuffer v)
Pointer version of
TexCoord2s. |
static void |
glTexCoord3d(double s,
double t,
double r)
Double version of
TexCoord3f. |
static void |
glTexCoord3dv(double[] v)
Array version of:
TexCoord3dv |
static void |
glTexCoord3dv(java.nio.DoubleBuffer v)
Pointer version of
TexCoord3d. |
static void |
glTexCoord3f(float s,
float t,
float r)
Sets the current three-dimensional texture coordinate.
|
static void |
glTexCoord3fv(float[] v)
Array version of:
TexCoord3fv |
static void |
glTexCoord3fv(java.nio.FloatBuffer v)
Pointer version of
TexCoord3f. |
static void |
glTexCoord3i(int s,
int t,
int r)
Integer version of
TexCoord3f. |
static void |
glTexCoord3iv(int[] v)
Array version of:
TexCoord3iv |
static void |
glTexCoord3iv(java.nio.IntBuffer v)
Pointer version of
TexCoord3i. |
static void |
glTexCoord3s(short s,
short t,
short r)
Short version of
TexCoord3f. |
static void |
glTexCoord3sv(short[] v)
Array version of:
TexCoord3sv |
static void |
glTexCoord3sv(java.nio.ShortBuffer v)
Pointer version of
TexCoord3s. |
static void |
glTexCoord4d(double s,
double t,
double r,
double q)
Double version of
TexCoord4f. |
static void |
glTexCoord4dv(double[] v)
Array version of:
TexCoord4dv |
static void |
glTexCoord4dv(java.nio.DoubleBuffer v)
Pointer version of
TexCoord4d. |
static void |
glTexCoord4f(float s,
float t,
float r,
float q)
Sets the current four-dimensional texture coordinate.
|
static void |
glTexCoord4fv(float[] v)
Array version of:
TexCoord4fv |
static void |
glTexCoord4fv(java.nio.FloatBuffer v)
Pointer version of
TexCoord4f. |
static void |
glTexCoord4i(int s,
int t,
int r,
int q)
Integer version of
TexCoord4f. |
static void |
glTexCoord4iv(int[] v)
Array version of:
TexCoord4iv |
static void |
glTexCoord4iv(java.nio.IntBuffer v)
Pointer version of
TexCoord4i. |
static void |
glTexCoord4s(short s,
short t,
short r,
short q)
Short version of
TexCoord4f. |
static void |
glTexCoord4sv(short[] v)
Array version of:
TexCoord4sv |
static void |
glTexCoord4sv(java.nio.ShortBuffer v)
Pointer version of
TexCoord4s. |
static void |
glTexCoordPointer(int size,
int type,
int stride,
java.nio.ByteBuffer pointer)
Specifies the location and organization of a texture coordinate array.
|
static void |
glTexCoordPointer(int size,
int type,
int stride,
java.nio.FloatBuffer pointer)
Specifies the location and organization of a texture coordinate array.
|
static void |
glTexCoordPointer(int size,
int type,
int stride,
java.nio.IntBuffer pointer)
Specifies the location and organization of a texture coordinate array.
|
static void |
glTexCoordPointer(int size,
int type,
int stride,
long pointer)
Specifies the location and organization of a texture coordinate array.
|
static void |
glTexCoordPointer(int size,
int type,
int stride,
java.nio.ShortBuffer pointer)
Specifies the location and organization of a texture coordinate array.
|
static void |
glTexEnvf(int target,
int pname,
float param)
Float version of
TexEnvi. |
static void |
glTexEnvfv(int target,
int pname,
float[] params)
Array version of:
TexEnvfv |
static void |
glTexEnvfv(int target,
int pname,
java.nio.FloatBuffer params)
Pointer version of
TexEnvf. |
static void |
glTexEnvi(int target,
int pname,
int param)
Sets parameters of the texture environment that specifies how texture values are interpreted when texturing a fragment, or sets per-texture-unit
filtering parameters.
|
static void |
glTexEnviv(int target,
int pname,
int[] params)
Array version of:
TexEnviv |
static void |
glTexEnviv(int target,
int pname,
java.nio.IntBuffer params)
Pointer version of
TexEnvi. |
static void |
glTexGend(int coord,
int pname,
double param)
Double version of
TexGeni. |
static void |
glTexGendv(int coord,
int pname,
double[] params)
Array version of:
TexGendv |
static void |
glTexGendv(int coord,
int pname,
java.nio.DoubleBuffer params)
Pointer version of
TexGend. |
static void |
glTexGenf(int coord,
int pname,
float param)
Float version of
TexGeni. |
static void |
glTexGenfv(int coord,
int pname,
float[] params)
Array version of:
TexGenfv |
static void |
glTexGenfv(int coord,
int pname,
java.nio.FloatBuffer params)
Pointer version of
TexGenf. |
static void |
glTexGeni(int coord,
int pname,
int param)
Sets an integer texture coordinate generation parameter.
|
static void |
glTexGeniv(int coord,
int pname,
int[] params)
Array version of:
TexGeniv |
static void |
glTexGeniv(int coord,
int pname,
java.nio.IntBuffer params)
Pointer version of
TexGeni. |
static void |
glTexImage1D(int target,
int level,
int internalformat,
int width,
int border,
int format,
int type,
java.nio.ByteBuffer pixels)
One-dimensional version of
TexImage2D}. |
static void |
glTexImage1D(int target,
int level,
int internalformat,
int width,
int border,
int format,
int type,
double[] pixels)
Array version of:
TexImage1D |
static void |
glTexImage1D(int target,
int level,
int internalformat,
int width,
int border,
int format,
int type,
java.nio.DoubleBuffer pixels)
One-dimensional version of
TexImage2D}. |
static void |
glTexImage1D(int target,
int level,
int internalformat,
int width,
int border,
int format,
int type,
float[] pixels)
Array version of:
TexImage1D |
static void |
glTexImage1D(int target,
int level,
int internalformat,
int width,
int border,
int format,
int type,
java.nio.FloatBuffer pixels)
One-dimensional version of
TexImage2D}. |
static void |
glTexImage1D(int target,
int level,
int internalformat,
int width,
int border,
int format,
int type,
int[] pixels)
Array version of:
TexImage1D |
static void |
glTexImage1D(int target,
int level,
int internalformat,
int width,
int border,
int format,
int type,
java.nio.IntBuffer pixels)
One-dimensional version of
TexImage2D}. |
static void |
glTexImage1D(int target,
int level,
int internalformat,
int width,
int border,
int format,
int type,
long pixels)
One-dimensional version of
TexImage2D}. |
static void |
glTexImage1D(int target,
int level,
int internalformat,
int width,
int border,
int format,
int type,
short[] pixels)
Array version of:
TexImage1D |
static void |
glTexImage1D(int target,
int level,
int internalformat,
int width,
int border,
int format,
int type,
java.nio.ShortBuffer pixels)
One-dimensional version of
TexImage2D}. |
static void |
glTexImage2D(int target,
int level,
int internalformat,
int width,
int height,
int border,
int format,
int type,
java.nio.ByteBuffer pixels)
Specifies a two-dimensional texture image.
|
static void |
glTexImage2D(int target,
int level,
int internalformat,
int width,
int height,
int border,
int format,
int type,
double[] pixels)
Array version of:
TexImage2D |
static void |
glTexImage2D(int target,
int level,
int internalformat,
int width,
int height,
int border,
int format,
int type,
java.nio.DoubleBuffer pixels)
Specifies a two-dimensional texture image.
|
static void |
glTexImage2D(int target,
int level,
int internalformat,
int width,
int height,
int border,
int format,
int type,
float[] pixels)
Array version of:
TexImage2D |
static void |
glTexImage2D(int target,
int level,
int internalformat,
int width,
int height,
int border,
int format,
int type,
java.nio.FloatBuffer pixels)
Specifies a two-dimensional texture image.
|
static void |
glTexImage2D(int target,
int level,
int internalformat,
int width,
int height,
int border,
int format,
int type,
int[] pixels)
Array version of:
TexImage2D |
static void |
glTexImage2D(int target,
int level,
int internalformat,
int width,
int height,
int border,
int format,
int type,
java.nio.IntBuffer pixels)
Specifies a two-dimensional texture image.
|
static void |
glTexImage2D(int target,
int level,
int internalformat,
int width,
int height,
int border,
int format,
int type,
long pixels)
Specifies a two-dimensional texture image.
|
static void |
glTexImage2D(int target,
int level,
int internalformat,
int width,
int height,
int border,
int format,
int type,
short[] pixels)
Array version of:
TexImage2D |
static void |
glTexImage2D(int target,
int level,
int internalformat,
int width,
int height,
int border,
int format,
int type,
java.nio.ShortBuffer pixels)
Specifies a two-dimensional texture image.
|
static void |
glTexParameterf(int target,
int pname,
float param)
Float version of
TexParameteri. |
static void |
glTexParameterfv(int target,
int pname,
float[] params)
Array version of:
TexParameterfv |
static void |
glTexParameterfv(int target,
int pname,
java.nio.FloatBuffer params)
Pointer version of
TexParameterf. |
static void |
glTexParameteri(int target,
int pname,
int param)
Sets the integer value of a texture parameter, which controls how the texel array is treated when specified or changed, and when applied to a fragment.
|
static void |
glTexParameteriv(int target,
int pname,
int[] params)
Array version of:
TexParameteriv |
static void |
glTexParameteriv(int target,
int pname,
java.nio.IntBuffer params)
Pointer version of
TexParameteri. |
static void |
glTexSubImage1D(int target,
int level,
int xoffset,
int width,
int format,
int type,
java.nio.ByteBuffer pixels)
One-dimensional version of
TexSubImage2D. |
static void |
glTexSubImage1D(int target,
int level,
int xoffset,
int width,
int format,
int type,
double[] pixels)
Array version of:
TexSubImage1D |
static void |
glTexSubImage1D(int target,
int level,
int xoffset,
int width,
int format,
int type,
java.nio.DoubleBuffer pixels)
One-dimensional version of
TexSubImage2D. |
static void |
glTexSubImage1D(int target,
int level,
int xoffset,
int width,
int format,
int type,
float[] pixels)
Array version of:
TexSubImage1D |
static void |
glTexSubImage1D(int target,
int level,
int xoffset,
int width,
int format,
int type,
java.nio.FloatBuffer pixels)
One-dimensional version of
TexSubImage2D. |
static void |
glTexSubImage1D(int target,
int level,
int xoffset,
int width,
int format,
int type,
int[] pixels)
Array version of:
TexSubImage1D |
static void |
glTexSubImage1D(int target,
int level,
int xoffset,
int width,
int format,
int type,
java.nio.IntBuffer pixels)
One-dimensional version of
TexSubImage2D. |
static void |
glTexSubImage1D(int target,
int level,
int xoffset,
int width,
int format,
int type,
long pixels)
One-dimensional version of
TexSubImage2D. |
static void |
glTexSubImage1D(int target,
int level,
int xoffset,
int width,
int format,
int type,
short[] pixels)
Array version of:
TexSubImage1D |
static void |
glTexSubImage1D(int target,
int level,
int xoffset,
int width,
int format,
int type,
java.nio.ShortBuffer pixels)
One-dimensional version of
TexSubImage2D. |
static void |
glTexSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int width,
int height,
int format,
int type,
java.nio.ByteBuffer pixels)
Respecifies a rectangular subregion of an existing texel array.
|
static void |
glTexSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int width,
int height,
int format,
int type,
double[] pixels)
Array version of:
TexSubImage2D |
static void |
glTexSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int width,
int height,
int format,
int type,
java.nio.DoubleBuffer pixels)
Respecifies a rectangular subregion of an existing texel array.
|
static void |
glTexSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int width,
int height,
int format,
int type,
float[] pixels)
Array version of:
TexSubImage2D |
static void |
glTexSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int width,
int height,
int format,
int type,
java.nio.FloatBuffer pixels)
Respecifies a rectangular subregion of an existing texel array.
|
static void |
glTexSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int width,
int height,
int format,
int type,
int[] pixels)
Array version of:
TexSubImage2D |
static void |
glTexSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int width,
int height,
int format,
int type,
java.nio.IntBuffer pixels)
Respecifies a rectangular subregion of an existing texel array.
|
static void |
glTexSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int width,
int height,
int format,
int type,
long pixels)
Respecifies a rectangular subregion of an existing texel array.
|
static void |
glTexSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int width,
int height,
int format,
int type,
short[] pixels)
Array version of:
TexSubImage2D |
static void |
glTexSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int width,
int height,
int format,
int type,
java.nio.ShortBuffer pixels)
Respecifies a rectangular subregion of an existing texel array.
|
static void |
glTranslated(double x,
double y,
double z)
Double version of
Translatef. |
static void |
glTranslatef(float x,
float y,
float z)
Manipulates the current matrix with a translation matrix along the x-, y- and z- axes.
|
static void |
glVertex2d(double x,
double y)
Double version of
Vertex2f. |
static void |
glVertex2dv(double[] coords)
Array version of:
Vertex2dv |
static void |
glVertex2dv(java.nio.DoubleBuffer coords)
Pointer version of
Vertex2d. |
static void |
glVertex2f(float x,
float y)
|
static void |
glVertex2fv(float[] coords)
Array version of:
Vertex2fv |
static void |
glVertex2fv(java.nio.FloatBuffer coords)
Pointer version of
Vertex2f. |
static void |
glVertex2i(int x,
int y)
Integer version of
Vertex2f. |
static void |
glVertex2iv(int[] coords)
Array version of:
Vertex2iv |
static void |
glVertex2iv(java.nio.IntBuffer coords)
Pointer version of
Vertex2i. |
static void |
glVertex2s(short x,
short y)
Short version of
Vertex2f. |
static void |
glVertex2sv(short[] coords)
Array version of:
Vertex2sv |
static void |
glVertex2sv(java.nio.ShortBuffer coords)
Pointer version of
Vertex2s. |
static void |
glVertex3d(double x,
double y,
double z)
Double version of
Vertex3f. |
static void |
glVertex3dv(double[] coords)
Array version of:
Vertex3dv |
static void |
glVertex3dv(java.nio.DoubleBuffer coords)
Pointer version of
Vertex3d. |
static void |
glVertex3f(float x,
float y,
float z)
|
static void |
glVertex3fv(float[] coords)
Array version of:
Vertex3fv |
static void |
glVertex3fv(java.nio.FloatBuffer coords)
Pointer version of
Vertex3f. |
static void |
glVertex3i(int x,
int y,
int z)
Integer version of
Vertex3f. |
static void |
glVertex3iv(int[] coords)
Array version of:
Vertex3iv |
static void |
glVertex3iv(java.nio.IntBuffer coords)
Pointer version of
Vertex3i. |
static void |
glVertex3s(short x,
short y,
short z)
Short version of
Vertex3f. |
static void |
glVertex3sv(short[] coords)
Array version of:
Vertex3sv |
static void |
glVertex3sv(java.nio.ShortBuffer coords)
Pointer version of
Vertex3s. |
static void |
glVertex4d(double x,
double y,
double z,
double w)
Double version of
Vertex4f. |
static void |
glVertex4dv(double[] coords)
Array version of:
Vertex4dv |
static void |
glVertex4dv(java.nio.DoubleBuffer coords)
Pointer version of
Vertex4d. |
static void |
glVertex4f(float x,
float y,
float z,
float w)
|
static void |
glVertex4fv(float[] coords)
Array version of:
Vertex4fv |
static void |
glVertex4fv(java.nio.FloatBuffer coords)
Pointer version of
Vertex4f. |
static void |
glVertex4i(int x,
int y,
int z,
int w)
Integer version of
Vertex4f. |
static void |
glVertex4iv(int[] coords)
Array version of:
Vertex4iv |
static void |
glVertex4iv(java.nio.IntBuffer coords)
Pointer version of
Vertex4i. |
static void |
glVertex4s(short x,
short y,
short z,
short w)
Short version of
Vertex4f. |
static void |
glVertex4sv(short[] coords)
Array version of:
Vertex4sv |
static void |
glVertex4sv(java.nio.ShortBuffer coords)
Pointer version of
Vertex4s. |
static void |
glVertexPointer(int size,
int type,
int stride,
java.nio.ByteBuffer pointer)
Specifies the location and organization of a vertex array.
|
static void |
glVertexPointer(int size,
int type,
int stride,
java.nio.FloatBuffer pointer)
Specifies the location and organization of a vertex array.
|
static void |
glVertexPointer(int size,
int type,
int stride,
java.nio.IntBuffer pointer)
Specifies the location and organization of a vertex array.
|
static void |
glVertexPointer(int size,
int type,
int stride,
long pointer)
Specifies the location and organization of a vertex array.
|
static void |
glVertexPointer(int size,
int type,
int stride,
java.nio.ShortBuffer pointer)
Specifies the location and organization of a vertex array.
|
static void |
glViewport(int x,
int y,
int w,
int h)
Specifies the viewport transformation parameters for all viewports.
|
static boolean |
nglAreTexturesResident(int n,
long textures,
long residences)
Unsafe version of:
AreTexturesResident |
static void |
nglBitmap(int w,
int h,
float xOrig,
float yOrig,
float xInc,
float yInc,
long data)
Unsafe version of:
Bitmap |
static void |
nglCallLists(int n,
int type,
long lists)
Unsafe version of:
CallLists |
static void |
nglClipPlane(int plane,
long equation)
Unsafe version of:
ClipPlane |
static void |
nglColor3bv(long v)
Unsafe version of:
Color3bv |
static void |
nglColor3dv(long v)
Unsafe version of:
Color3dv |
static void |
nglColor3fv(long v)
Unsafe version of:
Color3fv |
static void |
nglColor3iv(long v)
Unsafe version of:
Color3iv |
static void |
nglColor3sv(long v)
Unsafe version of:
Color3sv |
static void |
nglColor3ubv(long v)
Unsafe version of:
Color3ubv |
static void |
nglColor3uiv(long v)
Unsafe version of:
Color3uiv |
static void |
nglColor3usv(long v)
Unsafe version of:
Color3usv |
static void |
nglColor4bv(long v)
Unsafe version of:
Color4bv |
static void |
nglColor4dv(long v)
Unsafe version of:
Color4dv |
static void |
nglColor4fv(long v)
Unsafe version of:
Color4fv |
static void |
nglColor4iv(long v)
Unsafe version of:
Color4iv |
static void |
nglColor4sv(long v)
Unsafe version of:
Color4sv |
static void |
nglColor4ubv(long v)
Unsafe version of:
Color4ubv |
static void |
nglColor4uiv(long v)
Unsafe version of:
Color4uiv |
static void |
nglColor4usv(long v)
Unsafe version of:
Color4usv |
static void |
nglColorPointer(int size,
int type,
int stride,
long pointer)
Unsafe version of:
ColorPointer |
static void |
nglDeleteTextures(int n,
long textures)
Unsafe version of:
DeleteTextures |
static void |
nglDrawElements(int mode,
int count,
int type,
long indices)
Unsafe version of:
DrawElements |
static void |
nglDrawPixels(int width,
int height,
int format,
int type,
long pixels)
Unsafe version of:
DrawPixels |
static void |
nglEdgeFlagPointer(int stride,
long pointer)
Unsafe version of:
EdgeFlagPointer |
static void |
nglEdgeFlagv(long flag)
Unsafe version of:
EdgeFlagv |
static void |
nglEvalCoord1dv(long u)
Unsafe version of:
EvalCoord1dv |
static void |
nglEvalCoord1fv(long u)
Unsafe version of:
EvalCoord1fv |
static void |
nglEvalCoord2dv(long u)
Unsafe version of:
EvalCoord2dv |
static void |
nglEvalCoord2fv(long u)
Unsafe version of:
EvalCoord2fv |
static void |
nglFeedbackBuffer(int size,
int type,
long buffer)
Unsafe version of:
FeedbackBuffer |
static void |
nglFogfv(int pname,
long params)
Unsafe version of:
Fogfv |
static void |
nglFogiv(int pname,
long params)
Unsafe version of:
Fogiv |
static void |
nglGenTextures(int n,
long textures)
Unsafe version of:
GenTextures |
static void |
nglGetBooleanv(int pname,
long params)
Unsafe version of:
GetBooleanv |
static void |
nglGetClipPlane(int plane,
long equation)
Unsafe version of:
GetClipPlane |
static void |
nglGetDoublev(int pname,
long params)
Unsafe version of:
GetDoublev |
static void |
nglGetFloatv(int pname,
long params)
Unsafe version of:
GetFloatv |
static void |
nglGetIntegerv(int pname,
long params)
Unsafe version of:
GetIntegerv |
static void |
nglGetLightfv(int light,
int pname,
long data)
Unsafe version of:
GetLightfv |
static void |
nglGetLightiv(int light,
int pname,
long data)
Unsafe version of:
GetLightiv |
static void |
nglGetMapdv(int target,
int query,
long data)
Unsafe version of:
GetMapdv |
static void |
nglGetMapfv(int target,
int query,
long data)
Unsafe version of:
GetMapfv |
static void |
nglGetMapiv(int target,
int query,
long data)
Unsafe version of:
GetMapiv |
static void |
nglGetMaterialfv(int face,
int pname,
long data)
Unsafe version of:
GetMaterialfv |
static void |
nglGetMaterialiv(int face,
int pname,
long data)
Unsafe version of:
GetMaterialiv |
static void |
nglGetPixelMapfv(int map,
long data)
Unsafe version of:
GetPixelMapfv |
static void |
nglGetPixelMapuiv(int map,
long data)
Unsafe version of:
GetPixelMapuiv |
static void |
nglGetPixelMapusv(int map,
long data)
Unsafe version of:
GetPixelMapusv |
static void |
nglGetPointerv(int pname,
long params)
Unsafe version of:
GetPointerv |
static void |
nglGetPolygonStipple(long pattern)
Unsafe version of:
GetPolygonStipple |
static long |
nglGetString(int name)
Unsafe version of:
GetString |
static void |
nglGetTexEnvfv(int env,
int pname,
long data)
Unsafe version of:
GetTexEnvfv |
static void |
nglGetTexEnviv(int env,
int pname,
long data)
Unsafe version of:
GetTexEnviv |
static void |
nglGetTexGendv(int coord,
int pname,
long data)
Unsafe version of:
GetTexGendv |
static void |
nglGetTexGenfv(int coord,
int pname,
long data)
Unsafe version of:
GetTexGenfv |
static void |
nglGetTexGeniv(int coord,
int pname,
long data)
Unsafe version of:
GetTexGeniv |
static void |
nglGetTexImage(int tex,
int level,
int format,
int type,
long pixels)
Unsafe version of:
GetTexImage |
static void |
nglGetTexLevelParameterfv(int target,
int level,
int pname,
long params)
Unsafe version of:
GetTexLevelParameterfv |
static void |
nglGetTexLevelParameteriv(int target,
int level,
int pname,
long params)
Unsafe version of:
GetTexLevelParameteriv |
static void |
nglGetTexParameterfv(int target,
int pname,
long params)
Unsafe version of:
GetTexParameterfv |
static void |
nglGetTexParameteriv(int target,
int pname,
long params)
Unsafe version of:
GetTexParameteriv |
static void |
nglIndexdv(long index)
Unsafe version of:
Indexdv |
static void |
nglIndexfv(long index)
Unsafe version of:
Indexfv |
static void |
nglIndexiv(long index)
Unsafe version of:
Indexiv |
static void |
nglIndexPointer(int type,
int stride,
long pointer)
Unsafe version of:
IndexPointer |
static void |
nglIndexsv(long index)
Unsafe version of:
Indexsv |
static void |
nglIndexubv(long index)
Unsafe version of:
Indexubv |
static void |
nglInterleavedArrays(int format,
int stride,
long pointer)
Unsafe version of:
InterleavedArrays |
static void |
nglLightfv(int light,
int pname,
long params)
Unsafe version of:
Lightfv |
static void |
nglLightiv(int light,
int pname,
long params)
Unsafe version of:
Lightiv |
static void |
nglLightModelfv(int pname,
long params)
Unsafe version of:
LightModelfv |
static void |
nglLightModeliv(int pname,
long params)
Unsafe version of:
LightModeliv |
static void |
nglLoadMatrixd(long m)
Unsafe version of:
LoadMatrixd |
static void |
nglLoadMatrixf(long m)
Unsafe version of:
LoadMatrixf |
static void |
nglMap1d(int target,
double u1,
double u2,
int stride,
int order,
long points)
Unsafe version of:
Map1d |
static void |
nglMap1f(int target,
float u1,
float u2,
int stride,
int order,
long points)
Unsafe version of:
Map1f |
static void |
nglMap2d(int target,
double u1,
double u2,
int ustride,
int uorder,
double v1,
double v2,
int vstride,
int vorder,
long points)
Unsafe version of:
Map2d |
static void |
nglMap2f(int target,
float u1,
float u2,
int ustride,
int uorder,
float v1,
float v2,
int vstride,
int vorder,
long points)
Unsafe version of:
Map2f |
static void |
nglMaterialfv(int face,
int pname,
long params)
Unsafe version of:
Materialfv |
static void |
nglMaterialiv(int face,
int pname,
long params)
Unsafe version of:
Materialiv |
static void |
nglMultMatrixd(long m)
Unsafe version of:
MultMatrixd |
static void |
nglMultMatrixf(long m)
Unsafe version of:
MultMatrixf |
static void |
nglNormal3bv(long v)
Unsafe version of:
Normal3bv |
static void |
nglNormal3dv(long v)
Unsafe version of:
Normal3dv |
static void |
nglNormal3fv(long v)
Unsafe version of:
Normal3fv |
static void |
nglNormal3iv(long v)
Unsafe version of:
Normal3iv |
static void |
nglNormal3sv(long v)
Unsafe version of:
Normal3sv |
static void |
nglNormalPointer(int type,
int stride,
long pointer)
Unsafe version of:
NormalPointer |
static void |
nglPixelMapfv(int map,
int size,
long values)
Unsafe version of:
PixelMapfv |
static void |
nglPixelMapuiv(int map,
int size,
long values)
Unsafe version of:
PixelMapuiv |
static void |
nglPixelMapusv(int map,
int size,
long values)
Unsafe version of:
PixelMapusv |
static void |
nglPolygonStipple(long pattern)
Unsafe version of:
PolygonStipple |
static void |
nglPrioritizeTextures(int n,
long textures,
long priorities)
Unsafe version of:
PrioritizeTextures |
static void |
nglRasterPos2dv(long coords)
Unsafe version of:
RasterPos2dv |
static void |
nglRasterPos2fv(long coords)
Unsafe version of:
RasterPos2fv |
static void |
nglRasterPos2iv(long coords)
Unsafe version of:
RasterPos2iv |
static void |
nglRasterPos2sv(long coords)
Unsafe version of:
RasterPos2sv |
static void |
nglRasterPos3dv(long coords)
Unsafe version of:
RasterPos3dv |
static void |
nglRasterPos3fv(long coords)
Unsafe version of:
RasterPos3fv |
static void |
nglRasterPos3iv(long coords)
Unsafe version of:
RasterPos3iv |
static void |
nglRasterPos3sv(long coords)
Unsafe version of:
RasterPos3sv |
static void |
nglRasterPos4dv(long coords)
Unsafe version of:
RasterPos4dv |
static void |
nglRasterPos4fv(long coords)
Unsafe version of:
RasterPos4fv |
static void |
nglRasterPos4iv(long coords)
Unsafe version of:
RasterPos4iv |
static void |
nglRasterPos4sv(long coords)
Unsafe version of:
RasterPos4sv |
static void |
nglReadPixels(int x,
int y,
int width,
int height,
int format,
int type,
long pixels)
Unsafe version of:
ReadPixels |
static void |
nglRectdv(long v1,
long v2)
Unsafe version of:
Rectdv |
static void |
nglRectfv(long v1,
long v2)
Unsafe version of:
Rectfv |
static void |
nglRectiv(long v1,
long v2)
Unsafe version of:
Rectiv |
static void |
nglRectsv(long v1,
long v2)
Unsafe version of:
Rectsv |
static void |
nglSelectBuffer(int size,
long buffer)
Unsafe version of:
SelectBuffer |
static void |
nglTexCoord1dv(long v)
Unsafe version of:
TexCoord1dv |
static void |
nglTexCoord1fv(long v)
Unsafe version of:
TexCoord1fv |
static void |
nglTexCoord1iv(long v)
Unsafe version of:
TexCoord1iv |
static void |
nglTexCoord1sv(long v)
Unsafe version of:
TexCoord1sv |
static void |
nglTexCoord2dv(long v)
Unsafe version of:
TexCoord2dv |
static void |
nglTexCoord2fv(long v)
Unsafe version of:
TexCoord2fv |
static void |
nglTexCoord2iv(long v)
Unsafe version of:
TexCoord2iv |
static void |
nglTexCoord2sv(long v)
Unsafe version of:
TexCoord2sv |
static void |
nglTexCoord3dv(long v)
Unsafe version of:
TexCoord3dv |
static void |
nglTexCoord3fv(long v)
Unsafe version of:
TexCoord3fv |
static void |
nglTexCoord3iv(long v)
Unsafe version of:
TexCoord3iv |
static void |
nglTexCoord3sv(long v)
Unsafe version of:
TexCoord3sv |
static void |
nglTexCoord4dv(long v)
Unsafe version of:
TexCoord4dv |
static void |
nglTexCoord4fv(long v)
Unsafe version of:
TexCoord4fv |
static void |
nglTexCoord4iv(long v)
Unsafe version of:
TexCoord4iv |
static void |
nglTexCoord4sv(long v)
Unsafe version of:
TexCoord4sv |
static void |
nglTexCoordPointer(int size,
int type,
int stride,
long pointer)
Unsafe version of:
TexCoordPointer |
static void |
nglTexEnvfv(int target,
int pname,
long params)
Unsafe version of:
TexEnvfv |
static void |
nglTexEnviv(int target,
int pname,
long params)
Unsafe version of:
TexEnviv |
static void |
nglTexGendv(int coord,
int pname,
long params)
Unsafe version of:
TexGendv |
static void |
nglTexGenfv(int coord,
int pname,
long params)
Unsafe version of:
TexGenfv |
static void |
nglTexGeniv(int coord,
int pname,
long params)
Unsafe version of:
TexGeniv |
static void |
nglTexImage1D(int target,
int level,
int internalformat,
int width,
int border,
int format,
int type,
long pixels)
Unsafe version of:
TexImage1D |
static void |
nglTexImage2D(int target,
int level,
int internalformat,
int width,
int height,
int border,
int format,
int type,
long pixels)
Unsafe version of:
TexImage2D |
static void |
nglTexParameterfv(int target,
int pname,
long params)
Unsafe version of:
TexParameterfv |
static void |
nglTexParameteriv(int target,
int pname,
long params)
Unsafe version of:
TexParameteriv |
static void |
nglTexSubImage1D(int target,
int level,
int xoffset,
int width,
int format,
int type,
long pixels)
Unsafe version of:
TexSubImage1D |
static void |
nglTexSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int width,
int height,
int format,
int type,
long pixels)
Unsafe version of:
TexSubImage2D |
static void |
nglVertex2dv(long coords)
Unsafe version of:
Vertex2dv |
static void |
nglVertex2fv(long coords)
Unsafe version of:
Vertex2fv |
static void |
nglVertex2iv(long coords)
Unsafe version of:
Vertex2iv |
static void |
nglVertex2sv(long coords)
Unsafe version of:
Vertex2sv |
static void |
nglVertex3dv(long coords)
Unsafe version of:
Vertex3dv |
static void |
nglVertex3fv(long coords)
Unsafe version of:
Vertex3fv |
static void |
nglVertex3iv(long coords)
Unsafe version of:
Vertex3iv |
static void |
nglVertex3sv(long coords)
Unsafe version of:
Vertex3sv |
static void |
nglVertex4dv(long coords)
Unsafe version of:
Vertex4dv |
static void |
nglVertex4fv(long coords)
Unsafe version of:
Vertex4fv |
static void |
nglVertex4iv(long coords)
Unsafe version of:
Vertex4iv |
static void |
nglVertex4sv(long coords)
Unsafe version of:
Vertex4sv |
static void |
nglVertexPointer(int size,
int type,
int stride,
long pointer)
Unsafe version of:
VertexPointer |
public static final int GL_ACCUM
public static final int GL_LOAD
public static final int GL_RETURN
public static final int GL_MULT
public static final int GL_ADD
public static final int GL_NEVER
public static final int GL_LESS
public static final int GL_EQUAL
public static final int GL_LEQUAL
public static final int GL_GREATER
public static final int GL_NOTEQUAL
public static final int GL_GEQUAL
public static final int GL_ALWAYS
public static final int GL_CURRENT_BIT
public static final int GL_POINT_BIT
public static final int GL_LINE_BIT
public static final int GL_POLYGON_BIT
public static final int GL_POLYGON_STIPPLE_BIT
public static final int GL_PIXEL_MODE_BIT
public static final int GL_LIGHTING_BIT
public static final int GL_FOG_BIT
public static final int GL_DEPTH_BUFFER_BIT
public static final int GL_ACCUM_BUFFER_BIT
public static final int GL_STENCIL_BUFFER_BIT
public static final int GL_VIEWPORT_BIT
public static final int GL_TRANSFORM_BIT
public static final int GL_ENABLE_BIT
public static final int GL_COLOR_BUFFER_BIT
public static final int GL_HINT_BIT
public static final int GL_EVAL_BIT
public static final int GL_LIST_BIT
public static final int GL_TEXTURE_BIT
public static final int GL_SCISSOR_BIT
public static final int GL_ALL_ATTRIB_BITS
public static final int GL_POINTS
public static final int GL_LINES
public static final int GL_LINE_LOOP
public static final int GL_LINE_STRIP
public static final int GL_TRIANGLES
public static final int GL_TRIANGLE_STRIP
public static final int GL_TRIANGLE_FAN
public static final int GL_QUADS
public static final int GL_QUAD_STRIP
public static final int GL_POLYGON
public static final int GL_ZERO
public static final int GL_ONE
public static final int GL_SRC_COLOR
public static final int GL_ONE_MINUS_SRC_COLOR
public static final int GL_SRC_ALPHA
public static final int GL_ONE_MINUS_SRC_ALPHA
public static final int GL_DST_ALPHA
public static final int GL_ONE_MINUS_DST_ALPHA
public static final int GL_DST_COLOR
public static final int GL_ONE_MINUS_DST_COLOR
public static final int GL_SRC_ALPHA_SATURATE
public static final int GL_TRUE
public static final int GL_FALSE
public static final int GL_CLIP_PLANE0
public static final int GL_CLIP_PLANE1
public static final int GL_CLIP_PLANE2
public static final int GL_CLIP_PLANE3
public static final int GL_CLIP_PLANE4
public static final int GL_CLIP_PLANE5
public static final int GL_BYTE
public static final int GL_UNSIGNED_BYTE
public static final int GL_SHORT
public static final int GL_UNSIGNED_SHORT
public static final int GL_INT
public static final int GL_UNSIGNED_INT
public static final int GL_FLOAT
public static final int GL_2_BYTES
public static final int GL_3_BYTES
public static final int GL_4_BYTES
public static final int GL_DOUBLE
public static final int GL_NONE
public static final int GL_FRONT_LEFT
public static final int GL_FRONT_RIGHT
public static final int GL_BACK_LEFT
public static final int GL_BACK_RIGHT
public static final int GL_FRONT
public static final int GL_BACK
public static final int GL_LEFT
public static final int GL_RIGHT
public static final int GL_FRONT_AND_BACK
public static final int GL_AUX0
public static final int GL_AUX1
public static final int GL_AUX2
public static final int GL_AUX3
public static final int GL_NO_ERROR
public static final int GL_INVALID_ENUM
public static final int GL_INVALID_VALUE
public static final int GL_INVALID_OPERATION
public static final int GL_STACK_OVERFLOW
public static final int GL_STACK_UNDERFLOW
public static final int GL_OUT_OF_MEMORY
public static final int GL_2D
public static final int GL_3D
public static final int GL_3D_COLOR
public static final int GL_3D_COLOR_TEXTURE
public static final int GL_4D_COLOR_TEXTURE
public static final int GL_PASS_THROUGH_TOKEN
public static final int GL_POINT_TOKEN
public static final int GL_LINE_TOKEN
public static final int GL_POLYGON_TOKEN
public static final int GL_BITMAP_TOKEN
public static final int GL_DRAW_PIXEL_TOKEN
public static final int GL_COPY_PIXEL_TOKEN
public static final int GL_LINE_RESET_TOKEN
public static final int GL_EXP
public static final int GL_EXP2
public static final int GL_CW
public static final int GL_CCW
public static final int GL_COEFF
public static final int GL_ORDER
public static final int GL_DOMAIN
public static final int GL_CURRENT_COLOR
public static final int GL_CURRENT_INDEX
public static final int GL_CURRENT_NORMAL
public static final int GL_CURRENT_TEXTURE_COORDS
public static final int GL_CURRENT_RASTER_COLOR
public static final int GL_CURRENT_RASTER_INDEX
public static final int GL_CURRENT_RASTER_TEXTURE_COORDS
public static final int GL_CURRENT_RASTER_POSITION
public static final int GL_CURRENT_RASTER_POSITION_VALID
public static final int GL_CURRENT_RASTER_DISTANCE
public static final int GL_POINT_SMOOTH
public static final int GL_POINT_SIZE
public static final int GL_POINT_SIZE_RANGE
public static final int GL_POINT_SIZE_GRANULARITY
public static final int GL_LINE_SMOOTH
public static final int GL_LINE_WIDTH
public static final int GL_LINE_WIDTH_RANGE
public static final int GL_LINE_WIDTH_GRANULARITY
public static final int GL_LINE_STIPPLE
public static final int GL_LINE_STIPPLE_PATTERN
public static final int GL_LINE_STIPPLE_REPEAT
public static final int GL_LIST_MODE
public static final int GL_MAX_LIST_NESTING
public static final int GL_LIST_BASE
public static final int GL_LIST_INDEX
public static final int GL_POLYGON_MODE
public static final int GL_POLYGON_SMOOTH
public static final int GL_POLYGON_STIPPLE
public static final int GL_EDGE_FLAG
public static final int GL_CULL_FACE
public static final int GL_CULL_FACE_MODE
public static final int GL_FRONT_FACE
public static final int GL_LIGHTING
public static final int GL_LIGHT_MODEL_LOCAL_VIEWER
public static final int GL_LIGHT_MODEL_TWO_SIDE
public static final int GL_LIGHT_MODEL_AMBIENT
public static final int GL_SHADE_MODEL
public static final int GL_COLOR_MATERIAL_FACE
public static final int GL_COLOR_MATERIAL_PARAMETER
public static final int GL_COLOR_MATERIAL
public static final int GL_FOG
public static final int GL_FOG_INDEX
public static final int GL_FOG_DENSITY
public static final int GL_FOG_START
public static final int GL_FOG_END
public static final int GL_FOG_MODE
public static final int GL_FOG_COLOR
public static final int GL_DEPTH_RANGE
public static final int GL_DEPTH_TEST
public static final int GL_DEPTH_WRITEMASK
public static final int GL_DEPTH_CLEAR_VALUE
public static final int GL_DEPTH_FUNC
public static final int GL_ACCUM_CLEAR_VALUE
public static final int GL_STENCIL_TEST
public static final int GL_STENCIL_CLEAR_VALUE
public static final int GL_STENCIL_FUNC
public static final int GL_STENCIL_VALUE_MASK
public static final int GL_STENCIL_FAIL
public static final int GL_STENCIL_PASS_DEPTH_FAIL
public static final int GL_STENCIL_PASS_DEPTH_PASS
public static final int GL_STENCIL_REF
public static final int GL_STENCIL_WRITEMASK
public static final int GL_MATRIX_MODE
public static final int GL_NORMALIZE
public static final int GL_VIEWPORT
public static final int GL_MODELVIEW_STACK_DEPTH
public static final int GL_PROJECTION_STACK_DEPTH
public static final int GL_TEXTURE_STACK_DEPTH
public static final int GL_MODELVIEW_MATRIX
public static final int GL_PROJECTION_MATRIX
public static final int GL_TEXTURE_MATRIX
public static final int GL_ATTRIB_STACK_DEPTH
public static final int GL_CLIENT_ATTRIB_STACK_DEPTH
public static final int GL_ALPHA_TEST
public static final int GL_ALPHA_TEST_FUNC
public static final int GL_ALPHA_TEST_REF
public static final int GL_DITHER
public static final int GL_BLEND_DST
public static final int GL_BLEND_SRC
public static final int GL_BLEND
public static final int GL_LOGIC_OP_MODE
public static final int GL_INDEX_LOGIC_OP
public static final int GL_LOGIC_OP
public static final int GL_COLOR_LOGIC_OP
public static final int GL_AUX_BUFFERS
public static final int GL_DRAW_BUFFER
public static final int GL_READ_BUFFER
public static final int GL_SCISSOR_BOX
public static final int GL_SCISSOR_TEST
public static final int GL_INDEX_CLEAR_VALUE
public static final int GL_INDEX_WRITEMASK
public static final int GL_COLOR_CLEAR_VALUE
public static final int GL_COLOR_WRITEMASK
public static final int GL_INDEX_MODE
public static final int GL_RGBA_MODE
public static final int GL_DOUBLEBUFFER
public static final int GL_STEREO
public static final int GL_RENDER_MODE
public static final int GL_PERSPECTIVE_CORRECTION_HINT
public static final int GL_POINT_SMOOTH_HINT
public static final int GL_LINE_SMOOTH_HINT
public static final int GL_POLYGON_SMOOTH_HINT
public static final int GL_FOG_HINT
public static final int GL_TEXTURE_GEN_S
public static final int GL_TEXTURE_GEN_T
public static final int GL_TEXTURE_GEN_R
public static final int GL_TEXTURE_GEN_Q
public static final int GL_PIXEL_MAP_I_TO_I
public static final int GL_PIXEL_MAP_S_TO_S
public static final int GL_PIXEL_MAP_I_TO_R
public static final int GL_PIXEL_MAP_I_TO_G
public static final int GL_PIXEL_MAP_I_TO_B
public static final int GL_PIXEL_MAP_I_TO_A
public static final int GL_PIXEL_MAP_R_TO_R
public static final int GL_PIXEL_MAP_G_TO_G
public static final int GL_PIXEL_MAP_B_TO_B
public static final int GL_PIXEL_MAP_A_TO_A
public static final int GL_PIXEL_MAP_I_TO_I_SIZE
public static final int GL_PIXEL_MAP_S_TO_S_SIZE
public static final int GL_PIXEL_MAP_I_TO_R_SIZE
public static final int GL_PIXEL_MAP_I_TO_G_SIZE
public static final int GL_PIXEL_MAP_I_TO_B_SIZE
public static final int GL_PIXEL_MAP_I_TO_A_SIZE
public static final int GL_PIXEL_MAP_R_TO_R_SIZE
public static final int GL_PIXEL_MAP_G_TO_G_SIZE
public static final int GL_PIXEL_MAP_B_TO_B_SIZE
public static final int GL_PIXEL_MAP_A_TO_A_SIZE
public static final int GL_UNPACK_SWAP_BYTES
public static final int GL_UNPACK_LSB_FIRST
public static final int GL_UNPACK_ROW_LENGTH
public static final int GL_UNPACK_SKIP_ROWS
public static final int GL_UNPACK_SKIP_PIXELS
public static final int GL_UNPACK_ALIGNMENT
public static final int GL_PACK_SWAP_BYTES
public static final int GL_PACK_LSB_FIRST
public static final int GL_PACK_ROW_LENGTH
public static final int GL_PACK_SKIP_ROWS
public static final int GL_PACK_SKIP_PIXELS
public static final int GL_PACK_ALIGNMENT
public static final int GL_MAP_COLOR
public static final int GL_MAP_STENCIL
public static final int GL_INDEX_SHIFT
public static final int GL_INDEX_OFFSET
public static final int GL_RED_SCALE
public static final int GL_RED_BIAS
public static final int GL_ZOOM_X
public static final int GL_ZOOM_Y
public static final int GL_GREEN_SCALE
public static final int GL_GREEN_BIAS
public static final int GL_BLUE_SCALE
public static final int GL_BLUE_BIAS
public static final int GL_ALPHA_SCALE
public static final int GL_ALPHA_BIAS
public static final int GL_DEPTH_SCALE
public static final int GL_DEPTH_BIAS
public static final int GL_MAX_EVAL_ORDER
public static final int GL_MAX_LIGHTS
public static final int GL_MAX_CLIP_PLANES
public static final int GL_MAX_TEXTURE_SIZE
public static final int GL_MAX_PIXEL_MAP_TABLE
public static final int GL_MAX_ATTRIB_STACK_DEPTH
public static final int GL_MAX_MODELVIEW_STACK_DEPTH
public static final int GL_MAX_NAME_STACK_DEPTH
public static final int GL_MAX_PROJECTION_STACK_DEPTH
public static final int GL_MAX_TEXTURE_STACK_DEPTH
public static final int GL_MAX_VIEWPORT_DIMS
public static final int GL_MAX_CLIENT_ATTRIB_STACK_DEPTH
public static final int GL_SUBPIXEL_BITS
public static final int GL_INDEX_BITS
public static final int GL_RED_BITS
public static final int GL_GREEN_BITS
public static final int GL_BLUE_BITS
public static final int GL_ALPHA_BITS
public static final int GL_DEPTH_BITS
public static final int GL_STENCIL_BITS
public static final int GL_ACCUM_RED_BITS
public static final int GL_ACCUM_GREEN_BITS
public static final int GL_ACCUM_BLUE_BITS
public static final int GL_ACCUM_ALPHA_BITS
public static final int GL_NAME_STACK_DEPTH
public static final int GL_AUTO_NORMAL
public static final int GL_MAP1_COLOR_4
public static final int GL_MAP1_INDEX
public static final int GL_MAP1_NORMAL
public static final int GL_MAP1_TEXTURE_COORD_1
public static final int GL_MAP1_TEXTURE_COORD_2
public static final int GL_MAP1_TEXTURE_COORD_3
public static final int GL_MAP1_TEXTURE_COORD_4
public static final int GL_MAP1_VERTEX_3
public static final int GL_MAP1_VERTEX_4
public static final int GL_MAP2_COLOR_4
public static final int GL_MAP2_INDEX
public static final int GL_MAP2_NORMAL
public static final int GL_MAP2_TEXTURE_COORD_1
public static final int GL_MAP2_TEXTURE_COORD_2
public static final int GL_MAP2_TEXTURE_COORD_3
public static final int GL_MAP2_TEXTURE_COORD_4
public static final int GL_MAP2_VERTEX_3
public static final int GL_MAP2_VERTEX_4
public static final int GL_MAP1_GRID_DOMAIN
public static final int GL_MAP1_GRID_SEGMENTS
public static final int GL_MAP2_GRID_DOMAIN
public static final int GL_MAP2_GRID_SEGMENTS
public static final int GL_TEXTURE_1D
public static final int GL_TEXTURE_2D
public static final int GL_FEEDBACK_BUFFER_POINTER
public static final int GL_FEEDBACK_BUFFER_SIZE
public static final int GL_FEEDBACK_BUFFER_TYPE
public static final int GL_SELECTION_BUFFER_POINTER
public static final int GL_SELECTION_BUFFER_SIZE
public static final int GL_TEXTURE_WIDTH
public static final int GL_TEXTURE_HEIGHT
public static final int GL_TEXTURE_INTERNAL_FORMAT
public static final int GL_TEXTURE_COMPONENTS
public static final int GL_TEXTURE_BORDER_COLOR
public static final int GL_TEXTURE_BORDER
public static final int GL_DONT_CARE
public static final int GL_FASTEST
public static final int GL_NICEST
public static final int GL_LIGHT0
public static final int GL_LIGHT1
public static final int GL_LIGHT2
public static final int GL_LIGHT3
public static final int GL_LIGHT4
public static final int GL_LIGHT5
public static final int GL_LIGHT6
public static final int GL_LIGHT7
public static final int GL_AMBIENT
public static final int GL_DIFFUSE
public static final int GL_SPECULAR
public static final int GL_POSITION
public static final int GL_SPOT_DIRECTION
public static final int GL_SPOT_EXPONENT
public static final int GL_SPOT_CUTOFF
public static final int GL_CONSTANT_ATTENUATION
public static final int GL_LINEAR_ATTENUATION
public static final int GL_QUADRATIC_ATTENUATION
public static final int GL_COMPILE
public static final int GL_COMPILE_AND_EXECUTE
public static final int GL_CLEAR
public static final int GL_AND
public static final int GL_AND_REVERSE
public static final int GL_COPY
public static final int GL_AND_INVERTED
public static final int GL_NOOP
public static final int GL_XOR
public static final int GL_OR
public static final int GL_NOR
public static final int GL_EQUIV
public static final int GL_INVERT
public static final int GL_OR_REVERSE
public static final int GL_COPY_INVERTED
public static final int GL_OR_INVERTED
public static final int GL_NAND
public static final int GL_SET
public static final int GL_EMISSION
public static final int GL_SHININESS
public static final int GL_AMBIENT_AND_DIFFUSE
public static final int GL_COLOR_INDEXES
public static final int GL_MODELVIEW
public static final int GL_PROJECTION
public static final int GL_TEXTURE
public static final int GL_COLOR
public static final int GL_DEPTH
public static final int GL_STENCIL
public static final int GL_COLOR_INDEX
public static final int GL_STENCIL_INDEX
public static final int GL_DEPTH_COMPONENT
public static final int GL_RED
public static final int GL_GREEN
public static final int GL_BLUE
public static final int GL_ALPHA
public static final int GL_RGB
public static final int GL_RGBA
public static final int GL_LUMINANCE
public static final int GL_LUMINANCE_ALPHA
public static final int GL_BITMAP
public static final int GL_POINT
public static final int GL_LINE
public static final int GL_FILL
public static final int GL_RENDER
public static final int GL_FEEDBACK
public static final int GL_SELECT
public static final int GL_FLAT
public static final int GL_SMOOTH
public static final int GL_KEEP
public static final int GL_REPLACE
public static final int GL_INCR
public static final int GL_DECR
public static final int GL_VENDOR
public static final int GL_RENDERER
public static final int GL_VERSION
public static final int GL_EXTENSIONS
public static final int GL_S
public static final int GL_T
public static final int GL_R
public static final int GL_Q
public static final int GL_MODULATE
public static final int GL_DECAL
public static final int GL_TEXTURE_ENV_MODE
public static final int GL_TEXTURE_ENV_COLOR
public static final int GL_TEXTURE_ENV
public static final int GL_EYE_LINEAR
public static final int GL_OBJECT_LINEAR
public static final int GL_SPHERE_MAP
public static final int GL_TEXTURE_GEN_MODE
public static final int GL_OBJECT_PLANE
public static final int GL_EYE_PLANE
public static final int GL_NEAREST
public static final int GL_LINEAR
public static final int GL_NEAREST_MIPMAP_NEAREST
public static final int GL_LINEAR_MIPMAP_NEAREST
public static final int GL_NEAREST_MIPMAP_LINEAR
public static final int GL_LINEAR_MIPMAP_LINEAR
public static final int GL_TEXTURE_MAG_FILTER
public static final int GL_TEXTURE_MIN_FILTER
public static final int GL_TEXTURE_WRAP_S
public static final int GL_TEXTURE_WRAP_T
public static final int GL_CLAMP
public static final int GL_REPEAT
public static final int GL_CLIENT_PIXEL_STORE_BIT
public static final int GL_CLIENT_VERTEX_ARRAY_BIT
public static final int GL_CLIENT_ALL_ATTRIB_BITS
public static final int GL_POLYGON_OFFSET_FACTOR
public static final int GL_POLYGON_OFFSET_UNITS
public static final int GL_POLYGON_OFFSET_POINT
public static final int GL_POLYGON_OFFSET_LINE
public static final int GL_POLYGON_OFFSET_FILL
public static final int GL_ALPHA4
public static final int GL_ALPHA8
public static final int GL_ALPHA12
public static final int GL_ALPHA16
public static final int GL_LUMINANCE4
public static final int GL_LUMINANCE8
public static final int GL_LUMINANCE12
public static final int GL_LUMINANCE16
public static final int GL_LUMINANCE4_ALPHA4
public static final int GL_LUMINANCE6_ALPHA2
public static final int GL_LUMINANCE8_ALPHA8
public static final int GL_LUMINANCE12_ALPHA4
public static final int GL_LUMINANCE12_ALPHA12
public static final int GL_LUMINANCE16_ALPHA16
public static final int GL_INTENSITY
public static final int GL_INTENSITY4
public static final int GL_INTENSITY8
public static final int GL_INTENSITY12
public static final int GL_INTENSITY16
public static final int GL_R3_G3_B2
public static final int GL_RGB4
public static final int GL_RGB5
public static final int GL_RGB8
public static final int GL_RGB10
public static final int GL_RGB12
public static final int GL_RGB16
public static final int GL_RGBA2
public static final int GL_RGBA4
public static final int GL_RGB5_A1
public static final int GL_RGBA8
public static final int GL_RGB10_A2
public static final int GL_RGBA12
public static final int GL_RGBA16
public static final int GL_TEXTURE_RED_SIZE
public static final int GL_TEXTURE_GREEN_SIZE
public static final int GL_TEXTURE_BLUE_SIZE
public static final int GL_TEXTURE_ALPHA_SIZE
public static final int GL_TEXTURE_LUMINANCE_SIZE
public static final int GL_TEXTURE_INTENSITY_SIZE
public static final int GL_PROXY_TEXTURE_1D
public static final int GL_PROXY_TEXTURE_2D
public static final int GL_TEXTURE_PRIORITY
public static final int GL_TEXTURE_RESIDENT
public static final int GL_TEXTURE_BINDING_1D
public static final int GL_TEXTURE_BINDING_2D
public static final int GL_VERTEX_ARRAY
public static final int GL_NORMAL_ARRAY
public static final int GL_COLOR_ARRAY
public static final int GL_INDEX_ARRAY
public static final int GL_TEXTURE_COORD_ARRAY
public static final int GL_EDGE_FLAG_ARRAY
public static final int GL_VERTEX_ARRAY_SIZE
public static final int GL_VERTEX_ARRAY_TYPE
public static final int GL_VERTEX_ARRAY_STRIDE
public static final int GL_NORMAL_ARRAY_TYPE
public static final int GL_NORMAL_ARRAY_STRIDE
public static final int GL_COLOR_ARRAY_SIZE
public static final int GL_COLOR_ARRAY_TYPE
public static final int GL_COLOR_ARRAY_STRIDE
public static final int GL_INDEX_ARRAY_TYPE
public static final int GL_INDEX_ARRAY_STRIDE
public static final int GL_TEXTURE_COORD_ARRAY_SIZE
public static final int GL_TEXTURE_COORD_ARRAY_TYPE
public static final int GL_TEXTURE_COORD_ARRAY_STRIDE
public static final int GL_EDGE_FLAG_ARRAY_STRIDE
public static final int GL_VERTEX_ARRAY_POINTER
public static final int GL_NORMAL_ARRAY_POINTER
public static final int GL_COLOR_ARRAY_POINTER
public static final int GL_INDEX_ARRAY_POINTER
public static final int GL_TEXTURE_COORD_ARRAY_POINTER
public static final int GL_EDGE_FLAG_ARRAY_POINTER
public static final int GL_V2F
public static final int GL_V3F
public static final int GL_C4UB_V2F
public static final int GL_C4UB_V3F
public static final int GL_C3F_V3F
public static final int GL_N3F_V3F
public static final int GL_C4F_N3F_V3F
public static final int GL_T2F_V3F
public static final int GL_T4F_V4F
public static final int GL_T2F_C4UB_V3F
public static final int GL_T2F_C3F_V3F
public static final int GL_T2F_N3F_V3F
public static final int GL_T2F_C4F_N3F_V3F
public static final int GL_T4F_C4F_N3F_V4F
public static void glEnable(int target)
target - the OpenGL state to enablepublic static void glDisable(int target)
target - the OpenGL state to disablepublic static void glAccum(int op,
float value)
public static void glAlphaFunc(int func,
float ref)
Enable and Disable commands using the symbolic constant ALPHA_TEST.
When disabled, it is as if the comparison always passes. The test is controlled with this method.func - a symbolic constant indicating the alpha test function. One of:NEVER | ALWAYS | LESS | LEQUAL | EQUAL | GEQUAL | GREATER | NOTEQUAL |
ref - a reference value clamped to the range [0, 1]. When performing the alpha test, the GL will convert the reference value to the same representation as the fragment's alpha value (floating-point or fixed-point).public static boolean nglAreTexturesResident(int n,
long textures,
long residences)
AreTexturesResidentn - the number of texture objects in texturespublic static boolean glAreTexturesResident(java.nio.IntBuffer textures,
java.nio.ByteBuffer residences)
TRUE if all of the texture objects named in textures are resident, or if the implementation does not distinguish a working set. If
at least one of the texture objects named in textures is not resident, then FALSE is returned, and the residence of each texture object is
returned in residences. Otherwise the contents of residences are not changed.textures - an array of texture objectsresidences - returns the residences of each texture objectpublic static boolean glAreTexturesResident(int texture,
java.nio.ByteBuffer residences)
TRUE if all of the texture objects named in textures are resident, or if the implementation does not distinguish a working set. If
at least one of the texture objects named in textures is not resident, then FALSE is returned, and the residence of each texture object is
returned in residences. Otherwise the contents of residences are not changed.residences - returns the residences of each texture objectpublic static void glArrayElement(int i)
i - the element to transferpublic static void glBegin(int mode)
mode - the primitive type being defined. One of:POINTS | LINE_STRIP | LINE_LOOP | LINES | TRIANGLE_STRIP | TRIANGLE_FAN | TRIANGLES |
LINES_ADJACENCY | LINE_STRIP_ADJACENCY | TRIANGLES_ADJACENCY | TRIANGLE_STRIP_ADJACENCY | PATCHES | POLYGON | QUADS |
QUAD_STRIP |
public static void glBindTexture(int target,
int texture)
While a texture object is bound, GL operations on the target to which it is bound affect the bound object, and queries of the target to which it is bound return state from the bound object. If texture mapping of the dimensionality of the target to which a texture object is bound is enabled, the state of the bound texture object directs the texturing operation.
target - the texture target. One of:TEXTURE_1D | TEXTURE_2D | TEXTURE_1D_ARRAY | TEXTURE_RECTANGLE | TEXTURE_CUBE_MAP |
TEXTURE_3D | TEXTURE_2D_ARRAY | TEXTURE_CUBE_MAP_ARRAY | TEXTURE_BUFFER | TEXTURE_2D_MULTISAMPLE |
TEXTURE_2D_MULTISAMPLE_ARRAY |
texture - the texture object to bindpublic static void nglBitmap(int w,
int h,
float xOrig,
float yOrig,
float xInc,
float yInc,
long data)
Bitmappublic static void glBitmap(int w,
int h,
float xOrig,
float yOrig,
float xInc,
float yInc,
@Nullable
java.nio.ByteBuffer data)
w - the bitmap widthh - the bitmap widthxOrig - the bitmap origin x coordinateyOrig - the bitmap origin y coordinatexInc - the x increment added to the raster positionyInc - the y increment added to the raster positiondata - the buffer containing the bitmap data.public static void glBitmap(int w,
int h,
float xOrig,
float yOrig,
float xInc,
float yInc,
@Nullable
long data)
w - the bitmap widthh - the bitmap widthxOrig - the bitmap origin x coordinateyOrig - the bitmap origin y coordinatexInc - the x increment added to the raster positionyInc - the y increment added to the raster positiondata - the buffer containing the bitmap data.public static void glBlendFunc(int sfactor,
int dfactor)
sfactor - the source weighting factor. One of:dfactor - the destination weighting factorpublic static void glCallList(int list)
list - the index of the display list to be calledpublic static void nglCallLists(int n,
int type,
long lists)
CallListsn - the number of display lists to be calledtype - the data type of each element in lists. One of:BYTE | UNSIGNED_BYTE | SHORT | UNSIGNED_SHORT | INT | UNSIGNED_INT | FLOAT | 2_BYTES | 3_BYTES | 4_BYTES |
public static void glCallLists(int type,
java.nio.ByteBuffer lists)
type - the data type of each element in lists. One of:BYTE | UNSIGNED_BYTE | SHORT | UNSIGNED_SHORT | INT | UNSIGNED_INT | FLOAT | 2_BYTES | 3_BYTES | 4_BYTES |
lists - an array of offsets. Each offset is added to the display list base to obtain the display list number.public static void glCallLists(java.nio.ByteBuffer lists)
lists - an array of offsets. Each offset is added to the display list base to obtain the display list number.public static void glCallLists(java.nio.ShortBuffer lists)
lists - an array of offsets. Each offset is added to the display list base to obtain the display list number.public static void glCallLists(java.nio.IntBuffer lists)
lists - an array of offsets. Each offset is added to the display list base to obtain the display list number.public static void glClear(int mask)
mask - Zero or the bitwise OR of one or more values indicating which buffers are to be cleared. One or more of:COLOR_BUFFER_BIT | DEPTH_BUFFER_BIT | STENCIL_BUFFER_BIT |
public static void glClearAccum(float red,
float green,
float blue,
float alpha)
red - the value to which to clear the R values of the accumulation buffergreen - the value to which to clear the G values of the accumulation bufferblue - the value to which to clear the B values of the accumulation bufferalpha - the value to which to clear the A values of the accumulation bufferpublic static void glClearColor(float red,
float green,
float blue,
float alpha)
red - the value to which to clear the R channel of the color buffergreen - the value to which to clear the G channel of the color bufferblue - the value to which to clear the B channel of the color bufferalpha - the value to which to clear the A channel of the color bufferpublic static void glClearDepth(double depth)
depth is clamped to the range [0,1] and
converted to fixed-point. No conversion is applied when clearing a floating-point depth buffer.depth - the value to which to clear the depth bufferpublic static void glClearIndex(float index)
2m – 1, where m is the number of bits in a color index value stored in the
framebuffer.index - the value to which to clear the color buffer in color index modepublic static void glClearStencil(int s)
s is masked to the number of bitplanes in the stencil buffer.s - the value to which to clear the stencil bufferpublic static void nglClipPlane(int plane,
long equation)
ClipPlanepublic static void glClipPlane(int plane,
java.nio.DoubleBuffer equation)
The value of the first argument, plane, is a symbolic constant, CLIP_PLANEi, where i is an integer between 0 and n – 1, indicating one of
n client-defined clip planes. equation is an array of four double-precision floating-point values. These are the coefficients of a plane
equation in object coordinates: p1, p2, p3, and p4 (in that order).
plane - the clip plane to defineequation - the clip plane coefficientspublic static void glColor3b(byte red,
byte green,
byte blue)
red - the red component of the current colorgreen - the green component of the current colorblue - the blue component of the current colorpublic static void glColor3s(short red,
short green,
short blue)
Color3bred - the red component of the current colorgreen - the green component of the current colorblue - the blue component of the current colorpublic static void glColor3i(int red,
int green,
int blue)
Color3bred - the red component of the current colorgreen - the green component of the current colorblue - the blue component of the current colorpublic static void glColor3f(float red,
float green,
float blue)
Color3bred - the red component of the current colorgreen - the green component of the current colorblue - the blue component of the current colorpublic static void glColor3d(double red,
double green,
double blue)
Color3bred - the red component of the current colorgreen - the green component of the current colorblue - the blue component of the current colorpublic static void glColor3ub(byte red,
byte green,
byte blue)
Color3bred - the red component of the current colorgreen - the green component of the current colorblue - the blue component of the current colorpublic static void glColor3us(short red,
short green,
short blue)
Color3bred - the red component of the current colorgreen - the green component of the current colorblue - the blue component of the current colorpublic static void glColor3ui(int red,
int green,
int blue)
Color3bred - the red component of the current colorgreen - the green component of the current colorblue - the blue component of the current colorpublic static void nglColor3bv(long v)
Color3bvpublic static void glColor3bv(java.nio.ByteBuffer v)
Color3b.v - the color bufferpublic static void nglColor3sv(long v)
Color3svpublic static void glColor3sv(java.nio.ShortBuffer v)
Color3s.v - the color bufferpublic static void nglColor3iv(long v)
Color3ivpublic static void glColor3iv(java.nio.IntBuffer v)
Color3i.v - the color bufferpublic static void nglColor3fv(long v)
Color3fvpublic static void glColor3fv(java.nio.FloatBuffer v)
Color3f.v - the color bufferpublic static void nglColor3dv(long v)
Color3dvpublic static void glColor3dv(java.nio.DoubleBuffer v)
Color3d.v - the color bufferpublic static void nglColor3ubv(long v)
Color3ubvpublic static void glColor3ubv(java.nio.ByteBuffer v)
Color3ub.v - the color bufferpublic static void nglColor3usv(long v)
Color3usvpublic static void glColor3usv(java.nio.ShortBuffer v)
Color3us.v - the color bufferpublic static void nglColor3uiv(long v)
Color3uivpublic static void glColor3uiv(java.nio.IntBuffer v)
Color3ui.v - the color bufferpublic static void glColor4b(byte red,
byte green,
byte blue,
byte alpha)
red - the red component of the current colorgreen - the green component of the current colorblue - the blue component of the current coloralpha - the alpha component of the current colorpublic static void glColor4s(short red,
short green,
short blue,
short alpha)
Color4bred - the red component of the current colorgreen - the green component of the current colorblue - the blue component of the current coloralpha - the alpha component of the current colorpublic static void glColor4i(int red,
int green,
int blue,
int alpha)
Color4bred - the red component of the current colorgreen - the green component of the current colorblue - the blue component of the current coloralpha - the alpha component of the current colorpublic static void glColor4f(float red,
float green,
float blue,
float alpha)
Color4bred - the red component of the current colorgreen - the green component of the current colorblue - the blue component of the current coloralpha - the alpha component of the current colorpublic static void glColor4d(double red,
double green,
double blue,
double alpha)
Color4bred - the red component of the current colorgreen - the green component of the current colorblue - the blue component of the current coloralpha - the alpha component of the current colorpublic static void glColor4ub(byte red,
byte green,
byte blue,
byte alpha)
Color4bred - the red component of the current colorgreen - the green component of the current colorblue - the blue component of the current coloralpha - the alpha component of the current colorpublic static void glColor4us(short red,
short green,
short blue,
short alpha)
Color4bred - the red component of the current colorgreen - the green component of the current colorblue - the blue component of the current coloralpha - the alpha component of the current colorpublic static void glColor4ui(int red,
int green,
int blue,
int alpha)
Color4bred - the red component of the current colorgreen - the green component of the current colorblue - the blue component of the current coloralpha - the alpha component of the current colorpublic static void nglColor4bv(long v)
Color4bvpublic static void glColor4bv(java.nio.ByteBuffer v)
Color4b.v - the color bufferpublic static void nglColor4sv(long v)
Color4svpublic static void glColor4sv(java.nio.ShortBuffer v)
Color4s.v - the color bufferpublic static void nglColor4iv(long v)
Color4ivpublic static void glColor4iv(java.nio.IntBuffer v)
Color4i.v - the color bufferpublic static void nglColor4fv(long v)
Color4fvpublic static void glColor4fv(java.nio.FloatBuffer v)
Color4f.v - the color bufferpublic static void nglColor4dv(long v)
Color4dvpublic static void glColor4dv(java.nio.DoubleBuffer v)
Color4d.v - the color bufferpublic static void nglColor4ubv(long v)
Color4ubvpublic static void glColor4ubv(java.nio.ByteBuffer v)
Color4ub.v - the color bufferpublic static void nglColor4usv(long v)
Color4usvpublic static void glColor4usv(java.nio.ShortBuffer v)
Color4us.v - the color bufferpublic static void nglColor4uiv(long v)
Color4uivpublic static void glColor4uiv(java.nio.IntBuffer v)
Color4ui.v - the color bufferpublic static void glColorMask(boolean red,
boolean green,
boolean blue,
boolean alpha)
red - whether R values are written or notgreen - whether G values are written or notblue - whether B values are written or notalpha - whether A values are written or notpublic static void glColorMaterial(int face,
int mode)
Enable or Disable with the symbolic value COLOR_MATERIAL. This function controls which
of these modes is selected.face - specifies which material face is affected by the current color. One of:FRONT | BACK | FRONT_AND_BACK |
mode - specifies which material property or properties track the current color. One of:EMISSION | AMBIENT | DIFFUSE | SPECULAR | AMBIENT_AND_DIFFUSE |
public static void nglColorPointer(int size,
int type,
int stride,
long pointer)
ColorPointerpublic static void glColorPointer(int size,
int type,
int stride,
java.nio.ByteBuffer pointer)
size - the number of values per vertex that are stored in the array, as well as their component ordering. One of:| 3 | 4 | BGRA |
type - the data type of the values stored in the array. One of:BYTE | UNSIGNED_BYTE | SHORT | UNSIGNED_SHORT | INT | UNSIGNED_INT | HALF_FLOAT |
FLOAT | DOUBLE | UNSIGNED_INT_2_10_10_10_REV | INT_2_10_10_10_REV |
stride - the vertex stride in bytes. If specified as zero, then array elements are stored sequentiallypointer - the color array datapublic static void glColorPointer(int size,
int type,
int stride,
long pointer)
size - the number of values per vertex that are stored in the array, as well as their component ordering. One of:| 3 | 4 | BGRA |
type - the data type of the values stored in the array. One of:BYTE | UNSIGNED_BYTE | SHORT | UNSIGNED_SHORT | INT | UNSIGNED_INT | HALF_FLOAT |
FLOAT | DOUBLE | UNSIGNED_INT_2_10_10_10_REV | INT_2_10_10_10_REV |
stride - the vertex stride in bytes. If specified as zero, then array elements are stored sequentiallypointer - the color array datapublic static void glColorPointer(int size,
int type,
int stride,
java.nio.ShortBuffer pointer)
size - the number of values per vertex that are stored in the array, as well as their component ordering. One of:| 3 | 4 | BGRA |
type - the data type of the values stored in the array. One of:BYTE | UNSIGNED_BYTE | SHORT | UNSIGNED_SHORT | INT | UNSIGNED_INT | HALF_FLOAT |
FLOAT | DOUBLE | UNSIGNED_INT_2_10_10_10_REV | INT_2_10_10_10_REV |
stride - the vertex stride in bytes. If specified as zero, then array elements are stored sequentiallypointer - the color array datapublic static void glColorPointer(int size,
int type,
int stride,
java.nio.IntBuffer pointer)
size - the number of values per vertex that are stored in the array, as well as their component ordering. One of:| 3 | 4 | BGRA |
type - the data type of the values stored in the array. One of:BYTE | UNSIGNED_BYTE | SHORT | UNSIGNED_SHORT | INT | UNSIGNED_INT | HALF_FLOAT |
FLOAT | DOUBLE | UNSIGNED_INT_2_10_10_10_REV | INT_2_10_10_10_REV |
stride - the vertex stride in bytes. If specified as zero, then array elements are stored sequentiallypointer - the color array datapublic static void glColorPointer(int size,
int type,
int stride,
java.nio.FloatBuffer pointer)
size - the number of values per vertex that are stored in the array, as well as their component ordering. One of:| 3 | 4 | BGRA |
type - the data type of the values stored in the array. One of:BYTE | UNSIGNED_BYTE | SHORT | UNSIGNED_SHORT | INT | UNSIGNED_INT | HALF_FLOAT |
FLOAT | DOUBLE | UNSIGNED_INT_2_10_10_10_REV | INT_2_10_10_10_REV |
stride - the vertex stride in bytes. If specified as zero, then array elements are stored sequentiallypointer - the color array datapublic static void glCopyPixels(int x,
int y,
int width,
int height,
int type)
x - the left framebuffer pixel coordinatey - the lower framebuffer pixel coordinatewidth - the rectangle widthheight - the rectangle heighttype - Indicates the type of values to be transfered. One of:COLOR | STENCIL | DEPTH | DEPTH_STENCIL |
public static void glCullFace(int mode)
CULL_FACE is enabled. Front-facing polygons are rasterized if either culling is disabled or the
CullFace mode is BACK while back-facing polygons are rasterized only if either culling is disabled or the CullFace mode is
FRONT. The initial setting of the CullFace mode is BACK. Initially, culling is disabled.mode - the CullFace mode. One of:FRONT | BACK | FRONT_AND_BACK |
public static void glDeleteLists(int list,
int range)
range is zero, nothing happens.list - the index of the first display list to be deletedrange - the number of display lists to be deletedpublic static void glDepthFunc(int func)
DEPTH_TEST is enabled).public static void glDepthMask(boolean flag)
flag - whether depth values are written or not.public static void glDepthRange(double zNear,
double zFar)
zNear - the near depth rangezFar - the far depth rangepublic static void glDisableClientState(int cap)
If the NVVertexBufferUnifiedMemory extension is supported, this function is available even in a core profile context.
cap - the capability to disable. One of:COLOR_ARRAY | EDGE_FLAG_ARRAY | FOG_COORD_ARRAY | INDEX_ARRAY |
NORMAL_ARRAY | SECONDARY_COLOR_ARRAY | TEXTURE_COORD_ARRAY | VERTEX_ARRAY |
VERTEX_ATTRIB_ARRAY_UNIFIED_NV | ELEMENT_ARRAY_UNIFIED_NV |
public static void glDrawArrays(int mode,
int first,
int count)
count vertices. Elements first through
first + count – 1 of each enabled non-instanced array are transferred to the GL.
If an array corresponding to an attribute required by a vertex shader is not enabled, then the corresponding element is taken from the current attribute state. If an array is enabled, the corresponding current vertex attribute value is unaffected by the execution of this function.
mode - the kind of primitives being constructedfirst - the first vertex to transfer to the GLcount - the number of vertices after first to transfer to the GLpublic static void glDrawBuffer(int buf)
Acceptable values for buf depend on whether the GL is using the default framebuffer (i.e., DRAW_FRAMEBUFFER_BINDING is zero), or
a framebuffer object (i.e., DRAW_FRAMEBUFFER_BINDING is non-zero). In the initial state, the GL is bound to the default framebuffer.
buf - the color buffer to draw to. One of:NONE | FRONT_LEFT | FRONT_RIGHT | BACK_LEFT | BACK_RIGHT | FRONT | BACK | LEFT |
RIGHT | FRONT_AND_BACK | COLOR_ATTACHMENT0 | GL30.GL_COLOR_ATTACHMENT[1-15] |
public static void nglDrawElements(int mode,
int count,
int type,
long indices)
DrawElementscount - the number of vertices to transfer to the GLtype - indicates the type of index values in indices. One of:UNSIGNED_BYTE | UNSIGNED_SHORT | UNSIGNED_INT |
public static void glDrawElements(int mode,
int count,
int type,
long indices)
count vertices to the GL.
The ith element transferred by DrawElements will be taken from element indices[i] (if no element array buffer is bound), or
from the element whose index is stored in the currently bound element array buffer at offset indices + i.mode - the kind of primitives being constructed. One of:POINTS | LINE_STRIP | LINE_LOOP | LINES | TRIANGLE_STRIP | TRIANGLE_FAN |
TRIANGLES | LINES_ADJACENCY | LINE_STRIP_ADJACENCY | TRIANGLES_ADJACENCY | TRIANGLE_STRIP_ADJACENCY | PATCHES |
count - the number of vertices to transfer to the GLtype - indicates the type of index values in indices. One of:UNSIGNED_BYTE | UNSIGNED_SHORT | UNSIGNED_INT |
indices - the index valuespublic static void glDrawElements(int mode,
int type,
java.nio.ByteBuffer indices)
count vertices to the GL.
The ith element transferred by DrawElements will be taken from element indices[i] (if no element array buffer is bound), or
from the element whose index is stored in the currently bound element array buffer at offset indices + i.mode - the kind of primitives being constructed. One of:POINTS | LINE_STRIP | LINE_LOOP | LINES | TRIANGLE_STRIP | TRIANGLE_FAN |
TRIANGLES | LINES_ADJACENCY | LINE_STRIP_ADJACENCY | TRIANGLES_ADJACENCY | TRIANGLE_STRIP_ADJACENCY | PATCHES |
type - indicates the type of index values in indices. One of:UNSIGNED_BYTE | UNSIGNED_SHORT | UNSIGNED_INT |
indices - the index valuespublic static void glDrawElements(int mode,
java.nio.ByteBuffer indices)
count vertices to the GL.
The ith element transferred by DrawElements will be taken from element indices[i] (if no element array buffer is bound), or
from the element whose index is stored in the currently bound element array buffer at offset indices + i.mode - the kind of primitives being constructed. One of:POINTS | LINE_STRIP | LINE_LOOP | LINES | TRIANGLE_STRIP | TRIANGLE_FAN |
TRIANGLES | LINES_ADJACENCY | LINE_STRIP_ADJACENCY | TRIANGLES_ADJACENCY | TRIANGLE_STRIP_ADJACENCY | PATCHES |
indices - the index valuespublic static void glDrawElements(int mode,
java.nio.ShortBuffer indices)
count vertices to the GL.
The ith element transferred by DrawElements will be taken from element indices[i] (if no element array buffer is bound), or
from the element whose index is stored in the currently bound element array buffer at offset indices + i.mode - the kind of primitives being constructed. One of:POINTS | LINE_STRIP | LINE_LOOP | LINES | TRIANGLE_STRIP | TRIANGLE_FAN |
TRIANGLES | LINES_ADJACENCY | LINE_STRIP_ADJACENCY | TRIANGLES_ADJACENCY | TRIANGLE_STRIP_ADJACENCY | PATCHES |
indices - the index valuespublic static void glDrawElements(int mode,
java.nio.IntBuffer indices)
count vertices to the GL.
The ith element transferred by DrawElements will be taken from element indices[i] (if no element array buffer is bound), or
from the element whose index is stored in the currently bound element array buffer at offset indices + i.mode - the kind of primitives being constructed. One of:POINTS | LINE_STRIP | LINE_LOOP | LINES | TRIANGLE_STRIP | TRIANGLE_FAN |
TRIANGLES | LINES_ADJACENCY | LINE_STRIP_ADJACENCY | TRIANGLES_ADJACENCY | TRIANGLE_STRIP_ADJACENCY | PATCHES |
indices - the index valuespublic static void nglDrawPixels(int width,
int height,
int format,
int type,
long pixels)
DrawPixelspublic static void glDrawPixels(int width,
int height,
int format,
int type,
java.nio.ByteBuffer pixels)
width - the pixel rectangle widthheight - the pixel rectangle heightformat - the pixel data format. One of:type - the pixel data type. One of:pixels - the pixel datapublic static void glDrawPixels(int width,
int height,
int format,
int type,
long pixels)
width - the pixel rectangle widthheight - the pixel rectangle heightformat - the pixel data format. One of:type - the pixel data type. One of:pixels - the pixel datapublic static void glDrawPixels(int width,
int height,
int format,
int type,
java.nio.ShortBuffer pixels)
width - the pixel rectangle widthheight - the pixel rectangle heightformat - the pixel data format. One of:type - the pixel data type. One of:pixels - the pixel datapublic static void glDrawPixels(int width,
int height,
int format,
int type,
java.nio.IntBuffer pixels)
width - the pixel rectangle widthheight - the pixel rectangle heightformat - the pixel data format. One of:type - the pixel data type. One of:pixels - the pixel datapublic static void glDrawPixels(int width,
int height,
int format,
int type,
java.nio.FloatBuffer pixels)
width - the pixel rectangle widthheight - the pixel rectangle heightformat - the pixel data format. One of:type - the pixel data type. One of:pixels - the pixel datapublic static void glEdgeFlag(boolean flag)
When a primitive of type POLYGON, TRIANGLES, or QUADS is drawn, each vertex transferred begins an edge. If the edge
flag bit is TRUE, then each specified vertex begins an edge that is flagged as boundary. If the bit is FALSE, then induced edges are flagged as
non-boundary.
flag - the edge flag bitpublic static void nglEdgeFlagv(long flag)
EdgeFlagvpublic static void glEdgeFlagv(java.nio.ByteBuffer flag)
EdgeFlag.flag - the edge flag bufferpublic static void nglEdgeFlagPointer(int stride,
long pointer)
EdgeFlagPointerpublic static void glEdgeFlagPointer(int stride,
java.nio.ByteBuffer pointer)
stride - the vertex stride in bytes. If specified as zero, then array elements are stored sequentiallypointer - the edge flag array datapublic static void glEdgeFlagPointer(int stride,
long pointer)
stride - the vertex stride in bytes. If specified as zero, then array elements are stored sequentiallypointer - the edge flag array datapublic static void glEnableClientState(int cap)
If the NVVertexBufferUnifiedMemory extension is supported, this function is available even in a core profile context.
cap - the capability to enable. One of:COLOR_ARRAY | EDGE_FLAG_ARRAY | FOG_COORD_ARRAY | INDEX_ARRAY |
NORMAL_ARRAY | SECONDARY_COLOR_ARRAY | TEXTURE_COORD_ARRAY | VERTEX_ARRAY |
VERTEX_ATTRIB_ARRAY_UNIFIED_NV | ELEMENT_ARRAY_UNIFIED_NV |
public static void glEnd()
public static void glEvalCoord1f(float u)
u - the domain coordinate upublic static void nglEvalCoord1fv(long u)
EvalCoord1fvpublic static void glEvalCoord1fv(java.nio.FloatBuffer u)
EvalCoord1f.u - the domain coordinate bufferpublic static void glEvalCoord1d(double u)
EvalCoord1f.u - the domain coordinate upublic static void nglEvalCoord1dv(long u)
EvalCoord1dvpublic static void glEvalCoord1dv(java.nio.DoubleBuffer u)
EvalCoord1d.u - the domain coordinate bufferpublic static void glEvalCoord2f(float u,
float v)
u - the domain coordinate uv - the domain coordinate vpublic static void nglEvalCoord2fv(long u)
EvalCoord2fvpublic static void glEvalCoord2fv(java.nio.FloatBuffer u)
EvalCoord2f.u - the domain coordinate bufferpublic static void glEvalCoord2d(double u,
double v)
EvalCoord2f.u - the domain coordinate uv - the domain coordinate vpublic static void nglEvalCoord2dv(long u)
EvalCoord2dvpublic static void glEvalCoord2dv(java.nio.DoubleBuffer u)
EvalCoord2d.u - the domain coordinate bufferpublic static void glEvalMesh1(int mode,
int i1,
int i2)
mode - the mesh type. One of:POINT | LINE |
i1 - the start indexi2 - the end indexpublic static void glEvalMesh2(int mode,
int i1,
int i2,
int j1,
int j2)
mode - the mesh type. One of:FILL | LINE | POINT |
i1 - the u-dimension start indexi2 - the u-dimension end indexj1 - the v-dimension start indexj2 - the v-dimension end indexpublic static void glEvalPoint1(int i)
i - the grid indexpublic static void glEvalPoint2(int i,
int j)
i - the u-dimension grid indexj - the v-dimension grid indexpublic static void nglFeedbackBuffer(int size,
int type,
long buffer)
FeedbackBuffersize - the maximum number of values that can be written to bufferpublic static void glFeedbackBuffer(int type,
java.nio.FloatBuffer buffer)
type - the type of information to feed back for each vertex. One of:2D | 3D | 3D_COLOR | 3D_COLOR_TEXTURE | 4D_COLOR_TEXTURE |
buffer - an array of floating-point values into which feedback information will be placedpublic static void glFinish()
Finish does not return until all effects from such commands on GL client and server
state and the framebuffer are fully realized.public static void glFlush()
Flush returns).public static void glFogi(int pname,
int param)
pname - the fog parameter. One of:FOG_MODE | FOG_COORD_SRC |
param - the fog parameter value. One of:EXP | EXP2 | LINEAR | FRAGMENT_DEPTH | FOG_COORD |
public static void nglFogiv(int pname,
long params)
Fogivpublic static void glFogiv(int pname,
java.nio.IntBuffer params)
Fogi.pname - the fog parameter. One of:FOG_MODE | FOG_COORD_SRC |
params - the fog parameter bufferpublic static void glFogf(int pname,
float param)
pname - the fog parameter. One of:FOG_DENSITY | FOG_START | FOG_END |
param - the fog parameter valuepublic static void nglFogfv(int pname,
long params)
Fogfvpublic static void glFogfv(int pname,
java.nio.FloatBuffer params)
Fogf.pname - the fog parameter. One of:FOG_DENSITY | FOG_START | FOG_END |
params - the fog parameter bufferpublic static void glFrontFace(int dir)
CCW.dir - the front face direction. One of:CCW | CW |
public static int glGenLists(int s)
n,..., n + s - 1 are previously unused (i.e. there are s previously unused display list
indices starting at n). GenLists also has the effect of creating an empty display list for each of the indices n,..., n + s - 1, so
that these indices all become used. GenLists returns zero if there is no group of s contiguous previously unused display list indices,
or if s = 0.s - the number of display lists to createpublic static void nglGenTextures(int n,
long textures)
GenTexturesn - the number of textures to createpublic static void glGenTextures(java.nio.IntBuffer textures)
textures - a scalar or buffer in which to place the returned texture namespublic static int glGenTextures()
public static void nglDeleteTextures(int n,
long textures)
DeleteTexturesn - the number of texture names in the textures parameterpublic static void glDeleteTextures(java.nio.IntBuffer textures)
BindTexture is deleted, it is as though BindTexture had been executed with the
same target and texture zero. Additionally, special care must be taken when deleting a texture if any of the images of the texture are attached to a
framebuffer object.
Unused names in textures that have been marked as used for the purposes of GenTextures are marked as unused again. Unused names in textures are
silently ignored, as is the name zero.
textures - contains n names of texture objects to be deletedpublic static void glDeleteTextures(int texture)
BindTexture is deleted, it is as though BindTexture had been executed with the
same target and texture zero. Additionally, special care must be taken when deleting a texture if any of the images of the texture are attached to a
framebuffer object.
Unused names in textures that have been marked as used for the purposes of GenTextures are marked as unused again. Unused names in textures are
silently ignored, as is the name zero.
public static void nglGetClipPlane(int plane,
long equation)
GetClipPlanepublic static void glGetClipPlane(int plane,
java.nio.DoubleBuffer equation)
equation; these are the coefficients of the plane equation of plane in eye coordinates (these
coordinates are those that were computed when the plane was specified).plane - the clip planeequation - a buffer in which to place the returned valuespublic static void nglGetBooleanv(int pname,
long params)
GetBooleanvpublic static void glGetBooleanv(int pname,
java.nio.ByteBuffer params)
LWJGL note: The state that corresponds to the state variable may be a single value or an array of values. In the case of an array of values,
LWJGL will not validate if params has enough space to store that array. Doing so would introduce significant overhead, as the
OpenGL state variables are too many. It is the user's responsibility to avoid JVM crashes by ensuring enough space for the returned values.
pname - the state variableparams - a scalar or buffer in which to place the returned datapublic static boolean glGetBoolean(int pname)
LWJGL note: The state that corresponds to the state variable may be a single value or an array of values. In the case of an array of values,
LWJGL will not validate if params has enough space to store that array. Doing so would introduce significant overhead, as the
OpenGL state variables are too many. It is the user's responsibility to avoid JVM crashes by ensuring enough space for the returned values.
pname - the state variablepublic static void nglGetFloatv(int pname,
long params)
GetFloatvpublic static void glGetFloatv(int pname,
java.nio.FloatBuffer params)
LWJGL note: The state that corresponds to the state variable may be a single value or an array of values. In the case of an array of values,
LWJGL will not validate if params has enough space to store that array. Doing so would introduce significant overhead, as the
OpenGL state variables are too many. It is the user's responsibility to avoid JVM crashes by ensuring enough space for the returned values.
pname - the state variableparams - a scalar or buffer in which to place the returned datapublic static float glGetFloat(int pname)
LWJGL note: The state that corresponds to the state variable may be a single value or an array of values. In the case of an array of values,
LWJGL will not validate if params has enough space to store that array. Doing so would introduce significant overhead, as the
OpenGL state variables are too many. It is the user's responsibility to avoid JVM crashes by ensuring enough space for the returned values.
pname - the state variablepublic static void nglGetIntegerv(int pname,
long params)
GetIntegervpublic static void glGetIntegerv(int pname,
java.nio.IntBuffer params)
LWJGL note: The state that corresponds to the state variable may be a single value or an array of values. In the case of an array of values,
LWJGL will not validate if params has enough space to store that array. Doing so would introduce significant overhead, as the
OpenGL state variables are too many. It is the user's responsibility to avoid JVM crashes by ensuring enough space for the returned values.
pname - the state variableparams - a scalar or buffer in which to place the returned datapublic static int glGetInteger(int pname)
LWJGL note: The state that corresponds to the state variable may be a single value or an array of values. In the case of an array of values,
LWJGL will not validate if params has enough space to store that array. Doing so would introduce significant overhead, as the
OpenGL state variables are too many. It is the user's responsibility to avoid JVM crashes by ensuring enough space for the returned values.
pname - the state variablepublic static void nglGetDoublev(int pname,
long params)
GetDoublevpublic static void glGetDoublev(int pname,
java.nio.DoubleBuffer params)
LWJGL note: The state that corresponds to the state variable may be a single value or an array of values. In the case of an array of values,
LWJGL will not validate if params has enough space to store that array. Doing so would introduce significant overhead, as the
OpenGL state variables are too many. It is the user's responsibility to avoid JVM crashes by ensuring enough space for the returned values.
pname - the state variableparams - a scalar or buffer in which to place the returned datapublic static double glGetDouble(int pname)
LWJGL note: The state that corresponds to the state variable may be a single value or an array of values. In the case of an array of values,
LWJGL will not validate if params has enough space to store that array. Doing so would introduce significant overhead, as the
OpenGL state variables are too many. It is the user's responsibility to avoid JVM crashes by ensuring enough space for the returned values.
pname - the state variablepublic static int glGetError()
Each detectable error is assigned a numeric code. When an error is detected, a flag is set and the code is recorded. Further errors, if they occur, do
not affect this recorded code. When GetError is called, the code is returned and the flag is cleared, so that a further error will again record
its code. If a call to GetError returns NO_ERROR, then there has been no detectable error since the last call to GetError (or since
the GL was initialized).
public static void nglGetLightiv(int light,
int pname,
long data)
GetLightivpublic static void glGetLightiv(int light,
int pname,
java.nio.IntBuffer data)
pname for light in data.light - the light for which to return information. One of:LIGHT0 | GL_LIGHT[1-7] |
pname - the light parameter to query. One of:AMBIENT | DIFFUSE | SPECULAR | POSITION | CONSTANT_ATTENUATION | LINEAR_ATTENUATION |
QUADRATIC_ATTENUATION | SPOT_DIRECTION | SPOT_EXPONENT | SPOT_CUTOFF |
data - a scalar or buffer in which to place the returned datapublic static int glGetLighti(int light,
int pname)
pname for light in data.light - the light for which to return information. One of:LIGHT0 | GL_LIGHT[1-7] |
pname - the light parameter to query. One of:AMBIENT | DIFFUSE | SPECULAR | POSITION | CONSTANT_ATTENUATION | LINEAR_ATTENUATION |
QUADRATIC_ATTENUATION | SPOT_DIRECTION | SPOT_EXPONENT | SPOT_CUTOFF |
public static void nglGetLightfv(int light,
int pname,
long data)
GetLightfvpublic static void glGetLightfv(int light,
int pname,
java.nio.FloatBuffer data)
GetLightiv.light - the light for which to return informationpname - the light parameter to querydata - a scalar or buffer in which to place the returned datapublic static float glGetLightf(int light,
int pname)
GetLightiv.light - the light for which to return informationpname - the light parameter to querypublic static void nglGetMapiv(int target,
int query,
long data)
GetMapivpublic static void glGetMapiv(int target,
int query,
java.nio.IntBuffer data)
query for evaluator map target in data.target - the evaluator target. One of:query - the information to query. One of:ORDER | COEFF | DOMAIN |
data - a scalar or buffer in which to place the returned datapublic static int glGetMapi(int target,
int query)
query for evaluator map target in data.target - the evaluator target. One of:query - the information to query. One of:ORDER | COEFF | DOMAIN |
public static void nglGetMapfv(int target,
int query,
long data)
GetMapfvpublic static void glGetMapfv(int target,
int query,
java.nio.FloatBuffer data)
GetMapiv.target - the evaluator mapquery - the information to querydata - a scalar or buffer in which to place the returned datapublic static float glGetMapf(int target,
int query)
GetMapiv.target - the evaluator mapquery - the information to querypublic static void nglGetMapdv(int target,
int query,
long data)
GetMapdvpublic static void glGetMapdv(int target,
int query,
java.nio.DoubleBuffer data)
GetMapiv.target - the evaluator mapquery - the information to querydata - a scalar or buffer in which to place the returned datapublic static double glGetMapd(int target,
int query)
GetMapiv.target - the evaluator mapquery - the information to querypublic static void nglGetMaterialiv(int face,
int pname,
long data)
GetMaterialivpublic static void glGetMaterialiv(int face,
int pname,
java.nio.IntBuffer data)
pname for face in data.face - the material face for which to return information. One of:FRONT | BACK |
pname - the information to query. One of:AMBIENT | DIFFUSE | SPECULAR | EMISSION | SHININESS |
data - a scalar or buffer in which to place the returned datapublic static void nglGetMaterialfv(int face,
int pname,
long data)
GetMaterialfvpublic static void glGetMaterialfv(int face,
int pname,
java.nio.FloatBuffer data)
GetMaterialiv.face - the material face for which to return informationpname - the information to querydata - a scalar or buffer in which to place the returned datapublic static void nglGetPixelMapfv(int map,
long data)
GetPixelMapfvpublic static void glGetPixelMapfv(int map,
java.nio.FloatBuffer data)
map in data.map - the pixel map parameter to query. One of:PIXEL_MAP_I_TO_I | PIXEL_MAP_S_TO_S | PIXEL_MAP_I_TO_R | PIXEL_MAP_I_TO_G | PIXEL_MAP_I_TO_B |
PIXEL_MAP_I_TO_A | PIXEL_MAP_R_TO_R | PIXEL_MAP_G_TO_G | PIXEL_MAP_B_TO_B | PIXEL_MAP_A_TO_A |
data - a buffer in which to place the returned datapublic static void glGetPixelMapfv(int map,
long data)
map in data.map - the pixel map parameter to query. One of:PIXEL_MAP_I_TO_I | PIXEL_MAP_S_TO_S | PIXEL_MAP_I_TO_R | PIXEL_MAP_I_TO_G | PIXEL_MAP_I_TO_B |
PIXEL_MAP_I_TO_A | PIXEL_MAP_R_TO_R | PIXEL_MAP_G_TO_G | PIXEL_MAP_B_TO_B | PIXEL_MAP_A_TO_A |
data - a buffer in which to place the returned datapublic static void nglGetPixelMapusv(int map,
long data)
GetPixelMapusvpublic static void glGetPixelMapusv(int map,
java.nio.ShortBuffer data)
GetPixelMapfv.map - the pixel map parameter to querydata - a buffer in which to place the returned datapublic static void glGetPixelMapusv(int map,
long data)
GetPixelMapfv.map - the pixel map parameter to querydata - a buffer in which to place the returned datapublic static void nglGetPixelMapuiv(int map,
long data)
GetPixelMapuivpublic static void glGetPixelMapuiv(int map,
java.nio.IntBuffer data)
GetPixelMapfv.map - the pixel map parameter to querydata - a buffer in which to place the returned datapublic static void glGetPixelMapuiv(int map,
long data)
GetPixelMapfv.map - the pixel map parameter to querydata - a buffer in which to place the returned datapublic static void nglGetPointerv(int pname,
long params)
GetPointervpublic static void glGetPointerv(int pname,
org.lwjgl.PointerBuffer params)
pname - the pointer to return. One of:DEBUG_CALLBACK_FUNCTION | DEBUG_CALLBACK_USER_PARAM |
params - a buffer in which to place the returned pointerpublic static long glGetPointer(int pname)
pname - the pointer to return. One of:DEBUG_CALLBACK_FUNCTION | DEBUG_CALLBACK_USER_PARAM |
public static void nglGetPolygonStipple(long pattern)
GetPolygonStipplepublic static void glGetPolygonStipple(java.nio.ByteBuffer pattern)
pattern - a buffer in which to place the returned datapublic static void glGetPolygonStipple(long pattern)
pattern - a buffer in which to place the returned datapublic static long nglGetString(int name)
GetString@Nullable public static java.lang.String glGetString(int name)
name - the property to query. One of:RENDERER | VENDOR | EXTENSIONS | VERSION | SHADING_LANGUAGE_VERSION |
public static void nglGetTexEnviv(int env,
int pname,
long data)
GetTexEnvivpublic static void glGetTexEnviv(int env,
int pname,
java.nio.IntBuffer data)
pname for env in data.env - the texture environment to query. One of:POINT_SPRITE | TEXTURE_ENV | TEXTURE_FILTER_CONTROL |
pname - the parameter to query. One of:data - a scalar or buffer in which to place the returned datapublic static int glGetTexEnvi(int env,
int pname)
pname for env in data.env - the texture environment to query. One of:POINT_SPRITE | TEXTURE_ENV | TEXTURE_FILTER_CONTROL |
pname - the parameter to query. One of:public static void nglGetTexEnvfv(int env,
int pname,
long data)
GetTexEnvfvpublic static void glGetTexEnvfv(int env,
int pname,
java.nio.FloatBuffer data)
GetTexEnviv.env - the texture environment to querypname - the parameter to querydata - a scalar or buffer in which to place the returned datapublic static float glGetTexEnvf(int env,
int pname)
GetTexEnviv.env - the texture environment to querypname - the parameter to querypublic static void nglGetTexGeniv(int coord,
int pname,
long data)
GetTexGenivpublic static void glGetTexGeniv(int coord,
int pname,
java.nio.IntBuffer data)
pname for coord in data.coord - the coord to query. One of:S | T | R | Q |
pname - the parameter to query. One of:EYE_PLANE | OBJECT_PLANE | TEXTURE_GEN_MODE |
data - a scalar or buffer in which to place the returned datapublic static int glGetTexGeni(int coord,
int pname)
pname for coord in data.coord - the coord to query. One of:S | T | R | Q |
pname - the parameter to query. One of:EYE_PLANE | OBJECT_PLANE | TEXTURE_GEN_MODE |
public static void nglGetTexGenfv(int coord,
int pname,
long data)
GetTexGenfvpublic static void glGetTexGenfv(int coord,
int pname,
java.nio.FloatBuffer data)
GetTexGeniv.coord - the coord to querypname - the parameter to querydata - a scalar or buffer in which to place the returned datapublic static float glGetTexGenf(int coord,
int pname)
GetTexGeniv.coord - the coord to querypname - the parameter to querypublic static void nglGetTexGendv(int coord,
int pname,
long data)
GetTexGendvpublic static void glGetTexGendv(int coord,
int pname,
java.nio.DoubleBuffer data)
GetTexGeniv.coord - the coord to querypname - the parameter to querydata - a scalar or buffer in which to place the returned datapublic static double glGetTexGend(int coord,
int pname)
GetTexGeniv.coord - the coord to querypname - the parameter to querypublic static void nglGetTexImage(int tex,
int level,
int format,
int type,
long pixels)
GetTexImagepublic static void glGetTexImage(int tex,
int level,
int format,
int type,
java.nio.ByteBuffer pixels)
tex - the texture (or texture face) to be obtained. One of:level - the level-of-detail numberformat - the pixel 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 type. One of:pixels - the buffer in which to place the returned datapublic static void glGetTexImage(int tex,
int level,
int format,
int type,
long pixels)
tex - the texture (or texture face) to be obtained. One of:level - the level-of-detail numberformat - the pixel 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 type. One of:pixels - the buffer in which to place the returned datapublic static void glGetTexImage(int tex,
int level,
int format,
int type,
java.nio.ShortBuffer pixels)
tex - the texture (or texture face) to be obtained. One of:level - the level-of-detail numberformat - the pixel 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 type. One of:pixels - the buffer in which to place the returned datapublic static void glGetTexImage(int tex,
int level,
int format,
int type,
java.nio.IntBuffer pixels)
tex - the texture (or texture face) to be obtained. One of:level - the level-of-detail numberformat - the pixel 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 type. One of:pixels - the buffer in which to place the returned datapublic static void glGetTexImage(int tex,
int level,
int format,
int type,
java.nio.FloatBuffer pixels)
tex - the texture (or texture face) to be obtained. One of:level - the level-of-detail numberformat - the pixel 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 type. One of:pixels - the buffer in which to place the returned datapublic static void glGetTexImage(int tex,
int level,
int format,
int type,
java.nio.DoubleBuffer pixels)
tex - the texture (or texture face) to be obtained. One of:level - the level-of-detail numberformat - the pixel 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 type. One of:pixels - the buffer in which to place the returned datapublic static void nglGetTexLevelParameteriv(int target,
int level,
int pname,
long params)
GetTexLevelParameterivpublic static void glGetTexLevelParameteriv(int target,
int level,
int pname,
java.nio.IntBuffer params)
pname for level-of-detail level of the specified target into params.target - the texture image target. One of:level - the level-of-detail numberpname - the parameter to query. One of:params - a scalar or buffer in which to place the returned datapublic static int glGetTexLevelParameteri(int target,
int level,
int pname)
pname for level-of-detail level of the specified target into params.target - the texture image target. One of:level - the level-of-detail numberpname - the parameter to query. One of:public static void nglGetTexLevelParameterfv(int target,
int level,
int pname,
long params)
GetTexLevelParameterfvpublic static void glGetTexLevelParameterfv(int target,
int level,
int pname,
java.nio.FloatBuffer params)
GetTexLevelParameteriv.target - the texture image targetlevel - the level-of-detail numberpname - the parameter to queryparams - a scalar or buffer in which to place the returned datapublic static float glGetTexLevelParameterf(int target,
int level,
int pname)
GetTexLevelParameteriv.target - the texture image targetlevel - the level-of-detail numberpname - the parameter to querypublic static void nglGetTexParameteriv(int target,
int pname,
long params)
GetTexParameterivpublic static void glGetTexParameteriv(int target,
int pname,
java.nio.IntBuffer params)
pname for the specified target into params.target - the texture target. One of:TEXTURE_1D | TEXTURE_2D | TEXTURE_3D | TEXTURE_1D_ARRAY |
TEXTURE_2D_ARRAY | TEXTURE_RECTANGLE | TEXTURE_CUBE_MAP | TEXTURE_CUBE_MAP_ARRAY |
TEXTURE_2D_MULTISAMPLE | TEXTURE_2D_MULTISAMPLE_ARRAY |
pname - the parameter to query. One of:params - a scalar or buffer in which to place the returned datapublic static int glGetTexParameteri(int target,
int pname)
pname for the specified target into params.target - the texture target. One of:TEXTURE_1D | TEXTURE_2D | TEXTURE_3D | TEXTURE_1D_ARRAY |
TEXTURE_2D_ARRAY | TEXTURE_RECTANGLE | TEXTURE_CUBE_MAP | TEXTURE_CUBE_MAP_ARRAY |
TEXTURE_2D_MULTISAMPLE | TEXTURE_2D_MULTISAMPLE_ARRAY |
pname - the parameter to query. One of:public static void nglGetTexParameterfv(int target,
int pname,
long params)
GetTexParameterfvpublic static void glGetTexParameterfv(int target,
int pname,
java.nio.FloatBuffer params)
GetTexParameteriv.target - the texture targetpname - the parameter to queryparams - a scalar or buffer in which to place the returned datapublic static float glGetTexParameterf(int target,
int pname)
GetTexParameteriv.target - the texture targetpname - the parameter to querypublic static void glHint(int target,
int hint)
DONT_CARE.target - the behavior to control. One of:LINE_SMOOTH_HINT | POLYGON_SMOOTH_HINT | TEXTURE_COMPRESSION_HINT |
FRAGMENT_SHADER_DERIVATIVE_HINT |
hint - the behavior hint. One of:FASTEST | NICEST | DONT_CARE |
public static void glIndexi(int index)
index - the value to which the current color index should be setpublic static void glIndexub(byte index)
Indexi.index - the value to which the current color index should be setpublic static void glIndexs(short index)
Indexi.index - the value to which the current color index should be setpublic static void glIndexf(float index)
Indexi.index - the value to which the current color index should be setpublic static void glIndexd(double index)
Indexi.index - the value to which the current color index should be setpublic static void nglIndexiv(long index)
Indexivpublic static void glIndexiv(java.nio.IntBuffer index)
Indexiindex - the value to which the current color index should be setpublic static void nglIndexubv(long index)
Indexubvpublic static void glIndexubv(java.nio.ByteBuffer index)
Indexub.index - the value to which the current color index should be setpublic static void nglIndexsv(long index)
Indexsvpublic static void glIndexsv(java.nio.ShortBuffer index)
Indexs.index - the value to which the current color index should be setpublic static void nglIndexfv(long index)
Indexfvpublic static void glIndexfv(java.nio.FloatBuffer index)
Indexf.index - the value to which the current color index should be setpublic static void nglIndexdv(long index)
Indexdvpublic static void glIndexdv(java.nio.DoubleBuffer index)
Indexd.index - the value to which the current color index should be setpublic static void glIndexMask(int mask)
mask - the color index mask valuepublic static void nglIndexPointer(int type,
int stride,
long pointer)
IndexPointertype - the data type of the values stored in the array. One of:UNSIGNED_BYTE | SHORT | INT | FLOAT | DOUBLE |
public static void glIndexPointer(int type,
int stride,
java.nio.ByteBuffer pointer)
type - the data type of the values stored in the array. One of:UNSIGNED_BYTE | SHORT | INT | FLOAT | DOUBLE |
stride - the vertex stride in bytes. If specified as zero, then array elements are stored sequentiallypointer - the color index array datapublic static void glIndexPointer(int type,
int stride,
long pointer)
type - the data type of the values stored in the array. One of:UNSIGNED_BYTE | SHORT | INT | FLOAT | DOUBLE |
stride - the vertex stride in bytes. If specified as zero, then array elements are stored sequentiallypointer - the color index array datapublic static void glIndexPointer(int stride,
java.nio.ByteBuffer pointer)
stride - the vertex stride in bytes. If specified as zero, then array elements are stored sequentiallypointer - the color index array datapublic static void glIndexPointer(int stride,
java.nio.ShortBuffer pointer)
stride - the vertex stride in bytes. If specified as zero, then array elements are stored sequentiallypointer - the color index array datapublic static void glIndexPointer(int stride,
java.nio.IntBuffer pointer)
stride - the vertex stride in bytes. If specified as zero, then array elements are stored sequentiallypointer - the color index array datapublic static void glInitNames()
public static void nglInterleavedArrays(int format,
int stride,
long pointer)
InterleavedArrayspublic static void glInterleavedArrays(int format,
int stride,
java.nio.ByteBuffer pointer)
format - the interleaved array format. One of:V2F | V3F | C4UB_V2F | C4UB_V3F | C3F_V3F | N3F_V3F | C4F_N3F_V3F | T2F_V3F |
T4F_V4F | T2F_C4UB_V3F | T2F_C3F_V3F | T2F_N3F_V3F | T2F_C4F_N3F_V3F | T4F_C4F_N3F_V4F |
stride - the vertex stride in bytes. If specified as zero, then array elements are stored sequentiallypointer - the vertex array datapublic static void glInterleavedArrays(int format,
int stride,
long pointer)
format - the interleaved array format. One of:V2F | V3F | C4UB_V2F | C4UB_V3F | C3F_V3F | N3F_V3F | C4F_N3F_V3F | T2F_V3F |
T4F_V4F | T2F_C4UB_V3F | T2F_C3F_V3F | T2F_N3F_V3F | T2F_C4F_N3F_V3F | T4F_C4F_N3F_V4F |
stride - the vertex stride in bytes. If specified as zero, then array elements are stored sequentiallypointer - the vertex array datapublic static void glInterleavedArrays(int format,
int stride,
java.nio.ShortBuffer pointer)
format - the interleaved array format. One of:V2F | V3F | C4UB_V2F | C4UB_V3F | C3F_V3F | N3F_V3F | C4F_N3F_V3F | T2F_V3F |
T4F_V4F | T2F_C4UB_V3F | T2F_C3F_V3F | T2F_N3F_V3F | T2F_C4F_N3F_V3F | T4F_C4F_N3F_V4F |
stride - the vertex stride in bytes. If specified as zero, then array elements are stored sequentiallypointer - the vertex array datapublic static void glInterleavedArrays(int format,
int stride,
java.nio.IntBuffer pointer)
format - the interleaved array format. One of:V2F | V3F | C4UB_V2F | C4UB_V3F | C3F_V3F | N3F_V3F | C4F_N3F_V3F | T2F_V3F |
T4F_V4F | T2F_C4UB_V3F | T2F_C3F_V3F | T2F_N3F_V3F | T2F_C4F_N3F_V3F | T4F_C4F_N3F_V4F |
stride - the vertex stride in bytes. If specified as zero, then array elements are stored sequentiallypointer - the vertex array datapublic static void glInterleavedArrays(int format,
int stride,
java.nio.FloatBuffer pointer)
format - the interleaved array format. One of:V2F | V3F | C4UB_V2F | C4UB_V3F | C3F_V3F | N3F_V3F | C4F_N3F_V3F | T2F_V3F |
T4F_V4F | T2F_C4UB_V3F | T2F_C3F_V3F | T2F_N3F_V3F | T2F_C4F_N3F_V3F | T4F_C4F_N3F_V4F |
stride - the vertex stride in bytes. If specified as zero, then array elements are stored sequentiallypointer - the vertex array datapublic static void glInterleavedArrays(int format,
int stride,
java.nio.DoubleBuffer pointer)
format - the interleaved array format. One of:V2F | V3F | C4UB_V2F | C4UB_V3F | C3F_V3F | N3F_V3F | C4F_N3F_V3F | T2F_V3F |
T4F_V4F | T2F_C4UB_V3F | T2F_C3F_V3F | T2F_N3F_V3F | T2F_C4F_N3F_V3F | T4F_C4F_N3F_V4F |
stride - the vertex stride in bytes. If specified as zero, then array elements are stored sequentiallypointer - the vertex array datapublic static boolean glIsEnabled(int cap)
cap is currently enabled (as with Enable) or disabled.cap - the enable state to querypublic static boolean glIsList(int list)
list is the index of some display list.list - the list index to querypublic static boolean glIsTexture(int texture)
texture is the name of a texture object.texture - the texture name to querypublic static void glLightModeli(int pname,
int param)
pname - the lighting model parameter to set. One of:LIGHT_MODEL_AMBIENT | LIGHT_MODEL_LOCAL_VIEWER | LIGHT_MODEL_TWO_SIDE |
LIGHT_MODEL_COLOR_CONTROL |
param - the parameter valuepublic static void glLightModelf(int pname,
float param)
LightModeli.pname - the lighting model parameter to setparam - the parameter valuepublic static void nglLightModeliv(int pname,
long params)
LightModelivpublic static void glLightModeliv(int pname,
java.nio.IntBuffer params)
LightModeli.pname - the lighting model parameter to setparams - the parameter valuepublic static void nglLightModelfv(int pname,
long params)
LightModelfvpublic static void glLightModelfv(int pname,
java.nio.FloatBuffer params)
LightModelf.pname - the lighting model parameter to setparams - the parameter valuepublic static void glLighti(int light,
int pname,
int param)
light - the light for which to set the parameter. One of:LIGHT0 | GL_LIGHT[1-7] |
pname - the parameter to set. One of:AMBIENT | DIFFUSE | SPECULAR | POSITION | CONSTANT_ATTENUATION | LINEAR_ATTENUATION |
QUADRATIC_ATTENUATION | SPOT_DIRECTION | SPOT_EXPONENT | SPOT_CUTOFF |
param - the parameter valuepublic static void glLightf(int light,
int pname,
float param)
Lighti.light - the light for which to set the parameterpname - the parameter to setparam - the parameter valuepublic static void nglLightiv(int light,
int pname,
long params)
Lightivpublic static void glLightiv(int light,
int pname,
java.nio.IntBuffer params)
Lighti.light - the light for which to set the parameterpname - the parameter to setparams - the parameter valuepublic static void nglLightfv(int light,
int pname,
long params)
Lightfvpublic static void glLightfv(int light,
int pname,
java.nio.FloatBuffer params)
Lightf.light - the light for which to set the parameterpname - the parameter to setparams - the parameter valuepublic static void glLineStipple(int factor,
short pattern)
Enable or Disable with the constant LINE_STIPPLE. When disabled, it is as if the line stipple has its default value.factor - a count that is used to modify the effective line stipple by causing each bit in pattern to be used factor times. factor is clamped
to the range [1, 256].pattern - an unsigned short integer whose 16 bits define the stipple patternpublic static void glLineWidth(float width)
width - the line widthpublic static void glListBase(int base)
base - the display list base offsetpublic static void nglLoadMatrixf(long m)
LoadMatrixfpublic static void glLoadMatrixf(java.nio.FloatBuffer m)
The matrix is stored as 16 consecutive values, i.e. as:
| a1 | a5 | a9 | a13 |
| a2 | a6 | a10 | a14 |
| a3 | a7 | a11 | a15 |
| a4 | a8 | a12 | a16 |
This differs from the standard row-major ordering for matrix elements. If the standard ordering is used, all of the subsequent transformation equations are transposed, and the columns representing vectors become rows.
m - the matrix datapublic static void nglLoadMatrixd(long m)
LoadMatrixdpublic static void glLoadMatrixd(java.nio.DoubleBuffer m)
LoadMatrixf.m - the matrix datapublic static void glLoadIdentity()
Calling this function is equivalent to calling LoadMatrixf with the following matrix:
| 1 | 0 | 0 | 0 |
| 0 | 1 | 0 | 0 |
| 0 | 0 | 1 | 0 |
| 0 | 0 | 0 | 1 |
public static void glLoadName(int name)
name.name - the name to loadpublic static void glLogicOp(int op)
op - the operation to set. One of:CLEAR | AND | AND_REVERSE | COPY | AND_INVERTED | NOOP | XOR | OR | NOR | EQUIV | INVERT | OR_REVERSE | COPY_INVERTED |
OR_INVERTED | NAND | SET |
public static void nglMap1f(int target,
float u1,
float u2,
int stride,
int order,
long points)
Map1fpublic static void glMap1f(int target,
float u1,
float u2,
int stride,
int order,
java.nio.FloatBuffer points)
target - the evaluator target. One of:MAP1_VERTEX_3 | MAP1_VERTEX_4 | MAP1_COLOR_4 | MAP1_NORMAL | MAP1_TEXTURE_COORD_1 |
MAP1_TEXTURE_COORD_2 | MAP1_TEXTURE_COORD_3 | MAP1_TEXTURE_COORD_4 |
u1 - the first endpoint of the pre-image of the mapu2 - the second endpoint of the pre-image of the mapstride - the number of values in each block of storageorder - the polynomial orderpoints - a set of order blocks of storage containing control pointspublic static void nglMap1d(int target,
double u1,
double u2,
int stride,
int order,
long points)
Map1dpublic static void glMap1d(int target,
double u1,
double u2,
int stride,
int order,
java.nio.DoubleBuffer points)
Map1f.target - the evaluator targetu1 - the first endpoint of the pre-image of the mapu2 - the second endpoint of the pre-image of the mapstride - the number of values in each block of storageorder - the polynomial orderpoints - a set of order blocks of storage containing control pointspublic static void nglMap2f(int target,
float u1,
float u2,
int ustride,
int uorder,
float v1,
float v2,
int vstride,
int vorder,
long points)
Map2fpublic static void glMap2f(int target,
float u1,
float u2,
int ustride,
int uorder,
float v1,
float v2,
int vstride,
int vorder,
java.nio.FloatBuffer points)
Map1f.target - the evaluator targetu1 - the first u-dimension endpoint of the pre-image rectangle of the mapu2 - the second u-dimension endpoint of the pre-image rectangle of the mapustride - the number of values in the u-dimension in each block of storageuorder - the polynomial order in the u-dimensionv1 - the first v-dimension endpoint of the pre-image rectangle of the mapv2 - the second v-dimension endpoint of the pre-image rectangle of the mapvstride - the number of values in the v-dimension in each block of storagevorder - the polynomial order in the v-dimensionpoints - a set of uorder × vorder blocks of storage containing control pointspublic static void nglMap2d(int target,
double u1,
double u2,
int ustride,
int uorder,
double v1,
double v2,
int vstride,
int vorder,
long points)
Map2dpublic static void glMap2d(int target,
double u1,
double u2,
int ustride,
int uorder,
double v1,
double v2,
int vstride,
int vorder,
java.nio.DoubleBuffer points)
Map2f.target - the evaluator targetu1 - the first u-dimension endpoint of the pre-image rectangle of the mapu2 - the second u-dimension endpoint of the pre-image rectangle of the mapustride - the number of values in the u-dimension in each block of storageuorder - the polynomial order in the u-dimensionv1 - the first v-dimension endpoint of the pre-image rectangle of the mapv2 - the second v-dimension endpoint of the pre-image rectangle of the mapvstride - the number of values in the v-dimension in each block of storagevorder - the polynomial order in the v-dimensionpoints - a set of uorder × vorder blocks of storage containing control pointspublic static void glMapGrid1f(int n,
float u1,
float u2)
n - the number of partitions of the intervalu1 - the first interval endpointu2 - the second interval endpointpublic static void glMapGrid1d(int n,
double u1,
double u2)
MapGrid1f.n - the number of partitions of the intervalu1 - the first interval endpointu2 - the second interval endpointpublic static void glMapGrid2f(int un,
float u1,
float u2,
int vn,
float v1,
float v2)
un - the number of partitions of the interval in the u-dimensionu1 - the first u-dimension interval endpointu2 - the second u-dimension interval endpointvn - the number of partitions of the interval in the v-dimensionv1 - the first v-dimension interval endpointv2 - the second v-dimension interval endpointpublic static void glMapGrid2d(int un,
double u1,
double u2,
int vn,
double v1,
double v2)
MapGrid2f.un - the number of partitions of the interval in the u-dimensionu1 - the first u-dimension interval endpointu2 - the second u-dimension interval endpointvn - the number of partitions of the interval in the v-dimensionv1 - the first v-dimension interval endpointv2 - the second v-dimension interval endpointpublic static void glMateriali(int face,
int pname,
int param)
face - the material face for which to set the parameter. One of:FRONT | BACK | FRONT_AND_BACK |
pname - the parameter to set. Must be:SHININESS |
param - the parameter valuepublic static void glMaterialf(int face,
int pname,
float param)
Materiali.face - the material face for which to set the parameterpname - the parameter to setparam - the parameter valuepublic static void nglMaterialiv(int face,
int pname,
long params)
Materialivpublic static void glMaterialiv(int face,
int pname,
java.nio.IntBuffer params)
Materiali.face - the material face for which to set the parameterpname - the parameter to set. One of:AMBIENT | DIFFUSE | AMBIENT_AND_DIFFUSE | SPECULAR | EMISSION |
params - the parameter valuepublic static void nglMaterialfv(int face,
int pname,
long params)
Materialfvpublic static void glMaterialfv(int face,
int pname,
java.nio.FloatBuffer params)
Materialf.face - the material face for which to set the parameterpname - the parameter to setparams - the parameter valuepublic static void glMatrixMode(int mode)
mode - the matrix mode. One of:MODELVIEW | PROJECTION | TEXTURE | COLOR |
public static void nglMultMatrixf(long m)
MultMatrixfpublic static void glMultMatrixf(java.nio.FloatBuffer m)
LoadMatrixf for details.m - the matrix datapublic static void nglMultMatrixd(long m)
MultMatrixdpublic static void glMultMatrixd(java.nio.DoubleBuffer m)
MultMatrixf.m - the matrix datapublic static void glFrustum(double l,
double r,
double b,
double t,
double n,
double f)
(lb – n)T
and (rt – n)T specify the points on the near clipping plane that are mapped to the lower left and upper right corners of the
window, respectively (assuming that the eye is located at (0 0 0)T). f gives the distance from the eye to the far clipping
plane.
Calling this function is equivalent to calling MultMatrixf with the following matrix:
| 2n / (r - l) | 0 | (r + l) / (r - l) | 0 |
| 0 | 2n / (t - b) | (t + b) / (t - b) | 0 |
| 0 | 0 | - (f + n) / (f - n) | - (2fn) / (f - n) |
| 0 | 0 | -1 | 0 |
l - the left frustum planer - the right frustum planeb - the bottom frustum planet - the top frustum planen - the near frustum planef - the far frustum planepublic static void glNewList(int n,
int mode)
n - a positive integer to which the display list that follows is assignedmode - a symbolic constant that controls the behavior of the GL during display list creation. One of:COMPILE | COMPILE_AND_EXECUTE |
public static void glEndList()
EndList occurs that the specified display list is actually
associated with the index indicated with NewList.public static void glNormal3f(float nx,
float ny,
float nz)
nx - the x coordinate of the current normalny - the y coordinate of the current normalnz - the z coordinate of the current normalpublic static void glNormal3b(byte nx,
byte ny,
byte nz)
Normal3f.nx - the x coordinate of the current normalny - the y coordinate of the current normalnz - the z coordinate of the current normalpublic static void glNormal3s(short nx,
short ny,
short nz)
Normal3f.nx - the x coordinate of the current normalny - the y coordinate of the current normalnz - the z coordinate of the current normalpublic static void glNormal3i(int nx,
int ny,
int nz)
Normal3f.nx - the x coordinate of the current normalny - the y coordinate of the current normalnz - the z coordinate of the current normalpublic static void glNormal3d(double nx,
double ny,
double nz)
Normal3f.nx - the x coordinate of the current normalny - the y coordinate of the current normalnz - the z coordinate of the current normalpublic static void nglNormal3fv(long v)
Normal3fvpublic static void glNormal3fv(java.nio.FloatBuffer v)
Normal3f.v - the normal bufferpublic static void nglNormal3bv(long v)
Normal3bvpublic static void glNormal3bv(java.nio.ByteBuffer v)
Normal3b.v - the normal bufferpublic static void nglNormal3sv(long v)
Normal3svpublic static void glNormal3sv(java.nio.ShortBuffer v)
Normal3s.v - the normal bufferpublic static void nglNormal3iv(long v)
Normal3ivpublic static void glNormal3iv(java.nio.IntBuffer v)
Normal3i.v - the normal bufferpublic static void nglNormal3dv(long v)
Normal3dvpublic static void glNormal3dv(java.nio.DoubleBuffer v)
Normal3d.v - the normal bufferpublic static void nglNormalPointer(int type,
int stride,
long pointer)
NormalPointerpublic static void glNormalPointer(int type,
int stride,
java.nio.ByteBuffer pointer)
type - the data type of the values stored in the array. One of:BYTE | SHORT | INT | HALF_FLOAT | FLOAT | DOUBLE | UNSIGNED_INT_2_10_10_10_REV | INT_2_10_10_10_REV |
stride - the vertex stride in bytes. If specified as zero, then array elements are stored sequentiallypointer - the normal array datapublic static void glNormalPointer(int type,
int stride,
long pointer)
type - the data type of the values stored in the array. One of:BYTE | SHORT | INT | HALF_FLOAT | FLOAT | DOUBLE | UNSIGNED_INT_2_10_10_10_REV | INT_2_10_10_10_REV |
stride - the vertex stride in bytes. If specified as zero, then array elements are stored sequentiallypointer - the normal array datapublic static void glNormalPointer(int type,
int stride,
java.nio.ShortBuffer pointer)
type - the data type of the values stored in the array. One of:BYTE | SHORT | INT | HALF_FLOAT | FLOAT | DOUBLE | UNSIGNED_INT_2_10_10_10_REV | INT_2_10_10_10_REV |
stride - the vertex stride in bytes. If specified as zero, then array elements are stored sequentiallypointer - the normal array datapublic static void glNormalPointer(int type,
int stride,
java.nio.IntBuffer pointer)
type - the data type of the values stored in the array. One of:BYTE | SHORT | INT | HALF_FLOAT | FLOAT | DOUBLE | UNSIGNED_INT_2_10_10_10_REV | INT_2_10_10_10_REV |
stride - the vertex stride in bytes. If specified as zero, then array elements are stored sequentiallypointer - the normal array datapublic static void glNormalPointer(int type,
int stride,
java.nio.FloatBuffer pointer)
type - the data type of the values stored in the array. One of:BYTE | SHORT | INT | HALF_FLOAT | FLOAT | DOUBLE | UNSIGNED_INT_2_10_10_10_REV | INT_2_10_10_10_REV |
stride - the vertex stride in bytes. If specified as zero, then array elements are stored sequentiallypointer - the normal array datapublic static void glOrtho(double l,
double r,
double b,
double t,
double n,
double f)
(lb – n)T
and (rt – n)T specify the points on the near clipping plane that are mapped to the lower left and upper right corners of the
window, respectively (assuming that the eye is located at (0 0 0)T). f gives the distance from the eye to the far clipping
plane.
Calling this function is equivalent to calling MultMatrixf with the following matrix:
| 2 / (r - l) | 0 | 0 | - (r + l) / (r - l) |
| 0 | 2 / (t - b) | 0 | - (t + b) / (t - b) |
| 0 | 0 | - 2 / (f - n) | - (f + n) / (f - n) |
| 0 | 0 | 0 | 1 |
l - the left frustum planer - the right frustum planeb - the bottom frustum planet - the top frustum planen - the near frustum planef - the far frustum planepublic static void glPassThrough(float token)
token is returned as if it were a primitive; it is indicated with its own unique identifying
value. The ordering of any PassThrough commands with respect to primitive specification is maintained by feedback. PassThrough may
not occur between Begin and End.token - the marker value to insertpublic static void nglPixelMapfv(int map,
int size,
long values)
PixelMapfvsize - the map sizepublic static void glPixelMapfv(int map,
int size,
long values)
map - the map to set. One of:PIXEL_MAP_I_TO_I | PIXEL_MAP_S_TO_S | PIXEL_MAP_I_TO_R | PIXEL_MAP_I_TO_G | PIXEL_MAP_I_TO_B |
PIXEL_MAP_I_TO_A | PIXEL_MAP_R_TO_R | PIXEL_MAP_G_TO_G | PIXEL_MAP_B_TO_B | PIXEL_MAP_A_TO_A |
size - the map sizevalues - the map valuespublic static void glPixelMapfv(int map,
java.nio.FloatBuffer values)
map - the map to set. One of:PIXEL_MAP_I_TO_I | PIXEL_MAP_S_TO_S | PIXEL_MAP_I_TO_R | PIXEL_MAP_I_TO_G | PIXEL_MAP_I_TO_B |
PIXEL_MAP_I_TO_A | PIXEL_MAP_R_TO_R | PIXEL_MAP_G_TO_G | PIXEL_MAP_B_TO_B | PIXEL_MAP_A_TO_A |
values - the map valuespublic static void nglPixelMapusv(int map,
int size,
long values)
PixelMapusvsize - the map sizepublic static void glPixelMapusv(int map,
int size,
long values)
PixelMapfv.map - the map to setsize - the map sizevalues - the map valuespublic static void glPixelMapusv(int map,
java.nio.ShortBuffer values)
PixelMapfv.map - the map to setvalues - the map valuespublic static void nglPixelMapuiv(int map,
int size,
long values)
PixelMapuivsize - the map sizepublic static void glPixelMapuiv(int map,
int size,
long values)
PixelMapfv.map - the map to setsize - the map sizevalues - the map valuespublic static void glPixelMapuiv(int map,
java.nio.IntBuffer values)
PixelMapfv.map - the map to setvalues - the map valuespublic static void glPixelStorei(int pname,
int param)
pname - the pixel store parameter to set. One of:param - the parameter valuepublic static void glPixelStoref(int pname,
float param)
PixelStorei.pname - the pixel store parameter to setparam - the parameter valuepublic static void glPixelTransferi(int pname,
int param)
pname - the pixel transfer parameter to set. One of:param - the parameter valuepublic static void glPixelTransferf(int pname,
float param)
PixelTransferi.pname - the pixel transfer parameter to setparam - the parameter valuepublic static void glPixelZoom(float xfactor,
float yfactor)
Let (xrp, yrp) be the current raster position. If a particular group is the nth in a row and belongs to the mth row, consider the region in window coordinates bounded by the rectangle with corners
(xrp + zxn, yrp + zym) and (xrp + zx(n + 1), yrp + zy(m + 1))
(either zx or zy may be negative). A fragment representing group (n, m) is produced for each framebuffer pixel inside, or
on the bottom or left boundary, of this rectangle.
xfactor - the zx factoryfactor - the zy factorpublic static void glPointSize(float size)
size - the request size of a pointpublic static void glPolygonMode(int face,
int mode)
FILL is the default mode of polygon rasterization. Note that these modes affect only the final rasterization of polygons: in particular, a
polygon's vertices are lit, and the polygon is clipped and possibly culled before these modes are applied. Polygon antialiasing applies only to the
FILL state of PolygonMode. For POINT or LINE, point antialiasing or line segment antialiasing, respectively, apply.
face - the face for which to set the rasterizing method. One of:FRONT | BACK | FRONT_AND_BACK |
mode - the rasterization mode. One of:POINT | LINE | FILL |
public static void glPolygonOffset(float factor,
float units)
factor scales the maximum depth slope of the polygon, and units scales an implementation-dependent constant that relates to the usable
resolution of the depth buffer. The resulting values are summed to produce the polygon offset value.
factor - the maximum depth slope factorunits - the constant scalepublic static void nglPolygonStipple(long pattern)
PolygonStipplepublic static void glPolygonStipple(java.nio.ByteBuffer pattern)
LineStipple, masking out certain fragments produced by rasterization so that they
are not sent to the next stage of the GL. This is the case regardless of the state of polygon antialiasing.
If xw and yw are the window coordinates of a rasterized polygon fragment, then that fragment is sent to the next stage of the GL if and only if the bit of the pattern (xw mod 32, yw mod 32) is 1.
Polygon stippling may be enabled or disabled with Enable or Disable using the constant POLYGON_STIPPLE. When disabled,
it is as if the stipple pattern were all ones.
pattern - a pointer to memory into which a 32 × 32 pattern is packedpublic static void glPolygonStipple(long pattern)
LineStipple, masking out certain fragments produced by rasterization so that they
are not sent to the next stage of the GL. This is the case regardless of the state of polygon antialiasing.
If xw and yw are the window coordinates of a rasterized polygon fragment, then that fragment is sent to the next stage of the GL if and only if the bit of the pattern (xw mod 32, yw mod 32) is 1.
Polygon stippling may be enabled or disabled with Enable or Disable using the constant POLYGON_STIPPLE. When disabled,
it is as if the stipple pattern were all ones.
pattern - a pointer to memory into which a 32 × 32 pattern is packedpublic static void glPushAttrib(int mask)
Bits set in mask that do not correspond to an attribute group are ignored. The special mask value ALL_ATTRIB_BITS may be used to push all
stackable server state.
A STACK_OVERFLOW error is generated if PushAttrib is called and the attribute stack depth is equal to the value of
MAX_ATTRIB_STACK_DEPTH.
mask - the state variables to push. One or more of:public static void glPushClientAttrib(int mask)
Bits set in mask that do not correspond to an attribute group are ignored. The special mask value CLIENT_ALL_ATTRIB_BITS may be used to push
all stackable client state.
A STACK_OVERFLOW error is generated if PushAttrib is called and the client attribute stack depth is equal to the value of
MAX_CLIENT_ATTRIB_STACK_DEPTH.
mask - the state variables to push. One or more of:CLIENT_VERTEX_ARRAY_BIT | CLIENT_PIXEL_STORE_BIT | CLIENT_ALL_ATTRIB_BITS |
public static void glPopAttrib()
PushAttrib. Those not saved remain unchanged.public static void glPopClientAttrib()
PushClientAttrib. Those not saved remain unchanged.public static void glPopMatrix()
public static void glPopName()
public static void nglPrioritizeTextures(int n,
long textures,
long priorities)
PrioritizeTexturesn - the number of texture object priorities to setpublic static void glPrioritizeTextures(java.nio.IntBuffer textures,
java.nio.FloatBuffer priorities)
textures - an array of texture object namespriorities - an array of texture object prioritiespublic static void glPushMatrix()
public static void glPushName(int name)
name to be pushed onto the selection name stack.name - the name to pushpublic static void glRasterPos2i(int x,
int y)
z is implicitly set to 0 and w implicitly set to 1.
The coordinates are treated as if they were specified in a Vertex command. If a vertex shader is active, this vertex shader is executed using the x, y, z, and w coordinates as the object coordinates of the vertex. Otherwise, the x, y, z, and w coordinates are transformed by the current model-view and projection matrices. These coordinates, along with current values, are used to generate primary and secondary colors and texture coordinates just as is done for a vertex. The colors and texture coordinates so produced replace the colors and texture coordinates stored in the current raster position's associated data.
x - the x raster coordinatey - the y raster coordinatepublic static void glRasterPos2s(short x,
short y)
RasterPos2i.x - the x raster coordinatey - the y raster coordinatepublic static void glRasterPos2f(float x,
float y)
RasterPos2i.x - the x raster coordinatey - the y raster coordinatepublic static void glRasterPos2d(double x,
double y)
RasterPos2i.x - the x raster coordinatey - the y raster coordinatepublic static void nglRasterPos2iv(long coords)
RasterPos2ivpublic static void glRasterPos2iv(java.nio.IntBuffer coords)
RasterPos2i.coords - the raster position bufferpublic static void nglRasterPos2sv(long coords)
RasterPos2svpublic static void glRasterPos2sv(java.nio.ShortBuffer coords)
RasterPos2s.coords - the raster position bufferpublic static void nglRasterPos2fv(long coords)
RasterPos2fvpublic static void glRasterPos2fv(java.nio.FloatBuffer coords)
RasterPos2f.coords - the raster position bufferpublic static void nglRasterPos2dv(long coords)
RasterPos2dvpublic static void glRasterPos2dv(java.nio.DoubleBuffer coords)
RasterPos2d.coords - the raster position bufferpublic static void glRasterPos3i(int x,
int y,
int z)
w is implicitly set to 1. See RasterPos2i for more details.x - the x raster coordinatey - the y raster coordinatez - the z raster coordinatepublic static void glRasterPos3s(short x,
short y,
short z)
RasterPos3i.x - the x raster coordinatey - the y raster coordinatez - the z raster coordinatepublic static void glRasterPos3f(float x,
float y,
float z)
RasterPos3i.x - the x raster coordinatey - the y raster coordinatez - the z raster coordinatepublic static void glRasterPos3d(double x,
double y,
double z)
RasterPos3i.x - the x raster coordinatey - the y raster coordinatez - the z raster coordinatepublic static void nglRasterPos3iv(long coords)
RasterPos3ivpublic static void glRasterPos3iv(java.nio.IntBuffer coords)
RasterPos3i.coords - the raster position bufferpublic static void nglRasterPos3sv(long coords)
RasterPos3svpublic static void glRasterPos3sv(java.nio.ShortBuffer coords)
RasterPos3s.coords - the raster position bufferpublic static void nglRasterPos3fv(long coords)
RasterPos3fvpublic static void glRasterPos3fv(java.nio.FloatBuffer coords)
RasterPos3f.coords - the raster position bufferpublic static void nglRasterPos3dv(long coords)
RasterPos3dvpublic static void glRasterPos3dv(java.nio.DoubleBuffer coords)
RasterPos3d.coords - the raster position bufferpublic static void glRasterPos4i(int x,
int y,
int z,
int w)
RasterPos2i for more details.x - the x raster coordinatey - the y raster coordinatez - the z raster coordinatew - the w raster coordinatepublic static void glRasterPos4s(short x,
short y,
short z,
short w)
RasterPos4i.x - the x raster coordinatey - the y raster coordinatez - the z raster coordinatew - the w raster coordinatepublic static void glRasterPos4f(float x,
float y,
float z,
float w)
x - the x raster coordinatey - the y raster coordinatez - the z raster coordinatew - the w raster coordinatepublic static void glRasterPos4d(double x,
double y,
double z,
double w)
RasterPos4i.x - the x raster coordinatey - the y raster coordinatez - the z raster coordinatew - the w raster coordinatepublic static void nglRasterPos4iv(long coords)
RasterPos4ivpublic static void glRasterPos4iv(java.nio.IntBuffer coords)
RasterPos4i.coords - the raster position bufferpublic static void nglRasterPos4sv(long coords)
RasterPos4svpublic static void glRasterPos4sv(java.nio.ShortBuffer coords)
RasterPos4s.coords - the raster position bufferpublic static void nglRasterPos4fv(long coords)
RasterPos4fvpublic static void glRasterPos4fv(java.nio.FloatBuffer coords)
RasterPos4f.coords - the raster position bufferpublic static void nglRasterPos4dv(long coords)
RasterPos4dvpublic static void glRasterPos4dv(java.nio.DoubleBuffer coords)
RasterPos4d.coords - the raster position bufferpublic static void glReadBuffer(int src)
Acceptable values for src depend on whether the GL is using the default framebuffer (i.e., DRAW_FRAMEBUFFER_BINDING is zero), or
a framebuffer object (i.e., DRAW_FRAMEBUFFER_BINDING is non-zero). In the initial state, the GL is bound to the default framebuffer.
src - the color buffer to read from. One of:NONE | FRONT_LEFT | FRONT_RIGHT | BACK_LEFT | BACK_RIGHT | FRONT | BACK | LEFT |
RIGHT | FRONT_AND_BACK | COLOR_ATTACHMENT0 | GL30.GL_COLOR_ATTACHMENT[1-15] |
public static void nglReadPixels(int x,
int y,
int width,
int height,
int format,
int type,
long pixels)
ReadPixelspublic static void glReadPixels(int x,
int y,
int width,
int height,
int format,
int type,
java.nio.ByteBuffer pixels)
(x + i, y + j) for 0 <= i < width
and 0 <= j < height; this pixel is said to be the ith pixel in the jth row. If any of these pixels lies outside of the
window allocated to the current GL context, or outside of the image attached to the currently bound read framebuffer object, then the values obtained
for those pixels are undefined. When READ_FRAMEBUFFER_BINDING is zero, values are also undefined for individual pixels that are not owned by
the current context. Otherwise, ReadPixels obtains values from the selected buffer, regardless of how those values were placed there.x - the left pixel coordinatey - the lower pixel coordinatewidth - the number of pixels to read in the x-dimensionheight - the number of pixels to read in the y-dimensionformat - the pixel 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 type. One of:pixels - a buffer in which to place the returned pixel datapublic static void glReadPixels(int x,
int y,
int width,
int height,
int format,
int type,
long pixels)
(x + i, y + j) for 0 <= i < width
and 0 <= j < height; this pixel is said to be the ith pixel in the jth row. If any of these pixels lies outside of the
window allocated to the current GL context, or outside of the image attached to the currently bound read framebuffer object, then the values obtained
for those pixels are undefined. When READ_FRAMEBUFFER_BINDING is zero, values are also undefined for individual pixels that are not owned by
the current context. Otherwise, ReadPixels obtains values from the selected buffer, regardless of how those values were placed there.x - the left pixel coordinatey - the lower pixel coordinatewidth - the number of pixels to read in the x-dimensionheight - the number of pixels to read in the y-dimensionformat - the pixel 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 type. One of:pixels - a buffer in which to place the returned pixel datapublic static void glReadPixels(int x,
int y,
int width,
int height,
int format,
int type,
java.nio.ShortBuffer pixels)
(x + i, y + j) for 0 <= i < width
and 0 <= j < height; this pixel is said to be the ith pixel in the jth row. If any of these pixels lies outside of the
window allocated to the current GL context, or outside of the image attached to the currently bound read framebuffer object, then the values obtained
for those pixels are undefined. When READ_FRAMEBUFFER_BINDING is zero, values are also undefined for individual pixels that are not owned by
the current context. Otherwise, ReadPixels obtains values from the selected buffer, regardless of how those values were placed there.x - the left pixel coordinatey - the lower pixel coordinatewidth - the number of pixels to read in the x-dimensionheight - the number of pixels to read in the y-dimensionformat - the pixel 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 type. One of:pixels - a buffer in which to place the returned pixel datapublic static void glReadPixels(int x,
int y,
int width,
int height,
int format,
int type,
java.nio.IntBuffer pixels)
(x + i, y + j) for 0 <= i < width
and 0 <= j < height; this pixel is said to be the ith pixel in the jth row. If any of these pixels lies outside of the
window allocated to the current GL context, or outside of the image attached to the currently bound read framebuffer object, then the values obtained
for those pixels are undefined. When READ_FRAMEBUFFER_BINDING is zero, values are also undefined for individual pixels that are not owned by
the current context. Otherwise, ReadPixels obtains values from the selected buffer, regardless of how those values were placed there.x - the left pixel coordinatey - the lower pixel coordinatewidth - the number of pixels to read in the x-dimensionheight - the number of pixels to read in the y-dimensionformat - the pixel 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 type. One of:pixels - a buffer in which to place the returned pixel datapublic static void glReadPixels(int x,
int y,
int width,
int height,
int format,
int type,
java.nio.FloatBuffer pixels)
(x + i, y + j) for 0 <= i < width
and 0 <= j < height; this pixel is said to be the ith pixel in the jth row. If any of these pixels lies outside of the
window allocated to the current GL context, or outside of the image attached to the currently bound read framebuffer object, then the values obtained
for those pixels are undefined. When READ_FRAMEBUFFER_BINDING is zero, values are also undefined for individual pixels that are not owned by
the current context. Otherwise, ReadPixels obtains values from the selected buffer, regardless of how those values were placed there.x - the left pixel coordinatey - the lower pixel coordinatewidth - the number of pixels to read in the x-dimensionheight - the number of pixels to read in the y-dimensionformat - the pixel 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 type. One of:pixels - a buffer in which to place the returned pixel datapublic static void glRecti(int x1,
int y1,
int x2,
int y2)
Rect(x1, y1, x2, y2);
is exactly the same as the following sequence of commands:
Begin(POLYGON);
Vertex2(x1, y1);
Vertex2(x2, y1);
Vertex2(x2, y2);
Vertex2(x1, y2);
End();
The appropriate Vertex2 command would be invoked depending on which of the Rect commands is issued.
x1 - the x coordinate of the first corner vertexy1 - the y coordinate of the first corner vertexx2 - the x coordinate of the second corner vertexy2 - the y coordinate of the second corner vertexpublic static void glRects(short x1,
short y1,
short x2,
short y2)
Recti.x1 - the x coordinate of the first corner vertexy1 - the y coordinate of the first corner vertexx2 - the x coordinate of the second corner vertexy2 - the y coordinate of the second corner vertexpublic static void glRectf(float x1,
float y1,
float x2,
float y2)
Recti.x1 - the x coordinate of the first corner vertexy1 - the y coordinate of the first corner vertexx2 - the x coordinate of the second corner vertexy2 - the y coordinate of the second corner vertexpublic static void glRectd(double x1,
double y1,
double x2,
double y2)
Recti.x1 - the x coordinate of the first corner vertexy1 - the y coordinate of the first corner vertexx2 - the x coordinate of the second corner vertexy2 - the y coordinate of the second corner vertexpublic static void nglRectiv(long v1,
long v2)
Rectivpublic static void glRectiv(java.nio.IntBuffer v1,
java.nio.IntBuffer v2)
Recti.v1 - the first vertex bufferv2 - the second vertex bufferpublic static void nglRectsv(long v1,
long v2)
Rectsvpublic static void glRectsv(java.nio.ShortBuffer v1,
java.nio.ShortBuffer v2)
Rects.v1 - the first vertex bufferv2 - the second vertex bufferpublic static void nglRectfv(long v1,
long v2)
Rectfvpublic static void glRectfv(java.nio.FloatBuffer v1,
java.nio.FloatBuffer v2)
Rectf.v1 - the first vertex bufferv2 - the second vertex bufferpublic static void nglRectdv(long v1,
long v2)
Rectdvpublic static void glRectdv(java.nio.DoubleBuffer v1,
java.nio.DoubleBuffer v2)
Rectd.v1 - the first vertex bufferv2 - the second vertex bufferpublic static int glRenderMode(int mode)
RENDER.mode - the render mode. One of:RENDER | SELECT | FEEDBACK |
public static void glRotatef(float angle,
float x,
float y,
float z)
angle gives an angle of rotation in degrees; the coordinates of a vector v are given by v = (x y z)T. The computed matrix
is a counter-clockwise rotation about the line through the origin with the specified axis when that axis is pointing up (i.e. the right-hand rule
determines the sense of the rotation angle). The matrix is thus
| R | 0 | ||
| 0 | |||
| 0 | |||
| 0 | 0 | 0 | 1 |
Let u = v / ||v|| = (x' y' z')T. If S =
| 0 | -z' | y' |
| z' | 0 | -x' |
| -y' | x' | 0 |
then R = uuT + cos(angle)(I - uuT) + sin(angle)S
angle - the angle of rotation in degreesx - the x coordinate of the rotation vectory - the y coordinate of the rotation vectorz - the z coordinate of the rotation vectorpublic static void glRotated(double angle,
double x,
double y,
double z)
Rotatef.angle - the angle of rotation in degreesx - the x coordinate of the rotation vectory - the y coordinate of the rotation vectorz - the z coordinate of the rotation vectorpublic static void glScalef(float x,
float y,
float z)
Calling this function is equivalent to calling MultMatrixf with the following matrix:
| x | 0 | 0 | 0 |
| 0 | y | 0 | 0 |
| 0 | 0 | z | 0 |
| 0 | 0 | 0 | 1 |
x - the x-axis scaling factory - the y-axis scaling factorz - the z-axis scaling factorpublic static void glScaled(double x,
double y,
double z)
Scalef.x - the x-axis scaling factory - the y-axis scaling factorz - the z-axis scaling factorpublic static void glScissor(int x,
int y,
int width,
int height)
Enable or Disable
with the symbolic constant SCISSOR_TEST. When disabled, it is as if the scissor test always passes. When enabled, if
left ≤ xw < left + width and bottom ≤ yw < bottom + height for the scissor rectangle, then the scissor
test passes. Otherwise, the test fails and the fragment is discarded.x - the left scissor rectangle coordinatey - the bottom scissor rectangle coordinatewidth - the scissor rectangle widthheight - the scissor rectangle heightpublic static void nglSelectBuffer(int size,
long buffer)
SelectBuffersize - the maximum number of values that can be stored in bufferpublic static void glSelectBuffer(java.nio.IntBuffer buffer)
buffer - an array of unsigned integers to be potentially filled namespublic static void glShadeModel(int mode)
SMOOTH.
If mode is SMOOTH, vertex colors are treated individually. If mode is FLAT, flatshading is enabled and colors are taken from the
provoking vertex of the primitive. The colors selected are those derived from current values, generated by lighting, or generated by vertex shading, if
lighting is disabled, enabled, or a vertex shader is in use, respectively.
mode - the shade mode. One of:SMOOTH | FLAT |
public static void glStencilFunc(int func,
int ref,
int mask)
ref is an integer reference value that is used in the unsigned stencil comparison. Stencil comparison operations and queries of ref
clamp its value to the range [0, 2s – 1], where s is the number of bits in the stencil buffer attached to the draw framebuffer. The s
least significant bits of mask are bitwise ANDed with both the reference and the stored stencil value, and the resulting masked values are those that
participate in the comparison controlled by func.
public static void glStencilMask(int mask)
The least significant s bits of mask, where s is the number of bits in the stencil buffer, specify an integer mask. Where a 1 appears in this
mask, the corresponding bit in the stencil buffer is written; where a 0 appears, the bit is not written.
mask - the stencil maskpublic static void glStencilOp(int sfail,
int dpfail,
int dppass)
The supported actions are KEEP, ZERO, REPLACE, INCR, DECR, INVERT,
INCR_WRAP and DECR_WRAP. These correspond to keeping the current value, setting to zero, replacing with the reference value,
incrementing with saturation, decrementing with saturation, bitwise inverting it, incrementing without saturation, and decrementing without saturation.
For purposes of increment and decrement, the stencil bits are considered as an unsigned integer. Incrementing or decrementing with saturation clamps the stencil value at 0 and the maximum representable value. Incrementing or decrementing without saturation will wrap such that incrementing the maximum representable value results in 0, and decrementing 0 results in the maximum representable value.
sfail - the action to take if the stencil test failsdpfail - the action to take if the depth buffer test failsdppass - the action to take if the depth buffer test passespublic static void glTexCoord1f(float s)
t and r are implicitly set to 0 and q to 1.s - the s component of the current texture coordinatespublic static void glTexCoord1s(short s)
TexCoord1f.s - the s component of the current texture coordinatespublic static void glTexCoord1i(int s)
TexCoord1f.s - the s component of the current texture coordinatespublic static void glTexCoord1d(double s)
TexCoord1f.s - the s component of the current texture coordinatespublic static void nglTexCoord1fv(long v)
TexCoord1fvpublic static void glTexCoord1fv(java.nio.FloatBuffer v)
TexCoord1f.v - the texture coordinate bufferpublic static void nglTexCoord1sv(long v)
TexCoord1svpublic static void glTexCoord1sv(java.nio.ShortBuffer v)
TexCoord1s.v - the texture coordinate bufferpublic static void nglTexCoord1iv(long v)
TexCoord1ivpublic static void glTexCoord1iv(java.nio.IntBuffer v)
TexCoord1i.v - the texture coordinate bufferpublic static void nglTexCoord1dv(long v)
TexCoord1dvpublic static void glTexCoord1dv(java.nio.DoubleBuffer v)
TexCoord1d.v - the texture coordinate bufferpublic static void glTexCoord2f(float s,
float t)
r is implicitly set to 0 and q to 1.s - the s component of the current texture coordinatest - the t component of the current texture coordinatespublic static void glTexCoord2s(short s,
short t)
TexCoord2f.s - the s component of the current texture coordinatest - the t component of the current texture coordinatespublic static void glTexCoord2i(int s,
int t)
TexCoord2f.s - the s component of the current texture coordinatest - the t component of the current texture coordinatespublic static void glTexCoord2d(double s,
double t)
TexCoord2f.s - the s component of the current texture coordinatest - the t component of the current texture coordinatespublic static void nglTexCoord2fv(long v)
TexCoord2fvpublic static void glTexCoord2fv(java.nio.FloatBuffer v)
TexCoord2f.v - the texture coordinate bufferpublic static void nglTexCoord2sv(long v)
TexCoord2svpublic static void glTexCoord2sv(java.nio.ShortBuffer v)
TexCoord2s.v - the texture coordinate bufferpublic static void nglTexCoord2iv(long v)
TexCoord2ivpublic static void glTexCoord2iv(java.nio.IntBuffer v)
TexCoord2i.v - the texture coordinate bufferpublic static void nglTexCoord2dv(long v)
TexCoord2dvpublic static void glTexCoord2dv(java.nio.DoubleBuffer v)
TexCoord2d.v - the texture coordinate bufferpublic static void glTexCoord3f(float s,
float t,
float r)
q is implicitly set to 1.s - the s component of the current texture coordinatest - the t component of the current texture coordinatesr - the r component of the current texture coordinatespublic static void glTexCoord3s(short s,
short t,
short r)
TexCoord3f.s - the s component of the current texture coordinatest - the t component of the current texture coordinatesr - the r component of the current texture coordinatespublic static void glTexCoord3i(int s,
int t,
int r)
TexCoord3f.s - the s component of the current texture coordinatest - the t component of the current texture coordinatesr - the r component of the current texture coordinatespublic static void glTexCoord3d(double s,
double t,
double r)
TexCoord3f.s - the s component of the current texture coordinatest - the t component of the current texture coordinatesr - the r component of the current texture coordinatespublic static void nglTexCoord3fv(long v)
TexCoord3fvpublic static void glTexCoord3fv(java.nio.FloatBuffer v)
TexCoord3f.v - the texture coordinate bufferpublic static void nglTexCoord3sv(long v)
TexCoord3svpublic static void glTexCoord3sv(java.nio.ShortBuffer v)
TexCoord3s.v - the texture coordinate bufferpublic static void nglTexCoord3iv(long v)
TexCoord3ivpublic static void glTexCoord3iv(java.nio.IntBuffer v)
TexCoord3i.v - the texture coordinate bufferpublic static void nglTexCoord3dv(long v)
TexCoord3dvpublic static void glTexCoord3dv(java.nio.DoubleBuffer v)
TexCoord3d.v - the texture coordinate bufferpublic static void glTexCoord4f(float s,
float t,
float r,
float q)
s - the s component of the current texture coordinatest - the t component of the current texture coordinatesr - the r component of the current texture coordinatesq - the q component of the current texture coordinatespublic static void glTexCoord4s(short s,
short t,
short r,
short q)
TexCoord4f.s - the s component of the current texture coordinatest - the t component of the current texture coordinatesr - the r component of the current texture coordinatesq - the q component of the current texture coordinatespublic static void glTexCoord4i(int s,
int t,
int r,
int q)
TexCoord4f.s - the s component of the current texture coordinatest - the t component of the current texture coordinatesr - the r component of the current texture coordinatesq - the q component of the current texture coordinatespublic static void glTexCoord4d(double s,
double t,
double r,
double q)
TexCoord4f.s - the s component of the current texture coordinatest - the t component of the current texture coordinatesr - the r component of the current texture coordinatesq - the q component of the current texture coordinatespublic static void nglTexCoord4fv(long v)
TexCoord4fvpublic static void glTexCoord4fv(java.nio.FloatBuffer v)
TexCoord4f.v - the texture coordinate bufferpublic static void nglTexCoord4sv(long v)
TexCoord4svpublic static void glTexCoord4sv(java.nio.ShortBuffer v)
TexCoord4s.v - the texture coordinate bufferpublic static void nglTexCoord4iv(long v)
TexCoord4ivpublic static void glTexCoord4iv(java.nio.IntBuffer v)
TexCoord4i.v - the texture coordinate bufferpublic static void nglTexCoord4dv(long v)
TexCoord4dvpublic static void glTexCoord4dv(java.nio.DoubleBuffer v)
TexCoord4d.v - the texture coordinate bufferpublic static void nglTexCoordPointer(int size,
int type,
int stride,
long pointer)
TexCoordPointerpublic static void glTexCoordPointer(int size,
int type,
int stride,
java.nio.ByteBuffer pointer)
size - the number of values per vertex that are stored in the array. One of:| 1 | 2 | 3 | 4 |
type - the data type of the values stored in the array. One of:SHORT | INT | HALF_FLOAT | FLOAT | DOUBLE | UNSIGNED_INT_2_10_10_10_REV | INT_2_10_10_10_REV |
stride - the vertex stride in bytes. If specified as zero, then array elements are stored sequentiallypointer - the texture coordinate array datapublic static void glTexCoordPointer(int size,
int type,
int stride,
long pointer)
size - the number of values per vertex that are stored in the array. One of:| 1 | 2 | 3 | 4 |
type - the data type of the values stored in the array. One of:SHORT | INT | HALF_FLOAT | FLOAT | DOUBLE | UNSIGNED_INT_2_10_10_10_REV | INT_2_10_10_10_REV |
stride - the vertex stride in bytes. If specified as zero, then array elements are stored sequentiallypointer - the texture coordinate array datapublic static void glTexCoordPointer(int size,
int type,
int stride,
java.nio.ShortBuffer pointer)
size - the number of values per vertex that are stored in the array. One of:| 1 | 2 | 3 | 4 |
type - the data type of the values stored in the array. One of:SHORT | INT | HALF_FLOAT | FLOAT | DOUBLE | UNSIGNED_INT_2_10_10_10_REV | INT_2_10_10_10_REV |
stride - the vertex stride in bytes. If specified as zero, then array elements are stored sequentiallypointer - the texture coordinate array datapublic static void glTexCoordPointer(int size,
int type,
int stride,
java.nio.IntBuffer pointer)
size - the number of values per vertex that are stored in the array. One of:| 1 | 2 | 3 | 4 |
type - the data type of the values stored in the array. One of:SHORT | INT | HALF_FLOAT | FLOAT | DOUBLE | UNSIGNED_INT_2_10_10_10_REV | INT_2_10_10_10_REV |
stride - the vertex stride in bytes. If specified as zero, then array elements are stored sequentiallypointer - the texture coordinate array datapublic static void glTexCoordPointer(int size,
int type,
int stride,
java.nio.FloatBuffer pointer)
size - the number of values per vertex that are stored in the array. One of:| 1 | 2 | 3 | 4 |
type - the data type of the values stored in the array. One of:SHORT | INT | HALF_FLOAT | FLOAT | DOUBLE | UNSIGNED_INT_2_10_10_10_REV | INT_2_10_10_10_REV |
stride - the vertex stride in bytes. If specified as zero, then array elements are stored sequentiallypointer - the texture coordinate array datapublic static void glTexEnvi(int target,
int pname,
int param)
target - the texture environment target. One of:TEXTURE_ENV | TEXTURE_FILTER_CONTROL | POINT_SPRITE |
pname - the parameter to set. One of:param - the parameter value. Scalar value or one of:REPLACE | MODULATE | DECAL | BLEND | ADD | COMBINE | ADD_SIGNED | INTERPOLATE |
SUBTRACT | DOT3_RGB | DOT3_RGBA | TEXTURE | TEXTURE0 | GL13.GL_TEXTURE[1-31] | CONSTANT | PRIMARY_COLOR |
PREVIOUS |
public static void nglTexEnviv(int target,
int pname,
long params)
TexEnvivpublic static void glTexEnviv(int target,
int pname,
java.nio.IntBuffer params)
TexEnvi.target - the texture environment target. Must be:TEXTURE_ENV |
pname - the parameter to set. Must be:TEXTURE_ENV_COLOR |
params - the parameter valuepublic static void glTexEnvf(int target,
int pname,
float param)
TexEnvi.target - the texture environment targetpname - the parameter to setparam - the parameter valuepublic static void nglTexEnvfv(int target,
int pname,
long params)
TexEnvfvpublic static void glTexEnvfv(int target,
int pname,
java.nio.FloatBuffer params)
TexEnvf.target - the texture environment target. Must be:TEXTURE_ENV |
pname - the parameter to set. Must be:TEXTURE_ENV_COLOR |
params - the parameter valuepublic static void glTexGeni(int coord,
int pname,
int param)
A texture coordinate generation function is enabled or disabled using Enable and Disable with an argument of
TEXTURE_GEN_S, TEXTURE_GEN_T, TEXTURE_GEN_R, or TEXTURE_GEN_Q (each indicates the corresponding texture
coordinate). When enabled, the specified texture coordinate is computed according to the current EYE_LINEAR, OBJECT_LINEAR or
SPHERE_MAP specification, depending on the current setting of TEXTURE_GEN_MODE for that coordinate. When disabled, subsequent
vertices will take the indicated texture coordinate from the current texture coordinates.
The initial state has the texture generation function disabled for all texture coordinates. Initially all texture generation modes are EYE_LINEAR.
coord - the coordinate for which to set the parameter. One of:S | T | R | Q |
pname - the parameter to set. Must be:TEXTURE_GEN_MODE |
param - the parameter value. One of:OBJECT_LINEAR | EYE_LINEAR | SPHERE_MAP | REFLECTION_MAP | NORMAL_MAP |
public static void nglTexGeniv(int coord,
int pname,
long params)
TexGenivpublic static void glTexGeniv(int coord,
int pname,
java.nio.IntBuffer params)
TexGeni.coord - the coordinate for which to set the parameterpname - the parameter to set. One of:OBJECT_PLANE | EYE_PLANE |
params - the parameter valuepublic static void glTexGenf(int coord,
int pname,
float param)
TexGeni.coord - the coordinate for which to set the parameterpname - the parameter to setparam - the parameter valuepublic static void nglTexGenfv(int coord,
int pname,
long params)
TexGenfvpublic static void glTexGenfv(int coord,
int pname,
java.nio.FloatBuffer params)
TexGenf.coord - the coordinate for which to set the parameterpname - the parameter to set. One of:OBJECT_PLANE | EYE_PLANE |
params - the parameter valuepublic static void glTexGend(int coord,
int pname,
double param)
TexGeni.coord - the coordinate for which to set the parameterpname - the parameter to setparam - the parameter valuepublic static void nglTexGendv(int coord,
int pname,
long params)
TexGendvpublic static void glTexGendv(int coord,
int pname,
java.nio.DoubleBuffer params)
TexGend.coord - the coordinate for which to set the parameterpname - the parameter to setparams - the parameter valuepublic static void nglTexImage1D(int target,
int level,
int internalformat,
int width,
int border,
int format,
int type,
long pixels)
TexImage1Dpublic static void glTexImage1D(int target,
int level,
int internalformat,
int width,
int border,
int format,
int type,
@Nullable
java.nio.ByteBuffer pixels)
TexImage2D}.target - the texture target. One of:TEXTURE_1D | PROXY_TEXTURE_1D |
level - the level-of-detail numberinternalformat - the texture internal formatwidth - the texture widthborder - the texture border widthformat - the texel data formattype - the texel data typepixels - the texel datapublic static void glTexImage1D(int target,
int level,
int internalformat,
int width,
int border,
int format,
int type,
@Nullable
long pixels)
TexImage2D}.target - the texture target. One of:TEXTURE_1D | PROXY_TEXTURE_1D |
level - the level-of-detail numberinternalformat - the texture internal formatwidth - the texture widthborder - the texture border widthformat - the texel data formattype - the texel data typepixels - the texel datapublic static void glTexImage1D(int target,
int level,
int internalformat,
int width,
int border,
int format,
int type,
@Nullable
java.nio.ShortBuffer pixels)
TexImage2D}.target - the texture target. One of:TEXTURE_1D | PROXY_TEXTURE_1D |
level - the level-of-detail numberinternalformat - the texture internal formatwidth - the texture widthborder - the texture border widthformat - the texel data formattype - the texel data typepixels - the texel datapublic static void glTexImage1D(int target,
int level,
int internalformat,
int width,
int border,
int format,
int type,
@Nullable
java.nio.IntBuffer pixels)
TexImage2D}.target - the texture target. One of:TEXTURE_1D | PROXY_TEXTURE_1D |
level - the level-of-detail numberinternalformat - the texture internal formatwidth - the texture widthborder - the texture border widthformat - the texel data formattype - the texel data typepixels - the texel datapublic static void glTexImage1D(int target,
int level,
int internalformat,
int width,
int border,
int format,
int type,
@Nullable
java.nio.FloatBuffer pixels)
TexImage2D}.target - the texture target. One of:TEXTURE_1D | PROXY_TEXTURE_1D |
level - the level-of-detail numberinternalformat - the texture internal formatwidth - the texture widthborder - the texture border widthformat - the texel data formattype - the texel data typepixels - the texel datapublic static void glTexImage1D(int target,
int level,
int internalformat,
int width,
int border,
int format,
int type,
@Nullable
java.nio.DoubleBuffer pixels)
TexImage2D}.target - the texture target. One of:TEXTURE_1D | PROXY_TEXTURE_1D |
level - the level-of-detail numberinternalformat - the texture internal formatwidth - the texture widthborder - the texture border widthformat - the texel data formattype - the texel data typepixels - the texel datapublic static void nglTexImage2D(int target,
int level,
int internalformat,
int width,
int height,
int border,
int format,
int type,
long pixels)
TexImage2Dpublic static void glTexImage2D(int target,
int level,
int internalformat,
int width,
int height,
int border,
int format,
int type,
@Nullable
java.nio.ByteBuffer pixels)
target - the texture target. One of:TEXTURE_2D | TEXTURE_1D_ARRAY | TEXTURE_RECTANGLE | TEXTURE_CUBE_MAP |
PROXY_TEXTURE_2D | PROXY_TEXTURE_1D_ARRAY | PROXY_TEXTURE_RECTANGLE | PROXY_TEXTURE_CUBE_MAP |
level - the level-of-detail numberinternalformat - the texture internal format. One of:width - the texture widthheight - the texture heightborder - 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 datapublic static void glTexImage2D(int target,
int level,
int internalformat,
int width,
int height,
int border,
int format,
int type,
@Nullable
long pixels)
target - the texture target. One of:TEXTURE_2D | TEXTURE_1D_ARRAY | TEXTURE_RECTANGLE | TEXTURE_CUBE_MAP |
PROXY_TEXTURE_2D | PROXY_TEXTURE_1D_ARRAY | PROXY_TEXTURE_RECTANGLE | PROXY_TEXTURE_CUBE_MAP |
level - the level-of-detail numberinternalformat - the texture internal format. One of:width - the texture widthheight - the texture heightborder - 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 datapublic static void glTexImage2D(int target,
int level,
int internalformat,
int width,
int height,
int border,
int format,
int type,
@Nullable
java.nio.ShortBuffer pixels)
target - the texture target. One of:TEXTURE_2D | TEXTURE_1D_ARRAY | TEXTURE_RECTANGLE | TEXTURE_CUBE_MAP |
PROXY_TEXTURE_2D | PROXY_TEXTURE_1D_ARRAY | PROXY_TEXTURE_RECTANGLE | PROXY_TEXTURE_CUBE_MAP |
level - the level-of-detail numberinternalformat - the texture internal format. One of:width - the texture widthheight - the texture heightborder - 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 datapublic static void glTexImage2D(int target,
int level,
int internalformat,
int width,
int height,
int border,
int format,
int type,
@Nullable
java.nio.IntBuffer pixels)
target - the texture target. One of:TEXTURE_2D | TEXTURE_1D_ARRAY | TEXTURE_RECTANGLE | TEXTURE_CUBE_MAP |
PROXY_TEXTURE_2D | PROXY_TEXTURE_1D_ARRAY | PROXY_TEXTURE_RECTANGLE | PROXY_TEXTURE_CUBE_MAP |
level - the level-of-detail numberinternalformat - the texture internal format. One of:width - the texture widthheight - the texture heightborder - 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 datapublic static void glTexImage2D(int target,
int level,
int internalformat,
int width,
int height,
int border,
int format,
int type,
@Nullable
java.nio.FloatBuffer pixels)
target - the texture target. One of:TEXTURE_2D | TEXTURE_1D_ARRAY | TEXTURE_RECTANGLE | TEXTURE_CUBE_MAP |
PROXY_TEXTURE_2D | PROXY_TEXTURE_1D_ARRAY | PROXY_TEXTURE_RECTANGLE | PROXY_TEXTURE_CUBE_MAP |
level - the level-of-detail numberinternalformat - the texture internal format. One of:width - the texture widthheight - the texture heightborder - 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 datapublic static void glTexImage2D(int target,
int level,
int internalformat,
int width,
int height,
int border,
int format,
int type,
@Nullable
java.nio.DoubleBuffer pixels)
target - the texture target. One of:TEXTURE_2D | TEXTURE_1D_ARRAY | TEXTURE_RECTANGLE | TEXTURE_CUBE_MAP |
PROXY_TEXTURE_2D | PROXY_TEXTURE_1D_ARRAY | PROXY_TEXTURE_RECTANGLE | PROXY_TEXTURE_CUBE_MAP |
level - the level-of-detail numberinternalformat - the texture internal format. One of:width - the texture widthheight - the texture heightborder - 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 datapublic static void glCopyTexImage1D(int target,
int level,
int internalFormat,
int x,
int y,
int width,
int border)
TexImage1D, except that the image data are taken from the framebuffer rather
than from client memory. For the purposes of decoding the texture image, CopyTexImage1D is equivalent to calling CopyTexImage2D
with corresponding arguments and height of 1, except that the height of the image is always 1, regardless of the value of border. level, internalformat,
and border are specified using the same values, with the same meanings, as the corresponding arguments of TexImage1D. The constraints on
width and border are exactly those of the corresponding arguments of TexImage1D.target - the texture target. Must be:TEXTURE_1D |
level - the level-of-detail numberinternalFormat - the texture internal format. See TexImage2D for a list of supported formats.x - the left framebuffer pixel coordinatey - the lower framebuffer pixel coordinatewidth - the texture widthborder - the texture border widthpublic static void glCopyTexImage2D(int target,
int level,
int internalFormat,
int x,
int y,
int width,
int height,
int border)
TexImage2D, except that the image data are taken from the framebuffer rather
than from client memory.
x, y, width, and height correspond precisely to the corresponding arguments to ReadPixels; they specify the
image's width and height, and the lower left (x, y) coordinates of the framebuffer region to be copied.
The image is taken from the framebuffer exactly as if these arguments were passed to CopyPixels with argument type set to COLOR,
DEPTH, or DEPTH_STENCIL, depending on internalformat. RGBA data is taken from the current color buffer, while depth
component and stencil index data are taken from the depth and stencil buffers, respectively.
Subsequent processing is identical to that described for TexImage2D, beginning with clamping of the R, G, B, A, or depth values, and masking
of the stencil index values from the resulting pixel groups. Parameters level, internalformat, and border are specified using
the same values, with the same meanings, as the corresponding arguments of TexImage2D.
The constraints on width, height, and border are exactly those for the corresponding arguments of TexImage2D.
target - the texture target. One of:TEXTURE_2D | TEXTURE_1D_ARRAY | TEXTURE_RECTANGLE | TEXTURE_CUBE_MAP |
level - the level-of-detail numberinternalFormat - the texture internal format. See TexImage2D for a list of supported formats.x - the left framebuffer pixel coordinatey - the lower framebuffer pixel coordinatewidth - the texture widthheight - the texture heightborder - the texture border widthpublic static void glCopyTexSubImage1D(int target,
int level,
int xoffset,
int x,
int y,
int width)
internalformat, width or border
parameters of the specified texel array, nor is any change made to texel values outside the specified subregion. See CopyTexImage1D for more
details.target - the texture target. Must be:TEXTURE_1D |
level - the level-of-detail numberxoffset - the left texel coordinate of the texture subregion to updatex - the left framebuffer pixel coordinatey - the lower framebuffer pixel coordinatewidth - the texture subregion widthpublic static void glCopyTexSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int x,
int y,
int width,
int height)
internalformat, width, height,
or border parameters of the specified texel array, nor is any change made to texel values outside the specified subregion. See
CopyTexImage2D for more details.target - the texture target. One of:TEXTURE_2D | TEXTURE_1D_ARRAY | TEXTURE_RECTANGLE | TEXTURE_CUBE_MAP |
level - the level-of-detail numberxoffset - the left texel coordinate of the texture subregion to updateyoffset - the lower texel coordinate of the texture subregion to updatex - the left framebuffer pixel coordinatey - the lower framebuffer pixel coordinatewidth - the texture subregion widthheight - the texture subregion heightpublic static void glTexParameteri(int target,
int pname,
int param)
target - the texture target. One of:TEXTURE_1D | TEXTURE_2D | TEXTURE_3D | TEXTURE_1D_ARRAY |
TEXTURE_2D_ARRAY | TEXTURE_RECTANGLE | TEXTURE_CUBE_MAP | TEXTURE_CUBE_MAP_ARRAY |
TEXTURE_2D_MULTISAMPLE | TEXTURE_2D_MULTISAMPLE_ARRAY |
pname - the parameter to set. One of:param - the parameter valuepublic static void nglTexParameteriv(int target,
int pname,
long params)
TexParameterivpublic static void glTexParameteriv(int target,
int pname,
java.nio.IntBuffer params)
TexParameteri.target - the texture targetpname - the parameter to setparams - the parameter valuepublic static void glTexParameterf(int target,
int pname,
float param)
TexParameteri.target - the texture targetpname - the parameter to setparam - the parameter valuepublic static void nglTexParameterfv(int target,
int pname,
long params)
TexParameterfvpublic static void glTexParameterfv(int target,
int pname,
java.nio.FloatBuffer params)
TexParameterf.target - the texture targetpname - the parameter to setparams - the parameter valuepublic static void nglTexSubImage1D(int target,
int level,
int xoffset,
int width,
int format,
int type,
long pixels)
TexSubImage1Dpublic static void glTexSubImage1D(int target,
int level,
int xoffset,
int width,
int format,
int type,
java.nio.ByteBuffer pixels)
TexSubImage2D.target - the texture target. Must be:TEXTURE_1D |
level - the level-of-detail-numberxoffset - the left coordinate of the texel subregionwidth - the subregion widthformat - 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 datapublic static void glTexSubImage1D(int target,
int level,
int xoffset,
int width,
int format,
int type,
long pixels)
TexSubImage2D.target - the texture target. Must be:TEXTURE_1D |
level - the level-of-detail-numberxoffset - the left coordinate of the texel subregionwidth - the subregion widthformat - 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 datapublic static void glTexSubImage1D(int target,
int level,
int xoffset,
int width,
int format,
int type,
java.nio.ShortBuffer pixels)
TexSubImage2D.target - the texture target. Must be:TEXTURE_1D |
level - the level-of-detail-numberxoffset - the left coordinate of the texel subregionwidth - the subregion widthformat - 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 datapublic static void glTexSubImage1D(int target,
int level,
int xoffset,
int width,
int format,
int type,
java.nio.IntBuffer pixels)
TexSubImage2D.target - the texture target. Must be:TEXTURE_1D |
level - the level-of-detail-numberxoffset - the left coordinate of the texel subregionwidth - the subregion widthformat - 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 datapublic static void glTexSubImage1D(int target,
int level,
int xoffset,
int width,
int format,
int type,
java.nio.FloatBuffer pixels)
TexSubImage2D.target - the texture target. Must be:TEXTURE_1D |
level - the level-of-detail-numberxoffset - the left coordinate of the texel subregionwidth - the subregion widthformat - 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 datapublic static void glTexSubImage1D(int target,
int level,
int xoffset,
int width,
int format,
int type,
java.nio.DoubleBuffer pixels)
TexSubImage2D.target - the texture target. Must be:TEXTURE_1D |
level - the level-of-detail-numberxoffset - the left coordinate of the texel subregionwidth - the subregion widthformat - 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 datapublic static void nglTexSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int width,
int height,
int format,
int type,
long pixels)
TexSubImage2Dpublic static void glTexSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int width,
int height,
int format,
int type,
java.nio.ByteBuffer pixels)
target - the texture target. One of:TEXTURE_2D | TEXTURE_1D_ARRAY | TEXTURE_RECTANGLE | TEXTURE_CUBE_MAP |
level - the level-of-detail-numberxoffset - the left coordinate of the texel subregionyoffset - the bottom coordinate of the texel subregionwidth - the subregion widthheight - the subregion heightformat - 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 datapublic static void glTexSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int width,
int height,
int format,
int type,
long pixels)
target - the texture target. One of:TEXTURE_2D | TEXTURE_1D_ARRAY | TEXTURE_RECTANGLE | TEXTURE_CUBE_MAP |
level - the level-of-detail-numberxoffset - the left coordinate of the texel subregionyoffset - the bottom coordinate of the texel subregionwidth - the subregion widthheight - the subregion heightformat - 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 datapublic static void glTexSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int width,
int height,
int format,
int type,
java.nio.ShortBuffer pixels)
target - the texture target. One of:TEXTURE_2D | TEXTURE_1D_ARRAY | TEXTURE_RECTANGLE | TEXTURE_CUBE_MAP |
level - the level-of-detail-numberxoffset - the left coordinate of the texel subregionyoffset - the bottom coordinate of the texel subregionwidth - the subregion widthheight - the subregion heightformat - 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 datapublic static void glTexSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int width,
int height,
int format,
int type,
java.nio.IntBuffer pixels)
target - the texture target. One of:TEXTURE_2D | TEXTURE_1D_ARRAY | TEXTURE_RECTANGLE | TEXTURE_CUBE_MAP |
level - the level-of-detail-numberxoffset - the left coordinate of the texel subregionyoffset - the bottom coordinate of the texel subregionwidth - the subregion widthheight - the subregion heightformat - 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 datapublic static void glTexSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int width,
int height,
int format,
int type,
java.nio.FloatBuffer pixels)
target - the texture target. One of:TEXTURE_2D | TEXTURE_1D_ARRAY | TEXTURE_RECTANGLE | TEXTURE_CUBE_MAP |
level - the level-of-detail-numberxoffset - the left coordinate of the texel subregionyoffset - the bottom coordinate of the texel subregionwidth - the subregion widthheight - the subregion heightformat - 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 datapublic static void glTexSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int width,
int height,
int format,
int type,
java.nio.DoubleBuffer pixels)
target - the texture target. One of:TEXTURE_2D | TEXTURE_1D_ARRAY | TEXTURE_RECTANGLE | TEXTURE_CUBE_MAP |
level - the level-of-detail-numberxoffset - the left coordinate of the texel subregionyoffset - the bottom coordinate of the texel subregionwidth - the subregion widthheight - the subregion heightformat - 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 datapublic static void glTranslatef(float x,
float y,
float z)
Calling this function is equivalent to calling MultMatrixf with the following matrix:
| 1 | 0 | 0 | x |
| 0 | 1 | 0 | y |
| 0 | 0 | 1 | z |
| 0 | 0 | 0 | 1 |
x - the x-axis translationy - the y-axis translationz - the z-axis translationpublic static void glTranslated(double x,
double y,
double z)
Translatef.x - the x-axis translationy - the y-axis translationz - the z-axis translationpublic static void glVertex2f(float x,
float y)
Begin and End by giving its coordinates in two dimensions. The z coordinate is implicitly set
to zero and the w coordinate to one.x - the vertex x coordinatey - the vertex y coordinatepublic static void glVertex2s(short x,
short y)
Vertex2f.x - the vertex x coordinatey - the vertex y coordinatepublic static void glVertex2i(int x,
int y)
Vertex2f.x - the vertex x coordinatey - the vertex y coordinatepublic static void glVertex2d(double x,
double y)
Vertex2f.x - the vertex x coordinatey - the vertex y coordinatepublic static void nglVertex2fv(long coords)
Vertex2fvpublic static void glVertex2fv(java.nio.FloatBuffer coords)
Vertex2f.coords - the vertex bufferpublic static void nglVertex2sv(long coords)
Vertex2svpublic static void glVertex2sv(java.nio.ShortBuffer coords)
Vertex2s.coords - the vertex bufferpublic static void nglVertex2iv(long coords)
Vertex2ivpublic static void glVertex2iv(java.nio.IntBuffer coords)
Vertex2i.coords - the vertex bufferpublic static void nglVertex2dv(long coords)
Vertex2dvpublic static void glVertex2dv(java.nio.DoubleBuffer coords)
Vertex2d.coords - the vertex bufferpublic static void glVertex3f(float x,
float y,
float z)
Begin and End by giving its coordinates in three dimensions. The w coordinate is implicitly set
to one.x - the vertex x coordinatey - the vertex y coordinatez - the vertex z coordinatepublic static void glVertex3s(short x,
short y,
short z)
Vertex3f.x - the vertex x coordinatey - the vertex y coordinatez - the vertex z coordinatepublic static void glVertex3i(int x,
int y,
int z)
Vertex3f.x - the vertex x coordinatey - the vertex y coordinatez - the vertex z coordinatepublic static void glVertex3d(double x,
double y,
double z)
Vertex3f.x - the vertex x coordinatey - the vertex y coordinatez - the vertex z coordinatepublic static void nglVertex3fv(long coords)
Vertex3fvpublic static void glVertex3fv(java.nio.FloatBuffer coords)
Vertex3f.coords - the vertex bufferpublic static void nglVertex3sv(long coords)
Vertex3svpublic static void glVertex3sv(java.nio.ShortBuffer coords)
Vertex3s.coords - the vertex bufferpublic static void nglVertex3iv(long coords)
Vertex3ivpublic static void glVertex3iv(java.nio.IntBuffer coords)
Vertex3i.coords - the vertex bufferpublic static void nglVertex3dv(long coords)
Vertex3dvpublic static void glVertex3dv(java.nio.DoubleBuffer coords)
Vertex3d.coords - the vertex bufferpublic static void glVertex4f(float x,
float y,
float z,
float w)
x - the vertex x coordinatey - the vertex y coordinatez - the vertex z coordinatew - the vertex w coordinatepublic static void glVertex4s(short x,
short y,
short z,
short w)
Vertex4f.x - the vertex x coordinatey - the vertex y coordinatez - the vertex z coordinatew - the vertex w coordinatepublic static void glVertex4i(int x,
int y,
int z,
int w)
Vertex4f.x - the vertex x coordinatey - the vertex y coordinatez - the vertex z coordinatew - the vertex w coordinatepublic static void glVertex4d(double x,
double y,
double z,
double w)
Vertex4f.x - the vertex x coordinatey - the vertex y coordinatez - the vertex z coordinatew - the vertex w coordinatepublic static void nglVertex4fv(long coords)
Vertex4fvpublic static void glVertex4fv(java.nio.FloatBuffer coords)
Vertex4f.coords - the vertex bufferpublic static void nglVertex4sv(long coords)
Vertex4svpublic static void glVertex4sv(java.nio.ShortBuffer coords)
Vertex4s.coords - the vertex bufferpublic static void nglVertex4iv(long coords)
Vertex4ivpublic static void glVertex4iv(java.nio.IntBuffer coords)
Vertex4i.coords - the vertex bufferpublic static void nglVertex4dv(long coords)
Vertex4dvpublic static void glVertex4dv(java.nio.DoubleBuffer coords)
Vertex4d.coords - the vertex bufferpublic static void nglVertexPointer(int size,
int type,
int stride,
long pointer)
VertexPointerpublic static void glVertexPointer(int size,
int type,
int stride,
java.nio.ByteBuffer pointer)
size - the number of values per vertex that are stored in the array. One of:| 2 | 3 | 4 |
type - the data type of the values stored in the array. One of:SHORT | INT | HALF_FLOAT | FLOAT | DOUBLE | UNSIGNED_INT_2_10_10_10_REV | INT_2_10_10_10_REV |
stride - the vertex stride in bytes. If specified as zero, then array elements are stored sequentiallypointer - the vertex array datapublic static void glVertexPointer(int size,
int type,
int stride,
long pointer)
size - the number of values per vertex that are stored in the array. One of:| 2 | 3 | 4 |
type - the data type of the values stored in the array. One of:SHORT | INT | HALF_FLOAT | FLOAT | DOUBLE | UNSIGNED_INT_2_10_10_10_REV | INT_2_10_10_10_REV |
stride - the vertex stride in bytes. If specified as zero, then array elements are stored sequentiallypointer - the vertex array datapublic static void glVertexPointer(int size,
int type,
int stride,
java.nio.ShortBuffer pointer)
size - the number of values per vertex that are stored in the array. One of:| 2 | 3 | 4 |
type - the data type of the values stored in the array. One of:SHORT | INT | HALF_FLOAT | FLOAT | DOUBLE | UNSIGNED_INT_2_10_10_10_REV | INT_2_10_10_10_REV |
stride - the vertex stride in bytes. If specified as zero, then array elements are stored sequentiallypointer - the vertex array datapublic static void glVertexPointer(int size,
int type,
int stride,
java.nio.IntBuffer pointer)
size - the number of values per vertex that are stored in the array. One of:| 2 | 3 | 4 |
type - the data type of the values stored in the array. One of:SHORT | INT | HALF_FLOAT | FLOAT | DOUBLE | UNSIGNED_INT_2_10_10_10_REV | INT_2_10_10_10_REV |
stride - the vertex stride in bytes. If specified as zero, then array elements are stored sequentiallypointer - the vertex array datapublic static void glVertexPointer(int size,
int type,
int stride,
java.nio.FloatBuffer pointer)
size - the number of values per vertex that are stored in the array. One of:| 2 | 3 | 4 |
type - the data type of the values stored in the array. One of:SHORT | INT | HALF_FLOAT | FLOAT | DOUBLE | UNSIGNED_INT_2_10_10_10_REV | INT_2_10_10_10_REV |
stride - the vertex stride in bytes. If specified as zero, then array elements are stored sequentiallypointer - the vertex array datapublic static void glViewport(int x,
int y,
int w,
int h)
The location of the viewport's bottom-left corner, given by (x, y), are clamped to be within the implementation-dependent viewport bounds range.
The viewport bounds range [min, max] tuple may be determined by calling GetFloatv with the symbolic
constant VIEWPORT_BOUNDS_RANGE. Viewport width and height are clamped to implementation-dependent maximums when specified. The maximum
width and height may be found by calling GetFloatv with the symbolic constant MAX_VIEWPORT_DIMS. The
maximum viewport dimensions must be greater than or equal to the larger of the visible dimensions of the display being rendered to (if a display
exists), and the largest renderbuffer image which can be successfully created and attached to a framebuffer object.
In the initial state, w and h for each viewport are set to the width and height, respectively, of the window into which the GL is to do
its rendering. If the default framebuffer is bound but no default framebuffer is associated with the GL context, then w and h are
initially set to zero.
x - the left viewport coordinatey - the bottom viewport coordinatew - the viewport widthh - the viewport heightpublic static boolean glAreTexturesResident(int[] textures,
java.nio.ByteBuffer residences)
AreTexturesResidentpublic static void glClipPlane(int plane,
double[] equation)
ClipPlanepublic static void glColor3sv(short[] v)
Color3svpublic static void glColor3iv(int[] v)
Color3ivpublic static void glColor3fv(float[] v)
Color3fvpublic static void glColor3dv(double[] v)
Color3dvpublic static void glColor3usv(short[] v)
Color3usvpublic static void glColor3uiv(int[] v)
Color3uivpublic static void glColor4sv(short[] v)
Color4svpublic static void glColor4iv(int[] v)
Color4ivpublic static void glColor4fv(float[] v)
Color4fvpublic static void glColor4dv(double[] v)
Color4dvpublic static void glColor4usv(short[] v)
Color4usvpublic static void glColor4uiv(int[] v)
Color4uivpublic static void glDrawPixels(int width,
int height,
int format,
int type,
short[] pixels)
DrawPixelspublic static void glDrawPixels(int width,
int height,
int format,
int type,
int[] pixels)
DrawPixelspublic static void glDrawPixels(int width,
int height,
int format,
int type,
float[] pixels)
DrawPixelspublic static void glEvalCoord1fv(float[] u)
EvalCoord1fvpublic static void glEvalCoord1dv(double[] u)
EvalCoord1dvpublic static void glEvalCoord2fv(float[] u)
EvalCoord2fvpublic static void glEvalCoord2dv(double[] u)
EvalCoord2dvpublic static void glFeedbackBuffer(int type,
float[] buffer)
FeedbackBufferpublic static void glFogiv(int pname,
int[] params)
Fogivpublic static void glFogfv(int pname,
float[] params)
Fogfvpublic static void glGenTextures(int[] textures)
GenTexturespublic static void glDeleteTextures(int[] textures)
DeleteTexturespublic static void glGetClipPlane(int plane,
double[] equation)
GetClipPlanepublic static void glGetFloatv(int pname,
float[] params)
GetFloatvpublic static void glGetIntegerv(int pname,
int[] params)
GetIntegervpublic static void glGetDoublev(int pname,
double[] params)
GetDoublevpublic static void glGetLightiv(int light,
int pname,
int[] data)
GetLightivpublic static void glGetLightfv(int light,
int pname,
float[] data)
GetLightfvpublic static void glGetMapiv(int target,
int query,
int[] data)
GetMapivpublic static void glGetMapfv(int target,
int query,
float[] data)
GetMapfvpublic static void glGetMapdv(int target,
int query,
double[] data)
GetMapdvpublic static void glGetMaterialiv(int face,
int pname,
int[] data)
GetMaterialivpublic static void glGetMaterialfv(int face,
int pname,
float[] data)
GetMaterialfvpublic static void glGetPixelMapfv(int map,
float[] data)
GetPixelMapfvpublic static void glGetPixelMapusv(int map,
short[] data)
GetPixelMapusvpublic static void glGetPixelMapuiv(int map,
int[] data)
GetPixelMapuivpublic static void glGetTexEnviv(int env,
int pname,
int[] data)
GetTexEnvivpublic static void glGetTexEnvfv(int env,
int pname,
float[] data)
GetTexEnvfvpublic static void glGetTexGeniv(int coord,
int pname,
int[] data)
GetTexGenivpublic static void glGetTexGenfv(int coord,
int pname,
float[] data)
GetTexGenfvpublic static void glGetTexGendv(int coord,
int pname,
double[] data)
GetTexGendvpublic static void glGetTexImage(int tex,
int level,
int format,
int type,
short[] pixels)
GetTexImagepublic static void glGetTexImage(int tex,
int level,
int format,
int type,
int[] pixels)
GetTexImagepublic static void glGetTexImage(int tex,
int level,
int format,
int type,
float[] pixels)
GetTexImagepublic static void glGetTexImage(int tex,
int level,
int format,
int type,
double[] pixels)
GetTexImagepublic static void glGetTexLevelParameteriv(int target,
int level,
int pname,
int[] params)
GetTexLevelParameterivpublic static void glGetTexLevelParameterfv(int target,
int level,
int pname,
float[] params)
GetTexLevelParameterfvpublic static void glGetTexParameteriv(int target,
int pname,
int[] params)
GetTexParameterivpublic static void glGetTexParameterfv(int target,
int pname,
float[] params)
GetTexParameterfvpublic static void glIndexiv(int[] index)
Indexivpublic static void glIndexsv(short[] index)
Indexsvpublic static void glIndexfv(float[] index)
Indexfvpublic static void glIndexdv(double[] index)
Indexdvpublic static void glInterleavedArrays(int format,
int stride,
short[] pointer)
InterleavedArrayspublic static void glInterleavedArrays(int format,
int stride,
int[] pointer)
InterleavedArrayspublic static void glInterleavedArrays(int format,
int stride,
float[] pointer)
InterleavedArrayspublic static void glInterleavedArrays(int format,
int stride,
double[] pointer)
InterleavedArrayspublic static void glLightModeliv(int pname,
int[] params)
LightModelivpublic static void glLightModelfv(int pname,
float[] params)
LightModelfvpublic static void glLightiv(int light,
int pname,
int[] params)
Lightivpublic static void glLightfv(int light,
int pname,
float[] params)
Lightfvpublic static void glLoadMatrixf(float[] m)
LoadMatrixfpublic static void glLoadMatrixd(double[] m)
LoadMatrixdpublic static void glMap1f(int target,
float u1,
float u2,
int stride,
int order,
float[] points)
Map1fpublic static void glMap1d(int target,
double u1,
double u2,
int stride,
int order,
double[] points)
Map1dpublic static void glMap2f(int target,
float u1,
float u2,
int ustride,
int uorder,
float v1,
float v2,
int vstride,
int vorder,
float[] points)
Map2fpublic static void glMap2d(int target,
double u1,
double u2,
int ustride,
int uorder,
double v1,
double v2,
int vstride,
int vorder,
double[] points)
Map2dpublic static void glMaterialiv(int face,
int pname,
int[] params)
Materialivpublic static void glMaterialfv(int face,
int pname,
float[] params)
Materialfvpublic static void glMultMatrixf(float[] m)
MultMatrixfpublic static void glMultMatrixd(double[] m)
MultMatrixdpublic static void glNormal3fv(float[] v)
Normal3fvpublic static void glNormal3sv(short[] v)
Normal3svpublic static void glNormal3iv(int[] v)
Normal3ivpublic static void glNormal3dv(double[] v)
Normal3dvpublic static void glPixelMapfv(int map,
float[] values)
PixelMapfvpublic static void glPixelMapusv(int map,
short[] values)
PixelMapusvpublic static void glPixelMapuiv(int map,
int[] values)
PixelMapuivpublic static void glPrioritizeTextures(int[] textures,
float[] priorities)
PrioritizeTexturespublic static void glRasterPos2iv(int[] coords)
RasterPos2ivpublic static void glRasterPos2sv(short[] coords)
RasterPos2svpublic static void glRasterPos2fv(float[] coords)
RasterPos2fvpublic static void glRasterPos2dv(double[] coords)
RasterPos2dvpublic static void glRasterPos3iv(int[] coords)
RasterPos3ivpublic static void glRasterPos3sv(short[] coords)
RasterPos3svpublic static void glRasterPos3fv(float[] coords)
RasterPos3fvpublic static void glRasterPos3dv(double[] coords)
RasterPos3dvpublic static void glRasterPos4iv(int[] coords)
RasterPos4ivpublic static void glRasterPos4sv(short[] coords)
RasterPos4svpublic static void glRasterPos4fv(float[] coords)
RasterPos4fvpublic static void glRasterPos4dv(double[] coords)
RasterPos4dvpublic static void glReadPixels(int x,
int y,
int width,
int height,
int format,
int type,
short[] pixels)
ReadPixelspublic static void glReadPixels(int x,
int y,
int width,
int height,
int format,
int type,
int[] pixels)
ReadPixelspublic static void glReadPixels(int x,
int y,
int width,
int height,
int format,
int type,
float[] pixels)
ReadPixelspublic static void glRectiv(int[] v1,
int[] v2)
Rectivpublic static void glRectsv(short[] v1,
short[] v2)
Rectsvpublic static void glRectfv(float[] v1,
float[] v2)
Rectfvpublic static void glRectdv(double[] v1,
double[] v2)
Rectdvpublic static void glSelectBuffer(int[] buffer)
SelectBufferpublic static void glTexCoord1fv(float[] v)
TexCoord1fvpublic static void glTexCoord1sv(short[] v)
TexCoord1svpublic static void glTexCoord1iv(int[] v)
TexCoord1ivpublic static void glTexCoord1dv(double[] v)
TexCoord1dvpublic static void glTexCoord2fv(float[] v)
TexCoord2fvpublic static void glTexCoord2sv(short[] v)
TexCoord2svpublic static void glTexCoord2iv(int[] v)
TexCoord2ivpublic static void glTexCoord2dv(double[] v)
TexCoord2dvpublic static void glTexCoord3fv(float[] v)
TexCoord3fvpublic static void glTexCoord3sv(short[] v)
TexCoord3svpublic static void glTexCoord3iv(int[] v)
TexCoord3ivpublic static void glTexCoord3dv(double[] v)
TexCoord3dvpublic static void glTexCoord4fv(float[] v)
TexCoord4fvpublic static void glTexCoord4sv(short[] v)
TexCoord4svpublic static void glTexCoord4iv(int[] v)
TexCoord4ivpublic static void glTexCoord4dv(double[] v)
TexCoord4dvpublic static void glTexEnviv(int target,
int pname,
int[] params)
TexEnvivpublic static void glTexEnvfv(int target,
int pname,
float[] params)
TexEnvfvpublic static void glTexGeniv(int coord,
int pname,
int[] params)
TexGenivpublic static void glTexGenfv(int coord,
int pname,
float[] params)
TexGenfvpublic static void glTexGendv(int coord,
int pname,
double[] params)
TexGendvpublic static void glTexImage1D(int target,
int level,
int internalformat,
int width,
int border,
int format,
int type,
@Nullable
short[] pixels)
TexImage1Dpublic static void glTexImage1D(int target,
int level,
int internalformat,
int width,
int border,
int format,
int type,
@Nullable
int[] pixels)
TexImage1Dpublic static void glTexImage1D(int target,
int level,
int internalformat,
int width,
int border,
int format,
int type,
@Nullable
float[] pixels)
TexImage1Dpublic static void glTexImage1D(int target,
int level,
int internalformat,
int width,
int border,
int format,
int type,
@Nullable
double[] pixels)
TexImage1Dpublic static void glTexImage2D(int target,
int level,
int internalformat,
int width,
int height,
int border,
int format,
int type,
@Nullable
short[] pixels)
TexImage2Dpublic static void glTexImage2D(int target,
int level,
int internalformat,
int width,
int height,
int border,
int format,
int type,
@Nullable
int[] pixels)
TexImage2Dpublic static void glTexImage2D(int target,
int level,
int internalformat,
int width,
int height,
int border,
int format,
int type,
@Nullable
float[] pixels)
TexImage2Dpublic static void glTexImage2D(int target,
int level,
int internalformat,
int width,
int height,
int border,
int format,
int type,
@Nullable
double[] pixels)
TexImage2Dpublic static void glTexParameteriv(int target,
int pname,
int[] params)
TexParameterivpublic static void glTexParameterfv(int target,
int pname,
float[] params)
TexParameterfvpublic static void glTexSubImage1D(int target,
int level,
int xoffset,
int width,
int format,
int type,
short[] pixels)
TexSubImage1Dpublic static void glTexSubImage1D(int target,
int level,
int xoffset,
int width,
int format,
int type,
int[] pixels)
TexSubImage1Dpublic static void glTexSubImage1D(int target,
int level,
int xoffset,
int width,
int format,
int type,
float[] pixels)
TexSubImage1Dpublic static void glTexSubImage1D(int target,
int level,
int xoffset,
int width,
int format,
int type,
double[] pixels)
TexSubImage1Dpublic static void glTexSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int width,
int height,
int format,
int type,
short[] pixels)
TexSubImage2Dpublic static void glTexSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int width,
int height,
int format,
int type,
int[] pixels)
TexSubImage2Dpublic static void glTexSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int width,
int height,
int format,
int type,
float[] pixels)
TexSubImage2Dpublic static void glTexSubImage2D(int target,
int level,
int xoffset,
int yoffset,
int width,
int height,
int format,
int type,
double[] pixels)
TexSubImage2Dpublic static void glVertex2fv(float[] coords)
Vertex2fvpublic static void glVertex2sv(short[] coords)
Vertex2svpublic static void glVertex2iv(int[] coords)
Vertex2ivpublic static void glVertex2dv(double[] coords)
Vertex2dvpublic static void glVertex3fv(float[] coords)
Vertex3fvpublic static void glVertex3sv(short[] coords)
Vertex3svpublic static void glVertex3iv(int[] coords)
Vertex3ivpublic static void glVertex3dv(double[] coords)
Vertex3dvpublic static void glVertex4fv(float[] coords)
Vertex4fvpublic static void glVertex4sv(short[] coords)
Vertex4svpublic static void glVertex4iv(int[] coords)
Vertex4ivpublic static void glVertex4dv(double[] coords)
Vertex4dvCopyright LWJGL. All Rights Reserved. License terms.