'gl/gl.sbp

TypeDef GLenum = DWord
TypeDef GLboolean = Byte
TypeDef GLbitfield = DWord
TypeDef GLbyte = SByte
TypeDef GLshort = Integer
TypeDef GLint = Long
TypeDef GLsizei = Long
TypeDef GLubyte = Byte
TypeDef GLushort = Word
TypeDef GLuint = DWord
TypeDef GLfloat = Single
TypeDef GLclampf = Single
TypeDef GLdouble = Double
TypeDef GLclampd = Double
TypeDef GLvoid = DWord

Const GL_VERSION_1_1 = 1

Const GL_ACCUM = &H0100
Const GL_LOAD = &H0101
Const GL_RETURN = &H0102
Const GL_MULT = &H0103
Const GL_ADD = &H0104

Const GL_NEVER = &H0200
Const GL_LESS = &H0201
Const GL_EQUAL = &H0202
Const GL_LEQUAL = &H0203
Const GL_GREATER = &H0204
Const GL_NOTEQUAL = &H0205
Const GL_GEQUAL = &H0206
Const GL_ALWAYS = &H0207

Const GL_CURRENT_BIT = &H00000001
Const GL_POINT_BIT = &H00000002
Const GL_LINE_BIT = &H00000004
Const GL_POLYGON_BIT = &H00000008
Const GL_POLYGON_STIPPLE_BIT = &H00000010
Const GL_PIXEL_MODE_BIT = &H00000020
Const GL_LIGHTING_BIT = &H00000040
Const GL_FOG_BIT = &H00000080
Const GL_DEPTH_BUFFER_BIT = &H00000100
Const GL_ACCUM_BUFFER_BIT = &H00000200
Const GL_STENCIL_BUFFER_BIT = &H00000400
Const GL_VIEWPORT_BIT = &H00000800
Const GL_TRANSFORM_BIT = &H00001000
Const GL_ENABLE_BIT = &H00002000
Const GL_COLOR_BUFFER_BIT = &H00004000
Const GL_HINT_BIT = &H00008000
Const GL_EVAL_BIT = &H00010000
Const GL_LIST_BIT = &H00020000
Const GL_TEXTURE_BIT = &H00040000
Const GL_SCISSOR_BIT = &H00080000
Const GL_ALL_ATTRIB_BITS = &H000fffff

Const GL_POINTS = &H0000
Const GL_LINES = &H0001
Const GL_LINE_LOOP = &H0002
Const GL_LINE_STRIP = &H0003
Const GL_TRIANGLES = &H0004
Const GL_TRIANGLE_STRIP = &H0005
Const GL_TRIANGLE_FAN = &H0006
Const GL_QUADS = &H0007
Const GL_QUAD_STRIP = &H0008
Const GL_POLYGON = &H0009

Const GL_ZERO = 0
Const GL_ONE = 1
Const GL_SRC_COLOR = &H0300
Const GL_ONE_MINUS_SRC_COLOR = &H0301
Const GL_SRC_ALPHA = &H0302
Const GL_ONE_MINUS_SRC_ALPHA = &H0303
Const GL_DST_ALPHA = &H0304
Const GL_ONE_MINUS_DST_ALPHA = &H0305

Const GL_DST_COLOR = &H0306
Const GL_ONE_MINUS_DST_COLOR = &H0307
Const GL_SRC_ALPHA_SATURATE = &H0308

Const GL_TRUE = 1
Const GL_FALSE = 0

Const GL_CLIP_PLANE0 = &H3000
Const GL_CLIP_PLANE1 = &H3001
Const GL_CLIP_PLANE2 = &H3002
Const GL_CLIP_PLANE3 = &H3003
Const GL_CLIP_PLANE4 = &H3004
Const GL_CLIP_PLANE5 = &H3005

Const GL_BYTE = &H1400
Const GL_UNSIGNED_BYTE = &H1401
Const GL_SHORT = &H1402
Const GL_UNSIGNED_SHORT = &H1403
Const GL_INT = &H1404
Const GL_UNSIGNED_INT = &H1405
Const GL_FLOAT = &H1406
Const GL_2_BYTES = &H1407
Const GL_3_BYTES = &H1408
Const GL_4_BYTES = &H1409
Const GL_DOUBLE = &H140A

Const GL_NONE = 0
Const GL_FRONT_LEFT = &H0400
Const GL_FRONT_RIGHT = &H0401
Const GL_BACK_LEFT = &H0402
Const GL_BACK_RIGHT = &H0403
Const GL_FRONT = &H0404
Const GL_BACK = &H0405
Const GL_LEFT = &H0406
Const GL_RIGHT = &H0407
Const GL_FRONT_AND_BACK = &H0408
Const GL_AUX0 = &H0409
Const GL_AUX1 = &H040A
Const GL_AUX2 = &H040B
Const GL_AUX3 = &H040C

Const GL_NO_ERROR = 0
Const GL_INVALID_ENUM = &H0500
Const GL_INVALID_VALUE = &H0501
Const GL_INVALID_OPERATION = &H0502
Const GL_STACK_OVERFLOW = &H0503
Const GL_STACK_UNDERFLOW = &H0504
Const GL_OUT_OF_MEMORY = &H0505

Const GL_2D = &H0600
Const GL_3D = &H0601
Const GL_3D_COLOR = &H0602
Const GL_3D_COLOR_TEXTURE = &H0603
Const GL_4D_COLOR_TEXTURE = &H0604

Const GL_PASS_THROUGH_TOKEN = &H0700
Const GL_POINT_TOKEN = &H0701
Const GL_LINE_TOKEN = &H0702
Const GL_POLYGON_TOKEN = &H0703
Const GL_BITMAP_TOKEN = &H0704
Const GL_DRAW_PIXEL_TOKEN = &H0705
Const GL_COPY_PIXEL_TOKEN = &H0706
Const GL_LINE_RESET_TOKEN = &H0707

Const GL_EXP = &H0800
Const GL_EXP2 = &H0801

Const GL_CW = &H0900
Const GL_CCW = &H0901

Const GL_COEFF = &H0A00
Const GL_ORDER = &H0A01
Const GL_DOMAIN = &H0A02

