Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2007 Sun Microsystems, Inc. All rights reserved.

The Java™ Binding for the OpenGL® ES API

javax.microedition.khronos.opengles
Interface GL11

All Superinterfaces:
GL, GL10

public interface GL11
extends GL10

The GL11 interface contains the Java(TM) programming language bindings for OpenGL(R) ES 1.1 core functionality.

The OES_matrix_get, OES_point_sprite and OES_point_size_array core extensions are defined as part of this interface.

Methods that are also present in OpenGL ES 1.0 are included in this interface by inheritance, but are not separately documented. Instead, the documentation from the GL10 interface specifies the functional differences between 1.0 and 1.1.

See the GL interface for a description of how to obtain an instance of this interface.


Field Summary
static int GL_ACTIVE_TEXTURE
          OpenGL ES 1.1 constant.
static int GL_ADD_SIGNED
          OpenGL ES 1.1 constant.
static int GL_ALPHA_SCALE
          OpenGL ES 1.1 constant.
static int GL_ALPHA_TEST_FUNC
          OpenGL ES 1.1 constant.
static int GL_ALPHA_TEST_REF
          OpenGL ES 1.1 constant.
static int GL_ARRAY_BUFFER
          OpenGL ES 1.1 constant.
static int GL_ARRAY_BUFFER_BINDING
          OpenGL ES 1.1 constant.
static int GL_BLEND_DST
          OpenGL ES 1.1 constant.
static int GL_BLEND_SRC
          OpenGL ES 1.1 constant.
static int GL_BUFFER_ACCESS
          OpenGL ES 1.1 constant.
static int GL_BUFFER_SIZE
          OpenGL ES 1.1 constant.
static int GL_BUFFER_USAGE
          OpenGL ES 1.1 constant.
static int GL_CLIENT_ACTIVE_TEXTURE
          OpenGL ES 1.1 constant.
static int GL_CLIP_PLANE0
          OpenGL ES 1.1 constant.
static int GL_CLIP_PLANE1
          OpenGL ES 1.1 constant.
static int GL_CLIP_PLANE2
          OpenGL ES 1.1 constant.
static int GL_CLIP_PLANE3
          OpenGL ES 1.1 constant.
static int GL_CLIP_PLANE4
          OpenGL ES 1.1 constant.
static int GL_CLIP_PLANE5
          OpenGL ES 1.1 constant.
static int GL_COLOR_ARRAY_BUFFER_BINDING
          OpenGL ES 1.1 constant.
static int GL_COLOR_ARRAY_POINTER
          OpenGL ES 1.1 constant.
static int GL_COLOR_ARRAY_SIZE
          OpenGL ES 1.1 constant.
static int GL_COLOR_ARRAY_STRIDE
          OpenGL ES 1.1 constant.
static int GL_COLOR_ARRAY_TYPE
          OpenGL ES 1.1 constant.
static int GL_COLOR_CLEAR_VALUE
          OpenGL ES 1.1 constant.
static int GL_COLOR_WRITEMASK
          OpenGL ES 1.1 constant.
static int GL_COMBINE
          OpenGL ES 1.1 constant.
static int GL_COMBINE_ALPHA
          OpenGL ES 1.1 constant.
static int GL_COMBINE_RGB
          OpenGL ES 1.1 constant.
static int GL_CONSTANT
          OpenGL ES 1.1 constant.
static int GL_COORD_REPLACE_OES
          Constant for use with glTexEnv (OES_point_sprite extension).
static int GL_CULL_FACE_MODE
          OpenGL ES 1.1 constant.
static int GL_CURRENT_COLOR
          OpenGL ES 1.1 constant.
static int GL_CURRENT_NORMAL
          OpenGL ES 1.1 constant.
static int GL_CURRENT_TEXTURE_COORDS
          OpenGL ES 1.1 constant.
static int GL_DEPTH_CLEAR_VALUE
          OpenGL ES 1.1 constant.
static int GL_DEPTH_FUNC
          OpenGL ES 1.1 constant.
static int GL_DEPTH_RANGE
          OpenGL ES 1.1 constant.
static int GL_DEPTH_WRITEMASK
          OpenGL ES 1.1 constant.
static int GL_DOT3_RGB
          OpenGL ES 1.1 constant.
static int GL_DOT3_RGBA
          OpenGL ES 1.1 constant.
static int GL_DYNAMIC_DRAW
          OpenGL ES 1.1 constant.
static int GL_ELEMENT_ARRAY_BUFFER
          OpenGL ES 1.1 constant.
static int GL_ELEMENT_ARRAY_BUFFER_BINDING
          OpenGL ES 1.1 constant.
static int GL_FRONT_FACE
          OpenGL ES 1.1 constant.
static int GL_GENERATE_MIPMAP
          OpenGL ES 1.1 constant.
static int GL_GENERATE_MIPMAP_HINT
          OpenGL ES 1.1 constant.
static int GL_INTERPOLATE
          OpenGL ES 1.1 constant.
static int GL_LINE_WIDTH
          OpenGL ES 1.1 constant.
static int GL_LOGIC_OP_MODE
          OpenGL ES 1.1 constant.
static int GL_MATRIX_MODE
          OpenGL ES 1.1 constant.
static int GL_MAX_CLIP_PLANES
          OpenGL ES 1.1 constant.
static int GL_MODELVIEW_MATRIX
          OpenGL ES 1.1 constant.
static int GL_MODELVIEW_MATRIX_FLOAT_AS_INT_BITS_OES
          Constant for use with glGet (OES_matrix_get extension).
static int GL_MODELVIEW_STACK_DEPTH
          OpenGL ES 1.1 constant.
static int GL_NORMAL_ARRAY_BUFFER_BINDING
          OpenGL ES 1.1 constant.
static int GL_NORMAL_ARRAY_POINTER
          OpenGL ES 1.1 constant.
static int GL_NORMAL_ARRAY_STRIDE
          OpenGL ES 1.1 constant.
static int GL_NORMAL_ARRAY_TYPE
          OpenGL ES 1.1 constant.
static int GL_OPERAND0_ALPHA
          OpenGL ES 1.1 constant.
static int GL_OPERAND0_RGB
          OpenGL ES 1.1 constant.
static int GL_OPERAND1_ALPHA
          OpenGL ES 1.1 constant.
static int GL_OPERAND1_RGB
          OpenGL ES 1.1 constant.
static int GL_OPERAND2_ALPHA
          OpenGL ES 1.1 constant.
static int GL_OPERAND2_RGB
          OpenGL ES 1.1 constant.
static int GL_POINT_DISTANCE_ATTENUATION
          OpenGL ES 1.1 constant.
static int GL_POINT_FADE_THRESHOLD_SIZE
          OpenGL ES 1.1 constant.
static int GL_POINT_SIZE
          OpenGL ES 1.1 constant.
static int GL_POINT_SIZE_ARRAY_BUFFER_BINDING_OES
          Constant for use with glGet (OES_point_size_array extension).
static int GL_POINT_SIZE_ARRAY_OES
          Constant for use with glEnableClientState and glDisableClientState (OES_point_size_array extension).
static int GL_POINT_SIZE_ARRAY_POINTER_OES
          Constant for use with glGetPointer (OES_point_size_array extension).
static int GL_POINT_SIZE_ARRAY_STRIDE_OES
          Constant for use with glGet (OES_point_size_array extension).
static int GL_POINT_SIZE_ARRAY_TYPE_OES
          Constant for use with glGet (OES_point_size_array extension).
static int GL_POINT_SIZE_MAX
          OpenGL ES 1.1 constant.
static int GL_POINT_SIZE_MIN
          OpenGL ES 1.1 constant.
static int GL_POINT_SPRITE_OES
          Constant for use with glTexEnv and glEnable (OES_point_sprite extension).
static int GL_POLYGON_OFFSET_FACTOR
          OpenGL ES 1.1 constant.
static int GL_POLYGON_OFFSET_UNITS
          OpenGL ES 1.1 constant.
static int GL_PREVIOUS
          OpenGL ES 1.1 constant.
static int GL_PRIMARY_COLOR
          OpenGL ES 1.1 constant.
static int GL_PROJECTION_MATRIX
          OpenGL ES 1.1 constant.
static int GL_PROJECTION_MATRIX_FLOAT_AS_INT_BITS_OES
          Constant for use with glGet (OES_matrix_get extension).
static int GL_PROJECTION_STACK_DEPTH
          OpenGL ES 1.1 constant.
static int GL_RGB_SCALE
          OpenGL ES 1.1 constant.
static int GL_SAMPLE_BUFFERS
          OpenGL ES 1.1 constant.
static int GL_SAMPLE_COVERAGE_INVERT
          OpenGL ES 1.1 constant.
static int GL_SAMPLE_COVERAGE_VALUE
          OpenGL ES 1.1 constant.
static int GL_SAMPLES
          OpenGL ES 1.1 constant.
static int GL_SCISSOR_BOX
          OpenGL ES 1.1 constant.
static int GL_SHADE_MODEL
          OpenGL ES 1.1 constant.
static int GL_SRC0_ALPHA
          OpenGL ES 1.1 constant.
static int GL_SRC0_RGB
          OpenGL ES 1.1 constant.
static int GL_SRC1_ALPHA
          OpenGL ES 1.1 constant.
static int GL_SRC1_RGB
          OpenGL ES 1.1 constant.
static int GL_SRC2_ALPHA
          OpenGL ES 1.1 constant.
static int GL_SRC2_RGB
          OpenGL ES 1.1 constant.
static int GL_STATIC_DRAW
          OpenGL ES 1.1 constant.
static int GL_STENCIL_CLEAR_VALUE
          OpenGL ES 1.1 constant.
static int GL_STENCIL_FAIL
          OpenGL ES 1.1 constant.
static int GL_STENCIL_FUNC
          OpenGL ES 1.1 constant.
static int GL_STENCIL_PASS_DEPTH_FAIL
          OpenGL ES 1.1 constant.
static int GL_STENCIL_PASS_DEPTH_PASS
          OpenGL ES 1.1 constant.
static int GL_STENCIL_REF
          OpenGL ES 1.1 constant.
static int GL_STENCIL_VALUE_MASK
          OpenGL ES 1.1 constant.
static int GL_STENCIL_WRITEMASK
          OpenGL ES 1.1 constant.
static int GL_SUBTRACT
          OpenGL ES 1.1 constant.
static int GL_TEXTURE_BINDING_2D
          OpenGL ES 1.1 constant.
static int GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING
          OpenGL ES 1.1 constant.
static int GL_TEXTURE_COORD_ARRAY_POINTER
          OpenGL ES 1.1 constant.
static int GL_TEXTURE_COORD_ARRAY_SIZE
          OpenGL ES 1.1 constant.
static int GL_TEXTURE_COORD_ARRAY_STRIDE
          OpenGL ES 1.1 constant.
