com.hermetica.magician
Interface GL

All Known Implementing Classes:
CoreGL, ErrorGL, ProfileGL, TemplateGL, TraceGL

public abstract interface GL
extends GLConstants

Encapsulation of the OpenGL state machine. This class contains the standard OpenGL functions and additional polymorphic methods designed to make programming slightly easier. The standard functions are declared as native for speed, the polymorphics are slightly slower, but act as a simple wrapper to the native layer.

Version:
$Id: GL.java.stub,v 1.10 1999/07/21 11:03:32 descarte Exp descarte $
Author:
Alligator Descartes <descarte@hermetica.com>

Field Summary
static int SUMMARY
          Summary operating mode for any implementations of this interface
static int VERBOSE
          Verbose operating mode for any implementations of this interface
 
Fields inherited from class com.hermetica.magician.GLConstants
GL_2_BYTES, GL_2D, GL_3_BYTES, GL_3D, GL_3D_COLOR, GL_3D_COLOR_TEXTURE, GL_4_BYTES, GL_4D_COLOR_TEXTURE, GL_ACCUM, GL_ACCUM_ALPHA_BITS, GL_ACCUM_BLUE_BITS, GL_ACCUM_BUFFER_BIT, GL_ACCUM_CLEAR_VALUE, GL_ACCUM_GREEN_BITS, GL_ACCUM_RED_BITS, GL_ADD, GL_ALL_ATTRIB_BITS, GL_ALPHA, GL_ALPHA_BIAS, GL_ALPHA_BITS, GL_ALPHA_SCALE, GL_ALPHA_TEST, GL_ALPHA_TEST_FUNC, GL_ALPHA_TEST_REF, GL_ALPHA12, GL_ALPHA16, GL_ALPHA4, GL_ALPHA8, GL_ALWAYS, GL_AMBIENT, GL_AMBIENT_AND_DIFFUSE, GL_AND, GL_AND_INVERTED, GL_AND_REVERSE, GL_ATTRIB_STACK_DEPTH, GL_AUTO_NORMAL, GL_AUX_BUFFERS, GL_AUX0, GL_AUX1, GL_AUX2, GL_AUX3, GL_BACK, GL_BACK_LEFT, GL_BACK_RIGHT, GL_BGR, GL_BGRA, GL_BITMAP, GL_BITMAP_TOKEN, GL_BLEND, GL_BLEND_COLOR_EXT, GL_BLEND_DST, GL_BLEND_EQUATION_EXT, GL_BLEND_SRC, GL_BLUE, GL_BLUE_BIAS, GL_BLUE_BITS, GL_BLUE_SCALE, GL_BYTE, GL_C3F_V3F, GL_C4F_N3F_V3F, GL_C4UB_V2F, GL_C4UB_V3F, GL_CCW, GL_CLAMP, GL_CLAMP_TO_EDGE, GL_CLEAR, GL_CLIENT_ALL_ATTRIB_BITS, GL_CLIENT_ATTRIB_STACK_DEPTH, GL_CLIENT_PIXEL_STORE_BIT, GL_CLIENT_VERTEX_ARRAY_BIT, GL_CLIP_PLANE0, GL_CLIP_PLANE1, GL_CLIP_PLANE2, GL_CLIP_PLANE3, GL_CLIP_PLANE4, GL_CLIP_PLANE5, GL_COEFF, GL_COLOR, GL_COLOR_ARRAY, GL_COLOR_ARRAY_COUNT_EXT, GL_COLOR_ARRAY_EXT, GL_COLOR_ARRAY_POINTER, GL_COLOR_ARRAY_POINTER_EXT, GL_COLOR_ARRAY_SIZE, GL_COLOR_ARRAY_SIZE_EXT, GL_COLOR_ARRAY_STRIDE, GL_COLOR_ARRAY_STRIDE_EXT, GL_COLOR_ARRAY_TYPE, GL_COLOR_ARRAY_TYPE_EXT, GL_COLOR_BUFFER_BIT, GL_COLOR_CLEAR_VALUE, GL_COLOR_INDEX, GL_COLOR_INDEX1_EXT, GL_COLOR_INDEX12_EXT, GL_COLOR_INDEX16_EXT, GL_COLOR_INDEX2_EXT, GL_COLOR_INDEX4_EXT, GL_COLOR_INDEX8_EXT, GL_COLOR_INDEXES, GL_COLOR_LOGIC_OP, GL_COLOR_MATERIAL, GL_COLOR_MATERIAL_FACE, GL_COLOR_MATERIAL_PARAMETER, GL_COLOR_TABLE_ALPHA_SIZE_EXT, GL_COLOR_TABLE_BLUE_SIZE_EXT, GL_COLOR_TABLE_FORMAT_EXT, GL_COLOR_TABLE_GREEN_SIZE_EXT, GL_COLOR_TABLE_INTENSITY_SIZE_EXT, GL_COLOR_TABLE_LUMINANCE_SIZE_EXT, GL_COLOR_TABLE_RED_SIZE_EXT, GL_COLOR_TABLE_WIDTH_EXT, GL_COLOR_WRITEMASK, GL_COMPILE, GL_COMPILE_AND_EXECUTE, GL_CONSTANT_ALPHA, GL_CONSTANT_ALPHA_EXT, GL_CONSTANT_ATTENUATION, GL_CONSTANT_COLOR, GL_CONSTANT_COLOR_EXT, GL_COPY, GL_COPY_INVERTED, GL_COPY_PIXEL_TOKEN, GL_CULL_FACE, GL_CULL_FACE_MODE, GL_CURRENT_BIT, GL_CURRENT_COLOR, GL_CURRENT_INDEX, GL_CURRENT_NORMAL, GL_CURRENT_RASTER_COLOR, GL_CURRENT_RASTER_DISTANCE, GL_CURRENT_RASTER_INDEX, GL_CURRENT_RASTER_POSITION, GL_CURRENT_RASTER_POSITION_VALID, GL_CURRENT_RASTER_TEXTURE_COORDS, GL_CURRENT_TEXTURE_COORDS, GL_CW, GL_DECAL, GL_DECR, GL_DEPTH, GL_DEPTH_BIAS, GL_DEPTH_BITS, GL_DEPTH_BUFFER_BIT, GL_DEPTH_CLEAR_VALUE, GL_DEPTH_COMPONENT, GL_DEPTH_FUNC, GL_DEPTH_RANGE, GL_DEPTH_SCALE, GL_DEPTH_TEST, GL_DEPTH_WRITEMASK, GL_DIFFUSE, GL_DISTANCE_ATTENUATION_EXT, GL_DITHER, GL_DOMAIN, GL_DONT_CARE, GL_DOUBLE, GL_DOUBLEBUFFER, GL_DRAW_BUFFER, GL_DRAW_PIXEL_TOKEN, GL_DST_ALPHA, GL_DST_COLOR, GL_EDGE_FLAG, GL_EDGE_FLAG_ARRAY, GL_EDGE_FLAG_ARRAY_COUNT_EXT, GL_EDGE_FLAG_ARRAY_EXT, GL_EDGE_FLAG_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER_EXT, GL_EDGE_FLAG_ARRAY_STRIDE, GL_EDGE_FLAG_ARRAY_STRIDE_EXT, GL_EMISSION, GL_ENABLE_BIT, GL_EQUAL, GL_EQUIV, GL_EVAL_BIT, GL_EXP, GL_EXP2, GL_EXTENSIONS, GL_EYE_LINEAR, GL_EYE_PLANE, GL_FALSE, GL_FASTEST, GL_FEEDBACK, GL_FEEDBACK_BUFFER_POINTER, GL_FEEDBACK_BUFFER_SIZE, GL_FEEDBACK_BUFFER_TYPE, GL_FILL, GL_FLAT, GL_FLOAT, GL_FOG, GL_FOG_BIT, GL_FOG_COLOR, GL_FOG_DENSITY, GL_FOG_END, GL_FOG_HINT, GL_FOG_INDEX, GL_FOG_MODE, GL_FOG_START, GL_FRONT, GL_FRONT_AND_BACK, GL_FRONT_FACE, GL_FRONT_LEFT, GL_FRONT_RIGHT, GL_FUNC_ADD_EXT, GL_FUNC_REVERSE_SUBTRACT_EXT, GL_FUNC_SUBTRACT_EXT, GL_GEQUAL, GL_GREATER, GL_GREEN, GL_GREEN_BIAS, GL_GREEN_BITS, GL_GREEN_SCALE, GL_HINT_BIT, GL_INCR, GL_INDEX_ARRAY, GL_INDEX_ARRAY_COUNT_EXT, GL_INDEX_ARRAY_EXT, GL_INDEX_ARRAY_POINTER, GL_INDEX_ARRAY_POINTER_EXT, GL_INDEX_ARRAY_STRIDE, GL_INDEX_ARRAY_STRIDE_EXT, GL_INDEX_ARRAY_TYPE, GL_INDEX_ARRAY_TYPE_EXT, GL_INDEX_BITS, GL_INDEX_CLEAR_VALUE, GL_INDEX_LOGIC_OP, GL_INDEX_MODE, GL_INDEX_OFFSET, GL_INDEX_SHIFT, GL_INDEX_WRITEMASK, GL_INT, GL_INTENSITY, GL_INTENSITY12, GL_INTENSITY16, GL_INTENSITY4, GL_INTENSITY8, GL_INVALID_ENUM, GL_INVALID_OPERATION, GL_INVALID_VALUE, GL_INVERT, GL_KEEP, GL_LEFT, GL_LEQUAL, GL_LESS, GL_LIGHT_MODEL_AMBIENT, GL_LIGHT_MODEL_COLOR_CONTROL, GL_LIGHT_MODEL_LOCAL_VIEWER, GL_LIGHT_MODEL_TWO_SIDE, GL_LIGHT0, GL_LIGHT1, GL_LIGHT2, GL_LIGHT3, GL_LIGHT4, GL_LIGHT5, GL_LIGHT6, GL_LIGHT7, GL_LIGHTING, GL_LIGHTING_BIT, GL_LINE, GL_LINE_BIT, GL_LINE_LOOP, GL_LINE_RESET_TOKEN, GL_LINE_SMOOTH, GL_LINE_SMOOTH_HINT, GL_LINE_STIPPLE, GL_LINE_STIPPLE_PATTERN, GL_LINE_STIPPLE_REPEAT, GL_LINE_STRIP, GL_LINE_TOKEN, GL_LINE_WIDTH, GL_LINE_WIDTH_GRANULARITY, GL_LINE_WIDTH_RANGE, GL_LINEAR, GL_LINEAR_ATTENUATION, GL_LINEAR_MIPMAP_LINEAR, GL_LINEAR_MIPMAP_NEAREST, GL_LINES, GL_LIST_BASE, GL_LIST_BIT, GL_LIST_INDEX, GL_LIST_MODE, GL_LOAD, GL_LOGIC_OP, GL_LOGIC_OP_MODE, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_LUMINANCE12, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE16, GL_LUMINANCE16_ALPHA16, GL_LUMINANCE4, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8, GL_LUMINANCE8_ALPHA8, GL_MAP_COLOR, GL_MAP_STENCIL, GL_MAP1_COLOR_4, GL_MAP1_GRID_DOMAIN, GL_MAP1_GRID_SEGMENTS, GL_MAP1_INDEX, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, GL_MAP1_TEXTURE_COORD_4, GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP2_COLOR_4, GL_MAP2_GRID_DOMAIN, GL_MAP2_GRID_SEGMENTS, GL_MAP2_INDEX, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, GL_MAP2_TEXTURE_COORD_4, GL_MAP2_VERTEX_3, GL_MAP2_VERTEX_4, GL_MATRIX_MODE, GL_MAX_3D_TEXTURE_SIZE, GL_MAX_3D_TEXTURE_SIZE_EXT, GL_MAX_ATTRIB_STACK_DEPTH, GL_MAX_CLIENT_ATTRIB_STACK_DEPTH, GL_MAX_CLIP_PLANES, GL_MAX_ELEMENTS_INDICES, GL_MAX_ELEMENTS_VERTICES, GL_MAX_EVAL_ORDER, GL_MAX_EXT, GL_MAX_LIGHTS, GL_MAX_LIST_NESTING, GL_MAX_MODELVIEW_STACK_DEPTH, GL_MAX_NAME_STACK_DEPTH, GL_MAX_PIXEL_MAP_TABLE, GL_MAX_PROJECTION_STACK_DEPTH, GL_MAX_TEXTURE_SIZE, GL_MAX_TEXTURE_STACK_DEPTH, GL_MAX_VIEWPORT_DIMS, GL_MIN_EXT, GL_MODELVIEW, GL_MODELVIEW_MATRIX, GL_MODELVIEW_STACK_DEPTH, GL_MODULATE, GL_MULT, GL_N3F_V3F, GL_NAME_STACK_DEPTH, GL_NAND, GL_NEAREST, GL_NEAREST_MIPMAP_LINEAR, GL_NEAREST_MIPMAP_NEAREST, GL_NEVER, GL_NICEST, GL_NO_ERROR, GL_NONE, GL_NOOP, GL_NOR, GL_NORMAL_ARRAY, GL_NORMAL_ARRAY_COUNT_EXT, GL_NORMAL_ARRAY_EXT, GL_NORMAL_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER_EXT, GL_NORMAL_ARRAY_STRIDE, GL_NORMAL_ARRAY_STRIDE_EXT, GL_NORMAL_ARRAY_TYPE, GL_NORMAL_ARRAY_TYPE_EXT, GL_NORMALIZE, GL_NOTEQUAL, GL_OBJECT_LINEAR, GL_OBJECT_PLANE, GL_ONE, GL_ONE_MINUS_CONSTANT_ALPHA, GL_ONE_MINUS_CONSTANT_ALPHA_EXT, GL_ONE_MINUS_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR_EXT, GL_ONE_MINUS_DST_ALPHA, GL_ONE_MINUS_DST_COLOR, GL_ONE_MINUS_SRC_ALPHA, GL_ONE_MINUS_SRC_COLOR, GL_OR, GL_OR_INVERTED, GL_OR_REVERSE, GL_ORDER, GL_OUT_OF_MEMORY, GL_PACK_ALIGNMENT, GL_PACK_IMAGE_HEIGHT, GL_PACK_IMAGE_HEIGHT_EXT, GL_PACK_LSB_FIRST, GL_PACK_ROW_LENGTH, GL_PACK_SKIP_IMAGES, GL_PACK_SKIP_IMAGES_EXT, GL_PACK_SKIP_PIXELS, GL_PACK_SKIP_ROWS, GL_PACK_SWAP_BYTES, GL_PASS_THROUGH_TOKEN, GL_PERSPECTIVE_CORRECTION_HINT, GL_PIXEL_MAP_A_TO_A, GL_PIXEL_MAP_A_TO_A_SIZE, GL_PIXEL_MAP_B_TO_B, GL_PIXEL_MAP_B_TO_B_SIZE, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_G_TO_G_SIZE, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_I_TO_A_SIZE, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_B_SIZE, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_G_SIZE, GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_I_TO_I_SIZE, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_R_SIZE, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_R_TO_R_SIZE, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_S_TO_S_SIZE, GL_PIXEL_MODE_BIT, GL_POINT, GL_POINT_BIT, GL_POINT_FADE_THRESHOLD_SIZE_EXT, GL_POINT_SIZE, GL_POINT_SIZE_GRANULARITY, GL_POINT_SIZE_MAX_EXT, GL_POINT_SIZE_MIN_EXT, GL_POINT_SIZE_RANGE, GL_POINT_SMOOTH, GL_POINT_SMOOTH_HINT, GL_POINT_TOKEN, GL_POINTS, GL_POLYGON, GL_POLYGON_BIT, GL_POLYGON_MODE, GL_POLYGON_OFFSET_BIAS_EXT, GL_POLYGON_OFFSET_EXT, GL_POLYGON_OFFSET_FACTOR, GL_POLYGON_OFFSET_FACTOR_EXT, GL_POLYGON_OFFSET_FILL, GL_POLYGON_OFFSET_LINE, GL_POLYGON_OFFSET_POINT, GL_POLYGON_OFFSET_UNITS, GL_POLYGON_SMOOTH, GL_POLYGON_SMOOTH_HINT, GL_POLYGON_STIPPLE, GL_POLYGON_STIPPLE_BIT, GL_POLYGON_TOKEN, GL_POSITION, GL_PROJECTION, GL_PROJECTION_MATRIX, GL_PROJECTION_STACK_DEPTH, GL_PROXY_TEXTURE_1D, GL_PROXY_TEXTURE_2D, GL_PROXY_TEXTURE_3D, GL_PROXY_TEXTURE_3D_EXT, GL_Q, GL_QUAD_STRIP, GL_QUADRATIC_ATTENUATION, GL_QUADS, GL_R, GL_R3_G3_B2, GL_READ_BUFFER, GL_RED, GL_RED_BIAS, GL_RED_BITS, GL_RED_SCALE, GL_RENDER, GL_RENDER_MODE, GL_RENDERER, GL_REPEAT, GL_REPLACE, GL_RESCALE_NORMAL, GL_RETURN, GL_RGB, GL_RGB10, GL_RGB10_A2, GL_RGB12, GL_RGB16, GL_RGB4, GL_RGB5, GL_RGB5_A1, GL_RGB8, GL_RGBA, GL_RGBA_MODE, GL_RGBA12, GL_RGBA16, GL_RGBA2, GL_RGBA4, GL_RGBA8, GL_RIGHT, GL_S, GL_SCISSOR_BIT, GL_SCISSOR_BOX, GL_SCISSOR_TEST, GL_SELECT, GL_SEPARATE_SPECULAR_COLOR, GL_SET, GL_SHADE_MODEL, GL_SHARED_TEXTURE_PALETTE_EXT, GL_SHININESS, GL_SHORT, GL_SINGLE_COLOR, GL_SMOOTH, GL_SPECULAR, GL_SPHERE_MAP, GL_SPOT_CUTOFF, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SRC_ALPHA, GL_SRC_ALPHA_SATURATE, GL_SRC_COLOR, GL_STACK_OVERFLOW, GL_STACK_UNDERFLOW, GL_STENCIL, GL_STENCIL_BITS, GL_STENCIL_BUFFER_BIT, GL_STENCIL_CLEAR_VALUE, GL_STENCIL_FAIL, GL_STENCIL_FUNC, GL_STENCIL_INDEX, GL_STENCIL_PASS_DEPTH_FAIL, GL_STENCIL_PASS_DEPTH_PASS, GL_STENCIL_REF, GL_STENCIL_TEST, GL_STENCIL_VALUE_MASK, GL_STENCIL_WRITEMASK, GL_STEREO, GL_SUBPIXEL_BITS, GL_T, GL_T2F_C3F_V3F, GL_T2F_C4F_N3F_V3F, GL_T2F_C4UB_V3F, GL_T2F_N3F_V3F, GL_T2F_V3F, GL_T4F_C4F_N3F_V4F, GL_T4F_V4F, GL_TABLE_TOO_LARGE_EXT, GL_TEXTURE, GL_TEXTURE_1D, GL_TEXTURE_1D_BINDING_EXT, GL_TEXTURE_2D, GL_TEXTURE_2D_BINDING_EXT, GL_TEXTURE_3D, GL_TEXTURE_3D_BINDING_EXT, GL_TEXTURE_3D_EXT, GL_TEXTURE_ALPHA_SIZE, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BASE_LEVEL_SGIS, GL_TEXTURE_BINDING_1D, GL_TEXTURE_BINDING_2D, GL_TEXTURE_BINDING_3D, GL_TEXTURE_BIT, GL_TEXTURE_BLUE_SIZE, GL_TEXTURE_BORDER, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPONENTS, GL_TEXTURE_COORD_ARRAY, GL_TEXTURE_COORD_ARRAY_COUNT_EXT, GL_TEXTURE_COORD_ARRAY_EXT, GL_TEXTURE_COORD_ARRAY_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER_EXT, GL_TEXTURE_COORD_ARRAY_SIZE, GL_TEXTURE_COORD_ARRAY_SIZE_EXT, GL_TEXTURE_COORD_ARRAY_STRIDE, GL_TEXTURE_COORD_ARRAY_STRIDE_EXT, GL_TEXTURE_COORD_ARRAY_TYPE, GL_TEXTURE_COORD_ARRAY_TYPE_EXT, GL_TEXTURE_DEPTH, GL_TEXTURE_DEPTH_EXT, GL_TEXTURE_ENV, GL_TEXTURE_ENV_COLOR, GL_TEXTURE_ENV_MODE, GL_TEXTURE_GEN_MODE, GL_TEXTURE_GEN_Q, GL_TEXTURE_GEN_R, GL_TEXTURE_GEN_S, GL_TEXTURE_GEN_T, GL_TEXTURE_GREEN_SIZE, GL_TEXTURE_HEIGHT, GL_TEXTURE_INTENSITY_SIZE, GL_TEXTURE_LUMINANCE_SIZE, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MATRIX, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LEVEL_SGIS, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LOD_SGIS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MIN_LOD_SGIS, GL_TEXTURE_PRIORITY, GL_TEXTURE_PRIORITY_EXT, GL_TEXTURE_RED_SIZE, GL_TEXTURE_RESIDENT, GL_TEXTURE_RESIDENT_EXT, GL_TEXTURE_STACK_DEPTH, GL_TEXTURE_WIDTH, GL_TEXTURE_WRAP_R, GL_TEXTURE_WRAP_R_EXT, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TRANSFORM_BIT, GL_TRIANGLE_FAN, GL_TRIANGLE_STRIP, GL_TRIANGLES, GL_TRUE, GL_UNPACK_ALIGNMENT, GL_UNPACK_IMAGE_HEIGHT, GL_UNPACK_IMAGE_HEIGHT_EXT, GL_UNPACK_LSB_FIRST, GL_UNPACK_ROW_LENGTH, GL_UNPACK_SKIP_IMAGES, GL_UNPACK_SKIP_IMAGES_EXT, GL_UNPACK_SKIP_PIXELS, GL_UNPACK_SKIP_ROWS, GL_UNPACK_SWAP_BYTES, GL_UNSIGNED_BYTE, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_INT, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_SHORT, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_V2F, GL_V3F, GL_VENDOR, GL_VERSION, GL_VERTEX_ARRAY, GL_VERTEX_ARRAY_COUNT_EXT, GL_VERTEX_ARRAY_EXT, GL_VERTEX_ARRAY_POINTER, GL_VERTEX_ARRAY_POINTER_EXT, GL_VERTEX_ARRAY_SIZE, GL_VERTEX_ARRAY_SIZE_EXT, GL_VERTEX_ARRAY_STRIDE, GL_VERTEX_ARRAY_STRIDE_EXT, GL_VERTEX_ARRAY_TYPE, GL_VERTEX_ARRAY_TYPE_EXT, GL_VIEWPORT, GL_VIEWPORT_BIT, GL_XOR, GL_ZERO, GL_ZOOM_X, GL_ZOOM_Y
 
Method Summary
 void accum(int op, float value)
          Operate on the accumulation buffer
 void alphaFunc(int func, float value)
          Specify the alpha test function
 boolean areTexturesResident(int n, int[] textures, boolean[] residence)
          Determine if textures are loaded in texture memory
 void arrayElement(int ith)
          Specify the array elements used to render a vertex
 void begin(int mode)
          Delimit the vertices of a primitive of a group of like primitives
 void bindTexture(int target, int textureName)
          Creates and uses texture objects.
 void bitmap(int width, int height, float xbo, float ybo, float xbi, float ybi, byte[] bitmap)
          Draw a bitmap
 void blendFunc(int sfactor, int dfactor)
          Specify pixel arithmetic
 void callList(int list)
          Executes a display list
 void clear(int mask)
          Clear buffers to preset values
 void clearAccum(float red, float green, float blue, float alpha)
          Specify clear values for the accumulation buffer
 void clearColor(float red, float green, float blue, float alpha)
          Specify clear values for colour buffers
 void clearDepth(double depth)
          Specify the clear value for the depth buffer
 void clearIndex(float index)
          Specify the clear value for the colour index buffers
 void clearStencil(int s)
          Specify the clear value for the stencil buffer
 void clipPlane(int plane, double[] equation)
          Specify a plane against which all geometry is clipped
 void color(byte[] ary)
          Polymorphic method for glColor3bv and glColor4bv
 void color(byte r, byte g, byte b)
          Polymorphic method for glColor3b
 void color(byte r, byte g, byte b, byte a)
          Polymorphic method for glColor4b
 void color(double[] ary)
          Polymorphic method for glColor3dv and glColor4dv
 void color(double r, double g, double b)
          Polymorphic method for glColor3d
 void color(double r, double g, double b, double a)
          Polymorphic method for glColor4d
 void color(float[] ary)
          Polymorphic method for glColor3fv and glColour4fv
 void color(float r, float g, float b)
          Polymorphic method for glColor3f
 void color(float r, float g, float b, float a)
          Polymorphic method for glColor4f
 void color(int[] ary)
          Polymorphic method for glColor3iv and glColor4iv
 void color(int r, int g, int b)
          Polymorphic method for glColor3i
 void color(int r, int g, int b, int a)
          Polymorphic method for glColor4i
 void color(short[] ary)
          Polymorphic method for glColor3sv and glColor4sv
 void color(short r, short g, short b)
          Polymorphic method for glColor3s
 void color(short r, short g, short b, short a)
          Polymorphic method for glColor4s
 void colorMask(boolean red, boolean green, boolean blue, boolean alpha)
          Enable and disable writing of frame buffer colour components
 void colorMask(byte red, byte green, byte blue, byte alpha)
          Enable and disable writing of frame buffer colour components
 void colorMask(int red, int green, int blue, int alpha)
          Enable and disable writing of frame buffer colour components
 void colorMaterial(int face, int mode)
          Cause a material colour to track the current colour
 void copyPixels(int x, int y, int width, int height, int buffer)
          Copy pixels in the frame buffer
 void copyTexImage1D(int target, int level, int internalFormat, int x, int y, int width, int height)
          Creates a one-dimensional texture using framebuffer data to define the texels
 void copyTexImage2D(int target, int level, int internalFormat, int x, int y, int width, int height, int border)
          Creates a two-dimensional texture using framebuffer data to define the texels
 void copyTexSubImage1D(int target, int level, int xoffset, int x, int y, int width)
          Uses image data from the framebuffer to replace all or part of a contiguous subregion of the current, existing one-dimensional texture image
 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height)
          Uses image data from the framebuffer to replace all or part of a contiguous subregion of the current, existing two-dimensional texture image
 void copyTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int x, int y, int width, int height)
          Copies a 3D texture sub-image
 void cullFace(int mode)
          Specify whether front- or back-facing facets can be culled
 void deleteLists(int list, int range)
          Delete a contiguous group of display lists
 void deleteTextures(int n, int[] textureNames)
          Deletes the given texture objects completely.
 void depthFunc(int func)
          Specify the value used for depth buffer comparisons
 void depthMask(boolean flag)
          Enable or disable writing into the depth buffer
 void depthMask(byte flag)
          Enable or disable writing into the depth buffer
 void depthMask(int flag)
          Enable or disable writing into the depth buffer
 void depthRange(double nearValue, double farValue)
          Specify the mapping z values from normalized device coordinates to window coordinates
 void disable(int cap)
          Turns off the given capability in the OpenGL pipeline
 void disableClientState(int array)
          Disable client-side capabiltity
 void drawArrays(int mode, int first, int count)
          Render primitives from array data
 void drawBuffer(int mode)
          Specify which colour buffers are to be drawn into
 void drawRangeElements(int mode, int start, int end, int count, int type, byte[] indices)
          Draw a range of array elements
 void drawRangeElements(int mode, int start, int end, int count, int type, int[] indices)
          Draw a range of array elements
 void drawRangeElements(int mode, int start, int end, int count, int type, short[] indices)
          Draw a range of array elements
 void edgeFlag(boolean flag)
          Flag edges as either boundary or nonboundary
 void edgeFlag(boolean[] flag)
          Flag edges as either boundary or nonboundary using an array of values
 void edgeFlag(byte flag)
          Flag edges as either boundary or nonboundary
 void edgeFlag(byte[] flag)
          Flag edges as either boundary or nonboundary using an array of values
 void edgeFlag(int flag)
          Flag edges as either boundary or nonboundary
 void edgeFlag(int[] flag)
          Flag edges as either boundary or nonboundary using an array of values
 void edgeFlagPointer(int stride, boolean[] pointer)
          Define an array of edge flags
 void enable(int cap)
          Enable or disable GL capabilities
 void enableClientState(int array)
          Enable client-side capabiltity
 void end()
          Marks the end of a vertex-data list
 void endList()
          Terminates the specification of a display list
 void evalMesh(int mode, int p1, int p2)
          Compute a one-dimensional grid of points
 void evalMesh(int mode, int i1, int i2, int j1, int j2)
          Compute a two-dimensional grid of points
 void evalPoint(int i)
          Generate and evaluate a single point in a mesh
 void evalPoint(int i, int j)
          Generate and evaluate a single point in a mesh
 void feedbackBuffer(int size, int type, float[] buffer)
          Controls feedback mode
 void finish()
          Block until all GL execution is complete
 void flush()
          Force execution of GL commands in finite time
 void fog(int pname, float param)
          Specify fog parameters
 void fog(int pname, float[] params)
          Specify fog parameters
 void fog(int pname, int param)
          Specify fog parameters
 void fog(int pname, int[] params)
          Specify fog parameters
 void frontFace(int mode)
          Define front- and back-facing polygons
 void frustum(double left, double right, double bottom, double top, double nearValue, double farValue)
          Multiply the current matrix by a perspective matrix
 int genLists(int range)
          Generate a contiguous set of empty display lists
 void genTextures(int n, int[] textureNames)
          Returns the desired quantity of current unused names for texture objects that can be used with glBindTexture.
 void getBoolean(int pname, boolean[] params)
          Return the value or values of a specified parameter
 void getClipPlane(int plane, double[] equation)
          Return the co-efficients of the specified clipping plane
 void getDouble(int pname, double[] params)
          Return the value or values of a specified parameter
 int getError()
          Return error information
 void getFloat(int pname, float[] params)
          Return the value or values of a specified parameter
 void getInteger(int pname, int[] params)
          Return the value or values of a specified parameter
 void getLight(int light, int pname, float[] params)
          Return light source parameter values
 void getLight(int light, int pname, int[] params)
          Return light source parameter values
 void getMap(int target, int query, double[] v)
          Return evaluator parameters
 void getMap(int target, int query, float[] v)
          Return evaluator parameters
 void getMap(int target, int query, int[] v)
          Return evaluator parameters
 void getMaterial(int face, int pname, float[] params)
          Return material parameters
 void getMaterial(int face, int pname, int[] params)
          Return material parameters
 int getMode()
          Returns the current operating mode of any implementations of this interface.
 GL getParent()
          Returns the parent interface
 void getPixelMap(int map, float[] values)
          Return the specified pixel map
 void getPixelMap(int map, int[] values)
          Return the specified pixel map
 void getPixelMap(int map, short[] values)
          Return the specified pixel map
 void getPolygonStipple(byte[] mask)
          Return the polygon stipple pattern
 java.lang.String getString(int name)
          Polymorphic definition of glGetString
 void getTexEnv(int target, int pname, float[] params)
          Return texture environment parameters
 void getTexEnv(int target, int pname, int[] params)
          Return texture environment parameters
 void getTexGen(int coord, int pname, double[] params)
          Return texture coordinate generation parameters
 void getTexGen(int coord, int pname, float[] params)
          Return texture coordinate generation parameters
 void getTexGen(int coord, int pname, int[] params)
          Return texture coordinate generation parameters
 void getTexLevelParameter(int target, int level, int pname, float[] params)
          Return texture parameter values for a specific level of detail
 void getTexLevelParameter(int target, int level, int pname, int[] params)
          Return texture parameter values for a specific level of detail
 void getTexParameter(int target, int pname, float[] params)
          Return texture parameter values
 void getTexParameter(int target, int pname, int[] params)
          Return texture parameter values
 void glAccum(int op, float value)
          Operate on the accumulation buffer
 void glAlphaFunc(int func, float value)
          Specify the alpha test function
 boolean glAreTexturesResident(int n, int[] textures, boolean[] residence)
          Determine if textures are loaded in texture memory
 void glArrayElement(int ith)
          Specify the array elements used to render a vertex
 void glBegin(int mode)
          Delimit the vertices of a primitive of a group of like primitives
 void glBindTexture(int target, int textureName)
          Creates and uses texture objects.
 void glBitmap(int width, int height, float xbo, float ybo, float xbi, float ybi, byte[] bitmap)
          Draw a bitmap
 void glBlendFunc(int sfactor, int dfactor)
          Specify pixel arithmetic
 void glCallList(int list)
          Executes a display list
 void glCallLists(int n, int type, byte[] lists)
          Execute a list of display lists
 void glCallLists(int n, int type, int[] lists)
          Execute a list of display lists
 void glCallLists(int n, int type, short[] lists)
          Execute a list of display lists
 void glClear(int mask)
          Clear buffers to preset values
 void glClearAccum(float red, float green, float blue, float alpha)
          Specify clear values for the accumulation buffer
 void glClearColor(float red, float green, float blue, float alpha)
          Specify clear values for colour buffers
 void glClearDepth(double depth)
          Specify the clear value for the depth buffer
 void glClearIndex(float index)
          Specify the clear value for the colour index buffers
 void glClearStencil(int s)
          Specify the clear value for the stencil buffer
 void glClipPlane(int plane, double[] equation)
          Specify a plane against which all geometry is clipped
 void glColor3b(byte r, byte g, byte b)
          Sets the current colour
 void glColor3bv(byte[] v)
          Sets the current colour
 void glColor3d(double r, double g, double b)
          Sets the current colour
 void glColor3dv(double[] v)
          Sets the current colour
 void glColor3f(float r, float g, float b)
          Sets the current colour
 void glColor3fv(float[] v)
          Sets the current colour
 void glColor3i(int r, int g, int b)
          Sets the current colour
 void glColor3iv(int[] v)
          Sets the current colour
 void glColor3s(short r, short g, short b)
          Sets the current colour
 void glColor3sv(short[] v)
          Sets the current colour
 void glColor3ub(byte r, byte g, byte b)
          Sets the current colour
 void glColor3ubv(byte[] v)
          Sets the current colour
 void glColor3ui(int r, int g, int b)
          Sets the current colour
 void glColor3uiv(int[] v)
          Sets the current colour
 void glColor3us(short r, short g, short b)
          Sets the current colour
 void glColor3usv(short[] v)
          Sets the current colour
 void glColor4b(byte r, byte g, byte b, byte a)
          Sets the current colour
 void glColor4bv(byte[] v)
          Sets the current colour
 void glColor4d(double r, double g, double b, double a)
          Sets the current colour
 void glColor4dv(double[] v)
          Sets the current colour
 void glColor4f(float r, float g, float b, float a)
          Sets the current colour
 void glColor4fv(float[] v)
          Sets the current colour
 void glColor4i(int r, int g, int b, int a)
          Sets the current colour
 void glColor4iv(int[] v)
          Sets the current colour
 void glColor4s(short r, short g, short b, short a)
          Sets the current colour
 void glColor4sv(short[] v)
          Sets the current colour
 void glColor4ub(byte r, byte g, byte b, byte a)
          Sets the current colour
 void glColor4ubv(byte[] v)
          Sets the current colour
 void glColor4ui(int r, int g, int b, int a)
          Sets the current colour
 void glColor4uiv(int[] v)
          Sets the current colour
 void glColor4us(short r, short g, short b, short a)
          Sets the current colour
 void glColor4usv(short[] v)
          Sets the current colour
 void glColorMask(boolean red, boolean green, boolean blue, boolean alpha)
          Enable and disable writing of frame buffer colour components
 void glColorMask(byte red, byte green, byte blue, byte alpha)
          Enable and disable writing of frame buffer colour components
 void glColorMask(int red, int green, int blue, int alpha)
          Enable and disable writing of frame buffer colour components
 void glColorMaterial(int face, int mode)
          Cause a material colour to track the current colour
 void glColorPointer(int size, int type, int stride, byte[] ptr)
          Define an array of colours
 void glColorPointer(int size, int type, int stride, double[] ptr)
          Define an array of colours
 void glColorPointer(int size, int type, int stride, float[] ptr)
          Define an array of colours
 void glColorPointer(int size, int type, int stride, int[] ptr)
          Define an array of colours
 void glColorPointer(int size, int type, int stride, short[] ptr)
          Define an array of colours
 void glCopyPixels(int x, int y, int width, int height, int buffer)
          Copy pixels in the frame buffer
 void glCopyTexImage1D(int target, int level, int internalFormat, int x, int y, int width, int height)
          Creates a one-dimensional texture using framebuffer data to define the texels
 void glCopyTexImage2D(int target, int level, int internalFormat, int x, int y, int width, int height, int border)
          Creates a two-dimensional texture using framebuffer data to define the texels
 void glCopyTexSubImage1D(int target, int level, int xoffset, int x, int y, int width)
          Uses image data from the framebuffer to replace all or part of a contiguous subregion of the current, existing one-dimensional texture image
 void glCopyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height)
          Uses image data from the framebuffer to replace all or part of a contiguous subregion of the current, existing two-dimensional texture image
 void glCopyTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int x, int y, int width, int height)
          Copies a 3D texture sub-image
 void glCullFace(int mode)
          Specify whether front- or back-facing facets can be culled
 void glDeleteLists(int list, int range)
          Delete a contiguous group of display lists
 void glDeleteTextures(int n, int[] textureNames)
          Deletes the given texture objects completely.
 void glDepthFunc(int func)
          Specify the value used for depth buffer comparisons
 void glDepthMask(boolean flag)
          Enable or disable writing into the depth buffer
 void glDepthMask(byte flag)
          Enable or disable writing into the depth buffer
 void glDepthMask(int flag)
          Enable or disable writing into the depth buffer
 void glDepthRange(double nearValue, double farValue)
          Specify the mapping z values from normalized device coordinates to window coordinates
 void glDisable(int cap)
          Turns off the given capability in the OpenGL pipeline
 void glDisableClientState(int array)
          Disable client-side capabiltity
 void glDrawArrays(int mode, int first, int count)
          Render primitives from array data
 void glDrawBuffer(int mode)
          Specify which colour buffers are to be drawn into
 void glDrawElements(int mode, int count, int type, byte[] indices)
          Render primitives from array data
 void glDrawElements(int mode, int count, int type, byte[] indices, int offset)
          Render primitives from array data
 void glDrawElements(int mode, int count, int type, int[] indices)
          Render primitives from array data
 void glDrawElements(int mode, int count, int type, int[] indices, int offset)
          Render primitives from array data
 void glDrawElements(int mode, int count, int type, short[] indices)
          Render primitives from array data
 void glDrawElements(int mode, int count, int type, short[] indices, int offset)
          Render primitives from array data
 void glDrawPixels(int width, int height, int format, int type, byte[] pixels)
          Write a block of pixels to the frame buffer
 void glDrawPixels(int width, int height, int format, int type, float[] pixels)
          Write a block of pixels to the frame buffer
 void glDrawPixels(int width, int height, int format, int type, int[] pixels)
          Write a block of pixels to the frame buffer
 void glDrawPixels(int width, int height, int format, int type, short[] pixels)
          Write a block of pixels to the frame buffer
 void glDrawRangeElements(int mode, int start, int end, int count, int type, byte[] indices)
          Draw a range of array elements
 void glDrawRangeElements(int mode, int start, int end, int count, int type, int[] indices)
          Draw a range of array elements
 void glDrawRangeElements(int mode, int start, int end, int count, int type, short[] indices)
          Draw a range of array elements
 void glEdgeFlag(boolean flag)
          Flag edges as either boundary or nonboundary
 void glEdgeFlag(byte flag)
          Flag edges as either boundary or nonboundary
 void glEdgeFlag(int flag)
          Flag edges as either boundary or nonboundary
 void glEdgeFlagPointer(int stride, boolean[] pointer)
          Define an array of edge flags
 void glEdgeFlagv(boolean[] flag)
          Flag edges as either boundary or nonboundary using an array of values
 void glEdgeFlagv(byte[] flag)
          Flag edges as either boundary or nonboundary using an array of values
 void glEdgeFlagv(int[] flag)
          Flag edges as either boundary or nonboundary using an array of values
 void glEnable(int cap)
          Enable or disable GL capabilities
 void glEnableClientState(int array)
          Enable client-side capabiltity
 void glEnd()
          Marks the end of a vertex-data list
 void glEndList()
          Terminates the specification of a display list
 void glEvalCoord1d(double u)
          Evaluate enabled one- and two-dimensional maps
 void glEvalCoord1dv(double[] u)
          Evaluate enabled one- and two-dimensional maps
 void glEvalCoord1f(float u)
          Evaluate enabled one- and two-dimensional maps
 void glEvalCoord1fv(float[] u)
          Evaluate enabled one- and two-dimensional maps
 void glEvalCoord2d(double u, double v)
          Evaluate enabled one- and two-dimensional maps
 void glEvalCoord2dv(double[] values)
          Evaluate enabled one- and two-dimensional maps
 void glEvalCoord2f(float u, float v)
          Evaluate enabled one- and two-dimensional maps
 void glEvalCoord2fv(float[] values)
          Evaluate enabled one- and two-dimensional maps
 void glEvalMesh1(int mode, int p1, int p2)
          Compute a one-dimensional grid of points
 void glEvalMesh2(int mode, int i1, int i2, int j1, int j2)
          Compute a two-dimensional grid of points
 void glEvalPoint1(int i)
          Generate and evaluate a single point in a mesh
 void glEvalPoint2(int i, int j)
          Generate and evaluate a single point in a mesh
 void glFeedbackBuffer(int size, int type, float[] buffer)
          Controls feedback mode
 void glFinish()
          Block until all GL execution is complete
 void glFlush()
          Force execution of GL commands in finite time
 void glFogf(int pname, float param)
          Specify fog parameters
 void glFogfv(int pname, float[] params)
          Specify fog parameters
 void glFogi(int pname, int param)
          Specify fog parameters
 void glFogiv(int pname, int[] params)
          Specify fog parameters
 void glFrontFace(int mode)
          Define front- and back-facing polygons
 void glFrustum(double left, double right, double bottom, double top, double nearValue, double farValue)
          Multiply the current matrix by a perspective matrix
 int glGenLists(int range)
          Generate a contiguous set of empty display lists
 void glGenTextures(int n, int[] textureNames)
          Returns the desired quantity of current unused names for texture objects that can be used with glBindTexture.
 void glGetBooleanv(int pname, boolean[] params)
          Return the value or values of a specified parameter
 void glGetClipPlane(int plane, double[] equation)
          Return the co-efficients of the specified clipping plane
 void glGetDoublev(int pname, double[] params)
          Return the value or values of a specified parameter
 int glGetError()
          Return error information
 void glGetFloatv(int pname, float[] params)
          Return the value or values of a specified parameter
 void glGetIntegerv(int pname, int[] params)
          Return the value or values of a specified parameter
 void glGetLightfv(int light, int pname, float[] params)
          Return light source parameter values
 void glGetLightiv(int light, int pname, int[] params)
          Return light source parameter values
 void glGetMapdv(int target, int query, double[] v)
          Return evaluator parameters
 void glGetMapfv(int target, int query, float[] v)
          Return evaluator parameters
 void glGetMapiv(int target, int query, int[] v)
          Return evaluator parameters
 void glGetMaterialfv(int face, int pname, float[] params)
          Return material parameters
 void glGetMaterialiv(int face, int pname, int[] params)
          Return material parameters
 void glGetPixelMapfv(int map, float[] values)
          Return the specified pixel map
 void glGetPixelMapuiv(int map, int[] values)
          Return the specified pixel map
 void glGetPixelMapusv(int map, short[] values)
          Return the specified pixel map
 void glGetPolygonStipple(byte[] mask)
          Return the polygon stipple pattern
 java.lang.String glGetString(int name)
          Returns a string describing the current GL connection
 void glGetTexEnvfv(int target, int pname, float[] params)
          Return texture environment parameters
 void glGetTexEnviv(int target, int pname, int[] params)
          Return texture environment parameters
 void glGetTexGendv(int coord, int pname, double[] params)
          Return texture coordinate generation parameters
 void glGetTexGenfv(int coord, int pname, float[] params)
          Return texture coordinate generation parameters
 void glGetTexGeniv(int coord, int pname, int[] params)
          Return texture coordinate generation parameters
 void glGetTexImage(int target, int level, int format, int type, byte[] pixels)
          Return a texture image
 void glGetTexImage(int target, int level, int format, int type, float[] pixels)
          Return a texture image
 void glGetTexImage(int target, int level, int format, int type, int[] pixels)
          Return a texture image
 void glGetTexImage(int target, int level, int format, int type, short[] pixels)
          Return a texture image
 void glGetTexLevelParameterfv(int target, int level, int pname, float[] params)
          Return texture parameter values for a specific level of detail
 void glGetTexLevelParameteriv(int target, int level, int pname, int[] params)
          Return texture parameter values for a specific level of detail
 void glGetTexParameterfv(int target, int pname, float[] params)
          Return texture parameter values
 void glGetTexParameteriv(int target, int pname, int[] params)
          Return texture parameter values
 void glHint(int target, int mode)
          Specify implementation-specific hints
 void glIndexd(double c)
          Set the current colour index
 void glIndexdv(double[] c)
          Set the current colour index
 void glIndexf(float c)
          Set the current colour index
 void glIndexfv(float[] c)
          Set the current colour index
 void glIndexi(int c)
          Set the current colour index
 void glIndexiv(int[] c)
          Set the current colour index
 void glIndexMask(int mask)
          Control the writing of individual bits in the colour index buffers
 void glIndexPointer(int type, int stride, byte[] ptr)
          Defines an array of colour indices
 void glIndexPointer(int type, int stride, double[] ptr)
          Defines an array of colour indices
 void glIndexPointer(int type, int stride, float[] ptr)
          Defines an array of colour indices
 void glIndexPointer(int type, int stride, int[] ptr)
          Defines an array of colour indices
 void glIndexPointer(int type, int stride, short[] ptr)
          Defines an array of colour indices
 void glIndexs(short c)
          Set the current colour index
 void glIndexsv(short[] c)
          Set the current colour index
 void glIndexub(byte c)
          Set the current colour index
 void glIndexubv(byte[] c)
          Set the current colour index
 void glInitNames()
          Initialize the name stack
 void glInterleavedArrays(int format, int stride, float[] pointer)
          Initializes vertex, colour and normal arrays for complex interleaving
 boolean glIsEnabled(int cap)
          Test whether a capability is enabled
 boolean glIsList(int list)
          Determine if a name corresponds to a display list
 boolean glIsTexture(int texture)
          Determine if a name corresponds to a texture
 void glLightf(int light, int pname, float param)
          Set light source parameters
 void glLightfv(int light, int pname, float[] param)
          Set the lighting model parameters
 void glLighti(int light, int pname, int param)
          Set light source parameters
 void glLightiv(int light, int pname, int[] param)
          Set the lighting model parameters
 void glLightModelf(int pname, float param)
          Set the lighting model parameters
 void glLightModelfv(int pname, float[] params)
          Set the lighting model parameters
 void glLightModeli(int pname, int param)
          Set the lighting model parameters
 void glLightModeliv(int pname, int[] params)
          Set the lighting model parameters
 void glLineStipple(int factor, short pattern)
          Specify the line stipple pattern
 void glLineWidth(float width)
          Specify the width of rasterized lines
 void glListBase(int base)
          Set the display list base for glCallLists
 void glLoadIdentity()
          Replace the current matrix with the identity matrix
 void glLoadMatrixd(double[] m)
          Replace the current matrix with an arbitrary matrix
 void glLoadMatrixf(float[] m)
          Replace the current matrix with an arbitrary matrix
 void glLoadName(int name)
          Load a name onto the name stack
 void glLogicOp(int opcode)
          Specify a logical pixel operations for colour index rendering
 void glMap1d(int target, double u1, double u2, int stride, int order, double[][] points)
          Define a one-dimensional evaluator
 void glMap1f(int target, float u1, float u2, int stride, int order, float[][] points)
          Define a one-dimensional evaluator
 void glMap2d(int target, float u1, float u2, int ustride, int uorder, float v1, float v2, int vstride, int vorder, double[][][] points)
          Define a two-dimensional evaluator
 void glMap2f(int target, float u1, float u2, int ustride, int uorder, float v1, float v2, int vstride, int vorder, float[][][] points)
          Define a two-dimensional evaluator
 void glMapGrid1d(int un, double u1, double u2)
          Define a one-dimensional mesh
 void glMapGrid1f(int un, float u1, float u2)
          Define a one-dimensional mesh
 void glMapGrid2d(int un, double u1, double u2, int vn, double v1, double v2)
          Define a two-dimensional mesh
 void glMapGrid2f(int un, float u1, float u2, int vn, float v1, float v2)
          Define a two-dimensional mesh
 void glMaterialf(int face, int pname, float param)
          Specify material parameters for the lighting model
 void glMaterialfv(int face, int pname, float[] params)
          Specify material parameters for the lighting model
 void glMateriali(int face, int pname, int param)
          Specify material parameters for the lighting model
 void glMaterialiv(int face, int pname, int[] params)
          Specify material parameters for the lighting model
 void glMatrixMode(int mode)
          Specify which matrix is the current matrix
 void glMultMatrixd(double[] m)
          Multiply the current matrix by an arbitrary matrix
 void glMultMatrixd(double[][] m)
          Multiply the current matrix by an arbitrary matrix
 void glMultMatrixf(float[] m)
          Multiply the current matrix by an arbitrary matrix
 void glMultMatrixf(float[][] m)
          Multiply the current matrix by an arbitrary matrix
 void glNewList(int list, int mode)
          Create or replace a display list
 void glNormal3b(byte nx, byte ny, byte nz)
          Set the current normal vector
 void glNormal3bv(byte[] v)
          Set the current normal vector
 void glNormal3d(double nx, double ny, double nz)
          Set the current normal vector
 void glNormal3dv(double[] v)
          Set the current normal vector
 void glNormal3f(float nx, float ny, float nz)
          Set the current normal vector
 void glNormal3fv(float[] v)
          Set the current normal vector
 void glNormal3i(int nx, int ny, int nz)
          Set the current normal vector
 void glNormal3iv(int[] v)
          Set the current normal vector
 void glNormal3s(short nx, short ny, short nz)
          Set the current normal vector
 void glNormal3sv(short[] v)
          Set the current normal vector
 void glNormalPointer(int type, int stride, byte[] ptr)
          Defines an array of normals
 void glNormalPointer(int type, int stride, double[] ptr)
          Defines an array of normals
 void glNormalPointer(int type, int stride, float[] ptr)
          Defines an array of normals
 void glNormalPointer(int type, int stride, int[] ptr)
          Defines an array of normals
 void glNormalPointer(int type, int stride, short[] ptr)
          Defines an array of normals
 void glOrtho(double left, double right, double bottom, double top, double nearValue, double farValue)
          Multiply the current matrix by an orthographic matrix
 void glPassThrough(float token)
          Place a marker in the feedback buffer
 void glPixelMapfv(int map, int mapsize, float[] values)
          Set up pixel transfer maps
 void glPixelMapuiv(int map, int mapsize, int[] values)
          Set up pixel transfer maps
 void glPixelMapusv(int map, int mapsize, short[] values)
          Set up pixel transfer maps
 void glPixelStoref(int pname, float param)
          Set pixel storage maps
 void glPixelStorei(int pname, int param)
          Set pixel storage maps
 void glPixelTransferf(int pname, float param)
          Set pixel transfer modes
 void glPixelTransferi(int pname, int param)
          Set pixel transfer modes
 void glPixelZoom(float xfactor, float yfactor)
          Specify the pixel zoom factors
 void glPointSize(float size)
          Specify the diameter of rasterized points
 void glPolygonMode(int face, int mode)
          Select a polygon rasterization mode
 void glPolygonOffset(float factor, float units)
          When enabled, the depth value of each fragment is added to a calculated offset value.
 void glPolygonStipple(byte[] mask)
          Set the polygon stippling pattern
 void glPopAttrib()
          Pushes the given attribute onto the attribute stack
 void glPopClientAttrib()
          This pushes the given attribute onto the client attribute stack
 void glPopMatrix()
          Pop the current matrix stack
 void glPopName()
          Pop the name stack
 void glPrioritizeTextures(int n, int[] textures, float[] priorities)
          Assigns priorities to texture objects in a given texture array.
 void glPushAttrib(int mask)
          Push the attribute stack
 void glPushClientAttrib(int mask)
          This pushes the desired attributes onto the client attribute stack
 void glPushMatrix()
          Push the current matrix stack
 void glPushName(int name)
          Push the name stack
 void glRasterPos2d(double x, double y)
          Specify the raster position for pixel
 void glRasterPos2dv(double[] coords)
          Specify the raster position for pixel
 void glRasterPos2f(float x, float y)
          Specify the raster position for pixel
 void glRasterPos2fv(float[] coords)
          Specify the raster position for pixel
 void glRasterPos2i(int x, int y)
          Specify the raster position for pixel
 void glRasterPos2iv(int[] coords)
          Specify the raster position for pixel
 void glRasterPos2s(short x, short y)
          Specify the raster position for pixel
 void glRasterPos2sv(short[] coords)
          Specify the raster position for pixel
 void glRasterPos3d(double x, double y, double z)
          Specify the raster position for pixel
 void glRasterPos3dv(double[] coords)
          Specify the raster position for pixel
 void glRasterPos3f(float x, float y, float z)
          Specify the raster position for pixel
 void glRasterPos3fv(float[] coords)
          Specify the raster position for pixel
 void glRasterPos3i(int x, int y, int z)
          Specify the raster position for pixel
 void glRasterPos3iv(int[] coords)
          Specify the raster position for pixel
 void glRasterPos3s(short x, short y, short z)
          Specify the raster position for pixel
 void glRasterPos3sv(short[] coords)
          Specify the raster position for pixel
 void glRasterPos4d(double x, double y, double z, double w)
          Specify the raster position for pixel
 void glRasterPos4dv(double[] coords)
          Specify the raster position for pixel
 void glRasterPos4f(float x, float y, float z, float w)
          Specify the raster position for pixel
 void glRasterPos4fv(float[] coords)
          Specify the raster position for pixel
 void glRasterPos4i(int x, int y, int z, int w)
          Specify the raster position for pixel
 void glRasterPos4iv(int[] coords)
          Specify the raster position for pixel
 void glRasterPos4s(short x, short y, short z, short w)
          Specify the raster position for pixel
 void glRasterPos4sv(short[] coords)
          Specify the raster position for pixel
 void glReadBuffer(int mode)
          Select a colour buffer source for pixels
 void glReadPixels(int x, int y, int width, int height, int format, int type, byte[] pixels)
          Read a block of pixels from the frame buffer
 void glReadPixels(int x, int y, int width, int height, int format, int type, float[] pixels)
          Read a block of pixels from the frame buffer
 void glReadPixels(int x, int y, int width, int height, int format, int type, int[] pixels)
          Read a block of pixels from the frame buffer
 void glReadPixels(int x, int y, int width, int height, int format, int type, short[] pixels)
          Read a block of pixels from the frame buffer
 void glRectd(double x1, double y1, double x2, double y2)
          Draw a rectangle
 void glRectdv(double[] v1, double[] v2)
          Draw a rectangle
 void glRectf(float x1, float y1, float x2, float y2)
          Draw a rectangle
 void glRectfv(float[] v1, float[] v2)
          Draw a rectangle
 void glRecti(int x1, int y1, int x2, int y2)
          Draw a rectangle
 void glRectiv(int[] v1, int[] v2)
          Draw a rectangle
 void glRects(short x1, short y1, short x2, short y2)
          Draw a rectangle
 void glRectsv(short[] v1, short[] v2)
          Draw a rectangle
 int glRenderMode(int mode)
          Set rasterization mode
 void glRotated(double angle, double x, double y, double z)
          Multiply the current matrix by a rotation matrix
 void glRotatef(float angle, float x, float y, float z)
          Multiply the current matrix by a rotation matrix
 void glScaled(double x, double y, double z)
          Multiply the current matrix by a general scaling matrix
 void glScalef(float x, float y, float z)
          Multiply the current matrix by a general scaling matrix
 void glScissor(int x, int y, int width, int height)
          Define the scissor box
 void glSelectBuffer(int size, int[] buffer)
          Establish a buffer for selection mode values.
 void glShadeModel(int mode)
          Select flat or smooth shading
 void glStencilFunc(int func, int ref, int mask)
          Set function and reference value for stencil testing
 void glStencilMask(int mask)
          Control the writing of individual bits in the stencil planes
 void glStencilOp(int fail, int zfail, int zpass)
          Set stencil test actions
 void glTexCoord1d(double s)
          Set the current texture coordinates
 void glTexCoord1dv(double[] v)
          Set the current texture coordinates
 void glTexCoord1f(float s)
          Set the current texture coordinates
 void glTexCoord1fv(float[] v)
          Set the current texture coordinates
 void glTexCoord1i(int s)
          Set the current texture coordinates
 void glTexCoord1iv(int[] v)
          Set the current texture coordinates
 void glTexCoord1s(short s)
          Set the current texture coordinates
 void glTexCoord1sv(short[] v)
          Set the current texture coordinates
 void glTexCoord2d(double s, double t)
          Set the current texture coordinates
 void glTexCoord2dv(double[] v)
          Set the current texture coordinates
 void glTexCoord2f(float s, float t)
          Set the current texture coordinates
 void glTexCoord2fv(float[] v)
          Set the current texture coordinates
 void glTexCoord2i(int s, int t)
          Set the current texture coordinates
 void glTexCoord2iv(int[] v)
          Set the current texture coordinates
 void glTexCoord2s(short s, short t)
          Set the current texture coordinates
 void glTexCoord2sv(short[] v)
          Set the current texture coordinates
 void glTexCoord3d(double s, double t, double r)
          Set the current texture coordinates
 void glTexCoord3dv(double[] v)
          Set the current texture coordinates
 void glTexCoord3f(float s, float t, float r)
          Set the current texture coordinates
 void glTexCoord3fv(float[] v)
          Set the current texture coordinates
 void glTexCoord3i(int s, int t, int r)
          Set the current texture coordinates
 void glTexCoord3iv(int[] v)
          Set the current texture coordinates
 void glTexCoord3s(short s, short t, short r)
          Set the current texture coordinates
 void glTexCoord3sv(short[] v)
          Set the current texture coordinates
 void glTexCoord4d(double s, double t, double r, double q)
          Set the current texture coordinates
 void glTexCoord4dv(double[] v)
          Set the current texture coordinates
 void glTexCoord4f(float s, float t, float r, float q)
          Set the current texture coordinates
 void glTexCoord4fv(float[] v)
          Set the current texture coordinates
 void glTexCoord4i(int s, int t, int r, int q)
          Set the current texture coordinates
 void glTexCoord4iv(int[] v)
          Set the current texture coordinates
 void glTexCoord4s(short s, short t, short r, short q)
          Set the current texture coordinates
 void glTexCoord4sv(short[] v)
          Set the current texture coordinates
 void glTexCoordPointer(int size, int type, int stride, double[] ptr)
          Defines an array of texture coordinates
 void glTexCoordPointer(int size, int type, int stride, float[] ptr)
          Defines an array of texture coordinates
 void glTexCoordPointer(int size, int type, int stride, int[] ptr)
          Defines an array of texture coordinates
 void glTexCoordPointer(int size, int type, int stride, short[] ptr)
          Defines an array of texture coordinates
 void glTexEnvf(int target, int pname, float param)
          Set texture environment parameters
 void glTexEnvfv(int target, int pname, float[] param)
          Set texture environment parameters
 void glTexEnvi(int target, int pname, int param)
          Set texture environment parameters
 void glTexEnviv(int target, int pname, int[] param)
          Set texture environment parameters
 void glTexGend(int coord, int pname, double param)
          Control the generation of texture coordinates
 void glTexGendv(int coord, int pname, double[] param)
          Control the generation of texture coordinates
 void glTexGenf(int coord, int pname, float param)
          Control the generation of texture coordinates
 void glTexGenfv(int coord, int pname, float[] param)
          Control the generation of texture coordinates
 void glTexGeni(int coord, int pname, int param)
          Control the generation of texture coordinates
 void glTexGeniv(int coord, int pname, int[] param)
          Control the generation of texture coordinates
 void glTexImage1D(int target, int level, int components, int width, int border, int format, int type, byte[] pixels)
          Specifies a one-dimensional texture map
 void glTexImage1D(int target, int level, int components, int width, int border, int format, int type, byte[][] pixels)
          Specifies a one-dimensional texture map using slightly more sensible array definitions.
 void glTexImage1D(int target, int level, int components, int width, int border, int format, int type, float[] pixels)
          Specifies a one-dimensional texture map
 void glTexImage1D(int target, int level, int components, int width, int border, int format, int type, float[][] pixels)
          Specifies a one-dimensional texture map using slightly more sensible array definitions.
 void glTexImage1D(int target, int level, int components, int width, int border, int format, int type, int[] pixels)
          Specifies a one-dimensional texture map
 void glTexImage1D(int target, int level, int components, int width, int border, int format, int type, int[][] pixels)
          Specifies a one-dimensional texture map using slightly more sensible array definitions.
 void glTexImage1D(int target, int level, int components, int width, int border, int format, int type, short[] pixels)
          Specifies a one-dimensional texture map
 void glTexImage1D(int target, int level, int components, int width, int border, int format, int type, short[][] pixels)
          Specifies a one-dimensional texture map using slightly more sensible array definitions.
 void glTexImage2D(int target, int level, int components, int width, int height, int border, int format, int type, byte[] pixels)
          Specifies a two-dimensional texture map
 void glTexImage2D(int target, int level, int components, int width, int height, int border, int format, int type, byte[][][] pixels)
          Specifies a two-dimensional texture map with a 3-dimensional array corresponding to [width of texture][height of texture][number of components] For example, we could define a texture of 8x8x4 as [8][8][4] and this routine will correctly internally convert the data to a valid OpenGL texture map.
 void glTexImage2D(int target, int level, int components, int width, int height, int border, int format, int type, float[] pixels)
          Specifies a two-dimensional texture map
 void glTexImage2D(int target, int level, int components, int width, int height, int border, int format, int type, float[][][] pixels)
          Specifies a two-dimensional texture map with a 3-dimensional array corresponding to [width of texture][height of texture][number of components] For example, we could define a texture of 8x8x4 as [8][8][4] and this routine will correctly internally convert the data to a valid OpenGL texture map.
 void glTexImage2D(int target, int level, int components, int width, int height, int border, int format, int type, int[] pixels)
          Specifies a two-dimensional texture map
 void glTexImage2D(int target, int level, int components, int width, int height, int border, int format, int type, int[][][] pixels)
          Specifies a two-dimensional texture map with a 3-dimensional array corresponding to [width of texture][height of texture][number of components] For example, we could define a texture of 8x8x4 as [8][8][4] and this routine will correctly internally convert the data to a valid OpenGL texture map.
 void glTexImage2D(int target, int level, int components, int width, int height, int border, int format, int type, short[] pixels)
          Specifies a two-dimensional texture map
 void glTexImage2D(int target, int level, int components, int width, int height, int border, int format, int type, short[][][] pixels)
          Specifies a two-dimensional texture map with a 3-dimensional array corresponding to [width of texture][height of texture][number of components] For example, we could define a texture of 8x8x4 as [8][8][4] and this routine will correctly internally convert the data to a valid OpenGL texture map.
 void glTexImage3D(int target, int level, int internalFormat, int width, int height, int depth, int border, int format, int type, byte[] pixels)
          Specifies a 3D texture image
 void glTexImage3D(int target, int level, int internalFormat, int width, int height, int depth, int border, int format, int type, byte[][][][] pixels)
          Specifies a 3D texture image
 void glTexImage3D(int target, int level, int internalFormat, int width, int height, int depth, int border, int format, int type, float[] pixels)
          Specifies a 3D texture image
 void glTexImage3D(int target, int level, int internalFormat, int width, int height, int depth, int border, int format, int type, float[][][][] pixels)
          Specifies a 3D texture image
 void glTexImage3D(int target, int level, int internalFormat, int width, int height, int depth, int border, int format, int type, int[] pixels)
          Specifies a 3D texture image
 void glTexImage3D(int target, int level, int internalFormat, int width, int height, int depth, int border, int format, int type, int[][][][] pixels)
          Specifies a 3D texture image
 void glTexImage3D(int target, int level, int internalFormat, int width, int height, int depth, int border, int format, int type, short[] pixels)
          Specifies a 3D texture image
 void glTexImage3D(int target, int level, int internalFormat, int width, int height, int depth, int border, int format, int type, short[][][][] pixels)
          Specifies a 3D texture image
 void glTexParameterf(int target, int pname, float param)
          Set texture parameters
 void glTexParameterfv(int target, int pname, float[] param)
          Set texture parameters
 void glTexParameteri(int target, int pname, int param)
          Set texture parameters
 void glTexParameteriv(int target, int pname, int[] param)
          Set texture parameters
 void glTexSubImage1D(int target, int level, int xoffset, int width, int format, int type, byte[] pixels)
          Specifies a one-dimensional texture sub-image
 void glTexSubImage1D(int target, int level, int xoffset, int width, int format, int type, float[] pixels)
          Specifies a one-dimensional texture sub-image
 void glTexSubImage1D(int target, int level, int xoffset, int width, int format, int type, int[] pixels)
          Specifies a one-dimensional texture sub-image
 void glTexSubImage1D(int target, int level, int xoffset, int width, int format, int type, short[] pixels)
          Specifies a one-dimensional texture sub-image
 void glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, byte[] pixels)
          Specifies a two-dimensional texture sub-image
 void glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, float[] pixels)
          Specifies a two-dimensional texture sub-image
 void glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, int[] pixels)
          Specifies a two-dimensional texture sub-image
 void glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, short[] pixels)
          Specifies a two-dimensional texture sub-image
 void glTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, byte[] pixels)
          Specifies a three-dimensional texture sub-image
 void glTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, float[] pixels)
          Specifies a three-dimensional texture sub-image
 void glTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, int[] pixels)
          Specifies a three-dimensional texture sub-image
 void glTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, short[] pixels)
          Specifies a three-dimensional texture sub-image
 void glTranslated(double x, double y, double z)
          Multiply the current matrix by a translation matrix
 void glTranslatef(float x, float y, float z)
          Multiply the current matrix by a translation matrix
 void glVertex2d(double x, double y)
          Specify a vertex
 void glVertex2dv(double[] v)
          Specify a vertex
 void glVertex2f(float x, float y)
          Specify a vertex
 void glVertex2fv(float[] v)
          Specify a vertex
 void glVertex2i(int x, int y)
          Specify a vertex
 void glVertex2iv(int[] v)
          Specify a vertex
 void glVertex2s(short x, short y)
          Specify a vertex
 void glVertex2sv(short[] v)
          Specify a vertex
 void glVertex3d(double x, double y, double z)
          Specify a vertex
 void glVertex3dv(double[] v)
          Specify a vertex
 void glVertex3f(float x, float y, float z)
          Specify a vertex
 void glVertex3fv(float[] v)
          Specify a vertex
 void glVertex3i(int x, int y, int z)
          Specify a vertex
 void glVertex3iv(int[] v)
          Specify a vertex
 void glVertex3s(short x, short y, short z)
          Specify a vertex
 void glVertex3sv(short[] z)
          Specify a vertex
 void glVertex4d(double x, double y, double z, double w)
          Specify a vertex
 void glVertex4dv(double[] v)
          Specify a vertex
 void glVertex4f(float x, float y, float z, float w)
          Specify a vertex
 void glVertex4fv(float[] v)
          Specify a vertex
 void glVertex4i(int x, int y, int z, int w)
          Specify a vertex
 void glVertex4iv(int[] v)
          Specify a vertex
 void glVertex4s(short x, short y, short z, short w)
          Specify a vertex
 void glVertex4sv(short[] v)
          Specify a vertex
 void glVertexPointer(int size, int type, int stride, double[] ptr)
          Define an array of vertex data
 void glVertexPointer(int size, int type, int stride, float[] ptr)
          Define an array of vertex data
 void glVertexPointer(int size, int type, int stride, int[] ptr)
          Define an array of vertex data
 void glVertexPointer(int size, int type, int stride, short[] ptr)
          Define an array of vertex data
 void glViewport(GLDrawable component, int x, int y, int width, int height)
          Set the viewport
 void hint(int target, int mode)
          Specify implementation-specific hints
 void index(byte c)
          Set the current colour index
 void index(byte[] c)
          Set the current colour index
 void index(double c)
          Set the current colour index
 void index(double[] c)
          Set the current colour index
 void index(float c)
          Set the current colour index
 void index(float[] c)
          Set the current colour index
 void index(int c)
          Set the current colour index
 void index(int[] c)
          Set the current colour index
 void index(short c)
          Set the current colour index
 void index(short[] c)
          Set the current colour index
 void indexMask(int mask)
          Control the writing of individual bits in the colour index buffers
 void initNames()
          Initialize the name stack
 boolean isEnabled(int cap)
          Test whether or not a capability is enabled
 boolean isList(int list)
          Determine if a name corresponds to a display list
 boolean isTexture(int texture)
          Determine if a name corresponds to a texture
 void light(int light, int pname, float param)
          Set light source parameters
 void light(int light, int pname, float[] param)
          Set the lighting model parameters
 void light(int light, int pname, int param)
          Set light source parameters
 void light(int light, int pname, int[] param)
          Set the lighting model parameters
 void lightModel(int pname, float param)
          Set the lighting model parameters
 void lightModel(int pname, float[] params)
          Set the lighting model parameters
 void lightModel(int pname, int param)
          Set the lighting model parameters
 void lightModel(int pname, int[] params)
          Set the lighting model parameters
 void lineStipple(int factor, short pattern)
          Specify the line stipple pattern
 void lineWidth(float width)
          Specify the width of rasterized lines
 void listBase(int base)
          Set the display list base for glCallLists
 void loadIdentity()
          Replace the current matrix with the identity matrix
 void loadMatrix(double[] m)
          Replace the current matrix with an arbitrary matrix
 void loadMatrix(float[] m)
          Replace the current matrix with an arbitrary matrix
 void loadName(int name)
          Load a name onto the name stack
 void logicOp(int opcode)
          Specify a logical pixel operations for colour index rendering
 void mapGrid(int un, double u1, double u2)
          Define a one-dimensional mesh
 void mapGrid(int un, double u1, double u2, int vn, double v1, double v2)
          Define a two-dimensional mesh
 void mapGrid(int un, float u1, float u2)
          Define a one-dimensional mesh
 void mapGrid(int un, float u1, float u2, int vn, float v1, float v2)
          Define a two-dimensional mesh
 void material(int face, int pname, float param)
          Specify material parameters for the lighting model
 void material(int face, int pname, float[] params)
          Specify material parameters for the lighting model
 void material(int face, int pname, int param)
          Specify material parameters for the lighting model
 void material(int face, int pname, int[] params)
          Specify material parameters for the lighting model
 void matrixMode(int mode)
          Specify which matrix is the current matrix
 void multMatrix(double[] m)
          Multiply the current matrix by an arbitrary matrix
 void multMatrix(double[][] m)
          Multiply the current matrix by an arbitrary matrix
 void multMatrix(float[] m)
          Multiply the current matrix by an arbitrary matrix
 void multMatrix(float[][] m)
          Multiply the current matrix by an arbitrary matrix
 void newList(int list, int mode)
          Create or replace a display list
 void normal(byte[] v)
          Set the current normal vector
 void normal(byte nx, byte ny, byte nz)
          Set the current normal vector
 void normal(double[] v)
          Set the current normal vector
 void normal(double nx, double ny, double nz)
          Set the current normal vector
 void normal(float[] v)
          Set the current normal vector
 void normal(float nx, float ny, float nz)
          Set the current normal vector
 void normal(int[] v)
          Set the current normal vector
 void normal(int nx, int ny, int nz)
          Set the current normal vector
 void normal(short[] v)
          Set the current normal vector
 void normal(short nx, short ny, short nz)
          Set the current normal vector
 void ortho(double left, double right, double bottom, double top, double nearValue, double farValue)
          Multiply the current matrix by an orthographic matrix
 void passThrough(float token)
          Place a marker in the feedback buffer
 void pixelMap(int map, int mapsize, float[] values)
          Set up pixel transfer maps
 void pixelMap(int map, int mapsize, int[] values)
          Set up pixel transfer maps
 void pixelMap(int map, int mapsize, short[] values)
          Set up pixel transfer maps
 void pixelStore(int pname, float param)
          Set pixel storage maps
 void pixelStore(int pname, int param)
          Set pixel storage maps
 void pixelTransfer(int pname, float param)
          Set pixel transfer modes
 void pixelTransfer(int pname, int param)
          Set pixel transfer modes
 void pixelZoom(float xfactor, float yfactor)
          Specify the pixel zoom factors
 void pointSize(float size)
          Specify the diameter of rasterized points
 void polygonMode(int face, int mode)
          Select a polygon rasterization mode
 void polygonOffset(float factor, float units)
          When enabled, the depth value of each fragment is added to a calculated offset value.
 void polygonStipple(byte[] mask)
          Set the polygon stippling pattern
 void popAttrib()
          Pushes the given attribute onto the attribute stack
 void popClientAttrib()
          This pushes the given attribute onto the client attribute stack
 void popMatrix()
          Pop the current matrix stack
 void popName()
          Pop the name stack
 void prioritizeTextures(int n, int[] textures, float[] priorities)
          Assigns priorities to texture objects in a given texture array.
 void pushAttrib(int mask)
          Push the attribute stack
 void pushClientAttrib(int mask)
          This pushes the desired attributes onto the client attribute stack
 void pushMatrix()
          Push the current matrix stack
 void pushName(int name)
          Push the name stack
 void rasterPos(double[] ary)
          Polymorphic definition for glRasterPos[234]dv
 void rasterPos(double x, double y)
          Polymorphic definition for glRasterPos2d
 void rasterPos(double x, double y, double z)
          Polymorphic definition for glRasterPos3d
 void rasterPos(double x, double y, double z, double w)
          Polymorphic definition for glRasterPos4d
 void rasterPos(float[] ary)
          Polymorphic definition for glRasterPos[234]fv
 void rasterPos(float x, float y)
          Polymorphic definition for glRasterPos2f
 void rasterPos(float x, float y, float z)
          Polymorphic definition for glRasterPos3f
 void rasterPos(float x, float y, float z, float w)
          Polymorphic definition for glRasterPos4f
 void rasterPos(int[] ary)
          Polymorphic definition for glRasterPos[234]iv
 void rasterPos(int x, int y)
          Polymorphic definition for glRasterPos2i
 void rasterPos(int x, int y, int z)
          Polymorphic definition for glRasterPos3i
 void rasterPos(int x, int y, int z, int w)
          Polymorphic definition for glRasterPos4i
 void rasterPos(short[] ary)
          Polymorphic definition for glRasterPos[234]sv
 void rasterPos(short x, short y)
          Polymorphic definition for glRasterPos2s
 void rasterPos(short x, short y, short z)
          Polymorphic definition for glRasterPos3s
 void rasterPos(short x, short y, short z, short w)
          Polymorphic definition for glRasterPos4s
 void readBuffer(int mode)
          Select a colour buffer source for pixels
 void rect(double[] v1, double[] v2)
          Draw a rectangle
 void rect(double x1, double y1, double x2, double y2)
          Draw a rectangle
 void rect(float[] v1, float[] v2)
          Draw a rectangle
 void rect(float x1, float y1, float x2, float y2)
          Draw a rectangle
 void rect(int[] v1, int[] v2)
          Draw a rectangle
 void rect(int x1, int y1, int x2, int y2)
          Draw a rectangle
 void rect(short[] v1, short[] v2)
          Draw a rectangle
 void rect(short x1, short y1, short x2, short y2)
          Draw a rectangle
 int renderMode(int mode)
          Set rasterization mode
 void rotate(double angle, double x, double y, double z)
          Multiply the current matrix by a rotation matrix
 void rotate(float angle, float x, float y, float z)
          Multiply the current matrix by a rotation matrix
 void scale(double x, double y, double z)
          Multiply the current matrix by a general scaling matrix
 void scale(float x, float y, float z)
          Multiply the current matrix by a general scaling matrix
 void scissor(int x, int y, int width, int height)
          Define the scissor box
 void selectBuffer(int size, int[] buffer)
          Establish a buffer for selection mode values.
 void setMode(int mode)
          Signifies the operating mode of any implementations of this interface, ie, summary or verbose
 void setParent(GL parent)
          Sets the parent interface
 void shadeModel(int mode)
          Select flat or smooth shading
 void stencilFunc(int func, int ref, int mask)
          Set function and reference value for stencil testing
 void stencilMask(int mask)
          Control the writing of individual bits in the stencil planes
 void stencilOp(int fail, int zfail, int zpass)
          Set stencil test actions
 void texCoord(double s)
          Polymorphic method for glTexCoord1d
 void texCoord(double[] ary)
          Polymorphic method for glTexCoord[1234]dv
 void texCoord(double s, double t)
          Polymorphic method for glTexCoord2d
 void texCoord(double s, double t, double r)
          Polymorphic method for glTexCoord3d
 void texCoord(double s, double t, double r, double q)
          Polymorphic method for glTexCoord4d
 void texCoord(float s)
          Polymorphic method for glTexCoord1f
 void texCoord(float[] ary)
          Polymorphic method for glTexCoord[1234]fv
 void texCoord(float s, float t)
          Polymorphic method for glTexCoord2f
 void texCoord(float s, float t, float r)
          Polymorphic method for glTexCoord3f
 void texCoord(float s, float t, float r, float q)
          Polymorphic method for glTexCoord4f
 void texCoord(int s)
          Polymorphic method for glTexCoord1i
 void texCoord(int[] ary)
          Polymorphic method for glTexCoord[1234]iv
 void texCoord(int s, int t)
          Polymorphic method for glTexCoord2i
 void texCoord(int s, int t, int r)
          Polymorphic method for glTexCoord3i
 void texCoord(int s, int t, int r, int q)
          Polymorphic method for glTexCoord4i
 void texCoord(short s)
          Polymorphic method for glTexCoord1s
 void texCoord(short[] ary)
          Polymorphic method for glTexCoord[1234]sv
 void texCoord(short s, short t)
          Polymorphic method for glTexCoord2s
 void texCoord(short s, short t, short r)
          Polymorphic method for glTexCoord3s
 void texCoord(short s, short t, short r, short q)
          Polymorphic method for glTexCoord4s
 void texEnv(int target, int pname, float param)
          Set texture environment parameters
 void texEnv(int target, int pname, float[] param)
          Set texture environment parameters
 void texEnv(int target, int pname, int param)
          Set texture environment parameters
 void texEnv(int target, int pname, int[] param)
          Set texture environment parameters
 void texGen(int coord, int pname, double param)
          Control the generation of texture coordinates
 void texGen(int coord, int pname, double[] param)
          Control the generation of texture coordinates
 void texGen(int coord, int pname, float param)
          Control the generation of texture coordinates
 void texGen(int coord, int pname, float[] param)
          Control the generation of texture coordinates
 void texGen(int coord, int pname, int param)
          Control the generation of texture coordinates
 void texGen(int coord, int pname, int[] param)
          Control the generation of texture coordinates
 void texImage1D(int target, int level, int components, int width, int border, int format, int type, byte[] pixels)
          Specifies a one-dimensional texture map
 void texImage1D(int target, int level, int components, int width, int border, int format, int type, float[] pixels)
          Specifies a one-dimensional texture map
 void texImage1D(int target, int level, int components, int width, int border, int format, int type, int[] pixels)
          Specifies a one-dimensional texture map
 void texImage1D(int target, int level, int components, int width, int border, int format, int type, short[] pixels)
          Specifies a one-dimensional texture map
 void texImage2D(int target, int level, int components, int width, int height, int border, int format, int type, byte[] pixels)
          Specifies a two-dimensional texture map
 void texImage2D(int target, int level, int components, int width, int height, int border, int format, int type, float[] pixels)
          Specifies a two-dimensional texture map
 void texImage2D(int target, int level, int components, int width, int height, int border, int format, int type, int[] pixels)
          Specifies a two-dimensional texture map
 void texImage2D(int target, int level, int components, int width, int height, int border, int format, int type, short[] pixels)
          Specifies a two-dimensional texture map
 void texImage3D(int target, int level, int internalFormat, int width, int height, int depth, int border, int format, int type, byte[] pixels)
          Specifies a 3D texture image
 void texImage3D(int target, int level, int internalFormat, int width, int height, int depth, int border, int format, int type, byte[][][][] pixels)
          Specifies a 3D texture image
 void texImage3D(int target, int level, int internalFormat, int width, int height, int depth, int border, int format, int type, float[] pixels)
          Specifies a 3D texture image
 void texImage3D(int target, int level, int internalFormat, int width, int height, int depth, int border, int format, int type, float[][][][] pixels)
          Specifies a 3D texture image
 void texImage3D(int target, int level, int internalFormat, int width, int height, int depth, int border, int format, int type, int[] pixels)
          Specifies a 3D texture image
 void texImage3D(int target, int level, int internalFormat, int width, int height, int depth, int border, int format, int type, int[][][][] pixels)
          Specifies a 3D texture image
 void texImage3D(int target, int level, int internalFormat, int width, int height, int depth, int border, int format, int type, short[] pixels)
          Specifies a 3D texture image
 void texImage3D(int target, int level, int internalFormat, int width, int height, int depth, int border, int format, int type, short[][][][] pixels)
          Specifies a 3D texture image
 void texParameter(int target, int pname, float param)
          Set texture parameters
 void texParameter(int target, int pname, float[] param)
          Set texture parameters
 void texParameter(int target, int pname, int param)
          Set texture parameters
 void texParameter(int target, int pname, int[] param)
          Set texture parameters
 void texSubImage1D(int target, int level, int xoffset, int width, int format, int type, byte[] pixels)
          Specifies a one-dimensional texture sub-image
 void texSubImage1D(int target, int level, int xoffset, int width, int format, int type, float[] pixels)
          Specifies a one-dimensional texture sub-image
 void texSubImage1D(int target, int level, int xoffset, int width, int format, int type, int[] pixels)
          Specifies a one-dimensional texture sub-image
 void texSubImage1D(int target, int level, int xoffset, int width, int format, int type, short[] pixels)
          Specifies a one-dimensional texture sub-image
 void texSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, byte[] pixels)
          Specifies a two-dimensional texture sub-image
 void texSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, float[] pixels)
          Specifies a two-dimensional texture sub-image
 void texSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, int[] pixels)
          Specifies a two-dimensional texture sub-image
 void texSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, short[] pixels)
          Specifies a two-dimensional texture sub-image
 void texSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, byte[] pixels)
          Specifies a three-dimensional texture sub-image
 void texSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, float[] pixels)
          Specifies a three-dimensional texture sub-image
 void texSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, int[] pixels)
          Specifies a three-dimensional texture sub-image
 void texSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, short[] pixels)
          Specifies a three-dimensional texture sub-image
 void translate(double x, double y, double z)
          Multiply the current matrix by a translation matrix
 void translate(float x, float y, float z)
          Multiply the current matrix by a translation matrix
 void vertex(double[] ary)
          Specify a vertex using an array of doubles
 void vertex(double x, double y)
          Polymorphic method for glVertex2d
 void vertex(double x, double y, double z)
          Polymorphic method for glVertex3d
 void vertex(double x, double y, double z, double w)
          Polymorphic method for glVertex4d
 void vertex(float[] ary)
          Specify a vertex using an array of floats
 void vertex(float x, float y)
          Polymorphic method for glVertex2f
 void vertex(float x, float y, float z)
          Polymorphic method for glVertex3f
 void vertex(float x, float y, float z, float w)
          Polymorphic method for glVertex4f
 void vertex(int[] ary)
          Specify a vertex using an array of ints
 void vertex(int x, int y)
          Polymorphic method for glVertex2i
 void vertex(int x, int y, int z)
          Polymorphic method for glVertex3i
 void vertex(int x, int y, int z, int w)
          Polymorphic method for glVertex4i
 void vertex(short[] ary)
          Specify a vertex using an array of shorts
 void vertex(short x, short y)
          Polymorphic method for glVertex2s
 void vertex(short x, short y, short z)
          Polymorphic method for glVertex3s
 void vertex(short x, short y, short z, short w)
          Polymorphic method for glVertex4s
 void viewport(GLDrawable component, int x, int y, int width, int height)
          Set the viewport
 

Field Detail

VERBOSE

public static final int VERBOSE
Verbose operating mode for any implementations of this interface

SUMMARY

public static final int SUMMARY
Summary operating mode for any implementations of this interface
Method Detail

setMode

public void setMode(int mode)
Signifies the operating mode of any implementations of this interface, ie, summary or verbose

Parameters:
mode - The operating mode

getMode

public int getMode()
Returns the current operating mode of any implementations of this interface.


setParent

public void setParent(GL parent)
Sets the parent interface

Parameters:
parent - The parent interface

getParent

public GL getParent()
Returns the parent interface

glCallLists

public void glCallLists(int n,
                        int type,
                        byte[] lists)
                 throws OpenGLException
Execute a list of display lists

Parameters:
n - Specifies the number of display lists to be executed
type - Specifies the type of values in `lists'. This is actually enforced by the type of the `lists' parameter itself.
lists - Specifies an array containing the name offsets in the display list
Throws:
OpenGLException - General OpenGL error

glCallLists

public void glCallLists(int n,
                        int type,
                        short[] lists)
                 throws OpenGLException
Execute a list of display lists

Parameters:
n - Specifies the number of display lists to be executed
type - Specifies the type of values in `lists'. Since the byte array may contain GL_*BYTE values and GL_[234]_BYTES values, typing is not enforced via the byte array
lists - Specifies an array containing the name offsets in the display list
Throws:
OpenGLException - General OpenGL error

glCallLists

public void glCallLists(int n,
                        int type,
                        int[] lists)
                 throws OpenGLException
Execute a list of display lists

Parameters:
n - Specifies the number of display lists to be executed
type - Specifies the type of values in `lists'. This is actually enforced by the type of the `lists' parameter itself.
lists - Specifies an array containing the name offsets in the display list
Throws:
OpenGLException - General OpenGL error

glDrawElements

public void glDrawElements(int mode,
                           int count,
                           int type,
                           byte[] indices)
                    throws OpenGLException
Render primitives from array data

Parameters:
mode - Specifies what kind of primitives to render
count - Specifies the number of elements to be rendered
type - Specifies the type of the values in `indices'. This is actually enforced through the type of the `indices' parameter
indices - Specifies the indices to operate on
Throws:
OpenGLException - General OpenGL error

glDrawElements

public void glDrawElements(int mode,
                           int count,
                           int type,
                           short[] indices)
                    throws OpenGLException
Render primitives from array data

Parameters:
mode - Specifies what kind of primitives to render
count - Specifies the number of elements to be rendered
type - Specifies the type of the values in `indices'. This is actually enforced through the type of the `indices' parameter
indices - Specifies the indices to operate on
Throws:
OpenGLException - General OpenGL error

glDrawElements

public void glDrawElements(int mode,
                           int count,
                           int type,
                           int[] indices)
                    throws OpenGLException
Render primitives from array data

Parameters:
mode - Specifies what kind of primitives to render
count - Specifies the number of elements to be rendered
type - Specifies the type of the values in `indices'. This is actually enforced through the type of the `indices' parameter
indices - Specifies the indices to operate on
Throws:
OpenGLException - General OpenGL error

glDrawElements

public void glDrawElements(int mode,
                           int count,
                           int type,
                           byte[] indices,
                           int offset)
                    throws OpenGLException
Render primitives from array data

Parameters:
mode - Specifies what kind of primitives to render
count - Specifies the number of elements to be rendered
type - Specifies the type of the values in `indices'. This is actually enforced through the type of the `indices' parameter
indices - Specifies the indices to operate on
Throws:
OpenGLException - General OpenGL error

glDrawElements

public void glDrawElements(int mode,
                           int count,
                           int type,
                           short[] indices,
                           int offset)
                    throws OpenGLException
Render primitives from array data

Parameters:
mode - Specifies what kind of primitives to render
count - Specifies the number of elements to be rendered
type - Specifies the type of the values in `indices'. This is actually enforced through the type of the `indices' parameter
indices - Specifies the indices to operate on
Throws:
OpenGLException - General OpenGL error

glDrawElements

public void glDrawElements(int mode,
                           int count,
                           int type,
                           int[] indices,
                           int offset)
                    throws OpenGLException
Render primitives from array data

Parameters:
mode - Specifies what kind of primitives to render
count - Specifies the number of elements to be rendered
type - Specifies the type of the values in `indices'. This is actually enforced through the type of the `indices' parameter
indices - Specifies the indices to operate on
Throws:
OpenGLException - General OpenGL error

glDrawPixels

public void glDrawPixels(int width,
                         int height,
                         int format,
                         int type,
                         byte[] pixels)
                  throws OpenGLException
Write a block of pixels to the frame buffer

Parameters:
width - Specifies the width of the pixel rectangle
height - Specifies the height of the pixel rectangle
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data. This is enforced by the type of the `pixels' argument
pixels - The pixel data
Throws:
OpenGLException - General OpenGL error

glDrawPixels

public void glDrawPixels(int width,
                         int height,
                         int format,
                         int type,
                         short[] pixels)
                  throws OpenGLException
Write a block of pixels to the frame buffer

Parameters:
width - Specifies the width of the pixel rectangle
height - Specifies the height of the pixel rectangle
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data. This is enforced by the type of the `pixels' argument
pixels - The pixel data
Throws:
OpenGLException - General OpenGL error

glDrawPixels

public void glDrawPixels(int width,
                         int height,
                         int format,
                         int type,
                         int[] pixels)
                  throws OpenGLException
Write a block of pixels to the frame buffer

Parameters:
width - Specifies the width of the pixel rectangle
height - Specifies the height of the pixel rectangle
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data. This is enforced by the type of the `pixels' argument
pixels - The pixel data
Throws:
OpenGLException - General OpenGL error

glDrawPixels

public void glDrawPixels(int width,
                         int height,
                         int format,
                         int type,
                         float[] pixels)
                  throws OpenGLException
Write a block of pixels to the frame buffer

Parameters:
width - Specifies the width of the pixel rectangle
height - Specifies the height of the pixel rectangle
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data. This is enforced by the type of the `pixels' argument
pixels - The pixel data
Throws:
OpenGLException - General OpenGL error

glGetTexImage

public void glGetTexImage(int target,
                          int level,
                          int format,
                          int type,
                          byte[] pixels)
                   throws OpenGLException
Return a texture image

Parameters:
target - Specifies which texture is to be obtained. GL_TEXTURE_1D and GL_TEXTURE_2D are accepted
level - Specifies the mipmap level-of-detail number
format - Specifies a pixel format for the returned data
type - Specifies a pixel type for the returned data
pixels - This parameter will contain the returned texture data
Throws:
OpenGLException - General OpenGL error

glGetTexImage

public void glGetTexImage(int target,
                          int level,
                          int format,
                          int type,
                          short[] pixels)
                   throws OpenGLException
Return a texture image

Parameters:
target - Specifies which texture is to be obtained. GL_TEXTURE_1D and GL_TEXTURE_2D are accepted
level - Specifies the mipmap level-of-detail number
format - Specifies a pixel format for the returned data
type - Specifies a pixel type for the returned data
pixels - This parameter will contain the returned texture data
Throws:
OpenGLException - General OpenGL error

glGetTexImage

public void glGetTexImage(int target,
                          int level,
                          int format,
                          int type,
                          int[] pixels)
                   throws OpenGLException
Return a texture image

Parameters:
target - Specifies which texture is to be obtained. GL_TEXTURE_1D and GL_TEXTURE_2D are accepted
level - Specifies the mipmap level-of-detail number
format - Specifies a pixel format for the returned data
type - Specifies a pixel type for the returned data
pixels - This parameter will contain the returned texture data
Throws:
OpenGLException - General OpenGL error

glGetTexImage

public void glGetTexImage(int target,
                          int level,
                          int format,
                          int type,
                          float[] pixels)
                   throws OpenGLException
Return a texture image

Parameters:
target - Specifies which texture is to be obtained. GL_TEXTURE_1D and GL_TEXTURE_2D are accepted
level - Specifies the mipmap level-of-detail number
format - Specifies a pixel format for the returned data
type - Specifies a pixel type for the returned data
pixels - This parameter will contain the returned texture data
Throws:
OpenGLException - General OpenGL error

glReadPixels

public void glReadPixels(int x,
                         int y,
                         int width,
                         int height,
                         int format,
                         int type,
                         byte[] pixels)
                  throws OpenGLException
Read a block of pixels from the frame buffer

Parameters:
x - Specify the x window coordinate of the first pixel to be read
y - Specify the y window coordinate of the first pixel to be read
width - The width of the pixel rectangle to read
height - The height of the pixel rectangle to read
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data
Throws:
OpenGLException - General OpenGL error

glReadPixels

public void glReadPixels(int x,
                         int y,
                         int width,
                         int height,
                         int format,
                         int type,
                         short[] pixels)
                  throws OpenGLException
Read a block of pixels from the frame buffer

Parameters:
x - Specify the x window coordinate of the first pixel to be read
y - Specify the y window coordinate of the first pixel to be read
width - The width of the pixel rectangle to read
height - The height of the pixel rectangle to read
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data
Throws:
OpenGLException - General OpenGL error

glReadPixels

public void glReadPixels(int x,
                         int y,
                         int width,
                         int height,
                         int format,
                         int type,
                         int[] pixels)
                  throws OpenGLException
Read a block of pixels from the frame buffer

Parameters:
x - Specify the x window coordinate of the first pixel to be read
y - Specify the y window coordinate of the first pixel to be read
width - The width of the pixel rectangle to read
height - The height of the pixel rectangle to read
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data
Throws:
OpenGLException - General OpenGL error

glReadPixels

public void glReadPixels(int x,
                         int y,
                         int width,
                         int height,
                         int format,
                         int type,
                         float[] pixels)
                  throws OpenGLException
Read a block of pixels from the frame buffer

Parameters:
x - Specify the x window coordinate of the first pixel to be read
y - Specify the y window coordinate of the first pixel to be read
width - The width of the pixel rectangle to read
height - The height of the pixel rectangle to read
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data
Throws:
OpenGLException - General OpenGL error

glTexImage1D

public void glTexImage1D(int target,
                         int level,
                         int components,
                         int width,
                         int border,
                         int format,
                         int type,
                         byte[] pixels)
                  throws OpenGLException
Specifies a one-dimensional texture map

Parameters:
target - Specifies the target texture. Must be either GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D
level - Specifies the mipmap level-of-detail number
components - Specifies the number of colour components in the texture
width - The width of the texture image
border - The width of the texture border
type - Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels - Specifies the pixel data
Throws:
OpenGLException - General OpenGL error

glTexImage1D

public void glTexImage1D(int target,
                         int level,
                         int components,
                         int width,
                         int border,
                         int format,
                         int type,
                         byte[][] pixels)
                  throws OpenGLException
Specifies a one-dimensional texture map using slightly more sensible array definitions. You can now specify the array as [width of texture][number of components] which Magician will internally decode and dispatch for you.

Parameters:
target - Specifies the target texture. Must be either GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D
level - Specifies the mipmap level-of-detail number
components - Specifies the number of colour components in the texture
width - The width of the texture image
border - The width of the texture border
type - Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels - Specifies the pixel data
Throws:
OpenGLException - General OpenGL error

texImage1D

public void texImage1D(int target,
                       int level,
                       int components,
                       int width,
                       int border,
                       int format,
                       int type,
                       byte[] pixels)
                throws OpenGLException
Specifies a one-dimensional texture map

Parameters:
target - Specifies the target texture. Must be either GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D
level - Specifies the mipmap level-of-detail number
components - Specifies the number of colour components in the texture
width - The width of the texture image
border - The width of the texture border
type - Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels - Specifies the pixel data
Throws:
OpenGLException - General OpenGL error

glTexImage1D

public void glTexImage1D(int target,
                         int level,
                         int components,
                         int width,
                         int border,
                         int format,
                         int type,
                         short[] pixels)
                  throws OpenGLException
Specifies a one-dimensional texture map

Parameters:
target - Specifies the target texture. Must be either GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D
level - Specifies the mipmap level-of-detail number
components - Specifies the number of colour components in the texture
width - The width of the texture image
border - The width of the texture border
type - Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels - Specifies the pixel data
Throws:
OpenGLException - General OpenGL error

glTexImage1D

public void glTexImage1D(int target,
                         int level,
                         int components,
                         int width,
                         int border,
                         int format,
                         int type,
                         short[][] pixels)
                  throws OpenGLException
Specifies a one-dimensional texture map using slightly more sensible array definitions. You can now specify the array as [width of texture][number of components] which Magician will internally decode and dispatch for you.

Parameters:
target - Specifies the target texture. Must be either GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D
level - Specifies the mipmap level-of-detail number
components - Specifies the number of colour components in the texture
width - The width of the texture image
border - The width of the texture border
type - Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels - Specifies the pixel data
Throws:
OpenGLException - General OpenGL error

texImage1D

public void texImage1D(int target,
                       int level,
                       int components,
                       int width,
                       int border,
                       int format,
                       int type,
                       short[] pixels)
                throws OpenGLException
Specifies a one-dimensional texture map

Parameters:
target - Specifies the target texture. Must be either GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D
level - Specifies the mipmap level-of-detail number
components - Specifies the number of colour components in the texture
width - The width of the texture image
border - The width of the texture border
type - Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels - Specifies the pixel data
Throws:
OpenGLException - General OpenGL error

glTexImage1D

public void glTexImage1D(int target,
                         int level,
                         int components,
                         int width,
                         int border,
                         int format,
                         int type,
                         int[] pixels)
                  throws OpenGLException
Specifies a one-dimensional texture map

Parameters:
target - Specifies the target texture. Must be either GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D
level - Specifies the mipmap level-of-detail number
components - Specifies the number of colour components in the texture
width - The width of the texture image
border - The width of the texture border
type - Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels - Specifies the pixel data
Throws:
OpenGLException - General OpenGL error

glTexImage1D

public void glTexImage1D(int target,
                         int level,
                         int components,
                         int width,
                         int border,
                         int format,
                         int type,
                         int[][] pixels)
                  throws OpenGLException
Specifies a one-dimensional texture map using slightly more sensible array definitions. You can now specify the array as [width of texture][number of components] which Magician will internally decode and dispatch for you.

Parameters:
target - Specifies the target texture. Must be either GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D
level - Specifies the mipmap level-of-detail number
components - Specifies the number of colour components in the texture
width - The width of the texture image
border - The width of the texture border
type - Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels - Specifies the pixel data
Throws:
OpenGLException - General OpenGL error

texImage1D

public void texImage1D(int target,
                       int level,
                       int components,
                       int width,
                       int border,
                       int format,
                       int type,
                       int[] pixels)
                throws OpenGLException
Specifies a one-dimensional texture map

Parameters:
target - Specifies the target texture. Must be either GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D
level - Specifies the mipmap level-of-detail number
components - Specifies the number of colour components in the texture
width - The width of the texture image
border - The width of the texture border
type - Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels - Specifies the pixel data
Throws:
OpenGLException - General OpenGL error

glTexImage1D

public void glTexImage1D(int target,
                         int level,
                         int components,
                         int width,
                         int border,
                         int format,
                         int type,
                         float[] pixels)
                  throws OpenGLException
Specifies a one-dimensional texture map

Parameters:
target - Specifies the target texture. Must be either GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D
level - Specifies the mipmap level-of-detail number
components - Specifies the number of colour components in the texture
width - The width of the texture image
border - The width of the texture border
type - Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels - Specifies the pixel data
Throws:
OpenGLException - General OpenGL error

glTexImage1D

public void glTexImage1D(int target,
                         int level,
                         int components,
                         int width,
                         int border,
                         int format,
                         int type,
                         float[][] pixels)
                  throws OpenGLException
Specifies a one-dimensional texture map using slightly more sensible array definitions. You can now specify the array as [width of texture][number of components] which Magician will internally decode and dispatch for you.

Parameters:
target - Specifies the target texture. Must be either GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D
level - Specifies the mipmap level-of-detail number
components - Specifies the number of colour components in the texture
width - The width of the texture image
border - The width of the texture border
type - Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels - Specifies the pixel data
Throws:
OpenGLException - General OpenGL error

texImage1D

public void texImage1D(int target,
                       int level,
                       int components,
                       int width,
                       int border,
                       int format,
                       int type,
                       float[] pixels)
                throws OpenGLException
Specifies a one-dimensional texture map

Parameters:
target - Specifies the target texture. Must be either GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D
level - Specifies the mipmap level-of-detail number
components - Specifies the number of colour components in the texture
width - The width of the texture image
border - The width of the texture border
type - Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels - Specifies the pixel data
Throws:
OpenGLException - General OpenGL error

glTexImage2D

public void glTexImage2D(int target,
                         int level,
                         int components,
                         int width,
                         int height,
                         int border,
                         int format,
                         int type,
                         byte[] pixels)
                  throws OpenGLException
Specifies a two-dimensional texture map

Parameters:
target - Specifies the target texture
level - Specifies the mipmap level-of-detail number
components - Specifies the number of colour components in the texture
width - The width of the texture image
height - The height of the texture image
border - The width of the texture border
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels - Specifies the pixel data
Throws:
OpenGLException - General OpenGL error

glTexImage2D

public void glTexImage2D(int target,
                         int level,
                         int components,
                         int width,
                         int height,
                         int border,
                         int format,
                         int type,
                         byte[][][] pixels)
                  throws OpenGLException
Specifies a two-dimensional texture map with a 3-dimensional array corresponding to [width of texture][height of texture][number of components] For example, we could define a texture of 8x8x4 as [8][8][4] and this routine will correctly internally convert the data to a valid OpenGL texture map.

Parameters:
target - Specifies the target texture
level - Specifies the mipmap level-of-detail number
components - Specifies the number of colour components in the texture
width - The width of the texture image
height - The height of the texture image
border - The width of the texture border
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels - Specifies the pixel data
Throws:
OpenGLException - General OpenGL error

texImage2D

public void texImage2D(int target,
                       int level,
                       int components,
                       int width,
                       int height,
                       int border,
                       int format,
                       int type,
                       byte[] pixels)
                throws OpenGLException
Specifies a two-dimensional texture map

Parameters:
target - Specifies the target texture
level - Specifies the mipmap level-of-detail number
components - Specifies the number of colour components in the texture
width - The width of the texture image
height - The height of the texture image
border - The width of the texture border
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels - Specifies the pixel data
Throws:
OpenGLException - General OpenGL error

glTexImage2D

public void glTexImage2D(int target,
                         int level,
                         int components,
                         int width,
                         int height,
                         int border,
                         int format,
                         int type,
                         short[] pixels)
                  throws OpenGLException
Specifies a two-dimensional texture map

Parameters:
target - Specifies the target texture
level - Specifies the mipmap level-of-detail number
components - Specifies the number of colour components in the texture
width - The width of the texture image
height - The height of the texture image
border - The width of the texture border
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels - Specifies the pixel data
Throws:
OpenGLException - General OpenGL error

glTexImage2D

public void glTexImage2D(int target,
                         int level,
                         int components,
                         int width,
                         int height,
                         int border,
                         int format,
                         int type,
                         short[][][] pixels)
                  throws OpenGLException
Specifies a two-dimensional texture map with a 3-dimensional array corresponding to [width of texture][height of texture][number of components] For example, we could define a texture of 8x8x4 as [8][8][4] and this routine will correctly internally convert the data to a valid OpenGL texture map.

Parameters:
target - Specifies the target texture
level - Specifies the mipmap level-of-detail number
components - Specifies the number of colour components in the texture
width - The width of the texture image
height - The height of the texture image
border - The width of the texture border
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels - Specifies the pixel data
Throws:
OpenGLException - General OpenGL error

texImage2D

public void texImage2D(int target,
                       int level,
                       int components,
                       int width,
                       int height,
                       int border,
                       int format,
                       int type,
                       short[] pixels)
                throws OpenGLException
Specifies a two-dimensional texture map

Parameters:
target - Specifies the target texture
level - Specifies the mipmap level-of-detail number
components - Specifies the number of colour components in the texture
width - The width of the texture image
height - The height of the texture image
border - The width of the texture border
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels - Specifies the pixel data
Throws:
OpenGLException - General OpenGL error

glTexImage2D

public void glTexImage2D(int target,
                         int level,
                         int components,
                         int width,
                         int height,
                         int border,
                         int format,
                         int type,
                         int[] pixels)
                  throws OpenGLException
Specifies a two-dimensional texture map

Parameters:
target - Specifies the target texture
level - Specifies the mipmap level-of-detail number
components - Specifies the number of colour components in the texture
width - The width of the texture image
height - The height of the texture image
border - The width of the texture border
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels - Specifies the pixel data
Throws:
OpenGLException - General OpenGL error

glTexImage2D

public void glTexImage2D(int target,
                         int level,
                         int components,
                         int width,
                         int height,
                         int border,
                         int format,
                         int type,
                         int[][][] pixels)
                  throws OpenGLException
Specifies a two-dimensional texture map with a 3-dimensional array corresponding to [width of texture][height of texture][number of components] For example, we could define a texture of 8x8x4 as [8][8][4] and this routine will correctly internally convert the data to a valid OpenGL texture map.

Parameters:
target - Specifies the target texture
level - Specifies the mipmap level-of-detail number
components - Specifies the number of colour components in the texture
width - The width of the texture image
height - The height of the texture image
border - The width of the texture border
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels - Specifies the pixel data
Throws:
OpenGLException - General OpenGL error

texImage2D

public void texImage2D(int target,
                       int level,
                       int components,
                       int width,
                       int height,
                       int border,
                       int format,
                       int type,
                       int[] pixels)
                throws OpenGLException
Specifies a two-dimensional texture map

Parameters:
target - Specifies the target texture
level - Specifies the mipmap level-of-detail number
components - Specifies the number of colour components in the texture
width - The width of the texture image
height - The height of the texture image
border - The width of the texture border
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels - Specifies the pixel data
Throws:
OpenGLException - General OpenGL error

glTexImage2D

public void glTexImage2D(int target,
                         int level,
                         int components,
                         int width,
                         int height,
                         int border,
                         int format,
                         int type,
                         float[] pixels)
                  throws OpenGLException
Specifies a two-dimensional texture map

Parameters:
target - Specifies the target texture
level - Specifies the mipmap level-of-detail number
components - Specifies the number of colour components in the texture
width - The width of the texture image
height - The height of the texture image
border - The width of the texture border
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels - Specifies the pixel data
Throws:
OpenGLException - General OpenGL error

glTexImage2D

public void glTexImage2D(int target,
                         int level,
                         int components,
                         int width,
                         int height,
                         int border,
                         int format,
                         int type,
                         float[][][] pixels)
                  throws OpenGLException
Specifies a two-dimensional texture map with a 3-dimensional array corresponding to [width of texture][height of texture][number of components] For example, we could define a texture of 8x8x4 as [8][8][4] and this routine will correctly internally convert the data to a valid OpenGL texture map.

Parameters:
target - Specifies the target texture
level - Specifies the mipmap level-of-detail number
components - Specifies the number of colour components in the texture
width - The width of the texture image
height - The height of the texture image
border - The width of the texture border
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels - Specifies the pixel data
Throws:
OpenGLException - General OpenGL error

texImage2D

public void texImage2D(int target,
                       int level,
                       int components,
                       int width,
                       int height,
                       int border,
                       int format,
                       int type,
                       float[] pixels)
                throws OpenGLException
Specifies a two-dimensional texture map

Parameters:
target - Specifies the target texture
level - Specifies the mipmap level-of-detail number
components - Specifies the number of colour components in the texture
width - The width of the texture image
height - The height of the texture image
border - The width of the texture border
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels - Specifies the pixel data
Throws:
OpenGLException - General OpenGL error

glTexSubImage1D

public void glTexSubImage1D(int target,
                            int level,
                            int xoffset,
                            int width,
                            int format,
                            int type,
                            byte[] pixels)
                     throws OpenGLException
Specifies a one-dimensional texture sub-image

Parameters:
target - Specifies the target texture. Must be GL_TEXTURE_1D
level - Specifies the mipmap level-of-detail number
xoffset - Specifies a texel offset in the x direction within the texture array
width - Specifies the width of the texture subimage
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data
pixels - The pixel data itself
Throws:
OpenGLException - General OpenGL error

texSubImage1D

public void texSubImage1D(int target,
                          int level,
                          int xoffset,
                          int width,
                          int format,
                          int type,
                          byte[] pixels)
                   throws OpenGLException
Specifies a one-dimensional texture sub-image

Parameters:
target - Specifies the target texture. Must be GL_TEXTURE_1D
level - Specifies the mipmap level-of-detail number
xoffset - Specifies a texel offset in the x direction within the texture array
width - Specifies the width of the texture subimage
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data
pixels - The pixel data itself
Throws:
OpenGLException - General OpenGL error

glTexSubImage1D

public void glTexSubImage1D(int target,
                            int level,
                            int xoffset,
                            int width,
                            int format,
                            int type,
                            short[] pixels)
                     throws OpenGLException
Specifies a one-dimensional texture sub-image

Parameters:
target - Specifies the target texture. Must be GL_TEXTURE_1D
level - Specifies the mipmap level-of-detail number
xoffset - Specifies a texel offset in the x direction within the texture array
width - Specifies the width of the texture subimage
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data
pixels - The pixel data itself
Throws:
OpenGLException - General OpenGL error

texSubImage1D

public void texSubImage1D(int target,
                          int level,
                          int xoffset,
                          int width,
                          int format,
                          int type,
                          short[] pixels)
                   throws OpenGLException
Specifies a one-dimensional texture sub-image

Parameters:
target - Specifies the target texture. Must be GL_TEXTURE_1D
level - Specifies the mipmap level-of-detail number
xoffset - Specifies a texel offset in the x direction within the texture array
width - Specifies the width of the texture subimage
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data
pixels - The pixel data itself
Throws:
OpenGLException - General OpenGL error

glTexSubImage1D

public void glTexSubImage1D(int target,
                            int level,
                            int xoffset,
                            int width,
                            int format,
                            int type,
                            int[] pixels)
                     throws OpenGLException
Specifies a one-dimensional texture sub-image

Parameters:
target - Specifies the target texture. Must be GL_TEXTURE_1D
level - Specifies the mipmap level-of-detail number
xoffset - Specifies a texel offset in the x direction within the texture array
width - Specifies the width of the texture subimage
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data
pixels - The pixel data itself
Throws:
OpenGLException - General OpenGL error

texSubImage1D

public void texSubImage1D(int target,
                          int level,
                          int xoffset,
                          int width,
                          int format,
                          int type,
                          int[] pixels)
                   throws OpenGLException
Specifies a one-dimensional texture sub-image

Parameters:
target - Specifies the target texture. Must be GL_TEXTURE_1D
level - Specifies the mipmap level-of-detail number
xoffset - Specifies a texel offset in the x direction within the texture array
width - Specifies the width of the texture subimage
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data
pixels - The pixel data itself
Throws:
OpenGLException - General OpenGL error

glTexSubImage1D

public void glTexSubImage1D(int target,
                            int level,
                            int xoffset,
                            int width,
                            int format,
                            int type,
                            float[] pixels)
                     throws OpenGLException
Specifies a one-dimensional texture sub-image

Parameters:
target - Specifies the target texture. Must be GL_TEXTURE_1D
level - Specifies the mipmap level-of-detail number
xoffset - Specifies a texel offset in the x direction within the texture array
width - Specifies the width of the texture subimage
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data
pixels - The pixel data itself
Throws:
OpenGLException - General OpenGL error

texSubImage1D

public void texSubImage1D(int target,
                          int level,
                          int xoffset,
                          int width,
                          int format,
                          int type,
                          float[] pixels)
                   throws OpenGLException
Specifies a one-dimensional texture sub-image

Parameters:
target - Specifies the target texture. Must be GL_TEXTURE_1D
level - Specifies the mipmap level-of-detail number
xoffset - Specifies a texel offset in the x direction within the texture array
width - Specifies the width of the texture subimage
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data
pixels - The pixel data itself
Throws:
OpenGLException - General OpenGL error

glTexSubImage2D

public void glTexSubImage2D(int target,
                            int level,
                            int xoffset,
                            int yoffset,
                            int width,
                            int height,
                            int format,
                            int type,
                            byte[] pixels)
                     throws OpenGLException
Specifies a two-dimensional texture sub-image

Parameters:
target - Specifies the target texture. Must be GL_TEXTURE_1D
level - Specifies the mipmap level-of-detail number
xoffset - Specifies a texel offset in the x direction within the texture array
yoffset - Specifies a texel offset in the y direction within the texture array
width - Specifies the width of the texture subimage
height - Specifies the height of the texture subimage
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data
pixels - The pixel data itself
Throws:
OpenGLException - General OpenGL error

texSubImage2D

public void texSubImage2D(int target,
                          int level,
                          int xoffset,
                          int yoffset,
                          int width,
                          int height,
                          int format,
                          int type,
                          byte[] pixels)
                   throws OpenGLException
Specifies a two-dimensional texture sub-image

Parameters:
target - Specifies the target texture. Must be GL_TEXTURE_1D
level - Specifies the mipmap level-of-detail number
xoffset - Specifies a texel offset in the x direction within the texture array
yoffset - Specifies a texel offset in the y direction within the texture array
width - Specifies the width of the texture subimage
height - Specifies the height of the texture subimage
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data
pixels - The pixel data itself
Throws:
OpenGLException - General OpenGL error

glTexSubImage2D

public void glTexSubImage2D(int target,
                            int level,
                            int xoffset,
                            int yoffset,
                            int width,
                            int height,
                            int format,
                            int type,
                            short[] pixels)
                     throws OpenGLException
Specifies a two-dimensional texture sub-image

Parameters:
target - Specifies the target texture. Must be GL_TEXTURE_1D
level - Specifies the mipmap level-of-detail number
xoffset - Specifies a texel offset in the x direction within the texture array
yoffset - Specifies a texel offset in the y direction within the texture array
width - Specifies the width of the texture subimage
height - Specifies the height of the texture subimage
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data
pixels - The pixel data itself
Throws:
OpenGLException - General OpenGL error

texSubImage2D

public void texSubImage2D(int target,
                          int level,
                          int xoffset,
                          int yoffset,
                          int width,
                          int height,
                          int format,
                          int type,
                          short[] pixels)
                   throws OpenGLException
Specifies a two-dimensional texture sub-image

Parameters:
target - Specifies the target texture. Must be GL_TEXTURE_1D
level - Specifies the mipmap level-of-detail number
xoffset - Specifies a texel offset in the x direction within the texture array
yoffset - Specifies a texel offset in the y direction within the texture array
width - Specifies the width of the texture subimage
height - Specifies the height of the texture subimage
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data
pixels - The pixel data itself
Throws:
OpenGLException - General OpenGL error

glTexSubImage2D

public void glTexSubImage2D(int target,
                            int level,
                            int xoffset,
                            int yoffset,
                            int width,
                            int height,
                            int format,
                            int type,
                            int[] pixels)
                     throws OpenGLException
Specifies a two-dimensional texture sub-image

Parameters:
target - Specifies the target texture. Must be GL_TEXTURE_1D
level - Specifies the mipmap level-of-detail number
xoffset - Specifies a texel offset in the x direction within the texture array
yoffset - Specifies a texel offset in the y direction within the texture array
width - Specifies the width of the texture subimage
height - Specifies the height of the texture subimage
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data
pixels - The pixel data itself
Throws:
OpenGLException - General OpenGL error

texSubImage2D

public void texSubImage2D(int target,
                          int level,
                          int xoffset,
                          int yoffset,
                          int width,
                          int height,
                          int format,
                          int type,
                          int[] pixels)
                   throws OpenGLException
Specifies a two-dimensional texture sub-image

Parameters:
target - Specifies the target texture. Must be GL_TEXTURE_1D
level - Specifies the mipmap level-of-detail number
xoffset - Specifies a texel offset in the x direction within the texture array
yoffset - Specifies a texel offset in the y direction within the texture array
width - Specifies the width of the texture subimage
height - Specifies the height of the texture subimage
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data
pixels - The pixel data itself
Throws:
OpenGLException - General OpenGL error

glTexSubImage2D

public void glTexSubImage2D(int target,
                            int level,
                            int xoffset,
                            int yoffset,
                            int width,
                            int height,
                            int format,
                            int type,
                            float[] pixels)
                     throws OpenGLException
Specifies a two-dimensional texture sub-image

Parameters:
target - Specifies the target texture. Must be GL_TEXTURE_1D
level - Specifies the mipmap level-of-detail number
xoffset - Specifies a texel offset in the x direction within the texture array
yoffset - Specifies a texel offset in the y direction within the texture array
width - Specifies the width of the texture subimage
height - Specifies the height of the texture subimage
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data
pixels - The pixel data itself
Throws:
OpenGLException - General OpenGL error

texSubImage2D

public void texSubImage2D(int target,
                          int level,
                          int xoffset,
                          int yoffset,
                          int width,
                          int height,
                          int format,
                          int type,
                          float[] pixels)
                   throws OpenGLException
Specifies a two-dimensional texture sub-image

Parameters:
target - Specifies the target texture. Must be GL_TEXTURE_1D
level - Specifies the mipmap level-of-detail number
xoffset - Specifies a texel offset in the x direction within the texture array
yoffset - Specifies a texel offset in the y direction within the texture array
width - Specifies the width of the texture subimage
height - Specifies the height of the texture subimage
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data
pixels - The pixel data itself
Throws:
OpenGLException - General OpenGL error

glGetString

public java.lang.String glGetString(int name)
                             throws OpenGLException
Returns a string describing the current GL connection

Parameters:
name - Specifies a symbolic constant defining the OpenGL implementation specific information to return. Legal values are GL_VENDOR, GL_RENDERER, GL_VERSION or GL_EXTENSIONS
Throws:
OpenGLException - General OpenGL error

getString

public java.lang.String getString(int name)
                           throws OpenGLException
Polymorphic definition of glGetString

Parameters:
name - Specifies a symbolic constant defining the OpenGL implementation specific information to return. Legal values are GL_VENDOR, GL_RENDERER, GL_VERSION or GL_EXTENSIONS
Throws:
OpenGLException - General OpenGL error
See Also:
glGetString(int)

vertex

public void vertex(short x,
                   short y)
            throws OpenGLException
Polymorphic method for glVertex2s

Parameters:
x - The x-coordinate of the vertex
y - The y-coordinate of the vertex
Throws:
OpenGLException - General OpenGL error
See Also:
glVertex2s(short, short)

vertex

public void vertex(int x,
                   int y)
            throws OpenGLException
Polymorphic method for glVertex2i

Parameters:
x - The x-coordinate of the vertex
y - The y-coordinate of the vertex
Throws:
OpenGLException - General OpenGL error
See Also:
glVertex2i(int, int)

vertex

public void vertex(float x,
                   float y)
            throws OpenGLException
Polymorphic method for glVertex2f

Parameters:
x - The x-coordinate of the vertex
y - The y-coordinate of the vertex
Throws:
OpenGLException - General OpenGL error
See Also:
glVertex2f(float, float)

vertex

public void vertex(double x,
                   double y)
            throws OpenGLException
Polymorphic method for glVertex2d

Parameters:
x - The x-coordinate of the vertex
y - The y-coordinate of the vertex
Throws:
OpenGLException - General OpenGL error
See Also:
glVertex2d(double, double)

vertex

public void vertex(short x,
                   short y,
                   short z)
            throws OpenGLException
Polymorphic method for glVertex3s

Parameters:
x - The x-coordinate of the vertex
y - The y-coordinate of the vertex
z - The z-coordinate of the vertex
Throws:
OpenGLException - General OpenGL error
See Also:
glVertex3s(short, short, short)

vertex

public void vertex(int x,
                   int y,
                   int z)
            throws OpenGLException
Polymorphic method for glVertex3i

Parameters:
x - The x-coordinate of the vertex
y - The y-coordinate of the vertex
z - The z-coordinate of the vertex
Throws:
OpenGLException - General OpenGL error
See Also:
glVertex3i(int, int, int)

vertex

public void vertex(float x,
                   float y,
                   float z)
            throws OpenGLException
Polymorphic method for glVertex3f

Parameters:
x - The x-coordinate of the vertex
y - The y-coordinate of the vertex
z - The z-coordinate of the vertex
Throws:
OpenGLException - General OpenGL error
See Also:
glVertex3f(float, float, float)

vertex

public void vertex(double x,
                   double y,
                   double z)
            throws OpenGLException
Polymorphic method for glVertex3d

Parameters:
x - The x-coordinate of the vertex
y - The y-coordinate of the vertex
z - The z-coordinate of the vertex
Throws:
OpenGLException - General OpenGL error
See Also:
glVertex3d(double, double, double)

vertex

public void vertex(short x,
                   short y,
                   short z,
                   short w)
            throws OpenGLException
Polymorphic method for glVertex4s

Parameters:
x - The x-coordinate of the vertex
y - The y-coordinate of the vertex
z - The z-coordinate of the vertex
w - The w-coordinate of the vertex
Throws:
OpenGLException - General OpenGL error
See Also:
glVertex4s(short, short, short, short)

vertex

public void vertex(int x,
                   int y,
                   int z,
                   int w)
            throws OpenGLException
Polymorphic method for glVertex4i

Parameters:
x - The x-coordinate of the vertex
y - The y-coordinate of the vertex
z - The z-coordinate of the vertex
w - The w-coordinate of the vertex
Throws:
OpenGLException - General OpenGL error
See Also:
glVertex4i(int, int, int, int)

vertex

public void vertex(float x,
                   float y,
                   float z,
                   float w)
            throws OpenGLException
Polymorphic method for glVertex4f

Parameters:
x - The x-coordinate of the vertex
y - The y-coordinate of the vertex
z - The z-coordinate of the vertex
w - The w-coordinate of the vertex
Throws:
OpenGLException - General OpenGL error
See Also:
glVertex4f(float, float, float, float)

vertex

public void vertex(double x,
                   double y,
                   double z,
                   double w)
            throws OpenGLException
Polymorphic method for glVertex4d

Parameters:
x - The x-coordinate of the vertex
y - The y-coordinate of the vertex
z - The z-coordinate of the vertex
w - The w-coordinate of the vertex
Throws:
OpenGLException - General OpenGL error
See Also:
glVertex4d(double, double, double, double)

vertex

public void vertex(short[] ary)
            throws OpenGLException
Specify a vertex using an array of shorts

Parameters:
ary - Array containing vertex data
Throws:
OpenGLException - Thrown when an array with invalid length is specified

vertex

public void vertex(int[] ary)
            throws OpenGLException
Specify a vertex using an array of ints

Parameters:
ary - Array containing vertex data
Throws:
OpenGLException - Thrown when an array with invalid length is specified

vertex

public void vertex(float[] ary)
            throws OpenGLException
Specify a vertex using an array of floats

Parameters:
ary - Array containing vertex data
Throws:
OpenGLException - Thrown when an array with invalid length is specified

vertex

public void vertex(double[] ary)
            throws OpenGLException
Specify a vertex using an array of doubles

Parameters:
ary - Array containing vertex data
Throws:
OpenGLException - Thrown when an array with invalid length is specified

color

public void color(byte r,
                  byte g,
                  byte b)
           throws OpenGLException
Polymorphic method for glColor3b

Parameters:
r - The red component of the colour
g - The green component of the colour
b - The blue component of the colour
Throws:
OpenGLException - General OpenGL error
See Also:
glColor3b(byte, byte, byte)

color

public void color(short r,
                  short g,
                  short b)
           throws OpenGLException
Polymorphic method for glColor3s

Parameters:
r - The red component of the colour
g - The green component of the colour
b - The blue component of the colour
Throws:
OpenGLException - General OpenGL error
See Also:
glColor3s(short, short, short)

color

public void color(int r,
                  int g,
                  int b)
           throws OpenGLException
Polymorphic method for glColor3i

Parameters:
r - The red component of the colour
g - The green component of the colour
b - The blue component of the colour
Throws:
OpenGLException - General OpenGL error
See Also:
glColor3i(int, int, int)

color

public void color(float r,
                  float g,
                  float b)
           throws OpenGLException
Polymorphic method for glColor3f

Parameters:
r - The red component of the colour
g - The green component of the colour
b - The blue component of the colour
Throws:
OpenGLException - General OpenGL error
See Also:
glColor3f(float, float, float)

color

public void color(double r,
                  double g,
                  double b)
           throws OpenGLException
Polymorphic method for glColor3d

Parameters:
r - The red component of the colour
g - The green component of the colour
b - The blue component of the colour
Throws:
OpenGLException - General OpenGL error
See Also:
glColor3d(double, double, double)

color

public void color(byte r,
                  byte g,
                  byte b,
                  byte a)
           throws OpenGLException
Polymorphic method for glColor4b

Parameters:
r - The red component of the colour
g - The green component of the colour
b - The blue component of the colour
a - The alpha component of the colour
Throws:
OpenGLException - General OpenGL error
See Also:
glColor4b(byte, byte, byte, byte)

color

public void color(short r,
                  short g,
                  short b,
                  short a)
           throws OpenGLException
Polymorphic method for glColor4s

Parameters:
r - The red component of the colour
g - The green component of the colour
b - The blue component of the colour
a - The alpha component of the colour
Throws:
OpenGLException - General OpenGL error
See Also:
glColor4s(short, short, short, short)

color

public void color(int r,
                  int g,
                  int b,
                  int a)
           throws OpenGLException
Polymorphic method for glColor4i

Parameters:
r - The red component of the colour
g - The green component of the colour
b - The blue component of the colour
a - The alpha component of the colour
Throws:
OpenGLException - General OpenGL error
See Also:
glColor4i(int, int, int, int)

color

public void color(float r,
                  float g,
                  float b,
                  float a)
           throws OpenGLException
Polymorphic method for glColor4f

Parameters:
r - The red component of the colour
g - The green component of the colour
b - The blue component of the colour
a - The alpha component of the colour
Throws:
OpenGLException - General OpenGL error
See Also:
glColor4f(float, float, float, float)

color

public void color(double r,
                  double g,
                  double b,
                  double a)
           throws OpenGLException
Polymorphic method for glColor4d

Parameters:
r - The red component of the colour
g - The green component of the colour
b - The blue component of the colour
a - The alpha component of the colour
Throws:
OpenGLException - General OpenGL error
See Also:
glColor4d(double, double, double, double)

color

public void color(byte[] ary)
           throws OpenGLException
Polymorphic method for glColor3bv and glColor4bv

Throws:
OpenGLException - Thrown when the length of colour data is invalid
See Also:
glColor3bv(byte[]), glColor4bv(byte[])

color

public void color(short[] ary)
           throws OpenGLException
Polymorphic method for glColor3sv and glColor4sv

Parameters:
ary - An array containing colour data
Throws:
OpenGLException - Thrown when the length of colour data is invalid
See Also:
glColor3sv(short[]), glColor4sv(short[])

color

public void color(int[] ary)
           throws OpenGLException
Polymorphic method for glColor3iv and glColor4iv

Parameters:
ary - An array containing colour data
Throws:
OpenGLException - Thrown when the length of colour data is invalid
See Also:
glColor3iv(int[]), glColor4iv(int[])

color

public void color(float[] ary)
           throws OpenGLException
Polymorphic method for glColor3fv and glColour4fv

Parameters:
ary - An array containing colour data
Throws:
OpenGLException - Thrown when the length of colour data is invalid
See Also:
glColor3fv(float[]), glColor4fv(float[])

color

public void color(double[] ary)
           throws OpenGLException
Polymorphic method for glColor3dv and glColor4dv

Parameters:
ary - An array containing colour data
Throws:
OpenGLException - Thrown when the length of colour data is invalid
See Also:
glColor3dv(double[]), glColor4dv(double[])

texCoord

public void texCoord(short s)
              throws OpenGLException
Polymorphic method for glTexCoord1s

Parameters:
s - The s texture coordinate
Throws:
OpenGLException - General OpenGL error
See Also:
glTexCoord1s(short)

texCoord

public void texCoord(int s)
              throws OpenGLException
Polymorphic method for glTexCoord1i

Parameters:
s - The s texture coordinate
Throws:
OpenGLException - General OpenGL error
See Also:
glTexCoord1i(int)

texCoord

public void texCoord(float s)
              throws OpenGLException
Polymorphic method for glTexCoord1f

Parameters:
s - The s texture coordinate
Throws:
OpenGLException - General OpenGL error
See Also:
glTexCoord1f(float)

texCoord

public void texCoord(double s)
              throws OpenGLException
Polymorphic method for glTexCoord1d

Parameters:
s - The s texture coordinate
Throws:
OpenGLException - General OpenGL error
See Also:
glTexCoord1d(double)

texCoord

public void texCoord(short s,
                     short t)
              throws OpenGLException
Polymorphic method for glTexCoord2s

Parameters:
s - The s texture coordinate
t - The t texture coordinate
Throws:
OpenGLException - General OpenGL error
See Also:
glTexCoord2s(short, short)

texCoord

public void texCoord(int s,
                     int t)
              throws OpenGLException
Polymorphic method for glTexCoord2i

Parameters:
s - The s texture coordinate
t - The t texture coordinate
Throws:
OpenGLException - General OpenGL error
See Also:
glTexCoord2i(int, int)

texCoord

public void texCoord(float s,
                     float t)
              throws OpenGLException
Polymorphic method for glTexCoord2f

Parameters:
s - The s texture coordinate
t - The t texture coordinate
Throws:
OpenGLException - General OpenGL error
See Also:
glTexCoord2f(float, float)

texCoord

public void texCoord(double s,
                     double t)
              throws OpenGLException
Polymorphic method for glTexCoord2d

Parameters:
s - The s texture coordinate
t - The t texture coordinate
Throws:
OpenGLException - General OpenGL error
See Also:
glTexCoord2d(double, double)

texCoord

public void texCoord(short s,
                     short t,
                     short r)
              throws OpenGLException
Polymorphic method for glTexCoord3s

Parameters:
s - The s texture coordinate
t - The t texture coordinate
r - The r texture coordinate
Throws:
OpenGLException - General OpenGL error
See Also:
glTexCoord3s(short, short, short)

texCoord

public void texCoord(int s,
                     int t,
                     int r)
              throws OpenGLException
Polymorphic method for glTexCoord3i

Parameters:
s - The s texture coordinate
t - The t texture coordinate
r - The r texture coordinate
Throws:
OpenGLException - General OpenGL error
See Also:
glTexCoord3i(int, int, int)

texCoord

public void texCoord(float s,
                     float t,
                     float r)
              throws OpenGLException
Polymorphic method for glTexCoord3f

Parameters:
s - The s texture coordinate
t - The t texture coordinate
r - The r texture coordinate
Throws:
OpenGLException - General OpenGL error
See Also:
glTexCoord3f(float, float, float)

texCoord

public void texCoord(double s,
                     double t,
                     double r)
              throws OpenGLException
Polymorphic method for glTexCoord3d

Parameters:
s - The s texture coordinate
t - The t texture coordinate
r - The r texture coordinate
Throws:
OpenGLException - General OpenGL error
See Also:
glTexCoord3d(double, double, double)

texCoord

public void texCoord(short s,
                     short t,
                     short r,
                     short q)
              throws OpenGLException
Polymorphic method for glTexCoord4s

Parameters:
s - The s texture coordinate
t - The t texture coordinate
r - The r texture coordinate
q - The q texture coordinate
Throws:
OpenGLException - General OpenGL error
See Also:
glTexCoord4s(short, short, short, short)

texCoord

public void texCoord(int s,
                     int t,
                     int r,
                     int q)
              throws OpenGLException
Polymorphic method for glTexCoord4i

Parameters:
s - The s texture coordinate
t - The t texture coordinate
r - The r texture coordinate
q - The q texture coordinate
Throws:
OpenGLException - General OpenGL error
See Also:
glTexCoord4i(int, int, int, int)

texCoord

public void texCoord(float s,
                     float t,
                     float r,
                     float q)
              throws OpenGLException
Polymorphic method for glTexCoord4f

Parameters:
s - The s texture coordinate
t - The t texture coordinate
r - The r texture coordinate
q - The q texture coordinate
Throws:
OpenGLException - General OpenGL error
See Also:
glTexCoord4f(float, float, float, float)

texCoord

public void texCoord(double s,
                     double t,
                     double r,
                     double q)
              throws OpenGLException
Polymorphic method for glTexCoord4d

Parameters:
s - The s texture coordinate
t - The t texture coordinate
r - The r texture coordinate
q - The q texture coordinate
Throws:
OpenGLException - General OpenGL error
See Also:
glTexCoord4d(double, double, double, double)

texCoord

public void texCoord(short[] ary)
              throws OpenGLException
Polymorphic method for glTexCoord[1234]sv

Parameters:
ary - An array containing texture coordinate data
Throws:
OpenGLException - Thrown when size of array data is invalid
See Also:
glTexCoord1sv(short[]), glTexCoord2sv(short[]), glTexCoord3sv(short[]), glTexCoord4sv(short[])

texCoord

public void texCoord(int[] ary)
              throws OpenGLException
Polymorphic method for glTexCoord[1234]iv

Parameters:
ary - An array containing texture coordinate data
Throws:
OpenGLException - Thrown when size of array data is invalid
See Also:
glTexCoord1iv(int[]), glTexCoord2iv(int[]), glTexCoord3iv(int[]), glTexCoord4iv(int[])

texCoord

public void texCoord(float[] ary)
              throws OpenGLException
Polymorphic method for glTexCoord[1234]fv

Parameters:
ary - An array containing texture coordinate data
Throws:
OpenGLException - Thrown when size of array data is invalid
See Also:
glTexCoord1fv(float[]), glTexCoord2fv(float[]), glTexCoord3fv(float[]), glTexCoord4fv(float[])

texCoord

public void texCoord(double[] ary)
              throws OpenGLException
Polymorphic method for glTexCoord[1234]dv

Parameters:
ary - An array containing texture coordinate data
Throws:
OpenGLException - Thrown when size of array data is invalid
See Also:
glTexCoord1dv(double[]), glTexCoord2dv(double[]), glTexCoord3dv(double[]), glTexCoord4dv(double[])

rasterPos

public void rasterPos(short x,
                      short y)
               throws OpenGLException
Polymorphic definition for glRasterPos2s

Parameters:
x - The x object coordinate for the raster position
y - The y object coordinate for the raster position
Throws:
OpenGLException - General OpenGL error
See Also:
glRasterPos2s(short, short)

rasterPos

public void rasterPos(int x,
                      int y)
               throws OpenGLException
Polymorphic definition for glRasterPos2i

Parameters:
x - The x object coordinate for the raster position
y - The y object coordinate for the raster position
Throws:
OpenGLException - General OpenGL error
See Also:
glRasterPos2i(int, int)

rasterPos

public void rasterPos(float x,
                      float y)
               throws OpenGLException
Polymorphic definition for glRasterPos2f

Parameters:
x - The x object coordinate for the raster position
y - The y object coordinate for the raster position
Throws:
OpenGLException - General OpenGL error
See Also:
glRasterPos2f(float, float)

rasterPos

public void rasterPos(double x,
                      double y)
               throws OpenGLException
Polymorphic definition for glRasterPos2d

Parameters:
x - The x object coordinate for the raster position
y - The y object coordinate for the raster position
Throws:
OpenGLException - General OpenGL error
See Also:
glRasterPos2d(double, double)

rasterPos

public void rasterPos(short x,
                      short y,
                      short z)
               throws OpenGLException
Polymorphic definition for glRasterPos3s

Parameters:
x - The x object coordinate for the raster position
y - The y object coordinate for the raster position
z - The z object coordinate for the raster position
Throws:
OpenGLException - General OpenGL error
See Also:
glRasterPos3s(short, short, short)

rasterPos

public void rasterPos(int x,
                      int y,
                      int z)
               throws OpenGLException
Polymorphic definition for glRasterPos3i

Parameters:
x - The x object coordinate for the raster position
y - The y object coordinate for the raster position
z - The z object coordinate for the raster position
Throws:
OpenGLException - General OpenGL error
See Also:
glRasterPos3i(int, int, int)

rasterPos

public void rasterPos(float x,
                      float y,
                      float z)
               throws OpenGLException
Polymorphic definition for glRasterPos3f

Parameters:
x - The x object coordinate for the raster position
y - The y object coordinate for the raster position
z - The z object coordinate for the raster position
Throws:
OpenGLException - General OpenGL error
See Also:
glRasterPos3f(float, float, float)

rasterPos

public void rasterPos(double x,
                      double y,
                      double z)
               throws OpenGLException
Polymorphic definition for glRasterPos3d

Parameters:
x - The x object coordinate for the raster position
y - The y object coordinate for the raster position
z - The z object coordinate for the raster position
Throws:
OpenGLException - General OpenGL error
See Also:
glRasterPos3d(double, double, double)

rasterPos

public void rasterPos(short x,
                      short y,
                      short z,
                      short w)
               throws OpenGLException
Polymorphic definition for glRasterPos4s

Parameters:
x - The x object coordinate for the raster position
y - The y object coordinate for the raster position
z - The z object coordinate for the raster position
w - The w object coordinate for the raster position
Throws:
OpenGLException - General OpenGL error
See Also:
glRasterPos4s(short, short, short, short)

rasterPos

public void rasterPos(int x,
                      int y,
                      int z,
                      int w)
               throws OpenGLException
Polymorphic definition for glRasterPos4i

Parameters:
x - The x object coordinate for the raster position
y - The y object coordinate for the raster position
z - The z object coordinate for the raster position
w - The w object coordinate for the raster position
Throws:
OpenGLException - General OpenGL error
See Also:
glRasterPos4i(int, int, int, int)

rasterPos

public void rasterPos(float x,
                      float y,
                      float z,
                      float w)
               throws OpenGLException
Polymorphic definition for glRasterPos4f

Parameters:
x - The x object coordinate for the raster position
y - The y object coordinate for the raster position
z - The z object coordinate for the raster position
w - The w object coordinate for the raster position
Throws:
OpenGLException - General OpenGL error
See Also:
glRasterPos4f(float, float, float, float)

rasterPos

public void rasterPos(double x,
                      double y,
                      double z,
                      double w)
               throws OpenGLException
Polymorphic definition for glRasterPos4d

Parameters:
x - The x object coordinate for the raster position
y - The y object coordinate for the raster position
z - The z object coordinate for the raster position
w - The w object coordinate for the raster position
Throws:
OpenGLException - General OpenGL error
See Also:
glRasterPos4d(double, double, double, double)

rasterPos

public void rasterPos(short[] ary)
               throws OpenGLException
Polymorphic definition for glRasterPos[234]sv

Parameters:
ary - An array containing raster positional data
Throws:
OpenGLException - General OpenGL error
See Also:
glRasterPos2sv(short[]), glRasterPos3sv(short[]), glRasterPos4sv(short[])

rasterPos

public void rasterPos(int[] ary)
               throws OpenGLException
Polymorphic definition for glRasterPos[234]iv

Parameters:
ary - An array containing raster positional data
Throws:
OpenGLException - General OpenGL error
See Also:
glRasterPos2iv(int[]), glRasterPos3iv(int[]), glRasterPos4iv(int[])

rasterPos

public void rasterPos(float[] ary)
               throws OpenGLException
Polymorphic definition for glRasterPos[234]fv

Parameters:
ary - An array containing raster positional data
Throws:
OpenGLException - General OpenGL error
See Also:
glRasterPos2fv(float[]), glRasterPos3fv(float[]), glRasterPos4fv(float[])

rasterPos

public void rasterPos(double[] ary)
               throws OpenGLException
Polymorphic definition for glRasterPos[234]dv

Parameters:
ary - An array containing raster positional data
Throws:
OpenGLException - General OpenGL error
See Also:
glRasterPos2dv(double[]), glRasterPos3dv(double[]), glRasterPos4dv(double[])

glVertexPointer

public void glVertexPointer(int size,
                            int type,
                            int stride,
                            short[] ptr)
                     throws OpenGLException
Define an array of vertex data

Parameters:
size - Specifies the number of coordinates per vertex
type - Specifies the data type of each coordinate in the array
stride - Specifies the byte offset between consecutive vertices
ptr - Specifies the vertex data
Throws:
OpenGLException - General OpenGL Error

glVertexPointer

public void glVertexPointer(int size,
                            int type,
                            int stride,
                            int[] ptr)
                     throws OpenGLException
Define an array of vertex data

Parameters:
size - Specifies the number of coordinates per vertex
type - Specifies the data type of each coordinate in the array
stride - Specifies the byte offset between consecutive vertices
ptr - Specifies the vertex data
Throws:
OpenGLException - General OpenGL Error

glVertexPointer

public void glVertexPointer(int size,
                            int type,
                            int stride,
                            float[] ptr)
                     throws OpenGLException
Define an array of vertex data

Parameters:
size - Specifies the number of coordinates per vertex
type - Specifies the data type of each coordinate in the array
stride - Specifies the byte offset between consecutive vertices
ptr - Specifies the vertex data
Throws:
OpenGLException - General OpenGL Error

glVertexPointer

public void glVertexPointer(int size,
                            int type,
                            int stride,
                            double[] ptr)
                     throws OpenGLException
Define an array of vertex data

Parameters:
size - Specifies the number of coordinates per vertex
type - Specifies the data type of each coordinate in the array
stride - Specifies the byte offset between consecutive vertices
ptr - Specifies the vertex data
Throws:
OpenGLException - General OpenGL Error

glColorPointer

public void glColorPointer(int size,
                           int type,
                           int stride,
                           byte[] ptr)
                    throws OpenGLException
Define an array of colours

Parameters:
size - Specifies the number of components per colour. Must be 3 or 4
type - Specifies the data type of each colour component in the array.
stride - Specifies the byte offset between consecutive colours.
pointer - Specifies the colour data
Throws:
OpenGLException - General OpenGL error

glColorPointer

public void glColorPointer(int size,
                           int type,
                           int stride,
                           short[] ptr)
                    throws OpenGLException
Define an array of colours

Parameters:
size - Specifies the number of components per colour. Must be 3 or 4
type - Specifies the data type of each colour component in the array.
stride - Specifies the byte offset between consecutive colours.
pointer - Specifies the colour data
Throws:
OpenGLException - General OpenGL error

glColorPointer

public void glColorPointer(int size,
                           int type,
                           int stride,
                           int[] ptr)
                    throws OpenGLException
Define an array of colours

Parameters:
size - Specifies the number of components per colour. Must be 3 or 4
type - Specifies the data type of each colour component in the array.
stride - Specifies the byte offset between consecutive colours.
pointer - Specifies the colour data
Throws:
OpenGLException - General OpenGL error

glColorPointer

public void glColorPointer(int size,
                           int type,
                           int stride,
                           float[] ptr)
                    throws OpenGLException
Define an array of colours

Parameters:
size - Specifies the number of components per colour. Must be 3 or 4
type - Specifies the data type of each colour component in the array.
stride - Specifies the byte offset between consecutive colours.
pointer - Specifies the colour data
Throws:
OpenGLException - General OpenGL error

glColorPointer

public void glColorPointer(int size,
                           int type,
                           int stride,
                           double[] ptr)
                    throws OpenGLException
Define an array of colours

Parameters:
size - Specifies the number of components per colour. Must be 3 or 4
type - Specifies the data type of each colour component in the array.
stride - Specifies the byte offset between consecutive colours.
pointer - Specifies the colour data
Throws:
OpenGLException - General OpenGL error

glNormalPointer

public void glNormalPointer(int type,
                            int stride,
                            byte[] ptr)
                     throws OpenGLException
Defines an array of normals

Parameters:
type - Specifies the data type of each coordinate in the array
stride - Specifies the byte offset between consecutive normals
ptr - Specifies the normal data
Throws:
OpenGLException - General OpenGL Error

glNormalPointer

public void glNormalPointer(int type,
                            int stride,
                            short[] ptr)
                     throws OpenGLException
Defines an array of normals

Parameters:
type - Specifies the data type of each coordinate in the array
stride - Specifies the byte offset between consecutive normals
ptr - Specifies the normal data
Throws:
OpenGLException - General OpenGL Error

glNormalPointer

public void glNormalPointer(int type,
                            int stride,
                            int[] ptr)
                     throws OpenGLException
Defines an array of normals

Parameters:
type - Specifies the data type of each coordinate in the array
stride - Specifies the byte offset between consecutive normals
ptr - Specifies the normal data
Throws:
OpenGLException - General OpenGL Error

glNormalPointer

public void glNormalPointer(int type,
                            int stride,
                            float[] ptr)
                     throws OpenGLException
Defines an array of normals

Parameters:
type - Specifies the data type of each coordinate in the array
stride - Specifies the byte offset between consecutive normals
ptr - Specifies the normal data
Throws:
OpenGLException - General OpenGL Error

glNormalPointer

public void glNormalPointer(int type,
                            int stride,
                            double[] ptr)
                     throws OpenGLException
Defines an array of normals

Parameters:
type - Specifies the data type of each coordinate in the array
stride - Specifies the byte offset between consecutive normals
ptr - Specifies the normal data
Throws:
OpenGLException - General OpenGL Error

glIndexPointer

public void glIndexPointer(int type,
                           int stride,
                           byte[] ptr)
                    throws OpenGLException
Defines an array of colour indices

Parameters:
type - Specifies the data type of each colour index in the array
stride - Specifies the byte offset between consecutive colour indices
ptr - Specifies the colour index data
Throws:
OpenGLException - General OpenGL Error

glIndexPointer

public void glIndexPointer(int type,
                           int stride,
                           short[] ptr)
                    throws OpenGLException
Defines an array of colour indices

Parameters:
type - Specifies the data type of each colour index in the array
stride - Specifies the byte offset between consecutive colour indices
ptr - Specifies the colour index data
Throws:
OpenGLException - General OpenGL Error

glIndexPointer

public void glIndexPointer(int type,
                           int stride,
                           int[] ptr)
                    throws OpenGLException
Defines an array of colour indices

Parameters:
type - Specifies the data type of each colour index in the array
stride - Specifies the byte offset between consecutive colour indices
ptr - Specifies the colour index data
Throws:
OpenGLException - General OpenGL Error

glIndexPointer

public void glIndexPointer(int type,
                           int stride,
                           float[] ptr)
                    throws OpenGLException
Defines an array of colour indices

Parameters:
type - Specifies the data type of each colour index in the array
stride - Specifies the byte offset between consecutive colour indices
ptr - Specifies the colour index data
Throws:
OpenGLException - General OpenGL Error

glIndexPointer

public void glIndexPointer(int type,
                           int stride,
                           double[] ptr)
                    throws OpenGLException
Defines an array of colour indices

Parameters:
type - Specifies the data type of each colour index in the array
stride - Specifies the byte offset between consecutive colour indices
ptr - Specifies the colour index data
Throws:
OpenGLException - General OpenGL Error

glTexCoordPointer

public void glTexCoordPointer(int size,
                              int type,
                              int stride,
                              short[] ptr)
                       throws OpenGLException
Defines an array of texture coordinates

Parameters:
size - Specifies the number of coordinates in each array element
type - Specifies the data type of each texture coordinate
stride - Specifies the byte offset between each texture coordinate
ptr - Specifies the texture coordinate data
Throws:
OpenGLException - General OpenGL Error

glTexCoordPointer

public void glTexCoordPointer(int size,
                              int type,
                              int stride,
                              int[] ptr)
                       throws OpenGLException
Defines an array of texture coordinates

Parameters:
size - Specifies the number of coordinates in each array element
type - Specifies the data type of each texture coordinate
stride - Specifies the byte offset between each texture coordinate
ptr - Specifies the texture coordinate data
Throws:
OpenGLException - General OpenGL Error

glTexCoordPointer

public void glTexCoordPointer(int size,
                              int type,
                              int stride,
                              float[] ptr)
                       throws OpenGLException
Defines an array of texture coordinates

Parameters:
size - Specifies the number of coordinates in each array element
type - Specifies the data type of each texture coordinate
stride - Specifies the byte offset between each texture coordinate
ptr - Specifies the texture coordinate data
Throws:
OpenGLException - General OpenGL Error

glTexCoordPointer

public void glTexCoordPointer(int size,
                              int type,
                              int stride,
                              double[] ptr)
                       throws OpenGLException
Defines an array of texture coordinates

Parameters:
size - Specifies the number of coordinates in each array element
type - Specifies the data type of each texture coordinate
stride - Specifies the byte offset between each texture coordinate
ptr - Specifies the texture coordinate data
Throws:
OpenGLException - General OpenGL Error

glInterleavedArrays

public void glInterleavedArrays(int format,
                                int stride,
                                float[] pointer)
                         throws OpenGLException
Initializes vertex, colour and normal arrays for complex interleaving

Parameters:
size - Specifies the number of coordinates in each array element
type - Specifies the data type of each texture coordinate
stride - Specifies the byte offset between each texture coordinate
ptr - Specifies the texture coordinate data
Throws:
OpenGLException - General OpenGL Error

glMap1f

public void glMap1f(int target,
                    float u1,
                    float u2,
                    int stride,
                    int order,
                    float[][] points)
             throws OpenGLException
Define a one-dimensional evaluator

Parameters:
target - Specifies the kind of values generated by the evaluator
u1 - Linear mapping
u2 - Linear mapping
stride - Specifies the number of floats or doubles between the beginning of one control point and the next
order - Specifies the number of control points
points - Specifies the control points
Throws:
OpenGLException - General OpenGL Error

glMap1d

public void glMap1d(int target,
                    double u1,
                    double u2,
                    int stride,
                    int order,
                    double[][] points)
             throws OpenGLException
Define a one-dimensional evaluator

Parameters:
target - Specifies the kind of values generated by the evaluator
u1 - Linear mapping
u2 - Linear mapping
stride - Specifies the number of floats or doubles between the beginning of one control point and the next
order - Specifies the number of control points
points - Specifies the control points
Throws:
OpenGLException - General OpenGL Error

glMap2f

public void glMap2f(int target,
                    float u1,
                    float u2,
                    int ustride,
                    int uorder,
                    float v1,
                    float v2,
                    int vstride,
                    int vorder,
                    float[][][] points)
             throws OpenGLException
Define a two-dimensional evaluator

Parameters:
target - Specifies the kind of values generated by the evaluator
u1 - Linear mapping
u2 - Linear mapping
ustride - Specifies the number of floats or doubles between consecutive control points in the parametric u direction
uorder - Specifies the number of control points in the parametric u direction
v1 - Linear mapping
v2 - Linear mapping
vstride - Specifies the number of floats or doubles between consecutive control points in the parametric v direction
vorder - Specifies the number of control points in the parametric v direction
points - The control points
Throws:
OpenGLException - General OpenGL Error

glMap2d

public void glMap2d(int target,
                    float u1,
                    float u2,
                    int ustride,
                    int uorder,
                    float v1,
                    float v2,
                    int vstride,
                    int vorder,
                    double[][][] points)
             throws OpenGLException
Define a two-dimensional evaluator

Parameters:
target - Specifies the kind of values generated by the evaluator
u1 - Linear mapping
u2 - Linear mapping
ustride - Specifies the number of floats or doubles between consecutive control points in the parametric u direction
uorder - Specifies the number of control points in the parametric u direction
v1 - Linear mapping
v2 - Linear mapping
vstride - Specifies the number of floats or doubles between consecutive control points in the parametric v direction
vorder - Specifies the number of control points in the parametric v direction
points - The control points
Throws:
OpenGLException - General OpenGL Error

glViewport

public void glViewport(GLDrawable component,
                       int x,
                       int y,
                       int width,
                       int height)
                throws OpenGLException
Set the viewport
Parameters:
x - Lower-left viewport corner x-coordinate
y - Lower-left viewport corner y-coordinate
width - Width of the viewport
height - Height of the viewport

Throws:
OpenGLException - General OpenGL Error
See Also:
viewport(com.hermetica.magician.GLDrawable, int, int, int, int)

viewport

public void viewport(GLDrawable component,
                     int x,
                     int y,
                     int width,
                     int height)
              throws OpenGLException
Set the viewport
Parameters:
x - Lower-left viewport corner x-coordinate
y - Lower-left viewport corner y-coordinate
width - Width of the viewport
height - Height of the viewport

Throws:
OpenGLException - General OpenGL Error
See Also:
glViewport(com.hermetica.magician.GLDrawable, int, int, int, int)

glIsEnabled

public boolean glIsEnabled(int cap)
                    throws OpenGLException
Test whether a capability is enabled
Parameters:
cap - The capability to test

Throws:
OpenGLException - General OpenGL Error

isEnabled

public boolean isEnabled(int cap)
                  throws OpenGLException
Test whether or not a capability is enabled

Parameters:
cap - The capability to be queried
Throws:
OpenGLException - General OpenGL error

areTexturesResident

public boolean areTexturesResident(int n,
                                   int[] textures,
                                   boolean[] residence)
                            throws OpenGLException
Determine if textures are loaded in texture memory

Parameters:
n - Specifies the number of textures to be queried
textures - Specifies an array containing the names of the textures to be queried
residences - Specifies an array in which the results of the texture residency status are returned
Throws:
OpenGLException - General OpenGL error

glAreTexturesResident

public boolean glAreTexturesResident(int n,
                                     int[] textures,
                                     boolean[] residence)
                              throws OpenGLException
Determine if textures are loaded in texture memory

Parameters:
n - Specifies the number of textures to be queried
textures - Specifies an array containing the names of the textures to be queried
residences - Specifies an array in which the results of the texture residency status are returned
Throws:
OpenGLException - General OpenGL error

glIsList

public boolean glIsList(int list)
                 throws OpenGLException
Determine if a name corresponds to a display list

Parameters:
list - The potential display list name
Throws:
OpenGLException - General OpenGL error

isList

public boolean isList(int list)
               throws OpenGLException
Determine if a name corresponds to a display list

Parameters:
list - The potential display list name
Throws:
OpenGLException - General OpenGL error

glIsTexture

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

Parameters:
The - potential texture object
Throws:
OpenGLException - General OpenGL error

isTexture

public boolean isTexture(int texture)
                  throws OpenGLException
Determine if a name corresponds to a texture

Parameters:
The - potential texture object
Throws:
OpenGLException - General OpenGL error

glDrawRangeElements

public void glDrawRangeElements(int mode,
                                int start,
                                int end,
                                int count,
                                int type,
                                byte[] indices)
                         throws OpenGLException
Draw a range of array elements

Parameters:
mode - Specifies the type of primitives to render
start - The start index
The - end index
The - number of elements to draw
The - data type of the elements
indices - The array elements

drawRangeElements

public void drawRangeElements(int mode,
                              int start,
                              int end,
                              int count,
                              int type,
                              byte[] indices)
                       throws OpenGLException
Draw a range of array elements

Parameters:
mode - Specifies the type of primitives to render
start - The start index
The - end index
The - number of elements to draw
The - data type of the elements
indices - The array elements

glDrawRangeElements

public void glDrawRangeElements(int mode,
                                int start,
                                int end,
                                int count,
                                int type,
                                short[] indices)
                         throws OpenGLException
Draw a range of array elements

Parameters:
mode - Specifies the type of primitives to render
start - The start index
The - end index
The - number of elements to draw
The - data type of the elements
indices - The array elements

drawRangeElements

public void drawRangeElements(int mode,
                              int start,
                              int end,
                              int count,
                              int type,
                              short[] indices)
                       throws OpenGLException
Draw a range of array elements

Parameters:
mode - Specifies the type of primitives to render
start - The start index
The - end index
The - number of elements to draw
The - data type of the elements
indices - The array elements

glDrawRangeElements

public void glDrawRangeElements(int mode,
                                int start,
                                int end,
                                int count,
                                int type,
                                int[] indices)
                         throws OpenGLException
Draw a range of array elements

Parameters:
mode - Specifies the type of primitives to render
start - The start index
The - end index
The - number of elements to draw
The - data type of the elements
indices - The array elements

drawRangeElements

public void drawRangeElements(int mode,
                              int start,
                              int end,
                              int count,
                              int type,
                              int[] indices)
                       throws OpenGLException
Draw a range of array elements

Parameters:
mode - Specifies the type of primitives to render
start - The start index
The - end index
The - number of elements to draw
The - data type of the elements
indices - The array elements

glTexImage3D

public void glTexImage3D(int target,
                         int level,
                         int internalFormat,
                         int width,
                         int height,
                         int depth,
                         int border,
                         int format,
                         int type,
                         byte[] pixels)
                  throws OpenGLException
Specifies a 3D texture image

Parameters:
target - Specifies the target texture
level - Specifies the mipmap level-of-detail number
components - Specifies the number of colour components in the texture
width - The width of the texture image
height - The height of the texture image
depth - The depth of the texture image
border - The width of the texture border
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels - Specifies the pixel data

texImage3D

public void texImage3D(int target,
                       int level,
                       int internalFormat,
                       int width,
                       int height,
                       int depth,
                       int border,
                       int format,
                       int type,
                       byte[] pixels)
                throws OpenGLException
Specifies a 3D texture image

Parameters:
target - Specifies the target texture
level - Specifies the mipmap level-of-detail number
components - Specifies the number of colour components in the texture
width - The width of the texture image
height - The height of the texture image
depth - The depth of the texture image
border - The width of the texture border
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels - Specifies the pixel data

glTexImage3D

public void glTexImage3D(int target,
                         int level,
                         int internalFormat,
                         int width,
                         int height,
                         int depth,
                         int border,
                         int format,
                         int type,
                         byte[][][][] pixels)
                  throws OpenGLException
Specifies a 3D texture image

Parameters:
target - Specifies the target texture
level - Specifies the mipmap level-of-detail number
components - Specifies the number of colour components in the texture
width - The width of the texture image
height - The height of the texture image
depth - The depth of the texture image
border - The width of the texture border
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels - Specifies the pixel data

texImage3D

public void texImage3D(int target,
                       int level,
                       int internalFormat,
                       int width,
                       int height,
                       int depth,
                       int border,
                       int format,
                       int type,
                       byte[][][][] pixels)
                throws OpenGLException
Specifies a 3D texture image

Parameters:
target - Specifies the target texture
level - Specifies the mipmap level-of-detail number
components - Specifies the number of colour components in the texture
width - The width of the texture image
height - The height of the texture image
depth - The depth of the texture image
border - The width of the texture border
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels - Specifies the pixel data

glTexImage3D

public void glTexImage3D(int target,
                         int level,
                         int internalFormat,
                         int width,
                         int height,
                         int depth,
                         int border,
                         int format,
                         int type,
                         short[] pixels)
                  throws OpenGLException
Specifies a 3D texture image

Parameters:
target - Specifies the target texture
level - Specifies the mipmap level-of-detail number
components - Specifies the number of colour components in the texture
width - The width of the texture image
height - The height of the texture image
depth - The depth of the texture image
border - The width of the texture border
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels - Specifies the pixel data

texImage3D

public void texImage3D(int target,
                       int level,
                       int internalFormat,
                       int width,
                       int height,
                       int depth,
                       int border,
                       int format,
                       int type,
                       short[] pixels)
                throws OpenGLException
Specifies a 3D texture image

Parameters:
target - Specifies the target texture
level - Specifies the mipmap level-of-detail number
components - Specifies the number of colour components in the texture
width - The width of the texture image
height - The height of the texture image
depth - The depth of the texture image
border - The width of the texture border
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels - Specifies the pixel data

glTexImage3D

public void glTexImage3D(int target,
                         int level,
                         int internalFormat,
                         int width,
                         int height,
                         int depth,
                         int border,
                         int format,
                         int type,
                         short[][][][] pixels)
                  throws OpenGLException
Specifies a 3D texture image

Parameters:
target - Specifies the target texture
level - Specifies the mipmap level-of-detail number
components - Specifies the number of colour components in the texture
width - The width of the texture image
height - The height of the texture image
depth - The depth of the texture image
border - The width of the texture border
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels - Specifies the pixel data

texImage3D

public void texImage3D(int target,
                       int level,
                       int internalFormat,
                       int width,
                       int height,
                       int depth,
                       int border,
                       int format,
                       int type,
                       short[][][][] pixels)
                throws OpenGLException
Specifies a 3D texture image

Parameters:
target - Specifies the target texture
level - Specifies the mipmap level-of-detail number
components - Specifies the number of colour components in the texture
width - The width of the texture image
height - The height of the texture image
depth - The depth of the texture image
border - The width of the texture border
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels - Specifies the pixel data

glTexImage3D

public void glTexImage3D(int target,
                         int level,
                         int internalFormat,
                         int width,
                         int height,
                         int depth,
                         int border,
                         int format,
                         int type,
                         int[] pixels)
                  throws OpenGLException
Specifies a 3D texture image

Parameters:
target - Specifies the target texture
level - Specifies the mipmap level-of-detail number
components - Specifies the number of colour components in the texture
width - The width of the texture image
height - The height of the texture image
depth - The depth of the texture image
border - The width of the texture border
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels - Specifies the pixel data

texImage3D

public void texImage3D(int target,
                       int level,
                       int internalFormat,
                       int width,
                       int height,
                       int depth,
                       int border,
                       int format,
                       int type,
                       int[] pixels)
                throws OpenGLException
Specifies a 3D texture image

Parameters:
target - Specifies the target texture
level - Specifies the mipmap level-of-detail number
components - Specifies the number of colour components in the texture
width - The width of the texture image
height - The height of the texture image
depth - The depth of the texture image
border - The width of the texture border
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels - Specifies the pixel data

glTexImage3D

public void glTexImage3D(int target,
                         int level,
                         int internalFormat,
                         int width,
                         int height,
                         int depth,
                         int border,
                         int format,
                         int type,
                         int[][][][] pixels)
                  throws OpenGLException
Specifies a 3D texture image

Parameters:
target - Specifies the target texture
level - Specifies the mipmap level-of-detail number
components - Specifies the number of colour components in the texture
width - The width of the texture image
height - The height of the texture image
depth - The depth of the texture image
border - The width of the texture border
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels - Specifies the pixel data

texImage3D

public void texImage3D(int target,
                       int level,
                       int internalFormat,
                       int width,
                       int height,
                       int depth,
                       int border,
                       int format,
                       int type,
                       int[][][][] pixels)
                throws OpenGLException
Specifies a 3D texture image

Parameters:
target - Specifies the target texture
level - Specifies the mipmap level-of-detail number
components - Specifies the number of colour components in the texture
width - The width of the texture image
height - The height of the texture image
depth - The depth of the texture image
border - The width of the texture border
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels - Specifies the pixel data

glTexImage3D

public void glTexImage3D(int target,
                         int level,
                         int internalFormat,
                         int width,
                         int height,
                         int depth,
                         int border,
                         int format,
                         int type,
                         float[] pixels)
                  throws OpenGLException
Specifies a 3D texture image

Parameters:
target - Specifies the target texture
level - Specifies the mipmap level-of-detail number
components - Specifies the number of colour components in the texture
width - The width of the texture image
height - The height of the texture image
depth - The depth of the texture image
border - The width of the texture border
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels - Specifies the pixel data

texImage3D

public void texImage3D(int target,
                       int level,
                       int internalFormat,
                       int width,
                       int height,
                       int depth,
                       int border,
                       int format,
                       int type,
                       float[] pixels)
                throws OpenGLException
Specifies a 3D texture image

Parameters:
target - Specifies the target texture
level - Specifies the mipmap level-of-detail number
components - Specifies the number of colour components in the texture
width - The width of the texture image
height - The height of the texture image
depth - The depth of the texture image
border - The width of the texture border
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels - Specifies the pixel data

glTexImage3D

public void glTexImage3D(int target,
                         int level,
                         int internalFormat,
                         int width,
                         int height,
                         int depth,
                         int border,
                         int format,
                         int type,
                         float[][][][] pixels)
                  throws OpenGLException
Specifies a 3D texture image

Parameters:
target - Specifies the target texture
level - Specifies the mipmap level-of-detail number
components - Specifies the number of colour components in the texture
width - The width of the texture image
height - The height of the texture image
depth - The depth of the texture image
border - The width of the texture border
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels - Specifies the pixel data

texImage3D

public void texImage3D(int target,
                       int level,
                       int internalFormat,
                       int width,
                       int height,
                       int depth,
                       int border,
                       int format,
                       int type,
                       float[][][][] pixels)
                throws OpenGLException
Specifies a 3D texture image

Parameters:
target - Specifies the target texture
level - Specifies the mipmap level-of-detail number
components - Specifies the number of colour components in the texture
width - The width of the texture image
height - The height of the texture image
depth - The depth of the texture image
border - The width of the texture border
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data. This is actually ignored. The type is enforced via the pixel data type in the `pixels' argument
pixels - Specifies the pixel data

glTexSubImage3D

public void glTexSubImage3D(int target,
                            int level,
                            int xoffset,
                            int yoffset,
                            int zoffset,
                            int width,
                            int height,
                            int depth,
                            int format,
                            int type,
                            byte[] pixels)
                     throws OpenGLException
Specifies a three-dimensional texture sub-image

Parameters:
target - Specifies the target texture. Must be GL_TEXTURE_1D
level - Specifies the mipmap level-of-detail number
xoffset - Specifies a texel offset in the x direction within the texture array
yoffset - Specifies a texel offset in the y direction within the texture array
zoffset - Specifies a texel offset in the z direction within the texture array
width - Specifies the width of the texture subimage
height - Specifies the height of the texture subimage
depth - Specifies the depth of the texture subimage
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data
pixels - The pixel data itself
Throws:
OpenGLException - General OpenGL error

texSubImage3D

public void texSubImage3D(int target,
                          int level,
                          int xoffset,
                          int yoffset,
                          int zoffset,
                          int width,
                          int height,
                          int depth,
                          int format,
                          int type,
                          byte[] pixels)
                   throws OpenGLException
Specifies a three-dimensional texture sub-image

Parameters:
target - Specifies the target texture. Must be GL_TEXTURE_1D
level - Specifies the mipmap level-of-detail number
xoffset - Specifies a texel offset in the x direction within the texture array
yoffset - Specifies a texel offset in the y direction within the texture array
zoffset - Specifies a texel offset in the z direction within the texture array
width - Specifies the width of the texture subimage
height - Specifies the height of the texture subimage
depth - Specifies the depth of the texture subimage
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data
pixels - The pixel data itself
Throws:
OpenGLException - General OpenGL error

glTexSubImage3D

public void glTexSubImage3D(int target,
                            int level,
                            int xoffset,
                            int yoffset,
                            int zoffset,
                            int width,
                            int height,
                            int depth,
                            int format,
                            int type,
                            short[] pixels)
                     throws OpenGLException
Specifies a three-dimensional texture sub-image

Parameters:
target - Specifies the target texture. Must be GL_TEXTURE_1D
level - Specifies the mipmap level-of-detail number
xoffset - Specifies a texel offset in the x direction within the texture array
yoffset - Specifies a texel offset in the y direction within the texture array
zoffset - Specifies a texel offset in the z direction within the texture array
width - Specifies the width of the texture subimage
height - Specifies the height of the texture subimage
depth - Specifies the depth of the texture subimage
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data
pixels - The pixel data itself
Throws:
OpenGLException - General OpenGL error

texSubImage3D

public void texSubImage3D(int target,
                          int level,
                          int xoffset,
                          int yoffset,
                          int zoffset,
                          int width,
                          int height,
                          int depth,
                          int format,
                          int type,
                          short[] pixels)
                   throws OpenGLException
Specifies a three-dimensional texture sub-image

Parameters:
target - Specifies the target texture. Must be GL_TEXTURE_1D
level - Specifies the mipmap level-of-detail number
xoffset - Specifies a texel offset in the x direction within the texture array
yoffset - Specifies a texel offset in the y direction within the texture array
zoffset - Specifies a texel offset in the z direction within the texture array
width - Specifies the width of the texture subimage
height - Specifies the height of the texture subimage
depth - Specifies the depth of the texture subimage
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data
pixels - The pixel data itself
Throws:
OpenGLException - General OpenGL error

glTexSubImage3D

public void glTexSubImage3D(int target,
                            int level,
                            int xoffset,
                            int yoffset,
                            int zoffset,
                            int width,
                            int height,
                            int depth,
                            int format,
                            int type,
                            int[] pixels)
                     throws OpenGLException
Specifies a three-dimensional texture sub-image

Parameters:
target - Specifies the target texture. Must be GL_TEXTURE_1D
level - Specifies the mipmap level-of-detail number
xoffset - Specifies a texel offset in the x direction within the texture array
yoffset - Specifies a texel offset in the y direction within the texture array
zoffset - Specifies a texel offset in the z direction within the texture array
width - Specifies the width of the texture subimage
height - Specifies the height of the texture subimage
depth - Specifies the depth of the texture subimage
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data
pixels - The pixel data itself
Throws:
OpenGLException - General OpenGL error

texSubImage3D

public void texSubImage3D(int target,
                          int level,
                          int xoffset,
                          int yoffset,
                          int zoffset,
                          int width,
                          int height,
                          int depth,
                          int format,
                          int type,
                          int[] pixels)
                   throws OpenGLException
Specifies a three-dimensional texture sub-image

Parameters:
target - Specifies the target texture. Must be GL_TEXTURE_1D
level - Specifies the mipmap level-of-detail number
xoffset - Specifies a texel offset in the x direction within the texture array
yoffset - Specifies a texel offset in the y direction within the texture array
zoffset - Specifies a texel offset in the z direction within the texture array
width - Specifies the width of the texture subimage
height - Specifies the height of the texture subimage
depth - Specifies the depth of the texture subimage
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data
pixels - The pixel data itself
Throws:
OpenGLException - General OpenGL error

glTexSubImage3D

public void glTexSubImage3D(int target,
                            int level,
                            int xoffset,
                            int yoffset,
                            int zoffset,
                            int width,
                            int height,
                            int depth,
                            int format,
                            int type,
                            float[] pixels)
                     throws OpenGLException
Specifies a three-dimensional texture sub-image

Parameters:
target - Specifies the target texture. Must be GL_TEXTURE_1D
level - Specifies the mipmap level-of-detail number
xoffset - Specifies a texel offset in the x direction within the texture array
yoffset - Specifies a texel offset in the y direction within the texture array
zoffset - Specifies a texel offset in the z direction within the texture array
width - Specifies the width of the texture subimage
height - Specifies the height of the texture subimage
depth - Specifies the depth of the texture subimage
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data
pixels - The pixel data itself
Throws:
OpenGLException - General OpenGL error

texSubImage3D

public void texSubImage3D(int target,
                          int level,
                          int xoffset,
                          int yoffset,
                          int zoffset,
                          int width,
                          int height,
                          int depth,
                          int format,
                          int type,
                          float[] pixels)
                   throws OpenGLException
Specifies a three-dimensional texture sub-image

Parameters:
target - Specifies the target texture. Must be GL_TEXTURE_1D
level - Specifies the mipmap level-of-detail number
xoffset - Specifies a texel offset in the x direction within the texture array
yoffset - Specifies a texel offset in the y direction within the texture array
zoffset - Specifies a texel offset in the z direction within the texture array
width - Specifies the width of the texture subimage
height - Specifies the height of the texture subimage
depth - Specifies the depth of the texture subimage
format - Specifies the format of the pixel data
type - Specifies the data type of the pixel data
pixels - The pixel data itself
Throws:
OpenGLException - General OpenGL error

glVertex3fv

public void glVertex3fv(float[] v)
                 throws OpenGLException
Specify a vertex
Parameters:
v - Buffer containing vertex data

Throws:
OpenGLException - General OpenGL Error

glRasterPos3dv

public void glRasterPos3dv(double[] coords)
                    throws OpenGLException
Specify the raster position for pixel
Parameters:
coords - Buffer containing the required number of coordinate to specify the raster position

Throws:
OpenGLException - General OpenGL Error

glClearAccum

public void glClearAccum(float red,
                         float green,
                         float blue,
                         float alpha)
                  throws OpenGLException
Specify clear values for the accumulation buffer
Parameters:
red - The red value to clear the buffer to
green - The green value to clear the buffer to
blue - The blue value to clear the buffer to
alpha - The alpha value to clear the buffer to

Throws:
OpenGLException - General OpenGL Error

clearAccum

public void clearAccum(float red,
                       float green,
                       float blue,
                       float alpha)
                throws OpenGLException
Specify clear values for the accumulation buffer
Parameters:
red - The red value to clear the buffer to
green - The green value to clear the buffer to
blue - The blue value to clear the buffer to
alpha - The alpha value to clear the buffer to

Throws:
OpenGLException - General OpenGL Error

glTexParameteriv

public void glTexParameteriv(int target,
                             int pname,
                             int[] param)
                      throws OpenGLException
Set texture parameters
Parameters:
target - Specifies the target texture
pname - Specifies the name of a texture parameter
param - Specifies the value or values of `pname'

Throws:
OpenGLException - General OpenGL Error

texParameter

public void texParameter(int target,
                         int pname,
                         int[] param)
                  throws OpenGLException
Set texture parameters
Parameters:
target - Specifies the target texture
pname - Specifies the name of a texture parameter
param - Specifies the value or values of `pname'

Throws:
OpenGLException - General OpenGL Error

glRasterPos2fv

public void glRasterPos2fv(float[] coords)
                    throws OpenGLException
Specify the raster position for pixel
Parameters:
coords - Buffer containing the required number of coordinate to specify the raster position

Throws:
OpenGLException - General OpenGL Error

glRotated

public void glRotated(double angle,
                      double x,
                      double y,
                      double z)
               throws OpenGLException
Multiply the current matrix by a rotation matrix
Parameters:
angle - The angle of rotation in degrees
x - The x-coordinate of a vector
y - The y-coordinate of a vector
z - The z-coordinate of a vector

Throws:
OpenGLException - General OpenGL Error

rotate

public void rotate(double angle,
                   double x,
                   double y,
                   double z)
            throws OpenGLException
Multiply the current matrix by a rotation matrix
Parameters:
angle - The angle of rotation in degrees
x - The x-coordinate of a vector
y - The y-coordinate of a vector
z - The z-coordinate of a vector

Throws:
OpenGLException - General OpenGL Error

glLightfv

public void glLightfv(int light,
                      int pname,
                      float[] param)
               throws OpenGLException
Set the lighting model parameters
Parameters:
light - The light specified by a symbolic constant from GL_LIGHT0 to GL_LIGHT7
pname - The lighting parameter to set, legal values for which are GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_POSITION, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION or GL_LINEAR_ATTENUATION or GL_QUADRATIC_ATTENUATION
param - The value of the chosen parameter

Throws:
OpenGLException - General OpenGL Error

light

public void light(int light,
                  int pname,
                  float[] param)
           throws OpenGLException
Set the lighting model parameters
Parameters:
light - The light specified by a symbolic constant from GL_LIGHT0 to GL_LIGHT7
pname - The lighting parameter to set, legal values for which are GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_POSITION, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION or GL_LINEAR_ATTENUATION or GL_QUADRATIC_ATTENUATION
param - The value of the chosen parameter

Throws:
OpenGLException - General OpenGL Error

glRotatef

public void glRotatef(float angle,
                      float x,
                      float y,
                      float z)
               throws OpenGLException
Multiply the current matrix by a rotation matrix
Parameters:
angle - The angle of rotation in degrees
x - The x-coordinate of a vector
y - The y-coordinate of a vector
z - The z-coordinate of a vector

Throws:
OpenGLException - General OpenGL Error

rotate

public void rotate(float angle,
                   float x,
                   float y,
                   float z)
            throws OpenGLException
Multiply the current matrix by a rotation matrix
Parameters:
angle - The angle of rotation in degrees
x - The x-coordinate of a vector
y - The y-coordinate of a vector
z - The z-coordinate of a vector

Throws:
OpenGLException - General OpenGL Error

glTexCoord2iv

public void glTexCoord2iv(int[] v)
                   throws OpenGLException
Set the current texture coordinates
Parameters:
v - An array of texture coordinates

Throws:
OpenGLException - General OpenGL Error

glMapGrid1d

public void glMapGrid1d(int un,
                        double u1,
                        double u2)
                 throws OpenGLException
Define a one-dimensional mesh
Parameters:
un - Specifies the number of partitions in the grid range interval
u1 - A domain value grid mapping
u2 - A domain value grid mapping

Throws:
OpenGLException - General OpenGL Error

mapGrid

public void mapGrid(int un,
                    double u1,
                    double u2)
             throws OpenGLException
Define a one-dimensional mesh
Parameters:
un - Specifies the number of partitions in the grid range interval
u1 - A domain value grid mapping
u2 - A domain value grid mapping

Throws:
OpenGLException - General OpenGL Error

glRasterPos4d

public void glRasterPos4d(double x,
                          double y,
                          double z,
                          double w)
                   throws OpenGLException
Specify the raster position for pixel
Parameters:
x - The x-coordinate of the raster position
y - The y-coordinate of the raster position
z - The z-coordinate of the raster position
w - The w-coordinate of the raster position

Throws:
OpenGLException - General OpenGL Error

glMultMatrixd

public void glMultMatrixd(double[][] m)
                   throws OpenGLException
Multiply the current matrix by an arbitrary matrix
Parameters:
m - An array of 16 consecutive values use as the elements of a 4x4 matrix

Throws:
OpenGLException - General OpenGL Error

multMatrix

public void multMatrix(double[][] m)
                throws OpenGLException
Multiply the current matrix by an arbitrary matrix
Parameters:
m - An array of 16 consecutive values use as the elements of a 4x4 matrix

Throws:
OpenGLException - General OpenGL Error

glMultMatrixd

public void glMultMatrixd(double[] m)
                   throws OpenGLException
Multiply the current matrix by an arbitrary matrix
Parameters:
m - An array of 16 consecutive values use as the elements of a 4x4 matrix

Throws:
OpenGLException - General OpenGL Error

multMatrix

public void multMatrix(double[] m)
                throws OpenGLException
Multiply the current matrix by an arbitrary matrix
Parameters:
m - An array of 16 consecutive values use as the elements of a 4x4 matrix

Throws:
OpenGLException - General OpenGL Error

glMapGrid1f

public void glMapGrid1f(int un,
                        float u1,
                        float u2)
                 throws OpenGLException
Define a one-dimensional mesh
Parameters:
un - Specifies the number of partitions in the grid range interval
u1 - A domain value grid mapping
u2 - A domain value grid mapping

Throws:
OpenGLException - General OpenGL Error

mapGrid

public void mapGrid(int un,
                    float u1,
                    float u2)
             throws OpenGLException
Define a one-dimensional mesh
Parameters:
un - Specifies the number of partitions in the grid range interval
u1 - A domain value grid mapping
u2 - A domain value grid mapping

Throws:
OpenGLException - General OpenGL Error

glRasterPos4f

public void glRasterPos4f(float x,
                          float y,
                          float z,
                          float w)
                   throws OpenGLException
Specify the raster position for pixel
Parameters:
x - The x-coordinate of the raster position
y - The y-coordinate of the raster position
z - The z-coordinate of the raster position
w - The w-coordinate of the raster position

Throws:
OpenGLException - General OpenGL Error

glMultMatrixf

public void glMultMatrixf(float[][] m)
                   throws OpenGLException
Multiply the current matrix by an arbitrary matrix
Parameters:
m - An array of 16 consecutive values use as the elements of a 4x4 matrix

Throws:
OpenGLException - General OpenGL Error

multMatrix

public void multMatrix(float[][] m)
                throws OpenGLException
Multiply the current matrix by an arbitrary matrix
Parameters:
m - An array of 16 consecutive values use as the elements of a 4x4 matrix

Throws:
OpenGLException - General OpenGL Error

glMultMatrixf

public void glMultMatrixf(float[] m)
                   throws OpenGLException
Multiply the current matrix by an arbitrary matrix
Parameters:
m - An array of 16 consecutive values use as the elements of a 4x4 matrix

Throws:
OpenGLException - General OpenGL Error

multMatrix

public void multMatrix(float[] m)
                throws OpenGLException
Multiply the current matrix by an arbitrary matrix
Parameters:
m - An array of 16 consecutive values use as the elements of a 4x4 matrix

Throws:
OpenGLException - General OpenGL Error

glPixelMapusv

public void glPixelMapusv(int map,
                          int mapsize,
                          short[] values)
                   throws OpenGLException
Set up pixel transfer maps
Parameters:
map - Specifies a symbolic map name
mapsize - Specifies the size of the map being defined
values - Specifies an array of `mapsize' values

Throws:
OpenGLException - General OpenGL Error

pixelMap

public void pixelMap(int map,
                     int mapsize,
                     short[] values)
              throws OpenGLException
Set up pixel transfer maps
Parameters:
map - Specifies a symbolic map name
mapsize - Specifies the size of the map being defined
values - Specifies an array of `mapsize' values

Throws:
OpenGLException - General OpenGL Error

glRasterPos4i

public void glRasterPos4i(int x,
                          int y,
                          int z,
                          int w)
                   throws OpenGLException
Specify the raster position for pixel
Parameters:
x - The x-coordinate of the raster position
y - The y-coordinate of the raster position
z - The z-coordinate of the raster position
w - The w-coordinate of the raster position

Throws:
OpenGLException - General OpenGL Error

glGetIntegerv

public void glGetIntegerv(int pname,
                          int[] params)
                   throws OpenGLException
Return the value or values of a specified parameter
Parameters:
pname - A symbolic constant signifying which state variable to return
params - The buffer to fill with the requested data

Throws:
OpenGLException - General OpenGL Error

getInteger

public void getInteger(int pname,
                       int[] params)
                throws OpenGLException
Return the value or values of a specified parameter
Parameters:
pname - A symbolic constant signifying which state variable to return
params - The buffer to fill with the requested data

Throws:
OpenGLException - General OpenGL Error

glGetTexGendv

public void glGetTexGendv(int coord,
                          int pname,
                          double[] params)
                   throws OpenGLException
Return texture coordinate generation parameters
Parameters:
coord - Specifies a texture coordinate
pname - Specifies the symbolic name of the value or values to be returned
params - Returns the requested data

Throws:
OpenGLException - General OpenGL Error

getTexGen

public void getTexGen(int coord,
                      int pname,
                      double[] params)
               throws OpenGLException
Return texture coordinate generation parameters
Parameters:
coord - Specifies a texture coordinate
pname - Specifies the symbolic name of the value or values to be returned
params - Returns the requested data

Throws:
OpenGLException - General OpenGL Error

glDrawBuffer

public void glDrawBuffer(int mode)
                  throws OpenGLException
Specify which colour buffers are to be drawn into
Parameters:
mode - The buffer to enable. Legal values are GL_FRONT, GL_BACK, GL_LEFT, GL_RIGHT, GL_FRONT_LEFT, GL_FRONT_RIGHT, GL_BACK_LEFT, GL_BACK_RIGHT, GL_AUXi, GL_FRONT_AND_BACK, GL_NONE. Note that separation between left and right buffers is only possible on stereo capable hardware

Throws:
OpenGLException - General OpenGL Error

drawBuffer

public void drawBuffer(int mode)
                throws OpenGLException
Specify which colour buffers are to be drawn into
Parameters:
mode - The buffer to enable. Legal values are GL_FRONT, GL_BACK, GL_LEFT, GL_RIGHT, GL_FRONT_LEFT, GL_FRONT_RIGHT, GL_BACK_LEFT, GL_BACK_RIGHT, GL_AUXi, GL_FRONT_AND_BACK, GL_NONE. Note that separation between left and right buffers is only possible on stereo capable hardware

Throws:
OpenGLException - General OpenGL Error

glGetTexLevelParameteriv

public void glGetTexLevelParameteriv(int target,
                                     int level,
                                     int pname,
                                     int[] params)
                              throws OpenGLException
Return texture parameter values for a specific level of detail
Parameters:
target - The target texture. Legal values are GL_TEXTURE_1D, GL_TEXTURE_2D, GL_PROXY_TEXTURE_1D or GL_PROXY_TEXTURE_2D
level - The mipmap level-of-detail
pname - The texture parameter that is being queried. Legal values are GL_TEXTURE_WIDTH, GL_TEXTURE_HEIGHT, GL_TEXTURE_BORDER, GL_TEXTURE_INTERNAL_FORMAT, GL_TEXTURE_RED_SIZE, GL_TEXTURE_GREEN_SIZE, GL_TEXTURE_BLUE_SIZE, GL_TEXTURE_ALPHA_SIZE, GL_TEXTURE_LUMINANCE_SIZE or GL_TEXTURE_INTENSITY_SIZE
params - The buffer into which the queried values are returned

Throws:
OpenGLException - General OpenGL Error

getTexLevelParameter

public void getTexLevelParameter(int target,
                                 int level,
                                 int pname,
                                 int[] params)
                          throws OpenGLException
Return texture parameter values for a specific level of detail
Parameters:
target - The target texture. Legal values are GL_TEXTURE_1D, GL_TEXTURE_2D, GL_PROXY_TEXTURE_1D or GL_PROXY_TEXTURE_2D
level - The mipmap level-of-detail
pname - The texture parameter that is being queried. Legal values are GL_TEXTURE_WIDTH, GL_TEXTURE_HEIGHT, GL_TEXTURE_BORDER, GL_TEXTURE_INTERNAL_FORMAT, GL_TEXTURE_RED_SIZE, GL_TEXTURE_GREEN_SIZE, GL_TEXTURE_BLUE_SIZE, GL_TEXTURE_ALPHA_SIZE, GL_TEXTURE_LUMINANCE_SIZE or GL_TEXTURE_INTENSITY_SIZE
params - The buffer into which the queried values are returned

Throws:
OpenGLException - General OpenGL Error

glTexGeniv

public void glTexGeniv(int coord,
                       int pname,
                       int[] param)
                throws OpenGLException
Control the generation of texture coordinates
Parameters:
coord - Specifies a texture coordinate
pname - Specifies a symbolic coordinate describing the texture generation function
param - Specifies a texture generation parameter

Throws:
OpenGLException - General OpenGL Error

texGen

public void texGen(int coord,
                   int pname,
                   int[] param)
            throws OpenGLException
Control the generation of texture coordinates
Parameters:
coord - Specifies a texture coordinate
pname - Specifies a symbolic coordinate describing the texture generation function
param - Specifies a texture generation parameter

Throws:
OpenGLException - General OpenGL Error

glRasterPos4s

public void glRasterPos4s(short x,
                          short y,
                          short z,
                          short w)
                   throws OpenGLException
Specify the raster position for pixel
Parameters:
x - The x-coordinate of the raster position
y - The y-coordinate of the raster position
z - The z-coordinate of the raster position
w - The w-coordinate of the raster position

Throws:
OpenGLException - General OpenGL Error

glVertex2iv

public void glVertex2iv(int[] v)
                 throws OpenGLException
Specify a vertex
Parameters:
v - Buffer containing vertex data

Throws:
OpenGLException - General OpenGL Error

glLightModelf

public void glLightModelf(int pname,
                          float param)
                   throws OpenGLException
Set the lighting model parameters
Parameters:
pname - The lighting model parameter to set. Legal values are GL_LIGHT_MODEL_AMBIENT, GL_LIGHT_MODEL_LOCAL_VIEWER and GL_LIGHT_MODEL_TWO_SIDE
param - The value of the chosen parameter

Throws:
OpenGLException - General OpenGL Error

lightModel

public void lightModel(int pname,
                       float param)
                throws OpenGLException
Set the lighting model parameters
Parameters:
pname - The lighting model parameter to set. Legal values are GL_LIGHT_MODEL_AMBIENT, GL_LIGHT_MODEL_LOCAL_VIEWER and GL_LIGHT_MODEL_TWO_SIDE
param - The value of the chosen parameter

Throws:
OpenGLException - General OpenGL Error

glLightModeli

public void glLightModeli(int pname,
                          int param)
                   throws OpenGLException
Set the lighting model parameters
Parameters:
pname - The lighting model parameter to set. Legal values are GL_LIGHT_MODEL_AMBIENT, GL_LIGHT_MODEL_LOCAL_VIEWER and GL_LIGHT_MODEL_TWO_SIDE
param - The value of the chosen parameter

Throws:
OpenGLException - General OpenGL Error

lightModel

public void lightModel(int pname,
                       int param)
                throws OpenGLException
Set the lighting model parameters
Parameters:
pname - The lighting model parameter to set. Legal values are GL_LIGHT_MODEL_AMBIENT, GL_LIGHT_MODEL_LOCAL_VIEWER and GL_LIGHT_MODEL_TWO_SIDE
param - The value of the chosen parameter

Throws:
OpenGLException - General OpenGL Error

glVertex2d

public void glVertex2d(double x,
                       double y)
                throws OpenGLException
Specify a vertex
Parameters:
x - The x-coordinate
y - The y-coordinate

Throws:
OpenGLException - General OpenGL Error

glPrioritizeTextures

public void glPrioritizeTextures(int n,
                                 int[] textures,
                                 float[] priorities)
                          throws OpenGLException
Assigns priorities to texture objects in a given texture array. This indicates whether or not textures should be made resident or not
Parameters:
n - The number of textures to be prioritized
textures - The names of the textures to be prioritized
priorities - The priorities of the named textures

Throws:
OpenGLException - General OpenGL Error

prioritizeTextures

public void prioritizeTextures(int n,
                               int[] textures,
                               float[] priorities)
                        throws OpenGLException
Assigns priorities to texture objects in a given texture array. This indicates whether or not textures should be made resident or not
Parameters:
n - The number of textures to be prioritized
textures - The names of the textures to be prioritized
priorities - The priorities of the named textures

Throws:
OpenGLException - General OpenGL Error

glVertex2f

public void glVertex2f(float x,
                       float y)
                throws OpenGLException
Specify a vertex
Parameters:
x - The x-coordinate
y - The y-coordinate

Throws:
OpenGLException - General OpenGL Error

glTexEnvfv

public void glTexEnvfv(int target,
                       int pname,
                       float[] param)
                throws OpenGLException
Set texture environment parameters
Parameters:
target - Specifies a texture environment
pname - Specifies the symbolic name of a texture environment parameter
param - Specifies symbolic constants

Throws:
OpenGLException - General OpenGL Error

texEnv

public void texEnv(int target,
                   int pname,
                   float[] param)
            throws OpenGLException
Set texture environment parameters
Parameters:
target - Specifies a texture environment
pname - Specifies the symbolic name of a texture environment parameter
param - Specifies symbolic constants

Throws:
OpenGLException - General OpenGL Error

glDeleteTextures

public void glDeleteTextures(int n,
                             int[] textureNames)
                      throws OpenGLException
Deletes the given texture objects completely. This frees the resources taken up by the texture objects, as opposed to simply unbinding texture objects which does not free resources
Parameters:
n - The number of texture objects to delete
textureNames - The names of the texture objects to delete

Throws:
OpenGLException - General OpenGL Error

deleteTextures

public void deleteTextures(int n,
                           int[] textureNames)
                    throws OpenGLException
Deletes the given texture objects completely. This frees the resources taken up by the texture objects, as opposed to simply unbinding texture objects which does not free resources
Parameters:
n - The number of texture objects to delete
textureNames - The names of the texture objects to delete

Throws:
OpenGLException - General OpenGL Error

glTexCoord4fv

public void glTexCoord4fv(float[] v)
                   throws OpenGLException
Set the current texture coordinates
Parameters:
v - An array of texture coordinates

Throws:
OpenGLException - General OpenGL Error

glVertex2i

public void glVertex2i(int x,
                       int y)
                throws OpenGLException
Specify a vertex
Parameters:
x - The x-coordinate
y - The y-coordinate

Throws:
OpenGLException - General OpenGL Error

glMapGrid2d

public void glMapGrid2d(int un,
                        double u1,
                        double u2,
                        int vn,
                        double v1,
                        double v2)
                 throws OpenGLException
Define a two-dimensional mesh
Parameters:
un - Specifies the number of partitions in the grid range interval
u1 - A domain value grid mapping
u2 - A domain value grid mapping
vn - Specifies the number of grid range partitions
v1 - A domain value grid mapping
v2 - A domain value grid mapping

Throws:
OpenGLException - General OpenGL Error

mapGrid

public void mapGrid(int un,
                    double u1,
                    double u2,
                    int vn,
                    double v1,
                    double v2)
             throws OpenGLException
Define a two-dimensional mesh
Parameters:
un - Specifies the number of partitions in the grid range interval
u1 - A domain value grid mapping
u2 - A domain value grid mapping
vn - Specifies the number of grid range partitions
v1 - A domain value grid mapping
v2 - A domain value grid mapping

Throws:
OpenGLException - General OpenGL Error

glNormal3iv

public void glNormal3iv(int[] v)
                 throws OpenGLException
Set the current normal vector
Parameters:
v - Specifies a pointer to an array of three elements

Throws:
OpenGLException - General OpenGL Error

normal

public void normal(int[] v)
            throws OpenGLException
Set the current normal vector
Parameters:
v - Specifies a pointer to an array of three elements

Throws:
OpenGLException - General OpenGL Error

glMapGrid2f

public void glMapGrid2f(int un,
                        float u1,
                        float u2,
                        int vn,
                        float v1,
                        float v2)
                 throws OpenGLException
Define a two-dimensional mesh
Parameters:
un - Specifies the number of partitions in the grid range interval
u1 - A domain value grid mapping
u2 - A domain value grid mapping
vn - Specifies the number of grid range partitions
v1 - A domain value grid mapping
v2 - A domain value grid mapping

Throws:
OpenGLException - General OpenGL Error

mapGrid

public void mapGrid(int un,
                    float u1,
                    float u2,
                    int vn,
                    float v1,
                    float v2)
             throws OpenGLException
Define a two-dimensional mesh
Parameters:
un - Specifies the number of partitions in the grid range interval
u1 - A domain value grid mapping
u2 - A domain value grid mapping
vn - Specifies the number of grid range partitions
v1 - A domain value grid mapping
v2 - A domain value grid mapping

Throws:
OpenGLException - General OpenGL Error

glGetMapiv

public void glGetMapiv(int target,
                       int query,
                       int[] v)
                throws OpenGLException
Return evaluator parameters
Parameters:
target - Specifies the symbolic constant of a map
query - Specifies which parameter to return
v - Returns the requested data

Throws:
OpenGLException - General OpenGL Error

getMap

public void getMap(int target,
                   int query,
                   int[] v)
            throws OpenGLException
Return evaluator parameters
Parameters:
target - Specifies the symbolic constant of a map
query - Specifies which parameter to return
v - Returns the requested data

Throws:
OpenGLException - General OpenGL Error

glRasterPos4sv

public void glRasterPos4sv(short[] coords)
                    throws OpenGLException
Specify the raster position for pixel
Parameters:
coords - Buffer containing the required number of coordinate to specify the raster position

Throws:
OpenGLException - General OpenGL Error

glVertex2s

public void glVertex2s(short x,
                       short y)
                throws OpenGLException
Specify a vertex
Parameters:
x - The x-coordinate
y - The y-coordinate

Throws:
OpenGLException - General OpenGL Error

glEnableClientState

public void glEnableClientState(int array)
                         throws OpenGLException
Enable client-side capabiltity
Parameters:
array - Specifies the capability to enable

Throws:
OpenGLException - General OpenGL Error

enableClientState

public void enableClientState(int array)
                       throws OpenGLException
Enable client-side capabiltity
Parameters:
array - Specifies the capability to enable

Throws:
OpenGLException - General OpenGL Error

glMaterialfv

public void glMaterialfv(int face,
                         int pname,
                         float[] params)
                  throws OpenGLException
Specify material parameters for the lighting model
Parameters:
face - Specify which faces are being updated
pname - Spcifies the material parameter that is being updated
params - Specifies an array of material data

Throws:
OpenGLException - General OpenGL Error

material

public void material(int face,
                     int pname,
                     float[] params)
              throws OpenGLException
Specify material parameters for the lighting model
Parameters:
face - Specify which faces are being updated
pname - Spcifies the material parameter that is being updated
params - Specifies an array of material data

Throws:
OpenGLException - General OpenGL Error

glVertex4fv

public void glVertex4fv(float[] v)
                 throws OpenGLException
Specify a vertex
Parameters:
v - Buffer containing vertex data

Throws:
OpenGLException - General OpenGL Error

glGetTexParameterfv

public void glGetTexParameterfv(int target,
                                int pname,
                                float[] params)
                         throws OpenGLException
Return texture parameter values
Parameters:
target - Specifies the symbolic name of the target texture
pname - The texture type
params - Returns the requested data

Throws:
OpenGLException - General OpenGL Error

getTexParameter

public void getTexParameter(int target,
                            int pname,
                            float[] params)
                     throws OpenGLException
Return texture parameter values
Parameters:
target - Specifies the symbolic name of the target texture
pname - The texture type
params - Returns the requested data

Throws:
OpenGLException - General OpenGL Error

glPolygonOffset

public void glPolygonOffset(float factor,
                            float units)
                     throws OpenGLException
When enabled, the depth value of each fragment is added to a calculated offset value. This is particularly useful for simulating hidden-line removal, or outlining polygons
Parameters:
factor - Specifies a scale factor that is used to create a variable depth effect
units - Used to create a constant depth offset

Throws:
OpenGLException - General OpenGL Error

polygonOffset

public void polygonOffset(float factor,
                          float units)
                   throws OpenGLException
When enabled, the depth value of each fragment is added to a calculated offset value. This is particularly useful for simulating hidden-line removal, or outlining polygons
Parameters:
factor - Specifies a scale factor that is used to create a variable depth effect
units - Used to create a constant depth offset

Throws:
OpenGLException - General OpenGL Error

glRasterPos4dv

public void glRasterPos4dv(double[] coords)
                    throws OpenGLException
Specify the raster position for pixel
Parameters:
coords - Buffer containing the required number of coordinate to specify the raster position

Throws:
OpenGLException - General OpenGL Error

glRasterPos3fv

public void glRasterPos3fv(float[] coords)
                    throws OpenGLException
Specify the raster position for pixel
Parameters:
coords - Buffer containing the required number of coordinate to specify the raster position

Throws:
OpenGLException - General OpenGL Error

glVertex3d

public void glVertex3d(double x,
                       double y,
                       double z)
                throws OpenGLException
Specify a vertex
Parameters:
x - The x-coordinate
y - The y-coordinate
z - The z-coordinate

Throws:
OpenGLException - General OpenGL Error

glFrustum

public void glFrustum(double left,
                      double right,
                      double bottom,
                      double top,
                      double nearValue,
                      double farValue)
               throws OpenGLException
Multiply the current matrix by a perspective matrix
Parameters:
left - The left edge of the view frustum
right - The right edge of the view frustum
bottom - The bottom edge of the view frustum
top - The top edge of the view frustum
nearValue - The near clipping plane distance
farValue - The far clipping plane distance

Throws:
OpenGLException - General OpenGL Error

frustum

public void frustum(double left,
                    double right,
                    double bottom,
                    double top,
                    double nearValue,
                    double farValue)
             throws OpenGLException
Multiply the current matrix by a perspective matrix
Parameters:
left - The left edge of the view frustum
right - The right edge of the view frustum
bottom - The bottom edge of the view frustum
top - The top edge of the view frustum
nearValue - The near clipping plane distance
farValue - The far clipping plane distance

Throws:
OpenGLException - General OpenGL Error

glVertex3f

public void glVertex3f(float x,
                       float y,
                       float z)
                throws OpenGLException
Specify a vertex
Parameters:
x - The x-coordinate
y - The y-coordinate
z - The z-coordinate

Throws:
OpenGLException - General OpenGL Error

glListBase

public void glListBase(int base)
                throws OpenGLException
Set the display list base for glCallLists
Parameters:
base - Offset to be added to the display list indices in `glCallLists()'

Throws:
OpenGLException - General OpenGL Error

listBase

public void listBase(int base)
              throws OpenGLException
Set the display list base for glCallLists
Parameters:
base - Offset to be added to the display list indices in `glCallLists()'

Throws:
OpenGLException - General OpenGL Error

glVertex3i

public void glVertex3i(int x,
                       int y,
                       int z)
                throws OpenGLException
Specify a vertex
Parameters:
x - The x-coordinate
y - The y-coordinate
z - The z-coordinate

Throws:
OpenGLException - General OpenGL Error

glTexCoord3iv

public void glTexCoord3iv(int[] v)
                   throws OpenGLException
Set the current texture coordinates
Parameters:
v - An array of texture coordinates

Throws:
OpenGLException - General OpenGL Error

glPixelMapfv

public void glPixelMapfv(int map,
                         int mapsize,
                         float[] values)
                  throws OpenGLException
Set up pixel transfer maps
Parameters:
map - Specifies a symbolic map name
mapsize - Specifies the size of the map being defined
values - Specifies an array of `mapsize' values

Throws:
OpenGLException - General OpenGL Error

pixelMap

public void pixelMap(int map,
                     int mapsize,
                     float[] values)
              throws OpenGLException
Set up pixel transfer maps
Parameters:
map - Specifies a symbolic map name
mapsize - Specifies the size of the map being defined
values - Specifies an array of `mapsize' values

Throws:
OpenGLException - General OpenGL Error

glVertex3s

public void glVertex3s(short x,
                       short y,
                       short z)
                throws OpenGLException
Specify a vertex
Parameters:
x - The x-coordinate
y - The y-coordinate
z - The z-coordinate

Throws:
OpenGLException - General OpenGL Error

glGetTexGenfv

public void glGetTexGenfv(int coord,
                          int pname,
                          float[] params)
                   throws OpenGLException
Return texture coordinate generation parameters
Parameters:
coord - Specifies a texture coordinate
pname - Specifies the symbolic name of the value or values to be returned
params - Returns the requested data

Throws:
OpenGLException - General OpenGL Error

getTexGen

public void getTexGen(int coord,
                      int pname,
                      float[] params)
               throws OpenGLException
Return texture coordinate generation parameters
Parameters:
coord - Specifies a texture coordinate
pname - Specifies the symbolic name of the value or values to be returned
params - Returns the requested data

Throws:
OpenGLException - General OpenGL Error

glInitNames

public void glInitNames()
                 throws OpenGLException
Initialize the name stack

Throws:
OpenGLException - General OpenGL Error

initNames

public void initNames()
               throws OpenGLException
Initialize the name stack

Throws:
OpenGLException - General OpenGL Error

glColor3bv

public void glColor3bv(byte[] v)
                throws OpenGLException
Sets the current colour
Parameters:
v - An array containing the 3 component colour values

Throws:
OpenGLException - General OpenGL Error

glVertex3iv

public void glVertex3iv(int[] v)
                 throws OpenGLException
Specify a vertex
Parameters:
v - Buffer containing vertex data

Throws:
OpenGLException - General OpenGL Error

glRasterPos2iv

public void glRasterPos2iv(int[] coords)
                    throws OpenGLException
Specify the raster position for pixel
Parameters:
coords - Buffer containing the required number of coordinate to specify the raster position

Throws:
OpenGLException - General OpenGL Error

glPixelStoref

public void glPixelStoref(int pname,
                          float param)
                   throws OpenGLException
Set pixel storage maps
Parameters:
pname - The symbolic name of the parameter to be set
param - The value that `pname' is to be set to

Throws:
OpenGLException - General OpenGL Error

pixelStore

public void pixelStore(int pname,
                       float param)
                throws OpenGLException
Set pixel storage maps
Parameters:
pname - The symbolic name of the parameter to be set
param - The value that `pname' is to be set to

Throws:
OpenGLException - General OpenGL Error

glVertex4d

public void glVertex4d(double x,
                       double y,
                       double z,
                       double w)
                throws OpenGLException
Specify a vertex
Parameters:
x - The x-coordinate
y - The y-coordinate
z - The z-coordinate
w - The w-coordinate

Throws:
OpenGLException - General OpenGL Error

glLightiv

public void glLightiv(int light,
                      int pname,
                      int[] param)
               throws OpenGLException
Set the lighting model parameters
Parameters:
light - The light specified by a symbolic constant from GL_LIGHT0 to GL_LIGHT7
pname - The lighting parameter to set, legal values for which are GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_POSITION, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION or GL_LINEAR_ATTENUATION or GL_QUADRATIC_ATTENUATION
param - The value of the chosen parameter

Throws:
OpenGLException - General OpenGL Error

light

public void light(int light,
                  int pname,
                  int[] param)
           throws OpenGLException
Set the lighting model parameters
Parameters:
light - The light specified by a symbolic constant from GL_LIGHT0 to GL_LIGHT7
pname - The lighting parameter to set, legal values for which are GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_POSITION, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION or GL_LINEAR_ATTENUATION or GL_QUADRATIC_ATTENUATION
param - The value of the chosen parameter

Throws:
OpenGLException - General OpenGL Error

glVertex4f

public void glVertex4f(float x,
                       float y,
                       float z,
                       float w)
                throws OpenGLException
Specify a vertex
Parameters:
x - The x-coordinate
y - The y-coordinate
z - The z-coordinate
w - The w-coordinate

Throws:
OpenGLException - General OpenGL Error

glPixelStorei

public void glPixelStorei(int pname,
                          int param)
                   throws OpenGLException
Set pixel storage maps
Parameters:
pname - The symbolic name of the parameter to be set
param - The value that `pname' is to be set to

Throws:
OpenGLException - General OpenGL Error

pixelStore

public void pixelStore(int pname,
                       int param)
                throws OpenGLException
Set pixel storage maps
Parameters:
pname - The symbolic name of the parameter to be set
param - The value that `pname' is to be set to

Throws:
OpenGLException - General OpenGL Error

glVertex4i

public void glVertex4i(int x,
                       int y,
                       int z,
                       int w)
                throws OpenGLException
Specify a vertex
Parameters:
x - The x-coordinate
y - The y-coordinate
z - The z-coordinate
w - The w-coordinate

Throws:
OpenGLException - General OpenGL Error

glClearIndex

public void glClearIndex(float index)
                  throws OpenGLException
Specify the clear value for the colour index buffers
Parameters:
index - The colour-index to clear the colour buffer to

Throws:
OpenGLException - General OpenGL Error

clearIndex

public void clearIndex(float index)
                throws OpenGLException
Specify the clear value for the colour index buffers
Parameters:
index - The colour-index to clear the colour buffer to

Throws:
OpenGLException - General OpenGL Error

glCullFace

public void glCullFace(int mode)
                throws OpenGLException
Specify whether front- or back-facing facets can be culled
Parameters:
mode - Indicates which polygons should be discarded. Legal values are GL_FRONT, GL_BACK or GL_FRONT_AND_BACK

Throws:
OpenGLException - General OpenGL Error

cullFace

public void cullFace(int mode)
              throws OpenGLException
Specify whether front- or back-facing facets can be culled
Parameters:
mode - Indicates which polygons should be discarded. Legal values are GL_FRONT, GL_BACK or GL_FRONT_AND_BACK

Throws:
OpenGLException - General OpenGL Error

glFinish

public void glFinish()
              throws OpenGLException
Block until all GL execution is complete

Throws:
OpenGLException - General OpenGL Error

finish

public void finish()
            throws OpenGLException
Block until all GL execution is complete

Throws:
OpenGLException - General OpenGL Error

glVertex4s

public void glVertex4s(short x,
                       short y,
                       short z,
                       short w)
                throws OpenGLException
Specify a vertex
Parameters:
x - The x-coordinate
y - The y-coordinate
z - The z-coordinate
w - The w-coordinate

Throws:
OpenGLException - General OpenGL Error

glLineWidth

public void glLineWidth(float width)
                 throws OpenGLException
Specify the width of rasterized lines
Parameters:
width - The width in pixels that lines should be drawn with

Throws:
OpenGLException - General OpenGL Error

lineWidth

public void lineWidth(float width)
               throws OpenGLException
Specify the width of rasterized lines
Parameters:
width - The width in pixels that lines should be drawn with

Throws:
OpenGLException - General OpenGL Error

glLineStipple

public void glLineStipple(int factor,
                          short pattern)
                   throws OpenGLException
Specify the line stipple pattern
Parameters:
factor - A scaling factor for the stipple pattern
pattern - The pattern to be used for line stippling

Throws:
OpenGLException - General OpenGL Error

lineStipple

public void lineStipple(int factor,
                        short pattern)
                 throws OpenGLException
Specify the line stipple pattern
Parameters:
factor - A scaling factor for the stipple pattern
pattern - The pattern to be used for line stippling

Throws:
OpenGLException - General OpenGL Error

glAccum

public void glAccum(int op,
                    float value)
             throws OpenGLException
Operate on the accumulation buffer
Parameters:
op - Selects the operation
value - The number to be used in the operation

Throws:
OpenGLException - General OpenGL Error

accum

public void accum(int op,
                  float value)
           throws OpenGLException
Operate on the accumulation buffer
Parameters:
op - Selects the operation
value - The number to be used in the operation

Throws:
OpenGLException - General OpenGL Error

glRasterPos4fv

public void glRasterPos4fv(float[] coords)
                    throws OpenGLException
Specify the raster position for pixel
Parameters:
coords - Buffer containing the required number of coordinate to specify the raster position

Throws:
OpenGLException - General OpenGL Error

glReadBuffer

public void glReadBuffer(int mode)
                  throws OpenGLException
Select a colour buffer source for pixels
Parameters:
mode - The colour buffer to be used as a source for reading pixels from. Legal values are GL_FRONT, GL_BACK, GL_FRONT_LEFT, GL_FRONT_RIGHT, GL_AUXi, GL_LEFT, GL_RIGHT, GL_BACK_LEFT or GL_BACK_RIGHT. The left and right buffers are only available in stereo rendering implementations of OpenGL

Throws:
OpenGLException - General OpenGL Error

readBuffer

public void readBuffer(int mode)
                throws OpenGLException
Select a colour buffer source for pixels
Parameters:
mode - The colour buffer to be used as a source for reading pixels from. Legal values are GL_FRONT, GL_BACK, GL_FRONT_LEFT, GL_FRONT_RIGHT, GL_AUXi, GL_LEFT, GL_RIGHT, GL_BACK_LEFT or GL_BACK_RIGHT. The left and right buffers are only available in stereo rendering implementations of OpenGL

Throws:
OpenGLException - General OpenGL Error

glTexEnviv

public void glTexEnviv(int target,
                       int pname,
                       int[] param)
                throws OpenGLException
Set texture environment parameters
Parameters:
target - Specifies a texture environment
pname - Specifies the symbolic name of a texture environment parameter
param - Specifies symbolic constants

Throws:
OpenGLException - General OpenGL Error

texEnv

public void texEnv(int target,
                   int pname,
                   int[] param)
            throws OpenGLException
Set texture environment parameters
Parameters:
target - Specifies a texture environment
pname - Specifies the symbolic name of a texture environment parameter
param - Specifies symbolic constants

Throws:
OpenGLException - General OpenGL Error

glTexCoord4iv

public void glTexCoord4iv(int[] v)
                   throws OpenGLException
Set the current texture coordinates
Parameters:
v - An array of texture coordinates

Throws:
OpenGLException - General OpenGL Error

glColor3sv

public void glColor3sv(short[] v)
                throws OpenGLException
Sets the current colour
Parameters:
v - An array containing the 3 component colour values

Throws:
OpenGLException - General OpenGL Error

glPushName

public void glPushName(int name)
                throws OpenGLException
Push the name stack
Parameters:
name - The name to be pushed onto the name stack

Throws:
OpenGLException - General OpenGL Error

pushName

public void pushName(int name)
              throws OpenGLException
Push the name stack
Parameters:
name - The name to be pushed onto the name stack

Throws:
OpenGLException - General OpenGL Error

glDepthRange

public void glDepthRange(double nearValue,
                         double farValue)
                  throws OpenGLException
Specify the mapping z values from normalized device coordinates to window coordinates
Parameters:
nearValue - The adjustment to the minimum depth value
farValue - The adjustment to the maximum depth value

Throws:
OpenGLException - General OpenGL Error

depthRange

public void depthRange(double nearValue,
                       double farValue)
                throws OpenGLException
Specify the mapping z values from normalized device coordinates to window coordinates
Parameters:
nearValue - The adjustment to the minimum depth value
farValue - The adjustment to the maximum depth value

Throws:
OpenGLException - General OpenGL Error

glCopyTexImage1D

public void glCopyTexImage1D(int target,
                             int level,
                             int internalFormat,
                             int x,
                             int y,
                             int width,
                             int height)
                      throws OpenGLException
Creates a one-dimensional texture using framebuffer data to define the texels
Parameters:
target - The constant GL_TEXTURE_1D
level - The mipmap level-of-detail
internalFormat - The internal format of the texture
x - The x-coord of the bottom-left corner of the texture
y - The y-coord of the bottom-left corner of the texture
width - The width of a row of pixels in the texture
height - The numberd of rows in the texture

Throws:
OpenGLException - General OpenGL Error

copyTexImage1D

public void copyTexImage1D(int target,
                           int level,
                           int internalFormat,
                           int x,
                           int y,
                           int width,
                           int height)
                    throws OpenGLException
Creates a one-dimensional texture using framebuffer data to define the texels
Parameters:
target - The constant GL_TEXTURE_1D
level - The mipmap level-of-detail
internalFormat - The internal format of the texture
x - The x-coord of the bottom-left corner of the texture
y - The y-coord of the bottom-left corner of the texture
width - The width of a row of pixels in the texture
height - The numberd of rows in the texture

Throws:
OpenGLException - General OpenGL Error

glLoadIdentity

public void glLoadIdentity()
                    throws OpenGLException
Replace the current matrix with the identity matrix

Throws:
OpenGLException - General OpenGL Error

loadIdentity

public void loadIdentity()
                  throws OpenGLException
Replace the current matrix with the identity matrix

Throws:
OpenGLException - General OpenGL Error

glColor4bv

public void glColor4bv(byte[] v)
                throws OpenGLException
Sets the current colour
Parameters:
v - An array containing the 4 component colour values

Throws:
OpenGLException - General OpenGL Error

glColor3dv

public void glColor3dv(double[] v)
                throws OpenGLException
Sets the current colour
Parameters:
v - An array containing the 3 component colour values

Throws:
OpenGLException - General OpenGL Error

glMaterialiv

public void glMaterialiv(int face,
                         int pname,
                         int[] params)
                  throws OpenGLException
Specify material parameters for the lighting model
Parameters:
face - Specify which faces are being updated
pname - Spcifies the material parameter that is being updated
params - Specifies an array of material data

Throws:
OpenGLException - General OpenGL Error

material

public void material(int face,
                     int pname,
                     int[] params)
              throws OpenGLException
Specify material parameters for the lighting model
Parameters:
face - Specify which faces are being updated
pname - Spcifies the material parameter that is being updated
params - Specifies an array of material data

Throws:
OpenGLException - General OpenGL Error

glEdgeFlagPointer

public void glEdgeFlagPointer(int stride,
                              boolean[] pointer)
                       throws OpenGLException
Define an array of edge flags
Parameters:
stride - The size of each edge flag value
pointer - The array of edge flags

Throws:
OpenGLException - General OpenGL Error

edgeFlagPointer

public void edgeFlagPointer(int stride,
                            boolean[] pointer)
                     throws OpenGLException
Define an array of edge flags
Parameters:
stride - The size of each edge flag value
pointer - The array of edge flags

Throws:
OpenGLException - General OpenGL Error

glVertex4iv

public void glVertex4iv(int[] v)
                 throws OpenGLException
Specify a vertex
Parameters:
v - Buffer containing vertex data

Throws:
OpenGLException - General OpenGL Error

glGetTexParameteriv

public void glGetTexParameteriv(int target,
                                int pname,
                                int[] params)
                         throws OpenGLException
Return texture parameter values
Parameters:
target - Specifies the symbolic name of the target texture
pname - The texture type
params - Returns the requested data

Throws:
OpenGLException - General OpenGL Error

getTexParameter

public void getTexParameter(int target,
                            int pname,
                            int[] params)
                     throws OpenGLException
Return texture parameter values
Parameters:
target - Specifies the symbolic name of the target texture
pname - The texture type
params - Returns the requested data

Throws:
OpenGLException - General OpenGL Error

glEndList

public void glEndList()
               throws OpenGLException
Terminates the specification of a display list

Throws:
OpenGLException - General OpenGL Error

endList

public void endList()
             throws OpenGLException
Terminates the specification of a display list

Throws:
OpenGLException - General OpenGL Error

glGetLightfv

public void glGetLightfv(int light,
                         int pname,
                         float[] params)
                  throws OpenGLException
Return light source parameter values
Parameters:
light - Specifies a light source
pname - Specifies a light source parameter for `light'
params - Returns the requested data

Throws:
OpenGLException - General OpenGL Error

getLight

public void getLight(int light,
                     int pname,
                     float[] params)
              throws OpenGLException
Return light source parameter values
Parameters:
light - Specifies a light source
pname - Specifies a light source parameter for `light'
params - Returns the requested data

Throws:
OpenGLException - General OpenGL Error

glRasterPos3iv

public void glRasterPos3iv(int[] coords)
                    throws OpenGLException
Specify the raster position for pixel
Parameters:
coords - Buffer containing the required number of coordinate to specify the raster position

Throws:
OpenGLException - General OpenGL Error

glRectsv

public void glRectsv(short[] v1,
                     short[] v2)
              throws OpenGLException
Draw a rectangle
Parameters:
v1 - Buffer containing two coordinates for the first corner of the rectangle
v2 - Buffer containing two coordinates for the second corner of the rectangle

Throws:
OpenGLException - General OpenGL Error

rect

public void rect(short[] v1,
                 short[] v2)
          throws OpenGLException
Draw a rectangle
Parameters:
v1 - Buffer containing two coordinates for the first corner of the rectangle
v2 - Buffer containing two coordinates for the second corner of the rectangle

Throws:
OpenGLException - General OpenGL Error

glFogfv

public void glFogfv(int pname,
                    float[] params)
             throws OpenGLException
Specify fog parameters
Parameters:
pname - The parameter to set. Legal values are GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START and GL_FOG_END
params - The values of the given parameter in `pname'

Throws:
OpenGLException - General OpenGL Error

fog

public void fog(int pname,
                float[] params)
         throws OpenGLException
Specify fog parameters
Parameters:
pname - The parameter to set. Legal values are GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START and GL_FOG_END
params - The values of the given parameter in `pname'

Throws:
OpenGLException - General OpenGL Error

glIndexd

public void glIndexd(double c)
              throws OpenGLException
Set the current colour index
Parameters:
c - The colour index value

Throws:
OpenGLException - General OpenGL Error

index

public void index(double c)
           throws OpenGLException
Set the current colour index
Parameters:
c - The colour index value

Throws:
OpenGLException - General OpenGL Error

glTexCoord1d

public void glTexCoord1d(double s)
                  throws OpenGLException
Set the current texture coordinates
Parameters:
s - The s texture coordinate

Throws:
OpenGLException - General OpenGL Error

glNormal3b

public void glNormal3b(byte nx,
                       byte ny,
                       byte nz)
                throws OpenGLException
Set the current normal vector
Parameters:
nx - The x-coordinate of the normal vector
ny - The y-coordinate of the normal vector
nz - The z-coordinate of the normal vector

Throws:
OpenGLException - General OpenGL Error

normal

public void normal(byte nx,
                   byte ny,
                   byte nz)
            throws OpenGLException
Set the current normal vector
Parameters:
nx - The x-coordinate of the normal vector
ny - The y-coordinate of the normal vector
nz - The z-coordinate of the normal vector

Throws:
OpenGLException - General OpenGL Error

glIndexf

public void glIndexf(float c)
              throws OpenGLException
Set the current colour index
Parameters:
c - The colour index value

Throws:
OpenGLException - General OpenGL Error

index

public void index(float c)
           throws OpenGLException
Set the current colour index
Parameters:
c - The colour index value

Throws:
OpenGLException - General OpenGL Error

glGetPixelMapusv

public void glGetPixelMapusv(int map,
                             short[] values)
                      throws OpenGLException
Return the specified pixel map
Parameters:
map - Specifies the name of the pixel map to return
values - Returns the pixel map contents

Throws:
OpenGLException - General OpenGL Error

getPixelMap

public void getPixelMap(int map,
                        short[] values)
                 throws OpenGLException
Return the specified pixel map
Parameters:
map - Specifies the name of the pixel map to return
values - Returns the pixel map contents

Throws:
OpenGLException - General OpenGL Error

glTexCoord1f

public void glTexCoord1f(float s)
                  throws OpenGLException
Set the current texture coordinates
Parameters:
s - The s texture coordinate

Throws:
OpenGLException - General OpenGL Error

glColor3ubv

public void glColor3ubv(byte[] v)
                 throws OpenGLException
Sets the current colour
Parameters:
v - An array containing the 3 component colour values

Throws:
OpenGLException - General OpenGL Error

glNormal3d

public void glNormal3d(double nx,
                       double ny,
                       double nz)
                throws OpenGLException
Set the current normal vector
Parameters:
nx - The x-coordinate of the normal vector
ny - The y-coordinate of the normal vector
nz - The z-coordinate of the normal vector

Throws:
OpenGLException - General OpenGL Error

normal

public void normal(double nx,
                   double ny,
                   double nz)
            throws OpenGLException
Set the current normal vector
Parameters:
nx - The x-coordinate of the normal vector
ny - The y-coordinate of the normal vector
nz - The z-coordinate of the normal vector

Throws:
OpenGLException - General OpenGL Error

glIndexi

public void glIndexi(int c)
              throws OpenGLException
Set the current colour index
Parameters:
c - The colour index value

Throws:
OpenGLException - General OpenGL Error

index

public void index(int c)
           throws OpenGLException
Set the current colour index
Parameters:
c - The colour index value

Throws:
OpenGLException - General OpenGL Error

glDepthFunc

public void glDepthFunc(int func)
                 throws OpenGLException
Specify the value used for depth buffer comparisons
Parameters:
func - The comparison function to be used for depth-testing fragments. The legal values are GL_NEVER, GL_ALWAYS, GL_LESS, GL_LEQUAL, GL_EQUAL, GL_GEQUAL, GL_GREATER or GL_NOTEQUAL

Throws:
OpenGLException - General OpenGL Error

depthFunc

public void depthFunc(int func)
               throws OpenGLException
Specify the value used for depth buffer comparisons
Parameters:
func - The comparison function to be used for depth-testing fragments. The legal values are GL_NEVER, GL_ALWAYS, GL_LESS, GL_LEQUAL, GL_EQUAL, GL_GEQUAL, GL_GREATER or GL_NOTEQUAL

Throws:
OpenGLException - General OpenGL Error

glTexCoord1i

public void glTexCoord1i(int s)
                  throws OpenGLException
Set the current texture coordinates
Parameters:
s - The s texture coordinate

Throws:
OpenGLException - General OpenGL Error

glNormal3f

public void glNormal3f(float nx,
                       float ny,
                       float nz)
                throws OpenGLException
Set the current normal vector
Parameters:
nx - The x-coordinate of the normal vector
ny - The y-coordinate of the normal vector
nz - The z-coordinate of the normal vector

Throws:
OpenGLException - General OpenGL Error

normal

public void normal(float nx,
                   float ny,
                   float nz)
            throws OpenGLException
Set the current normal vector
Parameters:
nx - The x-coordinate of the normal vector
ny - The y-coordinate of the normal vector
nz - The z-coordinate of the normal vector

Throws:
OpenGLException - General OpenGL Error

glFlush

public void glFlush()
             throws OpenGLException
Force execution of GL commands in finite time

Throws:
OpenGLException - General OpenGL Error

flush

public void flush()
           throws OpenGLException
Force execution of GL commands in finite time

Throws:
OpenGLException - General OpenGL Error

glNormal3i

public void glNormal3i(int nx,
                       int ny,
                       int nz)
                throws OpenGLException
Set the current normal vector
Parameters:
nx - The x-coordinate of the normal vector
ny - The y-coordinate of the normal vector
nz - The z-coordinate of the normal vector

Throws:
OpenGLException - General OpenGL Error

normal

public void normal(int nx,
                   int ny,
                   int nz)
            throws OpenGLException
Set the current normal vector
Parameters:
nx - The x-coordinate of the normal vector
ny - The y-coordinate of the normal vector
nz - The z-coordinate of the normal vector

Throws:
OpenGLException - General OpenGL Error

glCopyTexImage2D

public void glCopyTexImage2D(int target,
                             int level,
                             int internalFormat,
                             int x,
                             int y,
                             int width,
                             int height,
                             int border)
                      throws OpenGLException
Creates a two-dimensional texture using framebuffer data to define the texels
Parameters:
target - The constant GL_TEXTURE_2D
level - The mipmap level-of-detail
internalFormat - The internal format of the texture data
x - The x-coord of the bottom-left of the framebuffer rectangle
y - The y-coord of the bottom-left of the framebuffer rectangle
width - The width of the rectangle to copy
height - The height of the rectangle to copy
border - The width of the texture border

Throws:
OpenGLException - General OpenGL Error

copyTexImage2D

public void copyTexImage2D(int target,
                           int level,
                           int internalFormat,
                           int x,
                           int y,
                           int width,
                           int height,
                           int border)
                    throws OpenGLException
Creates a two-dimensional texture using framebuffer data to define the texels
Parameters:
target - The constant GL_TEXTURE_2D
level - The mipmap level-of-detail
internalFormat - The internal format of the texture data
x - The x-coord of the bottom-left of the framebuffer rectangle
y - The y-coord of the bottom-left of the framebuffer rectangle
width - The width of the rectangle to copy
height - The height of the rectangle to copy
border - The width of the texture border

Throws:
OpenGLException - General OpenGL Error

glEnable

public void glEnable(int cap)
              throws OpenGLException
Enable or disable GL capabilities
Parameters:
cap - The capability to turn on

Throws:
OpenGLException - General OpenGL Error

enable

public void enable(int cap)
            throws OpenGLException
Enable or disable GL capabilities
Parameters:
cap - The capability to turn on

Throws:
OpenGLException - General OpenGL Error

glRectdv

public void glRectdv(double[] v1,
                     double[] v2)
              throws OpenGLException
Draw a rectangle
Parameters:
v1 - Buffer containing two coordinates for the first corner of the rectangle
v2 - Buffer containing two coordinates for the second corner of the rectangle

Throws:
OpenGLException - General OpenGL Error

rect

public void rect(double[] v1,
                 double[] v2)
          throws OpenGLException
Draw a rectangle
Parameters:
v1 - Buffer containing two coordinates for the first corner of the rectangle
v2 - Buffer containing two coordinates for the second corner of the rectangle

Throws:
OpenGLException - General OpenGL Error

glColor3ub

public void glColor3ub(byte r,
                       byte g,
                       byte b)
                throws OpenGLException
Sets the current colour
Parameters:
r - The red component of the colour
g - The green component of the colour
b - The blue component of the colour

Throws:
OpenGLException - General OpenGL Error

glEvalCoord1dv

public void glEvalCoord1dv(double[] u)
                    throws OpenGLException
Evaluate enabled one- and two-dimensional maps
Parameters:
u - Pointer to the domain coordinate

Throws:
OpenGLException - General OpenGL Error

glGetTexGeniv

public void glGetTexGeniv(int coord,
                          int pname,
                          int[] params)
                   throws OpenGLException
Return texture coordinate generation parameters
Parameters:
coord - Specifies a texture coordinate
pname - Specifies the symbolic name of the value or values to be returned
params - Returns the requested data

Throws:
OpenGLException - General OpenGL Error

getTexGen

public void getTexGen(int coord,
                      int pname,
                      int[] params)
               throws OpenGLException
Return texture coordinate generation parameters
Parameters:
coord - Specifies a texture coordinate
pname - Specifies the symbolic name of the value or values to be returned
params - Returns the requested data

Throws:
OpenGLException - General OpenGL Error

glIndexs

public void glIndexs(short c)
              throws OpenGLException
Set the current colour index
Parameters:
c - The colour index value

Throws:
OpenGLException - General OpenGL Error

index

public void index(short c)
           throws OpenGLException
Set the current colour index
Parameters:
c - The colour index value

Throws:
OpenGLException - General OpenGL Error

glTexCoord1s

public void glTexCoord1s(short s)
                  throws OpenGLException
Set the current texture coordinates
Parameters:
s - The s texture coordinate

Throws:
OpenGLException - General OpenGL Error

glTexGend

public void glTexGend(int coord,
                      int pname,
                      double param)
               throws OpenGLException
Control the generation of texture coordinates
Parameters:
coord - Specifies a texture coordinate
pname - Specifies a symbolic coordinate describing the texture generation function
param - Specifies a texture generation parameter

Throws:
OpenGLException - General OpenGL Error

texGen

public void texGen(int coord,
                   int pname,
                   double param)
            throws OpenGLException
Control the generation of texture coordinates
Parameters:
coord - Specifies a texture coordinate
pname - Specifies a symbolic coordinate describing the texture generation function
param - Specifies a texture generation parameter

Throws:
OpenGLException - General OpenGL Error

glNormal3s

public void glNormal3s(short nx,
                       short ny,
                       short nz)
                throws OpenGLException
Set the current normal vector
Parameters:
nx - The x-coordinate of the normal vector
ny - The y-coordinate of the normal vector
nz - The z-coordinate of the normal vector

Throws:
OpenGLException - General OpenGL Error

normal

public void normal(short nx,
                   short ny,
                   short nz)
            throws OpenGLException
Set the current normal vector
Parameters:
nx - The x-coordinate of the normal vector
ny - The y-coordinate of the normal vector
nz - The z-coordinate of the normal vector

Throws:
OpenGLException - General OpenGL Error

glColor3ui

public void glColor3ui(int r,
                       int g,
                       int b)
                throws OpenGLException
Sets the current colour
Parameters:
r - The red component of the colour
g - The green component of the colour
b - The blue component of the colour

Throws:
OpenGLException - General OpenGL Error

glTexGenf

public void glTexGenf(int coord,
                      int pname,
                      float param)
               throws OpenGLException
Control the generation of texture coordinates
Parameters:
coord - Specifies a texture coordinate
pname - Specifies a symbolic coordinate describing the texture generation function
param - Specifies a texture generation parameter

Throws:
OpenGLException - General OpenGL Error

texGen

public void texGen(int coord,
                   int pname,
                   float param)
            throws OpenGLException
Control the generation of texture coordinates
Parameters:
coord - Specifies a texture coordinate
pname - Specifies a symbolic coordinate describing the texture generation function
param - Specifies a texture generation parameter

Throws:
OpenGLException - General OpenGL Error

glBlendFunc

public void glBlendFunc(int sfactor,
                        int dfactor)
                 throws OpenGLException
Specify pixel arithmetic
Parameters:
sfactor - Indicates how source blending factor is to be computed
dfactor - Indicates how to compute destination blending factor

Throws:
OpenGLException - General OpenGL Error

blendFunc

public void blendFunc(int sfactor,
                      int dfactor)
               throws OpenGLException
Specify pixel arithmetic
Parameters:
sfactor - Indicates how source blending factor is to be computed
dfactor - Indicates how to compute destination blending factor

Throws:
OpenGLException - General OpenGL Error

glAlphaFunc

public void glAlphaFunc(int func,
                        float value)
                 throws OpenGLException
Specify the alpha test function
Parameters:
func - The comparison function for the alpha test
value - The reference value for the test

Throws:
OpenGLException - General OpenGL Error

alphaFunc

public void alphaFunc(int func,
                      float value)
               throws OpenGLException
Specify the alpha test function
Parameters:
func - The comparison function for the alpha test
value - The reference value for the test

Throws:
OpenGLException - General OpenGL Error

glTexGeni

public void glTexGeni(int coord,
                      int pname,
                      int param)
               throws OpenGLException
Control the generation of texture coordinates
Parameters:
coord - Specifies a texture coordinate
pname - Specifies a symbolic coordinate describing the texture generation function
param - Specifies a texture generation parameter

Throws:
OpenGLException - General OpenGL Error

texGen

public void texGen(int coord,
                   int pname,
                   int param)
            throws OpenGLException
Control the generation of texture coordinates
Parameters:
coord - Specifies a texture coordinate
pname - Specifies a symbolic coordinate describing the texture generation function
param - Specifies a texture generation parameter

Throws:
OpenGLException - General OpenGL Error

glPixelMapuiv

public void glPixelMapuiv(int map,
                          int mapsize,
                          int[] values)
                   throws OpenGLException
Set up pixel transfer maps
Parameters:
map - Specifies a symbolic map name
mapsize - Specifies the size of the map being defined
values - Specifies an array of `mapsize' values

Throws:
OpenGLException - General OpenGL Error

pixelMap

public void pixelMap(int map,
                     int mapsize,
                     int[] values)
              throws OpenGLException
Set up pixel transfer maps
Parameters:
map - Specifies a symbolic map name
mapsize - Specifies the size of the map being defined
values - Specifies an array of `mapsize' values

Throws:
OpenGLException - General OpenGL Error

glMaterialf

public void glMaterialf(int face,
                        int pname,
                        float param)
                 throws OpenGLException
Specify material parameters for the lighting model
Parameters:
face - Specify which faces are being updated
pname - Specifies the single-valued material parameter to be updated
param - Specifies the value that parameter GL_SHININESS will be set to

Throws:
OpenGLException - General OpenGL Error

material

public void material(int face,
                     int pname,
                     float param)
              throws OpenGLException
Specify material parameters for the lighting model
Parameters:
face - Specify which faces are being updated
pname - Specifies the single-valued material parameter to be updated
param - Specifies the value that parameter GL_SHININESS will be set to

Throws:
OpenGLException - General OpenGL Error

glGetBooleanv

public void glGetBooleanv(int pname,
                          boolean[] params)
                   throws OpenGLException
Return the value or values of a specified parameter
Parameters:
pname - A symbolic constant signifying which state variable to return
params - The buffer to fill with the requested data

Throws:
OpenGLException - General OpenGL Error

getBoolean

public void getBoolean(int pname,
                       boolean[] params)
                throws OpenGLException
Return the value or values of a specified parameter
Parameters:
pname - A symbolic constant signifying which state variable to return
params - The buffer to fill with the requested data

Throws:
OpenGLException - General OpenGL Error

glGetTexEnvfv

public void glGetTexEnvfv(int target,
                          int pname,
                          float[] params)
                   throws OpenGLException
Return texture environment parameters
Parameters:
target - Specifies a texture environment
pname - Specifies the symbolic name of a texture environment parameter
params - Returns the requested data

Throws:
OpenGLException - General OpenGL Error

getTexEnv

public void getTexEnv(int target,
                      int pname,
                      float[] params)
               throws OpenGLException
Return texture environment parameters
Parameters:
target - Specifies a texture environment
pname - Specifies the symbolic name of a texture environment parameter
params - Returns the requested data

Throws:
OpenGLException - General OpenGL Error

glMateriali

public void glMateriali(int face,
                        int pname,
                        int param)
                 throws OpenGLException
Specify material parameters for the lighting model
Parameters:
face - Specify which faces are being updated
pname - Specifies the single-valued material parameter to be updated
param - Specifies the value that parameter GL_SHININESS will be set to

Throws:
OpenGLException - General OpenGL Error

material

public void material(int face,
                     int pname,
                     int param)
              throws OpenGLException
Specify material parameters for the lighting model
Parameters:
face - Specify which faces are being updated
pname - Specifies the single-valued material parameter to be updated
param - Specifies the value that parameter GL_SHININESS will be set to

Throws:
OpenGLException - General OpenGL Error

glClearStencil

public void glClearStencil(int s)
                    throws OpenGLException
Specify the clear value for the stencil buffer
Parameters:
s - The clearing value to set the stencil buffer to

Throws:
OpenGLException - General OpenGL Error

clearStencil

public void clearStencil(int s)
                  throws OpenGLException
Specify the clear value for the stencil buffer
Parameters:
s - The clearing value to set the stencil buffer to

Throws:
OpenGLException - General OpenGL Error

glMatrixMode

public void glMatrixMode(int mode)
                  throws OpenGLException
Specify which matrix is the current matrix
Parameters:
mode - Specifies which matrix stack is the target for subsequent matrix operations

Throws:
OpenGLException - General OpenGL Error

matrixMode

public void matrixMode(int mode)
                throws OpenGLException
Specify which matrix is the current matrix
Parameters:
mode - Specifies which matrix stack is the target for subsequent matrix operations

Throws:
OpenGLException - General OpenGL Error

glColor3us

public void glColor3us(short r,
                       short g,
                       short b)
                throws OpenGLException
Sets the current colour
Parameters:
r - The red component of the colour
g - The green component of the colour
b - The blue component of the colour

Throws:
OpenGLException - General OpenGL Error

glColor4sv

public void glColor4sv(short[] v)
                throws OpenGLException
Sets the current colour
Parameters:
v - An array containing the 4 component colour values

Throws:
OpenGLException - General OpenGL Error

glTexCoord2d

public void glTexCoord2d(double s,
                         double t)
                  throws OpenGLException
Set the current texture coordinates
Parameters:
s - The s texture coordinate
t - The t texture coordinate

Throws:
OpenGLException - General OpenGL Error

glStencilFunc

public void glStencilFunc(int func,
                          int ref,
                          int mask)
                   throws OpenGLException
Set function and reference value for stencil testing
Parameters:
func - Specifies the test function
ref - The reference value for the stencil test
mask - Specifies a mask that is ANDed with the reference value and the stored stencil value

Throws:
OpenGLException - General OpenGL Error

stencilFunc

public void stencilFunc(int func,
                        int ref,
                        int mask)
                 throws OpenGLException
Set function and reference value for stencil testing
Parameters:
func - Specifies the test function
ref - The reference value for the stencil test
mask - Specifies a mask that is ANDed with the reference value and the stored stencil value

Throws:
OpenGLException - General OpenGL Error

glTexCoord2f

public void glTexCoord2f(float s,
                         float t)
                  throws OpenGLException
Set the current texture coordinates
Parameters:
s - The s texture coordinate
t - The t texture coordinate

Throws:
OpenGLException - General OpenGL Error

glTexCoord2i

public void glTexCoord2i(int s,
                         int t)
                  throws OpenGLException
Set the current texture coordinates
Parameters:
s - The s texture coordinate
t - The t texture coordinate

Throws:
OpenGLException - General OpenGL Error

glLightModelfv

public void glLightModelfv(int pname,
                           float[] params)
                    throws OpenGLException
Set the lighting model parameters
Parameters:
pname - The lighting model parameter to set. Legal values are GL_LIGHT_MODEL_AMBIENT, GL_LIGHT_MODEL_LOCAL_VIEWER and GL_LIGHT_MODEL_TWO_SIDE
params - The value of the chosen parameter

Throws:
OpenGLException - General OpenGL Error

lightModel

public void lightModel(int pname,
                       float[] params)
                throws OpenGLException
Set the lighting model parameters
Parameters:
pname - The lighting model parameter to set. Legal values are GL_LIGHT_MODEL_AMBIENT, GL_LIGHT_MODEL_LOCAL_VIEWER and GL_LIGHT_MODEL_TWO_SIDE
params - The value of the chosen parameter

Throws:
OpenGLException - General OpenGL Error

glPushAttrib

public void glPushAttrib(int mask)
                  throws OpenGLException
Push the attribute stack
Parameters:
mask - Specifies a mask which indicates which attributes to push

Throws:
OpenGLException - General OpenGL Error

pushAttrib

public void pushAttrib(int mask)
                throws OpenGLException
Push the attribute stack
Parameters:
mask - Specifies a mask which indicates which attributes to push

Throws:
OpenGLException - General OpenGL Error

glClear

public void glClear(int mask)
             throws OpenGLException
Clear buffers to preset values
Parameters:
mask - Bitwise logical `or' of the buffers that should be cleared

Throws:
OpenGLException - General OpenGL Error

clear

public void clear(int mask)
           throws OpenGLException
Clear buffers to preset values
Parameters:
mask - Bitwise logical `or' of the buffers that should be cleared

Throws:
OpenGLException - General OpenGL Error

glPolygonStipple

public void glPolygonStipple(byte[] mask)
                      throws OpenGLException
Set the polygon stippling pattern
Parameters:
mask - Sets the polygon stipple

Throws:
OpenGLException - General OpenGL Error

polygonStipple

public void polygonStipple(byte[] mask)
                    throws OpenGLException
Set the polygon stippling pattern
Parameters:
mask - Sets the polygon stipple

Throws:
OpenGLException - General OpenGL Error

glGetMaterialfv

public void glGetMaterialfv(int face,
                            int pname,
                            float[] params)
                     throws OpenGLException
Return material parameters
Parameters:
face - Specifies which of the two materials are being queried
pname - Specifies the material parameter to return
params - Returns the requested data

Throws:
OpenGLException - General OpenGL Error

getMaterial

public void getMaterial(int face,
                        int pname,
                        float[] params)
                 throws OpenGLException
Return material parameters
Parameters:
face - Specifies which of the two materials are being queried
pname - Specifies the material parameter to return
params - Returns the requested data

Throws:
OpenGLException - General OpenGL Error

glTexCoord2s

public void glTexCoord2s(short s,
                         short t)
                  throws OpenGLException
Set the current texture coordinates
Parameters:
s - The s texture coordinate
t - The t texture coordinate

Throws:
OpenGLException - General OpenGL Error

glLogicOp

public void glLogicOp(int opcode)
               throws OpenGLException
Specify a logical pixel operations for colour index rendering
Parameters:
opcode - The logical operation to be performed between an incoming fraagment and a pixel stored in the colour buffer. Legal values are GL_CLEAR, GL_COPY, GL_NOOP, GL_SET, GL_COPY_INVERTED, GL_INVERT, GL_AND_REVERSE, GL_OR_REVERSE, GL_AND, GL_OR, GL_NAND, GL_XORD, GL_EQUIV, GL_AND_INVERTED or GL_OR_INVERTED

Throws:
OpenGLException - General OpenGL Error

logicOp

public void logicOp(int opcode)
             throws OpenGLException
Specify a logical pixel operations for colour index rendering
Parameters:
opcode - The logical operation to be performed between an incoming fraagment and a pixel stored in the colour buffer. Legal values are GL_CLEAR, GL_COPY, GL_NOOP, GL_SET, GL_COPY_INVERTED, GL_INVERT, GL_AND_REVERSE, GL_OR_REVERSE, GL_AND, GL_OR, GL_NAND, GL_XORD, GL_EQUIV, GL_AND_INVERTED or GL_OR_INVERTED

Throws:
OpenGLException - General OpenGL Error

glColor4dv

public void glColor4dv(double[] v)
                throws OpenGLException
Sets the current colour
Parameters:
v - An array containing the 4 component colour values

Throws:
OpenGLException - General OpenGL Error

glColor3fv

public void glColor3fv(float[] v)
                throws OpenGLException
Sets the current colour
Parameters:
v - An array containing the 3 component colour values

Throws:
OpenGLException - General OpenGL Error

glCopyPixels

public void glCopyPixels(int x,
                         int y,
                         int width,
                         int height,
                         int buffer)
                  throws OpenGLException
Copy pixels in the frame buffer
Parameters:
x - x-coord of the bottom-left of the framebuffer rectangle
y - y-coord of the bottom-left of the framebuffer rectangle
width - The width of the framebuffer rectangle to copy
height - The height of the framebuffer rectangle to copy
buffer - The framebuffer to use ( either GL_COLOR, GL_STENCIL or GL_DEPTH )

Throws:
OpenGLException - General OpenGL Error

copyPixels

public void copyPixels(int x,
                       int y,
                       int width,
                       int height,
                       int buffer)
                throws OpenGLException
Copy pixels in the frame buffer
Parameters:
x - x-coord of the bottom-left of the framebuffer rectangle
y - y-coord of the bottom-left of the framebuffer rectangle
width - The width of the framebuffer rectangle to copy
height - The height of the framebuffer rectangle to copy
buffer - The framebuffer to use ( either GL_COLOR, GL_STENCIL or GL_DEPTH )

Throws:
OpenGLException - General OpenGL Error

glColor3usv

public void glColor3usv(short[] v)
                 throws OpenGLException
Sets the current colour
Parameters:
v - An array containing the 3 component colour values

Throws:
OpenGLException - General OpenGL Error

glPopClientAttrib

public void glPopClientAttrib()
                       throws OpenGLException
This pushes the given attribute onto the client attribute stack

Throws:
OpenGLException - General OpenGL Error

popClientAttrib

public void popClientAttrib()
                     throws OpenGLException
This pushes the given attribute onto the client attribute stack

Throws:
OpenGLException - General OpenGL Error

glDisableClientState

public void glDisableClientState(int array)
                          throws OpenGLException
Disable client-side capabiltity
Parameters:
array - Specifies the capability to disable

Throws:
OpenGLException - General OpenGL Error

disableClientState

public void disableClientState(int array)
                        throws OpenGLException
Disable client-side capabiltity
Parameters:
array - Specifies the capability to disable

Throws:
OpenGLException - General OpenGL Error

glPushMatrix

public void glPushMatrix()
                  throws OpenGLException
Push the current matrix stack

Throws:
OpenGLException - General OpenGL Error

pushMatrix

public void pushMatrix()
                throws OpenGLException
Push the current matrix stack

Throws:
OpenGLException - General OpenGL Error

glRasterPos4iv

public void glRasterPos4iv(int[] coords)
                    throws OpenGLException
Specify the raster position for pixel
Parameters:
coords - Buffer containing the required number of coordinate to specify the raster position

Throws:
OpenGLException - General OpenGL Error

glEnd

public void glEnd()
           throws OpenGLException
Marks the end of a vertex-data list

Throws:
OpenGLException - General OpenGL Error

end

public void end()
         throws OpenGLException
Marks the end of a vertex-data list

Throws:
OpenGLException - General OpenGL Error

glLoadMatrixd

public void glLoadMatrixd(double[] m)
                   throws OpenGLException
Replace the current matrix with an arbitrary matrix
Parameters:
m - Sixteen values that comprise a 4x4 matrix

Throws:
OpenGLException - General OpenGL Error

loadMatrix

public void loadMatrix(double[] m)
                throws OpenGLException
Replace the current matrix with an arbitrary matrix
Parameters:
m - Sixteen values that comprise a 4x4 matrix

Throws:
OpenGLException - General OpenGL Error

glLoadMatrixf

public void glLoadMatrixf(float[] m)
                   throws OpenGLException
Replace the current matrix with an arbitrary matrix
Parameters:
m - Sixteen values that comprise a 4x4 matrix

Throws:
OpenGLException - General OpenGL Error

loadMatrix

public void loadMatrix(float[] m)
                throws OpenGLException
Replace the current matrix with an arbitrary matrix
Parameters:
m - Sixteen values that comprise a 4x4 matrix

Throws:
OpenGLException - General OpenGL Error

glGetPixelMapfv

public void glGetPixelMapfv(int map,
                            float[] values)
                     throws OpenGLException
Return the specified pixel map
Parameters:
map - Specifies the name of the pixel map to return
values - Returns the pixel map contents

Throws:
OpenGLException - General OpenGL Error

getPixelMap

public void getPixelMap(int map,
                        float[] values)
                 throws OpenGLException
Return the specified pixel map
Parameters:
map - Specifies the name of the pixel map to return
values - Returns the pixel map contents

Throws:
OpenGLException - General OpenGL Error

glBitmap

public void glBitmap(int width,
                     int height,
                     float xbo,
                     float ybo,
                     float xbi,
                     float ybi,
                     byte[] bitmap)
              throws OpenGLException
Draw a bitmap
Parameters:
width - The width of the bitmap
height - The height of the bitmap
xbo - X offset from the origin
ybo - Y offset from the origin
xbi - X increment added to the raster position after bitmap is rasterized
ybi - Y increment added to the raster position after the bitmap is rasterized
bitmap - The bitmap data

Throws:
OpenGLException - General OpenGL Error

bitmap

public void bitmap(int width,
                   int height,
                   float xbo,
                   float ybo,
                   float xbi,
                   float ybi,
                   byte[] bitmap)
            throws OpenGLException
Draw a bitmap
Parameters:
width - The width of the bitmap
height - The height of the bitmap
xbo - X offset from the origin
ybo - Y offset from the origin
xbi - X increment added to the raster position after bitmap is rasterized
ybi - Y increment added to the raster position after the bitmap is rasterized
bitmap - The bitmap data

Throws:
OpenGLException - General OpenGL Error

glTexCoord3d

public void glTexCoord3d(double s,
                         double t,
                         double r)
                  throws OpenGLException
Set the current texture coordinates
Parameters:
s - The s texture coordinate
t - The t texture coordinate
r - The r texture coordinate

Throws:
OpenGLException - General OpenGL Error

glTexCoord3f

public void glTexCoord3f(float s,
                         float t,
                         float r)
                  throws OpenGLException
Set the current texture coordinates
Parameters:
s - The s texture coordinate
t - The t texture coordinate
r - The r texture coordinate

Throws:
OpenGLException - General OpenGL Error

glIndexsv

public void glIndexsv(short[] c)
               throws OpenGLException
Set the current colour index
Parameters:
c - Array of colour index values to set

Throws:
OpenGLException - General OpenGL Error

index

public void index(short[] c)
           throws OpenGLException
Set the current colour index
Parameters:
c - Array of colour index values to set

Throws:
OpenGLException - General OpenGL Error

glDepthMask

public void glDepthMask(boolean flag)
                 throws OpenGLException
Enable or disable writing into the depth buffer
Parameters:
flag - If this is GL_TRUE, the depth buffer is enabled for writing, otherwise it is disabled

Throws:
OpenGLException - General OpenGL Error

depthMask

public void depthMask(boolean flag)
               throws OpenGLException
Enable or disable writing into the depth buffer
Parameters:
flag - If this is GL_TRUE, the depth buffer is enabled for writing, otherwise it is disabled

Throws:
OpenGLException - General OpenGL Error

glDepthMask

public void glDepthMask(byte flag)
                 throws OpenGLException
Enable or disable writing into the depth buffer
Parameters:
flag - If this is GL_TRUE, the depth buffer is enabled for writing, otherwise it is disabled

Throws:
OpenGLException - General OpenGL Error

depthMask

public void depthMask(byte flag)
               throws OpenGLException
Enable or disable writing into the depth buffer
Parameters:
flag - If this is GL_TRUE, the depth buffer is enabled for writing, otherwise it is disabled

Throws:
OpenGLException - General OpenGL Error

glDepthMask

public void glDepthMask(int flag)
                 throws OpenGLException
Enable or disable writing into the depth buffer
Parameters:
flag - If this is GL_TRUE, the depth buffer is enabled for writing, otherwise it is disabled

Throws:
OpenGLException - General OpenGL Error

depthMask

public void depthMask(int flag)
               throws OpenGLException
Enable or disable writing into the depth buffer
Parameters:
flag - If this is GL_TRUE, the depth buffer is enabled for writing, otherwise it is disabled

Throws:
OpenGLException - General OpenGL Error

glTexCoord3i

public void glTexCoord3i(int s,
                         int t,
                         int r)
                  throws OpenGLException
Set the current texture coordinates
Parameters:
s - The s texture coordinate
t - The t texture coordinate
r - The r texture coordinate

Throws:
OpenGLException - General OpenGL Error

glPushClientAttrib

public void glPushClientAttrib(int mask)
                        throws OpenGLException
This pushes the desired attributes onto the client attribute stack
Parameters:
mask - Specifies a mask which indicates which attributes to push onto the client stack

Throws:
OpenGLException - General OpenGL Error

pushClientAttrib

public void pushClientAttrib(int mask)
                      throws OpenGLException
This pushes the desired attributes onto the client attribute stack
Parameters:
mask - Specifies a mask which indicates which attributes to push onto the client stack

Throws:
OpenGLException - General OpenGL Error

glEvalMesh1

public void glEvalMesh1(int mode,
                        int p1,
                        int p2)
                 throws OpenGLException
Compute a one-dimensional grid of points
Parameters:
mode - The drawing style of the curve either GL_POINT or GL_LINE
p1 - The starting value of the curve range
p2 - The finishing value of the curve range

Throws:
OpenGLException - General OpenGL Error

evalMesh

public void evalMesh(int mode,
                     int p1,
                     int p2)
              throws OpenGLException
Compute a one-dimensional grid of points
Parameters:
mode - The drawing style of the curve either GL_POINT or GL_LINE
p1 - The starting value of the curve range
p2 - The finishing value of the curve range

Throws:
OpenGLException - General OpenGL Error

glEvalMesh2

public void glEvalMesh2(int mode,
                        int i1,
                        int i2,
                        int j1,
                        int j2)
                 throws OpenGLException
Compute a two-dimensional grid of points
Parameters:
mode - The draw style of the mesh. Either GL_FILL, GL_POINT or GL_LINE
i1 - The starting value for the x-dimension range
i2 - The finishing value of the x-dimension range
j1 - The starting value for the y-dimension range
j2 - The finishing value for the y-dimension range

Throws:
OpenGLException - General OpenGL Error

evalMesh

public void evalMesh(int mode,
                     int i1,
                     int i2,
                     int j1,
                     int j2)
              throws OpenGLException
Compute a two-dimensional grid of points
Parameters:
mode - The draw style of the mesh. Either GL_FILL, GL_POINT or GL_LINE
i1 - The starting value for the x-dimension range
i2 - The finishing value of the x-dimension range
j1 - The starting value for the y-dimension range
j2 - The finishing value for the y-dimension range

Throws:
OpenGLException - General OpenGL Error

glRectfv

public void glRectfv(float[] v1,
                     float[] v2)
              throws OpenGLException
Draw a rectangle
Parameters:
v1 - Buffer containing two coordinates for the first corner of the rectangle
v2 - Buffer containing two coordinates for the second corner of the rectangle

Throws:
OpenGLException - General OpenGL Error

rect

public void rect(float[] v1,
                 float[] v2)
          throws OpenGLException
Draw a rectangle
Parameters:
v1 - Buffer containing two coordinates for the first corner of the rectangle
v2 - Buffer containing two coordinates for the second corner of the rectangle

Throws:
OpenGLException - General OpenGL Error

glColor4ub

public void glColor4ub(byte r,
                       byte g,
                       byte b,
                       byte a)
                throws OpenGLException
Sets the current colour
Parameters:
r - The red component of the colour
g - The green component of the colour
b - The blue component of the colour
a - The alpha component of the colour

Throws:
OpenGLException - General OpenGL Error

glEvalCoord2dv

public void glEvalCoord2dv(double[] values)
                    throws OpenGLException
Evaluate enabled one- and two-dimensional maps
Parameters:
values - Pointer to an array of domain coordinates

Throws:
OpenGLException - General OpenGL Error

glEvalCoord1fv

public void glEvalCoord1fv(float[] u)
                    throws OpenGLException
Evaluate enabled one- and two-dimensional maps
Parameters:
u - Pointer to the domain coordinate

Throws:
OpenGLException - General OpenGL Error

glTexCoord3s

public void glTexCoord3s(short s,
                         short t,
                         short r)
                  throws OpenGLException
Set the current texture coordinates
Parameters:
s - The s texture coordinate
t - The t texture coordinate
r - The r texture coordinate

Throws:
OpenGLException - General OpenGL Error

glColorMaterial

public void glColorMaterial(int face,
                            int mode)
                     throws OpenGLException
Cause a material colour to track the current colour
Parameters:
face - The material face to be tracked
mode - The material mode to be tracked

Throws:
OpenGLException - General OpenGL Error

colorMaterial

public void colorMaterial(int face,
                          int mode)
                   throws OpenGLException
Cause a material colour to track the current colour
Parameters:
face - The material face to be tracked
mode - The material mode to be tracked

Throws:
OpenGLException - General OpenGL Error

glColor4ui

public void glColor4ui(int r,
                       int g,
                       int b,
                       int a)
                throws OpenGLException
Sets the current colour
Parameters:
r - The red component of the colour
g - The green component of the colour
b - The blue component of the colour
a - The alpha component of the colour

Throws:
OpenGLException - General OpenGL Error

glGetDoublev

public void glGetDoublev(int pname,
                         double[] params)
                  throws OpenGLException
Return the value or values of a specified parameter
Parameters:
pname - A symbolic constant signifying which state variable to return
params - The buffer to fill with the requested data

Throws:
OpenGLException - General OpenGL Error

getDouble

public void getDouble(int pname,
                      double[] params)
               throws OpenGLException
Return the value or values of a specified parameter
Parameters:
pname - A symbolic constant signifying which state variable to return
params - The buffer to fill with the requested data

Throws:
OpenGLException - General OpenGL Error

glIndexdv

public void glIndexdv(double[] c)
               throws OpenGLException
Set the current colour index
Parameters:
c - Array of colour index values to set

Throws:
OpenGLException - General OpenGL Error

index

public void index(double[] c)
           throws OpenGLException
Set the current colour index
Parameters:
c - Array of colour index values to set

Throws:
OpenGLException - General OpenGL Error

glColor3b

public void glColor3b(byte r,
                      byte g,
                      byte b)
               throws OpenGLException
Sets the current colour
Parameters:
r - The red component of the colour
g - The green component of the colour
b - The blue component of the colour

Throws:
OpenGLException - General OpenGL Error

glColor3d

public void glColor3d(double r,
                      double g,
                      double b)
               throws OpenGLException
Sets the current colour
Parameters:
r - The red component of the colour
g - The green component of the colour
b - The blue component of the colour

Throws:
OpenGLException - General OpenGL Error

glGetLightiv

public void glGetLightiv(int light,
                         int pname,
                         int[] params)
                  throws OpenGLException
Return light source parameter values
Parameters:
light - Specifies a light source
pname - Specifies a light source parameter for `light'
params - Returns the requested data

Throws:
OpenGLException - General OpenGL Error

getLight

public void getLight(int light,
                     int pname,
                     int[] params)
              throws OpenGLException
Return light source parameter values
Parameters:
light - Specifies a light source
pname - Specifies a light source parameter for `light'
params - Returns the requested data

Throws:
OpenGLException - General OpenGL Error

glColor3f

public void glColor3f(float r,
                      float g,
                      float b)
               throws OpenGLException
Sets the current colour
Parameters:
r - The red component of the colour
g - The green component of the colour
b - The blue component of the colour

Throws:
OpenGLException - General OpenGL Error

glColor3i

public void glColor3i(int r,
                      int g,
                      int b)
               throws OpenGLException
Sets the current colour
Parameters:
r - The red component of the colour
g - The green component of the colour
b - The blue component of the colour

Throws:
OpenGLException - General OpenGL Error

glColor4us

public void glColor4us(short r,
                       short g,
                       short b,
                       short a)
                throws OpenGLException
Sets the current colour
Parameters:
r - The red component of the colour
g - The green component of the colour
b - The blue component of the colour
a - The alpha component of the colour

Throws:
OpenGLException - General OpenGL Error

glFogiv

public void glFogiv(int pname,
                    int[] params)
             throws OpenGLException
Specify fog parameters
Parameters:
pname - The parameter to set. Legal values are GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START and GL_FOG_END
params - The values of the given parameter in `pname'

Throws:
OpenGLException - General OpenGL Error

fog

public void fog(int pname,
                int[] params)
         throws OpenGLException
Specify fog parameters
Parameters:
pname - The parameter to set. Legal values are GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START and GL_FOG_END
params - The values of the given parameter in `pname'

Throws:
OpenGLException - General OpenGL Error

glStencilMask

public void glStencilMask(int mask)
                   throws OpenGLException
Control the writing of individual bits in the stencil planes
Parameters:
mask - A bit mask used to control writing of specific bits into the stencil buffer

Throws:
OpenGLException - General OpenGL Error

stencilMask

public void stencilMask(int mask)
                 throws OpenGLException
Control the writing of individual bits in the stencil planes
Parameters:
mask - A bit mask used to control writing of specific bits into the stencil buffer

Throws:
OpenGLException - General OpenGL Error

glTexCoord4d

public void glTexCoord4d(double s,
                         double t,
                         double r,
                         double q)
                  throws OpenGLException
Set the current texture coordinates
Parameters:
s - The s texture coordinate
t - The t texture coordinate
r - The r texture coordinate
q - The q texture coordinate

Throws:
OpenGLException - General OpenGL Error

glColor4ubv

public void glColor4ubv(byte[] v)
                 throws OpenGLException
Sets the current colour
Parameters:
v - An array containing the 4 component colour values

Throws:
OpenGLException - General OpenGL Error

glTexCoord4f

public void glTexCoord4f(float s,
                         float t,
                         float r,
                         float q)
                  throws OpenGLException
Set the current texture coordinates
Parameters:
s - The s texture coordinate
t - The t texture coordinate
r - The r texture coordinate
q - The q texture coordinate

Throws:
OpenGLException - General OpenGL Error

glTexCoord1sv

public void glTexCoord1sv(short[] v)
                   throws OpenGLException
Set the current texture coordinates
Parameters:
v - An array of texture coordinates

Throws:
OpenGLException - General OpenGL Error

glTexCoord4i

public void glTexCoord4i(int s,
                         int t,
                         int r,
                         int q)
                  throws OpenGLException
Set the current texture coordinates
Parameters:
s - The s texture coordinate
t - The t texture coordinate
r - The r texture coordinate
q - The q texture coordinate

Throws:
OpenGLException - General OpenGL Error

glColor3s

public void glColor3s(short r,
                      short g,
                      short b)
               throws OpenGLException
Sets the current colour
Parameters:
r - The red component of the colour
g - The green component of the colour
b - The blue component of the colour

Throws:
OpenGLException - General OpenGL Error

glRenderMode

public int glRenderMode(int mode)
                 throws OpenGLException
Set rasterization mode
Parameters:
mode - Specifies the rasterization mode

Throws:
OpenGLException - General OpenGL Error

renderMode

public int renderMode(int mode)
               throws OpenGLException
Set rasterization mode
Parameters:
mode - Specifies the rasterization mode

Throws:
OpenGLException - General OpenGL Error

glClearColor

public void glClearColor(float red,
                         float green,
                         float blue,
                         float alpha)
                  throws OpenGLException
Specify clear values for colour buffers
Parameters:
red - The red component of the clear value
green - The green component of the clear value
blue - The blue component of the clear value
alpha - The alpha component of the clear value

Throws:
OpenGLException - General OpenGL Error

clearColor

public void clearColor(float red,
                       float green,
                       float blue,
                       float alpha)
                throws OpenGLException
Specify clear values for colour buffers
Parameters:
red - The red component of the clear value
green - The green component of the clear value
blue - The blue component of the clear value
alpha - The alpha component of the clear value

Throws:
OpenGLException - General OpenGL Error

glPixelZoom

public void glPixelZoom(float xfactor,
                        float yfactor)
                 throws OpenGLException
Specify the pixel zoom factors
Parameters:
xfactor - The x zoom factor
yfactor - The y zoom factor

Throws:
OpenGLException - General OpenGL Error

pixelZoom

public void pixelZoom(float xfactor,
                      float yfactor)
               throws OpenGLException
Specify the pixel zoom factors
Parameters:
xfactor - The x zoom factor
yfactor - The y zoom factor

Throws:
OpenGLException - General OpenGL Error

glGenLists

public int glGenLists(int range)
               throws OpenGLException
Generate a contiguous set of empty display lists
Parameters:
range - The number of contiguous display lists to generate

Throws:
OpenGLException - General OpenGL Error

genLists

public int genLists(int range)
             throws OpenGLException
Generate a contiguous set of empty display lists
Parameters:
range - The number of contiguous display lists to generate

Throws:
OpenGLException - General OpenGL Error

glGetFloatv

public void glGetFloatv(int pname,
                        float[] params)
                 throws OpenGLException
Return the value or values of a specified parameter
Parameters:
pname - A symbolic constant signifying which state variable to return
params - The buffer to fill with the requested data

Throws:
OpenGLException - General OpenGL Error

getFloat

public void getFloat(int pname,
                     float[] params)
              throws OpenGLException
Return the value or values of a specified parameter
Parameters:
pname - A symbolic constant signifying which state variable to return
params - The buffer to fill with the requested data

Throws:
OpenGLException - General OpenGL Error

glTexCoord4s

public void glTexCoord4s(short s,
                         short t,
                         short r,
                         short q)
                  throws OpenGLException
Set the current texture coordinates
Parameters:
s - The s texture coordinate
t - The t texture coordinate
r - The r texture coordinate
q - The q texture coordinate

Throws:
OpenGLException - General OpenGL Error

glColor4fv

public void glColor4fv(float[] v)
                throws OpenGLException
Sets the current colour
Parameters:
v - An array containing the 4 component colour values

Throws:
OpenGLException - General OpenGL Error

glIndexub

public void glIndexub(byte c)
               throws OpenGLException
Set the current colour index
Parameters:
c - The colour index value

Throws:
OpenGLException - General OpenGL Error

index

public void index(byte c)
           throws OpenGLException
Set the current colour index
Parameters:
c - The colour index value

Throws:
OpenGLException - General OpenGL Error

glTexCoord1dv

public void glTexCoord1dv(double[] v)
                   throws OpenGLException
Set the current texture coordinates
Parameters:
v - An array of texture coordinates

Throws:
OpenGLException - General OpenGL Error

glColor4b

public void glColor4b(byte r,
                      byte g,
                      byte b,
                      byte a)
               throws OpenGLException
Sets the current colour
Parameters:
r - The red component of the colour
g - The green component of the colour
b - The blue component of the colour
a - The alpha component of the colour

Throws:
OpenGLException - General OpenGL Error

glColor4d

public void glColor4d(double r,
                      double g,
                      double b,
                      double a)
               throws OpenGLException
Sets the current colour
Parameters:
r - The red component of the colour
g - The green component of the colour
b - The blue component of the colour
a - The alpha component of the colour

Throws:
OpenGLException - General OpenGL Error

glFrontFace

public void glFrontFace(int mode)
                 throws OpenGLException
Define front- and back-facing polygons
Parameters:
mode - The mode to determine front-facing polygons. The default is GL_CCW, ie, counter-clockwise

Throws:
OpenGLException - General OpenGL Error

frontFace

public void frontFace(int mode)
               throws OpenGLException
Define front- and back-facing polygons
Parameters:
mode - The mode to determine front-facing polygons. The default is GL_CCW, ie, counter-clockwise

Throws:
OpenGLException - General OpenGL Error

glColor4f

public void glColor4f(float r,
                      float g,
                      float b,
                      float a)
               throws OpenGLException
Sets the current colour
Parameters:
r - The red component of the colour
g - The green component of the colour
b - The blue component of the colour
a - The alpha component of the colour

Throws:
OpenGLException - General OpenGL Error

glGetTexEnviv

public void glGetTexEnviv(int target,
                          int pname,
                          int[] params)
                   throws OpenGLException
Return texture environment parameters
Parameters:
target - Specifies a texture environment
pname - Specifies the symbolic name of a texture environment parameter
params - Returns the requested data

Throws:
OpenGLException - General OpenGL Error

getTexEnv

public void getTexEnv(int target,
                      int pname,
                      int[] params)
               throws OpenGLException
Return texture environment parameters
Parameters:
target - Specifies a texture environment
pname - Specifies the symbolic name of a texture environment parameter
params - Returns the requested data

Throws:
OpenGLException - General OpenGL Error

glColor4i

public void glColor4i(int r,
                      int g,
                      int b,
                      int a)
               throws OpenGLException
Sets the current colour
Parameters:
r - The red component of the colour
g - The green component of the colour
b - The blue component of the colour
a - The alpha component of the colour

Throws:
OpenGLException - General OpenGL Error

glLoadName

public void glLoadName(int name)
                throws OpenGLException
Load a name onto the name stack
Parameters:
name - The name to load onto the name stack

Throws:
OpenGLException - General OpenGL Error

loadName

public void loadName(int name)
              throws OpenGLException
Load a name onto the name stack
Parameters:
name - The name to load onto the name stack

Throws:
OpenGLException - General OpenGL Error

glBegin

public void glBegin(int mode)
             throws OpenGLException
Delimit the vertices of a primitive of a group of like primitives
Parameters:
mode - The type of primitive to begin defining

Throws:
OpenGLException - General OpenGL Error

begin

public void begin(int mode)
           throws OpenGLException
Delimit the vertices of a primitive of a group of like primitives
Parameters:
mode - The type of primitive to begin defining

Throws:
OpenGLException - General OpenGL Error

glColor4s

public void glColor4s(short r,
                      short g,
                      short b,
                      short a)
               throws OpenGLException
Sets the current colour
Parameters:
r - The red component of the colour
g - The green component of the colour
b - The blue component of the colour
a - The alpha component of the colour

Throws:
OpenGLException - General OpenGL Error

glLightModeliv

public void glLightModeliv(int pname,
                           int[] params)
                    throws OpenGLException
Set the lighting model parameters
Parameters:
pname - The lighting model parameter to set. Legal values are GL_LIGHT_MODEL_AMBIENT, GL_LIGHT_MODEL_LOCAL_VIEWER and GL_LIGHT_MODEL_TWO_SIDE
params - The value of the chosen parameter

Throws:
OpenGLException - General OpenGL Error

lightModel

public void lightModel(int pname,
                       int[] params)
                throws OpenGLException
Set the lighting model parameters
Parameters:
pname - The lighting model parameter to set. Legal values are GL_LIGHT_MODEL_AMBIENT, GL_LIGHT_MODEL_LOCAL_VIEWER and GL_LIGHT_MODEL_TWO_SIDE
params - The value of the chosen parameter

Throws:
OpenGLException - General OpenGL Error

glEvalCoord2fv

public void glEvalCoord2fv(float[] values)
                    throws OpenGLException
Evaluate enabled one- and two-dimensional maps
Parameters:
values - Pointer to an array of domain coordinates

Throws:
OpenGLException - General OpenGL Error

glGetMaterialiv

public void glGetMaterialiv(int face,
                            int pname,
                            int[] params)
                     throws OpenGLException
Return material parameters
Parameters:
face - Specifies which of the two materials are being queried
pname - Specifies the material parameter to return
params - Returns the requested data

Throws:
OpenGLException - General OpenGL Error

getMaterial

public void getMaterial(int face,
                        int pname,
                        int[] params)
                 throws OpenGLException
Return material parameters
Parameters:
face - Specifies which of the two materials are being queried
pname - Specifies the material parameter to return
params - Returns the requested data

Throws:
OpenGLException - General OpenGL Error

glEdgeFlag

public void glEdgeFlag(boolean flag)
                throws OpenGLException
Flag edges as either boundary or nonboundary
Parameters:
flag - If GL_TRUE, the next vertex is considered to initialize a boundary edge of a polygon

Throws:
OpenGLException - General OpenGL Error

edgeFlag

public void edgeFlag(boolean flag)
              throws OpenGLException
Flag edges as either boundary or nonboundary
Parameters:
flag - If GL_TRUE, the next vertex is considered to initialize a boundary edge of a polygon

Throws:
OpenGLException - General OpenGL Error

glEdgeFlag

public void glEdgeFlag(byte flag)
                throws OpenGLException
Flag edges as either boundary or nonboundary
Parameters:
flag - If GL_TRUE, the next vertex is considered to initialize a boundary edge of a polygon

Throws:
OpenGLException - General OpenGL Error

edgeFlag

public void edgeFlag(byte flag)
              throws OpenGLException
Flag edges as either boundary or nonboundary
Parameters:
flag - If GL_TRUE, the next vertex is considered to initialize a boundary edge of a polygon

Throws:
OpenGLException - General OpenGL Error

glEdgeFlag

public void glEdgeFlag(int flag)
                throws OpenGLException
Flag edges as either boundary or nonboundary
Parameters:
flag - If GL_TRUE, the next vertex is considered to initialize a boundary edge of a polygon

Throws:
OpenGLException - General OpenGL Error

edgeFlag

public void edgeFlag(int flag)
              throws OpenGLException
Flag edges as either boundary or nonboundary
Parameters:
flag - If GL_TRUE, the next vertex is considered to initialize a boundary edge of a polygon

Throws:
OpenGLException - General OpenGL Error

glColor4usv

public void glColor4usv(short[] v)
                 throws OpenGLException
Sets the current colour
Parameters:
v - An array containing the 4 component colour values

Throws:
OpenGLException - General OpenGL Error

glColor3iv

public void glColor3iv(int[] v)
                throws OpenGLException
Sets the current colour
Parameters:
v - An array containing the 3 component colour values

Throws:
OpenGLException - General OpenGL Error

glTranslated

public void glTranslated(double x,
                         double y,
                         double z)
                  throws OpenGLException
Multiply the current matrix by a translation matrix
Parameters:
x - The x component of a translation vector
y - The y component of a translation vector
z - The z component of a translation vector

Throws:
OpenGLException - General OpenGL Error

translate

public void translate(double x,
                      double y,
                      double z)
               throws OpenGLException
Multiply the current matrix by a translation matrix
Parameters:
x - The x component of a translation vector
y - The y component of a translation vector
z - The z component of a translation vector

Throws:
OpenGLException - General OpenGL Error

glTranslatef

public void glTranslatef(float x,
                         float y,
                         float z)
                  throws OpenGLException
Multiply the current matrix by a translation matrix
Parameters:
x - The x component of a translation vector
y - The y component of a translation vector
z - The z component of a translation vector

Throws:
OpenGLException - General OpenGL Error

translate

public void translate(float x,
                      float y,
                      float z)
               throws OpenGLException
Multiply the current matrix by a translation matrix
Parameters:
x - The x component of a translation vector
y - The y component of a translation vector
z - The z component of a translation vector

Throws:
OpenGLException - General OpenGL Error

glIndexfv

public void glIndexfv(float[] c)
               throws OpenGLException
Set the current colour index
Parameters:
c - Array of colour index values to set

Throws:
OpenGLException - General OpenGL Error

index

public void index(float[] c)
           throws OpenGLException
Set the current colour index
Parameters:
c - Array of colour index values to set

Throws:
OpenGLException - General OpenGL Error

glNormal3bv

public void glNormal3bv(byte[] v)
                 throws OpenGLException
Set the current normal vector
Parameters:
v - Specifies a pointer to an array of three elements

Throws:
OpenGLException - General OpenGL Error

normal

public void normal(byte[] v)
            throws OpenGLException
Set the current normal vector
Parameters:
v - Specifies a pointer to an array of three elements

Throws:
OpenGLException - General OpenGL Error

glClipPlane

public void glClipPlane(int plane,
                        double[] equation)
                 throws OpenGLException
Specify a plane against which all geometry is clipped
Parameters:
plane - Specifies the clipping plane to define
equation - The four co-efficients of the plane equation used as a clipping plane

Throws:
OpenGLException - General OpenGL Error

clipPlane

public void clipPlane(int plane,
                      double[] equation)
               throws OpenGLException
Specify a plane against which all geometry is clipped
Parameters:
plane - Specifies the clipping plane to define
equation - The four co-efficients of the plane equation used as a clipping plane

Throws:
OpenGLException - General OpenGL Error

glTexEnvf

public void glTexEnvf(int target,
                      int pname,
                      float param)
               throws OpenGLException
Set texture environment parameters
Parameters:
target - Specifies a texture environment
pname - Specifies the symbolic name of a texture environment parameter
param - Specifies symbolic constants

Throws:
OpenGLException - General OpenGL Error

texEnv

public void texEnv(int target,
                   int pname,
                   float param)
            throws OpenGLException
Set texture environment parameters
Parameters:
target - Specifies a texture environment
pname - Specifies the symbolic name of a texture environment parameter
param - Specifies symbolic constants

Throws:
OpenGLException - General OpenGL Error

glTexEnvi

public void glTexEnvi(int target,
                      int pname,
                      int param)
               throws OpenGLException
Set texture environment parameters
Parameters:
target - Specifies a texture environment
pname - Specifies the symbolic name of a texture environment parameter
param - Specifies symbolic constants

Throws:
OpenGLException - General OpenGL Error

texEnv

public void texEnv(int target,
                   int pname,
                   int param)
            throws OpenGLException
Set texture environment parameters
Parameters:
target - Specifies a texture environment
pname - Specifies the symbolic name of a texture environment parameter
param - Specifies symbolic constants

Throws:
OpenGLException - General OpenGL Error

glTexCoord2sv

public void glTexCoord2sv(short[] v)
                   throws OpenGLException
Set the current texture coordinates
Parameters:
v - An array of texture coordinates

Throws:
OpenGLException - General OpenGL Error

glNewList

public void glNewList(int list,
                      int mode)
               throws OpenGLException
Create or replace a display list
Parameters:
list - The display list name
mode - Specifies the compilation mode

Throws:
OpenGLException - General OpenGL Error

newList

public void newList(int list,
                    int mode)
             throws OpenGLException
Create or replace a display list
Parameters:
list - The display list name
mode - Specifies the compilation mode

Throws:
OpenGLException - General OpenGL Error

glPixelTransferf

public void glPixelTransferf(int pname,
                             float param)
                      throws OpenGLException
Set pixel transfer modes
Parameters:
pname - The symbolic name of the parameter to be set
param - The value that `pname' is to be set to

Throws:
OpenGLException - General OpenGL Error

pixelTransfer

public void pixelTransfer(int pname,
                          float param)
                   throws OpenGLException
Set pixel transfer modes
Parameters:
pname - The symbolic name of the parameter to be set
param - The value that `pname' is to be set to

Throws:
OpenGLException - General OpenGL Error

glRectiv

public void glRectiv(int[] v1,
                     int[] v2)
              throws OpenGLException
Draw a rectangle
Parameters:
v1 - Buffer containing two coordinates for the first corner of the rectangle
v2 - Buffer containing two coordinates for the second corner of the rectangle

Throws:
OpenGLException - General OpenGL Error

rect

public void rect(int[] v1,
                 int[] v2)
          throws OpenGLException
Draw a rectangle
Parameters:
v1 - Buffer containing two coordinates for the first corner of the rectangle
v2 - Buffer containing two coordinates for the second corner of the rectangle

Throws:
OpenGLException - General OpenGL Error

glPixelTransferi

public void glPixelTransferi(int pname,
                             int param)
                      throws OpenGLException
Set pixel transfer modes
Parameters:
pname - The symbolic name of the parameter to be set
param - The value that `pname' is to be set to

Throws:
OpenGLException - General OpenGL Error

pixelTransfer

public void pixelTransfer(int pname,
                          int param)
                   throws OpenGLException
Set pixel transfer modes
Parameters:
pname - The symbolic name of the parameter to be set
param - The value that `pname' is to be set to

Throws:
OpenGLException - General OpenGL Error

glStencilOp

public void glStencilOp(int fail,
                        int zfail,
                        int zpass)
                 throws OpenGLException
Set stencil test actions
Parameters:
fail - Specifies an action to take when the stencil test fails
zfail - Specifies an action when the stencil test passes but the depth test fails
zpass - Specifies an action to take when both the stencil and depth tests pass

Throws:
OpenGLException - General OpenGL Error

stencilOp

public void stencilOp(int fail,
                      int zfail,
                      int zpass)
               throws OpenGLException
Set stencil test actions
Parameters:
fail - Specifies an action to take when the stencil test fails
zfail - Specifies an action when the stencil test passes but the depth test fails
zpass - Specifies an action to take when both the stencil and depth tests pass

Throws:
OpenGLException - General OpenGL Error

glTexCoord2dv

public void glTexCoord2dv(double[] v)
                   throws OpenGLException
Set the current texture coordinates
Parameters:
v - An array of texture coordinates

Throws:
OpenGLException - General OpenGL Error

glEvalCoord1d

public void glEvalCoord1d(double u)
                   throws OpenGLException
Evaluate enabled one- and two-dimensional maps
Parameters:
u - The domain coordinate

Throws:
OpenGLException - General OpenGL Error

glGetPixelMapuiv

public void glGetPixelMapuiv(int map,
                             int[] values)
                      throws OpenGLException
Return the specified pixel map
Parameters:
map - Specifies the name of the pixel map to return
values - Returns the pixel map contents

Throws:
OpenGLException - General OpenGL Error

getPixelMap

public void getPixelMap(int map,
                        int[] values)
                 throws OpenGLException
Return the specified pixel map
Parameters:
map - Specifies the name of the pixel map to return
values - Returns the pixel map contents

Throws:
OpenGLException - General OpenGL Error

glTexCoord1fv

public void glTexCoord1fv(float[] v)
                   throws OpenGLException
Set the current texture coordinates
Parameters:
v - An array of texture coordinates

Throws:
OpenGLException - General OpenGL Error

glShadeModel

public void glShadeModel(int mode)
                  throws OpenGLException
Select flat or smooth shading
Parameters:
mode - The symbolic value representing a shading technique

Throws:
OpenGLException - General OpenGL Error

shadeModel

public void shadeModel(int mode)
                throws OpenGLException
Select flat or smooth shading
Parameters:
mode - The symbolic value representing a shading technique

Throws:
OpenGLException - General OpenGL Error

glEvalCoord1f

public void glEvalCoord1f(float u)
                   throws OpenGLException
Evaluate enabled one- and two-dimensional maps
Parameters:
u - The domain coordinate

Throws:
OpenGLException - General OpenGL Error

glVertex2sv

public void glVertex2sv(short[] v)
                 throws OpenGLException
Specify a vertex
Parameters:
v - Buffer containing vertex data

Throws:
OpenGLException - General OpenGL Error

glClearDepth

public void glClearDepth(double depth)
                  throws OpenGLException
Specify the clear value for the depth buffer
Parameters:
depth - The value to which the depth buffer is cleared to

Throws:
OpenGLException - General OpenGL Error

clearDepth

public void clearDepth(double depth)
                throws OpenGLException
Specify the clear value for the depth buffer
Parameters:
depth - The value to which the depth buffer is cleared to

Throws:
OpenGLException - General OpenGL Error

glLightf

public void glLightf(int light,
                     int pname,
                     float param)
              throws OpenGLException
Set light source parameters
Parameters:
light - The light specified by a symbolic constant from GL_LIGHT0 to GL_LIGHT7
pname - The lighting parameter to set, legal values for which are GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_POSITION, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION or GL_QUADRATIC_ATTENUATION
param - The value of the chosen parameter

Throws:
OpenGLException - General OpenGL Error

light

public void light(int light,
                  int pname,
                  float param)
           throws OpenGLException
Set light source parameters
Parameters:
light - The light specified by a symbolic constant from GL_LIGHT0 to GL_LIGHT7
pname - The lighting parameter to set, legal values for which are GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_POSITION, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION or GL_QUADRATIC_ATTENUATION
param - The value of the chosen parameter

Throws:
OpenGLException - General OpenGL Error

glLighti

public void glLighti(int light,
                     int pname,
                     int param)
              throws OpenGLException
Set light source parameters
Parameters:
light - The light specified by a symbolic constant from GL_LIGHT0 to GL_LIGHT7
pname - The lighting parameter to set, legal values for which are GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_POSITION, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION or GL_QUADRATIC_ATTENUATION
param - The value of the chosen parameter

Throws:
OpenGLException - General OpenGL Error

light

public void light(int light,
                  int pname,
                  int param)
           throws OpenGLException
Set light source parameters
Parameters:
light - The light specified by a symbolic constant from GL_LIGHT0 to GL_LIGHT7
pname - The lighting parameter to set, legal values for which are GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_POSITION, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION or GL_QUADRATIC_ATTENUATION
param - The value of the chosen parameter

Throws:
OpenGLException - General OpenGL Error

glIndexMask

public void glIndexMask(int mask)
                 throws OpenGLException
Control the writing of individual bits in the colour index buffers
Parameters:
mask - The control mask for the colour index buffer

Throws:
OpenGLException - General OpenGL Error

indexMask

public void indexMask(int mask)
               throws OpenGLException
Control the writing of individual bits in the colour index buffers
Parameters:
mask - The control mask for the colour index buffer

Throws:
OpenGLException - General OpenGL Error

glTexGendv

public void glTexGendv(int coord,
                       int pname,
                       double[] param)
                throws OpenGLException
Control the generation of texture coordinates
Parameters:
coord - Specifies a texture coordinate
pname - Specifies a symbolic coordinate describing the texture generation function
param - Specifies a texture generation parameter

Throws:
OpenGLException - General OpenGL Error

texGen

public void texGen(int coord,
                   int pname,
                   double[] param)
            throws OpenGLException
Control the generation of texture coordinates
Parameters:
coord - Specifies a texture coordinate
pname - Specifies a symbolic coordinate describing the texture generation function
param - Specifies a texture generation parameter

Throws:
OpenGLException - General OpenGL Error

glNormal3sv

public void glNormal3sv(short[] v)
                 throws OpenGLException
Set the current normal vector
Parameters:
v - Specifies a pointer to an array of three elements

Throws:
OpenGLException - General OpenGL Error

normal

public void normal(short[] v)
            throws OpenGLException
Set the current normal vector
Parameters:
v - Specifies a pointer to an array of three elements

Throws:
OpenGLException - General OpenGL Error

glGetPolygonStipple

public void glGetPolygonStipple(byte[] mask)
                         throws OpenGLException
Return the polygon stipple pattern
Parameters:
mask - Returns the stipple pattern

Throws:
OpenGLException - General OpenGL Error

getPolygonStipple

public void getPolygonStipple(byte[] mask)
                       throws OpenGLException
Return the polygon stipple pattern
Parameters:
mask - Returns the stipple pattern

Throws:
OpenGLException - General OpenGL Error

glVertex2dv

public void glVertex2dv(double[] v)
                 throws OpenGLException
Specify a vertex
Parameters:
v - Buffer containing vertex data

Throws:
OpenGLException - General OpenGL Error

glCopyTexSubImage1D

public void glCopyTexSubImage1D(int target,
                                int level,
                                int xoffset,
                                int x,
                                int y,
                                int width)
                         throws OpenGLException
Uses image data from the framebuffer to replace all or part of a contiguous subregion of the current, existing one-dimensional texture image
Parameters:
target - The constant GL_TEXTURE_1D
level - The mipmap level-of-detail
xoffset - The texel offset of where to put the subimage within the existing texture array
x - The x-coord of the pixel rectangle
y - The y-coord of the pixel rectangle
width - The number of pixels to copy

Throws:
OpenGLException - General OpenGL Error

copyTexSubImage1D

public void copyTexSubImage1D(int target,
                              int level,
                              int xoffset,
                              int x,
                              int y,
                              int width)
                       throws OpenGLException
Uses image data from the framebuffer to replace all or part of a contiguous subregion of the current, existing one-dimensional texture image
Parameters:
target - The constant GL_TEXTURE_1D
level - The mipmap level-of-detail
xoffset - The texel offset of where to put the subimage within the existing texture array
x - The x-coord of the pixel rectangle
y - The y-coord of the pixel rectangle
width - The number of pixels to copy

Throws:
OpenGLException - General OpenGL Error

glBindTexture

public void glBindTexture(int target,
                          int textureName)
                   throws OpenGLException
Creates and uses texture objects. Upon first invocation, a default texture object is created and bound. Upon subsequent invocations with a given texture object, it makes the given texture current
Parameters:
target - Dimensionality of texture to bind
textureName - The name to be given to the texture

Throws:
OpenGLException - General OpenGL Error

bindTexture

public void bindTexture(int target,
                        int textureName)
                 throws OpenGLException
Creates and uses texture objects. Upon first invocation, a default texture object is created and bound. Upon subsequent invocations with a given texture object, it makes the given texture current
Parameters:
target - Dimensionality of texture to bind
textureName - The name to be given to the texture

Throws:
OpenGLException - General OpenGL Error

glPopName

public void glPopName()
               throws OpenGLException
Pop the name stack

Throws:
OpenGLException - General OpenGL Error

popName

public void popName()
             throws OpenGLException
Pop the name stack

Throws:
OpenGLException - General OpenGL Error

glColor4iv

public void glColor4iv(int[] v)
                throws OpenGLException
Sets the current colour
Parameters:
v - An array containing the 4 component colour values

Throws:
OpenGLException - General OpenGL Error

glDisable

public void glDisable(int cap)
               throws OpenGLException
Turns off the given capability in the OpenGL pipeline
Parameters:
cap - The capability to switch off

Throws:
OpenGLException - General OpenGL Error

disable

public void disable(int cap)
             throws OpenGLException
Turns off the given capability in the OpenGL pipeline
Parameters:
cap - The capability to switch off

Throws:
OpenGLException - General OpenGL Error

glEvalCoord2d

public void glEvalCoord2d(double u,
                          double v)
                   throws OpenGLException
Evaluate enabled one- and two-dimensional maps
Parameters:
u - First domain coordinate
v - Second domain coordinate

Throws:
OpenGLException - General OpenGL Error

glPopAttrib

public void glPopAttrib()
                 throws OpenGLException
Pushes the given attribute onto the attribute stack

Throws:
OpenGLException - General OpenGL Error

popAttrib

public void popAttrib()
               throws OpenGLException
Pushes the given attribute onto the attribute stack

Throws:
OpenGLException - General OpenGL Error

glNormal3dv

public void glNormal3dv(double[] v)
                 throws OpenGLException
Set the current normal vector
Parameters:
v - Specifies a pointer to an array of three elements

Throws:
OpenGLException - General OpenGL Error

normal

public void normal(double[] v)
            throws OpenGLException
Set the current normal vector
Parameters:
v - Specifies a pointer to an array of three elements

Throws:
OpenGLException - General OpenGL Error

glEvalCoord2f

public void glEvalCoord2f(float u,
                          float v)
                   throws OpenGLException
Evaluate enabled one- and two-dimensional maps
Parameters:
u - First domain coordinate
v - Second domain coordinate

Throws:
OpenGLException - General OpenGL Error

glGetMapdv

public void glGetMapdv(int target,
                       int query,
                       double[] v)
                throws OpenGLException
Return evaluator parameters
Parameters:
target - Specifies the symbolic constant of a map
query - Specifies which parameter to return
v - Returns the requested data

Throws:
OpenGLException - General OpenGL Error

getMap

public void getMap(int target,
                   int query,
                   double[] v)
            throws OpenGLException
Return evaluator parameters
Parameters:
target - Specifies the symbolic constant of a map
query - Specifies which parameter to return
v - Returns the requested data

Throws:
OpenGLException - General OpenGL Error

glSelectBuffer

public void glSelectBuffer(int size,
                           int[] buffer)
                    throws OpenGLException
Establish a buffer for selection mode values. This function is slightly tricky to use correctly under Magician as the depth values are represented by 2 values scaled from 0.0 to 1.0 into 2^32 - 1. Therefore, to extract the depth values you must divide by 0x7fffffff. Unfortunately, the selection buffer should be of type unsigned int, but, as Java does not support unsigned int values you must take the twos-complement of the integer value in the selection buffer prior to dividing by 0x7fffffff. See the ``Red Book'' select.java demo for more details.
Parameters:
size - The size of `buffer'
buffer - Returns the selection data

Throws:
OpenGLException - General OpenGL Error

selectBuffer

public void selectBuffer(int size,
                         int[] buffer)
                  throws OpenGLException
Establish a buffer for selection mode values. This function is slightly tricky to use correctly under Magician as the depth values are represented by 2 values scaled from 0.0 to 1.0 into 2^32 - 1. Therefore, to extract the depth values you must divide by 0x7fffffff. Unfortunately, the selection buffer should be of type unsigned int, but, as Java does not support unsigned int values you must take the twos-complement of the integer value in the selection buffer prior to dividing by 0x7fffffff. See the ``Red Book'' select.java demo for more details.
Parameters:
size - The size of `buffer'
buffer - Returns the selection data

Throws:
OpenGLException - General OpenGL Error

glFogf

public void glFogf(int pname,
                   float param)
            throws OpenGLException
Specify fog parameters
Parameters:
pname - The parameter to set. Legal values are GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START and GL_FOG_END
param - The value of the given parameter in `pname'

Throws:
OpenGLException - General OpenGL Error

fog

public void fog(int pname,
                float param)
         throws OpenGLException
Specify fog parameters
Parameters:
pname - The parameter to set. Legal values are GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START and GL_FOG_END
param - The value of the given parameter in `pname'

Throws:
OpenGLException - General OpenGL Error

glEvalPoint1

public void glEvalPoint1(int i)
                  throws OpenGLException
Generate and evaluate a single point in a mesh
Parameters:
i - Specifies the integer value for grid domain variable `i'

Throws:
OpenGLException - General OpenGL Error

evalPoint

public void evalPoint(int i)
               throws OpenGLException
Generate and evaluate a single point in a mesh
Parameters:
i - Specifies the integer value for grid domain variable `i'

Throws:
OpenGLException - General OpenGL Error

glTexCoord3sv

public void glTexCoord3sv(short[] v)
                   throws OpenGLException
Set the current texture coordinates
Parameters:
v - An array of texture coordinates

Throws:
OpenGLException - General OpenGL Error

glEvalPoint2

public void glEvalPoint2(int i,
                         int j)
                  throws OpenGLException
Generate and evaluate a single point in a mesh
Parameters:
i - Specifies the integer value for grid domain variable `i'
j - Specifies the integer value for grid domain variable `j'

Throws:
OpenGLException - General OpenGL Error

evalPoint

public void evalPoint(int i,
                      int j)
               throws OpenGLException
Generate and evaluate a single point in a mesh
Parameters:
i - Specifies the integer value for grid domain variable `i'
j - Specifies the integer value for grid domain variable `j'

Throws:
OpenGLException - General OpenGL Error

glPopMatrix

public void glPopMatrix()
                 throws OpenGLException
Pop the current matrix stack

Throws:
OpenGLException - General OpenGL Error

popMatrix

public void popMatrix()
               throws OpenGLException
Pop the current matrix stack

Throws:
OpenGLException - General OpenGL Error

glFogi

public void glFogi(int pname,
                   int param)
            throws OpenGLException
Specify fog parameters
Parameters:
pname - The parameter to set. Legal values are GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START and GL_FOG_END
param - The value of the given parameter in `pname'

Throws:
OpenGLException - General OpenGL Error

fog

public void fog(int pname,
                int param)
         throws OpenGLException
Specify fog parameters
Parameters:
pname - The parameter to set. Legal values are GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START and GL_FOG_END
param - The value of the given parameter in `pname'

Throws:
OpenGLException - General OpenGL Error

glScissor

public void glScissor(int x,
                      int y,
                      int width,
                      int height)
               throws OpenGLException
Define the scissor box
Parameters:
x - The x-coordinate of the lower-left corner of the scissor box
y - The y-coordinate of the lower-left corner of the scissor box
width - The width of the scissor box
height - The height of the scissor box

Throws:
OpenGLException - General OpenGL Error

scissor

public void scissor(int x,
                    int y,
                    int width,
                    int height)
             throws OpenGLException
Define the scissor box
Parameters:
x - The x-coordinate of the lower-left corner of the scissor box
y - The y-coordinate of the lower-left corner of the scissor box
width - The width of the scissor box
height - The height of the scissor box

Throws:
OpenGLException - General OpenGL Error

glColor3uiv

public void glColor3uiv(int[] v)
                 throws OpenGLException
Sets the current colour
Parameters:
v - An array containing the 3 component colour values

Throws:
OpenGLException - General OpenGL Error

glArrayElement

public void glArrayElement(int ith)
                    throws OpenGLException
Specify the array elements used to render a vertex
Parameters:
ith - The array index to obtain information for

Throws:
OpenGLException - General OpenGL Error

arrayElement

public void arrayElement(int ith)
                  throws OpenGLException
Specify the array elements used to render a vertex
Parameters:
ith - The array index to obtain information for

Throws:
OpenGLException - General OpenGL Error

glColorMask

public void glColorMask(boolean red,
                        boolean green,
                        boolean blue,
                        boolean alpha)
                 throws OpenGLException
Enable and disable writing of frame buffer colour components
Parameters:
red - The red component of the colour mask
green - The green component of the colour mask
blue - The blue component of the colour mask
alpha - The alpha component of the colour mask

Throws:
OpenGLException - General OpenGL Error

colorMask

public void colorMask(boolean red,
                      boolean green,
                      boolean blue,
                      boolean alpha)
               throws OpenGLException
Enable and disable writing of frame buffer colour components
Parameters:
red - The red component of the colour mask
green - The green component of the colour mask
blue - The blue component of the colour mask
alpha - The alpha component of the colour mask

Throws:
OpenGLException - General OpenGL Error

glColorMask

public void glColorMask(byte red,
                        byte green,
                        byte blue,
                        byte alpha)
                 throws OpenGLException
Enable and disable writing of frame buffer colour components
Parameters:
red - The red component of the colour mask
green - The green component of the colour mask
blue - The blue component of the colour mask
alpha - The alpha component of the colour mask

Throws:
OpenGLException - General OpenGL Error

colorMask

public void colorMask(byte red,
                      byte green,
                      byte blue,
                      byte alpha)
               throws OpenGLException
Enable and disable writing of frame buffer colour components
Parameters:
red - The red component of the colour mask
green - The green component of the colour mask
blue - The blue component of the colour mask
alpha - The alpha component of the colour mask

Throws:
OpenGLException - General OpenGL Error

glColorMask

public void glColorMask(int red,
                        int green,
                        int blue,
                        int alpha)
                 throws OpenGLException
Enable and disable writing of frame buffer colour components
Parameters:
red - The red component of the colour mask
green - The green component of the colour mask
blue - The blue component of the colour mask
alpha - The alpha component of the colour mask

Throws:
OpenGLException - General OpenGL Error

colorMask

public void colorMask(int red,
                      int green,
                      int blue,
                      int alpha)
               throws OpenGLException
Enable and disable writing of frame buffer colour components
Parameters:
red - The red component of the colour mask
green - The green component of the colour mask
blue - The blue component of the colour mask
alpha - The alpha component of the colour mask

Throws:
OpenGLException - General OpenGL Error

glScaled

public void glScaled(double x,
                     double y,
                     double z)
              throws OpenGLException
Multiply the current matrix by a general scaling matrix
Parameters:
x - The scale factor along the x axis
y - The scale factor along the y axis
z - The scale factor along the z axis

Throws:
OpenGLException - General OpenGL Error

scale

public void scale(double x,
                  double y,
                  double z)
           throws OpenGLException
Multiply the current matrix by a general scaling matrix
Parameters:
x - The scale factor along the x axis
y - The scale factor along the y axis
z - The scale factor along the z axis

Throws:
OpenGLException - General OpenGL Error

glTexParameterfv

public void glTexParameterfv(int target,
                             int pname,
                             float[] param)
                      throws OpenGLException
Set texture parameters
Parameters:
target - Specifies the target texture
pname - Specifies the name of a texture parameter
param - Specifies the value or values of `pname'

Throws:
OpenGLException - General OpenGL Error

texParameter

public void texParameter(int target,
                         int pname,
                         float[] param)
                  throws OpenGLException
Set texture parameters
Parameters:
target - Specifies the target texture
pname - Specifies the name of a texture parameter
param - Specifies the value or values of `pname'

Throws:
OpenGLException - General OpenGL Error

glScalef

public void glScalef(float x,
                     float y,
                     float z)
              throws OpenGLException
Multiply the current matrix by a general scaling matrix
Parameters:
x - The scale factor along the x axis
y - The scale factor along the y axis
z - The scale factor along the z axis

Throws:
OpenGLException - General OpenGL Error

scale

public void scale(float x,
                  float y,
                  float z)
           throws OpenGLException
Multiply the current matrix by a general scaling matrix
Parameters:
x - The scale factor along the x axis
y - The scale factor along the y axis
z - The scale factor along the z axis

Throws:
OpenGLException - General OpenGL Error

glCopyTexSubImage2D

public void glCopyTexSubImage2D(int target,
                                int level,
                                int xoffset,
                                int yoffset,
                                int x,
                                int y,
                                int width,
                                int height)
                         throws OpenGLException
Uses image data from the framebuffer to replace all or part of a contiguous subregion of the current, existing two-dimensional texture image
Parameters:
target - The constant GL_TEXTURE_2D
level - The mipmap level-of-detail
xoffset - The x texel offset of where to place the subimage
yoffset - The y texel offset of where to place the subimage
x - The x-coord of the bottom-left of the pixel rectangle
y - The y-coord of the bottom-left of the pixel rectangle
width - The width of the subimage rectangle to copy
height - The height of the subimage rectangle

Throws:
OpenGLException - General OpenGL Error

copyTexSubImage2D

public void copyTexSubImage2D(int target,
                              int level,
                              int xoffset,
                              int yoffset,
                              int x,
                              int y,
                              int width,
                              int height)
                       throws OpenGLException
Uses image data from the framebuffer to replace all or part of a contiguous subregion of the current, existing two-dimensional texture image
Parameters:
target - The constant GL_TEXTURE_2D
level - The mipmap level-of-detail
xoffset - The x texel offset of where to place the subimage
yoffset - The y texel offset of where to place the subimage
x - The x-coord of the bottom-left of the pixel rectangle
y - The y-coord of the bottom-left of the pixel rectangle
width - The width of the subimage rectangle to copy
height - The height of the subimage rectangle

Throws:
OpenGLException - General OpenGL Error

glRectd

public void glRectd(double x1,
                    double y1,
                    double x2,
                    double y2)
             throws OpenGLException
Draw a rectangle
Parameters:
x1 - The x-coordinate of the first corner of the rectangle
y1 - The y-coordinate of the first corner of the rectangle
x2 - The x-coordinate of the second corner of the rectangle opposite to the first
y2 - The y-coordinate of the second coordinate of the rectangle opposite to the first

Throws:
OpenGLException - General OpenGL Error

rect

public void rect(double x1,
                 double y1,
                 double x2,
                 double y2)
          throws OpenGLException
Draw a rectangle
Parameters:
x1 - The x-coordinate of the first corner of the rectangle
y1 - The y-coordinate of the first corner of the rectangle
x2 - The x-coordinate of the second corner of the rectangle opposite to the first
y2 - The y-coordinate of the second coordinate of the rectangle opposite to the first

Throws:
OpenGLException - General OpenGL Error

glRectf

public void glRectf(float x1,
                    float y1,
                    float x2,
                    float y2)
             throws OpenGLException
Draw a rectangle
Parameters:
x1 - The x-coordinate of the first corner of the rectangle
y1 - The y-coordinate of the first corner of the rectangle
x2 - The x-coordinate of the second corner of the rectangle opposite to the first
y2 - The y-coordinate of the second coordinate of the rectangle opposite to the first

Throws:
OpenGLException - General OpenGL Error

rect

public void rect(float x1,
                 float y1,
                 float x2,
                 float y2)
          throws OpenGLException
Draw a rectangle
Parameters:
x1 - The x-coordinate of the first corner of the rectangle
y1 - The y-coordinate of the first corner of the rectangle
x2 - The x-coordinate of the second corner of the rectangle opposite to the first
y2 - The y-coordinate of the second coordinate of the rectangle opposite to the first

Throws:
OpenGLException - General OpenGL Error

glTexCoord3dv

public void glTexCoord3dv(double[] v)
                   throws OpenGLException
Set the current texture coordinates
Parameters:
v - An array of texture coordinates

Throws:
OpenGLException - General OpenGL Error

glTexCoord2fv

public void glTexCoord2fv(float[] v)
                   throws OpenGLException
Set the current texture coordinates
Parameters:
v - An array of texture coordinates

Throws:
OpenGLException - General OpenGL Error

glIndexiv

public void glIndexiv(int[] c)
               throws OpenGLException
Set the current colour index
Parameters:
c - Array of colour index values to set

Throws:
OpenGLException - General OpenGL Error

index

public void index(int[] c)
           throws OpenGLException
Set the current colour index
Parameters:
c - Array of colour index values to set

Throws:
OpenGLException - General OpenGL Error

glRecti

public void glRecti(int x1,
                    int y1,
                    int x2,
                    int y2)
             throws OpenGLException
Draw a rectangle
Parameters:
x1 - The x-coordinate of the first corner of the rectangle
y1 - The y-coordinate of the first corner of the rectangle
x2 - The x-coordinate of the second corner of the rectangle opposite to the first
y2 - The y-coordinate of the second coordinate of the rectangle opposite to the first

Throws:
OpenGLException - General OpenGL Error

rect

public void rect(int x1,
                 int y1,
                 int x2,
                 int y2)
          throws OpenGLException
Draw a rectangle
Parameters:
x1 - The x-coordinate of the first corner of the rectangle
y1 - The y-coordinate of the first corner of the rectangle
x2 - The x-coordinate of the second corner of the rectangle opposite to the first
y2 - The y-coordinate of the second coordinate of the rectangle opposite to the first

Throws:
OpenGLException - General OpenGL Error

glVertex3sv

public void glVertex3sv(short[] z)
                 throws OpenGLException
Specify a vertex
Parameters:
z - Buffer containing vertex data

Throws:
OpenGLException - General OpenGL Error

glRasterPos2sv

public void glRasterPos2sv(short[] coords)
                    throws OpenGLException
Specify the raster position for pixel
Parameters:
coords - Buffer containing the required number of coordinate to specify the raster position

Throws:
OpenGLException - General OpenGL Error

glFeedbackBuffer

public void glFeedbackBuffer(int size,
                             int type,
                             float[] buffer)
                      throws OpenGLException
Controls feedback mode
Parameters:
size - The maximum number of values storable in the feedback array
type - The type of information fed back for each vertex in the feedback array. Possible values are GL_2D, GL_3D, GL_3D_COLOR, GL_3D_COLOR_TEXTURE and GL_4D_COLOR_TEXTURE
buffer - The feedback buffer itself

Throws:
OpenGLException - General OpenGL Error

feedbackBuffer

public void feedbackBuffer(int size,
                           int type,
                           float[] buffer)
                    throws OpenGLException
Controls feedback mode
Parameters:
size - The maximum number of values storable in the feedback array
type - The type of information fed back for each vertex in the feedback array. Possible values are GL_2D, GL_3D, GL_3D_COLOR, GL_3D_COLOR_TEXTURE and GL_4D_COLOR_TEXTURE
buffer - The feedback buffer itself

Throws:
OpenGLException - General OpenGL Error

glRects

public void glRects(short x1,
                    short y1,
                    short x2,
                    short y2)
             throws OpenGLException
Draw a rectangle
Parameters:
x1 - The x-coordinate of the first corner of the rectangle
y1 - The y-coordinate of the first corner of the rectangle
x2 - The x-coordinate of the second corner of the rectangle opposite to the first
y2 - The y-coordinate of the second coordinate of the rectangle opposite to the first

Throws:
OpenGLException - General OpenGL Error

rect

public void rect(short x1,
                 short y1,
                 short x2,
                 short y2)
          throws OpenGLException
Draw a rectangle
Parameters:
x1 - The x-coordinate of the first corner of the rectangle
y1 - The y-coordinate of the first corner of the rectangle
x2 - The x-coordinate of the second corner of the rectangle opposite to the first
y2 - The y-coordinate of the second coordinate of the rectangle opposite to the first

Throws:
OpenGLException - General OpenGL Error

glGetTexLevelParameterfv

public void glGetTexLevelParameterfv(int target,
                                     int level,
                                     int pname,
                                     float[] params)
                              throws OpenGLException
Return texture parameter values for a specific level of detail
Parameters:
target - The target texture. Legal values are GL_TEXTURE_1D, GL_TEXTURE_2D, GL_PROXY_TEXTURE_1D or GL_PROXY_TEXTURE_2D
level - The mipmap level-of-detail
pname - The texture parameter that is being queried. Legal values are GL_TEXTURE_WIDTH, GL_TEXTURE_HEIGHT, GL_TEXTURE_BORDER, GL_TEXTURE_INTERNAL_FORMAT, GL_TEXTURE_RED_SIZE, GL_TEXTURE_GREEN_SIZE, GL_TEXTURE_BLUE_SIZE, GL_TEXTURE_ALPHA_SIZE, GL_TEXTURE_LUMINANCE_SIZE or GL_TEXTURE_INTENSITY_SIZE
params - The buffer into which the queried values are returned

Throws:
OpenGLException - General OpenGL Error

getTexLevelParameter

public void getTexLevelParameter(int target,
                                 int level,
                                 int pname,
                                 float[] params)
                          throws OpenGLException
Return texture parameter values for a specific level of detail
Parameters:
target - The target texture. Legal values are GL_TEXTURE_1D, GL_TEXTURE_2D, GL_PROXY_TEXTURE_1D or GL_PROXY_TEXTURE_2D
level - The mipmap level-of-detail
pname - The texture parameter that is being queried. Legal values are GL_TEXTURE_WIDTH, GL_TEXTURE_HEIGHT, GL_TEXTURE_BORDER, GL_TEXTURE_INTERNAL_FORMAT, GL_TEXTURE_RED_SIZE, GL_TEXTURE_GREEN_SIZE, GL_TEXTURE_BLUE_SIZE, GL_TEXTURE_ALPHA_SIZE, GL_TEXTURE_LUMINANCE_SIZE or GL_TEXTURE_INTENSITY_SIZE
params - The buffer into which the queried values are returned

Throws:
OpenGLException - General OpenGL Error

glTexGenfv

public void glTexGenfv(int coord,
                       int pname,
                       float[] param)
                throws OpenGLException
Control the generation of texture coordinates
Parameters:
coord - Specifies a texture coordinate
pname - Specifies a symbolic coordinate describing the texture generation function
param - Specifies a texture generation parameter

Throws:
OpenGLException - General OpenGL Error

texGen

public void texGen(int coord,
                   int pname,
                   float[] param)
            throws OpenGLException
Control the generation of texture coordinates
Parameters:
coord - Specifies a texture coordinate
pname - Specifies a symbolic coordinate describing the texture generation function
param - Specifies a texture generation parameter

Throws:
OpenGLException - General OpenGL Error

glVertex3dv

public void glVertex3dv(double[] v)
                 throws OpenGLException
Specify a vertex
Parameters:
v - Buffer containing vertex data

Throws:
OpenGLException - General OpenGL Error

glVertex2fv

public void glVertex2fv(float[] v)
                 throws OpenGLException
Specify a vertex
Parameters:
v - Buffer containing vertex data

Throws:
OpenGLException - General OpenGL Error

glPolygonMode

public void glPolygonMode(int face,
                          int mode)
                   throws OpenGLException
Select a polygon rasterization mode
Parameters:
face - Specifies the polygons that `mode' applies to
mode - Specifies how polygons will be rasterized

Throws:
OpenGLException - General OpenGL Error

polygonMode

public void polygonMode(int face,
                        int mode)
                 throws OpenGLException
Select a polygon rasterization mode
Parameters:
face - Specifies the polygons that `mode' applies to
mode - Specifies how polygons will be rasterized

Throws:
OpenGLException - General OpenGL Error

glRasterPos2dv

public void glRasterPos2dv(double[] coords)
                    throws OpenGLException
Specify the raster position for pixel
Parameters:
coords - Buffer containing the required number of coordinate to specify the raster position

Throws:
OpenGLException - General OpenGL Error

glCopyTexSubImage3D

public void glCopyTexSubImage3D(int target,
                                int level,
                                int xoffset,
                                int yoffset,
                                int zoffset,
                                int x,
                                int y,
                                int width,
                                int height)
                         throws OpenGLException
Copies a 3D texture sub-image
Parameters:
target -  
level -  
xoffset -  
yoffset -  
zoffset -  
x -  
y -  
width -  
height -

Throws:
OpenGLException - General OpenGL Error

copyTexSubImage3D

public void copyTexSubImage3D(int target,
                              int level,
                              int xoffset,
                              int yoffset,
                              int zoffset,
                              int x,
                              int y,
                              int width,
                              int height)
                       throws OpenGLException
Copies a 3D texture sub-image
Parameters:
target -  
level -  
xoffset -  
yoffset -  
zoffset -  
x -  
y -  
width -  
height -

Throws:
OpenGLException - General OpenGL Error

glHint

public void glHint(int target,
                   int mode)
            throws OpenGLException
Specify implementation-specific hints
Parameters:
target - The behaviour which is to be controlled. Legal values are GL_POINT_SMOOTH_HINT, GL_LINE_SMOOTH_HINT, GL_POLYGON_SMOOTH_HINT, GL_FOG_HINT and GL_PERSPECTIVE_CORRECTION_HINT
mode - The value to set the hint to

Throws:
OpenGLException - General OpenGL Error

hint

public void hint(int target,
                 int mode)
          throws OpenGLException
Specify implementation-specific hints
Parameters:
target - The behaviour which is to be controlled. Legal values are GL_POINT_SMOOTH_HINT, GL_LINE_SMOOTH_HINT, GL_POLYGON_SMOOTH_HINT, GL_FOG_HINT and GL_PERSPECTIVE_CORRECTION_HINT
mode - The value to set the hint to

Throws:
OpenGLException - General OpenGL Error

glTexParameterf

public void glTexParameterf(int target,
                            int pname,
                            float param)
                     throws OpenGLException
Set texture parameters
Parameters:
target - Specifies the target texture
pname - Specifies the name of a texture parameter
param - Specifies the value or values of `pname'

Throws:
OpenGLException - General OpenGL Error

texParameter

public void texParameter(int target,
                         int pname,
                         float param)
                  throws OpenGLException
Set texture parameters
Parameters:
target - Specifies the target texture
pname - Specifies the name of a texture parameter
param - Specifies the value or values of `pname'

Throws:
OpenGLException - General OpenGL Error

glTexCoord1iv

public void glTexCoord1iv(int[] v)
                   throws OpenGLException
Set the current texture coordinates
Parameters:
v - An array of texture coordinates

Throws:
OpenGLException - General OpenGL Error

glCallList

public void glCallList(int list)
                throws OpenGLException
Executes a display list
Parameters:
list - The display list identifier to execute

Throws:
OpenGLException - General OpenGL Error

callList

public void callList(int list)
              throws OpenGLException
Executes a display list
Parameters:
list - The display list identifier to execute

Throws:
OpenGLException - General OpenGL Error

glNormal3fv

public void glNormal3fv(float[] v)
                 throws OpenGLException
Set the current normal vector
Parameters:
v - Specifies a pointer to an array of three elements

Throws:
OpenGLException - General OpenGL Error

normal

public void normal(float[] v)
            throws OpenGLException
Set the current normal vector
Parameters:
v - Specifies a pointer to an array of three elements

Throws:
OpenGLException - General OpenGL Error

glPassThrough

public void glPassThrough(float token)
                   throws OpenGLException
Place a marker in the feedback buffer
Parameters:
token - Specifies a marker value to be placed in the feedback buffer

Throws:
OpenGLException - General OpenGL Error

passThrough

public void passThrough(float token)
                 throws OpenGLException
Place a marker in the feedback buffer
Parameters:
token - Specifies a marker value to be placed in the feedback buffer

Throws:
OpenGLException - General OpenGL Error

glRasterPos2d

public void glRasterPos2d(double x,
                          double y)
                   throws OpenGLException
Specify the raster position for pixel
Parameters:
x - The x-coordinate of the raster position
y - The y-coordinate of the raster position

Throws:
OpenGLException - General OpenGL Error

glGetMapfv

public void glGetMapfv(int target,
                       int query,
                       float[] v)
                throws OpenGLException
Return evaluator parameters
Parameters:
target - Specifies the symbolic constant of a map
query - Specifies which parameter to return
v - Returns the requested data

Throws:
OpenGLException - General OpenGL Error

getMap

public void getMap(int target,
                   int query,
                   float[] v)
            throws OpenGLException
Return evaluator parameters
Parameters:
target - Specifies the symbolic constant of a map
query - Specifies which parameter to return
v - Returns the requested data

Throws:
OpenGLException - General OpenGL Error

glTexParameteri

public void glTexParameteri(int target,
                            int pname,
                            int param)
                     throws OpenGLException
Set texture parameters
Parameters:
target - Specifies the target texture
pname - Specifies the name of a texture parameter
param - Specifies the value or values of `pname'

Throws:
OpenGLException - General OpenGL Error

texParameter

public void texParameter(int target,
                         int pname,
                         int param)
                  throws OpenGLException
Set texture parameters
Parameters:
target - Specifies the target texture
pname - Specifies the name of a texture parameter
param - Specifies the value or values of `pname'

Throws:
OpenGLException - General OpenGL Error

glRasterPos2f

public void glRasterPos2f(float x,
                          float y)
                   throws OpenGLException
Specify the raster position for pixel
Parameters:
x - The x-coordinate of the raster position
y - The y-coordinate of the raster position

Throws:
OpenGLException - General OpenGL Error

glRasterPos2i

public void glRasterPos2i(int x,
                          int y)
                   throws OpenGLException
Specify the raster position for pixel
Parameters:
x - The x-coordinate of the raster position
y - The y-coordinate of the raster position

Throws:
OpenGLException - General OpenGL Error

glDrawArrays

public void glDrawArrays(int mode,
                         int first,
                         int count)
                  throws OpenGLException
Render primitives from array data
Parameters:
mode - The type of primitives to be constructed
first - The first array index to process
count - The number of array elements to process

Throws:
OpenGLException - General OpenGL Error

drawArrays

public void drawArrays(int mode,
                       int first,
                       int count)
                throws OpenGLException
Render primitives from array data
Parameters:
mode - The type of primitives to be constructed
first - The first array index to process
count - The number of array elements to process

Throws:
OpenGLException - General OpenGL Error

glTexCoord4sv

public void glTexCoord4sv(short[] v)
                   throws OpenGLException
Set the current texture coordinates
Parameters:
v - An array of texture coordinates

Throws:
OpenGLException - General OpenGL Error

glIndexubv

public void glIndexubv(byte[] c)
                throws OpenGLException
Set the current colour index
Parameters:
c - Array of colour index values to set

Throws:
OpenGLException - General OpenGL Error

index

public void index(byte[] c)
           throws OpenGLException
Set the current colour index
Parameters:
c - Array of colour index values to set

Throws:
OpenGLException - General OpenGL Error

glRasterPos2s

public void glRasterPos2s(short x,
                          short y)
                   throws OpenGLException
Specify the raster position for pixel
Parameters:
x - The x-coordinate of the raster position
y - The y-coordinate of the raster position

Throws:
OpenGLException - General OpenGL Error

glGetError

public int glGetError()
               throws OpenGLException
Return error information

Throws:
OpenGLException - General OpenGL Error

getError

public int getError()
             throws OpenGLException
Return error information

Throws:
OpenGLException - General OpenGL Error

glOrtho

public void glOrtho(double left,
                    double right,
                    double bottom,
                    double top,
                    double nearValue,
                    double farValue)
             throws OpenGLException
Multiply the current matrix by an orthographic matrix
Parameters:
left - The left clipping plane
right - The right clipping plane
bottom - The bottom clipping plane
top - The top clipping plane
nearValue - The near clipping plane
farValue - The far clipping plane

Throws:
OpenGLException - General OpenGL Error

ortho

public void ortho(double left,
                  double right,
                  double bottom,
                  double top,
                  double nearValue,
                  double farValue)
           throws OpenGLException
Multiply the current matrix by an orthographic matrix
Parameters:
left - The left clipping plane
right - The right clipping plane
bottom - The bottom clipping plane
top - The top clipping plane
nearValue - The near clipping plane
farValue - The far clipping plane

Throws:
OpenGLException - General OpenGL Error

glTexCoord4dv

public void glTexCoord4dv(double[] v)
                   throws OpenGLException
Set the current texture coordinates
Parameters:
v - An array of texture coordinates

Throws:
OpenGLException - General OpenGL Error

glTexCoord3fv

public void glTexCoord3fv(float[] v)
                   throws OpenGLException
Set the current texture coordinates
Parameters:
v - An array of texture coordinates

Throws:
OpenGLException - General OpenGL Error

glGetClipPlane

public void glGetClipPlane(int plane,
                           double[] equation)
                    throws OpenGLException
Return the co-efficients of the specified clipping plane
Parameters:
plane - Specifies a clipping plane
equation - Returns four doubles that are the co-efficients of the plane equation in eye coordinates

Throws:
OpenGLException - General OpenGL Error

getClipPlane

public void getClipPlane(int plane,
                         double[] equation)
                  throws OpenGLException
Return the co-efficients of the specified clipping plane
Parameters:
plane - Specifies a clipping plane
equation - Returns four doubles that are the co-efficients of the plane equation in eye coordinates

Throws:
OpenGLException - General OpenGL Error

glRasterPos3d

public void glRasterPos3d(double x,
                          double y,
                          double z)
                   throws OpenGLException
Specify the raster position for pixel
Parameters:
x - The x-coordinate of the raster position
y - The y-coordinate of the raster position
z - The z-coordinate of the raster position

Throws:
OpenGLException - General OpenGL Error

glVertex4sv

public void glVertex4sv(short[] v)
                 throws OpenGLException
Specify a vertex
Parameters:
v - Buffer containing vertex data

Throws:
OpenGLException - General OpenGL Error

glRasterPos3f

public void glRasterPos3f(float x,
                          float y,
                          float z)
                   throws OpenGLException
Specify the raster position for pixel
Parameters:
x - The x-coordinate of the raster position
y - The y-coordinate of the raster position
z - The z-coordinate of the raster position

Throws:
OpenGLException - General OpenGL Error

glGenTextures

public void glGenTextures(int n,
                          int[] textureNames)
                   throws OpenGLException
Returns the desired quantity of current unused names for texture objects that can be used with glBindTexture. The texture objects are not created at this, the names are merely flagged as being used @see COM.hermetica.magician.GL#glBindTextures
Parameters:
n - The number of texture objects to generate
textureNames - Will contain the names of the newly generated texture objects

Throws:
OpenGLException - General OpenGL Error

genTextures

public void genTextures(int n,
                        int[] textureNames)
                 throws OpenGLException
Returns the desired quantity of current unused names for texture objects that can be used with glBindTexture. The texture objects are not created at this, the names are merely flagged as being used @see COM.hermetica.magician.GL#glBindTextures
Parameters:
n - The number of texture objects to generate
textureNames - Will contain the names of the newly generated texture objects

Throws:
OpenGLException - General OpenGL Error

glRasterPos3i

public void glRasterPos3i(int x,
                          int y,
                          int z)
                   throws OpenGLException
Specify the raster position for pixel
Parameters:
x - The x-coordinate of the raster position
y - The y-coordinate of the raster position
z - The z-coordinate of the raster position

Throws:
OpenGLException - General OpenGL Error

glRasterPos3sv

public void glRasterPos3sv(short[] coords)
                    throws OpenGLException
Specify the raster position for pixel
Parameters:
coords - Buffer containing the required number of coordinate to specify the raster position

Throws:
OpenGLException - General OpenGL Error

glDeleteLists

public void glDeleteLists(int list,
                          int range)
                   throws OpenGLException
Delete a contiguous group of display lists
Parameters:
list - The starting index of display lists to delete
range - The number of lists to delete, starting at `list'

Throws:
OpenGLException - General OpenGL Error

deleteLists

public void deleteLists(int list,
                        int range)
                 throws OpenGLException
Delete a contiguous group of display lists
Parameters:
list - The starting index of display lists to delete
range - The number of lists to delete, starting at `list'

Throws:
OpenGLException - General OpenGL Error

glEdgeFlagv

public void glEdgeFlagv(boolean[] flag)
                 throws OpenGLException
Flag edges as either boundary or nonboundary using an array of values
Parameters:
flag - An array of boolean values indicating the edge flags for many vertices

Throws:
OpenGLException - General OpenGL Error

edgeFlag

public void edgeFlag(boolean[] flag)
              throws OpenGLException
Flag edges as either boundary or nonboundary using an array of values
Parameters:
flag - An array of boolean values indicating the edge flags for many vertices

Throws:
OpenGLException - General OpenGL Error

glEdgeFlagv

public void glEdgeFlagv(byte[] flag)
                 throws OpenGLException
Flag edges as either boundary or nonboundary using an array of values
Parameters:
flag - An array of boolean values indicating the edge flags for many vertices

Throws:
OpenGLException - General OpenGL Error

edgeFlag

public void edgeFlag(byte[] flag)
              throws OpenGLException
Flag edges as either boundary or nonboundary using an array of values
Parameters:
flag - An array of boolean values indicating the edge flags for many vertices

Throws:
OpenGLException - General OpenGL Error

glEdgeFlagv

public void glEdgeFlagv(int[] flag)
                 throws OpenGLException
Flag edges as either boundary or nonboundary using an array of values
Parameters:
flag - An array of boolean values indicating the edge flags for many vertices

Throws:
OpenGLException - General OpenGL Error

edgeFlag

public void edgeFlag(int[] flag)
              throws OpenGLException
Flag edges as either boundary or nonboundary using an array of values
Parameters:
flag - An array of boolean values indicating the edge flags for many vertices

Throws:
OpenGLException - General OpenGL Error

glPointSize

public void glPointSize(float size)
                 throws OpenGLException
Specify the diameter of rasterized points
Parameters:
size - The diameter of rasterized points

Throws:
OpenGLException - General OpenGL Error

pointSize

public void pointSize(float size)
               throws OpenGLException
Specify the diameter of rasterized points
Parameters:
size - The diameter of rasterized points

Throws:
OpenGLException - General OpenGL Error

glColor4uiv

public void glColor4uiv(int[] v)
                 throws OpenGLException
Sets the current colour
Parameters:
v - An array containing the 4 component colour values

Throws:
OpenGLException - General OpenGL Error

glRasterPos3s

public void glRasterPos3s(short x,
                          short y,
                          short z)
                   throws OpenGLException
Specify the raster position for pixel
Parameters:
x - The x-coordinate of the raster position
y - The y-coordinate of the raster position
z - The z-coordinate of the raster position

Throws:
OpenGLException - General OpenGL Error

glVertex4dv

public void glVertex4dv(double[] v)
                 throws OpenGLException
Specify a vertex
Parameters:
v - Buffer containing vertex data

Throws:
OpenGLException - General OpenGL Error