source: branch/egtra-stream-without-en_dec/gl/gl.sbp@ 673

Last change on this file since 673 was 497, checked in by イグトランス (egtra), 17 years ago

インクルードガードとその他不要な前処理定義などの削除

File size: 47.8 KB
Line 
1'gl/gl.sbp
2
3TypeDef GLenum = DWord
4TypeDef GLboolean = Byte
5TypeDef GLbitfield = DWord
6TypeDef GLbyte = SByte
7TypeDef GLshort = Integer
8TypeDef GLint = Long
9TypeDef GLsizei = Long
10TypeDef GLubyte = Byte
11TypeDef GLushort = Word
12TypeDef GLuint = DWord
13TypeDef GLfloat = Single
14TypeDef GLclampf = Single
15TypeDef GLdouble = Double
16TypeDef GLclampd = Double
17TypeDef GLvoid = DWord
18
19Const GL_VERSION_1_1 = 1
20
21Const GL_ACCUM = &H0100
22Const GL_LOAD = &H0101
23Const GL_RETURN = &H0102
24Const GL_MULT = &H0103
25Const GL_ADD = &H0104
26
27Const GL_NEVER = &H0200
28Const GL_LESS = &H0201
29Const GL_EQUAL = &H0202
30Const GL_LEQUAL = &H0203
31Const GL_GREATER = &H0204
32Const GL_NOTEQUAL = &H0205
33Const GL_GEQUAL = &H0206
34Const GL_ALWAYS = &H0207
35
36Const GL_CURRENT_BIT = &H00000001
37Const GL_POINT_BIT = &H00000002
38Const GL_LINE_BIT = &H00000004
39Const GL_POLYGON_BIT = &H00000008
40Const GL_POLYGON_STIPPLE_BIT = &H00000010
41Const GL_PIXEL_MODE_BIT = &H00000020
42Const GL_LIGHTING_BIT = &H00000040
43Const GL_FOG_BIT = &H00000080
44Const GL_DEPTH_BUFFER_BIT = &H00000100
45Const GL_ACCUM_BUFFER_BIT = &H00000200
46Const GL_STENCIL_BUFFER_BIT = &H00000400
47Const GL_VIEWPORT_BIT = &H00000800
48Const GL_TRANSFORM_BIT = &H00001000
49Const GL_ENABLE_BIT = &H00002000
50Const GL_COLOR_BUFFER_BIT = &H00004000
51Const GL_HINT_BIT = &H00008000
52Const GL_EVAL_BIT = &H00010000
53Const GL_LIST_BIT = &H00020000
54Const GL_TEXTURE_BIT = &H00040000
55Const GL_SCISSOR_BIT = &H00080000
56Const GL_ALL_ATTRIB_BITS = &H000fffff
57
58Const GL_POINTS = &H0000
59Const GL_LINES = &H0001
60Const GL_LINE_LOOP = &H0002
61Const GL_LINE_STRIP = &H0003
62Const GL_TRIANGLES = &H0004
63Const GL_TRIANGLE_STRIP = &H0005
64Const GL_TRIANGLE_FAN = &H0006
65Const GL_QUADS = &H0007
66Const GL_QUAD_STRIP = &H0008
67Const GL_POLYGON = &H0009
68
69Const GL_ZERO = 0
70Const GL_ONE = 1
71Const GL_SRC_COLOR = &H0300
72Const GL_ONE_MINUS_SRC_COLOR = &H0301
73Const GL_SRC_ALPHA = &H0302
74Const GL_ONE_MINUS_SRC_ALPHA = &H0303
75Const GL_DST_ALPHA = &H0304
76Const GL_ONE_MINUS_DST_ALPHA = &H0305
77
78Const GL_DST_COLOR = &H0306
79Const GL_ONE_MINUS_DST_COLOR = &H0307
80Const GL_SRC_ALPHA_SATURATE = &H0308
81
82Const GL_TRUE = 1
83Const GL_FALSE = 0
84
85Const GL_CLIP_PLANE0 = &H3000
86Const GL_CLIP_PLANE1 = &H3001
87Const GL_CLIP_PLANE2 = &H3002
88Const GL_CLIP_PLANE3 = &H3003
89Const GL_CLIP_PLANE4 = &H3004
90Const GL_CLIP_PLANE5 = &H3005
91
92Const GL_BYTE = &H1400
93Const GL_UNSIGNED_BYTE = &H1401
94Const GL_SHORT = &H1402
95Const GL_UNSIGNED_SHORT = &H1403
96Const GL_INT = &H1404
97Const GL_UNSIGNED_INT = &H1405
98Const GL_FLOAT = &H1406
99Const GL_2_BYTES = &H1407
100Const GL_3_BYTES = &H1408
101Const GL_4_BYTES = &H1409
102Const GL_DOUBLE = &H140A
103
104Const GL_NONE = 0
105Const GL_FRONT_LEFT = &H0400
106Const GL_FRONT_RIGHT = &H0401
107Const GL_BACK_LEFT = &H0402
108Const GL_BACK_RIGHT = &H0403
109Const GL_FRONT = &H0404
110Const GL_BACK = &H0405
111Const GL_LEFT = &H0406
112Const GL_RIGHT = &H0407
113Const GL_FRONT_AND_BACK = &H0408
114Const GL_AUX0 = &H0409
115Const GL_AUX1 = &H040A
116Const GL_AUX2 = &H040B
117Const GL_AUX3 = &H040C
118
119Const GL_NO_ERROR = 0
120Const GL_INVALID_ENUM = &H0500
121Const GL_INVALID_VALUE = &H0501
122Const GL_INVALID_OPERATION = &H0502
123Const GL_STACK_OVERFLOW = &H0503
124Const GL_STACK_UNDERFLOW = &H0504
125Const GL_OUT_OF_MEMORY = &H0505
126
127Const GL_2D = &H0600
128Const GL_3D = &H0601
129Const GL_3D_COLOR = &H0602
130Const GL_3D_COLOR_TEXTURE = &H0603
131Const GL_4D_COLOR_TEXTURE = &H0604
132
133Const GL_PASS_THROUGH_TOKEN = &H0700
134Const GL_POINT_TOKEN = &H0701
135Const GL_LINE_TOKEN = &H0702
136Const GL_POLYGON_TOKEN = &H0703
137Const GL_BITMAP_TOKEN = &H0704
138Const GL_DRAW_PIXEL_TOKEN = &H0705
139Const GL_COPY_PIXEL_TOKEN = &H0706
140Const GL_LINE_RESET_TOKEN = &H0707
141
142Const GL_EXP = &H0800
143Const GL_EXP2 = &H0801
144
145Const GL_CW = &H0900
146Const GL_CCW = &H0901
147
148Const GL_COEFF = &H0A00
149Const GL_ORDER = &H0A01
150Const GL_DOMAIN = &H0A02
151
152Const GL_CURRENT_COLOR = &H0B00
153Const GL_CURRENT_INDEX = &H0B01
154Const GL_CURRENT_NORMAL = &H0B02
155Const GL_CURRENT_TEXTURE_COORDS = &H0B03
156Const GL_CURRENT_RASTER_COLOR = &H0B04
157Const GL_CURRENT_RASTER_INDEX = &H0B05
158Const GL_CURRENT_RASTER_TEXTURE_COORDS = &H0B06
159Const GL_CURRENT_RASTER_POSITION = &H0B07
160Const GL_CURRENT_RASTER_POSITION_VALID = &H0B08
161Const GL_CURRENT_RASTER_DISTANCE = &H0B09
162Const GL_POINT_SMOOTH = &H0B10
163Const GL_POINT_SIZE = &H0B11
164Const GL_POINT_SIZE_RANGE = &H0B12
165Const GL_POINT_SIZE_GRANULARITY = &H0B13
166Const GL_LINE_SMOOTH = &H0B20
167Const GL_LINE_WIDTH = &H0B21
168Const GL_LINE_WIDTH_RANGE = &H0B22
169Const GL_LINE_WIDTH_GRANULARITY = &H0B23
170Const GL_LINE_STIPPLE = &H0B24
171Const GL_LINE_STIPPLE_PATTERN = &H0B25
172Const GL_LINE_STIPPLE_REPEAT = &H0B26
173Const GL_LIST_MODE = &H0B30
174Const GL_MAX_LIST_NESTING = &H0B31
175Const GL_LIST_BASE = &H0B32
176Const GL_LIST_INDEX = &H0B33
177Const GL_POLYGON_MODE = &H0B40
178Const GL_POLYGON_SMOOTH = &H0B41
179Const GL_POLYGON_STIPPLE = &H0B42
180Const GL_EDGE_FLAG = &H0B43
181Const GL_CULL_FACE = &H0B44
182Const GL_CULL_FACE_MODE = &H0B45
183Const GL_FRONT_FACE = &H0B46
184Const GL_LIGHTING = &H0B50
185Const GL_LIGHT_MODEL_LOCAL_VIEWER = &H0B51
186Const GL_LIGHT_MODEL_TWO_SIDE = &H0B52
187Const GL_LIGHT_MODEL_AMBIENT = &H0B53
188Const GL_SHADE_MODEL = &H0B54
189Const GL_COLOR_MATERIAL_FACE = &H0B55
190Const GL_COLOR_MATERIAL_PARAMETER = &H0B56
191Const GL_COLOR_MATERIAL = &H0B57
192Const GL_FOG = &H0B60
193Const GL_FOG_INDEX = &H0B61
194Const GL_FOG_DENSITY = &H0B62
195Const GL_FOG_START = &H0B63
196Const GL_FOG_END = &H0B64
197Const GL_FOG_MODE = &H0B65
198Const GL_FOG_COLOR = &H0B66
199Const GL_DEPTH_RANGE = &H0B70
200Const GL_DEPTH_TEST = &H0B71
201Const GL_DEPTH_WRITEMASK = &H0B72
202Const GL_DEPTH_CLEAR_VALUE = &H0B73
203Const GL_DEPTH_FUNC = &H0B74
204Const GL_ACCUM_CLEAR_VALUE = &H0B80
205Const GL_STENCIL_TEST = &H0B90
206Const GL_STENCIL_CLEAR_VALUE = &H0B91
207Const GL_STENCIL_FUNC = &H0B92
208Const GL_STENCIL_VALUE_MASK = &H0B93
209Const GL_STENCIL_FAIL = &H0B94
210Const GL_STENCIL_PASS_DEPTH_FAIL = &H0B95
211Const GL_STENCIL_PASS_DEPTH_PASS = &H0B96
212Const GL_STENCIL_REF = &H0B97
213Const GL_STENCIL_WRITEMASK = &H0B98
214Const GL_MATRIX_MODE = &H0BA0
215Const GL_NORMALIZE = &H0BA1
216Const GL_VIEWPORT = &H0BA2
217Const GL_MODELVIEW_STACK_DEPTH = &H0BA3
218Const GL_PROJECTION_STACK_DEPTH = &H0BA4
219Const GL_TEXTURE_STACK_DEPTH = &H0BA5
220Const GL_MODELVIEW_MATRIX = &H0BA6
221Const GL_PROJECTION_MATRIX = &H0BA7
222Const GL_TEXTURE_MATRIX = &H0BA8
223Const GL_ATTRIB_STACK_DEPTH = &H0BB0
224Const GL_CLIENT_ATTRIB_STACK_DEPTH = &H0BB1
225Const GL_ALPHA_TEST = &H0BC0
226Const GL_ALPHA_TEST_FUNC = &H0BC1
227Const GL_ALPHA_TEST_REF = &H0BC2
228Const GL_DITHER = &H0BD0
229Const GL_BLEND_DST = &H0BE0
230Const GL_BLEND_SRC = &H0BE1
231Const GL_BLEND = &H0BE2
232Const GL_LOGIC_OP_MODE = &H0BF0
233Const GL_INDEX_LOGIC_OP = &H0BF1
234Const GL_COLOR_LOGIC_OP = &H0BF2
235Const GL_AUX_BUFFERS = &H0C00
236Const GL_DRAW_BUFFER = &H0C01
237Const GL_READ_BUFFER = &H0C02
238Const GL_SCISSOR_BOX = &H0C10
239Const GL_SCISSOR_TEST = &H0C11
240Const GL_INDEX_CLEAR_VALUE = &H0C20
241Const GL_INDEX_WRITEMASK = &H0C21
242Const GL_COLOR_CLEAR_VALUE = &H0C22
243Const GL_COLOR_WRITEMASK = &H0C23
244Const GL_INDEX_MODE = &H0C30
245Const GL_RGBA_MODE = &H0C31
246Const GL_DOUBLEBUFFER = &H0C32
247Const GL_STEREO = &H0C33
248Const GL_RENDER_MODE = &H0C40
249Const GL_PERSPECTIVE_CORRECTION_HINT = &H0C50
250Const GL_POINT_SMOOTH_HINT = &H0C51
251Const GL_LINE_SMOOTH_HINT = &H0C52
252Const GL_POLYGON_SMOOTH_HINT = &H0C53
253Const GL_FOG_HINT = &H0C54
254Const GL_TEXTURE_GEN_S = &H0C60
255Const GL_TEXTURE_GEN_T = &H0C61
256Const GL_TEXTURE_GEN_R = &H0C62
257Const GL_TEXTURE_GEN_Q = &H0C63
258Const GL_PIXEL_MAP_I_TO_I = &H0C70
259Const GL_PIXEL_MAP_S_TO_S = &H0C71
260Const GL_PIXEL_MAP_I_TO_R = &H0C72
261Const GL_PIXEL_MAP_I_TO_G = &H0C73
262Const GL_PIXEL_MAP_I_TO_B = &H0C74
263Const GL_PIXEL_MAP_I_TO_A = &H0C75
264Const GL_PIXEL_MAP_R_TO_R = &H0C76
265Const GL_PIXEL_MAP_G_TO_G = &H0C77
266Const GL_PIXEL_MAP_B_TO_B = &H0C78
267Const GL_PIXEL_MAP_A_TO_A = &H0C79
268Const GL_PIXEL_MAP_I_TO_I_SIZE = &H0CB0
269Const GL_PIXEL_MAP_S_TO_S_SIZE = &H0CB1
270Const GL_PIXEL_MAP_I_TO_R_SIZE = &H0CB2
271Const GL_PIXEL_MAP_I_TO_G_SIZE = &H0CB3
272Const GL_PIXEL_MAP_I_TO_B_SIZE = &H0CB4
273Const GL_PIXEL_MAP_I_TO_A_SIZE = &H0CB5
274Const GL_PIXEL_MAP_R_TO_R_SIZE = &H0CB6
275Const GL_PIXEL_MAP_G_TO_G_SIZE = &H0CB7
276Const GL_PIXEL_MAP_B_TO_B_SIZE = &H0CB8
277Const GL_PIXEL_MAP_A_TO_A_SIZE = &H0CB9
278Const GL_UNPACK_SWAP_BYTES = &H0CF0
279Const GL_UNPACK_LSB_FIRST = &H0CF1
280Const GL_UNPACK_ROW_LENGTH = &H0CF2
281Const GL_UNPACK_SKIP_ROWS = &H0CF3
282Const GL_UNPACK_SKIP_PIXELS = &H0CF4
283Const GL_UNPACK_ALIGNMENT = &H0CF5
284Const GL_PACK_SWAP_BYTES = &H0D00
285Const GL_PACK_LSB_FIRST = &H0D01
286Const GL_PACK_ROW_LENGTH = &H0D02
287Const GL_PACK_SKIP_ROWS = &H0D03
288Const GL_PACK_SKIP_PIXELS = &H0D04
289Const GL_PACK_ALIGNMENT = &H0D05
290Const GL_MAP_COLOR = &H0D10
291Const GL_MAP_STENCIL = &H0D11
292Const GL_INDEX_SHIFT = &H0D12
293Const GL_INDEX_OFFSET = &H0D13
294Const GL_RED_SCALE = &H0D14
295Const GL_RED_BIAS = &H0D15
296Const GL_ZOOM_X = &H0D16
297Const GL_ZOOM_Y = &H0D17
298Const GL_GREEN_SCALE = &H0D18
299Const GL_GREEN_BIAS = &H0D19
300Const GL_BLUE_SCALE = &H0D1A
301Const GL_BLUE_BIAS = &H0D1B
302Const GL_ALPHA_SCALE = &H0D1C
303Const GL_ALPHA_BIAS = &H0D1D
304Const GL_DEPTH_SCALE = &H0D1E
305Const GL_DEPTH_BIAS = &H0D1F
306Const GL_MAX_EVAL_ORDER = &H0D30
307Const GL_MAX_LIGHTS = &H0D31
308Const GL_MAX_CLIP_PLANES = &H0D32
309Const GL_MAX_TEXTURE_SIZE = &H0D33
310Const GL_MAX_PIXEL_MAP_TABLE = &H0D34
311Const GL_MAX_ATTRIB_STACK_DEPTH = &H0D35
312Const GL_MAX_MODELVIEW_STACK_DEPTH = &H0D36
313Const GL_MAX_NAME_STACK_DEPTH = &H0D37
314Const GL_MAX_PROJECTION_STACK_DEPTH = &H0D38
315Const GL_MAX_TEXTURE_STACK_DEPTH = &H0D39
316Const GL_MAX_VIEWPORT_DIMS = &H0D3A
317Const GL_MAX_CLIENT_ATTRIB_STACK_DEPTH = &H0D3B
318Const GL_SUBPIXEL_BITS = &H0D50
319Const GL_INDEX_BITS = &H0D51
320Const GL_RED_BITS = &H0D52
321Const GL_GREEN_BITS = &H0D53
322Const GL_BLUE_BITS = &H0D54
323Const GL_ALPHA_BITS = &H0D55
324Const GL_DEPTH_BITS = &H0D56
325Const GL_STENCIL_BITS = &H0D57
326Const GL_ACCUM_RED_BITS = &H0D58
327Const GL_ACCUM_GREEN_BITS = &H0D59
328Const GL_ACCUM_BLUE_BITS = &H0D5A
329Const GL_ACCUM_ALPHA_BITS = &H0D5B
330Const GL_NAME_STACK_DEPTH = &H0D70
331Const GL_AUTO_NORMAL = &H0D80
332Const GL_MAP1_COLOR_4 = &H0D90
333Const GL_MAP1_INDEX = &H0D91
334Const GL_MAP1_NORMAL = &H0D92
335Const GL_MAP1_TEXTURE_COORD_1 = &H0D93
336Const GL_MAP1_TEXTURE_COORD_2 = &H0D94
337Const GL_MAP1_TEXTURE_COORD_3 = &H0D95
338Const GL_MAP1_TEXTURE_COORD_4 = &H0D96
339Const GL_MAP1_VERTEX_3 = &H0D97
340Const GL_MAP1_VERTEX_4 = &H0D98
341Const GL_MAP2_COLOR_4 = &H0DB0
342Const GL_MAP2_INDEX = &H0DB1
343Const GL_MAP2_NORMAL = &H0DB2
344Const GL_MAP2_TEXTURE_COORD_1 = &H0DB3
345Const GL_MAP2_TEXTURE_COORD_2 = &H0DB4
346Const GL_MAP2_TEXTURE_COORD_3 = &H0DB5
347Const GL_MAP2_TEXTURE_COORD_4 = &H0DB6
348Const GL_MAP2_VERTEX_3 = &H0DB7
349Const GL_MAP2_VERTEX_4 = &H0DB8
350Const GL_MAP1_GRID_DOMAIN = &H0DD0
351Const GL_MAP1_GRID_SEGMENTS = &H0DD1
352Const GL_MAP2_GRID_DOMAIN = &H0DD2
353Const GL_MAP2_GRID_SEGMENTS = &H0DD3
354Const GL_TEXTURE_1D = &H0DE0
355Const GL_TEXTURE_2D = &H0DE1
356Const GL_FEEDBACK_BUFFER_POINTER = &H0DF0
357Const GL_FEEDBACK_BUFFER_SIZE = &H0DF1
358Const GL_FEEDBACK_BUFFER_TYPE = &H0DF2
359Const GL_SELECTION_BUFFER_POINTER = &H0DF3
360Const GL_SELECTION_BUFFER_SIZE = &H0DF4
361
362Const GL_TEXTURE_WIDTH = &H1000
363Const GL_TEXTURE_HEIGHT = &H1001
364Const GL_TEXTURE_INTERNAL_FORMAT = &H1003
365Const GL_TEXTURE_BORDER_COLOR = &H1004
366Const GL_TEXTURE_BORDER = &H1005
367
368Const GL_DONT_CARE = &H1100
369Const GL_FASTEST = &H1101
370Const GL_NICEST = &H1102
371
372Const GL_LIGHT0 = &H4000
373Const GL_LIGHT1 = &H4001
374Const GL_LIGHT2 = &H4002
375Const GL_LIGHT3 = &H4003
376Const GL_LIGHT4 = &H4004
377Const GL_LIGHT5 = &H4005
378Const GL_LIGHT6 = &H4006
379Const GL_LIGHT7 = &H4007
380
381Const GL_AMBIENT = &H1200
382Const GL_DIFFUSE = &H1201
383Const GL_SPECULAR = &H1202
384Const GL_POSITION = &H1203
385Const GL_SPOT_DIRECTION = &H1204
386Const GL_SPOT_EXPONENT = &H1205
387Const GL_SPOT_CUTOFF = &H1206
388Const GL_CONSTANT_ATTENUATION = &H1207
389Const GL_LINEAR_ATTENUATION = &H1208
390Const GL_QUADRATIC_ATTENUATION = &H1209
391
392Const GL_COMPILE = &H1300
393Const GL_COMPILE_AND_EXECUTE = &H1301
394
395Const GL_CLEAR = &H1500
396Const GL_AND = &H1501
397Const GL_AND_REVERSE = &H1502
398Const GL_COPY = &H1503
399Const GL_AND_INVERTED = &H1504
400Const GL_NOOP = &H1505
401Const GL_XOR = &H1506
402Const GL_OR = &H1507
403Const GL_NOR = &H1508
404Const GL_EQUIV = &H1509
405Const GL_INVERT = &H150A
406Const GL_OR_REVERSE = &H150B
407Const GL_COPY_INVERTED = &H150C
408Const GL_OR_INVERTED = &H150D
409Const GL_NAND = &H150E
410Const GL_SET = &H150F
411
412Const GL_EMISSION = &H1600
413Const GL_SHININESS = &H1601
414Const GL_AMBIENT_AND_DIFFUSE = &H1602
415Const GL_COLOR_INDEXES = &H1603
416
417Const GL_MODELVIEW = &H1700
418Const GL_PROJECTION = &H1701
419Const GL_TEXTURE = &H1702
420
421Const GL_COLOR = &H1800
422Const GL_DEPTH = &H1801
423Const GL_STENCIL = &H1802
424
425Const GL_COLOR_INDEX = &H1900
426Const GL_STENCIL_INDEX = &H1901
427Const GL_DEPTH_COMPONENT = &H1902
428Const GL_RED = &H1903
429Const GL_GREEN = &H1904
430Const GL_BLUE = &H1905
431Const GL_ALPHA = &H1906
432Const GL_RGB = &H1907
433Const GL_RGBA = &H1908
434Const GL_LUMINANCE = &H1909
435Const GL_LUMINANCE_ALPHA = &H190A
436
437Const GL_BITMAP = &H1A00
438
439Const GL_POINT = &H1B00
440Const GL_LINE = &H1B01
441Const GL_FILL = &H1B02
442
443Const GL_RENDER = &H1C00
444Const GL_FEEDBACK = &H1C01
445Const GL_SELECT = &H1C02
446
447Const GL_FLAT = &H1D00
448Const GL_SMOOTH = &H1D01
449
450Const GL_KEEP = &H1E00
451Const GL_REPLACE = &H1E01
452Const GL_INCR = &H1E02
453Const GL_DECR = &H1E03
454
455Const GL_VENDOR = &H1F00
456Const GL_RENDERER = &H1F01
457Const GL_VERSION = &H1F02
458Const GL_EXTENSIONS = &H1F03
459
460Const GL_S = &H2000
461Const GL_T = &H2001
462Const GL_R = &H2002
463Const GL_Q = &H2003
464
465Const GL_MODULATE = &H2100
466Const GL_DECAL = &H2101
467
468Const GL_TEXTURE_ENV_MODE = &H2200
469Const GL_TEXTURE_ENV_COLOR = &H2201
470
471Const GL_TEXTURE_ENV = &H2300
472
473Const GL_EYE_LINEAR = &H2400
474Const GL_OBJECT_LINEAR = &H2401
475Const GL_SPHERE_MAP = &H2402
476
477Const GL_TEXTURE_GEN_MODE = &H2500
478Const GL_OBJECT_PLANE = &H2501
479Const GL_EYE_PLANE = &H2502
480
481Const GL_NEAREST = &H2600
482Const GL_LINEAR = &H2601
483
484Const GL_NEAREST_MIPMAP_NEAREST = &H2700
485Const GL_LINEAR_MIPMAP_NEAREST = &H2701
486Const GL_NEAREST_MIPMAP_LINEAR = &H2702
487Const GL_LINEAR_MIPMAP_LINEAR = &H2703
488
489Const GL_TEXTURE_MAG_FILTER = &H2800
490Const GL_TEXTURE_MIN_FILTER = &H2801
491Const GL_TEXTURE_WRAP_S = &H2802
492Const GL_TEXTURE_WRAP_T = &H2803
493
494Const GL_CLAMP = &H2900
495Const GL_REPEAT = &H2901
496
497Const GL_CLIENT_PIXEL_STORE_BIT = &H00000001
498Const GL_CLIENT_VERTEX_ARRAY_BIT = &H00000002
499Const GL_CLIENT_ALL_ATTRIB_BITS = &Hffffffff
500
501Const GL_POLYGON_OFFSET_FACTOR = &H8038
502Const GL_POLYGON_OFFSET_UNITS = &H2A00
503Const GL_POLYGON_OFFSET_POINT = &H2A01
504Const GL_POLYGON_OFFSET_LINE = &H2A02
505Const GL_POLYGON_OFFSET_FILL = &H8037
506
507Const GL_ALPHA4 = &H803B
508Const GL_ALPHA8 = &H803C
509Const GL_ALPHA12 = &H803D
510Const GL_ALPHA16 = &H803E
511Const GL_LUMINANCE4 = &H803F
512Const GL_LUMINANCE8 = &H8040
513Const GL_LUMINANCE12 = &H8041
514Const GL_LUMINANCE16 = &H8042
515Const GL_LUMINANCE4_ALPHA4 = &H8043
516Const GL_LUMINANCE6_ALPHA2 = &H8044
517Const GL_LUMINANCE8_ALPHA8 = &H8045
518Const GL_LUMINANCE12_ALPHA4 = &H8046
519Const GL_LUMINANCE12_ALPHA12 = &H8047
520Const GL_LUMINANCE16_ALPHA16 = &H8048
521Const GL_INTENSITY = &H8049
522Const GL_INTENSITY4 = &H804A
523Const GL_INTENSITY8 = &H804B
524Const GL_INTENSITY12 = &H804C
525Const GL_INTENSITY16 = &H804D
526Const GL_R3_G3_B2 = &H2A10
527Const GL_RGB4 = &H804F
528Const GL_RGB5 = &H8050
529Const GL_RGB8 = &H8051
530Const GL_RGB10 = &H8052
531Const GL_RGB12 = &H8053
532Const GL_RGB16 = &H8054
533Const GL_RGBA2 = &H8055
534Const GL_RGBA4 = &H8056
535Const GL_RGB5_A1 = &H8057
536Const GL_RGBA8 = &H8058
537Const GL_RGB10_A2 = &H8059
538Const GL_RGBA12 = &H805A
539Const GL_RGBA16 = &H805B
540Const GL_TEXTURE_RED_SIZE = &H805C
541Const GL_TEXTURE_GREEN_SIZE = &H805D
542Const GL_TEXTURE_BLUE_SIZE = &H805E
543Const GL_TEXTURE_ALPHA_SIZE = &H805F
544Const GL_TEXTURE_LUMINANCE_SIZE = &H8060
545Const GL_TEXTURE_INTENSITY_SIZE = &H8061
546Const GL_PROXY_TEXTURE_1D = &H8063
547Const GL_PROXY_TEXTURE_2D = &H8064
548
549Const GL_TEXTURE_PRIORITY = &H8066
550Const GL_TEXTURE_RESIDENT = &H8067
551Const GL_TEXTURE_BINDING_1D = &H8068
552Const GL_TEXTURE_BINDING_2D = &H8069
553
554Const GL_VERTEX_ARRAY = &H8074
555Const GL_NORMAL_ARRAY = &H8075
556Const GL_COLOR_ARRAY = &H8076
557Const GL_INDEX_ARRAY = &H8077
558Const GL_TEXTURE_COORD_ARRAY = &H8078
559Const GL_EDGE_FLAG_ARRAY = &H8079
560Const GL_VERTEX_ARRAY_SIZE = &H807A
561Const GL_VERTEX_ARRAY_TYPE = &H807B
562Const GL_VERTEX_ARRAY_STRIDE = &H807C
563Const GL_NORMAL_ARRAY_TYPE = &H807E
564Const GL_NORMAL_ARRAY_STRIDE = &H807F
565Const GL_COLOR_ARRAY_SIZE = &H8081
566Const GL_COLOR_ARRAY_TYPE = &H8082
567Const GL_COLOR_ARRAY_STRIDE = &H8083
568Const GL_INDEX_ARRAY_TYPE = &H8085
569Const GL_INDEX_ARRAY_STRIDE = &H8086
570Const GL_TEXTURE_COORD_ARRAY_SIZE = &H8088
571Const GL_TEXTURE_COORD_ARRAY_TYPE = &H8089
572Const GL_TEXTURE_COORD_ARRAY_STRIDE = &H808A
573Const GL_EDGE_FLAG_ARRAY_STRIDE = &H808C
574Const GL_VERTEX_ARRAY_POINTER = &H808E
575Const GL_NORMAL_ARRAY_POINTER = &H808F
576Const GL_COLOR_ARRAY_POINTER = &H8090
577Const GL_INDEX_ARRAY_POINTER = &H8091
578Const GL_TEXTURE_COORD_ARRAY_POINTER = &H8092
579Const GL_EDGE_FLAG_ARRAY_POINTER = &H8093
580Const GL_V2F = &H2A20
581Const GL_V3F = &H2A21
582Const GL_C4UB_V2F = &H2A22
583Const GL_C4UB_V3F = &H2A23
584Const GL_C3F_V3F = &H2A24
585Const GL_N3F_V3F = &H2A25
586Const GL_C4F_N3F_V3F = &H2A26
587Const GL_T2F_V3F = &H2A27
588Const GL_T4F_V4F = &H2A28
589Const GL_T2F_C4UB_V3F = &H2A29
590Const GL_T2F_C3F_V3F = &H2A2A
591Const GL_T2F_N3F_V3F = &H2A2B
592Const GL_T2F_C4F_N3F_V3F = &H2A2C
593Const GL_T4F_C4F_N3F_V4F = &H2A2D
594
595Const GL_EXT_vertex_array = 1
596Const GL_EXT_bgra = 1
597Const GL_EXT_paletted_texture = 1
598Const GL_WIN_swap_hint = 1
599Const GL_WIN_draw_range_elements = 1
600
601Const GL_VERTEX_ARRAY_EXT = &H8074
602Const GL_NORMAL_ARRAY_EXT = &H8075
603Const GL_COLOR_ARRAY_EXT = &H8076
604Const GL_INDEX_ARRAY_EXT = &H8077
605Const GL_TEXTURE_COORD_ARRAY_EXT = &H8078
606Const GL_EDGE_FLAG_ARRAY_EXT = &H8079
607Const GL_VERTEX_ARRAY_SIZE_EXT = &H807A
608Const GL_VERTEX_ARRAY_TYPE_EXT = &H807B
609Const GL_VERTEX_ARRAY_STRIDE_EXT = &H807C
610Const GL_VERTEX_ARRAY_COUNT_EXT = &H807D
611Const GL_NORMAL_ARRAY_TYPE_EXT = &H807E
612Const GL_NORMAL_ARRAY_STRIDE_EXT = &H807F
613Const GL_NORMAL_ARRAY_COUNT_EXT = &H8080
614Const GL_COLOR_ARRAY_SIZE_EXT = &H8081
615Const GL_COLOR_ARRAY_TYPE_EXT = &H8082
616Const GL_COLOR_ARRAY_STRIDE_EXT = &H8083
617Const GL_COLOR_ARRAY_COUNT_EXT = &H8084
618Const GL_INDEX_ARRAY_TYPE_EXT = &H8085
619Const GL_INDEX_ARRAY_STRIDE_EXT = &H8086
620Const GL_INDEX_ARRAY_COUNT_EXT = &H8087
621Const GL_TEXTURE_COORD_ARRAY_SIZE_EXT = &H8088
622Const GL_TEXTURE_COORD_ARRAY_TYPE_EXT = &H8089
623Const GL_TEXTURE_COORD_ARRAY_STRIDE_EXT = &H808A
624Const GL_TEXTURE_COORD_ARRAY_COUNT_EXT = &H808B
625Const GL_EDGE_FLAG_ARRAY_STRIDE_EXT = &H808C
626Const GL_EDGE_FLAG_ARRAY_COUNT_EXT = &H808D
627Const GL_VERTEX_ARRAY_POINTER_EXT = &H808E
628Const GL_NORMAL_ARRAY_POINTER_EXT = &H808F
629Const GL_COLOR_ARRAY_POINTER_EXT = &H8090
630Const GL_INDEX_ARRAY_POINTER_EXT = &H8091
631Const GL_TEXTURE_COORD_ARRAY_POINTER_EXT = &H8092
632Const GL_EDGE_FLAG_ARRAY_POINTER_EXT = &H8093
633Const GL_DOUBLE_EXT = GL_DOUBLE
634
635Const GL_BGR_EXT = &H80E0
636Const GL_BGRA_EXT = &H80E1
637
638Const GL_COLOR_TABLE_FORMAT_EXT = &H80D8
639Const GL_COLOR_TABLE_WIDTH_EXT = &H80D9
640Const GL_COLOR_TABLE_RED_SIZE_EXT = &H80DA
641Const GL_COLOR_TABLE_GREEN_SIZE_EXT = &H80DB
642Const GL_COLOR_TABLE_BLUE_SIZE_EXT = &H80DC
643Const GL_COLOR_TABLE_ALPHA_SIZE_EXT = &H80DD
644Const GL_COLOR_TABLE_LUMINANCE_SIZE_EXT = &H80DE
645Const GL_COLOR_TABLE_INTENSITY_SIZE_EXT = &H80DF
646
647Const GL_COLOR_INDEX1_EXT = &H80E2
648Const GL_COLOR_INDEX2_EXT = &H80E3
649Const GL_COLOR_INDEX4_EXT = &H80E4
650Const GL_COLOR_INDEX8_EXT = &H80E5
651Const GL_COLOR_INDEX12_EXT = &H80E6
652Const GL_COLOR_INDEX16_EXT = &H80E7
653
654Const GL_MAX_ELEMENTS_VERTICES_WIN = &H80E8
655Const GL_MAX_ELEMENTS_INDICES_WIN = &H80E9
656
657Const GL_PHONG_WIN = &H80EA
658Const GL_PHONG_HINT_WIN = &H80EB
659
660Const GL_FOG_SPECULAR_TEXTURE_WIN = &H80EC
661
662Const GL_LOGIC_OP = GL_INDEX_LOGIC_OP
663Const GL_TEXTURE_COMPONENTS = GL_TEXTURE_INTERNAL_FORMAT
664
665Declare Sub glAccum Lib "opengl32" (op As GLenum, value As GLfloat)
666Declare Sub glAlphaFunc Lib "opengl32" (func As GLenum, ref As GLclampf)
667Declare Function glAreTexturesResident Lib "opengl32" (n As GLsizei, textures As *GLuint, residences As *GLboolean) As GLboolean
668Declare Sub glArrayElement Lib "opengl32" (i As GLint)
669Declare Sub glBegin Lib "opengl32" (mode As GLenum)
670Declare Sub glBindTexture Lib "opengl32" (target As GLenum, texture As GLuint)
671Declare 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)
672Declare Sub glBlendFunc Lib "opengl32" (sfactor As GLenum, dfactor As GLenum)
673Declare Sub glCallList Lib "opengl32" (list As GLuint)
674Declare Sub glCallLists Lib "opengl32" (n As GLsizei, type_ As GLenum, lists As *GLvoid)
675Declare Sub glClear Lib "opengl32" (mask As GLbitfield)
676Declare Sub glClearAccum Lib "opengl32" (red As GLfloat, green As GLfloat, blue As GLfloat, alpha As GLfloat)
677Declare Sub glClearColor Lib "opengl32" (red As GLclampf, green As GLclampf, blue As GLclampf, alpha As GLclampf)
678Declare Sub glClearDepth Lib "opengl32" (depth As GLclampd)
679Declare Sub glClearIndex Lib "opengl32" (c As GLfloat)
680Declare Sub glClearStencil Lib "opengl32" (s As GLint)
681Declare Sub glClipPlane Lib "opengl32" (plane As GLenum, equation As *GLdouble)
682Declare Sub glColor3b Lib "opengl32" (red As GLbyte, green As GLbyte, blue As GLbyte)
683Declare Sub glColor3bv Lib "opengl32" (v As *GLbyte)
684Declare Sub glColor3d Lib "opengl32" (red As GLdouble, green As GLdouble, blue As GLdouble)
685Declare Sub glColor3dv Lib "opengl32" (v As *GLdouble)
686Declare Sub glColor3f Lib "opengl32" (red As GLfloat, green As GLfloat, blue As GLfloat)
687Declare Sub glColor3fv Lib "opengl32" (v As *GLfloat)
688Declare Sub glColor3i Lib "opengl32" (red As GLint, green As GLint, blue As GLint)
689Declare Sub glColor3iv Lib "opengl32" (v As *GLint)
690Declare Sub glColor3s Lib "opengl32" (red As GLshort, green As GLshort, blue As GLshort)
691Declare Sub glColor3sv Lib "opengl32" (v As *GLshort)
692Declare Sub glColor3ub Lib "opengl32" (red As GLubyte, green As GLubyte, blue As GLubyte)
693Declare Sub glColor3ubv Lib "opengl32" (v As *GLubyte)
694Declare Sub glColor3ui Lib "opengl32" (red As GLuint, green As GLuint, blue As GLuint)
695Declare Sub glColor3uiv Lib "opengl32" (v As *GLuint)
696Declare Sub glColor3us Lib "opengl32" (red As GLushort, green As GLushort, blue As GLushort)
697Declare Sub glColor3usv Lib "opengl32" (v As *GLushort)
698Declare Sub glColor4b Lib "opengl32" (red As GLbyte, green As GLbyte, blue As GLbyte, alpha As GLbyte)
699Declare Sub glColor4bv Lib "opengl32" (v As *GLbyte)
700Declare Sub glColor4d Lib "opengl32" (red As GLdouble, green As GLdouble, blue As GLdouble, alpha As GLdouble)
701Declare Sub glColor4dv Lib "opengl32" (v As *GLdouble)
702Declare Sub glColor4f Lib "opengl32" (red As GLfloat, green As GLfloat, blue As GLfloat, alpha As GLfloat)
703Declare Sub glColor4fv Lib "opengl32" (v As *GLfloat)
704Declare Sub glColor4i Lib "opengl32" (red As GLint, green As GLint, blue As GLint, alpha As GLint)
705Declare Sub glColor4iv Lib "opengl32" (v As *GLint)
706Declare Sub glColor4s Lib "opengl32" (red As GLshort, green As GLshort, blue As GLshort, alpha As GLshort)
707Declare Sub glColor4sv Lib "opengl32" (v As *GLshort)
708Declare Sub glColor4ub Lib "opengl32" (red As GLubyte, green As GLubyte, blue As GLubyte, alpha As GLubyte)
709Declare Sub glColor4ubv Lib "opengl32" (v As *GLubyte)
710Declare Sub glColor4ui Lib "opengl32" (red As GLuint, green As GLuint, blue As GLuint, alpha As GLuint)
711Declare Sub glColor4uiv Lib "opengl32" (v As *GLuint)
712Declare Sub glColor4us Lib "opengl32" (red As GLushort, green As GLushort, blue As GLushort, alpha As GLushort)
713Declare Sub glColor4usv Lib "opengl32" (v As *GLushort)
714Declare Sub glColorMask Lib "opengl32" (red As GLboolean, green As GLboolean, blue As GLboolean, alpha As GLboolean)
715Declare Sub glColorMaterial Lib "opengl32" (face As GLenum, mode As GLenum)
716Declare Sub glColorPointer Lib "opengl32" (size As GLint, type_ As GLenum, stride As GLsizei, pointer As *GLvoid)
717Declare Sub glCopyPixels Lib "opengl32" (x As GLint, y As GLint, width As GLsizei, height As GLsizei, type_ As GLenum)
718Declare 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)
719Declare 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)
720Declare Sub glCopyTexSubImage1D Lib "opengl32" (target As GLenum, level As GLint, xoffset As GLint, x As GLint, y As GLint, width As GLsizei)
721Declare 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)
722Declare Sub glCullFace Lib "opengl32" (mode As GLenum)
723Declare Sub glDeleteLists Lib "opengl32" (list As GLuint, range As GLsizei)
724Declare Sub glDeleteTextures Lib "opengl32" (n As GLsizei, textures As *GLuint)
725Declare Sub glDepthFunc Lib "opengl32" (func As GLenum)
726Declare Sub glDepthMask Lib "opengl32" (flag As GLboolean)
727Declare Sub glDepthRange Lib "opengl32" (zNear As GLclampd, zFar As GLclampd)
728Declare Sub glDisable Lib "opengl32" (cap As GLenum)
729Declare Sub glDisableClientState Lib "opengl32" (array As GLenum)
730Declare Sub glDrawArrays Lib "opengl32" (mode As GLenum, first As GLint, count As GLsizei)
731Declare Sub glDrawBuffer Lib "opengl32" (mode As GLenum)
732Declare Sub glDrawElements Lib "opengl32" (mode As GLenum, count As GLsizei, type_ As GLenum, indices As *GLvoid)
733Declare Sub glDrawPixels Lib "opengl32" (width As GLsizei, height As GLsizei, format As GLenum, type_ As GLenum, pixels As *GLvoid)
734Declare Sub glEdgeFlag Lib "opengl32" (flag As GLboolean)
735Declare Sub glEdgeFlagPointer Lib "opengl32" (stride As GLsizei, pointer As *GLvoid)
736Declare Sub glEdgeFlagv Lib "opengl32" (flag As *GLboolean)
737Declare Sub glEnable Lib "opengl32" (cap As GLenum)
738Declare Sub glEnableClientState Lib "opengl32" (array As GLenum)
739Declare Sub glEnd Lib "opengl32" ()
740Declare Sub glEndList Lib "opengl32" ()
741Declare Sub glEvalCoord1d Lib "opengl32" (u As GLdouble)
742Declare Sub glEvalCoord1dv Lib "opengl32" (u As *GLdouble)
743Declare Sub glEvalCoord1f Lib "opengl32" (u As GLfloat)
744Declare Sub glEvalCoord1fv Lib "opengl32" (u As *GLfloat)
745Declare Sub glEvalCoord2d Lib "opengl32" (u As GLdouble, v As GLdouble)
746Declare Sub glEvalCoord2dv Lib "opengl32" (u As *GLdouble)
747Declare Sub glEvalCoord2f Lib "opengl32" (u As GLfloat, v As GLfloat)
748Declare Sub glEvalCoord2fv Lib "opengl32" (u As *GLfloat)
749Declare Sub glEvalMesh1 Lib "opengl32" (mode As GLenum, i1 As GLint, i2 As GLint)
750Declare Sub glEvalMesh2 Lib "opengl32" (mode As GLenum, i1 As GLint, i2 As GLint, j1 As GLint, j2 As GLint)
751Declare Sub glEvalPoint1 Lib "opengl32" (i As GLint)
752Declare Sub glEvalPoint2 Lib "opengl32" (i As GLint, j As GLint)
753Declare Sub glFeedbackBuffer Lib "opengl32" (size As GLsizei, type_ As GLenum, buffer As *GLfloat)
754Declare Sub glFinish Lib "opengl32" ()
755Declare Sub glFlush Lib "opengl32" ()
756Declare Sub glFogf Lib "opengl32" (pname As GLenum, param As GLfloat)
757Declare Sub glFogfv Lib "opengl32" (pname As GLenum, params As *GLfloat)
758Declare Sub glFogi Lib "opengl32" (pname As GLenum, param As GLint)
759Declare Sub glFogiv Lib "opengl32" (pname As GLenum, params As *GLint)
760Declare Sub glFrontFace Lib "opengl32" (mode As GLenum)
761Declare Sub glFrustum Lib "opengl32" (left As GLdouble, right As GLdouble, bottom As GLdouble, top As GLdouble, zNear As GLdouble, zFar As GLdouble)
762Declare Function glGenLists Lib "opengl32" (range As GLsizei) As GLuint
763Declare Sub glGenTextures Lib "opengl32" (n As GLsizei, textures As *GLuint)
764Declare Sub glGetBooleanv Lib "opengl32" (pname As GLenum, params As *GLboolean)
765Declare Sub glGetClipPlane Lib "opengl32" (plane As GLenum, equation As *GLdouble)
766Declare Sub glGetDoublev Lib "opengl32" (pname As GLenum, params As *GLdouble)
767Declare Function glGetError Lib "opengl32" () As GLenum
768Declare Sub glGetFloatv Lib "opengl32" (pname As GLenum, params As *GLfloat)
769Declare Sub glGetIntegerv Lib "opengl32" (pname As GLenum, params As *GLint)
770Declare Sub glGetLightfv Lib "opengl32" (light As GLenum, pname As GLenum, params As *GLfloat)
771Declare Sub glGetLightiv Lib "opengl32" (light As GLenum, pname As GLenum, params As *GLint)
772Declare Sub glGetMapdv Lib "opengl32" (target As GLenum, query As GLenum, v As *GLdouble)
773Declare Sub glGetMapfv Lib "opengl32" (target As GLenum, query As GLenum, v As *GLfloat)
774Declare Sub glGetMapiv Lib "opengl32" (target As GLenum, query As GLenum, v As *GLint)
775Declare Sub glGetMaterialfv Lib "opengl32" (face As GLenum, pname As GLenum, params As *GLfloat)
776Declare Sub glGetMaterialiv Lib "opengl32" (face As GLenum, pname As GLenum, params As *GLint)
777Declare Sub glGetPixelMapfv Lib "opengl32" (map As GLenum, values As *GLfloat)
778Declare Sub glGetPixelMapuiv Lib "opengl32" (map As GLenum, values As *GLuint)
779Declare Sub glGetPixelMapusv Lib "opengl32" (map As GLenum, values As *GLushort)
780Declare Sub glGetPointerv Lib "opengl32" (pname As GLenum, ByRef values As *GLvoid)
781Declare Sub glGetPolygonStipple Lib "opengl32" (mask As *GLubyte)
782Declare Function glGetString Lib "opengl32" (name As GLenum) As *GLubyte
783Declare Sub glGetTexEnvfv Lib "opengl32" (target As GLenum, pname As GLenum, params As *GLfloat)
784Declare Sub glGetTexEnviv Lib "opengl32" (target As GLenum, pname As GLenum, params As *GLint)
785Declare Sub glGetTexGendv Lib "opengl32" (coord As GLenum, pname As GLenum, params As *GLdouble)
786Declare Sub glGetTexGenfv Lib "opengl32" (coord As GLenum, pname As GLenum, params As *GLfloat)
787Declare Sub glGetTexGeniv Lib "opengl32" (coord As GLenum, pname As GLenum, params As *GLint)
788Declare Sub glGetTexImage Lib "opengl32" (target As GLenum, level As GLint, format As GLenum, type_ As GLenum, pixels As *GLvoid)
789Declare Sub glGetTexLevelParameterfv Lib "opengl32" (target As GLenum, level As GLint, pname As GLenum, params As *GLfloat)
790Declare Sub glGetTexLevelParameteriv Lib "opengl32" (target As GLenum, level As GLint, pname As GLenum, params As *GLint)
791Declare Sub glGetTexParameterfv Lib "opengl32" (target As GLenum, pname As GLenum, params As *GLfloat)
792Declare Sub glGetTexParameteriv Lib "opengl32" (target As GLenum, pname As GLenum, params As *GLint)
793Declare Sub glHint Lib "opengl32" (target As GLenum, mode As GLenum)
794Declare Sub glIndexMask Lib "opengl32" (mask As GLuint)
795Declare Sub glIndexPointer Lib "opengl32" (type_ As GLenum, stride As GLsizei, pointer As *GLvoid)
796Declare Sub glIndexd Lib "opengl32" (c As GLdouble)
797Declare Sub glIndexdv Lib "opengl32" (c As *GLdouble)
798Declare Sub glIndexf Lib "opengl32" (c As GLfloat)
799Declare Sub glIndexfv Lib "opengl32" (c As *GLfloat)
800Declare Sub glIndexi Lib "opengl32" (c As GLint)
801Declare Sub glIndexiv Lib "opengl32" (c As *GLint)
802Declare Sub glIndexs Lib "opengl32" (c As GLshort)
803Declare Sub glIndexsv Lib "opengl32" (c As *GLshort)
804Declare Sub glIndexub Lib "opengl32" (c As GLubyte)
805Declare Sub glIndexubv Lib "opengl32" (c As *GLubyte)
806Declare Sub glInitNames Lib "opengl32" ()
807Declare Sub glInterleavedArrays Lib "opengl32" (format As GLenum, stride As GLsizei, pointer As *GLvoid)
808Declare Function glIsEnabled Lib "opengl32" (cap As GLenum) As GLboolean
809Declare Function glIsList Lib "opengl32" (list As GLuint) As GLboolean
810Declare Function glIsTexture Lib "opengl32" (texture As GLuint) As GLboolean
811Declare Sub glLightModelf Lib "opengl32" (pname As GLenum, param As GLfloat)
812Declare Sub glLightModelfv Lib "opengl32" (pname As GLenum, params As *GLfloat)
813Declare Sub glLightModeli Lib "opengl32" (pname As GLenum, param As GLint)
814Declare Sub glLightModeliv Lib "opengl32" (pname As GLenum, params As *GLint)
815Declare Sub glLightf Lib "opengl32" (light As GLenum, pname As GLenum, param As GLfloat)
816Declare Sub glLightfv Lib "opengl32" (light As GLenum, pname As GLenum, params As *GLfloat)
817Declare Sub glLighti Lib "opengl32" (light As GLenum, pname As GLenum, param As GLint)
818Declare Sub glLightiv Lib "opengl32" (light As GLenum, pname As GLenum, params As *GLint)
819Declare Sub glLineStipple Lib "opengl32" (factor As GLint, pattern As GLushort)
820Declare Sub glLineWidth Lib "opengl32" (width As GLfloat)
821Declare Sub glListBase Lib "opengl32" (base As GLuint)
822Declare Sub glLoadIdentity Lib "opengl32" ()
823Declare Sub glLoadMatrixd Lib "opengl32" (m As *GLdouble)
824Declare Sub glLoadMatrixf Lib "opengl32" (m As *GLfloat)
825Declare Sub glLoadName Lib "opengl32" (name As GLuint)
826Declare Sub glLogicOp Lib "opengl32" (opcode As GLenum)
827Declare Sub glMap1d Lib "opengl32" (target As GLenum, u1 As GLdouble, u2 As GLdouble, stride As GLint, order As GLint, points As *GLdouble)
828Declare Sub glMap1f Lib "opengl32" (target As GLenum, u1 As GLfloat, u2 As GLfloat, stride As GLint, order As GLint, points As *GLfloat)
829Declare 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)
830Declare 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)
831Declare Sub glMapGrid1d Lib "opengl32" (un As GLint, u1 As GLdouble, u2 As GLdouble)
832Declare Sub glMapGrid1f Lib "opengl32" (un As GLint, u1 As GLfloat, u2 As GLfloat)
833Declare Sub glMapGrid2d Lib "opengl32" (un As GLint, u1 As GLdouble, u2 As GLdouble, vn As GLint, v1 As GLdouble, v2 As GLdouble)
834Declare Sub glMapGrid2f Lib "opengl32" (un As GLint, u1 As GLfloat, u2 As GLfloat, vn As GLint, v1 As GLfloat, v2 As GLfloat)
835Declare Sub glMaterialf Lib "opengl32" (face As GLenum, pname As GLenum, param As GLfloat)
836Declare Sub glMaterialfv Lib "opengl32" (face As GLenum, pname As GLenum, params As *GLfloat)
837Declare Sub glMateriali Lib "opengl32" (face As GLenum, pname As GLenum, param As GLint)
838Declare Sub glMaterialiv Lib "opengl32" (face As GLenum, pname As GLenum, params As *GLint)
839Declare Sub glMatrixMode Lib "opengl32" (mode As GLenum)
840Declare Sub glMultMatrixd Lib "opengl32" (m As *GLdouble)
841Declare Sub glMultMatrixf Lib "opengl32" (m As *GLfloat)
842Declare Sub glNewList Lib "opengl32" (list As GLuint, mode As GLenum)
843Declare Sub glNormal3b Lib "opengl32" (nx As GLbyte, ny As GLbyte, nz As GLbyte)
844Declare Sub glNormal3bv Lib "opengl32" (v As *GLbyte)
845Declare Sub glNormal3d Lib "opengl32" (nx As GLdouble, ny As GLdouble, nz As GLdouble)
846Declare Sub glNormal3dv Lib "opengl32" (v As *GLdouble)
847Declare Sub glNormal3f Lib "opengl32" (nx As GLfloat, ny As GLfloat, nz As GLfloat)
848Declare Sub glNormal3fv Lib "opengl32" (v As *GLfloat)
849Declare Sub glNormal3i Lib "opengl32" (nx As GLint, ny As GLint, nz As GLint)
850Declare Sub glNormal3iv Lib "opengl32" (v As *GLint)
851Declare Sub glNormal3s Lib "opengl32" (nx As GLshort, ny As GLshort, nz As GLshort)
852Declare Sub glNormal3sv Lib "opengl32" (v As *GLshort)
853Declare Sub glNormalPointer Lib "opengl32" (type_ As GLenum, stride As GLsizei, pointer As *GLvoid)
854Declare Sub glOrtho Lib "opengl32" (left As GLdouble, right As GLdouble, bottom As GLdouble, top As GLdouble, zNear As GLdouble, zFar As GLdouble)
855Declare Sub glPassThrough Lib "opengl32" (token As GLfloat)
856Declare Sub glPixelMapfv Lib "opengl32" (map As GLenum, mapsize As GLsizei, values As *GLfloat)
857Declare Sub glPixelMapuiv Lib "opengl32" (map As GLenum, mapsize As GLsizei, values As *GLuint)
858Declare Sub glPixelMapusv Lib "opengl32" (map As GLenum, mapsize As GLsizei, values As *GLushort)
859Declare Sub glPixelStoref Lib "opengl32" (pname As GLenum, param As GLfloat)
860Declare Sub glPixelStorei Lib "opengl32" (pname As GLenum, param As GLint)
861Declare Sub glPixelTransferf Lib "opengl32" (pname As GLenum, param As GLfloat)
862Declare Sub glPixelTransferi Lib "opengl32" (pname As GLenum, param As GLint)
863Declare Sub glPixelZoom Lib "opengl32" (xfactor As GLfloat, yfactor As GLfloat)
864Declare Sub glPointSize Lib "opengl32" (size As GLfloat)
865Declare Sub glPolygonMode Lib "opengl32" (face As GLenum, mode As GLenum)
866Declare Sub glPolygonOffset Lib "opengl32" (factor As GLfloat, units As GLfloat)
867Declare Sub glPolygonStipple Lib "opengl32" (mask As *GLubyte)
868Declare Sub glPopAttrib Lib "opengl32" ()
869Declare Sub glPopClientAttrib Lib "opengl32" ()
870Declare Sub glPopMatrix Lib "opengl32" ()
871Declare Sub glPopName Lib "opengl32" ()
872Declare Sub glPrioritizeTextures Lib "opengl32" (n As GLsizei, textures As *GLuint, priorities As *GLclampf)
873Declare Sub glPushAttrib Lib "opengl32" (mask As GLbitfield)
874Declare Sub glPushClientAttrib Lib "opengl32" (mask As GLbitfield)
875Declare Sub glPushMatrix Lib "opengl32" ()
876Declare Sub glPushName Lib "opengl32" (name As GLuint)
877Declare Sub glRasterPos2d Lib "opengl32" (x As GLdouble, y As GLdouble)
878Declare Sub glRasterPos2dv Lib "opengl32" (v As *GLdouble)
879Declare Sub glRasterPos2f Lib "opengl32" (x As GLfloat, y As GLfloat)
880Declare Sub glRasterPos2fv Lib "opengl32" (v As *GLfloat)
881Declare Sub glRasterPos2i Lib "opengl32" (x As GLint, y As GLint)
882Declare Sub glRasterPos2iv Lib "opengl32" (v As *GLint)
883Declare Sub glRasterPos2s Lib "opengl32" (x As GLshort, y As GLshort)
884Declare Sub glRasterPos2sv Lib "opengl32" (v As *GLshort)
885Declare Sub glRasterPos3d Lib "opengl32" (x As GLdouble, y As GLdouble, z As GLdouble)
886Declare Sub glRasterPos3dv Lib "opengl32" (v As *GLdouble)
887Declare Sub glRasterPos3f Lib "opengl32" (x As GLfloat, y As GLfloat, z As GLfloat)
888Declare Sub glRasterPos3fv Lib "opengl32" (v As *GLfloat)
889Declare Sub glRasterPos3i Lib "opengl32" (x As GLint, y As GLint, z As GLint)
890Declare Sub glRasterPos3iv Lib "opengl32" (v As *GLint)
891Declare Sub glRasterPos3s Lib "opengl32" (x As GLshort, y As GLshort, z As GLshort)
892Declare Sub glRasterPos3sv Lib "opengl32" (v As *GLshort)
893Declare Sub glRasterPos4d Lib "opengl32" (x As GLdouble, y As GLdouble, z As GLdouble, w As GLdouble)
894Declare Sub glRasterPos4dv Lib "opengl32" (v As *GLdouble)
895Declare Sub glRasterPos4f Lib "opengl32" (x As GLfloat, y As GLfloat, z As GLfloat, w As GLfloat)
896Declare Sub glRasterPos4fv Lib "opengl32" (v As *GLfloat)
897Declare Sub glRasterPos4i Lib "opengl32" (x As GLint, y As GLint, z As GLint, w As GLint)
898Declare Sub glRasterPos4iv Lib "opengl32" (v As *GLint)
899Declare Sub glRasterPos4s Lib "opengl32" (x As GLshort, y As GLshort, z As GLshort, w As GLshort)
900Declare Sub glRasterPos4sv Lib "opengl32" (v As *GLshort)
901Declare Sub glReadBuffer Lib "opengl32" (mode As GLenum)
902Declare 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)
903Declare Sub glRectd Lib "opengl32" (x1 As GLdouble, y1 As GLdouble, x2 As GLdouble, y2 As GLdouble)
904Declare Sub glRectdv Lib "opengl32" (v1 As *GLdouble, v2 As *GLdouble)
905Declare Sub glRectf Lib "opengl32" (x1 As GLfloat, y1 As GLfloat, x2 As GLfloat, y2 As GLfloat)
906Declare Sub glRectfv Lib "opengl32" (v1 As *GLfloat, v2 As *GLfloat)
907Declare Sub glRecti Lib "opengl32" (x1 As GLint, y1 As GLint, x2 As GLint, y2 As GLint)
908Declare Sub glRectiv Lib "opengl32" (v1 As *GLint, v2 As *GLint)
909Declare Sub glRects Lib "opengl32" ( x1 As GLshort, y1 As GLshort, x2 As GLshort, y2 As GLshort)
910Declare Sub glRectsv Lib "opengl32" (v1 As *GLshort, v2 As *GLshort)
911Declare Function glRenderMode Lib "opengl32" (mode As GLenum) As GLint
912Declare Sub glRotated Lib "opengl32" (angle As GLdouble, x As GLdouble, y As GLdouble, z As GLdouble)
913Declare Sub glRotatef Lib "opengl32" (angle As GLfloat, x As GLfloat, y As GLfloat, z As GLfloat)
914Declare Sub glScaled Lib "opengl32" (x As GLdouble, y As GLdouble, z As GLdouble)
915Declare Sub glScalef Lib "opengl32" (x As GLfloat, y As GLfloat, z As GLfloat)
916Declare Sub glScissor Lib "opengl32" (x As GLint, y As GLint, width As GLsizei, height As GLsizei)
917Declare Sub glSelectBuffer Lib "opengl32" (size As GLsizei, buffer As *GLuint)
918Declare Sub glShadeModel Lib "opengl32" (mode As GLenum)
919Declare Sub glStencilFunc Lib "opengl32" (func As GLenum, ref As GLint, mask As GLuint)
920Declare Sub glStencilMask Lib "opengl32" (mask As GLuint)
921Declare Sub glStencilOp Lib "opengl32" (fail As GLenum, zfail As GLenum, zpass As GLenum)
922Declare Sub glTexCoord1d Lib "opengl32" (s As GLdouble)
923Declare Sub glTexCoord1dv Lib "opengl32" (v As *GLdouble)
924Declare Sub glTexCoord1f Lib "opengl32" (s As GLfloat)
925Declare Sub glTexCoord1fv Lib "opengl32" (v As *GLfloat)
926Declare Sub glTexCoord1i Lib "opengl32" (s As GLint)
927Declare Sub glTexCoord1iv Lib "opengl32" (v As *GLint)
928Declare Sub glTexCoord1s Lib "opengl32" (s As GLshort)
929Declare Sub glTexCoord1sv Lib "opengl32" (v As *GLshort)
930Declare Sub glTexCoord2d Lib "opengl32" (s As GLdouble, t As GLdouble)
931Declare Sub glTexCoord2dv Lib "opengl32" (v As *GLdouble)
932Declare Sub glTexCoord2f Lib "opengl32" (s As GLfloat, t As GLfloat)
933Declare Sub glTexCoord2fv Lib "opengl32" (v As *GLfloat)
934Declare Sub glTexCoord2i Lib "opengl32" (s As GLint, t As GLint)
935Declare Sub glTexCoord2iv Lib "opengl32" (v As *GLint)
936Declare Sub glTexCoord2s Lib "opengl32" (s As GLshort, t As GLshort)
937Declare Sub glTexCoord2sv Lib "opengl32" (v As *GLshort)
938Declare Sub glTexCoord3d Lib "opengl32" (s As GLdouble, t As GLdouble, r As GLdouble)
939Declare Sub glTexCoord3dv Lib "opengl32" (v As *GLdouble)
940Declare Sub glTexCoord3f Lib "opengl32" (s As GLfloat, t As GLfloat, r As GLfloat)
941Declare Sub glTexCoord3fv Lib "opengl32" (v As *GLfloat)
942Declare Sub glTexCoord3i Lib "opengl32" (s As GLint, t As GLint, r As GLint)
943Declare Sub glTexCoord3iv Lib "opengl32" (v As *GLint)
944Declare Sub glTexCoord3s Lib "opengl32" (s As GLshort, t As GLshort, r As GLshort)
945Declare Sub glTexCoord3sv Lib "opengl32" (v As *GLshort)
946Declare Sub glTexCoord4d Lib "opengl32" (s As GLdouble, t As GLdouble, r As GLdouble, q As GLdouble)
947Declare Sub glTexCoord4dv Lib "opengl32" (v As *GLdouble)
948Declare Sub glTexCoord4f Lib "opengl32" (s As GLfloat, t As GLfloat, r As GLfloat, q As GLfloat)
949Declare Sub glTexCoord4fv Lib "opengl32" (v As *GLfloat)
950Declare Sub glTexCoord4i Lib "opengl32" (s As GLint, t As GLint, r As GLint, q As GLint)
951Declare Sub glTexCoord4iv Lib "opengl32" (v As *GLint)
952Declare Sub glTexCoord4s Lib "opengl32" (s As GLshort, t As GLshort, r As GLshort, q As GLshort)
953Declare Sub glTexCoord4sv Lib "opengl32" (v As *GLshort)
954Declare Sub glTexCoordPointer Lib "opengl32" (size As GLint, type_ As GLenum, stride As GLsizei, pointer As *GLvoid)
955Declare Sub glTexEnvf Lib "opengl32" (target As GLenum, pname As GLenum, param As GLfloat)
956Declare Sub glTexEnvfv Lib "opengl32" (target As GLenum, pname As GLenum, params As *GLfloat)
957Declare Sub glTexEnvi Lib "opengl32" (target As GLenum, pname As GLenum, param As GLint)
958Declare Sub glTexEnviv Lib "opengl32" (target As GLenum, pname As GLenum, params As *GLint)
959Declare Sub glTexGend Lib "opengl32" (coord As GLenum, pname As GLenum, param As GLdouble)
960Declare Sub glTexGendv Lib "opengl32" (coord As GLenum, pname As GLenum, params As *GLdouble)
961Declare Sub glTexGenf Lib "opengl32" (coord As GLenum, pname As GLenum, param As GLfloat)
962Declare Sub glTexGenfv Lib "opengl32" (coord As GLenum, pname As GLenum, params As *GLfloat)
963Declare Sub glTexGeni Lib "opengl32" (coord As GLenum, pname As GLenum, param As GLint)
964Declare Sub glTexGeniv Lib "opengl32" (coord As GLenum, pname As GLenum, params As *GLint)
965Declare 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)
966Declare 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)
967Declare Sub glTexParameterf Lib "opengl32" (target As GLenum, pname As GLenum, param As GLfloat)
968Declare Sub glTexParameterfv Lib "opengl32" (target As GLenum, pname As GLenum, params As *GLfloat)
969Declare Sub glTexParameteri Lib "opengl32" (target As GLenum, pname As GLenum, param As GLint)
970Declare Sub glTexParameteriv Lib "opengl32" (target As GLenum, pname As GLenum, params As *GLint)
971Declare 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)
972Declare 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)
973Declare Sub glTranslated Lib "opengl32" (x As GLdouble, y As GLdouble, z As GLdouble)
974Declare Sub glTranslatef Lib "opengl32" (x As GLfloat, y As GLfloat, z As GLfloat)
975Declare Sub glVertex2d Lib "opengl32" (x As GLdouble, y As GLdouble)
976Declare Sub glVertex2dv Lib "opengl32" (v As *GLdouble)
977Declare Sub glVertex2f Lib "opengl32" (x As GLfloat, y As GLfloat)
978Declare Sub glVertex2fv Lib "opengl32" (v As *GLfloat)
979Declare Sub glVertex2i Lib "opengl32" (x As GLint, y As GLint)
980Declare Sub glVertex2iv Lib "opengl32" (v As *GLint)
981Declare Sub glVertex2s Lib "opengl32" (x As GLshort, y As GLshort)
982Declare Sub glVertex2sv Lib "opengl32" (v As *GLshort)
983Declare Sub glVertex3d Lib "opengl32" (x As GLdouble, y As GLdouble, z As GLdouble)
984Declare Sub glVertex3dv Lib "opengl32" (v As *GLdouble)
985Declare Sub glVertex3f Lib "opengl32" (x As GLfloat, y As GLfloat, z As GLfloat)
986Declare Sub glVertex3fv Lib "opengl32" (v As *GLfloat)
987Declare Sub glVertex3i Lib "opengl32" (x As GLint, y As GLint, z As GLint)
988Declare Sub glVertex3iv Lib "opengl32" (v As *GLint)
989Declare Sub glVertex3s Lib "opengl32" (x As GLshort, y As GLshort, z As GLshort)
990Declare Sub glVertex3sv Lib "opengl32" (v As *GLshort)
991Declare Sub glVertex4d Lib "opengl32" (x As GLdouble, y As GLdouble, z As GLdouble, w As GLdouble)
992Declare Sub glVertex4dv Lib "opengl32" (v As *GLdouble)
993Declare Sub glVertex4f Lib "opengl32" (x As GLfloat, y As GLfloat, z As GLfloat, w As GLfloat)
994Declare Sub glVertex4fv Lib "opengl32" (v As *GLfloat)
995Declare Sub glVertex4i Lib "opengl32" (x As GLint, y As GLint, z As GLint, w As GLint)
996Declare Sub glVertex4iv Lib "opengl32" (v As *GLint)
997Declare Sub glVertex4s Lib "opengl32" (x As GLshort, y As GLshort, z As GLshort, w As GLshort)
998Declare Sub glVertex4sv Lib "opengl32" (v As *GLshort)
999Declare Sub glVertexPointer Lib "opengl32" (size As GLint, type_ As GLenum, stride As GLsizei, pointer As *GLvoid)
1000Declare Sub glViewport Lib "opengl32" (x As GLint, y As GLint, width As GLsizei, height As GLsizei)
1001
1002TypeDef PFNGLARRAYELEMENTEXTPROC = *Sub(i As GLint)
1003TypeDef PFNGLDRAWARRAYSEXTPROC = *Sub(mode As GLenum, first As GLint, count As GLsizei)
1004TypeDef PFNGLVERTEXPOINTEREXTPROC = *Sub(size As GLint, type_ As GLenum, stride As GLsizei, count As GLsizei, pointer As *GLvoid)
1005TypeDef PFNGLNORMALPOINTEREXTPROC = *Sub(type_ As GLenum, stride As GLsizei, count As GLsizei, pointer As *GLvoid)
1006TypeDef PFNGLCOLORPOINTEREXTPROC = *Sub(size As GLint, type_ As GLenum, stride As GLsizei, count As GLsizei, pointer As *GLvoid)
1007TypeDef PFNGLINDEXPOINTEREXTPROC = *Sub(type_ As GLenum, stride As GLsizei, count As GLsizei, pointer As *GLvoid)
1008TypeDef PFNGLTEXCOORDPOINTEREXTPROC = *Sub(size As GLint, type_ As GLenum, stride As GLsizei, count As GLsizei, pointer As *GLvoid)
1009TypeDef PFNGLEDGEFLAGPOINTEREXTPROC = *Sub(stride As GLsizei, count As GLsizei, pointer As *GLboolean)
1010TypeDef PFNGLGETPOINTERVEXTPROC = *Sub(pname As GLenum, ByRef values As *GLvoid)
1011TypeDef PFNGLARRAYELEMENTARRAYEXTPROC = *Sub(mode As GLenum, count As GLsizei, pi As *GLvoid)
1012TypeDef PFNGLDRAWRANGEELEMENTSWINPROC = *Sub(mode As GLenum, start As GLuint, end_ As GLuint, count As GLsizei, type_ As GLenum, indices As *GLvoid)
1013TypeDef PFNGLADDSWAPHINTRECTWINPROC = *Sub(x As GLint, y As GLint, width As GLsizei, height As GLsizei)
1014TypeDef PFNGLCOLORTABLEEXTPROC = *Sub(target As GLenum, internalFormat As GLenum, width As GLsizei, format As GLenum, type_ As GLenum, data As *GLvoid)
1015TypeDef PFNGLCOLORSUBTABLEEXTPROC = *Sub(target As GLenum, start As GLsizei, count As GLsizei, format As GLenum, type_ As GLenum, data As *GLvoid)
1016TypeDef PFNGLGETCOLORTABLEEXTPROC = *Sub(target As GLenum, format As GLenum, type_ As GLenum, data As *GLvoid)
1017TypeDef PFNGLGETCOLORTABLEPARAMETERIVEXTPROC = *Sub(target As GLenum, pname As GLenum, params As *GLint)
1018TypeDef PFNGLGETCOLORTABLEPARAMETERFVEXTPROC = *Sub(target As GLenum, pname As GLenum, params As *GLfloat)
Note: See TracBrowser for help on using the repository browser.