static int GL_TEXTURE_COORD_ARRAY_TYPE
          OpenGL ES 1.1 constant.
static int GL_TEXTURE_MATRIX
          OpenGL ES 1.1 constant.
static int GL_TEXTURE_MATRIX_FLOAT_AS_INT_BITS_OES
          Constant for use with glGet (OES_matrix_get extension).
static int GL_TEXTURE_STACK_DEPTH
          OpenGL ES 1.1 constant.
static int GL_VERTEX_ARRAY_BUFFER_BINDING
          OpenGL ES 1.1 constant.
static int GL_VERTEX_ARRAY_POINTER
          OpenGL ES 1.1 constant.
static int GL_VERTEX_ARRAY_SIZE
          OpenGL ES 1.1 constant.
static int GL_VERTEX_ARRAY_STRIDE
          OpenGL ES 1.1 constant.
static int GL_VERTEX_ARRAY_TYPE
          OpenGL ES 1.1 constant.
static int GL_VIEWPORT
          OpenGL ES 1.1 constant.
static int GL_WRITE_ONLY
          OpenGL ES 1.1 constant.
 
Fields inherited from interface javax.microedition.khronos.opengles.GL10
GL_ADD, GL_ALIASED_LINE_WIDTH_RANGE, GL_ALIASED_POINT_SIZE_RANGE, GL_ALPHA, GL_ALPHA_BITS, GL_ALPHA_TEST, GL_ALWAYS, GL_AMBIENT, GL_AMBIENT_AND_DIFFUSE, GL_AND, GL_AND_INVERTED, GL_AND_REVERSE, GL_BACK, GL_BLEND, GL_BLUE_BITS, GL_BYTE, GL_CCW, GL_CLAMP_TO_EDGE, GL_CLEAR, GL_COLOR_ARRAY, GL_COLOR_BUFFER_BIT, GL_COLOR_LOGIC_OP, GL_COLOR_MATERIAL, GL_COMPRESSED_TEXTURE_FORMATS, GL_CONSTANT_ATTENUATION, GL_COPY, GL_COPY_INVERTED, GL_CULL_FACE, GL_CW, GL_DECAL, GL_DECR, GL_DEPTH_BITS, GL_DEPTH_BUFFER_BIT, GL_DEPTH_TEST, GL_DIFFUSE, GL_DITHER, GL_DONT_CARE, GL_DST_ALPHA, GL_DST_COLOR, GL_EMISSION, GL_EQUAL, GL_EQUIV, GL_EXP, GL_EXP2, GL_EXTENSIONS, GL_FALSE, GL_FASTEST, GL_FIXED, GL_FLAT, GL_FLOAT, GL_FOG, GL_FOG_COLOR, GL_FOG_DENSITY, GL_FOG_END, GL_FOG_HINT, GL_FOG_MODE, GL_FOG_START, GL_FRONT, GL_FRONT_AND_BACK, GL_GEQUAL, GL_GREATER, GL_GREEN_BITS, GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES, GL_IMPLEMENTATION_COLOR_READ_TYPE_OES, GL_INCR, GL_INVALID_ENUM, GL_INVALID_OPERATION, GL_INVALID_VALUE, GL_INVERT, GL_KEEP, GL_LEQUAL, GL_LESS, GL_LIGHT_MODEL_AMBIENT, GL_LIGHT_MODEL_TWO_SIDE, GL_LIGHT0, GL_LIGHT1, GL_LIGHT2, GL_LIGHT3, GL_LIGHT4, GL_LIGHT5, GL_LIGHT6, GL_LIGHT7, GL_LIGHTING, GL_LINE_LOOP, GL_LINE_SMOOTH, GL_LINE_SMOOTH_HINT, GL_LINE_STRIP, GL_LINEAR, GL_LINEAR_ATTENUATION, GL_LINEAR_MIPMAP_LINEAR, GL_LINEAR_MIPMAP_NEAREST, GL_LINES, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_MAX_ELEMENTS_INDICES, GL_MAX_ELEMENTS_VERTICES, GL_MAX_LIGHTS, GL_MAX_MODELVIEW_STACK_DEPTH, GL_MAX_PROJECTION_STACK_DEPTH, GL_MAX_TEXTURE_SIZE, GL_MAX_TEXTURE_STACK_DEPTH, GL_MAX_TEXTURE_UNITS, GL_MAX_VIEWPORT_DIMS, GL_MODELVIEW, GL_MODULATE, GL_MULTISAMPLE, GL_NAND, GL_NEAREST, GL_NEAREST_MIPMAP_LINEAR, GL_NEAREST_MIPMAP_NEAREST, GL_NEVER, GL_NICEST, GL_NO_ERROR, GL_NOOP, GL_NOR, GL_NORMAL_ARRAY, GL_NORMALIZE, GL_NOTEQUAL, GL_NUM_COMPRESSED_TEXTURE_FORMATS, GL_ONE, GL_ONE_MINUS_DST_ALPHA, GL_ONE_MINUS_DST_COLOR, GL_ONE_MINUS_SRC_ALPHA, GL_ONE_MINUS_SRC_COLOR, GL_OR, GL_OR_INVERTED, GL_OR_REVERSE, GL_OUT_OF_MEMORY, GL_PACK_ALIGNMENT, GL_PALETTE4_R5_G6_B5_OES, GL_PALETTE4_RGB5_A1_OES, GL_PALETTE4_RGB8_OES, GL_PALETTE4_RGBA4_OES, GL_PALETTE4_RGBA8_OES, GL_PALETTE8_R5_G6_B5_OES, GL_PALETTE8_RGB5_A1_OES, GL_PALETTE8_RGB8_OES, GL_PALETTE8_RGBA4_OES, GL_PALETTE8_RGBA8_OES, GL_PERSPECTIVE_CORRECTION_HINT, GL_POINT_SMOOTH, GL_POINT_SMOOTH_HINT, GL_POINTS, GL_POLYGON_OFFSET_FILL, GL_POLYGON_SMOOTH_HINT, GL_POSITION, GL_PROJECTION, GL_QUADRATIC_ATTENUATION, GL_RED_BITS, GL_RENDERER, GL_REPEAT, GL_REPLACE, GL_RESCALE_NORMAL, GL_RGB, GL_RGBA, GL_SAMPLE_ALPHA_TO_COVERAGE, GL_SAMPLE_ALPHA_TO_ONE, GL_SAMPLE_COVERAGE, GL_SCISSOR_TEST, GL_SET, GL_SHININESS, GL_SHORT, GL_SMOOTH, GL_SMOOTH_LINE_WIDTH_RANGE, GL_SMOOTH_POINT_SIZE_RANGE, GL_SPECULAR, GL_SPOT_CUTOFF, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SRC_ALPHA, GL_SRC_ALPHA_SATURATE, GL_SRC_COLOR, GL_STACK_OVERFLOW, GL_STACK_UNDERFLOW, GL_STENCIL_BITS, GL_STENCIL_BUFFER_BIT, GL_STENCIL_TEST, GL_SUBPIXEL_BITS, GL_TEXTURE, GL_TEXTURE_2D, GL_TEXTURE_COORD_ARRAY, GL_TEXTURE_ENV, GL_TEXTURE_ENV_COLOR, GL_TEXTURE_ENV_MODE, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE0, GL_TEXTURE1, GL_TEXTURE10, GL_TEXTURE11, GL_TEXTURE12, GL_TEXTURE13, GL_TEXTURE14, GL_TEXTURE15, GL_TEXTURE16, GL_TEXTURE17, GL_TEXTURE18, GL_TEXTURE19, GL_TEXTURE2, GL_TEXTURE20, GL_TEXTURE21, GL_TEXTURE22, GL_TEXTURE23, GL_TEXTURE24, GL_TEXTURE25, GL_TEXTURE26, GL_TEXTURE27, GL_TEXTURE28, GL_TEXTURE29, GL_TEXTURE3, GL_TEXTURE30, GL_TEXTURE31, GL_TEXTURE4, GL_TEXTURE5, GL_TEXTURE6, GL_TEXTURE7, GL_TEXTURE8, GL_TEXTURE9, GL_TRIANGLE_FAN, GL_TRIANGLE_STRIP, GL_TRIANGLES, GL_TRUE, GL_UNPACK_ALIGNMENT, GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_5_6_5, GL_VENDOR, GL_VERSION, GL_VERTEX_ARRAY, GL_XOR, GL_ZERO
 