Const GL_CURRENT_COLOR = &H0B00
Const GL_CURRENT_INDEX = &H0B01
Const GL_CURRENT_NORMAL = &H0B02
Const GL_CURRENT_TEXTURE_COORDS = &H0B03
Const GL_CURRENT_RASTER_COLOR = &H0B04
Const GL_CURRENT_RASTER_INDEX = &H0B05
Const GL_CURRENT_RASTER_TEXTURE_COORDS = &H0B06
Const GL_CURRENT_RASTER_POSITION = &H0B07
Const GL_CURRENT_RASTER_POSITION_VALID = &H0B08
Const GL_CURRENT_RASTER_DISTANCE = &H0B09
Const GL_POINT_SMOOTH = &H0B10
Const GL_POINT_SIZE = &H0B11
Const GL_POINT_SIZE_RANGE = &H0B12
Const GL_POINT_SIZE_GRANULARITY = &H0B13
Const GL_LINE_SMOOTH = &H0B20
Const GL_LINE_WIDTH = &H0B21
Const GL_LINE_WIDTH_RANGE = &H0B22
Const GL_LINE_WIDTH_GRANULARITY = &H0B23
Const GL_LINE_STIPPLE = &H0B24
Const GL_LINE_STIPPLE_PATTERN = &H0B25
Const GL_LINE_STIPPLE_REPEAT = &H0B26
Const GL_LIST_MODE = &H0B30
Const GL_MAX_LIST_NESTING = &H0B31
Const GL_LIST_BASE = &H0B32
Const GL_LIST_INDEX = &H0B33
Const GL_POLYGON_MODE = &H0B40
Const GL_POLYGON_SMOOTH = &H0B41
Const GL_POLYGON_STIPPLE = &H0B42
Const GL_EDGE_FLAG = &H0B43
Const GL_CULL_FACE = &H0B44
Const GL_CULL_FACE_MODE = &H0B45
Const GL_FRONT_FACE = &H0B46
Const GL_LIGHTING = &H0B50
Const GL_LIGHT_MODEL_LOCAL_VIEWER = &H0B51
Const GL_LIGHT_MODEL_TWO_SIDE = &H0B52
Const GL_LIGHT_MODEL_AMBIENT = &H0B53
Const GL_SHADE_MODEL = &H0B54
Const GL_COLOR_MATERIAL_FACE = &H0B55
Const GL_COLOR_MATERIAL_PARAMETER = &H0B56
Const GL_COLOR_MATERIAL = &H0B57
Const GL_FOG = &H0B60
Const GL_FOG_INDEX = &H0B61
Const GL_FOG_DENSITY = &H0B62
Const GL_FOG_START = &H0B63
Const GL_FOG_END = &H0B64
Const GL_FOG_MODE = &H0B65
Const GL_FOG_COLOR = &H0B66
Const GL_DEPTH_RANGE = &H0B70
Const GL_DEPTH_TEST = &H0B71
Const GL_DEPTH_WRITEMASK = &H0B72
Const GL_DEPTH_CLEAR_VALUE = &H0B73
Const GL_DEPTH_FUNC = &H0B74
Const GL_ACCUM_CLEAR_VALUE = &H0B80
Const GL_STENCIL_TEST = &H0B90
Const GL_STENCIL_CLEAR_VALUE = &H0B91
Const GL_STENCIL_FUNC = &H0B92
Const GL_STENCIL_VALUE_MASK = &H0B93
Const GL_STENCIL_FAIL = &H0B94
Const GL_STENCIL_PASS_DEPTH_FAIL = &H0B95
Const GL_STENCIL_PASS_DEPTH_PASS = &H0B96
Const GL_STENCIL_REF = &H0B97
Const GL_STENCIL_WRITEMASK = &H0B98
Const GL_MATRIX_MODE = &H0BA0
Const GL_NORMALIZE = &H0BA1
Const GL_VIEWPORT = &H0BA2
Const GL_MODELVIEW_STACK_DEPTH = &H0BA3
Const GL_PROJECTION_STACK_DEPTH = &H0BA4
Const GL_TEXTURE_STACK_DEPTH = &H0BA5
Const GL_MODELVIEW_MATRIX = &H0BA6
Const GL_PROJECTION_MATRIX = &H0BA7
Const GL_TEXTURE_MATRIX = &H0BA8
Const GL_ATTRIB_STACK_DEPTH = &H0BB0
Const GL_CLIENT_ATTRIB_STACK_DEPTH = &H0BB1
Const GL_ALPHA_TEST = &H0BC0
Const GL_ALPHA_TEST_FUNC = &H0BC1
Const GL_ALPHA_TEST_REF = &H0BC2
Const GL_DITHER = &H0BD0
Const GL_BLEND_DST = &H0BE0
Const GL_BLEND_SRC = &H0BE1
Const GL_BLEND = &H0BE2
Const GL_LOGIC_OP_MODE = &H0BF0
Const GL_INDEX_LOGIC_OP = &H0BF1
Const GL_COLOR_LOGIC_OP = &H0BF2
Const GL_AUX_BUFFERS = &H0C00
Const GL_DRAW_BUFFER = &H0C01
Const GL_READ_BUFFER = &H0C02
Const GL_SCISSOR_BOX = &H0C10
Const GL_SCISSOR_TEST = &H0C11
Const GL_INDEX_CLEAR_VALUE = &H0C20
Const GL_INDEX_WRITEMASK = &H0C21
Const GL_COLOR_CLEAR_VALUE = &H0C22
Const GL_COLOR_WRITEMASK = &H0C23
Const GL_INDEX_MODE = &H0C30
Const GL_RGBA_MODE = &H0C31
Const GL_DOUBLEBUFFER = &H0C32
Const GL_STEREO = &H0C33
Const GL_RENDER_MODE = &H0C40
Const GL_PERSPECTIVE_CORRECTION_HINT = &H0C50
Const GL_POINT_SMOOTH_HINT = &H0C51
Const GL_LINE_SMOOTH_HINT = &H0C52
Const GL_POLYGON_SMOOTH_HINT = &H0C53
Const GL_FOG_HINT = &H0C54
Const GL_TEXTURE_GEN_S = &H0C60
Const GL_TEXTURE_GEN_T = &H0C61
Const GL_TEXTURE_GEN_R = &H0C62
Const GL_TEXTURE_GEN_Q = &H0C63
Const GL_PIXEL_MAP_I_TO_I = &H0C70
Const GL_PIXEL_MAP_S_TO_S = &H0C71
Const GL_PIXEL_MAP_I_TO_R = &H0C72
Const GL_PIXEL_MAP_I_TO_G = &H0C73
Const GL_PIXEL_MAP_I_TO_B = &H0C74
Const GL_PIXEL_MAP_I_TO_A = &H0C75
Const GL_PIXEL_MAP_R_TO_R = &H0C76
Const GL_PIXEL_MAP_G_TO_G = &H0C77
Const GL_PIXEL_MAP_B_TO_B = &H0C78
Const GL_PIXEL_MAP_A_TO_A = &H0C79
Const GL_PIXEL_MAP_I_TO_I_SIZE = &H0CB0
Const GL_PIXEL_MAP_S_TO_S_SIZE = &H0CB1
Const GL_PIXEL_MAP_I_TO_R_SIZE = &H0CB2
Const GL_PIXEL_MAP_I_TO_G_SIZE = &H0CB3
Const GL_PIXEL_MAP_I_TO_B_SIZE = &H0CB4
Const GL_PIXEL_MAP_I_TO_A_SIZE = &H0CB5
Const GL_PIXEL_MAP_R_TO_R_SIZE = &H0CB6
Const GL_PIXEL_MAP_G_TO_G_SIZE = &H0CB7
Const GL_PIXEL_MAP_B_TO_B_SIZE = &H0CB8
Const GL_PIXEL_MAP_A_TO_A_SIZE = &H0CB9
Const GL_UNPACK_SWAP_BYTES = &H0CF0
Const GL_UNPACK_LSB_FIRST = &H0CF1
Const GL_UNPACK_ROW_LENGTH = &H0CF2
Const GL_UNPACK_SKIP_ROWS = &H0CF3
Const GL_UNPACK_SKIP_PIXELS = &H0CF4
Const GL_UNPACK_ALIGNMENT = &H0CF5
Const GL_PACK_SWAP_BYTES = &H0D00
Const GL_PACK_LSB_FIRST = &H0D01
Const GL_PACK_ROW_LENGTH = &H0D02
Const GL_PACK_SKIP_ROWS = &H0D03
Const GL_PACK_SKIP_PIXELS = &H0D04
Const GL_PACK_ALIGNMENT = &H0D05
Const GL_MAP_COLOR = &H0D10
Const GL_MAP_STENCIL = &H0D11
Const GL_INDEX_SHIFT = &H0D12
Const GL_INDEX_OFFSET = &H0D13
Const GL_RED_SCALE = &H0D14
Const GL_RED_BIAS = &H0D15
Const GL_ZOOM_X = &H0D16
Const GL_ZOOM_Y = &H0D17
Const GL_GREEN_SCALE = &H0D18
Const GL_GREEN_BIAS = &H0D19
Const GL_BLUE_SCALE = &H0D1A
Const GL_BLUE_BIAS = &H0D1B
Const GL_ALPHA_SCALE = &H0D1C
Const GL_ALPHA_BIAS = &H0D1D
Const GL_DEPTH_SCALE = &H0D1E
Const GL_DEPTH_BIAS = &H0D1F
Const GL_MAX_EVAL_ORDER = &H0D30
Const GL_MAX_LIGHTS = &H0D31
Const GL_MAX_CLIP_PLANES = &H0D32
Const GL_MAX_TEXTURE_SIZE = &H0D33
Const GL_MAX_PIXEL_MAP_TABLE = &H0D34
Const GL_MAX_ATTRIB_STACK_DEPTH = &H0D35
Const GL_MAX_MODELVIEW_STACK_DEPTH = &H0D36
Const GL_MAX_NAME_STACK_DEPTH = &H0D37
Const GL_MAX_PROJECTION_STACK_DEPTH = &H0D38
Const GL_MAX_TEXTURE_STACK_DEPTH = &H0D39
Const GL_MAX_VIEWPORT_DIMS = &H0D3A
Const GL_MAX_CLIENT_ATTRIB_STACK_DEPTH = &H0D3B
Const GL_SUBPIXEL_BITS = &H0D50
Const GL_INDEX_BITS = &H0D51
Const GL_RED_BITS = &H0D52
Const GL_GREEN_BITS = &H0D53
Const GL_BLUE_BITS = &H0D54
Const GL_ALPHA_BITS = &H0D55
Const GL_DEPTH_BITS = &H0D56
Const GL_STENCIL_BITS = &H0D57
Const GL_ACCUM_RED_BITS = &H0D58
Const GL_ACCUM_GREEN_BITS = &H0D59
Const GL_ACCUM_BLUE_BITS = &H0D5A
Const GL_ACCUM_ALPHA_BITS = &H0D5B
Const GL_NAME_STACK_DEPTH = &H0D70
Const GL_AUTO_NORMAL = &H0D80
Const GL_MAP1_COLOR_4 = &H0D90
Const GL_MAP1_INDEX = &H0D91
Const GL_MAP1_NORMAL = &H0D92
Const GL_MAP1_TEXTURE_COORD_1 = &H0D93
Const GL_MAP1_TEXTURE_COORD_2 = &H0D94
Const GL_MAP1_TEXTURE_COORD_3 = &H0D95
Const GL_MAP1_TEXTURE_COORD_4 = &H0D96
Const GL_MAP1_VERTEX_3 = &H0D97
Const GL_MAP1_VERTEX_4 = &H0D98
Const GL_MAP2_COLOR_4 = &H0DB0
Const GL_MAP2_INDEX = &H0DB1
Const GL_MAP2_NORMAL = &H0DB2
Const GL_MAP2_TEXTURE_COORD_1 = &H0DB3
Const GL_MAP2_TEXTURE_COORD_2 = &H0DB4
Const GL_MAP2_TEXTURE_COORD_3 = &H0DB5
Const GL_MAP2_TEXTURE_COORD_4 = &H0DB6
Const GL_MAP2_VERTEX_3 = &H0DB7
Const GL_MAP2_VERTEX_4 = &H0DB8
Const GL_MAP1_GRID_DOMAIN = &H0DD0
Const GL_MAP1_GRID_SEGMENTS = &H0DD1
Const GL_MAP2_GRID_DOMAIN = &H0DD2
Const GL_MAP2_GRID_SEGMENTS = &H0DD3
Const GL_TEXTURE_1D = &H0DE0
Const GL_TEXTURE_2D = &H0DE1
Const GL_FEEDBACK_BUFFER_POINTER = &H0DF0
Const GL_FEEDBACK_BUFFER_SIZE = &H0DF1
Const GL_FEEDBACK_BUFFER_TYPE = &H0DF2
Const GL_SELECTION_BUFFER_POINTER = &H0DF3
Const GL_SELECTION_BUFFER_SIZE = &H0DF4

