source: Include/gl/gl.sbp@ 208

Last change on this file since 208 was 184, checked in by NoWest, 18 years ago

バグを修正。

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