Method Summary
 void glBindBuffer(int target, int buffer)
          Bind a named buffer to a target.
 void glBufferData(int target, int size, Buffer data, int usage)
          Creates and initializes the data store of a buffer object.
 void glBufferSubData(int target, int offset, int size, Buffer data)
          Modifies some or all of the data contained in a buffer object's data store.
 void glClipPlanef(int plane, float[] equation, int offset)
          Specify a plane against which all geometry is clipped.
 void glClipPlanef(int plane, FloatBuffer equation)
          Floating-point Buffer version of glClipPlane.
 void glClipPlanex(int plane, int[] equation, int offset)
          Fixed-point array version of glClipPlane.
 void glClipPlanex(int plane, IntBuffer equation)
          Fixed-point Buffer version of glClipPlane.
 void glColor4ub(byte red, byte green, byte blue, byte alpha)
          Byte version of glColor.
 void glColorPointer(int size, int type, int stride, int offset)
          VBO version of glColorPointer.
 void glDeleteBuffers(int n, int[] buffers, int offset)
          Delete named buffer objects.
 void glDeleteBuffers(int n, IntBuffer buffers)
          Integer Buffer version of glDeleteBuffers.
 void glDrawElements(int mode, int count, int type, int offset)
          VBO version of glDrawElements.
 void glGenBuffers(int n, int[] buffers, int offset)
          Generate buffer object names.
 void glGenBuffers(int n, IntBuffer buffers)
          Integer Buffer version of glGenBuffers.
 void glGetBooleanv(int pname, boolean[] params, int offset)
          Boolean array version of glGet.
 void glGetBooleanv(int pname, IntBuffer params)
          Boolean Buffer version of glGet.
 void glGetBufferParameteriv(int target, int pname, int[] params, int offset)
          Return buffer parameter values.
 void glGetBufferParameteriv(int target, int pname, IntBuffer params)
          Integer Buffer version of glGetBufferParameter.
 void glGetClipPlanef(int plane, float[] equation, int offset)
          Return the coefficients of the specified clipping plane.
 void glGetClipPlanef(int plane, FloatBuffer equation)
          Floating-point Buffer version of glGetClipPlane.
 void glGetClipPlanex(int plane, int[] equation, int offset)
          Fixed-point array version of glGetClipPlane.
 void glGetClipPlanex(int plane, IntBuffer equation)
          Fixed-point Buffer version of glGetClipPlane.
 void glGetFixedv(int pname, int[] params, int offset)
          Fixed-point array version of glGet.
 void glGetFixedv(int pname, IntBuffer params)
          Fixed-point Buffer version of glGet.
 void glGetFloatv(int pname, float[] params, int offset)
          Floating-point array version of glGet.
 void glGetFloatv(int pname, FloatBuffer params)
          Floating-point Buffer version of glGet.
 void glGetLightfv(int light, int pname, float[] params, int offset)
          Return light source parameter values.
 void glGetLightfv(int light, int pname, FloatBuffer params)
          Floating-point Buffer version of glGetLight.
 void glGetLightxv(int light, int pname, int[] params, int offset)
          Fixed-point array version of glGetLight.
 void glGetLightxv(int light, int pname, IntBuffer params)
          Fixed-point Buffer version of glGetLight.
 void glGetMaterialfv(int face, int pname, float[] params, int offset)
          Return material parameters values.
 void glGetMaterialfv(int face, int pname, FloatBuffer params)
          Floating-point Buffer version of glGetMaterial.
 void glGetMaterialxv(int face, int pname, int[] params, int offset)
          Fixed-point array version of glGetMaterial.
 void glGetMaterialxv(int face, int pname, IntBuffer params)
          Fixed-point Buffer version of glGetMaterial.
 void glGetPointerv(int pname, Buffer[] params)
          Return the Buffer associated with the specified pointer.
 void glGetTexEnvfv(int env, int pname, float[] params, int offset)
          Return texture environment parameters.
 void glGetTexEnvfv(int env, int pname, FloatBuffer params)
          Floating-point Buffer version of glGetTexEnv.
 void glGetTexEnviv(int env, int pname, int[] params, int offset)
          Integer array version of glGetTexEnv.
 void glGetTexEnviv(int env, int pname, IntBuffer params)
          Integer Buffer version of glGetTExEnv.
 void glGetTexEnvxv(int env, int pname, int[] params, int offset)
          Fixed-point version of glGetTexEnv.
 void glGetTexEnvxv(int env, int pname, IntBuffer params)
          Fixed-point Buffer version of glGetTexEnv.
 void glGetTexParameterfv(int target, int pname, float[] params, int offset)
          Return texture parameter values.
 void glGetTexParameterfv(int target, int pname, FloatBuffer params)
          Floating-point Buffer version of glGetTexParameter.
 void glGetTexParameteriv(int target, int pname, int[] params, int offset)
          Integer array version of glGetTexParameter.
 void glGetTexParameteriv(int target, int pname, IntBuffer params)
          Integer Buffer version of glGetTexParameter.
 void glGetTexParameterxv(int target, int pname, int[] params, int offset)
          Fixed-point array version of glGetTexParameter.
 void glGetTexParameterxv(int target, int pname, IntBuffer params)
          Fixed-point Buffer version of glGetTexParameter.
 boolean glIsBuffer(int buffer)
          Determine if a name corresponds to a buffer object.
 boolean glIsEnabled(int cap)
          Test whether a capability is enabled.
 boolean glIsTexture(int texture)
          Determine if a name corresponds to a texture.
 void glNormalPointer(int type, int stride, int offset)
          VBO version of glNormalPointer.
 void glPointParameterf(int pname, float param)
          Specify parameters for point rasterization.
 void glPointParameterfv(int pname, float[] params, int offset)
          Specify parameters for point rasterization (array version).
 void glPointParameterfv(int pname, FloatBuffer params)
          Floating-point Buffer version of glPointParameter.
 void glPointParameterx(int pname, int param)
          Fixed-point version of glPointParameter.
 void glPointParameterxv(int pname, int[] params, int offset)
          Fixed-point array version of glPointParameter.
 void glPointParameterxv(int pname, IntBuffer params)
          Fixed-point Buffer version of glPointParameterfv.
 void glPointSizePointerOES(int type, int stride, Buffer pointer)
          (OES_point_size_array extension) Define an array of point sizes.
 void glPointSizePointerOES(int type, int stride, int offset)
          (OES_point_size_array extension) VBO version of glPointSizePointerOES.
 void glTexCoordPointer(int size, int type, int stride, int offset)
          VBO version of glTexCoordPointer.
 void glTexEnvi(int target, int pname, int param)
          Integer version of glTexEnv.
 void glTexEnviv(int target, int pname, int[] params, int offset)
          Integer array version of glTexEnv.
 void glTexEnviv(int target, int pname, IntBuffer params)
          Integer Buffer version of glTexEnvfv.
 void glTexParameterfv(int target, int pname, float[] params, int offset)
          Floating-point array version of glTexParameter.
 void glTexParameterfv(int target, int pname, FloatBuffer params)
          Floating-point Buffer version of glTexParameter.
 void glTexParameteri(int target, int pname, int param)
          Integer version of glTexParameter.
 void glTexParameteriv(int target, int pname, int[] params, int offset)
          Integer array version of glTexParameter.
 void glTexParameteriv(int target, int pname, IntBuffer params)
          Integer Buffer version of glTexParameter.
 void glTexParameterxv(int target, int pname, int[] params, int offset)
          Fixed-point array version of glTexParameter.
 void glTexParameterxv(int target, int pname, IntBuffer params)
          Fixed-point Buffer version of glTexParameter.
 void glVertexPointer(int size, int type, int stride, int offset)
          VBO version of glVertexPointer.
 
Methods inherited from interface javax.microedition.khronos.opengles.GL10
glActiveTexture, glAlphaFunc, glAlphaFuncx, glBindTexture, glBlendFunc, glClear, glClearColor, glClearColorx, glClearDepthf, glClearDepthx, glClearStencil, glClientActiveTexture, glColor4f, glColor4x, glColorMask, glColorPointer, glCompressedTexImage2D, glCompressedTexSubImage2D, glCopyTexImage2D, glCopyTexSubImage2D, glCullFace, glDeleteTextures, glDeleteTextures, glDepthFunc, glDepthMask, glDepthRangef, glDepthRangex, glDisable, glDisableClientState, glDrawArrays, glDrawElements, glEnable, glEnableClientState, glFinish, glFlush, glFogf, glFogfv, glFogfv, glFogx, glFogxv, glFogxv, glFrontFace, glFrustumf, glFrustumx, glGenTextures, glGenTextures, glGetError, glGetIntegerv, glGetIntegerv, glGetString, glHint, glLightf, glLightfv, glLightfv, glLightModelf, glLightModelfv, glLightModelfv, glLightModelx, glLightModelxv, glLightModelxv, glLightx, glLightxv, glLightxv, glLineWidth, glLineWidthx, glLoadIdentity, glLoadMatrixf, glLoadMatrixf, glLoadMatrixx, glLoadMatrixx, glLogicOp, glMaterialf, glMaterialfv, glMaterialfv, glMaterialx, glMaterialxv, glMaterialxv, glMatrixMode, glMultiTexCoord4f, glMultiTexCoord4x, glMultMatrixf, glMultMatrixf, glMultMatrixx, glMultMatrixx, glNormal3f, glNormal3x, glNormalPointer, glOrthof, glOrthox, glPixelStorei, glPointSize, glPointSizex, glPolygonOffset, glPolygonOffsetx, glPopMatrix, glPushMatrix, glReadPixels, glRotatef, glRotatex, glSampleCoverage, glSampleCoveragex, glScalef, glScalex, glScissor, glShadeModel, glStencilFunc, glStencilMask, glStencilOp, glTexCoordPointer, glTexEnvf, glTexEnvfv, glTexEnvfv, glTexEnvx, glTexEnvxv, glTexEnvxv, glTexImage2D, glTexParameterf, glTexParameterx, glTexSubImage2D, glTranslatef, glTranslatex, glVertexPointer, glViewport
 

Field Detail

GL_CLIP_PLANE0

public static final int GL_CLIP_PLANE0
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_CLIP_PLANE1

public static final int GL_CLIP_PLANE1
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_CLIP_PLANE2

public static final int GL_CLIP_PLANE2
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_CLIP_PLANE3

public static final int GL_CLIP_PLANE3
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_CLIP_PLANE4

public static final int GL_CLIP_PLANE4
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_CLIP_PLANE5

public static final int GL_CLIP_PLANE5
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_CURRENT_COLOR

public static final int GL_CURRENT_COLOR
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_CURRENT_NORMAL

public static final int GL_CURRENT_NORMAL
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_CURRENT_TEXTURE_COORDS

public static final int GL_CURRENT_TEXTURE_COORDS
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_POINT_SIZE

public static final int GL_POINT_SIZE
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_POINT_SIZE_MIN

public static final int GL_POINT_SIZE_MIN
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_POINT_SIZE_MAX

public static final int GL_POINT_SIZE_MAX
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_POINT_FADE_THRESHOLD_SIZE

public static final int GL_POINT_FADE_THRESHOLD_SIZE
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_POINT_DISTANCE_ATTENUATION

public static final int GL_POINT_DISTANCE_ATTENUATION
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_LINE_WIDTH

public static final int GL_LINE_WIDTH
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_CULL_FACE_MODE

public static final int GL_CULL_FACE_MODE
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_FRONT_FACE

public static final int GL_FRONT_FACE
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_SHADE_MODEL

public static final int GL_SHADE_MODEL
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_DEPTH_RANGE

public static final int GL_DEPTH_RANGE
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_DEPTH_WRITEMASK

public static final int GL_DEPTH_WRITEMASK
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_DEPTH_CLEAR_VALUE

public static final int GL_DEPTH_CLEAR_VALUE
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_DEPTH_FUNC

public static final int GL_DEPTH_FUNC
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_STENCIL_CLEAR_VALUE

public static final int GL_STENCIL_CLEAR_VALUE
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_STENCIL_FUNC

public static final int GL_STENCIL_FUNC
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_STENCIL_VALUE_MASK

public static final int GL_STENCIL_VALUE_MASK
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_STENCIL_FAIL

public static final int GL_STENCIL_FAIL
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_STENCIL_PASS_DEPTH_FAIL

public static final int GL_STENCIL_PASS_DEPTH_FAIL
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_STENCIL_PASS_DEPTH_PASS

public static final int GL_STENCIL_PASS_DEPTH_PASS
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_STENCIL_REF

public static final int GL_STENCIL_REF
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_STENCIL_WRITEMASK

public static final int GL_STENCIL_WRITEMASK
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_MATRIX_MODE

public static final int GL_MATRIX_MODE
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_VIEWPORT

public static final int GL_VIEWPORT
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_MODELVIEW_STACK_DEPTH

public static final int GL_MODELVIEW_STACK_DEPTH
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_PROJECTION_STACK_DEPTH

public static final int GL_PROJECTION_STACK_DEPTH
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_TEXTURE_STACK_DEPTH

public static final int GL_TEXTURE_STACK_DEPTH
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_MODELVIEW_MATRIX

public static final int GL_MODELVIEW_MATRIX
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_PROJECTION_MATRIX