Const GL_TEXTURE_WIDTH = &H1000
Const GL_TEXTURE_HEIGHT = &H1001
Const GL_TEXTURE_INTERNAL_FORMAT = &H1003
Const GL_TEXTURE_BORDER_COLOR = &H1004
Const GL_TEXTURE_BORDER = &H1005

Const GL_DONT_CARE = &H1100
Const GL_FASTEST = &H1101
Const GL_NICEST = &H1102

Const GL_LIGHT0 = &H4000
Const GL_LIGHT1 = &H4001
Const GL_LIGHT2 = &H4002
Const GL_LIGHT3 = &H4003
Const GL_LIGHT4 = &H4004
Const GL_LIGHT5 = &H4005
Const GL_LIGHT6 = &H4006
Const GL_LIGHT7 = &H4007

Const GL_AMBIENT = &H1200
Const GL_DIFFUSE = &H1201
Const GL_SPECULAR = &H1202
Const GL_POSITION = &H1203
Const GL_SPOT_DIRECTION = &H1204
Const GL_SPOT_EXPONENT = &H1205
Const GL_SPOT_CUTOFF = &H1206
Const GL_CONSTANT_ATTENUATION = &H1207
Const GL_LINEAR_ATTENUATION = &H1208
Const GL_QUADRATIC_ATTENUATION = &H1209

Const GL_COMPILE = &H1300
Const GL_COMPILE_AND_EXECUTE = &H1301

Const GL_CLEAR = &H1500
Const GL_AND = &H1501
Const GL_AND_REVERSE = &H1502
Const GL_COPY = &H1503
Const GL_AND_INVERTED = &H1504
Const GL_NOOP = &H1505
Const GL_XOR = &H1506
Const GL_OR = &H1507
Const GL_NOR = &H1508
Const GL_EQUIV = &H1509
Const GL_INVERT = &H150A
Const GL_OR_REVERSE = &H150B
Const GL_COPY_INVERTED = &H150C
Const GL_OR_INVERTED = &H150D
Const GL_NAND = &H150E
Const GL_SET = &H150F

Const GL_EMISSION = &H1600
Const GL_SHININESS = &H1601
Const GL_AMBIENT_AND_DIFFUSE = &H1602
Const GL_COLOR_INDEXES = &H1603

Const GL_MODELVIEW = &H1700
Const GL_PROJECTION = &H1701
Const GL_TEXTURE = &H1702

Const GL_COLOR = &H1800
Const GL_DEPTH = &H1801
Const GL_STENCIL = &H1802

Const GL_COLOR_INDEX = &H1900
Const GL_STENCIL_INDEX = &H1901
Const GL_DEPTH_COMPONENT = &H1902
Const GL_RED = &H1903
Const GL_GREEN = &H1904
Const GL_BLUE = &H1905
Const GL_ALPHA = &H1906
Const GL_RGB = &H1907
Const GL_RGBA = &H1908
Const GL_LUMINANCE = &H1909
Const GL_LUMINANCE_ALPHA = &H190A

Const GL_BITMAP = &H1A00

Const GL_POINT = &H1B00
Const GL_LINE = &H1B01
Const GL_FILL = &H1B02

Const GL_RENDER = &H1C00
Const GL_FEEDBACK = &H1C01
Const GL_SELECT = &H1C02

Const GL_FLAT = &H1D00
Const GL_SMOOTH = &H1D01

Const GL_KEEP = &H1E00
Const GL_REPLACE = &H1E01
Const GL_INCR = &H1E02
Const GL_DECR = &H1E03

Const GL_VENDOR = &H1F00
Const GL_RENDERER = &H1F01
Const GL_VERSION = &H1F02
Const GL_EXTENSIONS = &H1F03

Const GL_S = &H2000
Const GL_T = &H2001
Const GL_R = &H2002
Const GL_Q = &H2003

Const GL_MODULATE = &H2100
Const GL_DECAL = &H2101

Const GL_TEXTURE_ENV_MODE = &H2200
Const GL_TEXTURE_ENV_COLOR = &H2201

Const GL_TEXTURE_ENV = &H2300

Const GL_EYE_LINEAR = &H2400
Const GL_OBJECT_LINEAR = &H2401
Const GL_SPHERE_MAP = &H2402

Const GL_TEXTURE_GEN_MODE = &H2500
Const GL_OBJECT_PLANE = &H2501
Const GL_EYE_PLANE = &H2502

Const GL_NEAREST = &H2600
Const GL_LINEAR = &H2601

Const GL_NEAREST_MIPMAP_NEAREST = &H2700
Const GL_LINEAR_MIPMAP_NEAREST = &H2701
Const GL_NEAREST_MIPMAP_LINEAR = &H2702
Const GL_LINEAR_MIPMAP_LINEAR = &H2703

Const GL_TEXTURE_MAG_FILTER = &H2800
Const GL_TEXTURE_MIN_FILTER = &H2801
Const GL_TEXTURE_WRAP_S = &H2802
Const GL_TEXTURE_WRAP_T = &H2803

Const GL_CLAMP = &H2900
Const GL_REPEAT = &H2901

Const GL_CLIENT_PIXEL_STORE_BIT = &H00000001
Const GL_CLIENT_VERTEX_ARRAY_BIT = &H00000002
Const GL_CLIENT_ALL_ATTRIB_BITS = &Hffffffff

Const GL_POLYGON_OFFSET_FACTOR = &H8038
Const GL_POLYGON_OFFSET_UNITS = &H2A00
Const GL_POLYGON_OFFSET_POINT = &H2A01
Const GL_POLYGON_OFFSET_LINE = &H2A02
Const GL_POLYGON_OFFSET_FILL = &H8037

Const GL_ALPHA4 = &H803B
Const GL_ALPHA8 = &H803C
Const GL_ALPHA12 = &H803D
Const GL_ALPHA16 = &H803E
Const GL_LUMINANCE4 = &H803F
Const GL_LUMINANCE8 = &H8040
Const GL_LUMINANCE12 = &H8041
Const GL_LUMINANCE16 = &H8042
Const GL_LUMINANCE4_ALPHA4 = &H8043
Const GL_LUMINANCE6_ALPHA2 = &H8044
Const GL_LUMINANCE8_ALPHA8 = &H8045
Const GL_LUMINANCE12_ALPHA4 = &H8046
Const GL_LUMINANCE12_ALPHA12 = &H8047
Const GL_LUMINANCE16_ALPHA16 = &H8048
Const GL_INTENSITY = &H8049
Const GL_INTENSITY4 = &H804A
Const GL_INTENSITY8 = &H804B
Const GL_INTENSITY12 = &H804C
Const GL_INTENSITY16 = &H804D
Const GL_R3_G3_B2 = &H2A10
Const GL_RGB4 = &H804F
Const GL_RGB5 = &H8050
Const GL_RGB8 = &H8051
Const GL_RGB10 = &H8052
Const GL_RGB12 = &H8053
Const GL_RGB16 = &H8054
Const GL_RGBA2 = &H8055
Const GL_RGBA4 = &H8056
Const GL_RGB5_A1 = &H8057
Const GL_RGBA8 = &H8058
Const GL_RGB10_A2 = &H8059
Const GL_RGBA12 = &H805A
Const GL_RGBA16 = &H805B
Const GL_TEXTURE_RED_SIZE = &H805C
Const GL_TEXTURE_GREEN_SIZE = &H805D
Const GL_TEXTURE_BLUE_SIZE = &H805E
Const GL_TEXTURE_ALPHA_SIZE = &H805F
Const GL_TEXTURE_LUMINANCE_SIZE = &H8060
Const GL_TEXTURE_INTENSITY_SIZE = &H8061
Const GL_PROXY_TEXTURE_1D = &H8063
Const GL_PROXY_TEXTURE_2D = &H8064

Const GL_TEXTURE_PRIORITY = &H8066
Const GL_TEXTURE_RESIDENT = &H8067
Const GL_TEXTURE_BINDING_1D = &H8068
Const GL_TEXTURE_BINDING_2D = &H8069

