/*******************************************************************************
* Copyright (c) 2000, 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.opengl;
public class GL {
public static final int GL_VERSION_1_1 = 1;
/* AccumOp */
public static final int GL_ACCUM = 0x0100;
public static final int GL_LOAD = 0x0101;
public static final int GL_RETURN = 0x0102;
public static final int GL_MULT = 0x0103;
public static final int GL_ADD = 0x0104;
/* AlphaFunction */
public static final int GL_NEVER = 0x0200;
public static final int GL_LESS = 0x0201;
public static final int GL_EQUAL = 0x0202;
public static final int GL_LEQUAL = 0x0203;
public static final int GL_GREATER = 0x0204;
public static final int GL_NOTEQUAL = 0x0205;
public static final int GL_GEQUAL = 0x0206;
public static final int GL_ALWAYS = 0x0207;
/* AttribMask */
public static final int GL_CURRENT_BIT = 0x00000001;
public static final int GL_POINT_BIT = 0x00000002;
public static final int GL_LINE_BIT = 0x00000004;
public static final int GL_POLYGON_BIT = 0x00000008;
public static final int GL_POLYGON_STIPPLE_BIT = 0x00000010;
public static final int GL_PIXEL_MODE_BIT = 0x00000020;
public static final int GL_LIGHTING_BIT = 0x00000040;
public static final int GL_FOG_BIT = 0x00000080;
public static final int GL_DEPTH_BUFFER_BIT = 0x00000100;
public static final int GL_ACCUM_BUFFER_BIT = 0x00000200;
public static final int GL_STENCIL_BUFFER_BIT = 0x00000400;
public static final int GL_VIEWPORT_BIT = 0x00000800;
public static final int GL_TRANSFORM_BIT = 0x00001000;
public static final int GL_ENABLE_BIT = 0x00002000;
public static final int GL_COLOR_BUFFER_BIT = 0x00004000;
public static final int GL_HINT_BIT = 0x00008000;
public static final int GL_EVAL_BIT = 0x00010000;
public static final int GL_LIST_BIT = 0x00020000;
public static final int GL_TEXTURE_BIT = 0x00040000;
public static final int GL_SCISSOR_BIT = 0x00080000;
public static final int GL_ALL_ATTRIB_BITS = 0x000fffff;
/* BeginMode */
public static final int GL_POINTS = 0x0000;
public static final int GL_LINES = 0x0001;
public static final int GL_LINE_LOOP = 0x0002;
public static final int GL_LINE_STRIP = 0x0003;
public static final int GL_TRIANGLES = 0x0004;
public static final int GL_TRIANGLE_STRIP = 0x0005;
public static final int GL_TRIANGLE_FAN = 0x0006;
public static final int GL_QUADS = 0x0007;
public static final int GL_QUAD_STRIP = 0x0008;
public static final int GL_POLYGON = 0x0009;
/* BlendingFactorDest */
public static final int GL_ZERO = 0;
public static final int GL_ONE = 1;
public static final int GL_SRC_COLOR = 0x0300;
public static final int GL_ONE_MINUS_SRC_COLOR = 0x0301;
public static final int GL_SRC_ALPHA = 0x0302;
public static final int GL_ONE_MINUS_SRC_ALPHA = 0x0303;
public static final int GL_DST_ALPHA = 0x0304;
public static final int GL_ONE_MINUS_DST_ALPHA = 0x0305;
/* BlendingFactorSrc */
/* GL_ZERO */
/* GL_ONE */
public static final int GL_DST_COLOR = 0x0306;
public static final int GL_ONE_MINUS_DST_COLOR = 0x0307;
public static final int GL_SRC_ALPHA_SATURATE = 0x0308;
/* GL_SRC_ALPHA */
/* GL_ONE_MINUS_SRC_ALPHA */
/* GL_DST_ALPHA */
/* GL_ONE_MINUS_DST_ALPHA */
/* Boolean */
public static final int GL_TRUE = 1;
public static final int GL_FALSE = 0;
/* ClearBufferMask */
/* GL_COLOR_BUFFER_BIT */
/* GL_ACCUM_BUFFER_BIT */
/* GL_STENCIL_BUFFER_BIT */
/* GL_DEPTH_BUFFER_BIT */
/* ClientArrayType */
/* GL_VERTEX_ARRAY */
/* GL_NORMAL_ARRAY */
/* GL_COLOR_ARRAY */
/* GL_INDEX_ARRAY */
/* GL_TEXTURE_COORD_ARRAY */
/* GL_EDGE_FLAG_ARRAY */
/* ClipPlaneName */
public static final int GL_CLIP_PLANE0 = 0x3000;
public static final int GL_CLIP_PLANE1 = 0x3001;
public static final int GL_CLIP_PLANE2 = 0x3002;
public static final int GL_CLIP_PLANE3 = 0x3003;
public static final int GL_CLIP_PLANE4 = 0x3004;
public static final int GL_CLIP_PLANE5 = 0x3005;
/* ColorMaterialFace */
/* GL_FRONT */
/* GL_BACK */
/* GL_FRONT_AND_BACK */
/* ColorMaterialParameter */
/* GL_AMBIENT */
/* GL_DIFFUSE */
/* GL_SPECULAR */
/* GL_EMISSION */
/* GL_AMBIENT_AND_DIFFUSE */
/* ColorPointerType */
/* GL_BYTE */
/* GL_UNSIGNED_BYTE */
/* GL_SHORT */
/* GL_UNSIGNED_SHORT */
/* GL_INT */
/* GL_UNSIGNED_INT */
/* GL_FLOAT */
/* GL_DOUBLE */
/* CullFaceMode */
/* GL_FRONT */
/* GL_BACK */
/* GL_FRONT_AND_BACK */
/* DataType */
public static final int GL_BYTE = 0x1400;
public static final int GL_UNSIGNED_BYTE = 0x1401;
public static final int GL_SHORT = 0x1402;
public static final int GL_UNSIGNED_SHORT = 0x1403;
public static final int GL_INT = 0x1404;
public static final int GL_UNSIGNED_INT = 0x1405;
public static final int GL_FLOAT = 0x1406;
public static final int GL_2_BYTES = 0x1407;
public static final int GL_3_BYTES = 0x1408;
public static final int GL_4_BYTES = 0x1409;
public static final int GL_DOUBLE = 0x140A;
/* DepthFunction */
/* GL_NEVER */
/* GL_LESS */
/* GL_EQUAL */
/* GL_LEQUAL */
/* GL_GREATER */
/* GL_NOTEQUAL */
/* GL_GEQUAL */
/* GL_ALWAYS */
/* DrawBufferMode */
public static final int GL_NONE = 0;
public static final int GL_FRONT_LEFT = 0x0400;
public static final int GL_FRONT_RIGHT = 0x0401;
public static final int GL_BACK_LEFT = 0x0402;
public static final int GL_BACK_RIGHT = 0x0403;
public static final int GL_FRONT = 0x0404;
public static final int GL_BACK = 0x0405;
public static final int GL_LEFT = 0x0406;
public static final int GL_RIGHT = 0x0407;
public static final int GL_FRONT_AND_BACK = 0x0408;
public static final int GL_AUX0 = 0x0409;
public static final int GL_AUX1 = 0x040A;
public static final int GL_AUX2 = 0x040B;
public static final int GL_AUX3 = 0x040C;
/* Enable */
/* GL_FOG */
/* GL_LIGHTING */
/* GL_TEXTURE_1D */
/* GL_TEXTURE_2D */
/* GL_LINE_STIPPLE */
/* GL_POLYGON_STIPPLE */
/* GL_CULL_FACE */
/* GL_ALPHA_TEST */
/* GL_BLEND */
/* GL_INDEX_LOGIC_OP */
/* GL_COLOR_LOGIC_OP */
/* GL_DITHER */
/* GL_STENCIL_TEST */
/* GL_DEPTH_TEST */
/* GL_CLIP_PLANE0 */
/* GL_CLIP_PLANE1 */
/* GL_CLIP_PLANE2 */
/* GL_CLIP_PLANE3 */
/* GL_CLIP_PLANE4 */
/* GL_CLIP_PLANE5 */
/* GL_LIGHT0 */
/* GL_LIGHT1 */
/* GL_LIGHT2 */
/* GL_LIGHT3 */
/* GL_LIGHT4 */
/* GL_LIGHT5 */
/* GL_LIGHT6 */
/* GL_LIGHT7 */
/* GL_TEXTURE_GEN_S */
/* GL_TEXTURE_GEN_T */
/* GL_TEXTURE_GEN_R */
/* GL_TEXTURE_GEN_Q */
/* GL_MAP1_VERTEX_3 */
/* GL_MAP1_VERTEX_4 */
/* GL_MAP1_COLOR_4 */
/* 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_MAP2_VERTEX_3 */
/* GL_MAP2_VERTEX_4 */
/* GL_MAP2_COLOR_4 */
/* 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_POINT_SMOOTH */
/* GL_LINE_SMOOTH */
/* GL_POLYGON_SMOOTH */
/* GL_SCISSOR_TEST */
/* GL_COLOR_MATERIAL */
/* GL_NORMALIZE */
/* GL_AUTO_NORMAL */
/* GL_VERTEX_ARRAY */
/* GL_NORMAL_ARRAY */
/* GL_COLOR_ARRAY */
/* GL_INDEX_ARRAY */
/* GL_TEXTURE_COORD_ARRAY */
/* GL_EDGE_FLAG_ARRAY */
/* GL_POLYGON_OFFSET_POINT */
/* GL_POLYGON_OFFSET_LINE */
/* GL_POLYGON_OFFSET_FILL */
/* ErrorCode */
public static final int GL_NO_ERROR = 0;
public static final int GL_INVALID_ENUM = 0x0500;
public static final int GL_INVALID_VALUE = 0x0501;
public static final int GL_INVALID_OPERATION = 0x0502;
public static final int GL_STACK_OVERFLOW = 0x0503;
public static final int GL_STACK_UNDERFLOW = 0x0504;
public static final int GL_OUT_OF_MEMORY = 0x0505;
/* FeedBackMode */
public static final int GL_2D = 0x0600;
public static final int GL_3D = 0x0601;
public static final int GL_3D_COLOR = 0x0602;
public static final int GL_3D_COLOR_TEXTURE = 0x0603;
public static final int GL_4D_COLOR_TEXTURE = 0x0604;
/* FeedBackToken */
public static final int GL_PASS_THROUGH_TOKEN = 0x0700;
public static final int GL_POINT_TOKEN = 0x0701;
public static final int GL_LINE_TOKEN = 0x0702;
public static final int GL_POLYGON_TOKEN = 0x0703;
public static final int GL_BITMAP_TOKEN = 0x0704;
public static final int GL_DRAW_PIXEL_TOKEN = 0x0705;
public static final int GL_COPY_PIXEL_TOKEN = 0x0706;
public static final int GL_LINE_RESET_TOKEN = 0x0707;
/* FogMode */
/* GL_LINEAR */
public static final int GL_EXP = 0x0800;
public static final int GL_EXP2 = 0x0801;
/* FogParameter */
/* GL_FOG_COLOR */
/* GL_FOG_DENSITY */
/* GL_FOG_END */
/* GL_FOG_INDEX */
/* GL_FOG_MODE */
/* GL_FOG_START */
/* FrontFaceDirection */
public static final int GL_CW = 0x0900;
public static final int GL_CCW = 0x0901;
/* GetMapTarget */
public static final int GL_COEFF = 0x0A00;
public static final int GL_ORDER = 0x0A01;
public static final int GL_DOMAIN = 0x0A02;
/* GetPixelMap */
/* GL_PIXEL_MAP_I_TO_I */
/* GL_PIXEL_MAP_S_TO_S */
/* GL_PIXEL_MAP_I_TO_R */
/* GL_PIXEL_MAP_I_TO_G */
/* GL_PIXEL_MAP_I_TO_B */
/* GL_PIXEL_MAP_I_TO_A */
/* GL_PIXEL_MAP_R_TO_R */
/* GL_PIXEL_MAP_G_TO_G */
/* GL_PIXEL_MAP_B_TO_B */
/* GL_PIXEL_MAP_A_TO_A */
/* GetPointerTarget */
/* GL_VERTEX_ARRAY_POINTER */
/* GL_NORMAL_ARRAY_POINTER */
/* GL_COLOR_ARRAY_POINTER */
/* GL_INDEX_ARRAY_POINTER */
/* GL_TEXTURE_COORD_ARRAY_POINTER */
/* GL_EDGE_FLAG_ARRAY_POINTER */
/* GetTarget */
public static final int GL_CURRENT_COLOR = 0x0B00;
public static final int GL_CURRENT_INDEX = 0x0B01;
public static final int GL_CURRENT_NORMAL = 0x0B02;
public static final int GL_CURRENT_TEXTURE_COORDS = 0x0B03;
public static final int GL_CURRENT_RASTER_COLOR = 0x0B04;
public static final int GL_CURRENT_RASTER_INDEX = 0x0B05;
public static final int GL_CURRENT_RASTER_TEXTURE_COORDS = 0x0B06;
public static final int GL_CURRENT_RASTER_POSITION = 0x0B07;
public static final int GL_CURRENT_RASTER_POSITION_VALID = 0x0B08;
public static final int GL_CURRENT_RASTER_DISTANCE = 0x0B09;
public static final int GL_POINT_SMOOTH = 0x0B10;
public static final int GL_POINT_SIZE = 0x0B11;
public static final int GL_POINT_SIZE_RANGE = 0x0B12;
public static final int GL_POINT_SIZE_GRANULARITY = 0x0B13;
public static final int GL_LINE_SMOOTH = 0x0B20;
public static final int GL_LINE_WIDTH = 0x0B21;
public static final int GL_LINE_WIDTH_RANGE = 0x0B22;
public static final int GL_LINE_WIDTH_GRANULARITY = 0x0B23;
public static final int GL_LINE_STIPPLE = 0x0B24;
public static final int GL_LINE_STIPPLE_PATTERN = 0x0B25;
public static final int GL_LINE_STIPPLE_REPEAT = 0x0B26;
public static final int GL_LIST_MODE = 0x0B30;
public static final int GL_MAX_LIST_NESTING = 0x0B31;
public static final int GL_LIST_BASE = 0x0B32;
public static final int GL_LIST_INDEX = 0x0B33;
public static final int GL_POLYGON_MODE = 0x0B40;
public static final int GL_POLYGON_SMOOTH = 0x0B41;
public static final int GL_POLYGON_STIPPLE = 0x0B42;
public static final int GL_EDGE_FLAG = 0x0B43;
public static final int GL_CULL_FACE = 0x0B44;
public static final int GL_CULL_FACE_MODE = 0x0B45;
public static final int GL_FRONT_FACE = 0x0B46;
public static final int GL_LIGHTING = 0x0B50;
public static final int GL_LIGHT_MODEL_LOCAL_VIEWER = 0x0B51;
public static final int GL_LIGHT_MODEL_TWO_SIDE = 0x0B52;
public static final int GL_LIGHT_MODEL_AMBIENT = 0x0B53;
public static final int GL_SHADE_MODEL = 0x0B54;
public static final int GL_COLOR_MATERIAL_FACE = 0x0B55;
public static final int GL_COLOR_MATERIAL_PARAMETER = 0x0B56;
public static final int GL_COLOR_MATERIAL = 0x0B57;
public static final int GL_FOG = 0x0B60;
public static final int GL_FOG_INDEX = 0x0B61;
public static final int GL_FOG_DENSITY = 0x0B62;
public static final int GL_FOG_START = 0x0B63;
public static final int GL_FOG_END = 0x0B64;
public static final int GL_FOG_MODE = 0x0B65;
public static final int GL_FOG_COLOR = 0x0B66;
public static final int GL_DEPTH_RANGE = 0x0B70;
public static final int GL_DEPTH_TEST = 0x0B71;
public static final int GL_DEPTH_WRITEMASK = 0x0B72;
public static final int GL_DEPTH_CLEAR_VALUE = 0x0B73;
public static final int GL_DEPTH_FUNC = 0x0B74;
public static final int GL_ACCUM_CLEAR_VALUE = 0x0B80;
public static final int GL_STENCIL_TEST = 0x0B90;
public static final int GL_STENCIL_CLEAR_VALUE = 0x0B91;
public static final int GL_STENCIL_FUNC = 0x0B92;
public static final int GL_STENCIL_VALUE_MASK = 0x0B93;
public static final int GL_STENCIL_FAIL = 0x0B94;
public static final int GL_STENCIL_PASS_DEPTH_FAIL = 0x0B95;
public static final int GL_STENCIL_PASS_DEPTH_PASS = 0x0B96;
public static final int GL_STENCIL_REF = 0x0B97;
public static final int GL_STENCIL_WRITEMASK = 0x0B98;
public static final int GL_MATRIX_MODE = 0x0BA0;
public static final int GL_NORMALIZE = 0x0BA1;
public static final int GL_VIEWPORT = 0x0BA2;
public static final int GL_MODELVIEW_STACK_DEPTH = 0x0BA3;
public static final int GL_PROJECTION_STACK_DEPTH = 0x0BA4;
public static final int GL_TEXTURE_STACK_DEPTH = 0x0BA5;
public static final int GL_MODELVIEW_MATRIX = 0x0BA6;
public static final int GL_PROJECTION_MATRIX = 0x0BA7;
public static final int GL_TEXTURE_MATRIX = 0x0BA8;
public static final int GL_ATTRIB_STACK_DEPTH = 0x0BB0;
public static final int GL_CLIENT_ATTRIB_STACK_DEPTH = 0x0BB1;
public static final int GL_ALPHA_TEST = 0x0BC0;
public static final int GL_ALPHA_TEST_FUNC = 0x0BC1;
public static final int GL_ALPHA_TEST_REF = 0x0BC2;
public static final int GL_DITHER = 0x0BD0;
public static final int GL_BLEND_DST = 0x0BE0;
public static final int GL_BLEND_SRC = 0x0BE1;
public static final int GL_BLEND = 0x0BE2;
public static final int GL_LOGIC_OP_MODE = 0x0BF0;
public static final int GL_INDEX_LOGIC_OP = 0x0BF1;
public static final int GL_COLOR_LOGIC_OP = 0x0BF2;
public static final int GL_AUX_BUFFERS = 0x0C00;
public static final int GL_DRAW_BUFFER = 0x0C01;
public static final int GL_READ_BUFFER = 0x0C02;
public static final int GL_SCISSOR_BOX = 0x0C10;
public static final int GL_SCISSOR_TEST = 0x0C11;
public static final int GL_INDEX_CLEAR_VALUE = 0x0C20;
public static final int GL_INDEX_WRITEMASK = 0x0C21;
public static final int GL_COLOR_CLEAR_VALUE = 0x0C22;
public static final int GL_COLOR_WRITEMASK = 0x0C23;
public static final int GL_INDEX_MODE = 0x0C30;
public static final int GL_RGBA_MODE = 0x0C31;
public static final int GL_DOUBLEBUFFER = 0x0C32;
public static final int GL_STEREO = 0x0C33;
public static final int GL_RENDER_MODE = 0x0C40;
public static final int GL_PERSPECTIVE_CORRECTION_HINT = 0x0C50;
public static final int GL_POINT_SMOOTH_HINT = 0x0C51;
public static final int GL_LINE_SMOOTH_HINT = 0x0C52;
public static final int GL_POLYGON_SMOOTH_HINT = 0x0C53;
public static final int GL_FOG_HINT = 0x0C54;
public static final int GL_TEXTURE_GEN_S = 0x0C60;
public static final int GL_TEXTURE_GEN_T = 0x0C61;
public static final int GL_TEXTURE_GEN_R = 0x0C62;
public static final int GL_TEXTURE_GEN_Q = 0x0C63;
public static final int GL_PIXEL_MAP_I_TO_I = 0x0C70;
public static final int GL_PIXEL_MAP_S_TO_S = 0x0C71;
public static final int GL_PIXEL_MAP_I_TO_R = 0x0C72;
public static final int GL_PIXEL_MAP_I_TO_G = 0x0C73;
public static final int GL_PIXEL_MAP_I_TO_B = 0x0C74;
public static final int GL_PIXEL_MAP_I_TO_A = 0x0C75;
public static final int GL_PIXEL_MAP_R_TO_R = 0x0C76;
public static final int GL_PIXEL_MAP_G_TO_G = 0x0C77;
public static final int GL_PIXEL_MAP_B_TO_B = 0x0C78;
public static final int GL_PIXEL_MAP_A_TO_A = 0x0C79;
public static final int GL_PIXEL_MAP_I_TO_I_SIZE = 0x0CB0;
public static final int GL_PIXEL_MAP_S_TO_S_SIZE = 0x0CB1;
public static final int GL_PIXEL_MAP_I_TO_R_SIZE = 0x0CB2;
public static final int GL_PIXEL_MAP_I_TO_G_SIZE = 0x0CB3;
public static final int GL_PIXEL_MAP_I_TO_B_SIZE = 0x0CB4;
public static final int GL_PIXEL_MAP_I_TO_A_SIZE = 0x0CB5;
public static final int GL_PIXEL_MAP_R_TO_R_SIZE = 0x0CB6;
public static final int GL_PIXEL_MAP_G_TO_G_SIZE = 0x0CB7;
public static final int GL_PIXEL_MAP_B_TO_B_SIZE = 0x0CB8;
public static final int GL_PIXEL_MAP_A_TO_A_SIZE = 0x0CB9;
public static final int GL_UNPACK_SWAP_BYTES = 0x0CF0;
public static final int GL_UNPACK_LSB_FIRST = 0x0CF1;
public static final int GL_UNPACK_ROW_LENGTH = 0x0CF2;
public static final int GL_UNPACK_SKIP_ROWS = 0x0CF3;
public static final int GL_UNPACK_SKIP_PIXELS = 0x0CF4;
public static final int GL_UNPACK_ALIGNMENT = 0x0CF5;
public static final int GL_PACK_SWAP_BYTES = 0x0D00;
public static final int GL_PACK_LSB_FIRST = 0x0D01;
public static final int GL_PACK_ROW_LENGTH = 0x0D02;
public static final int GL_PACK_SKIP_ROWS = 0x0D03;
public static final int GL_PACK_SKIP_PIXELS = 0x0D04;
public static final int GL_PACK_ALIGNMENT = 0x0D05;
public static final int GL_MAP_COLOR = 0x0D10;
public static final int GL_MAP_STENCIL = 0x0D11;
public static final int GL_INDEX_SHIFT = 0x0D12;
public static final int GL_INDEX_OFFSET = 0x0D13;
public static final int GL_RED_SCALE = 0x0D14;
public static final int GL_RED_BIAS = 0x0D15;
public static final int GL_ZOOM_X = 0x0D16;
public static final int GL_ZOOM_Y = 0x0D17;
public static final int GL_GREEN_SCALE = 0x0D18;
public static final int GL_GREEN_BIAS = 0x0D19;
public static final int GL_BLUE_SCALE = 0x0D1A;
public static final int GL_BLUE_BIAS = 0x0D1B;
public static final int GL_ALPHA_SCALE = 0x0D1C;
public static final int GL_ALPHA_BIAS = 0x0D1D;
public static final int GL_DEPTH_SCALE = 0x0D1E;
public static final int GL_DEPTH_BIAS = 0x0D1F;
public static final int GL_MAX_EVAL_ORDER = 0x0D30;
public static final int GL_MAX_LIGHTS = 0x0D31;
public static final int GL_MAX_CLIP_PLANES = 0x0D32;
public static final int GL_MAX_TEXTURE_SIZE = 0x0D33;
public static final int GL_MAX_PIXEL_MAP_TABLE = 0x0D34;
public static final int GL_MAX_ATTRIB_STACK_DEPTH = 0x0D35;
public static final int GL_MAX_MODELVIEW_STACK_DEPTH = 0x0D36;
public static final int GL_MAX_NAME_STACK_DEPTH = 0x0D37;
public static final int GL_MAX_PROJECTION_STACK_DEPTH = 0x0D38;
public static final int GL_MAX_TEXTURE_STACK_DEPTH = 0x0D39;
public static final int GL_MAX_VIEWPORT_DIMS = 0x0D3A;
public static final int GL_MAX_CLIENT_ATTRIB_STACK_DEPTH = 0x0D3B;
public static final int GL_SUBPIXEL_BITS = 0x0D50;
public static final int GL_INDEX_BITS = 0x0D51;
public static final int GL_RED_BITS = 0x0D52;
public static final int GL_GREEN_BITS = 0x0D53;
public static final int GL_BLUE_BITS = 0x0D54;
public static final int GL_ALPHA_BITS = 0x0D55;
public static final int GL_DEPTH_BITS = 0x0D56;
public static final int GL_STENCIL_BITS = 0x0D57;
public static final int GL_ACCUM_RED_BITS = 0x0D58;
public static final int GL_ACCUM_GREEN_BITS = 0x0D59;
public static final int GL_ACCUM_BLUE_BITS = 0x0D5A;
public static final int GL_ACCUM_ALPHA_BITS = 0x0D5B;
public static final int GL_NAME_STACK_DEPTH = 0x0D70;
public static final int GL_AUTO_NORMAL = 0x0D80;
public static final int GL_MAP1_COLOR_4 = 0x0D90;
public static final int GL_MAP1_INDEX = 0x0D91;
public static final int GL_MAP1_NORMAL = 0x0D92;
public static final int GL_MAP1_TEXTURE_COORD_1 = 0x0D93;
public static final int GL_MAP1_TEXTURE_COORD_2 = 0x0D94;
public static final int GL_MAP1_TEXTURE_COORD_3 = 0x0D95;
public static final int GL_MAP1_TEXTURE_COORD_4 = 0x0D96;
public static final int GL_MAP1_VERTEX_3 = 0x0D97;
public static final int GL_MAP1_VERTEX_4 = 0x0D98;
public static final int GL_MAP2_COLOR_4 = 0x0DB0;
public static final int GL_MAP2_INDEX = 0x0DB1;
public static final int GL_MAP2_NORMAL = 0x0DB2;
public static final int GL_MAP2_TEXTURE_COORD_1 = 0x0DB3;
public static final int GL_MAP2_TEXTURE_COORD_2 = 0x0DB4;
public static final int GL_MAP2_TEXTURE_COORD_3 = 0x0DB5;
public static final int GL_MAP2_TEXTURE_COORD_4 = 0x0DB6;
public static final int GL_MAP2_VERTEX_3 = 0x0DB7;
public static final int GL_MAP2_VERTEX_4 = 0x0DB8;
public static final int GL_MAP1_GRID_DOMAIN = 0x0DD0;
public static final int GL_MAP1_GRID_SEGMENTS = 0x0DD1;
public static final int GL_MAP2_GRID_DOMAIN = 0x0DD2;
public static final int GL_MAP2_GRID_SEGMENTS = 0x0DD3;
public static final int GL_TEXTURE_1D = 0x0DE0;
public static final int GL_TEXTURE_2D = 0x0DE1;
public static final int GL_FEEDBACK_BUFFER_POINTER = 0x0DF0;
public static final int GL_FEEDBACK_BUFFER_SIZE = 0x0DF1;
public static final int GL_FEEDBACK_BUFFER_TYPE = 0x0DF2;
public static final int GL_SELECTION_BUFFER_POINTER = 0x0DF3;
public static final int GL_SELECTION_BUFFER_SIZE = 0x0DF4;
/* GL_TEXTURE_BINDING_1D */
/* GL_TEXTURE_BINDING_2D */
/* GL_VERTEX_ARRAY */
/* GL_NORMAL_ARRAY */
/* GL_COLOR_ARRAY */
/* GL_INDEX_ARRAY */
/* GL_TEXTURE_COORD_ARRAY */
/* GL_EDGE_FLAG_ARRAY */
/* GL_VERTEX_ARRAY_SIZE */
/* GL_VERTEX_ARRAY_TYPE */
/* GL_VERTEX_ARRAY_STRIDE */
/* GL_NORMAL_ARRAY_TYPE */
/* GL_NORMAL_ARRAY_STRIDE */
/* GL_COLOR_ARRAY_SIZE */
/* GL_COLOR_ARRAY_TYPE */
/* GL_COLOR_ARRAY_STRIDE */
/* GL_INDEX_ARRAY_TYPE */
/* GL_INDEX_ARRAY_STRIDE */
/* GL_TEXTURE_COORD_ARRAY_SIZE */
/* GL_TEXTURE_COORD_ARRAY_TYPE */
/* GL_TEXTURE_COORD_ARRAY_STRIDE */
/* GL_EDGE_FLAG_ARRAY_STRIDE */
/* GL_POLYGON_OFFSET_FACTOR */
/* GL_POLYGON_OFFSET_UNITS */
/* GetTextureParameter */
/* GL_TEXTURE_MAG_FILTER */
/* GL_TEXTURE_MIN_FILTER */
/* GL_TEXTURE_WRAP_S */
/* GL_TEXTURE_WRAP_T */
public static final int GL_TEXTURE_WIDTH = 0x1000;
public static final int GL_TEXTURE_HEIGHT = 0x1001;
public static final int GL_TEXTURE_INTERNAL_FORMAT = 0x1003;
public static final int GL_TEXTURE_BORDER_COLOR = 0x1004;
public static final int GL_TEXTURE_BORDER = 0x1005;
/* GL_TEXTURE_RED_SIZE */
/* GL_TEXTURE_GREEN_SIZE */
/* GL_TEXTURE_BLUE_SIZE */
/* GL_TEXTURE_ALPHA_SIZE */
/* GL_TEXTURE_LUMINANCE_SIZE */
/* GL_TEXTURE_INTENSITY_SIZE */
/* GL_TEXTURE_PRIORITY */
/* GL_TEXTURE_RESIDENT */
/* HintMode */
public static final int GL_DONT_CARE = 0x1100;
public static final int GL_FASTEST = 0x1101;
public static final int GL_NICEST = 0x1102;
/* HintTarget */
/* GL_PERSPECTIVE_CORRECTION_HINT */
/* GL_POINT_SMOOTH_HINT */
/* GL_LINE_SMOOTH_HINT */
/* GL_POLYGON_SMOOTH_HINT */
/* GL_FOG_HINT */
/* GL_PHONG_HINT */
/* IndexPointerType */
/* GL_SHORT */
/* GL_INT */
/* GL_FLOAT */
/* GL_DOUBLE */
/* LightModelParameter */
/* GL_LIGHT_MODEL_AMBIENT */
/* GL_LIGHT_MODEL_LOCAL_VIEWER */
/* GL_LIGHT_MODEL_TWO_SIDE */
/* LightName */
public static final int GL_LIGHT0 = 0x4000;
public static final int GL_LIGHT1 = 0x4001;
public static final int GL_LIGHT2 = 0x4002;
public static final int GL_LIGHT3 = 0x4003;
public static final int GL_LIGHT4 = 0x4004;
public static final int GL_LIGHT5 = 0x4005;
public static final int GL_LIGHT6 = 0x4006;
public static final int GL_LIGHT7 = 0x4007;
/* LightParameter */
public static final int GL_AMBIENT = 0x1200;
public static final int GL_DIFFUSE = 0x1201;
public static final int GL_SPECULAR = 0x1202;
public static final int GL_POSITION = 0x1203;
public static final int GL_SPOT_DIRECTION = 0x1204;
public static final int GL_SPOT_EXPONENT = 0x1205;
public static final int GL_SPOT_CUTOFF = 0x1206;
public static final int GL_CONSTANT_ATTENUATION = 0x1207;
public static final int GL_LINEAR_ATTENUATION = 0x1208;
public static final int GL_QUADRATIC_ATTENUATION = 0x1209;
/* InterleavedArrays */
/* GL_V2F */
/* GL_V3F */
/* GL_C4UB_V2F */
/* GL_C4UB_V3F */
/* GL_C3F_V3F */
/* GL_N3F_V3F */
/* GL_C4F_N3F_V3F */
/* GL_T2F_V3F */
/* GL_T4F_V4F */
/* GL_T2F_C4UB_V3F */
/* GL_T2F_C3F_V3F */
/* GL_T2F_N3F_V3F */
/* GL_T2F_C4F_N3F_V3F */
/* GL_T4F_C4F_N3F_V4F */
/* ListMode */
public static final int GL_COMPILE = 0x1300;
public static final int GL_COMPILE_AND_EXECUTE = 0x1301;
/* ListNameType */
/* GL_BYTE */
/* GL_UNSIGNED_BYTE */
/* GL_SHORT */
/* GL_UNSIGNED_SHORT */
/* GL_INT */
/* GL_UNSIGNED_INT */
/* GL_FLOAT */
/* GL_2_BYTES */
/* GL_3_BYTES */
/* GL_4_BYTES */
/* LogicOp */
public static final int GL_CLEAR = 0x1500;
public static final int GL_AND = 0x1501;
public static final int GL_AND_REVERSE = 0x1502;
public static final int GL_COPY = 0x1503;
public static final int GL_AND_INVERTED = 0x1504;
public static final int GL_NOOP = 0x1505;
public static final int GL_XOR = 0x1506;
public static final int GL_OR = 0x1507;
public static final int GL_NOR = 0x1508;
public static final int GL_EQUIV = 0x1509;
public static final int GL_INVERT = 0x150A;
public static final int GL_OR_REVERSE = 0x150B;
public static final int GL_COPY_INVERTED = 0x150C;
public static final int GL_OR_INVERTED = 0x150D;
public static final int GL_NAND = 0x150E;
public static final int GL_SET = 0x150F;
/* MapTarget */
/* GL_MAP1_COLOR_4 */
/* 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_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 */
/* MaterialFace */
/* GL_FRONT */
/* GL_BACK */
/* GL_FRONT_AND_BACK */
/* MaterialParameter */
public static final int GL_EMISSION = 0x1600;
public static final int GL_SHININESS = 0x1601;
public static final int GL_AMBIENT_AND_DIFFUSE = 0x1602;
public static final int GL_COLOR_INDEXES = 0x1603;
/* GL_AMBIENT */
/* GL_DIFFUSE */
/* GL_SPECULAR */
/* MatrixMode */
public static final int GL_MODELVIEW = 0x1700;
public static final int GL_PROJECTION = 0x1701;
public static final int GL_TEXTURE = 0x1702;
/* MeshMode1 */
/* GL_POINT */
/* GL_LINE */
/* MeshMode2 */
/* GL_POINT */
/* GL_LINE */
/* GL_FILL */
/* NormalPointerType */
/* GL_BYTE */
/* GL_SHORT */
/* GL_INT */
/* GL_FLOAT */
/* GL_DOUBLE */
/* PixelCopyType */
public static final int GL_COLOR = 0x1800;
public static final int GL_DEPTH = 0x1801;
public static final int GL_STENCIL = 0x1802;
/* PixelFormat */
public static final int GL_COLOR_INDEX = 0x1900;
public static final int GL_STENCIL_INDEX = 0x1901;
public static final int GL_DEPTH_COMPONENT = 0x1902;
public static final int GL_RED = 0x1903;
public static final int GL_GREEN = 0x1904;
public static final int GL_BLUE = 0x1905;
public static final int GL_ALPHA = 0x1906;
public static final int GL_RGB = 0x1907;
public static final int GL_RGBA = 0x1908;
public static final int GL_LUMINANCE = 0x1909;
public static final int GL_LUMINANCE_ALPHA = 0x190A;
/* PixelMap */
/* GL_PIXEL_MAP_I_TO_I */
/* GL_PIXEL_MAP_S_TO_S */
/* GL_PIXEL_MAP_I_TO_R */
/* GL_PIXEL_MAP_I_TO_G */
/* GL_PIXEL_MAP_I_TO_B */
/* GL_PIXEL_MAP_I_TO_A */
/* GL_PIXEL_MAP_R_TO_R */
/* GL_PIXEL_MAP_G_TO_G */
/* GL_PIXEL_MAP_B_TO_B */
/* GL_PIXEL_MAP_A_TO_A */
/* PixelStore */
/* GL_UNPACK_SWAP_BYTES */
/* GL_UNPACK_LSB_FIRST */
/* GL_UNPACK_ROW_LENGTH */
/* GL_UNPACK_SKIP_ROWS */
/* GL_UNPACK_SKIP_PIXELS */
/* GL_UNPACK_ALIGNMENT */
/* GL_PACK_SWAP_BYTES */
/* GL_PACK_LSB_FIRST */
/* GL_PACK_ROW_LENGTH */
/* GL_PACK_SKIP_ROWS */
/* GL_PACK_SKIP_PIXELS */
/* GL_PACK_ALIGNMENT */
/* PixelTransfer */
/* GL_MAP_COLOR */
/* GL_MAP_STENCIL */
/* GL_INDEX_SHIFT */
/* GL_INDEX_OFFSET */
/* GL_RED_SCALE */
/* GL_RED_BIAS */
/* GL_GREEN_SCALE */
/* GL_GREEN_BIAS */
/* GL_BLUE_SCALE */
/* GL_BLUE_BIAS */
/* GL_ALPHA_SCALE */
/* GL_ALPHA_BIAS */
/* GL_DEPTH_SCALE */
/* GL_DEPTH_BIAS */
/* PixelType */
public static final int GL_BITMAP = 0x1A00;
/* GL_BYTE */
/* GL_UNSIGNED_BYTE */
/* GL_SHORT */
/* GL_UNSIGNED_SHORT */
/* GL_INT */
/* GL_UNSIGNED_INT */
/* GL_FLOAT */
/* PolygonMode */
public static final int GL_POINT = 0x1B00;
public static final int GL_LINE = 0x1B01;
public static final int GL_FILL = 0x1B02;
/* ReadBufferMode */
/* GL_FRONT_LEFT */
/* GL_FRONT_RIGHT */
/* GL_BACK_LEFT */
/* GL_BACK_RIGHT */
/* GL_FRONT */
/* GL_BACK */
/* GL_LEFT */
/* GL_RIGHT */
/* GL_AUX0 */
/* GL_AUX1 */
/* GL_AUX2 */
/* GL_AUX3 */
/* RenderingMode */
public static final int GL_RENDER = 0x1C00;
public static final int GL_FEEDBACK = 0x1C01;
public static final int GL_SELECT = 0x1C02;
/* ShadingModel */
public static final int GL_FLAT = 0x1D00;
public static final int GL_SMOOTH = 0x1D01;
/* StencilFunction */
/* GL_NEVER */
/* GL_LESS */
/* GL_EQUAL */
/* GL_LEQUAL */
/* GL_GREATER */
/* GL_NOTEQUAL */
/* GL_GEQUAL */
/* GL_ALWAYS */
/* StencilOp */
/* GL_ZERO */
public static final int GL_KEEP = 0x1E00;
public static final int GL_REPLACE = 0x1E01;
public static final int GL_INCR = 0x1E02;
public static final int GL_DECR = 0x1E03;
/* GL_INVERT */
/* StringName */
public static final int GL_VENDOR = 0x1F00;
public static final int GL_RENDERER = 0x1F01;
public static final int GL_VERSION = 0x1F02;
public static final int GL_EXTENSIONS = 0x1F03;
/* TextureCoordName */
public static final int GL_S = 0x2000;
public static final int GL_T = 0x2001;
public static final int GL_R = 0x2002;
public static final int GL_Q = 0x2003;
/* TexCoordPointerType */
/* GL_SHORT */
/* GL_INT */
/* GL_FLOAT */
/* GL_DOUBLE */
/* TextureEnvMode */
public static final int GL_MODULATE = 0x2100;
public static final int GL_DECAL = 0x2101;
/* GL_BLEND */
/* GL_REPLACE */
/* TextureEnvParameter */
public static final int GL_TEXTURE_ENV_MODE = 0x2200;
public static final int GL_TEXTURE_ENV_COLOR = 0x2201;
/* TextureEnvTarget */
public static final int GL_TEXTURE_ENV = 0x2300;
/* TextureGenMode */
public static final int GL_EYE_LINEAR = 0x2400;
public static final int GL_OBJECT_LINEAR = 0x2401;
public static final int GL_SPHERE_MAP = 0x2402;
/* TextureGenParameter */
public static final int GL_TEXTURE_GEN_MODE = 0x2500;
public static final int GL_OBJECT_PLANE = 0x2501;
public static final int GL_EYE_PLANE = 0x2502;
/* TextureMagFilter */
public static final int GL_NEAREST = 0x2600;
public static final int GL_LINEAR = 0x2601;
/* TextureMinFilter */
/* GL_NEAREST */
/* GL_LINEAR */
public static final int GL_NEAREST_MIPMAP_NEAREST = 0x2700;
public static final int GL_LINEAR_MIPMAP_NEAREST = 0x2701;
public static final int GL_NEAREST_MIPMAP_LINEAR = 0x2702;
public static final int GL_LINEAR_MIPMAP_LINEAR = 0x2703;
/* TextureParameterName */
public static final int GL_TEXTURE_MAG_FILTER = 0x2800;
public static final int GL_TEXTURE_MIN_FILTER = 0x2801;
public static final int GL_TEXTURE_WRAP_S = 0x2802;
public static final int GL_TEXTURE_WRAP_T = 0x2803;
/* GL_TEXTURE_BORDER_COLOR */
/* GL_TEXTURE_PRIORITY */
/* TextureTarget */
/* GL_TEXTURE_1D */
/* GL_TEXTURE_2D */
/* GL_PROXY_TEXTURE_1D */
/* GL_PROXY_TEXTURE_2D */
/* TextureWrapMode */
public static final int GL_CLAMP = 0x2900;
public static final int GL_REPEAT = 0x2901;
/* VertexPointerType */
/* GL_SHORT */
/* GL_INT */
/* GL_FLOAT */
/* GL_DOUBLE */
/* ClientAttribMask */
public static final int GL_CLIENT_PIXEL_STORE_BIT = 0x00000001;
public static final int GL_CLIENT_VERTEX_ARRAY_BIT = 0x00000002;
public static final int GL_CLIENT_ALL_ATTRIB_BITS = 0xffffffff;
/* polygon_offset */
public static final int GL_POLYGON_OFFSET_FACTOR = 0x8038;
public static final int GL_POLYGON_OFFSET_UNITS = 0x2A00;
public static final int GL_POLYGON_OFFSET_POINT = 0x2A01;
public static final int GL_POLYGON_OFFSET_LINE = 0x2A02;
public static final int GL_POLYGON_OFFSET_FILL = 0x8037;
/* texture */
public static final int GL_ALPHA4 = 0x803B;
public static final int GL_ALPHA8 = 0x803C;
public static final int GL_ALPHA12 = 0x803D;
public static final int GL_ALPHA16 = 0x803E;
public static final int GL_LUMINANCE4 = 0x803F;
public static final int GL_LUMINANCE8 = 0x8040;
public static final int GL_LUMINANCE12 = 0x8041;
public static final int GL_LUMINANCE16 = 0x8042;
public static final int GL_LUMINANCE4_ALPHA4 = 0x8043;
public static final int GL_LUMINANCE6_ALPHA2 = 0x8044;
public static final int GL_LUMINANCE8_ALPHA8 = 0x8045;
public static final int GL_LUMINANCE12_ALPHA4 = 0x8046;
public static final int GL_LUMINANCE12_ALPHA12 = 0x8047;
public static final int GL_LUMINANCE16_ALPHA16 = 0x8048;
public static final int GL_INTENSITY = 0x8049;
public static final int GL_INTENSITY4 = 0x804A;
public static final int GL_INTENSITY8 = 0x804B;
public static final int GL_INTENSITY12 = 0x804C;
public static final int GL_INTENSITY16 = 0x804D;
public static final int GL_R3_G3_B2 = 0x2A10;
public static final int GL_RGB4 = 0x804F;
public static final int GL_RGB5 = 0x8050;
public static final int GL_RGB8 = 0x8051;
public static final int GL_RGB10 = 0x8052;
public static final int GL_RGB12 = 0x8053;
public static final int GL_RGB16 = 0x8054;
public static final int GL_RGBA2 = 0x8055;
public static final int GL_RGBA4 = 0x8056;
public static final int GL_RGB5_A1 = 0x8057;
public static final int GL_RGBA8 = 0x8058;
public static final int GL_RGB10_A2 = 0x8059;
public static final int GL_RGBA12 = 0x805A;
public static final int GL_RGBA16 = 0x805B;
public static final int GL_TEXTURE_RED_SIZE = 0x805C;
public static final int GL_TEXTURE_GREEN_SIZE = 0x805D;
public static final int GL_TEXTURE_BLUE_SIZE = 0x805E;
public static final int GL_TEXTURE_ALPHA_SIZE = 0x805F;
public static final int GL_TEXTURE_LUMINANCE_SIZE = 0x8060;
public static final int GL_TEXTURE_INTENSITY_SIZE = 0x8061;
public static final int GL_PROXY_TEXTURE_1D = 0x8063;
public static final int GL_PROXY_TEXTURE_2D = 0x8064;
/* texture_object */
public static final int GL_TEXTURE_PRIORITY = 0x8066;
public static final int GL_TEXTURE_RESIDENT = 0x8067;
public static final int GL_TEXTURE_BINDING_1D = 0x8068;
public static final int GL_TEXTURE_BINDING_2D = 0x8069;
/* vertex_array */
public static final int GL_VERTEX_ARRAY = 0x8074;
public static final int GL_NORMAL_ARRAY = 0x8075;
public static final int GL_COLOR_ARRAY = 0x8076;
public static final int GL_INDEX_ARRAY = 0x8077;
public static final int GL_TEXTURE_COORD_ARRAY = 0x8078;
public static final int GL_EDGE_FLAG_ARRAY = 0x8079;
public static final int GL_VERTEX_ARRAY_SIZE = 0x807A;
public static final int GL_VERTEX_ARRAY_TYPE = 0x807B;
public static final int GL_VERTEX_ARRAY_STRIDE = 0x807C;
public static final int GL_NORMAL_ARRAY_TYPE = 0x807E;
public static final int GL_NORMAL_ARRAY_STRIDE = 0x807F;
public static final int GL_COLOR_ARRAY_SIZE = 0x8081;
public static final int GL_COLOR_ARRAY_TYPE = 0x8082;
public static final int GL_COLOR_ARRAY_STRIDE = 0x8083;
public static final int GL_INDEX_ARRAY_TYPE = 0x8085;
public static final int GL_INDEX_ARRAY_STRIDE = 0x8086;
public static final int GL_TEXTURE_COORD_ARRAY_SIZE = 0x8088;
public static final int GL_TEXTURE_COORD_ARRAY_TYPE = 0x8089;
public static final int GL_TEXTURE_COORD_ARRAY_STRIDE = 0x808A;
public static final int GL_EDGE_FLAG_ARRAY_STRIDE = 0x808C;
public static final int GL_VERTEX_ARRAY_POINTER = 0x808E;
public static final int GL_NORMAL_ARRAY_POINTER = 0x808F;
public static final int GL_COLOR_ARRAY_POINTER = 0x8090;
public static final int GL_INDEX_ARRAY_POINTER = 0x8091;
public static final int GL_TEXTURE_COORD_ARRAY_POINTER = 0x8092;
public static final int GL_EDGE_FLAG_ARRAY_POINTER = 0x8093;
public static final int GL_V2F = 0x2A20;
public static final int GL_V3F = 0x2A21;
public static final int GL_C4UB_V2F = 0x2A22;
public static final int GL_C4UB_V3F = 0x2A23;
public static final int GL_C3F_V3F = 0x2A24;
public static final int GL_N3F_V3F = 0x2A25;
public static final int GL_C4F_N3F_V3F = 0x2A26;
public static final int GL_T2F_V3F = 0x2A27;
public static final int GL_T4F_V4F = 0x2A28;
public static final int GL_T2F_C4UB_V3F = 0x2A29;
public static final int GL_T2F_C3F_V3F = 0x2A2A;
public static final int GL_T2F_N3F_V3F = 0x2A2B;
public static final int GL_T2F_C4F_N3F_V3F = 0x2A2C;
public static final int GL_T4F_C4F_N3F_V4F = 0x2A2D;
/* Extensions */
public static final int GL_EXT_vertex_array = 1;
public static final int GL_EXT_bgra = 1;
public static final int GL_EXT_paletted_texture = 1;
public static final int GL_WIN_swap_hint = 1;
public static final int GL_WIN_draw_range_elements = 1;
// public static final int GL_WIN_phong_shading = 1;
// public static final int GL_WIN_specular_fog = 1;
/* EXT_vertex_array */
public static final int GL_VERTEX_ARRAY_EXT = 0x8074;
public static final int GL_NORMAL_ARRAY_EXT = 0x8075;
public static final int GL_COLOR_ARRAY_EXT = 0x8076;
public static final int GL_INDEX_ARRAY_EXT = 0x8077;
public static final int GL_TEXTURE_COORD_ARRAY_EXT = 0x8078;
public static final int GL_EDGE_FLAG_ARRAY_EXT = 0x8079;
public static final int GL_VERTEX_ARRAY_SIZE_EXT = 0x807A;
public static final int GL_VERTEX_ARRAY_TYPE_EXT = 0x807B;
public static final int GL_VERTEX_ARRAY_STRIDE_EXT = 0x807C;
public static final int GL_VERTEX_ARRAY_COUNT_EXT = 0x807D;
public static final int GL_NORMAL_ARRAY_TYPE_EXT = 0x807E;
public static final int GL_NORMAL_ARRAY_STRIDE_EXT = 0x807F;
public static final int GL_NORMAL_ARRAY_COUNT_EXT = 0x8080;
public static final int GL_COLOR_ARRAY_SIZE_EXT = 0x8081;
public static final int GL_COLOR_ARRAY_TYPE_EXT = 0x8082;
public static final int GL_COLOR_ARRAY_STRIDE_EXT = 0x8083;
public static final int GL_COLOR_ARRAY_COUNT_EXT = 0x8084;
public static final int GL_INDEX_ARRAY_TYPE_EXT = 0x8085;
public static final int GL_INDEX_ARRAY_STRIDE_EXT = 0x8086;
public static final int GL_INDEX_ARRAY_COUNT_EXT = 0x8087;
public static final int GL_TEXTURE_COORD_ARRAY_SIZE_EXT = 0x8088;
public static final int GL_TEXTURE_COORD_ARRAY_TYPE_EXT = 0x8089;
public static final int GL_TEXTURE_COORD_ARRAY_STRIDE_EXT = 0x808A;
public static final int GL_TEXTURE_COORD_ARRAY_COUNT_EXT = 0x808B;
public static final int GL_EDGE_FLAG_ARRAY_STRIDE_EXT = 0x808C;
public static final int GL_EDGE_FLAG_ARRAY_COUNT_EXT = 0x808D;
public static final int GL_VERTEX_ARRAY_POINTER_EXT = 0x808E;
public static final int GL_NORMAL_ARRAY_POINTER_EXT = 0x808F;
public static final int GL_COLOR_ARRAY_POINTER_EXT = 0x8090;
public static final int GL_INDEX_ARRAY_POINTER_EXT = 0x8091;
public static final int GL_TEXTURE_COORD_ARRAY_POINTER_EXT = 0x8092;
public static final int GL_EDGE_FLAG_ARRAY_POINTER_EXT = 0x8093;
public static final int GL_DOUBLE_EXT = GL_DOUBLE;
/* EXT_bgra */
public static final int GL_BGR_EXT = 0x80E0;
public static final int GL_BGRA_EXT = 0x80E1;
/* EXT_paletted_texture */
/* These must match the GL_COLOR_TABLE_*_SGI enumerants */
public static final int GL_COLOR_TABLE_FORMAT_EXT = 0x80D8;
public static final int GL_COLOR_TABLE_WIDTH_EXT = 0x80D9;
public static final int GL_COLOR_TABLE_RED_SIZE_EXT = 0x80DA;
public static final int GL_COLOR_TABLE_GREEN_SIZE_EXT = 0x80DB;
public static final int GL_COLOR_TABLE_BLUE_SIZE_EXT = 0x80DC;
public static final int GL_COLOR_TABLE_ALPHA_SIZE_EXT = 0x80DD;
public static final int GL_COLOR_TABLE_LUMINANCE_SIZE_EXT = 0x80DE;
public static final int GL_COLOR_TABLE_INTENSITY_SIZE_EXT = 0x80DF;
public static final int GL_COLOR_INDEX1_EXT = 0x80E2;
public static final int GL_COLOR_INDEX2_EXT = 0x80E3;
public static final int GL_COLOR_INDEX4_EXT = 0x80E4;
public static final int GL_COLOR_INDEX8_EXT = 0x80E5;
public static final int GL_COLOR_INDEX12_EXT = 0x80E6;
public static final int GL_COLOR_INDEX16_EXT = 0x80E7;
/* WIN_draw_range_elements */
public static final int GL_MAX_ELEMENTS_VERTICES_WIN = 0x80E8;
public static final int GL_MAX_ELEMENTS_INDICES_WIN = 0x80E9;
/* WIN_phong_shading */
public static final int GL_PHONG_WIN = 0x80EA;
public static final int GL_PHONG_HINT_WIN = 0x80EB;
/* WIN_specular_fog */
public static final int GL_FOG_SPECULAR_TEXTURE_WIN = 0x80EC;
/* For compatibility with OpenGL v1.0 */
public static final int GL_LOGIC_OP = GL_INDEX_LOGIC_OP;
public static final int GL_TEXTURE_COMPONENTS = GL_TEXTURE_INTERNAL_FORMAT;
public static final native void glAccum (int op, float value);
public static final native void glAlphaFunc (int func, float ref);
public static final native boolean glAreTexturesResident (int n, int[] textures, boolean[] residences);
public static final native void glArrayElement (int index);
public static final native void glBegin (int mode);
public static final native void glEnd ();
public static final native void glBindTexture (int target, int texture);
public static final native void glBitmap (int width, int height, float xorig, float yorig, float xmove, float ymove, byte[] bitmap);
public static final native void glBlendFunc (int sfactor, int dfactor);
public static final native void glCallList (int list);
public static final native void glCallLists (int n, int type, byte[] lists);
public static final native void glCallLists (int n, int type, char[] lists);
public static final native void glCallLists (int n, int type, int[] lists);
public static final native void glClear (int mask);
public static final native void glClearAccum (float red, float green, float blue, float alpha);
public static final native void glClearColor (float red, float green, float blue, float alpha);
public static final native void glClearDepth (double depth);
public static final native void glClearIndex (float c);
public static final native void glClearStencil (int s);
public static final native void glClipPlane (int plane, double[] equation);
public static final native void glColor3b (byte red, byte green, byte blue);
public static final native void glColor3d (double red, double green, double blue);
public static final native void glColor3f (float red, float green, float blue);
public static final native void glColor3i (int red, int green, int blue);
public static final native void glColor3s (short red, short green, short blue);
public static final native void glColor3ub (byte red, byte green, byte blue);
public static final native void glColor3ui (int red, int green, int blue);
public static final native void glColor3us (short red, short green, short blue);
public static final native void glColor4b (byte red, byte green, byte blue, byte alpha);
public static final native void glColor4d (double red, double green, double blue, double alpha);
public static final native void glColor4f (float red, float green, float blue, float alpha);
public static final native void glColor4i (int red, int green, int blue, int alpha);
public static final native void glColor4s (short red, short green, short blue, short alpha);
public static final native void glColor4ub (byte red, byte green, byte blue, byte alpha);
public static final native void glColor4ui (int red, int green, int blue, int alpha);
public static final native void glColor4us (short red, short green, short blue, short alpha);
public static final native void glColor3bv (byte[] v);
public static final native void glColor3dv (double[] v);
public static final native void glColor3fv (float[] v);
public static final native void glColor3iv (int[] v);
public static final native void glColor3sv (short[] v);
public static final native void glColor3ubv (byte[] v);
public static final native void glColor3uiv (int[] v);
public static final native void glColor3usv (short[] v);
public static final native void glColor4bv (byte[] v);
public static final native void glColor4dv (double[] v);
public static final native void glColor4fv (float[] v);
public static final native void glColor4iv (int[] v);
public static final native void glColor4ubv (byte[] v);
public static final native void glColor4uiv (int[] v);
public static final native void glColor4usv (short[] v);
public static final native void glColorMask (boolean red, boolean green, boolean blue, boolean alpha);
public static final native void glColorMaterial (int face, int mode);
public static final native void glColorPointer (int size, int type, int stride, int[] pointer);
//public static final native void glColorTableEXT (int target, int internalFormat, int width, int format, int type, int[] data);
//public static final native void glColorSubTableEXT (int target, int start, int count, int format, int type, int[] data);
public static final native void glCopyPixels (int x, int y, int width, int height, int type);
public static final native void glCopyTexImage1D (int target, int level, int internalFormat, int x, int y, int width, int border);
public static final native void glCopyTexImage2D (int target, int level, int internalFormat, int x, int y, int width, int height, int border);
public static final native void glCopyTexSubImage1D (int target, int level, int xoffset, int x, int y, int width);
public static final native void glCopyTexSubImage2D (int target, int level, int xoffset, int yoffset, int x, int y, int width, int height);
public static final native void glCullFace (int mode);
public static final native void glDeleteLists (int list, int range);
public static final native void glDeleteTextures (int n, int[] textures);
public static final native void glDepthFunc (int func);
public static final native void glDepthMask (boolean flag);
public static final native void glDepthRange (double znear, double zfar);
public static final native void glDrawArrays (int mode, int first, int count);
public static final native void glDrawBuffer (int mode);
public static final native void glDrawElements (int mode, int count, int type, int[] indices); /* MULTIPLES TYPES */
public static final native void glDrawPixels (int width, int height, int format, int type, int[] pixels); /* MULTIPLES TYPES */
public static final native void glEdgeFlag (boolean flag);
public static final native void glEdgeFlagv (boolean[] flag);
public static final native void glEdgeFlagPointer (int stride, boolean[] pointer);
public static final native void glEnable (int cap);
public static final native void glDisable (int cap);
public static final native void glEnableClientState (int array);
public static final native void glDisableClientState (int array);
public static final native void glEvalCoord1d (double u);
public static final native void glEvalCoord1f (float u);
public static final native void glEvalCoord2d (double u, double v);
public static final native void glEvalCoord2f (float u, float v);
public static final native void glEvalCoord1dv (double[] u);
public static final native void glEvalCoord1fv (float[] u);
public static final native void glEvalCoord2dv (double[] u);
public static final native void glEvalCoord2fv (float[] u);
public static final native void glEvalMesh1 (int mode, int i1, int i2);
public static final native void glEvalMesh2 (int mode, int i1, int i2, int j1, int j2);
public static final native void glEvalPoint1 (int i);
public static final native void glEvalPoint2 (int i, int j);
public static final native void glFeedbackBuffer (int size, int type, float[] buffer);
public static final native void glFinish ();
public static final native void glFlush ();
public static final native void glFogf (int pname, float param);
public static final native void glFogi (int pname, int param);
public static final native void glFogfv (int pname, float[] params);
public static final native void glFogiv (int pname, int[] params);
public static final native void glFrontFace (int mode);
public static final native void glFrustum (double left, double right, double bottom, double top, double znear, double zfar);
public static final native int glGenLists (int range);
public static final native void glGenTextures (int n, int[] textures);
public static final native void glGetBooleanv (int pname, boolean[] params);
public static final native void glGetDoublev (int pname, double[] params);
public static final native void glGetFloatv (int pname, float[] params);
public static final native void glGetIntegerv (int pname, int[] params);
public static final native void glGetClipPlane (int plane, double[] equation);
//public static final native void glGetColorTableEXT (int target, int format, int type, int[] data);
//public static final native void glGetColorTableParameterfvEXT (int target, int pname, float[] params);
//public static final native void glGetColorTableParameterivEXT (int target, int pname, int[] params);
public static final native int glGetError ();
public static final native void glGetLightfv (int light, int pname, float[] params);
public static final native void glGetLightiv (int light, int pname, int[] params);
public static final native void glGetMapdv (int tagert, int query, double[] v);
public static final native void glGetMapfv (int tagert, int query, float[] v);
public static final native void glGetMapiv (int tagert, int query, int[] v);
public static final native void glGetMaterialfv (int face, int pname, float[] params);
public static final native void glGetMaterialiv (int face, int pname, int[] params);
public static final native void glGetPixelMapfv (int map, float[] values);
public static final native void glGetPixelMapuiv (int map, int[] values);
public static final native void glGetPixelMapusv (int map, short[] values);
public static final native void glGetPointerv (int pname, int[] params);
/* TEST */
public static final native void glGetPolygonStipple (byte[] mask);
public static final native int glGetString (int name);
/* SHOULD RETURN A STRING */
public static final native void glGetTexEnvfv (int target, int pname, float[] params);
public static final native void glGetTexEnviv (int target, int pname, int[] params);
public static final native void glGetTexGendv (int coord, int pname, double[] params);
public static final native void glGetTexGenfv (int coord, int pname, float[] params);
public static final native void glGetTexGeniv (int coord, int pname, int[] params);
public static final native void glGetTexImage (int target, int level, int format, int type, int[] pixels); /* MULTIPLES TYPES ARRAY */
public static final native void glGetTexLevelParameterfv (int target, int level, int pname, float[] params);
public static final native void glGetTexLevelParameteriv (int target, int level, int pname, int[] params);
public static final native void glGetTexParameterfv (int target, int pname, float[] params);
public static final native void glGetTexParameteriv (int target, int pname, int[] params);
public static final native void glHint (int target, int mode);
public static final native void glIndexd (double c);
public static final native void glIndexf (float c);
public static final native void glIndexi (int c);
public static final native void glIndexs (short c);
public static final native void glIndexdv (double[] c);
public static final native void glIndexfv (float[] c);
public static final native void glIndexiv (int[] c);
public static final native void glIndexsv (short[] c);
public static final native void glIndexMask (int mask);
public static final native void glIndexPointer (int type, int stride, int[] pointer);
/* MULTIPLES TYPES */
public static final native void glInitNames ();
public static final native void glInterleavedArrays (int format, int stride, int[] pointer);
/* CHECK */
public static final native boolean glIsEnabled (int cap);
public static final native boolean glIsList (int list);
public static final native boolean glIsTexture (int texture);
public static final native void glLightf (int light, int pname, float param);
public static final native void glLighti (int light, int pname, int param);
public static final native void glLightfv (int light, int pname, float[] param);
//public static final native void glLightfv (int light, int pname, int param);
public static final native void glLightiv (int light, int pname, int[] param);
public static final native void glLightModelf (int pname, float param);
public static final native void glLightModeli (int pname, int param);
public static final native void glLightModelfv (int pname, float[] param);
public static final native void glLightModeliv (int pname, int[] param);
public static final native void glLineStipple (int factor, short pattern);
public static final native void glLineWidth (float width);
public static final native void glListBase (int base);
public static final native void glLoadIdentity ();
public static final native void glLoadMatrixd (double[] m);
public static final native void glLoadMatrixf (float[] m);
public static final native void glLoadName (int name);
public static final native void glLogicOp (int opcode);
public static final native void glMap1d (int target, double u1, double u2, int stride, int order, double[] points);
public static final native void glMap1f (int target, float u1, float u2, int stride, int order, float[] points);
public static final native void glMap2d (int target, double u1, double u2, int ustride, int uorder, double v1, double v2, int vstride, int vorder, double[] points);
public static final native void glMap2f (int target, float u1, float u2, int ustride, int uorder, float v1, float v2, int vstride, int vorder, float[] points);
public static final native void glMapGrid1d (int un, double u1, double u2);
public static final native void glMapGrid1f (int un, float u1, float u2);
public static final native void glMapGrid2d (int un, double u1, double u2, int vm, double v1, double v2);
public static final native void glMapGrid2f (int un, float u1, float u2, int vm, float v1, float v2);
public static final native void glMaterialf (int face, int pname, float param);
public static final native void glMateriali (int face, int pname, int param);
public static final native void glMaterialfv (int face, int pname, float[] param);
public static final native void glMaterialiv (int face, int pname, int[] param);
public static final native void glMatrixMode (int mode);
public static final native void glMultMatrixd (double[] m);
public static final native void glMultMatrixf (float[] m);
public static final native void glNewList (int list, int mode);
public static final native void glEndList ();
public static final native void glNormal3b (byte nx, byte ny, byte nz);
public static final native void glNormal3d (double nx, double ny, double nz);
public static final native void glNormal3f (float nx, float ny, float nz);
public static final native void glNormal3i (int nx, int ny, int nz);
public static final native void glNormal3s (short nx, short ny, short nz);
public static final native void glNormal3bv (byte[] v);
public static final native void glNormal3dv (double[] v);
public static final native void glNormal3fv (float[] v);
public static final native void glNormal3iv (int[] v);
public static final native void glNormal3sv (short[] v);
public static final native void glNormalPointer (int type, int stride, int[] pointer); /* MULTIPLES TYPES ARRAY */
public static final native void glOrtho (double left, double right, double bottom, double top, double znear, double zfar);
public static final native void glPassThrough (float token);
public static final native void glPixelMapfv (int map, int mapsize, float[] values);
public static final native void glPixelMapuiv (int map, int mapsize, int[] values);
public static final native void glPixelMapusv (int map, int mapsize, short[] values);
public static final native void glPixelStoref (int pname, float param);
public static final native void glPixelStorei (int pname, int param);
public static final native void glPixelTransferf (int pname, float param);
public static final native void glPixelTransferi (int pname, int param);
public static final native void glPixelZoom (float xfactor, float yfactor);
public static final native void glPointSize (float size);
public static final native void glPolygonMode (int face, int mode);
public static final native void glPolygonOffset (float factor, float units);
public static final native void glPolygonStipple (byte[] mask);
public static final native void glPrioritizeTextures (int n, int[] textures, float[] priorities);
public static final native void glPushAttrib (int mask);
public static final native void glPopAttrib ();
public static final native void glPushClientAttrib (int mask);
public static final native void glPopClientAttrib ();
public static final native void glPushMatrix ();
public static final native void glPopMatrix ();
public static final native void glPushName (int name);
public static final native void glPopName ();
public static final native void glRasterPos2d (double x, double y);
public static final native void glRasterPos2f (float x, float y);
public static final native void glRasterPos2i (int x, int y);
public static final native void glRasterPos2s (short x, short y);
public static final native void glRasterPos3d (double x, double y, double z);
public static final native void glRasterPos3f (float x, float y, float z);
public static final native void glRasterPos3i (int x, int y, int z);
public static final native void glRasterPos3s (short x, short y, short z);
public static final native void glRasterPos4d (double x, double y, double z, double w);
public static final native void glRasterPos4f (float x, float y, float z, float w);
public static final native void glRasterPos4i (int x, int y, int z, int w);
public static final native void glRasterPos4s (short x, short y, short z, short w);
public static final native void glRasterPos2dv (double[] v);
public static final native void glRasterPos2fv (float[] v);
public static final native void glRasterPos2iv (int[] v);
public static final native void glRasterPos2sv (short[] v);
public static final native void glRasterPos3dv (double[] v);
public static final native void glRasterPos3fv (float[] v);
public static final native void glRasterPos3iv (int[] v);
public static final native void glRasterPos3sv (short[] v);
public static final native void glRasterPos4dv (double[] v);
public static final native void glRasterPos4fv (float[] v);
public static final native void glRasterPos4iv (int[] v);
public static final native void glRasterPos4sv (short[] v);
public static final native void glReadBuffer (int mode);
public static final native void glReadPixels (int x, int y, int width, int height, int format, int type, int[] pixels); /* MULTIPLES TYPES ARRAY */
public static final native void glRectd (double x1, double y1, double x2, double y2);
public static final native void glRectf (float x1, float y1, float x2, float y2);
public static final native void glRecti (int x1, int y1, int x2, int y2);
public static final native void glRects (short x1, short y1, short x2, short y2);
public static final native void glRectdv (double[] v1, double[] v2);
public static final native void glRectfv (float[] v1, float[] v2);
public static final native void glRectiv (int[] v1, int[] v2);
public static final native void glRectsv (short[] v, short[] v2);
public static final native int glRenderMode (int mode);
public static final native void glRotated (double angle, double x, double y, double z);
public static final native void glRotatef (float angle, float x, float y, float z);
public static final native void glScaled (double x, double y, double z);
public static final native void glScalef (float x, float y, float z);
public static final native void glScissor (int x, int y, int width, int height);
//public static final native void glSelectBuffer (int size, int[] buffer);
public static final native void glSelectBuffer (int size, int buffer);
public static final native void glShadeModel (int mode);
public static final native void glStencilFunc (int func, int ref, int mask);
public static final native void glStencilMask (int mask);
public static final native void glStencilOp (int fail, int zfail, int zpass);
public static final native void glTexCoord1d (double s);
public static final native void glTexCoord1f (float s);
public static final native void glTexCoord1i (int s);
public static final native void glTexCoord1s (short s);
public static final native void glTexCoord2d (double s, double t);
public static final native void glTexCoord2f (float s, float t);
public static final native void glTexCoord2i (int s, int t);
public static final native void glTexCoord2s (short s, short t);
public static final native void glTexCoord3d (double s, double t, double r);
public static final native void glTexCoord3f (float s, float t, float r);
public static final native void glTexCoord3i (int s, int t, int r);
public static final native void glTexCoord3s (short s, short t, short r);
public static final native void glTexCoord4d (double s, double t, double r, double q);
public static final native void glTexCoord4f (float s, float t, float r, float q);
public static final native void glTexCoord4i (int s, int t, int r, int q);
public static final native void glTexCoord4s (short s, short t, short r, short q);
public static final native void glTexCoord1dv (double[] v);
public static final native void glTexCoord1fv (float[] v);
public static final native void glTexCoord1iv (int[] v);
public static final native void glTexCoord1sv (short[] v);
public static final native void glTexCoord2dv (double[] v);
public static final native void glTexCoord2fv (float[] v);
public static final native void glTexCoord2iv (int[] v);
public static final native void glTexCoord2sv (short[] v);
public static final native void glTexCoord3dv (double[] v);
public static final native void glTexCoord3fv (float[] v);
public static final native void glTexCoord3iv (int[] v);
public static final native void glTexCoord3sv (short[] v);
public static final native void glTexCoord4dv (double[] v);
public static final native void glTexCoord4fv (float[] v);
public static final native void glTexCoord4iv (int[] v);
public static final native void glTexCoord4sv (short[] v);
public static final native void glTexCoordPointer (int size, int type, int stride, int[] pointer); /*MULTIPLES ARRAYS - CHECK MSDK, COUNT PARAM MISSING */
public static final native void glTexEnvf (int target, int pname, float param);
public static final native void glTexEnvi (int target, int pname, int param);
public static final native void glTexEnvfv (int target, int pname, float[] params);
public static final native void glTexEnviv (int target, int pname, int[] params);
public static final native void glTexGend (int coord, int pname, double param);
public static final native void glTexGenf (int coord, int pname, float param);
public static final native void glTexGeni (int coord, int pname, int param);
public static final native void glTexGendv (int coord, int pname, double[] params);
public static final native void glTexGenfv (int coord, int pname, float[] params);
public static final native void glTexGeniv (int coord, int pname, int[] params);
public static final native void glTexImage1D (int target, int level, int internalFormat, int width, int border, int format, int type, int[] pixels); /* MULTIPLES ARRAYS */
public static final native void glTexImage2D (int target, int level, int internalFormat, int width, int height, int border, int format, int type, byte[] pixels); /* MULTIPLES ARRAYS */
public static final native void glTexParameterf (int target, int pname, float param);
public static final native void glTexParameteri (int target, int pname, int param);
public static final native void glTexParameterfv (int target, int pname, float[] params);
public static final native void glTexParameteriv (int target, int pname, int[] params);
public static final native void glTexSubImage1D (int target, int level, int xoffset, int width, int format, int type, int[] pixels); /* MULTIPLES ARRAYS */
public static final native void glTexSubImage2D (int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, int[] pixels); /* MULTIPLES ARRAYS */
public static final native void glTranslated (double x, double y, double z);
public static final native void glTranslatef (float x, float y, float z);
public static final native void glVertex2d (double x, double y);
public static final native void glVertex2f (float x, float y);
public static final native void glVertex2i (int x, int y);
public static final native void glVertex2s (short x, short y);
public static final native void glVertex3d (double x, double y, double z);
public static final native void glVertex3f (float x, float y, float z);
public static final native void glVertex3i (int x, int y, int z);
public static final native void glVertex3s (short x, short y, short z);
public static final native void glVertex4d (double x, double y, double z, double w);
public static final native void glVertex4f (float x, float y, float z, float w);
public static final native void glVertex4i (int x, int y, int z, int w);
public static final native void glVertex4s (short x, short y, short z, short w);
public static final native void glVertex2dv (double[] v);
public static final native void glVertex2fv (float[] v);
public static final native void glVertex2iv (int[] v);
public static final native void glVertex2sv (short[] v);
public static final native void glVertex3dv (double[] v);
public static final native void glVertex3fv (float[] v);
public static final native void glVertex3iv (int[] v);
public static final native void glVertex3sv (short[] v);
public static final native void glVertex4dv (double[] v);
public static final native void glVertex4fv (float[] v);
public static final native void glVertex4iv (int[] v);
public static final native void glVertex4sv (short[] v);
public static final native void glVertexPointer (int size, int type, int stride, int[] pointer); /* MULTIPLES ARRAYS */
public static final native void glViewport (int x, int y, int width, int height);
}