public static final int GL_PROJECTION_MATRIX
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_TEXTURE_MATRIX

public static final int GL_TEXTURE_MATRIX
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_ALPHA_TEST_FUNC

public static final int GL_ALPHA_TEST_FUNC
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_ALPHA_TEST_REF

public static final int GL_ALPHA_TEST_REF
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_BLEND_DST

public static final int GL_BLEND_DST
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_BLEND_SRC

public static final int GL_BLEND_SRC
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_LOGIC_OP_MODE

public static final int GL_LOGIC_OP_MODE
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_SCISSOR_BOX

public static final int GL_SCISSOR_BOX
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_COLOR_CLEAR_VALUE

public static final int GL_COLOR_CLEAR_VALUE
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_COLOR_WRITEMASK

public static final int GL_COLOR_WRITEMASK
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_MAX_CLIP_PLANES

public static final int GL_MAX_CLIP_PLANES
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_POLYGON_OFFSET_UNITS

public static final int GL_POLYGON_OFFSET_UNITS
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_POLYGON_OFFSET_FACTOR

public static final int GL_POLYGON_OFFSET_FACTOR
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_TEXTURE_BINDING_2D

public static final int GL_TEXTURE_BINDING_2D
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_VERTEX_ARRAY_SIZE

public static final int GL_VERTEX_ARRAY_SIZE
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_VERTEX_ARRAY_TYPE

public static final int GL_VERTEX_ARRAY_TYPE
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_VERTEX_ARRAY_STRIDE

public static final int GL_VERTEX_ARRAY_STRIDE
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_NORMAL_ARRAY_TYPE

public static final int GL_NORMAL_ARRAY_TYPE
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_NORMAL_ARRAY_STRIDE

public static final int GL_NORMAL_ARRAY_STRIDE
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_COLOR_ARRAY_SIZE

public static final int GL_COLOR_ARRAY_SIZE
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_COLOR_ARRAY_TYPE

public static final int GL_COLOR_ARRAY_TYPE
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_COLOR_ARRAY_STRIDE

public static final int GL_COLOR_ARRAY_STRIDE
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_TEXTURE_COORD_ARRAY_SIZE

public static final int GL_TEXTURE_COORD_ARRAY_SIZE
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_TEXTURE_COORD_ARRAY_TYPE

public static final int GL_TEXTURE_COORD_ARRAY_TYPE
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_TEXTURE_COORD_ARRAY_STRIDE

public static final int GL_TEXTURE_COORD_ARRAY_STRIDE
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_VERTEX_ARRAY_POINTER

public static final int GL_VERTEX_ARRAY_POINTER
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_NORMAL_ARRAY_POINTER

public static final int GL_NORMAL_ARRAY_POINTER
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_COLOR_ARRAY_POINTER

public static final int GL_COLOR_ARRAY_POINTER
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_TEXTURE_COORD_ARRAY_POINTER

public static final int GL_TEXTURE_COORD_ARRAY_POINTER
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_SAMPLE_BUFFERS

public static final int GL_SAMPLE_BUFFERS
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_SAMPLES

public static final int GL_SAMPLES
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_SAMPLE_COVERAGE_VALUE

public static final int GL_SAMPLE_COVERAGE_VALUE
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_SAMPLE_COVERAGE_INVERT

public static final int GL_SAMPLE_COVERAGE_INVERT
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_GENERATE_MIPMAP_HINT

public static final int GL_GENERATE_MIPMAP_HINT
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_GENERATE_MIPMAP

public static final int GL_GENERATE_MIPMAP
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_ACTIVE_TEXTURE

public static final int GL_ACTIVE_TEXTURE
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_CLIENT_ACTIVE_TEXTURE

public static final int GL_CLIENT_ACTIVE_TEXTURE
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_ARRAY_BUFFER

public static final int GL_ARRAY_BUFFER
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_ELEMENT_ARRAY_BUFFER

public static final int GL_ELEMENT_ARRAY_BUFFER
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_ARRAY_BUFFER_BINDING

public static final int GL_ARRAY_BUFFER_BINDING
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_ELEMENT_ARRAY_BUFFER_BINDING

public static final int GL_ELEMENT_ARRAY_BUFFER_BINDING
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_VERTEX_ARRAY_BUFFER_BINDING

public static final int GL_VERTEX_ARRAY_BUFFER_BINDING
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_NORMAL_ARRAY_BUFFER_BINDING

public static final int GL_NORMAL_ARRAY_BUFFER_BINDING
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_COLOR_ARRAY_BUFFER_BINDING

public static final int GL_COLOR_ARRAY_BUFFER_BINDING
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING

public static final int GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_STATIC_DRAW

public static final int GL_STATIC_DRAW
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_DYNAMIC_DRAW

public static final int GL_DYNAMIC_DRAW
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_WRITE_ONLY

public static final int GL_WRITE_ONLY
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_BUFFER_SIZE

public static final int GL_BUFFER_SIZE
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_BUFFER_USAGE

public static final int GL_BUFFER_USAGE
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_BUFFER_ACCESS

public static final int GL_BUFFER_ACCESS
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_SUBTRACT

public static final int GL_SUBTRACT
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_COMBINE

public static final int GL_COMBINE
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_COMBINE_RGB

public static final int GL_COMBINE_RGB
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_COMBINE_ALPHA

public static final int GL_COMBINE_ALPHA
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_RGB_SCALE

public static final int GL_RGB_SCALE
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_ADD_SIGNED

public static final int GL_ADD_SIGNED
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_INTERPOLATE

public static final int GL_INTERPOLATE
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_CONSTANT

public static final int GL_CONSTANT
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_PRIMARY_COLOR

public static final int GL_PRIMARY_COLOR
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_PREVIOUS

public static final int GL_PREVIOUS
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_OPERAND0_RGB

public static final int GL_OPERAND0_RGB
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_OPERAND1_RGB

public static final int GL_OPERAND1_RGB
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_OPERAND2_RGB

public static final int GL_OPERAND2_RGB
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_OPERAND0_ALPHA

public static final int GL_OPERAND0_ALPHA
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_OPERAND1_ALPHA

public static final int GL_OPERAND1_ALPHA
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_OPERAND2_ALPHA

public static final int GL_OPERAND2_ALPHA
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_ALPHA_SCALE

public static final int GL_ALPHA_SCALE
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_SRC0_RGB

public static final int GL_SRC0_RGB
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_SRC1_RGB

public static final int GL_SRC1_RGB
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_SRC2_RGB

public static final int GL_SRC2_RGB
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_SRC0_ALPHA

public static final int GL_SRC0_ALPHA
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_SRC1_ALPHA

public static final int GL_SRC1_ALPHA
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_SRC2_ALPHA

public static final int GL_SRC2_ALPHA
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_DOT3_RGB

public static final int GL_DOT3_RGB
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_DOT3_RGBA

public static final int GL_DOT3_RGBA
OpenGL ES 1.1 constant.

See Also:
Constant Field Values

GL_MODELVIEW_MATRIX_FLOAT_AS_INT_BITS_OES

public static final int GL_MODELVIEW_MATRIX_FLOAT_AS_INT_BITS_OES
Constant for use with glGet (OES_matrix_get extension).

See Also:
Constant Field Values

GL_PROJECTION_MATRIX_FLOAT_AS_INT_BITS_OES

public static final int GL_PROJECTION_MATRIX_FLOAT_AS_INT_BITS_OES
Constant for use with glGet (OES_matrix_get extension).

See Also:
Constant Field Values

GL_TEXTURE_MATRIX_FLOAT_AS_INT_BITS_OES

public static final int GL_TEXTURE_MATRIX_FLOAT_AS_INT_BITS_OES
Constant for use with glGet (OES_matrix_get extension).

See Also:
Constant Field Values

GL_POINT_SPRITE_OES

public static final int GL_POINT_SPRITE_OES
Constant for use with glTexEnv and glEnable (OES_point_sprite extension).

See Also:
Constant Field Values

GL_COORD_REPLACE_OES

public static final int GL_COORD_REPLACE_OES
Constant for use with glTexEnv (OES_point_sprite extension).

See Also:
Constant Field Values

GL_POINT_SIZE_ARRAY_OES

public static final int GL_POINT_SIZE_ARRAY_OES
Constant for use with glEnableClientState and glDisableClientState (OES_point_size_array extension).

See Also:
Constant Field Values

GL_POINT_SIZE_ARRAY_TYPE_OES

public static final int GL_POINT_SIZE_ARRAY_TYPE_OES
Constant for use with glGet (OES_point_size_array extension).

See Also:
Constant Field Values

GL_POINT_SIZE_ARRAY_STRIDE_OES

public static final int GL_POINT_SIZE_ARRAY_STRIDE_OES
Constant for use with glGet (OES_point_size_array extension).

See Also:
Constant Field Values

GL_POINT_SIZE_ARRAY_POINTER_OES

public static final int GL_POINT_SIZE_ARRAY_POINTER_OES
Constant for use with glGetPointer (OES_point_size_array extension).

See Also:
Constant Field Values

GL_POINT_SIZE_ARRAY_BUFFER_BINDING_OES

public static final int GL_POINT_SIZE_ARRAY_BUFFER_BINDING_OES
Constant for use with glGet (OES_point_size_array extension).

See Also:
Constant Field Values
Method Detail

glGenBuffers

public void glGenBuffers(int n,
                         int[] buffers,
                         int offset)
Generate buffer object names.

glGenBuffers returns n buffer object names in buffers.

These names are marked as used, for the purposes of glGenBuffers only, but they acquire buffer state only when they are first bound, just as if they were unused.

Errors

GL_INVALID_VALUE is generated if n is negative.

Parameters:
n - Specifies the number of buffer object names to be generated.
buffers - Specifies an array in which the generated buffer object names are stored.
offset - the starting offset within the buffers array.
Throws:
java.lang.IllegalArgumentException - if buffers is null.
java.lang.IllegalArgumentException - if offset is less than 0.
java.lang.IllegalArgumentException - if buffers.length - offset is less than n.

glGenBuffers

public void glGenBuffers(int n,
                         IntBuffer buffers)
Integer Buffer version of glGenBuffers.

Throws:
java.lang.IllegalArgumentException - if buffers is null.
java.lang.IllegalArgumentException - if buffers.remaining() is less than n.
See Also:
glGenBuffers(int n, int[] buffers, int offset)

glBindBuffer

public void glBindBuffer(int target,
                         int buffer)
Bind a named buffer to a target.

glBindBuffer lets you create or use a named buffer. Calling glBindBuffer with target set to GL_ARRAY_BUFFER or GL_ELEMENT_ARRAY_BUFFER and buffer set to the buffer name, binds the buffer name to the target.

Buffer names are unsigned integers. The value 0 is reserved for GL.

When a buffer is bound to a target, any previous binding for that target is automatically broken.