Const GL_VERTEX_ARRAY = &H8074
Const GL_NORMAL_ARRAY = &H8075
Const GL_COLOR_ARRAY = &H8076
Const GL_INDEX_ARRAY = &H8077
Const GL_TEXTURE_COORD_ARRAY = &H8078
Const GL_EDGE_FLAG_ARRAY = &H8079
Const GL_VERTEX_ARRAY_SIZE = &H807A
Const GL_VERTEX_ARRAY_TYPE = &H807B
Const GL_VERTEX_ARRAY_STRIDE = &H807C
Const GL_NORMAL_ARRAY_TYPE = &H807E
Const GL_NORMAL_ARRAY_STRIDE = &H807F
Const GL_COLOR_ARRAY_SIZE = &H8081
Const GL_COLOR_ARRAY_TYPE = &H8082
Const GL_COLOR_ARRAY_STRIDE = &H8083
Const GL_INDEX_ARRAY_TYPE = &H8085
Const GL_INDEX_ARRAY_STRIDE = &H8086
Const GL_TEXTURE_COORD_ARRAY_SIZE = &H8088
Const GL_TEXTURE_COORD_ARRAY_TYPE = &H8089
Const GL_TEXTURE_COORD_ARRAY_STRIDE = &H808A
Const GL_EDGE_FLAG_ARRAY_STRIDE = &H808C
Const GL_VERTEX_ARRAY_POINTER = &H808E
Const GL_NORMAL_ARRAY_POINTER = &H808F
Const GL_COLOR_ARRAY_POINTER = &H8090
Const GL_INDEX_ARRAY_POINTER = &H8091
Const GL_TEXTURE_COORD_ARRAY_POINTER = &H8092
Const GL_EDGE_FLAG_ARRAY_POINTER = &H8093
Const GL_V2F = &H2A20
Const GL_V3F = &H2A21
Const GL_C4UB_V2F = &H2A22
Const GL_C4UB_V3F = &H2A23
Const GL_C3F_V3F = &H2A24
Const GL_N3F_V3F = &H2A25
Const GL_C4F_N3F_V3F = &H2A26
Const GL_T2F_V3F = &H2A27
Const GL_T4F_V4F = &H2A28
Const GL_T2F_C4UB_V3F = &H2A29
Const GL_T2F_C3F_V3F = &H2A2A
Const GL_T2F_N3F_V3F = &H2A2B
Const GL_T2F_C4F_N3F_V3F = &H2A2C
Const GL_T4F_C4F_N3F_V4F = &H2A2D

Const GL_EXT_vertex_array = 1
Const GL_EXT_bgra = 1
Const GL_EXT_paletted_texture = 1
Const GL_WIN_swap_hint = 1
Const GL_WIN_draw_range_elements = 1

Const GL_VERTEX_ARRAY_EXT = &H8074
Const GL_NORMAL_ARRAY_EXT = &H8075
Const GL_COLOR_ARRAY_EXT = &H8076
Const GL_INDEX_ARRAY_EXT = &H8077
Const GL_TEXTURE_COORD_ARRAY_EXT = &H8078
Const GL_EDGE_FLAG_ARRAY_EXT = &H8079
Const GL_VERTEX_ARRAY_SIZE_EXT = &H807A
Const GL_VERTEX_ARRAY_TYPE_EXT = &H807B
Const GL_VERTEX_ARRAY_STRIDE_EXT = &H807C
Const GL_VERTEX_ARRAY_COUNT_EXT = &H807D
Const GL_NORMAL_ARRAY_TYPE_EXT = &H807E
Const GL_NORMAL_ARRAY_STRIDE_EXT = &H807F
Const GL_NORMAL_ARRAY_COUNT_EXT = &H8080
Const GL_COLOR_ARRAY_SIZE_EXT = &H8081
Const GL_COLOR_ARRAY_TYPE_EXT = &H8082
Const GL_COLOR_ARRAY_STRIDE_EXT = &H8083
Const GL_COLOR_ARRAY_COUNT_EXT = &H8084
Const GL_INDEX_ARRAY_TYPE_EXT = &H8085
Const GL_INDEX_ARRAY_STRIDE_EXT = &H8086
Const GL_INDEX_ARRAY_COUNT_EXT = &H8087
Const GL_TEXTURE_COORD_ARRAY_SIZE_EXT = &H8088
Const GL_TEXTURE_COORD_ARRAY_TYPE_EXT = &H8089
Const GL_TEXTURE_COORD_ARRAY_STRIDE_EXT = &H808A
Const GL_TEXTURE_COORD_ARRAY_COUNT_EXT = &H808B
Const GL_EDGE_FLAG_ARRAY_STRIDE_EXT = &H808C
Const GL_EDGE_FLAG_ARRAY_COUNT_EXT = &H808D
Const GL_VERTEX_ARRAY_POINTER_EXT = &H808E
Const GL_NORMAL_ARRAY_POINTER_EXT = &H808F
Const GL_COLOR_ARRAY_POINTER_EXT = &H8090
Const GL_INDEX_ARRAY_POINTER_EXT = &H8091
Const GL_TEXTURE_COORD_ARRAY_POINTER_EXT = &H8092
Const GL_EDGE_FLAG_ARRAY_POINTER_EXT = &H8093
Const GL_DOUBLE_EXT = GL_DOUBLE

Const GL_BGR_EXT = &H80E0
Const GL_BGRA_EXT = &H80E1

Const GL_COLOR_TABLE_FORMAT_EXT = &H80D8
Const GL_COLOR_TABLE_WIDTH_EXT = &H80D9
Const GL_COLOR_TABLE_RED_SIZE_EXT = &H80DA
Const GL_COLOR_TABLE_GREEN_SIZE_EXT = &H80DB
Const GL_COLOR_TABLE_BLUE_SIZE_EXT = &H80DC
Const GL_COLOR_TABLE_ALPHA_SIZE_EXT = &H80DD
Const GL_COLOR_TABLE_LUMINANCE_SIZE_EXT = &H80DE
Const GL_COLOR_TABLE_INTENSITY_SIZE_EXT = &H80DF

Const GL_COLOR_INDEX1_EXT = &H80E2
Const GL_COLOR_INDEX2_EXT = &H80E3
Const GL_COLOR_INDEX4_EXT = &H80E4
Const GL_COLOR_INDEX8_EXT = &H80E5
Const GL_COLOR_INDEX12_EXT = &H80E6
Const GL_COLOR_INDEX16_EXT = &H80E7

Const GL_MAX_ELEMENTS_VERTICES_WIN = &H80E8
Const GL_MAX_ELEMENTS_INDICES_WIN = &H80E9

Const GL_PHONG_WIN = &H80EA 
Const GL_PHONG_HINT_WIN = &H80EB 

Const GL_FOG_SPECULAR_TEXTURE_WIN = &H80EC

Const GL_LOGIC_OP = GL_INDEX_LOGIC_OP
Const GL_TEXTURE_COMPONENTS = GL_TEXTURE_INTERNAL_FORMAT