If an unused buffer name is specified, a buffer object is created. The resulting buffer object is a new state vector, initialized with a zero-sized memory buffer, and with the following state values.

GL_BUFFER_SIZE initialized to 0.

GL_BUFFER_USAGE initialized to GL_STATIC_DRAW.

GL_BUFFER_ACCESS initialized to GL_WRITE_ONLY.

glBindBuffer may also be used to bind an existing buffer object. If the bind is successful no change is made to the state of the newly bound buffer object.

While a buffer is bound, GL operations on the target to which it is bound affect the bound buffer object, and queries of the target to which a buffer object is bound return state from the bound object.

Notes

In the initial state the reserved name zero is bound to GL_ARRAY_BUFFER and GL_ELEMENT_ARRAY_BUFFER. There is no buffer object corresponding to the name zero, so client attempts to modify or query buffer object state for the target GL_ARRAY_BUFFER or GL_ELEMENT_ARRAY_BUFFER while zero is bound will generate GL errors.

While a buffer object is bound, any GL operations on that object affect any other bindings of that object.

Errors

GL_INVALID_ENUM is generated if target is not one of the allowable values.

Parameters:
target - Specifies the target to which the buffer is bound. Which must be GL_ARRAY_BUFFER or GL_ELEMENT_ARRAY_BUFFER.
buffer - Specifies the name of a buffer.

glBufferData

public void glBufferData(int target,
                         int size,
                         Buffer data,
                         int usage)
Creates and initializes the data store of a buffer object. glBufferData lets you create and initialize the data store of a buffer object.

If data is non-null, then the source data is copied to the buffer object’s data store. If data is null, then the contents of the buffer object’s data store are undefined.

The options for usage are:

glBufferData deletes any existing data store, and sets the values of the buffer object’s state variables thus:

GL_BUFFER_SIZE initialized to size.

GL_BUFFER_USAGE initialized to usage.

GL_BUFFER_ACCESS initialized to GL_WRITE_ONLY.

Clients must align data elements consistent with the requirements of the client platform, with an additional base-level requirement that an offset within a buffer to a datum comprising N basic machine units be a multiple of N.

Notes

usage is provided as a performance hint only. The specified usage value does not constrain the actual usage pattern of the data store.

Errors

GL_INVALID_ENUM is generated if target is not one of the allowable values.

GL_INVALID_ENUM is generated if usage is not one of the allowable values.

GL_OUT_OF_MEMORY is generated if the GL is unable to create a data store of the requested size.

Parameters:
target - Specifies the buffer object target, which must be GL_ARRAY_BUFFER or GL_ELEMENT_ARRAY_BUFFER.
size - Specifies the size of the data store in basic machine units.
data - Specifies the source data in client memory.
usage - Specifies the expected application usage pattern of the data store. Accepted values are GL_STATIC_DRAW and GL_DYNAMIC_DRAW.
Throws:
java.lang.IllegalArgumentException - if data is non-null but is not a direct buffer.

glBufferSubData

public void glBufferSubData(int target,
                            int offset,
                            int size,
                            Buffer data)
Modifies some or all of the data contained in a buffer object's data store.

glBufferSubData lets you modify some or all of the data contained in a buffer object's data store.

Errors

GL_INVALID_ENUM is generated if target is not one of the allowable values.

GL_INVALID_VALUE is generated if offset or size is less than zero, or if offset + size is greater than the value of GL_BUFFER_SIZE.

Parameters:
target - Specifies the buffer object target. Must be GL_ARRAY_BUFFER or GL_ELEMENT_ARRAY_BUFFER.
offset - Specifies the starting offset of the data to be replaced in bytes.
size - Specifies the size of the data to be replaced in bytes.
data - Specifies a region of client memory size bytes in length, containing the data that replace the specified buffer range.
Throws:
java.lang.IllegalArgumentException - if data is null.

glDeleteBuffers

public void glDeleteBuffers(int n,
                            int[] buffers,
                            int offset)
Delete named buffer objects.

glDeleteBuffers deletes n buffer objects named by the elements of the array buffers. After a buffer object is deleted, it has no contents, and its name is free for reuse.

glDeleteBuffers silently ignores zero and names that do not correspond to existing buffer objects.

Notes

If a buffer object is deleted while it is bound, all bindings to that object in the current context (i.e., in the thread that called glDeleteBuffers) are reset to zero. Bindings to that buffer in other contexts and other threads are not affected, but attempting to use a deleted buffer in another thread produces undefined results, including but not limited to possible GL errors and rendering corruption. Using a deleted buffer in another context or thread may not, however, result in program termination.

Errors

GL_INVALID_VALUE is generated if n is negative.

Parameters:
n - Specifies the number of buffer objects to be deleted.
buffers - Specifies an array of buffer object names to be deleted.
offset - the starting offset within the buffers array.
Throws:
java.lang.IllegalArgumentException - if buffers is null.
java.lang.IllegalArgumentException - if offset is less than 0.
java.lang.IllegalArgumentException - if buffers.length - offset is less than n.

glDeleteBuffers

public void glDeleteBuffers(int n,
                            IntBuffer buffers)
Integer Buffer version of glDeleteBuffers.

Throws:
java.lang.IllegalArgumentException - if buffers is null.
java.lang.IllegalArgumentException - if buffers.remaining() is less than n.
See Also:
glDeleteBuffers(int n, int[] buffers, int offset)

glClipPlanef

public void glClipPlanef(int plane,
                         float[] equation,
                         int offset)
Specify a plane against which all geometry is clipped.

Geometry is always clipped against the boundaries of a six-plane frustum in x, y, and z. glClipPlane allows the specification of additional planes, not necessarily perpendicular to the x, y, or z axis, against which all geometry is clipped. To determine the maximum number of additional clipping planes, call glGet with argument GL_MAX_CLIP_PLANES. All implementations support at least one such clipping planes. Because the resulting clipping region is the intersection of the defined half-spaces, it is always convex.

glClipPlane specifies a half-space using a four-component plane equation. When glClipPlane is called, equation is transformed by the inverse of the modelview matrix and stored in the resulting eye coordinates. Subsequent changes to the modelview matrix have no effect on the stored plane-equation components. If the dot product of the eye coordinates of a vertex with the stored plane equation components is positive or zero, the vertex is in with respect to that clipping plane. Otherwise, it is out.

To enable and disable clipping planes, call glEnable and glDisable with the argument GL_CLIP_PLANEi, where i is the plane number.

All clipping planes are initially defined as (0, 0, 0, 0) in eye coordinates and are disabled.

Notes

It is always the case that GL_CLIP_PLANEi = GL_CLIP_PLANE0 + i.

Errors

GL_INVALID_ENUM is generated if plane is not an accepted value.

Associated Gets

glGetClipPlane, glIsEnabled with argument GL_CLIP_PLANEi.

Parameters:
plane - Specifies which clipping plane is being positioned. Symbolic names of the form GL_CLIP_PLANEi where 0 < i < GL_MAX_CLIP_PLANES are accepted.
equation - Specifies an array of four values. These values are interpreted as a plane equation.
offset - the starting offset within the equation array.
Throws:
java.lang.IllegalArgumentException - if equation is null.
java.lang.IllegalArgumentException - if offset is less than 0.
java.lang.IllegalArgumentException - if equation.length - offset is less than 4.

glClipPlanef

public void glClipPlanef(int plane,
                         FloatBuffer equation)
Floating-point Buffer version of glClipPlane.

Throws:
java.lang.IllegalArgumentException - if equation is null.
java.lang.IllegalArgumentException - if equation.remaining() is less than 4.
See Also:
glClipPlanef(int plane, float[] equation, int offset)

glClipPlanex

public void glClipPlanex(int plane,
                         int[] equation,
                         int offset)
Fixed-point array version of glClipPlane.

Throws:
java.lang.IllegalArgumentException - if equation is null.
java.lang.IllegalArgumentException - if offset is less than 0.
java.lang.IllegalArgumentException - if equation.length - offset is less than 4.
See Also:
glClipPlanef(int plane, float[] equation, int offset)

glClipPlanex

public void glClipPlanex(int plane,
                         IntBuffer equation)
Fixed-point Buffer version of glClipPlane.

Throws:
java.lang.IllegalArgumentException - if equation is null.
java.lang.IllegalArgumentException - if equation.remaining() is less than 4.
See Also:
glClipPlanef(int plane, float[] equation, int offset)

glGetFloatv

public void glGetFloatv(int pname,
                        float[] params,
                        int offset)
Floating-point array version of glGet.

Throws:
java.lang.IllegalArgumentException - if params is null.
java.lang.IllegalArgumentException - if offset is less than 0.
java.lang.IllegalArgumentException - if params.length - offset is smaller than the number of values required by the parameter.
See Also:
GL10.glGetIntegerv(int pname, int[] params, int offset)

glGetFloatv

public void glGetFloatv(int pname,
                        FloatBuffer params)
Floating-point Buffer version of glGet.

Throws:
java.lang.IllegalArgumentException - if params is null.
java.lang.IllegalArgumentException - if params.remaining() is smaller than the number of values required by the parameter.
See Also:
GL10.glGetIntegerv(int pname, int[] params, int offset)

glGetBooleanv

public void glGetBooleanv(int pname,
                          boolean[] params,
                          int offset)
Boolean array version of glGet.

Throws:
java.lang.IllegalArgumentException - if params is null.
java.lang.IllegalArgumentException - if offset is less than 0.
java.lang.IllegalArgumentException - if params.length - offset is smaller than the number of values required by the parameter.
See Also:
GL10.glGetIntegerv(int pname, int[] params, int offset)

glGetBooleanv

public void glGetBooleanv(int pname,
                          IntBuffer params)
Boolean Buffer version of glGet. A value of 0 represents false and a value of 1 represents true.

Throws:
java.lang.IllegalArgumentException - if params is null.
java.lang.IllegalArgumentException - if params.remaining() is smaller than the number of values required by the parameter.
See Also:
GL10.glGetIntegerv(int pname, int[] params, int offset)

glGetFixedv

public void glGetFixedv(int pname,
                        int[] params,
                        int offset)
Fixed-point array version of glGet.

Throws:
java.lang.IllegalArgumentException - if params is null.
java.lang.IllegalArgumentException - if offset is less than 0.
java.lang.IllegalArgumentException - if params.length - offset is smaller than the number of values required by the parameter.
See Also:
GL10.glGetIntegerv(int pname, int[] params, int offset)

glGetFixedv

public void glGetFixedv(int pname,
                        IntBuffer params)
Fixed-point Buffer version of glGet.

Throws:
java.lang.IllegalArgumentException - if params is null.
java.lang.IllegalArgumentException - if params.remaining() is smaller than the number of values required by the parameter.
See Also:
GL10.glGetIntegerv(int pname, int[] params, int offset)

glGetBufferParameteriv

public void glGetBufferParameteriv(int target,
                                   int pname,
                                   int[] params,
                                   int offset)