Declare Sub glAccum Lib "opengl32" (op As GLenum, value As GLfloat)
Declare Sub glAlphaFunc Lib "opengl32" (func As GLenum, ref As GLclampf)
Declare Function glAreTexturesResident Lib "opengl32" (n As GLsizei, textures As *GLuint, residences As *GLboolean) As GLboolean
Declare Sub glArrayElement Lib "opengl32" (i As GLint)
Declare Sub glBegin Lib "opengl32" (mode As GLenum)
Declare Sub glBindTexture Lib "opengl32" (target As GLenum, texture As GLuint)
Declare Sub glBitmap Lib "opengl32" (width As GLsizei, height As GLsizei, xorig As GLfloat, yorig As GLfloat, xmove As GLfloat, ymove As GLfloat, bitmap As *GLubyte)
Declare Sub glBlendFunc Lib "opengl32" (sfactor As GLenum, dfactor As GLenum)
Declare Sub glCallList Lib "opengl32" (list As GLuint)
Declare Sub glCallLists Lib "opengl32" (n As GLsizei, type_ As GLenum, lists As *GLvoid)
Declare Sub glClear Lib "opengl32" (mask As GLbitfield)
Declare Sub glClearAccum Lib "opengl32" (red As GLfloat, green As GLfloat, blue As GLfloat, alpha As GLfloat)
Declare Sub glClearColor Lib "opengl32" (red As GLclampf, green As GLclampf, blue As GLclampf, alpha As GLclampf)
Declare Sub glClearDepth Lib "opengl32" (depth As GLclampd)
Declare Sub glClearIndex Lib "opengl32" (c As GLfloat)
Declare Sub glClearStencil Lib "opengl32" (s As GLint)
Declare Sub glClipPlane Lib "opengl32" (plane As GLenum, equation As *GLdouble)
Declare Sub glColor3b Lib "opengl32" (red As GLbyte, green As GLbyte, blue As GLbyte)
Declare Sub glColor3bv Lib "opengl32" (v As *GLbyte)
Declare Sub glColor3d Lib "opengl32" (red As GLdouble, green As GLdouble, blue As GLdouble)
Declare Sub glColor3dv Lib "opengl32" (v As *GLdouble)
Declare Sub glColor3f Lib "opengl32" (red As GLfloat, green As GLfloat, blue As GLfloat)
Declare Sub glColor3fv Lib "opengl32" (v As *GLfloat)
Declare Sub glColor3i Lib "opengl32" (red As GLint, green As GLint, blue As GLint)
Declare Sub glColor3iv Lib "opengl32" (v As *GLint)
Declare Sub glColor3s Lib "opengl32" (red As GLshort, green As GLshort, blue As GLshort)
Declare Sub glColor3sv Lib "opengl32" (v As *GLshort)
Declare Sub glColor3ub Lib "opengl32" (red As GLubyte, green As GLubyte, blue As GLubyte)
Declare Sub glColor3ubv Lib "opengl32" (v As *GLubyte)
Declare Sub glColor3ui Lib "opengl32" (red As GLuint, green As GLuint, blue As GLuint)
Declare Sub glColor3uiv Lib "opengl32" (v As *GLuint)
Declare Sub glColor3us Lib "opengl32" (red As GLushort, green As GLushort, blue As GLushort)
Declare Sub glColor3usv Lib "opengl32" (v As *GLushort)
Declare Sub glColor4b Lib "opengl32" (red As GLbyte, green As GLbyte, blue As GLbyte, alpha As GLbyte)
Declare Sub glColor4bv Lib "opengl32" (v As *GLbyte)
Declare Sub glColor4d Lib "opengl32" (red As GLdouble, green As GLdouble, blue As GLdouble, alpha As GLdouble)
Declare Sub glColor4dv Lib "opengl32" (v As *GLdouble)
Declare Sub glColor4f Lib "opengl32" (red As GLfloat, green As GLfloat, blue As GLfloat, alpha As GLfloat)
Declare Sub glColor4fv Lib "opengl32" (v As *GLfloat)
Declare Sub glColor4i Lib "opengl32" (red As GLint, green As GLint, blue As GLint, alpha As GLint)
Declare Sub glColor4iv Lib "opengl32" (v As *GLint)
Declare Sub glColor4s Lib "opengl32" (red As GLshort, green As GLshort, blue As GLshort, alpha As GLshort)
Declare Sub glColor4sv Lib "opengl32" (v As *GLshort)
Declare Sub glColor4ub Lib "opengl32" (red As GLubyte, green As GLubyte, blue As GLubyte, alpha As GLubyte)
Declare Sub glColor4ubv Lib "opengl32" (v As *GLubyte)
Declare Sub glColor4ui Lib "opengl32" (red As GLuint, green As GLuint, blue As GLuint, alpha As GLuint)
Declare Sub glColor4uiv Lib "opengl32" (v As *GLuint)
Declare Sub glColor4us Lib "opengl32" (red As GLushort, green As GLushort, blue As GLushort, alpha As GLushort)
Declare Sub glColor4usv Lib "opengl32" (v As *GLushort)
Declare Sub glColorMask Lib "opengl32" (red As GLboolean, green As GLboolean, blue As GLboolean, alpha As GLboolean)
Declare Sub glColorMaterial Lib "opengl32" (face As GLenum, mode As GLenum)
Declare Sub glColorPointer Lib "opengl32" (size As GLint, type_ As GLenum, stride As GLsizei, pointer As *GLvoid)
Declare Sub glCopyPixels Lib "opengl32" (x As GLint, y As GLint, width As GLsizei, height As GLsizei, type_ As GLenum)
Declare Sub glCopyTexImage1D Lib "opengl32" (target As GLenum, level As GLint, internalFormat As GLenum, x As GLint, y As GLint, width As GLsizei, border As GLint)
Declare Sub glCopyTexImage2D Lib "opengl32" (target As GLenum, level As GLint, internalFormat As GLenum, x As GLint, y As GLint, width As GLsizei, height As GLsizei, border As GLint)
Declare Sub glCopyTexSubImage1D Lib "opengl32" (target As GLenum, level As GLint, xoffset As GLint, x As GLint, y As GLint, width As GLsizei)
Declare Sub glCopyTexSubImage2D Lib "opengl32" (target As GLenum, level As GLint, xoffset As GLint, yoffset As GLint, x As GLint, y As GLint, width As GLsizei, height As GLsizei)
Declare Sub glCullFace Lib "opengl32" (mode As GLenum)
Declare Sub glDeleteLists Lib "opengl32" (list As GLuint, range As GLsizei)
Declare Sub glDeleteTextures Lib "opengl32" (n As GLsizei, textures As *GLuint)
Declare Sub glDepthFunc Lib "opengl32" (func As GLenum)
Declare Sub glDepthMask Lib "opengl32" (flag As GLboolean)
Declare Sub glDepthRange Lib "opengl32" (zNear As GLclampd, zFar As GLclampd)
Declare Sub glDisable Lib "opengl32" (cap As GLenum)
Declare Sub glDisableClientState Lib "opengl32" (array As GLenum)
Declare Sub glDrawArrays Lib "opengl32" (mode As GLenum, first As GLint, count As GLsizei)
Declare Sub glDrawBuffer Lib "opengl32" (mode As GLenum)
Declare Sub glDrawElements Lib "opengl32" (mode As GLenum, count As GLsizei, type_ As GLenum, indices As *GLvoid)
Declare Sub glDrawPixels Lib "opengl32" (width As GLsizei, height As GLsizei, format As GLenum, type_ As GLenum, pixels As *GLvoid)
Declare Sub glEdgeFlag Lib "opengl32" (flag As GLboolean)
Declare Sub glEdgeFlagPointer Lib "opengl32" (stride As GLsizei, pointer As *GLvoid)
Declare Sub glEdgeFlagv Lib "opengl32" (flag As *GLboolean)
Declare Sub glEnable Lib "opengl32" (cap As GLenum)
Declare Sub glEnableClientState Lib "opengl32" (array As GLenum)
Declare Sub glEnd Lib "opengl32" ()
Declare Sub glEndList Lib "opengl32" ()
Declare Sub glEvalCoord1d Lib "opengl32" (u As GLdouble)
Declare Sub glEvalCoord1dv Lib "opengl32" (u As *GLdouble)
Declare Sub glEvalCoord1f Lib "opengl32" (u As GLfloat)
Declare Sub glEvalCoord1fv Lib "opengl32" (u As *GLfloat)
Declare Sub glEvalCoord2d Lib "opengl32" (u As GLdouble, v As GLdouble)
Declare Sub glEvalCoord2dv Lib "opengl32" (u As *GLdouble)
Declare Sub glEvalCoord2f Lib "opengl32" (u As GLfloat, v As GLfloat)
Declare Sub glEvalCoord2fv Lib "opengl32" (u As *GLfloat)
Declare Sub glEvalMesh1 Lib "opengl32" (mode As GLenum, i1 As GLint, i2 As GLint)
Declare Sub glEvalMesh2 Lib "opengl32" (mode As GLenum, i1 As GLint, i2 As GLint, j1 As GLint, j2 As GLint)
Declare Sub glEvalPoint1 Lib "opengl32" (i As GLint)
Declare Sub glEvalPoint2 Lib "opengl32" (i As GLint, j As GLint)
Declare Sub glFeedbackBuffer Lib "opengl32" (size As GLsizei, type_ As GLenum, buffer As *GLfloat)
Declare Sub glFinish Lib "opengl32" ()
Declare Sub glFlush Lib "opengl32" ()
Declare Sub glFogf Lib "opengl32" (pname As GLenum, param As GLfloat)
Declare Sub glFogfv Lib "opengl32" (pname As GLenum, params As *GLfloat)
Declare Sub glFogi Lib "opengl32" (pname As GLenum, param As GLint)
Declare Sub glFogiv Lib "opengl32" (pname As GLenum, params As *GLint)
Declare Sub glFrontFace Lib "opengl32" (mode As GLenum)
Declare Sub glFrustum Lib "opengl32" (left As GLdouble, right As GLdouble, bottom As GLdouble, top As GLdouble, zNear As GLdouble, zFar As GLdouble)
Declare Function glGenLists Lib "opengl32" (range As GLsizei) As GLuint
Declare Sub glGenTextures Lib "opengl32" (n As GLsizei, textures As *GLuint)
Declare Sub glGetBooleanv Lib "opengl32" (pname As GLenum, params As *GLboolean)
Declare Sub glGetClipPlane Lib "opengl32" (plane As GLenum, equation As *GLdouble)
Declare Sub glGetDoublev Lib "opengl32" (pname As GLenum, params As *GLdouble)
Declare Function glGetError Lib "opengl32" () As GLenum
Declare Sub glGetFloatv Lib "opengl32" (pname As GLenum, params As *GLfloat)
Declare Sub glGetIntegerv Lib "opengl32" (pname As GLenum, params As *GLint)
Declare Sub glGetLightfv Lib "opengl32" (light As GLenum, pname As GLenum, params As *GLfloat)
Declare Sub glGetLightiv Lib "opengl32" (light As GLenum, pname As GLenum, params As *GLint)
Declare Sub glGetMapdv Lib "opengl32" (target As GLenum, query As GLenum, v As *GLdouble)
Declare Sub glGetMapfv Lib "opengl32" (target As GLenum, query As GLenum, v As *GLfloat)
Declare Sub glGetMapiv Lib "opengl32" (target As GLenum, query As GLenum, v As *GLint)
Declare Sub glGetMaterialfv Lib "opengl32" (face As GLenum, pname As GLenum, params As *GLfloat)
Declare Sub glGetMaterialiv Lib "opengl32" (face As GLenum, pname As GLenum, params As *GLint)
Declare Sub glGetPixelMapfv Lib "opengl32" (map As GLenum, values As *GLfloat)
Declare Sub glGetPixelMapuiv Lib "opengl32" (map As GLenum, values As *GLuint)
Declare Sub glGetPixelMapusv Lib "opengl32" (map As GLenum, values As *GLushort)
Declare Sub glGetPointerv Lib "opengl32" (pname As GLenum, ByRef values As *GLvoid)
Declare Sub glGetPolygonStipple Lib "opengl32" (mask As *GLubyte)
Declare Function glGetString Lib "opengl32" (name As GLenum) As *GLubyte
Declare Sub glGetTexEnvfv Lib "opengl32" (target As GLenum, pname As GLenum, params As *GLfloat)
Declare Sub glGetTexEnviv Lib "opengl32" (target As GLenum, pname As GLenum, params As *GLint)
Declare Sub glGetTexGendv Lib "opengl32" (coord As GLenum, pname As GLenum, params As *GLdouble)
Declare Sub glGetTexGenfv Lib "opengl32" (coord As GLenum, pname As GLenum, params As *GLfloat)
Declare Sub glGetTexGeniv Lib "opengl32" (coord As GLenum, pname As GLenum, params As *GLint)
Declare Sub glGetTexImage Lib "opengl32" (target As GLenum, level As GLint, format As GLenum, type_ As GLenum, pixels As *GLvoid)
Declare Sub glGetTexLevelParameterfv Lib "opengl32" (target As GLenum, level As GLint, pname As GLenum, params As *GLfloat)
Declare Sub glGetTexLevelParameteriv Lib "opengl32" (target As GLenum, level As GLint, pname As GLenum, params As *GLint)
Declare Sub glGetTexParameterfv Lib "opengl32" (target As GLenum, pname As GLenum, params As *GLfloat)
Declare Sub glGetTexParameteriv Lib "opengl32" (target As GLenum, pname As GLenum, params As *GLint)
Declare Sub glHint Lib "opengl32" (target As GLenum, mode As GLenum)
Declare Sub glIndexMask Lib "opengl32" (mask As GLuint)
Declare Sub glIndexPointer Lib "opengl32" (type_ As GLenum, stride As GLsizei, pointer As *GLvoid)
Declare Sub glIndexd Lib "opengl32" (c As GLdouble)
Declare Sub glIndexdv Lib "opengl32" (c As *GLdouble)
Declare Sub glIndexf Lib "opengl32" (c As GLfloat)
Declare Sub glIndexfv Lib "opengl32" (c As *GLfloat)
Declare Sub glIndexi Lib "opengl32" (c As GLint)
Declare Sub glIndexiv Lib "opengl32" (c As *GLint)
Declare Sub glIndexs Lib "opengl32" (c As GLshort)
Declare Sub glIndexsv Lib "opengl32" (c As *GLshort)
Declare Sub glIndexub Lib "opengl32" (c As GLubyte)
Declare Sub glIndexubv Lib "opengl32" (c As *GLubyte)
Declare Sub glInitNames Lib "opengl32" ()
Declare Sub glInterleavedArrays Lib "opengl32" (format As GLenum, stride As GLsizei, pointer As *GLvoid)
Declare Function glIsEnabled Lib "opengl32" (cap As GLenum) As GLboolean
Declare Function glIsList Lib "opengl32" (list As GLuint) As GLboolean
Declare Function glIsTexture Lib "opengl32" (texture As GLuint) As GLboolean
Declare Sub glLightModelf Lib "opengl32" (pname As GLenum, param As GLfloat)
Declare Sub glLightModelfv Lib "opengl32" (pname As GLenum, params As *GLfloat)
Declare Sub glLightModeli Lib "opengl32" (pname As GLenum, param As GLint)
Declare Sub glLightModeliv Lib "opengl32" (pname As GLenum, params As *GLint)
Declare Sub glLightf Lib "opengl32" (light As GLenum, pname As GLenum, param As GLfloat)
Declare Sub glLightfv Lib "opengl32" (light As GLenum, pname As GLenum, params As *GLfloat)
Declare Sub glLighti Lib "opengl32" (light As GLenum, pname As GLenum, param As GLint)
Declare Sub glLightiv Lib "opengl32" (light As GLenum, pname As GLenum, params As *GLint)
Declare Sub glLineStipple Lib "opengl32" (factor As GLint, pattern As GLushort)
Declare Sub glLineWidth Lib "opengl32" (width As GLfloat)
Declare Sub glListBase Lib "opengl32" (base As GLuint)
Declare Sub glLoadIdentity Lib "opengl32" ()
Declare Sub glLoadMatrixd Lib "opengl32" (m As *GLdouble)
Declare Sub glLoadMatrixf Lib "opengl32" (m As *GLfloat)
Declare Sub glLoadName Lib "opengl32" (name As GLuint)
Declare Sub glLogicOp Lib "opengl32" (opcode As GLenum)
Declare Sub glMap1d Lib "opengl32" (target As GLenum, u1 As GLdouble, u2 As GLdouble, stride As GLint, order As GLint, points As *GLdouble)
Declare Sub glMap1f Lib "opengl32" (target As GLenum, u1 As GLfloat, u2 As GLfloat, stride As GLint, order As GLint, points As *GLfloat)
Declare Sub glMap2d Lib "opengl32" (target As GLenum, u1 As GLdouble, u2 As GLdouble, ustride As GLint, uorder As GLint, v1 As GLdouble, v2 As GLdouble, vstride As GLint, vorder As GLint, points As *GLdouble)
Declare Sub glMap2f Lib "opengl32" (target As GLenum, u1 As GLfloat, u2 As GLfloat, ustride As GLint, uorder As GLint, v1 As GLfloat, v2 As GLfloat, vstride As GLint, vorder As GLint, points As *GLfloat)
Declare Sub glMapGrid1d Lib "opengl32" (un As GLint, u1 As GLdouble, u2 As GLdouble)
Declare Sub glMapGrid1f Lib "opengl32" (un As GLint, u1 As GLfloat, u2 As GLfloat)
Declare Sub glMapGrid2d Lib "opengl32" (un As GLint, u1 As GLdouble, u2 As GLdouble, vn As GLint, v1 As GLdouble, v2 As GLdouble)
Declare Sub glMapGrid2f Lib "opengl32" (un As GLint, u1 As GLfloat, u2 As GLfloat, vn As GLint, v1 As GLfloat, v2 As GLfloat)
Declare Sub glMaterialf Lib "opengl32" (face As GLenum, pname As GLenum, param As GLfloat)
Declare Sub glMaterialfv Lib "opengl32" (face As GLenum, pname As GLenum, params As *GLfloat)
Declare Sub glMateriali Lib "opengl32" (face As GLenum, pname As GLenum, param As GLint)
Declare Sub glMaterialiv Lib "opengl32" (face As GLenum, pname As GLenum, params As *GLint)
Declare Sub glMatrixMode Lib "opengl32" (mode As GLenum)
Declare Sub glMultMatrixd Lib "opengl32" (m As *GLdouble)
Declare Sub glMultMatrixf Lib "opengl32" (m As *GLfloat)
Declare Sub glNewList Lib "opengl32" (list As GLuint, mode As GLenum)
Declare Sub glNormal3b Lib "opengl32" (nx As GLbyte, ny As GLbyte, nz As GLbyte)
Declare Sub glNormal3bv Lib "opengl32" (v As *GLbyte)
Declare Sub glNormal3d Lib "opengl32" (nx As GLdouble, ny As GLdouble, nz As GLdouble)
Declare Sub glNormal3dv Lib "opengl32" (v As *GLdouble)
Declare Sub glNormal3f Lib "opengl32" (nx As GLfloat, ny As GLfloat, nz As GLfloat)
Declare Sub glNormal3fv Lib "opengl32" (v As *GLfloat)
Declare Sub glNormal3i Lib "opengl32" (nx As GLint, ny As GLint, nz As GLint)
Declare Sub glNormal3iv Lib "opengl32" (v As *GLint)
Declare Sub glNormal3s Lib "opengl32" (nx As GLshort, ny As GLshort, nz As GLshort)
Declare Sub glNormal3sv Lib "opengl32" (v As *GLshort)
Declare Sub glNormalPointer Lib "opengl32" (type_ As GLenum, stride As GLsizei, pointer As *GLvoid)
Declare Sub glOrtho Lib "opengl32" (left As GLdouble, right As GLdouble, bottom As GLdouble, top As GLdouble, zNear As GLdouble, zFar As GLdouble)
Declare Sub glPassThrough Lib "opengl32" (token As GLfloat)
Declare Sub glPixelMapfv Lib "opengl32" (map As GLenum, mapsize As GLsizei, values As *GLfloat)
Declare Sub glPixelMapuiv Lib "opengl32" (map As GLenum, mapsize As GLsizei, values As *GLuint)
Declare Sub glPixelMapusv Lib "opengl32" (map As GLenum, mapsize As GLsizei, values As *GLushort)
Declare Sub glPixelStoref Lib "opengl32" (pname As GLenum, param As GLfloat)
Declare Sub glPixelStorei Lib "opengl32" (pname As GLenum, param As GLint)
Declare Sub glPixelTransferf Lib "opengl32" (pname As GLenum, param As GLfloat)
Declare Sub glPixelTransferi Lib "opengl32" (pname As GLenum, param As GLint)
Declare Sub glPixelZoom Lib "opengl32" (xfactor As GLfloat, yfactor As GLfloat)
Declare Sub glPointSize Lib "opengl32" (size As GLfloat)
Declare Sub glPolygonMode Lib "opengl32" (face As GLenum, mode As GLenum)
Declare Sub glPolygonOffset Lib "opengl32" (factor As GLfloat, units As GLfloat)
Declare Sub glPolygonStipple Lib "opengl32" (mask As *GLubyte)
Declare Sub glPopAttrib Lib "opengl32" ()
Declare Sub glPopClientAttrib Lib "opengl32" ()
Declare Sub glPopMatrix Lib "opengl32" ()
Declare Sub glPopName Lib "opengl32" ()
Declare Sub glPrioritizeTextures Lib "opengl32" (n As GLsizei, textures As *GLuint, priorities As *GLclampf)
Declare Sub glPushAttrib Lib "opengl32" (mask As GLbitfield)
Declare Sub glPushClientAttrib Lib "opengl32" (mask As GLbitfield)
Declare Sub glPushMatrix Lib "opengl32" ()
Declare Sub glPushName Lib "opengl32" (name As GLuint)
Declare Sub glRasterPos2d Lib "opengl32" (x As GLdouble, y As GLdouble)
Declare Sub glRasterPos2dv Lib "opengl32" (v As *GLdouble)
Declare Sub glRasterPos2f Lib "opengl32" (x As GLfloat, y As GLfloat)
Declare Sub glRasterPos2fv Lib "opengl32" (v As *GLfloat)
Declare Sub glRasterPos2i Lib "opengl32" (x As GLint, y As GLint)
Declare Sub glRasterPos2iv Lib "opengl32" (v As *GLint)
Declare Sub glRasterPos2s Lib "opengl32" (x As GLshort, y As GLshort)
Declare Sub glRasterPos2sv Lib "opengl32" (v As *GLshort)
Declare Sub glRasterPos3d Lib "opengl32" (x As GLdouble, y As GLdouble, z As GLdouble)
Declare Sub glRasterPos3dv Lib "opengl32" (v As *GLdouble)
Declare Sub glRasterPos3f Lib "opengl32" (x As GLfloat, y As GLfloat, z As GLfloat)
Declare Sub glRasterPos3fv Lib "opengl32" (v As *GLfloat)
Declare Sub glRasterPos3i Lib "opengl32" (x As GLint, y As GLint, z As GLint)
Declare Sub glRasterPos3iv Lib "opengl32" (v As *GLint)
Declare Sub glRasterPos3s Lib "opengl32" (x As GLshort, y As GLshort, z As GLshort)
Declare Sub glRasterPos3sv Lib "opengl32" (v As *GLshort)
Declare Sub glRasterPos4d Lib "opengl32" (x As GLdouble, y As GLdouble, z As GLdouble, w As GLdouble)
Declare Sub glRasterPos4dv Lib "opengl32" (v As *GLdouble)
Declare Sub glRasterPos4f Lib "opengl32" (x As GLfloat, y As GLfloat, z As GLfloat, w As GLfloat)
Declare Sub glRasterPos4fv Lib "opengl32" (v As *GLfloat)
Declare Sub glRasterPos4i Lib "opengl32" (x As GLint, y As GLint, z As GLint, w As GLint)
Declare Sub glRasterPos4iv Lib "opengl32" (v As *GLint)
Declare Sub glRasterPos4s Lib "opengl32" (x As GLshort, y As GLshort, z As GLshort, w As GLshort)
Declare Sub glRasterPos4sv Lib "opengl32" (v As *GLshort)
Declare Sub glReadBuffer Lib "opengl32" (mode As GLenum)
Declare Sub glReadPixels Lib "opengl32" (x As GLint, y As GLint, width As GLsizei, height As GLsizei, format As GLenum, type_ As GLenum, pixels As *GLvoid)
Declare Sub glRectd Lib "opengl32" (x1 As GLdouble, y1 As GLdouble, x2 As GLdouble, y2 As GLdouble)
Declare Sub glRectdv Lib "opengl32" (v1 As *GLdouble, v2 As *GLdouble)
Declare Sub glRectf Lib "opengl32" (x1 As GLfloat, y1 As GLfloat, x2 As GLfloat, y2 As GLfloat)
Declare Sub glRectfv Lib "opengl32" (v1 As *GLfloat, v2 As *GLfloat)
Declare Sub glRecti Lib "opengl32" (x1 As GLint, y1 As GLint, x2 As GLint, y2 As GLint)
Declare Sub glRectiv Lib "opengl32" (v1 As *GLint, v2 As *GLint)
Declare Sub glRects Lib "opengl32" ( x1 As GLshort, y1 As GLshort, x2 As GLshort, y2 As GLshort)
Declare Sub glRectsv Lib "opengl32" (v1 As *GLshort, v2 As *GLshort)
Declare Function glRenderMode Lib "opengl32" (mode As GLenum) As GLint
Declare Sub glRotated Lib "opengl32" (angle As GLdouble, x As GLdouble, y As GLdouble, z As GLdouble)
Declare Sub glRotatef Lib "opengl32" (angle As GLfloat, x As GLfloat, y As GLfloat, z As GLfloat)
Declare Sub glScaled Lib "opengl32" (x As GLdouble, y As GLdouble, z As GLdouble)
Declare Sub glScalef Lib "opengl32" (x As GLfloat, y As GLfloat, z As GLfloat)
Declare Sub glScissor Lib "opengl32" (x As GLint, y As GLint, width As GLsizei, height As GLsizei)
Declare Sub glSelectBuffer Lib "opengl32" (size As GLsizei, buffer As *GLuint)
Declare Sub glShadeModel Lib "opengl32" (mode As GLenum)
Declare Sub glStencilFunc Lib "opengl32" (func As GLenum, ref As GLint, mask As GLuint)
Declare Sub glStencilMask Lib "opengl32" (mask As GLuint)
Declare Sub glStencilOp Lib "opengl32" (fail As GLenum, zfail As GLenum, zpass As GLenum)
Declare Sub glTexCoord1d Lib "opengl32" (s As GLdouble)
Declare Sub glTexCoord1dv Lib "opengl32" (v As *GLdouble)
Declare Sub glTexCoord1f Lib "opengl32" (s As GLfloat)
Declare Sub glTexCoord1fv Lib "opengl32" (v As *GLfloat)
Declare Sub glTexCoord1i Lib "opengl32" (s As GLint)
Declare Sub glTexCoord1iv Lib "opengl32" (v As *GLint)
Declare Sub glTexCoord1s Lib "opengl32" (s As GLshort)
Declare Sub glTexCoord1sv Lib "opengl32" (v As *GLshort)
Declare Sub glTexCoord2d Lib "opengl32" (s As GLdouble, t As GLdouble)
Declare Sub glTexCoord2dv Lib "opengl32" (v As *GLdouble)
Declare Sub glTexCoord2f Lib "opengl32" (s As GLfloat, t As GLfloat)
Declare Sub glTexCoord2fv Lib "opengl32" (v As *GLfloat)
Declare Sub glTexCoord2i Lib "opengl32" (s As GLint, t As GLint)
Declare Sub glTexCoord2iv Lib "opengl32" (v As *GLint)
Declare Sub glTexCoord2s Lib "opengl32" (s As GLshort, t As GLshort)
Declare Sub glTexCoord2sv Lib "opengl32" (v As *GLshort)
Declare Sub glTexCoord3d Lib "opengl32" (s As GLdouble, t As GLdouble, r As GLdouble)
Declare Sub glTexCoord3dv Lib "opengl32" (v As *GLdouble)
Declare Sub glTexCoord3f Lib "opengl32" (s As GLfloat, t As GLfloat, r As GLfloat)
Declare Sub glTexCoord3fv Lib "opengl32" (v As *GLfloat)
Declare Sub glTexCoord3i Lib "opengl32" (s As GLint, t As GLint, r As GLint)
Declare Sub glTexCoord3iv Lib "opengl32" (v As *GLint)
Declare Sub glTexCoord3s Lib "opengl32" (s As GLshort, t As GLshort, r As GLshort)
Declare Sub glTexCoord3sv Lib "opengl32" (v As *GLshort)
Declare Sub glTexCoord4d Lib "opengl32" (s As GLdouble, t As GLdouble, r As GLdouble, q As GLdouble)
Declare Sub glTexCoord4dv Lib "opengl32" (v As *GLdouble)
Declare Sub glTexCoord4f Lib "opengl32" (s As GLfloat, t As GLfloat, r As GLfloat, q As GLfloat)
Declare Sub glTexCoord4fv Lib "opengl32" (v As *GLfloat)
Declare Sub glTexCoord4i Lib "opengl32" (s As GLint, t As GLint, r As GLint, q As GLint)
Declare Sub glTexCoord4iv Lib "opengl32" (v As *GLint)
Declare Sub glTexCoord4s Lib "opengl32" (s As GLshort, t As GLshort, r As GLshort, q As GLshort)
Declare Sub glTexCoord4sv Lib "opengl32" (v As *GLshort)
Declare Sub glTexCoordPointer Lib "opengl32" (size As GLint, type_ As GLenum, stride As GLsizei, pointer As *GLvoid)
Declare Sub glTexEnvf Lib "opengl32" (target As GLenum, pname As GLenum, param As GLfloat)
Declare Sub glTexEnvfv Lib "opengl32" (target As GLenum, pname As GLenum, params As *GLfloat)
Declare Sub glTexEnvi Lib "opengl32" (target As GLenum, pname As GLenum, param As GLint)
Declare Sub glTexEnviv Lib "opengl32" (target As GLenum, pname As GLenum, params As *GLint)
Declare Sub glTexGend Lib "opengl32" (coord As GLenum, pname As GLenum, param As GLdouble)
Declare Sub glTexGendv Lib "opengl32" (coord As GLenum, pname As GLenum, params As *GLdouble)
Declare Sub glTexGenf Lib "opengl32" (coord As GLenum, pname As GLenum, param As GLfloat)
Declare Sub glTexGenfv Lib "opengl32" (coord As GLenum, pname As GLenum, params As *GLfloat)
Declare Sub glTexGeni Lib "opengl32" (coord As GLenum, pname As GLenum, param As GLint)
Declare Sub glTexGeniv Lib "opengl32" (coord As GLenum, pname As GLenum, params As *GLint)
Declare Sub glTexImage1D Lib "opengl32" (target As GLenum, level As GLint, internalformat As GLint, width As GLsizei, border As GLint, format As GLenum, type_ As GLenum, pixels As *GLvoid)
Declare Sub glTexImage2D Lib "opengl32" (target As GLenum, level As GLint, internalformat As GLint, width As GLsizei, height As GLsizei, border As GLint, format As GLenum, type_ As GLenum, pixels As *GLvoid)
Declare Sub glTexParameterf Lib "opengl32" (target As GLenum, pname As GLenum, param As GLfloat)
Declare Sub glTexParameterfv Lib "opengl32" (target As GLenum, pname As GLenum, params As *GLfloat)
Declare Sub glTexParameteri Lib "opengl32" (target As GLenum, pname As GLenum, param As GLint)
Declare Sub glTexParameteriv Lib "opengl32" (target As GLenum, pname As GLenum, params As *GLint)
Declare Sub glTexSubImage1D Lib "opengl32" (target As GLenum, level As GLint, xoffset As GLint, width As GLsizei, format As GLenum, type_ As GLenum, pixels As *GLvoid)
Declare Sub glTexSubImage2D Lib "opengl32" (target As GLenum, level As GLint, xoffset As GLint, yoffset As GLint, width As GLsizei, height As GLsizei, format As GLenum, type_ As GLenum, pixels As *GLvoid)
Declare Sub glTranslated Lib "opengl32" (x As GLdouble, y As GLdouble, z As GLdouble)
Declare Sub glTranslatef Lib "opengl32" (x As GLfloat, y As GLfloat, z As GLfloat)
Declare Sub glVertex2d Lib "opengl32" (x As GLdouble, y As GLdouble)
Declare Sub glVertex2dv Lib "opengl32" (v As *GLdouble)
Declare Sub glVertex2f Lib "opengl32" (x As GLfloat, y As GLfloat)
Declare Sub glVertex2fv Lib "opengl32" (v As *GLfloat)
Declare Sub glVertex2i Lib "opengl32" (x As GLint, y As GLint)
Declare Sub glVertex2iv Lib "opengl32" (v As *GLint)
Declare Sub glVertex2s Lib "opengl32" (x As GLshort, y As GLshort)
Declare Sub glVertex2sv Lib "opengl32" (v As *GLshort)
Declare Sub glVertex3d Lib "opengl32" (x As GLdouble, y As GLdouble, z As GLdouble)
Declare Sub glVertex3dv Lib "opengl32" (v As *GLdouble)
Declare Sub glVertex3f Lib "opengl32" (x As GLfloat, y As GLfloat, z As GLfloat)
Declare Sub glVertex3fv Lib "opengl32" (v As *GLfloat)
Declare Sub glVertex3i Lib "opengl32" (x As GLint, y As GLint, z As GLint)
Declare Sub glVertex3iv Lib "opengl32" (v As *GLint)
Declare Sub glVertex3s Lib "opengl32" (x As GLshort, y As GLshort, z As GLshort)
Declare Sub glVertex3sv Lib "opengl32" (v As *GLshort)
Declare Sub glVertex4d Lib "opengl32" (x As GLdouble, y As GLdouble, z As GLdouble, w As GLdouble)
Declare Sub glVertex4dv Lib "opengl32" (v As *GLdouble)
Declare Sub glVertex4f Lib "opengl32" (x As GLfloat, y As GLfloat, z As GLfloat, w As GLfloat)
Declare Sub glVertex4fv Lib "opengl32" (v As *GLfloat)
Declare Sub glVertex4i Lib "opengl32" (x As GLint, y As GLint, z As GLint, w As GLint)
Declare Sub glVertex4iv Lib "opengl32" (v As *GLint)
Declare Sub glVertex4s Lib "opengl32" (x As GLshort, y As GLshort, z As GLshort, w As GLshort)
Declare Sub glVertex4sv Lib "opengl32" (v As *GLshort)
Declare Sub glVertexPointer Lib "opengl32" (size As GLint, type_ As GLenum, stride As GLsizei, pointer As *GLvoid)
Declare Sub glViewport Lib "opengl32" (x As GLint, y As GLint, width As GLsizei, height As GLsizei)

TypeDef PFNGLARRAYELEMENTEXTPROC = *Sub(i As GLint)
TypeDef PFNGLDRAWARRAYSEXTPROC = *Sub(mode As GLenum, first As GLint, count As GLsizei)
TypeDef PFNGLVERTEXPOINTEREXTPROC = *Sub(size As GLint, type_ As GLenum, stride As GLsizei, count As GLsizei, pointer As *GLvoid)
TypeDef PFNGLNORMALPOINTEREXTPROC = *Sub(type_ As GLenum, stride As GLsizei, count As GLsizei, pointer As *GLvoid)
TypeDef PFNGLCOLORPOINTEREXTPROC = *Sub(size As GLint, type_ As GLenum, stride As GLsizei, count As GLsizei, pointer As *GLvoid)
TypeDef PFNGLINDEXPOINTEREXTPROC = *Sub(type_ As GLenum, stride As GLsizei, count As GLsizei, pointer As *GLvoid)
TypeDef PFNGLTEXCOORDPOINTEREXTPROC = *Sub(size As GLint, type_ As GLenum, stride As GLsizei, count As GLsizei, pointer As *GLvoid)
TypeDef PFNGLEDGEFLAGPOINTEREXTPROC = *Sub(stride As GLsizei, count As GLsizei, pointer As *GLboolean)
TypeDef PFNGLGETPOINTERVEXTPROC = *Sub(pname As GLenum, ByRef values As *GLvoid)
TypeDef PFNGLARRAYELEMENTARRAYEXTPROC = *Sub(mode As GLenum, count As GLsizei, pi As *GLvoid)
TypeDef PFNGLDRAWRANGEELEMENTSWINPROC = *Sub(mode As GLenum, start As GLuint, end_ As GLuint, count As GLsizei, type_ As GLenum, indices As *GLvoid)
TypeDef PFNGLADDSWAPHINTRECTWINPROC = *Sub(x As GLint, y As GLint, width As GLsizei, height As GLsizei)
TypeDef PFNGLCOLORTABLEEXTPROC = *Sub(target As GLenum, internalFormat As GLenum, width As GLsizei, format As GLenum, type_ As GLenum, data As *GLvoid)
TypeDef PFNGLCOLORSUBTABLEEXTPROC = *Sub(target As GLenum, start As GLsizei, count As GLsizei, format As GLenum, type_ As GLenum, data As *GLvoid)
TypeDef PFNGLGETCOLORTABLEEXTPROC = *Sub(target As GLenum, format As GLenum, type_ As GLenum, data As *GLvoid)
TypeDef PFNGLGETCOLORTABLEPARAMETERIVEXTPROC = *Sub(target As GLenum, pname As GLenum, params As *GLint)
TypeDef PFNGLGETCOLORTABLEPARAMETERFVEXTPROC = *Sub(target As GLenum, pname As GLenum, params As *GLfloat)