Return buffer parameter values.

glGetBufferParameter returns in params the value or values of the buffer object parameter specified as pname. target defines the target buffer object, which must be GL_ARRAY_BUFFER.

Errors

GL_INVALID_ENUM is generated if target or pname is not one of the accepted defined values.

Parameters:
target - Specifies the buffer object target. Which must be GL_ARRAY_BUFFER.
pname - Specifies the symbolic name of a buffer object parameter. Which can be either GL_BUFFER_SIZE, GL_BUFFER_USAGE, or GL_BUFFER_ACCESS.
params - returns the buffer object parameters.
Throws:
java.lang.IllegalArgumentException - if params is null.
java.lang.IllegalArgumentException - if offset is less than 0.
java.lang.IllegalArgumentException - if params.length - offset is smaller than the number of values required by the parameter.

glGetBufferParameteriv

public void glGetBufferParameteriv(int target,
                                   int pname,
                                   IntBuffer params)
Integer Buffer version of glGetBufferParameter.

Throws:
java.lang.IllegalArgumentException - if params is null.
java.lang.IllegalArgumentException - if params.remaining() is smaller than the number of values required by the parameter.
See Also:
glGetBufferParameteriv(int target, int pname, int[] params, int offset)

glGetClipPlanef

public void glGetClipPlanef(int plane,
                            float[] equation,
                            int offset)
Return the coefficients of the specified clipping plane.

glGetClipPlane returns in equation the four coefficients of the plane equation for plane.

Notes

It is always the case that GL_CLIP_PLANEi = GL_CLIP_PLANE0 + i.

If an error is generated, no change is made to the contents of equation.

Errors

GL_INVALID_ENUM is generated if plane is not an accepted value.

Parameters:
plane - Specifies a clipping plane. The number of clipping planes depends on the implementation, but at least six clipping planes are supported. They are identified by symbolic names of the form GL_CLIP_PLANEi where 0 < i < GL_MAX_CLIP_PLANES
equation - Returns four values that are the coefficients of the plane equation of plane in eye coordinates. The initial value is (0, 0, 0, 0).
offset - the starting offset within the equation array.
Throws:
java.lang.IllegalArgumentException - if equation is null.
java.lang.IllegalArgumentException - if offset is less than 0.
java.lang.IllegalArgumentException - if equation.length - offset is less than 4.

glGetClipPlanef

public void glGetClipPlanef(int plane,
                            FloatBuffer equation)
Floating-point Buffer version of glGetClipPlane.

Throws:
java.lang.IllegalArgumentException - if equation is null.
java.lang.IllegalArgumentException - if equation.remaining() is less than 4.
See Also:
glGetClipPlanef(int plane, float[] equation, int offset)

glGetClipPlanex

public void glGetClipPlanex(int plane,
                            int[] equation,
                            int offset)
Fixed-point array version of glGetClipPlane.

Throws:
java.lang.IllegalArgumentException - if equation is null.
java.lang.IllegalArgumentException - if offset is less than 0.
java.lang.IllegalArgumentException - if equation.length - offset is less than 4.
See Also:
glGetClipPlanef(int plane, float[] equation, int offset)

glGetClipPlanex

public void glGetClipPlanex(int plane,
                            IntBuffer equation)
Fixed-point Buffer version of glGetClipPlane.

Throws:
java.lang.IllegalArgumentException - if equation is null.
java.lang.IllegalArgumentException - if equation.remaining() is less than 4.
See Also:
glGetClipPlanef(int plane, float[] equation, int offset)

glGetLightfv

public void glGetLightfv(int light,
                         int pname,
                         float[] params,
                         int offset)
Return light source parameter values.

glGetLight returns in params the value or values of a light source parameter. light names the light and is a symbolic name of the form GL_LIGHTi for 0 < i < GL_MAX_LIGHTS where GL_MAX_LIGHTS is an implementation dependent constant that is greater than or equal to eight. pname specifies one of ten light source parameters, again by symbolic name. The ten light parameters are defined:

Notes

It is always the case that GL_LIGHTi = GL_LIGHT0 + i.

If an error is generated, no change is made to the contents of params.

Errors

GL_INVALID_ENUM is generated if light or pname is not an accepted value.

Parameters:
light - Specifies a light source. The number of possible lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHTi where 0 < i < GL_MAX_LIGHTS.
pname - Specifies a light source parameter for light. Accepted symbolic names are GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_EMISSION, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION.
params - returns the requested data.
offset - the starting offset within the params array.
Throws:
java.lang.IllegalArgumentException - if params is null.
java.lang.IllegalArgumentException - if offset is less than 0.
java.lang.IllegalArgumentException - if params.length - offset is smaller than the number of values required by the parameter.

glGetLightfv

public void glGetLightfv(int light,
                         int pname,
                         FloatBuffer params)
Floating-point Buffer version of glGetLight.

Throws:
java.lang.IllegalArgumentException - if params is null.
java.lang.IllegalArgumentException - if params.remaining() is smaller than the number of values required by the parameter.
See Also:
glGetLightfv(int light, int pname, float[] params, int offset)

glGetLightxv

public void glGetLightxv(int light,
                         int pname,
                         int[] params,
                         int offset)
Fixed-point array version of glGetLight.

Throws:
java.lang.IllegalArgumentException - if params is null.
java.lang.IllegalArgumentException - if offset is less than 0.
java.lang.IllegalArgumentException - if params.length - offset is smaller than the number of values required by the parameter.
See Also:
glGetLightfv(int light, int pname, float[] params, int offset)

glGetLightxv

public void glGetLightxv(int light,
                         int pname,
                         IntBuffer params)
Fixed-point Buffer version of glGetLight.

Throws:
java.lang.IllegalArgumentException - if params is null.
java.lang.IllegalArgumentException - if params.remaining() is smaller than the number of values required by the parameter.
See Also:
glGetLightfv(int light, int pname, float[] params, int offset)

glGetMaterialfv

public void glGetMaterialfv(int face,
                            int pname,
                            float[] params,
                            int offset)
Return material parameters values.

glGetMaterial returns in params the value or values of parameter pname of material face.

Five parameters are defined:

Notes

If an error is generated, no change is made to the contents of params.

Errors

GL_INVALID_ENUM is generated if face or pname is not an accepted value.

Parameters:
face - Specifies which of the two materials is being queried. GL_FRONT or GL_BACK are accepted, representing the front and back materials, respectively.
pname - Specifies the material parameter to return. Accepted symbolic names are GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_EMISSION, and GL_SHININESS.
params - returns the requested data.
offset - the starting offset within the params array.
Throws:
java.lang.IllegalArgumentException - if params is null.
java.lang.IllegalArgumentException - if offset is less than 0.
java.lang.IllegalArgumentException - if params.length - offset is smaller than the number of values required by the parameter.

glGetMaterialfv

public void glGetMaterialfv(int face,
                            int pname,
                            FloatBuffer params)
Floating-point Buffer version of glGetMaterial.

Throws:
java.lang.IllegalArgumentException - if params is null.
java.lang.IllegalArgumentException - if params.remaining() is smaller than the number of values required by the parameter.
See Also:
glGetMaterialfv(int face, int pname, float[] params, int offset)

glGetMaterialxv

public void glGetMaterialxv(int face,
                            int pname,
                            int[] params,
                            int offset)
Fixed-point array version of glGetMaterial.

Throws:
java.lang.IllegalArgumentException - if params is null.
java.lang.IllegalArgumentException - if offset is less than 0.
java.lang.IllegalArgumentException - if params.length - offset is smaller than the number of values required by the parameter.
See Also:
glGetMaterialfv(int face, int pname, float[] params, int offset)

glGetMaterialxv

public void glGetMaterialxv(int face,
                            int pname,
                            IntBuffer params)
Fixed-point Buffer version of glGetMaterial.

Throws:
java.lang.IllegalArgumentException - if params is null.
java.lang.IllegalArgumentException - if params.remaining() is smaller than the number of values required by the parameter.
See Also:
glGetMaterialfv(int face, int pname, float[] params, int offset)

glGetPointerv

public void glGetPointerv(int pname,
                          Buffer[] params)
Return the Buffer associated with the specified pointer.

glGetPointer returns pointer information in the form of a Buffer reference. pname is a symbolic constant indicating the pointer to be returned, and params is an array of Buffers in which the returned data will be placed in element 0.

Notes

The pointers are all client-side state.

The initial value for each pointer is null.

Errors

GL_INVALID_ENUM is generated if pname is not an accepted value.

Parameters:
pname - Specifies the array or buffer pointer to be returned. Accepted symbolic names are GL11.GL_COLOR_ARRAY_POINTER, GL11.GL_NORMAL_ARRAY_POINTER, GL11.GL_TEXTURE_COORD_ARRAY_POINTER, GL11.GL_VERTEX_ARRAY_POINTER, GL11.GL_POINT_SIZE_ARRAY_POINTER_OES, GL11Ext.GL_MATRIX_INDEX_ARRAY_POINTER_OES, and GL11Ext.GL_WEIGHT_ARRAY_POINTER_OES.
params - a non-null array of Buffers containing at least one element.
Throws:
java.lang.IllegalArgumentException - if params is null or has length less than 1.

glGetTexEnvfv

public void glGetTexEnvfv(int env,
                          int pname,
                          float[] params,
                          int offset)
Return texture environment parameters.

glGetTexParameter returns in params selected values of a texture environment that was specified with glTexEnv. target specifies a texture environment. Currently, only one texture environment is defined and supported: GL_TEXTURE_ENV.

pname names a specific texture environment parameter, as follows:

  • GL_TEXTURE_ENV_MODE
  • params returns the single-valued texture environment mode, a symbolic constant. The initial value is GL_MODULATE.

  • GL_TEXTURE_ENV_COLOR
  • params returns four fixed or floating-point values that are the texture environment color. The initial value is (0, 0, 0, 0).

    Notes

    If an error is generated, no change is made to the contents of params.

    Errors

    GL_INVALID_ENUM is generated if target or pname is not one of the accepted defined values.

    Parameters:
    env - Specifies a texture environment, which must be GL_TEXTURE_ENV.
    pname - Specifies the symbolic name of a texture environment parameter. pname can be one of the following: GL_TEXTURE_ENV_MODE, GL_TEXTURE_ENV_COLOR, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_GENERATE_MIPMAP.
    params - returns the requested data.
    offset - the starting offset within the params array.
    Throws:
    java.lang.IllegalArgumentException - if params is null.
    java.lang.IllegalArgumentException - if offset is less than 0.
    java.lang.IllegalArgumentException - if params.length - offset is smaller than the number of values required by the parameter.

    glGetTexEnvfv

    public void glGetTexEnvfv(int env,
                              int pname,
                              FloatBuffer params)
    Floating-point Buffer version of glGetTexEnv.

    Throws:
    java.lang.IllegalArgumentException - if params is null.
    java.lang.IllegalArgumentException - if params.remaining() is smaller than the number of values required by the parameter.
    See Also:
    glGetTexEnvfv(int env, int pname, float[] params, int offset)

    glGetTexEnviv

    public void glGetTexEnviv(int env,
                              int pname,
                              int[] params,
                              int offset)
    Integer array version of glGetTexEnv.

    Throws:
    java.lang.IllegalArgumentException - if params is null.
    java.lang.IllegalArgumentException - if offset is less than 0.
    java.lang.IllegalArgumentException - if params.length - offset is smaller than the number of values required by the parameter.
    See Also:
    glGetTexEnvfv(int env, int pname, float[] params, int offset)

    glGetTexEnviv

    public void glGetTexEnviv(int env,
                              int pname,
                              IntBuffer params)
    Integer Buffer version of glGetTExEnv.

    Throws:
    java.lang.IllegalArgumentException - if params is null.
    java.lang.IllegalArgumentException - if params.remaining() is smaller than the number of values required by the parameter.
    See Also:
    glGetTexEnvfv(int env, int pname, float[] params, int offset)

    glGetTexEnvxv

    public void glGetTexEnvxv(int env,
                              int pname,
                              int[] params,
                              int offset)
    Fixed-point version of glGetTexEnv.

    Throws:
    java.lang.IllegalArgumentException - if params is null.
    java.lang.IllegalArgumentException - if offset is less than 0.
    java.lang.IllegalArgumentException - if params.length - offset is smaller than the number of values required by the parameter.
    See Also:
    glGetTexEnvfv(int env, int pname, float[] params, int offset)

    glGetTexEnvxv

    public void glGetTexEnvxv(int env,
                              int pname,
                              IntBuffer params)
    Fixed-point Buffer version of glGetTexEnv.

    Throws:
    java.lang.IllegalArgumentException - if params is null.
    java.lang.IllegalArgumentException - if params.remaining() is smaller than the number of values required by the parameter.
    See Also:
    glGetTexEnvfv(int env, int pname, float[] params, int offset)

    glGetTexParameterfv

    public void glGetTexParameterfv(int target,
                                    int pname,
                                    float[] params,
                                    int offset)
    Return texture parameter values.

    glGetTexParameter returns in params the value or values of the texture parameter specified as pname. target defines the target texture, which must be GL_TEXTURE_2D which specifies two-dimensional texturing. pname accepts the same symbols as glTexParameter, with the same interpretations:

    Notes

    If an error is generated, no change is made to the contents of params.

    Errors

    GL_INVALID_ENUM is generated if target or pname is not one of the accepted defined values.

    Parameters:
    target - Specifies the target texture, which must be GL_TEXTURE_2D.
    pname - Specifies the symbolic name of a texture parameter. pname can be one of the following: GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_GENERATE_MIPMAP.
    params - returns the texture parameters.
    offset - the starting offset within the params array.
    Throws:
    java.lang.IllegalArgumentException - if params is null.
    java.lang.IllegalArgumentException - if offset is less than 0.
    java.lang.IllegalArgumentException - if params.length - offset is smaller than the number of values required by the parameter.

    glGetTexParameterfv

    public void glGetTexParameterfv(int target,
                                    int pname,
                                    FloatBuffer params)
    Floating-point Buffer version of glGetTexParameter.

    Throws:
    java.lang.IllegalArgumentException - if params is null.
    java.lang.IllegalArgumentException - if params.remaining() is smaller than the number of values required by the parameter.
    See Also:
    glGetTexParameterfv(int target, int pname, float[] params, int offset)

    glGetTexParameteriv

    public void glGetTexParameteriv(int target,
                                    int pname,
                                    int[] params,
                                    int offset)
    Integer array version of glGetTexParameter.

    Throws:
    java.lang.IllegalArgumentException - if params is null.
    java.lang.IllegalArgumentException - if offset is less than 0.
    java.lang.IllegalArgumentException - if params.length - offset is smaller than the number of values required by the parameter.
    See Also:
    glGetTexParameterfv(int target, int pname, float[] params, int offset)

    glGetTexParameteriv

    public void glGetTexParameteriv(int target,
                                    int pname,
                                    IntBuffer params)
    Integer Buffer version of glGetTexParameter.

    Throws:
    java.lang.IllegalArgumentException - if params is null.
    java.lang.IllegalArgumentException - if params.remaining() is smaller than the number of values required by the parameter.
    See Also:
    glGetTexParameterfv(int target, int pname, float[] params, int offset)

    glGetTexParameterxv

    public void glGetTexParameterxv(int target,
                                    int pname,
                                    int[] params,
                                    int offset)
    Fixed-point array version of glGetTexParameter.

    Throws:
    java.lang.IllegalArgumentException - if params is null.
    java.lang.IllegalArgumentException - if offset is less than 0.
    java.lang.IllegalArgumentException - if params.length - offset is smaller than the number of values required by the parameter.
    See Also:
    glGetTexParameterfv(int target, int pname, float[] params, int offset)

    glGetTexParameterxv

    public void glGetTexParameterxv(int target,
                                    int pname,
                                    IntBuffer params)
    Fixed-point Buffer version of glGetTexParameter.

    Throws:
    java.lang.IllegalArgumentException - if params is null.
    java.lang.IllegalArgumentException - if params.remaining() is smaller than the number of values required by the parameter.
    See Also:
    glGetTexParameterfv(int target, int pname, float[] params, int offset)

    glIsBuffer

    public boolean glIsBuffer(int buffer)
    Determine if a name corresponds to a buffer object.

    glIsBuffer returns true if buffer is currently the name of a buffer object. If buffer is zero, or is a non-zero value that is not currently the name of a buffer object, glIsBuffer returns false.

    Parameters:
    buffer - Specifies a value that may be the name of a buffer object.
    Returns:
    true if buffer is the name of a buffer object.

    glIsEnabled

    public boolean glIsEnabled(int cap)
    Test whether a capability is enabled.

    glIsEnabled returns true if cap is an enabled capability and returns false otherwise.

    The following capabilities are accepted for cap:

     Constant                        See function:
                     
     GL_ALPHA_TEST                   glAlphaFunc
     GL_ARRAY_BUFFER_BINDING         glBindBuffer
     GL_BLEND                        glBlendFunc, glLogicOp
     GL_CLIP_PLANE                   glClipPlane
     GL_COLOR_ARRAY                  glColorPointer
     GL_COLOR_LOGIC_OP               glLogicOp
     GL_COLOR_MATERIAL               glColorMaterial
     GL_CULL_FACE                    glCullFace
     GL_DEPTH_TEST                   glDepthFunc, glDepthRange
     GL_DITHER                       glEnable
     GL_FOG                          glFog
     GL_LIGHT                        glLight, glLightModel
     GL_LIGHTING                     glLight, glLightModel, glMaterial
     GL_LINE_SMOOTH                  glLineWidth
     GL_MATRIX_PALETTE_OES           glMatrixMode
     GL_MATRIX_INDEX_ARRAY_OES       glEnableClientState
     GL_MULTISAMPLE                  glEnable
     GL_NORMAL_ARRAY                 glNormalPointer
     GL_NORMALIZE                    glNormal
     GL_POINT_SIZE_ARRAY_OES         glEnableClientState
     GL_POINT_SMOOTH                 glPointSize
     GL_POINT_SPRITE_OES             glEnable, glTexEnv
     GL_POLYGON_OFFSET_FILL          glPolygonOffset
     GL_RESCALE_NORMAL               glEnable
     GL_SAMPLE_ALPHA_TO_COVERAGE     glEnable
     GL_SAMPLE_ALPHA_TO_ONE          glEnable
     GL_SAMPLE_COVERAGE              glEnable
     GL_SCISSOR_TEST                 glScissor
     GL_STENCIL_TEST                 glStencilFunc, glStencilOp
     GL_TEXTURE_2D                   glTexImage2D
     GL_TEXTURE_COORD_ARRAY          glTexCoordPointer
     GL_WEIGHT_ARRAY_OES             glEnableClientState
     GL_VERTEX_ARRAY                 glVertexPointer
     

    Notes

    If an error is generated, glIsEnabled returns 0.

    Errors

    GL_INVALID_ENUM is generated if cap is not an accepted value.

    Parameters:
    cap - Specifies a symbolic constant indicating a GL capability.
    Returns:
    true if the given capability is enabled.

    glIsTexture

    public boolean glIsTexture(int texture)
    Determine if a name corresponds to a texture.

    glIsTexture returns true if texture is currently the name of a texture. If texture is zero, or is a non-zero value that is not currently the name of a texture, or if an error occurs, glIsTexture returns false.

    Parameters:
    texture - Specifies a value that may be the name of a texture.
    Returns:
    true if texture is the name of a texture object.

    glPointParameterf

    public void glPointParameterf(int pname,
                                  float param)
    Specify parameters for point rasterization.

    glPointParameter assigns values to point parameters.

    glPointParameter takes two arguments. pname specifies which of several parameters will be modified. param specifies what value will be assigned to the specified parameter.

    The parameters that can be specified using glPointParameter, and their interpretations are as follows:

    Notes

    If the point size lower bound is greater than the upper bound, then the point size after clamping is undefined.

    Errors

    GL_INVALID_ENUM is generated if pname is not an accepted value.

    GL_INVALID_VALUE is generated if assigned values for

    GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, or GL_POINT_FADE_THRESHOLD_SIZE are less then zero.

    Parameters:
    pname - Specifies the single-valued parameter to be updated. Can be either GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, or GL_POINT_FADE_THRESHOLD_SIZE.
    param - Specifies the value that the parameter will be set to.

    glPointParameterx

    public void glPointParameterx(int pname,
                                  int param)
    Fixed-point version of glPointParameter.

    See Also:
    glPointParameterf(int pname, float param)

    glPointParameterfv

    public void glPointParameterfv(int pname,
                                   float[] params,
                                   int offset)
    Specify parameters for point rasterization (array version).

    glPointParameter assigns values to point parameters.

    glPointParameter takes two arguments. pname specifies which of several parameters will be modified. params specifies what values will be assigned to the specified parameter.

    The parameters that can be specified using glPointParameter, and their interpretations are as follows:

    Notes

    If the point size lower bound is greater than the upper bound, then the point size after clamping is undefined.

    Errors

    GL_INVALID_ENUM is generated if pname is not an accepted value.

    GL_INVALID_VALUE is generated if assigned values for

    GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, or GL_POINT_FADE_THRESHOLD_SIZE are less then zero.

    Parameters:
    pname - Specifies the parameter to be updated. Can be either GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, or GL_POINT_DISTANCE_ATTENUATION.
    params - Specifies an array of values that pname will be set to.
    Throws:
    java.lang.IllegalArgumentException - if params is null.
    java.lang.IllegalArgumentException - if offset is less than 0.
    java.lang.IllegalArgumentException - if params.length - offset is smaller than the number of values required by the parameter.

    glPointParameterfv

    public void glPointParameterfv(int pname,
                                   FloatBuffer params)
    Floating-point Buffer version of glPointParameter.

    Throws:
    java.lang.IllegalArgumentException - if params is null.
    java.lang.IllegalArgumentException - if params.remaining() is smaller than the number of values required by the parameter.
    See Also:
    glPointParameterfv(int pname, float[] params, int offset)

    glPointParameterxv

    public void glPointParameterxv(int pname,
                                   int[] params,
                                   int offset)
    Fixed-point array version of glPointParameter.

    Throws:
    java.lang.IllegalArgumentException - if params is null.
    java.lang.IllegalArgumentException - if offset is less than 0.
    java.lang.IllegalArgumentException - if params.length - offset is smaller than the number of values required by the parameter.
    See Also:
    glPointParameterfv(int pname, float[] params, int offset)

    glPointParameterxv

    public void glPointParameterxv(int pname,
                                   IntBuffer params)
    Fixed-point Buffer version of glPointParameterfv.

    Throws:
    java.lang.IllegalArgumentException - if params is null.
    java.lang.IllegalArgumentException - if params.remaining() is smaller than the number of values required by the parameter.
    See Also:
    glPointParameterfv(int pname, float[] params, int offset)

    glColor4ub

    public void glColor4ub(byte red,
                           byte green,
                           byte blue,
                           byte alpha)
    Byte version of glColor. The bytes are interpreted as unsigned values by bitwise ANDing them with the value 0xff.

    See Also:
    GL10.glColor4f(float red, float green, float blue, float alpha)

    glTexEnvi

    public void glTexEnvi(int target,
                          int pname,
                          int param)
    Integer version of glTexEnv.

    See Also:
    GL10.glTexEnvf(int target, int pname, float param)

    glTexEnviv

    public void glTexEnviv(int target,
                           int pname,
                           int[] params,
                           int offset)
    Integer array version of glTexEnv.

    Throws:
    java.lang.IllegalArgumentException - if params is null.
    java.lang.IllegalArgumentException - if offset is less than 0.
    java.lang.IllegalArgumentException - if params.length - offset is smaller than the number of values required by the parameter.
    See Also:
    GL10.glTexEnvfv(int target, int pname, float[] params, int offset)

    glTexEnviv

    public void glTexEnviv(int target,
                           int pname,
                           IntBuffer params)
    Integer Buffer version of glTexEnvfv.

    Throws:
    java.lang.IllegalArgumentException - if params is null.
    java.lang.IllegalArgumentException - if params.remaining() is smaller than the number of values required by the parameter.
    See Also:
    GL10.glTexEnvfv(int target, int pname, float[] params, int offset)

    glTexParameterfv

    public void glTexParameterfv(int target,
                                 int pname,
                                 float[] params,
                                 int offset)
    Floating-point array version of glTexParameter.

    Throws:
    java.lang.IllegalArgumentException - if params is null.
    java.lang.IllegalArgumentException - if offset is less than 0.
    java.lang.IllegalArgumentException - if params.length - offset is smaller than the number of values required by the parameter.
    See Also:
    GL10.glTexParameterf(int target, int pname, float param)

    glTexParameterfv

    public void glTexParameterfv(int target,
                                 int pname,
                                 FloatBuffer params)
    Floating-point Buffer version of glTexParameter.

    Throws:
    java.lang.IllegalArgumentException - if params is null.
    java.lang.IllegalArgumentException - if params.remaining() is smaller than the number of values required by the parameter.
    See Also:
    GL10.glTexParameterf(int target, int pname, float param)

    glTexParameteri

    public void glTexParameteri(int target,
                                int pname,
                                int param)
    Integer version of glTexParameter.

    See Also:
    GL10.glTexParameterf(int target, int pname, float param)

    glTexParameteriv

    public void glTexParameteriv(int target,
                                 int pname,
                                 int[] params,
                                 int offset)
    Integer array version of glTexParameter.

    Throws:
    java.lang.IllegalArgumentException - if params is null.
    java.lang.IllegalArgumentException - if offset is less than 0.
    java.lang.IllegalArgumentException - if params.length - offset is smaller than the number of values required by the parameter.
    See Also:
    GL10.glTexParameterf(int target, int pname, float param)

    glTexParameteriv

    public void glTexParameteriv(int target,
                                 int pname,
                                 IntBuffer params)
    Integer Buffer version of glTexParameter.

    Throws:
    java.lang.IllegalArgumentException - if params is null.
    java.lang.IllegalArgumentException - if params.remaining() is smaller than the number of values required by the parameter.
    See Also:
    GL10.glTexParameterf(int target, int pname, float param)

    glTexParameterxv

    public void glTexParameterxv(int target,
                                 int pname,
                                 int[] params,
                                 int offset)
    Fixed-point array version of glTexParameter.

    Throws:
    java.lang.IllegalArgumentException - if params is null.
    java.lang.IllegalArgumentException - if offset is less than 0.
    java.lang.IllegalArgumentException - if params.length - offset is smaller than the number of values required by the parameter.
    See Also:
    GL10.glTexParameterf(int target, int pname, float param)

    glTexParameterxv

    public void glTexParameterxv(int target,
                                 int pname,
                                 IntBuffer params)
    Fixed-point Buffer version of glTexParameter.

    Throws:
    java.lang.IllegalArgumentException - if params is null.
    java.lang.IllegalArgumentException - if params.remaining() is smaller than the number of values required by the parameter.
    See Also:
    GL10.glTexParameterf(int target, int pname, float param)

    glColorPointer

    public void glColorPointer(int size,
                               int type,
                               int stride,
                               int offset)
    VBO version of glColorPointer.

    Throws:
    java.lang.IllegalStateException - if VBOs are not enabled.
    java.lang.ArrayIndexOutOfBoundsException - if offset is less than 0 or greater than or equal to the length of the currently bound buffer.
    See Also:
    glBindBuffer(int, int), GL10.glColorPointer(int size, int type, int stride, Buffer pointer)

    glNormalPointer

    public void glNormalPointer(int type,
                                int stride,
                                int offset)
    VBO version of glNormalPointer.

    Throws:
    java.lang.IllegalStateException - if VBOs are not enabled.
    java.lang.ArrayIndexOutOfBoundsException - if offset is less than 0 or greater than or equal to the length of the currently bound buffer.
    See Also:
    glBindBuffer(int, int), GL10.glNormalPointer(int type, int stride, Buffer pointer)

    glTexCoordPointer

    public void glTexCoordPointer(int size,
                                  int type,
                                  int stride,
                                  int offset)
    VBO version of glTexCoordPointer.

    Throws:
    java.lang.IllegalStateException - if VBOs are not enabled.
    java.lang.ArrayIndexOutOfBoundsException - if offset is less than 0 or greater than or equal to the length of the currently bound buffer.
    See Also:
    glBindBuffer(int, int), GL10.glTexCoordPointer(int size, int type, int stride, Buffer pointer)

    glVertexPointer

    public void glVertexPointer(int size,
                                int type,
                                int stride,
                                int offset)
    VBO version of glVertexPointer.

    Throws:
    java.lang.IllegalStateException - if VBOs are not enabled.
    java.lang.ArrayIndexOutOfBoundsException - if offset is less than 0 or greater than or equal to the length of the currently bound buffer.
    See Also:
    glBindBuffer(int, int), GL10.glVertexPointer(int size, int type, int stride, Buffer pointer)

    glDrawElements

    public void glDrawElements(int mode,
                               int count,
                               int type,
                               int offset)
    VBO version of glDrawElements.

    Throws:
    java.lang.IllegalStateException - if the most recent call to glBindBuffer for the GL_ELEMENT_ARRAY_BUFFER target had a buffer parameter of 0 (i.e., an index buffer is not bound).
    java.lang.ArrayIndexOutOfBoundsException - if any index in the sequence of indices from offset to offset + count - 1 would result in a reference to an entry outside of the currently bound index or data (vertex, color, normal, texture coordinate array, weight, matrix index, or point size) array, where indices refers to the set of values bound to the GL_ELEMENT_ARRAY_BUFFER target.
    See Also:
    glBindBuffer(int, int), GL10.glDrawElements(int mode, int count, int type, Buffer indices)

    glPointSizePointerOES

    public void glPointSizePointerOES(int type,
                                      int stride,
                                      Buffer pointer)
    (OES_point_size_array extension) Define an array of point sizes.

    glPointSizePointer specifies the location and data of an array of point sizes to use when rendering points. type is the data type of the coordinates. stride specifies the byte stride from one point size to the next, allowing vertices and attributes to be packed into a single array or stored in separate arrays. (Single-array storage may be more efficient on some implementations.)

    The point sizes supplied in the point size arrays will be the sizes used to render both points and point sprites.

    Distance-based attenuation works in conjunction with GL_POINT_SIZE_ARRAY_OES. If distance-based attenuation is enabled the point size from the point size array will be attenuated as defined by glPointParameter, to compute the final point size.

    When a point size array is specified, type, stride, and pointer are saved as client-side state.

    If the point size array is enabled, it is used to control the sizes used to render points and point sprites. To enable and disable the point size array, call glEnableClientState and glDisableClientState with the argument GL_POINT_SIZE_ARRAY_OES. The point size array is initially disabled.

    Notes

    If point size array is enabled, the point size defined by glPointSize is ignored.

    glPointSizePointer is typically implemented on the client side.

    Errors

    GL_INVALID_ENUM is generated if type is is not an accepted value.

    GL_INVALID_VALUE is generated if stride is negative.

    Parameters:
    type - Specifies the data type of each point size in the array. Symbolic constants GL_FIXED and GL_FLOAT are accepted. The initial value is GL_FLOAT.
    stride - Specifies the byte offset between consecutive point sizes. If stride is 0, the point sizes are understood to be tightly packed in the array. The initial value is 0.
    pointer - Specifies a Buffer containing the point sizes starting at the first vertex in the array. The initial value is 0.
    Throws:
    java.lang.IllegalArgumentException - if pointer is null.
    java.lang.IllegalStateException - if VBOs are enabled.

    glPointSizePointerOES

    public void glPointSizePointerOES(int type,
                                      int stride,
                                      int offset)
    (OES_point_size_array extension) VBO version of glPointSizePointerOES.

    Throws:
    java.lang.IllegalStateException - if VBOs are not enabled.
    See Also:
    glPointSizePointerOES(int type, int stride, Buffer pointer)

    Final Release, Oct 2006

    This specification is protected under the JSPA version 2.6.
    Copyright © 2006 Sun Microsystems, Inc. 4150 Network Circle, California, 95054, U.S.A.
    All Rights Reserved. Use is subject to license terms.
    Copyright © 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

    For more information, please consult the JSR 239 specification.