opengl.bmx 48 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919
  1. Strict
  2. Rem
  3. bbdoc: Graphics/OpenGL 1.1
  4. End Rem
  5. Module Pub.OpenGL
  6. ModuleInfo "Version: 1.02"
  7. ModuleInfo "License: SGI Free Software License B"
  8. ModuleInfo "Modserver: BRL"
  9. ModuleInfo "History: 1.02 Release"
  10. ModuleInfo "History: Restored GLU"
  11. ?osx
  12. Import "-framework AGL"
  13. Import "-framework OpenGL"
  14. Import "glu.bmx"
  15. ?Win32
  16. Import "GL/gl.h"
  17. Import "-lglu32"
  18. Import "-lopengl32"
  19. Import "glu.bmx"
  20. ?Linuxx86
  21. Import "GL/gl.h"
  22. Import "-lGL"
  23. Import "-lGLU"
  24. Import "glu.bmx"
  25. ?Linuxx64
  26. Import "GL/gl.h"
  27. Import "-lGL"
  28. Import "-lGLU"
  29. Import "glu.bmx"
  30. ?Linuxarm64 and not raspberrypi
  31. Import "GL/gl.h"
  32. Import "-lGL"
  33. Import "-lGLU"
  34. Import "glu.bmx"
  35. ?haiku
  36. Import "GL/gl.h"
  37. Import "-lGL"
  38. Import "-lGLU"
  39. Import "glu.bmx"
  40. ?
  41. ?Not nx
  42. Extern "Os"
  43. Const GL_ACCUM=$0100
  44. Const GL_LOAD=$0101
  45. Const GL_RETURN=$0102
  46. Const GL_MULT=$0103
  47. Const GL_ADD=$0104
  48. Const GL_NEVER=$0200
  49. Const GL_LESS=$0201
  50. Const GL_EQUAL=$0202
  51. Const GL_LEQUAL=$0203
  52. Const GL_GREATER=$0204
  53. Const GL_NOTEQUAL=$0205
  54. Const GL_GEQUAL=$0206
  55. Const GL_ALWAYS=$0207
  56. Const GL_CURRENT_BIT=$00000001
  57. Const GL_POINT_BIT=$00000002
  58. Const GL_LINE_BIT=$00000004
  59. Const GL_POLYGON_BIT=$00000008
  60. Const GL_POLYGON_STIPPLE_BIT=$00000010
  61. Const GL_PIXEL_MODE_BIT=$00000020
  62. Const GL_LIGHTING_BIT=$00000040
  63. Const GL_FOG_BIT=$00000080
  64. Const GL_DEPTH_BUFFER_BIT=$00000100
  65. Const GL_ACCUM_BUFFER_BIT=$00000200
  66. Const GL_STENCIL_BUFFER_BIT=$00000400
  67. Const GL_VIEWPORT_BIT=$00000800
  68. Const GL_TRANSFORM_BIT=$00001000
  69. Const GL_ENABLE_BIT=$00002000
  70. Const GL_COLOR_BUFFER_BIT=$00004000
  71. Const GL_HINT_BIT=$00008000
  72. Const GL_EVAL_BIT=$00010000
  73. Const GL_LIST_BIT=$00020000
  74. Const GL_TEXTURE_BIT=$00040000
  75. Const GL_SCISSOR_BIT=$00080000
  76. Const GL_ALL_ATTRIB_BITS=$000fffff
  77. Const GL_POINTS=$0000
  78. Const GL_LINES=$0001
  79. Const GL_LINE_LOOP=$0002
  80. Const GL_LINE_STRIP=$0003
  81. Const GL_TRIANGLES=$0004
  82. Const GL_TRIANGLE_STRIP=$0005
  83. Const GL_TRIANGLE_FAN=$0006
  84. Const GL_QUADS=$0007
  85. Const GL_QUAD_STRIP=$0008
  86. Const GL_POLYGON=$0009
  87. Const GL_ZERO=0
  88. Const GL_ONE=1
  89. Const GL_SRC_COLOR=$0300
  90. Const GL_ONE_MINUS_SRC_COLOR=$0301
  91. Const GL_SRC_ALPHA=$0302
  92. Const GL_ONE_MINUS_SRC_ALPHA=$0303
  93. Const GL_DST_ALPHA=$0304
  94. Const GL_ONE_MINUS_DST_ALPHA=$0305
  95. Const GL_DST_COLOR=$0306
  96. Const GL_ONE_MINUS_DST_COLOR=$0307
  97. Const GL_SRC_ALPHA_SATURATE=$0308
  98. Const GL_TRUE=1
  99. Const GL_FALSE=0
  100. Const GL_CLIP_PLANE0=$3000
  101. Const GL_CLIP_PLANE1=$3001
  102. Const GL_CLIP_PLANE2=$3002
  103. Const GL_CLIP_PLANE3=$3003
  104. Const GL_CLIP_PLANE4=$3004
  105. Const GL_CLIP_PLANE5=$3005
  106. Const GL_BYTE=$1400
  107. Const GL_UNSIGNED_BYTE=$1401
  108. Const GL_SHORT=$1402
  109. Const GL_UNSIGNED_SHORT=$1403
  110. Const GL_INT=$1404
  111. Const GL_UNSIGNED_INT=$1405
  112. Const GL_FLOAT=$1406
  113. Const GL_2_BYTES=$1407
  114. Const GL_3_BYTES=$1408
  115. Const GL_4_BYTES=$1409
  116. Const GL_DOUBLE=$140A
  117. Const GL_NONE=0
  118. Const GL_FRONT_LEFT=$0400
  119. Const GL_FRONT_RIGHT=$0401
  120. Const GL_BACK_LEFT=$0402
  121. Const GL_BACK_RIGHT=$0403
  122. Const GL_FRONT=$0404
  123. Const GL_BACK=$0405
  124. Const GL_LEFT=$0406
  125. Const GL_RIGHT=$0407
  126. Const GL_FRONT_AND_BACK=$0408
  127. Const GL_AUX0=$0409
  128. Const GL_AUX1=$040A
  129. Const GL_AUX2=$040B
  130. Const GL_AUX3=$040C
  131. Const GL_NO_ERROR=0
  132. Const GL_INVALID_ENUM=$0500
  133. Const GL_INVALID_VALUE=$0501
  134. Const GL_INVALID_OPERATION=$0502
  135. Const GL_STACK_OVERFLOW=$0503
  136. Const GL_STACK_UNDERFLOW=$0504
  137. Const GL_OUT_OF_MEMORY=$0505
  138. Const GL_2D=$0600
  139. Const GL_3D=$0601
  140. Const GL_3D_COLOR=$0602
  141. Const GL_3D_COLOR_TEXTURE=$0603
  142. Const GL_4D_COLOR_TEXTURE=$0604
  143. Const GL_PASS_THROUGH_TOKEN=$0700
  144. Const GL_POINT_TOKEN=$0701
  145. Const GL_LINE_TOKEN=$0702
  146. Const GL_POLYGON_TOKEN=$0703
  147. Const GL_BITMAP_TOKEN=$0704
  148. Const GL_DRAW_PIXEL_TOKEN=$0705
  149. Const GL_COPY_PIXEL_TOKEN=$0706
  150. Const GL_LINE_RESET_TOKEN=$0707
  151. Const GL_EXP=$0800
  152. Const GL_EXP2=$0801
  153. Const GL_CW=$0900
  154. Const GL_CCW=$0901
  155. Const GL_COEFF=$0A00
  156. Const GL_ORDER=$0A01
  157. Const GL_DOMAIN=$0A02
  158. Const GL_CURRENT_COLOR=$0B00
  159. Const GL_CURRENT_INDEX=$0B01
  160. Const GL_CURRENT_NORMAL=$0B02
  161. Const GL_CURRENT_TEXTURE_COORDS=$0B03
  162. Const GL_CURRENT_RASTER_COLOR=$0B04
  163. Const GL_CURRENT_RASTER_INDEX=$0B05
  164. Const GL_CURRENT_RASTER_TEXTURE_COORDS=$0B06
  165. Const GL_CURRENT_RASTER_POSITION=$0B07
  166. Const GL_CURRENT_RASTER_POSITION_VALID=$0B08
  167. Const GL_CURRENT_RASTER_DISTANCE=$0B09
  168. Const GL_POINT_SMOOTH=$0B10
  169. Const GL_POINT_SIZE=$0B11
  170. Const GL_POINT_SIZE_RANGE=$0B12
  171. Const GL_POINT_SIZE_GRANULARITY=$0B13
  172. Const GL_LINE_SMOOTH=$0B20
  173. Const GL_LINE_WIDTH=$0B21
  174. Const GL_LINE_WIDTH_RANGE=$0B22
  175. Const GL_LINE_WIDTH_GRANULARITY=$0B23
  176. Const GL_LINE_STIPPLE=$0B24
  177. Const GL_LINE_STIPPLE_PATTERN=$0B25
  178. Const GL_LINE_STIPPLE_REPEAT=$0B26
  179. Const GL_LIST_MODE=$0B30
  180. Const GL_MAX_LIST_NESTING=$0B31
  181. Const GL_LIST_BASE=$0B32
  182. Const GL_LIST_INDEX=$0B33
  183. Const GL_POLYGON_MODE=$0B40
  184. Const GL_POLYGON_SMOOTH=$0B41
  185. Const GL_POLYGON_STIPPLE=$0B42
  186. Const GL_EDGE_FLAG=$0B43
  187. Const GL_CULL_FACE=$0B44
  188. Const GL_CULL_FACE_MODE=$0B45
  189. Const GL_FRONT_FACE=$0B46
  190. Const GL_LIGHTING=$0B50
  191. Const GL_LIGHT_MODEL_LOCAL_VIEWER=$0B51
  192. Const GL_LIGHT_MODEL_TWO_SIDE=$0B52
  193. Const GL_LIGHT_MODEL_AMBIENT=$0B53
  194. Const GL_SHADE_MODEL=$0B54
  195. Const GL_COLOR_MATERIAL_FACE=$0B55
  196. Const GL_COLOR_MATERIAL_PARAMETER=$0B56
  197. Const GL_COLOR_MATERIAL=$0B57
  198. Const GL_FOG=$0B60
  199. Const GL_FOG_INDEX=$0B61
  200. Const GL_FOG_DENSITY=$0B62
  201. Const GL_FOG_START=$0B63
  202. Const GL_FOG_END=$0B64
  203. Const GL_FOG_MODE=$0B65
  204. Const GL_FOG_COLOR=$0B66
  205. Const GL_DEPTH_RANGE=$0B70
  206. Const GL_DEPTH_TEST=$0B71
  207. Const GL_DEPTH_WRITEMASK=$0B72
  208. Const GL_DEPTH_CLEAR_VALUE=$0B73
  209. Const GL_DEPTH_FUNC=$0B74
  210. Const GL_ACCUM_CLEAR_VALUE=$0B80
  211. Const GL_STENCIL_TEST=$0B90
  212. Const GL_STENCIL_CLEAR_VALUE=$0B91
  213. Const GL_STENCIL_FUNC=$0B92
  214. Const GL_STENCIL_VALUE_MASK=$0B93
  215. Const GL_STENCIL_FAIL=$0B94
  216. Const GL_STENCIL_PASS_DEPTH_FAIL=$0B95
  217. Const GL_STENCIL_PASS_DEPTH_PASS=$0B96
  218. Const GL_STENCIL_REF=$0B97
  219. Const GL_STENCIL_WRITEMASK=$0B98
  220. Const GL_MATRIX_MODE=$0BA0
  221. Const GL_NORMALIZE=$0BA1
  222. Const GL_VIEWPORT=$0BA2
  223. Const GL_MODELVIEW_STACK_DEPTH=$0BA3
  224. Const GL_PROJECTION_STACK_DEPTH=$0BA4
  225. Const GL_TEXTURE_STACK_DEPTH=$0BA5
  226. Const GL_MODELVIEW_MATRIX=$0BA6
  227. Const GL_PROJECTION_MATRIX=$0BA7
  228. Const GL_TEXTURE_MATRIX=$0BA8
  229. Const GL_ATTRIB_STACK_DEPTH=$0BB0
  230. Const GL_CLIENT_ATTRIB_STACK_DEPTH=$0BB1
  231. Const GL_ALPHA_TEST=$0BC0
  232. Const GL_ALPHA_TEST_FUNC=$0BC1
  233. Const GL_ALPHA_TEST_REF=$0BC2
  234. Const GL_DITHER=$0BD0
  235. Const GL_BLEND_DST=$0BE0
  236. Const GL_BLEND_SRC=$0BE1
  237. Const GL_BLEND=$0BE2
  238. Const GL_LOGIC_OP_MODE=$0BF0
  239. Const GL_INDEX_LOGIC_OP=$0BF1
  240. Const GL_COLOR_LOGIC_OP=$0BF2
  241. Const GL_AUX_BUFFERS=$0C00
  242. Const GL_DRAW_BUFFER=$0C01
  243. Const GL_READ_BUFFER=$0C02
  244. Const GL_SCISSOR_BOX=$0C10
  245. Const GL_SCISSOR_TEST=$0C11
  246. Const GL_INDEX_CLEAR_VALUE=$0C20
  247. Const GL_INDEX_WRITEMASK=$0C21
  248. Const GL_COLOR_CLEAR_VALUE=$0C22
  249. Const GL_COLOR_WRITEMASK=$0C23
  250. Const GL_INDEX_MODE=$0C30
  251. Const GL_RGBA_MODE=$0C31
  252. Const GL_DOUBLEBUFFER=$0C32
  253. Const GL_STEREO=$0C33
  254. Const GL_RENDER_MODE=$0C40
  255. Const GL_PERSPECTIVE_CORRECTION_HINT=$0C50
  256. Const GL_POINT_SMOOTH_HINT=$0C51
  257. Const GL_LINE_SMOOTH_HINT=$0C52
  258. Const GL_POLYGON_SMOOTH_HINT=$0C53
  259. Const GL_FOG_HINT=$0C54
  260. Const GL_TEXTURE_GEN_S=$0C60
  261. Const GL_TEXTURE_GEN_T=$0C61
  262. Const GL_TEXTURE_GEN_R=$0C62
  263. Const GL_TEXTURE_GEN_Q=$0C63
  264. Const GL_PIXEL_MAP_I_TO_I=$0C70
  265. Const GL_PIXEL_MAP_S_TO_S=$0C71
  266. Const GL_PIXEL_MAP_I_TO_R=$0C72
  267. Const GL_PIXEL_MAP_I_TO_G=$0C73
  268. Const GL_PIXEL_MAP_I_TO_B=$0C74
  269. Const GL_PIXEL_MAP_I_TO_A=$0C75
  270. Const GL_PIXEL_MAP_R_TO_R=$0C76
  271. Const GL_PIXEL_MAP_G_TO_G=$0C77
  272. Const GL_PIXEL_MAP_B_TO_B=$0C78
  273. Const GL_PIXEL_MAP_A_TO_A=$0C79
  274. Const GL_PIXEL_MAP_I_TO_I_SIZE=$0CB0
  275. Const GL_PIXEL_MAP_S_TO_S_SIZE=$0CB1
  276. Const GL_PIXEL_MAP_I_TO_R_SIZE=$0CB2
  277. Const GL_PIXEL_MAP_I_TO_G_SIZE=$0CB3
  278. Const GL_PIXEL_MAP_I_TO_B_SIZE=$0CB4
  279. Const GL_PIXEL_MAP_I_TO_A_SIZE=$0CB5
  280. Const GL_PIXEL_MAP_R_TO_R_SIZE=$0CB6
  281. Const GL_PIXEL_MAP_G_TO_G_SIZE=$0CB7
  282. Const GL_PIXEL_MAP_B_TO_B_SIZE=$0CB8
  283. Const GL_PIXEL_MAP_A_TO_A_SIZE=$0CB9
  284. Const GL_UNPACK_SWAP_BYTES=$0CF0
  285. Const GL_UNPACK_LSB_FIRST=$0CF1
  286. Const GL_UNPACK_ROW_LENGTH=$0CF2
  287. Const GL_UNPACK_SKIP_ROWS=$0CF3
  288. Const GL_UNPACK_SKIP_PIXELS=$0CF4
  289. Const GL_UNPACK_ALIGNMENT=$0CF5
  290. Const GL_PACK_SWAP_BYTES=$0D00
  291. Const GL_PACK_LSB_FIRST=$0D01
  292. Const GL_PACK_ROW_LENGTH=$0D02
  293. Const GL_PACK_SKIP_ROWS=$0D03
  294. Const GL_PACK_SKIP_PIXELS=$0D04
  295. Const GL_PACK_ALIGNMENT=$0D05
  296. Const GL_MAP_COLOR=$0D10
  297. Const GL_MAP_STENCIL=$0D11
  298. Const GL_INDEX_SHIFT=$0D12
  299. Const GL_INDEX_OFFSET=$0D13
  300. Const GL_RED_SCALE=$0D14
  301. Const GL_RED_BIAS=$0D15
  302. Const GL_ZOOM_X=$0D16
  303. Const GL_ZOOM_Y=$0D17
  304. Const GL_GREEN_SCALE=$0D18
  305. Const GL_GREEN_BIAS=$0D19
  306. Const GL_BLUE_SCALE=$0D1A
  307. Const GL_BLUE_BIAS=$0D1B
  308. Const GL_ALPHA_SCALE=$0D1C
  309. Const GL_ALPHA_BIAS=$0D1D
  310. Const GL_DEPTH_SCALE=$0D1E
  311. Const GL_DEPTH_BIAS=$0D1F
  312. Const GL_MAX_EVAL_ORDER=$0D30
  313. Const GL_MAX_LIGHTS=$0D31
  314. Const GL_MAX_CLIP_PLANES=$0D32
  315. Const GL_MAX_TEXTURE_SIZE=$0D33
  316. Const GL_MAX_PIXEL_MAP_TABLE=$0D34
  317. Const GL_MAX_ATTRIB_STACK_DEPTH=$0D35
  318. Const GL_MAX_MODELVIEW_STACK_DEPTH=$0D36
  319. Const GL_MAX_NAME_STACK_DEPTH=$0D37
  320. Const GL_MAX_PROJECTION_STACK_DEPTH=$0D38
  321. Const GL_MAX_TEXTURE_STACK_DEPTH=$0D39
  322. Const GL_MAX_VIEWPORT_DIMS=$0D3A
  323. Const GL_MAX_CLIENT_ATTRIB_STACK_DEPTH=$0D3B
  324. Const GL_SUBPIXEL_BITS=$0D50
  325. Const GL_INDEX_BITS=$0D51
  326. Const GL_RED_BITS=$0D52
  327. Const GL_GREEN_BITS=$0D53
  328. Const GL_BLUE_BITS=$0D54
  329. Const GL_ALPHA_BITS=$0D55
  330. Const GL_DEPTH_BITS=$0D56
  331. Const GL_STENCIL_BITS=$0D57
  332. Const GL_ACCUM_RED_BITS=$0D58
  333. Const GL_ACCUM_GREEN_BITS=$0D59
  334. Const GL_ACCUM_BLUE_BITS=$0D5A
  335. Const GL_ACCUM_ALPHA_BITS=$0D5B
  336. Const GL_NAME_STACK_DEPTH=$0D70
  337. Const GL_AUTO_NORMAL=$0D80
  338. Const GL_MAP1_COLOR_4=$0D90
  339. Const GL_MAP1_INDEX=$0D91
  340. Const GL_MAP1_NORMAL=$0D92
  341. Const GL_MAP1_TEXTURE_COORD_1=$0D93
  342. Const GL_MAP1_TEXTURE_COORD_2=$0D94
  343. Const GL_MAP1_TEXTURE_COORD_3=$0D95
  344. Const GL_MAP1_TEXTURE_COORD_4=$0D96
  345. Const GL_MAP1_VERTEX_3=$0D97
  346. Const GL_MAP1_VERTEX_4=$0D98
  347. Const GL_MAP2_COLOR_4=$0DB0
  348. Const GL_MAP2_INDEX=$0DB1
  349. Const GL_MAP2_NORMAL=$0DB2
  350. Const GL_MAP2_TEXTURE_COORD_1=$0DB3
  351. Const GL_MAP2_TEXTURE_COORD_2=$0DB4
  352. Const GL_MAP2_TEXTURE_COORD_3=$0DB5
  353. Const GL_MAP2_TEXTURE_COORD_4=$0DB6
  354. Const GL_MAP2_VERTEX_3=$0DB7
  355. Const GL_MAP2_VERTEX_4=$0DB8
  356. Const GL_MAP1_GRID_DOMAIN=$0DD0
  357. Const GL_MAP1_GRID_SEGMENTS=$0DD1
  358. Const GL_MAP2_GRID_DOMAIN=$0DD2
  359. Const GL_MAP2_GRID_SEGMENTS=$0DD3
  360. Const GL_TEXTURE_1D=$0DE0
  361. Const GL_TEXTURE_2D=$0DE1
  362. Const GL_FEEDBACK_BUFFER_POINTER=$0DF0
  363. Const GL_FEEDBACK_BUFFER_SIZE=$0DF1
  364. Const GL_FEEDBACK_BUFFER_TYPE=$0DF2
  365. Const GL_SELECTION_BUFFER_POINTER=$0DF3
  366. Const GL_SELECTION_BUFFER_SIZE=$0DF4
  367. Const GL_TEXTURE_WIDTH=$1000
  368. Const GL_TEXTURE_HEIGHT=$1001
  369. Const GL_TEXTURE_INTERNAL_FORMAT=$1003
  370. Const GL_TEXTURE_BORDER_COLOR=$1004
  371. Const GL_TEXTURE_BORDER=$1005
  372. Const GL_DONT_CARE=$1100
  373. Const GL_FASTEST=$1101
  374. Const GL_NICEST=$1102
  375. Const GL_LIGHT0=$4000
  376. Const GL_LIGHT1=$4001
  377. Const GL_LIGHT2=$4002
  378. Const GL_LIGHT3=$4003
  379. Const GL_LIGHT4=$4004
  380. Const GL_LIGHT5=$4005
  381. Const GL_LIGHT6=$4006
  382. Const GL_LIGHT7=$4007
  383. Const GL_AMBIENT=$1200
  384. Const GL_DIFFUSE=$1201
  385. Const GL_SPECULAR=$1202
  386. Const GL_POSITION=$1203
  387. Const GL_SPOT_DIRECTION=$1204
  388. Const GL_SPOT_EXPONENT=$1205
  389. Const GL_SPOT_CUTOFF=$1206
  390. Const GL_CONSTANT_ATTENUATION=$1207
  391. Const GL_LINEAR_ATTENUATION=$1208
  392. Const GL_QUADRATIC_ATTENUATION=$1209
  393. Const GL_COMPILE=$1300
  394. Const GL_COMPILE_AND_EXECUTE=$1301
  395. Const GL_CLEAR=$1500
  396. Const GL_AND=$1501
  397. Const GL_AND_REVERSE=$1502
  398. Const GL_COPY=$1503
  399. Const GL_AND_INVERTED=$1504
  400. Const GL_NOOP=$1505
  401. Const GL_XOR=$1506
  402. Const GL_OR=$1507
  403. Const GL_NOR=$1508
  404. Const GL_EQUIV=$1509
  405. Const GL_INVERT=$150A
  406. Const GL_OR_REVERSE=$150B
  407. Const GL_COPY_INVERTED=$150C
  408. Const GL_OR_INVERTED=$150D
  409. Const GL_NAND=$150E
  410. Const GL_SET=$150F
  411. Const GL_EMISSION=$1600
  412. Const GL_SHININESS=$1601
  413. Const GL_AMBIENT_AND_DIFFUSE=$1602
  414. Const GL_COLOR_INDEXES=$1603
  415. Const GL_MODELVIEW=$1700
  416. Const GL_PROJECTION=$1701
  417. Const GL_TEXTURE=$1702
  418. Const GL_COLOR=$1800
  419. Const GL_DEPTH=$1801
  420. Const GL_STENCIL=$1802
  421. Const GL_COLOR_INDEX=$1900
  422. Const GL_STENCIL_INDEX=$1901
  423. Const GL_DEPTH_COMPONENT=$1902
  424. Const GL_RED=$1903
  425. Const GL_GREEN=$1904
  426. Const GL_BLUE=$1905
  427. Const GL_ALPHA=$1906
  428. Const GL_RGB=$1907
  429. Const GL_RGBA=$1908
  430. Const GL_LUMINANCE=$1909
  431. Const GL_LUMINANCE_ALPHA=$190A
  432. Const GL_BITMAP=$1A00
  433. Const GL_POINT=$1B00
  434. Const GL_LINE=$1B01
  435. Const GL_FILL=$1B02
  436. Const GL_RENDER=$1C00
  437. Const GL_FEEDBACK=$1C01
  438. Const GL_SELECT=$1C02
  439. Const GL_FLAT=$1D00
  440. Const GL_SMOOTH=$1D01
  441. Const GL_KEEP=$1E00
  442. Const GL_REPLACE=$1E01
  443. Const GL_INCR=$1E02
  444. Const GL_DECR=$1E03
  445. Const GL_VENDOR=$1F00
  446. Const GL_RENDERER=$1F01
  447. Const GL_VERSION=$1F02
  448. Const GL_EXTENSIONS=$1F03
  449. Const GL_S=$2000
  450. Const GL_T=$2001
  451. Const GL_R=$2002
  452. Const GL_Q=$2003
  453. Const GL_MODULATE=$2100
  454. Const GL_DECAL=$2101
  455. Const GL_TEXTURE_ENV_MODE=$2200
  456. Const GL_TEXTURE_ENV_COLOR=$2201
  457. Const GL_TEXTURE_ENV=$2300
  458. Const GL_EYE_LINEAR=$2400
  459. Const GL_OBJECT_LINEAR=$2401
  460. Const GL_SPHERE_MAP=$2402
  461. Const GL_TEXTURE_GEN_MODE=$2500
  462. Const GL_OBJECT_PLANE=$2501
  463. Const GL_EYE_PLANE=$2502
  464. Const GL_NEAREST=$2600
  465. Const GL_LINEAR=$2601
  466. Const GL_NEAREST_MIPMAP_NEAREST=$2700
  467. Const GL_LINEAR_MIPMAP_NEAREST=$2701
  468. Const GL_NEAREST_MIPMAP_LINEAR=$2702
  469. Const GL_LINEAR_MIPMAP_LINEAR=$2703
  470. Const GL_TEXTURE_MAG_FILTER=$2800
  471. Const GL_TEXTURE_MIN_FILTER=$2801
  472. Const GL_TEXTURE_WRAP_S=$2802
  473. Const GL_TEXTURE_WRAP_T=$2803
  474. Const GL_CLAMP=$2900
  475. Const GL_REPEAT=$2901
  476. Const GL_CLIENT_PIXEL_STORE_BIT=$00000001
  477. Const GL_CLIENT_VERTEX_ARRAY_BIT=$00000002
  478. Const GL_CLIENT_ALL_ATTRIB_BITS=$ffffffff
  479. Const GL_POLYGON_OFFSET_FACTOR=$8038
  480. Const GL_POLYGON_OFFSET_UNITS=$2A00
  481. Const GL_POLYGON_OFFSET_POINT=$2A01
  482. Const GL_POLYGON_OFFSET_LINE=$2A02
  483. Const GL_POLYGON_OFFSET_FILL=$8037
  484. Const GL_ALPHA4=$803B
  485. Const GL_ALPHA8=$803C
  486. Const GL_ALPHA12=$803D
  487. Const GL_ALPHA16=$803E
  488. Const GL_LUMINANCE4=$803F
  489. Const GL_LUMINANCE8=$8040
  490. Const GL_LUMINANCE12=$8041
  491. Const GL_LUMINANCE16=$8042
  492. Const GL_LUMINANCE4_ALPHA4=$8043
  493. Const GL_LUMINANCE6_ALPHA2=$8044
  494. Const GL_LUMINANCE8_ALPHA8=$8045
  495. Const GL_LUMINANCE12_ALPHA4=$8046
  496. Const GL_LUMINANCE12_ALPHA12=$8047
  497. Const GL_LUMINANCE16_ALPHA16=$8048
  498. Const GL_INTENSITY=$8049
  499. Const GL_INTENSITY4=$804A
  500. Const GL_INTENSITY8=$804B
  501. Const GL_INTENSITY12=$804C
  502. Const GL_INTENSITY16=$804D
  503. Const GL_R3_G3_B2=$2A10
  504. Const GL_RGB4=$804F
  505. Const GL_RGB5=$8050
  506. Const GL_RGB8=$8051
  507. Const GL_RGB10=$8052
  508. Const GL_RGB12=$8053
  509. Const GL_RGB16=$8054
  510. Const GL_RGBA2=$8055
  511. Const GL_RGBA4=$8056
  512. Const GL_RGB5_A1=$8057
  513. Const GL_RGBA8=$8058
  514. Const GL_RGB10_A2=$8059
  515. Const GL_RGBA12=$805A
  516. Const GL_RGBA16=$805B
  517. Const GL_TEXTURE_RED_SIZE=$805C
  518. Const GL_TEXTURE_GREEN_SIZE=$805D
  519. Const GL_TEXTURE_BLUE_SIZE=$805E
  520. Const GL_TEXTURE_ALPHA_SIZE=$805F
  521. Const GL_TEXTURE_LUMINANCE_SIZE=$8060
  522. Const GL_TEXTURE_INTENSITY_SIZE=$8061
  523. Const GL_PROXY_TEXTURE_1D=$8063
  524. Const GL_PROXY_TEXTURE_2D=$8064
  525. Const GL_TEXTURE_PRIORITY=$8066
  526. Const GL_TEXTURE_RESIDENT=$8067
  527. Const GL_TEXTURE_BINDING_1D=$8068
  528. Const GL_TEXTURE_BINDING_2D=$8069
  529. Const GL_VERTEX_ARRAY=$8074
  530. Const GL_NORMAL_ARRAY=$8075
  531. Const GL_COLOR_ARRAY=$8076
  532. Const GL_INDEX_ARRAY=$8077
  533. Const GL_TEXTURE_COORD_ARRAY=$8078
  534. Const GL_EDGE_FLAG_ARRAY=$8079
  535. Const GL_VERTEX_ARRAY_SIZE=$807A
  536. Const GL_VERTEX_ARRAY_TYPE=$807B
  537. Const GL_VERTEX_ARRAY_STRIDE=$807C
  538. Const GL_NORMAL_ARRAY_TYPE=$807E
  539. Const GL_NORMAL_ARRAY_STRIDE=$807F
  540. Const GL_COLOR_ARRAY_SIZE=$8081
  541. Const GL_COLOR_ARRAY_TYPE=$8082
  542. Const GL_COLOR_ARRAY_STRIDE=$8083
  543. Const GL_INDEX_ARRAY_TYPE=$8085
  544. Const GL_INDEX_ARRAY_STRIDE=$8086
  545. Const GL_TEXTURE_COORD_ARRAY_SIZE=$8088
  546. Const GL_TEXTURE_COORD_ARRAY_TYPE=$8089
  547. Const GL_TEXTURE_COORD_ARRAY_STRIDE=$808A
  548. Const GL_EDGE_FLAG_ARRAY_STRIDE=$808C
  549. Const GL_VERTEX_ARRAY_POINTER=$808E
  550. Const GL_NORMAL_ARRAY_POINTER=$808F
  551. Const GL_COLOR_ARRAY_POINTER=$8090
  552. Const GL_INDEX_ARRAY_POINTER=$8091
  553. Const GL_TEXTURE_COORD_ARRAY_POINTER=$8092
  554. Const GL_EDGE_FLAG_ARRAY_POINTER=$8093
  555. Const GL_V2F=$2A20
  556. Const GL_V3F=$2A21
  557. Const GL_C4UB_V2F=$2A22
  558. Const GL_C4UB_V3F=$2A23
  559. Const GL_C3F_V3F=$2A24
  560. Const GL_N3F_V3F=$2A25
  561. Const GL_C4F_N3F_V3F=$2A26
  562. Const GL_T2F_V3F=$2A27
  563. Const GL_T4F_V4F=$2A28
  564. Const GL_T2F_C4UB_V3F=$2A29
  565. Const GL_T2F_C3F_V3F=$2A2A
  566. Const GL_T2F_N3F_V3F=$2A2B
  567. Const GL_T2F_C4F_N3F_V3F=$2A2C
  568. Const GL_T4F_C4F_N3F_V4F=$2A2D
  569. Const GL_COLOR_INDEX1_EXT=$80E2
  570. Const GL_COLOR_INDEX2_EXT=$80E3
  571. Const GL_COLOR_INDEX4_EXT=$80E4
  572. Const GL_COLOR_INDEX8_EXT=$80E5
  573. Const GL_COLOR_INDEX12_EXT=$80E6
  574. Const GL_COLOR_INDEX16_EXT=$80E7
  575. Function glAccum(op_:Int,value_:Float)="void glAccum( GLenum , GLfloat )!"
  576. Function glAlphaFunc(func_:Int,ref_:Float)="void glAlphaFunc( GLenum , GLclampf )!"
  577. Function glAreTexturesResident:Byte(n_:Int,textures_:Int Ptr,residences_:Byte Ptr)="GLboolean glAreTexturesResident( GLsizei, const GLuint *, GLboolean * )!"
  578. Function glArrayElement(i_:Int)="void glArrayElement( GLint )!"
  579. Function glBegin(mode_:Int)="void glBegin( GLenum )!"
  580. Function glBindTexture(target_:Int,texture_:Int)="void glBindTexture( GLenum , GLuint )!"
  581. Function glBitmap(width_:Int,height_:Int,xorig_:Float,yorig_:Float,xmove_:Float,ymove_:Float,bitmap_:Byte Ptr)="void glBitmap( GLsizei, GLsizei, GLfloat, GLfloat, GLfloat, GLfloat, const GLubyte * )!"
  582. Function glBlendFunc(sfactor_:Int,dfactor_:Int)="void glBlendFunc( GLenum , GLenum )!"
  583. Function glCallList(list_:Int)="void glCallList( GLuint )!"
  584. Function glCallLists(n_:Int,type_:Int,lists_:Byte Ptr)="void glCallLists( GLsizei, GLenum , const GLvoid * )!"
  585. Function glClear(mask_:Int)="void glClear( GLfloat )!"
  586. Function glClearAccum(red_:Float,green_:Float,blue_:Float,alpha_:Float)="void glClearAccum( GLfloat, GLfloat, GLfloat, GLfloat )!"
  587. Function glClearColor(red_:Float,green_:Float,blue_:Float,alpha_:Float)="void glClearColor( GLclampf, GLclampf, GLclampf, GLclampf )!"
  588. Function glClearDepth(depth_:Double)="void glClearDepth( GLclampd )!"
  589. Function glClearIndex(c_:Float)="void glClearIndex( GLfloat )!"
  590. Function glClearStencil(s_:Int)="void glClearStencil( GLint )!"
  591. Function glClipPlane(plane_:Int,equation_:Double Ptr)="void glClipPlane( GLenum , const GLdouble * )!"
  592. Function glColor3b(red_:Byte,green_:Byte,blue_:Byte)="void glColor3b( GLbyte , GLbyte , GLbyte )!"
  593. Function glColor3bv(v_:Byte Ptr)="void glColor3bv( const GLbyte * )!"
  594. Function glColor3d(red_:Double,green_:Double,blue_:Double)="void glColor3d( GLdouble, GLdouble, GLdouble )!"
  595. Function glColor3dv(v_:Double Ptr)="void glColor3dv( const GLdouble * )!"
  596. Function glColor3f(red_:Float,green_:Float,blue_:Float)="void glColor3f( GLfloat, GLfloat, GLfloat )!"
  597. Function glColor3fv(v_:Float Ptr)="void glColor3fv( const GLfloat * )!"
  598. Function glColor3i(red_:Int,green_:Int,blue_:Int)="void glColor3i( GLint, GLint, GLint )!"
  599. Function glColor3iv(v_:Int Ptr)="void glColor3iv( const GLint * )!"
  600. Function glColor3s(red_:Short,green_:Short,blue_:Short)="void glColor3s( GLshort, GLshort, GLshort )!"
  601. Function glColor3sv(v_:Short Ptr)="void glColor3sv( const GLshort * )!"
  602. Function glColor3ub(red_:Byte,green_:Byte,blue_:Byte)="void glColor3ub( GLubyte, GLubyte, GLubyte )!"
  603. Function glColor3ubv(v_:Byte Ptr)="void glColor3ubv( const GLubyte * )!"
  604. Function glColor3ui(red_:Int,green_:Int,blue_:Int)="void glColor3ui( GLuint, GLuint, GLuint )!"
  605. Function glColor3uiv(v_:Int Ptr)="void glColor3uiv( const GLuint * )!"
  606. Function glColor3us(red_:Short,green_:Short,blue_:Short)="void glColor3us( GLushort, GLushort, GLushort )!"
  607. Function glColor3usv(v_:Short Ptr)="void glColor3usv( const GLushort * )!"
  608. Function glColor4b(red_:Byte,green_:Byte,blue_:Byte,alpha_:Byte)="void glColor4b( GLbyte, GLbyte, GLbyte, GLbyte )!"
  609. Function glColor4bv(v_:Byte Ptr)="void glColor4bv( const GLbyte * )!"
  610. Function glColor4d(red_:Double,green_:Double,blue_:Double,alpha_:Double)="void glColor4d( GLdouble, GLdouble, GLdouble, GLdouble )!"
  611. Function glColor4dv(v_:Double Ptr)="void glColor4dv( const GLdouble * )!"
  612. Function glColor4f(red_:Float,green_:Float,blue_:Float,alpha_:Float)="void glColor4f( GLfloat, GLfloat, GLfloat, GLfloat )!"
  613. Function glColor4fv(v_:Float Ptr)="void glColor4fv( const GLfloat * )!"
  614. Function glColor4i(red_:Int,green_:Int,blue_:Int,alpha_:Int)="void glColor4i( GLint, GLint, GLint, GLint )!"
  615. Function glColor4iv(v_:Int Ptr)="void glColor4iv( const GLint * )!"
  616. Function glColor4s(red_:Short,green_:Short,blue_:Short,alpha_:Short)="void glColor4s( GLshort, GLshort, GLshort, GLshort )!"
  617. Function glColor4sv(v_:Short Ptr)="void glColor4sv( const GLshort * )!"
  618. Function glColor4ub(red_:Byte,green_:Byte,blue_:Byte,alpha_:Byte)="void glColor4ub( GLubyte, GLubyte, GLubyte, GLubyte )!"
  619. Function glColor4ubv(v_:Byte Ptr)="void glColor4ubv( const GLubyte * )!"
  620. Function glColor4ui(red_:Int,green_:Int,blue_:Int,alpha_:Int)="void glColor4ui( GLuint, GLuint, GLuint, GLuint )!"
  621. Function glColor4uiv(v_:Int Ptr)="void glColor4uiv( const GLuint * )!"
  622. Function glColor4us(red_:Short,green_:Short,blue_:Short,alpha_:Short)="void glColor4us( GLushort, GLushort, GLushort, GLushort )!"
  623. Function glColor4usv(v_:Short Ptr)="void glColor4usv( const GLushort * )!"
  624. Function glColorMask(red_:Byte,green_:Byte,blue_:Byte,alpha_:Byte)="void glColorMask( GLboolean, GLboolean, GLboolean, GLboolean )!"
  625. Function glColorMaterial(face_:Int,mode_:Int)="void glColorMaterial( GLenum, GLenum )!"
  626. Function glColorPointer(size_:Int,type_:Int,stride_:Int,pointer_:Byte Ptr)="void glColorPointer( GLint , GLenum , GLsizei, const GLvoid * )!"
  627. Function glCopyPixels(x_:Int,y_:Int,width_:Int,height_:Int,type_:Int)="void glCopyPixels( GLint, GLint, GLsizei, GLsizei, GLenum )!"
  628. Function glCopyTexImage1D(target_:Int,level_:Int,internalFormat_:Int,x_:Int,y_:Int,width_:Int,border_:Int)="void glCopyTexImage1D( GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint )!"
  629. Function glCopyTexImage2D(target_:Int,level_:Int,internalFormat_:Int,x_:Int,y_:Int,width_:Int,height_:Int,border_:Int)="void glCopyTexImage2D( GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint )!"
  630. Function glCopyTexSubImage1D(target_:Int,level_:Int,xoffset_:Int,x_:Int,y_:Int,width_:Int)="void glCopyTexSubImage1D( GLenum, GLint, GLint, GLint, GLint, GLsizei )!"
  631. Function glCopyTexSubImage2D(target_:Int,level_:Int,xoffset_:Int,yoffset_:Int,x_:Int,y_:Int,width_:Int,height_:Int)="void glCopyTexSubImage2D( GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei )!"
  632. Function glCullFace(mode_:Int)="void glCullFace( GLenum )!"
  633. Function glDeleteLists(list_:Int,range_:Int)="void glDeleteLists( GLuint, GLsizei )!"
  634. Function glDeleteTextures(n_:Int,textures_:Int Ptr)="void glDeleteTextures( GLsizei, const GLuint *)!"
  635. Function glDepthFunc(func_:Int)="void glDepthFunc( GLenum )!"
  636. Function glDepthMask(flag_:Byte)="void glDepthMask( GLboolean )!"
  637. Function glDepthRange(zNear_:Double,zFar_:Double)="void glDepthRange( GLclampd , GLclampd )!"
  638. Function glDisable(cap_:Int)="void glDisable( GLenum )!"
  639. Function glDisableClientState(array_:Int)="void glDisableClientState( GLenum )!"
  640. Function glDrawArrays(mode_:Int,first_:Int,count_:Int)="void glDrawArrays( GLenum , GLint , GLsizei )!"
  641. Function glDrawBuffer(mode_:Int)="void glDrawBuffer( GLenum )!"
  642. Function glDrawElements(mode_:Int,count_:Int,type_:Int,indices_:Byte Ptr)="void glDrawElements( GLenum , GLsizei, GLenum , const GLvoid * )!"
  643. Function glDrawPixels(width_:Int,height_:Int,format_:Int,type_:Int,pixels_:Byte Ptr)="void glDrawPixels( GLsizei, GLsizei, GLenum, GLenum, const GLvoid * )!"
  644. Function glEdgeFlag(flag_:Byte)="void glEdgeFlag( GLboolean )!"
  645. Function glEdgeFlagPointer(stride_:Int,pointer_:Byte Ptr)="void glEdgeFlagPointer( GLsizei, const GLvoid * )!"
  646. Function glEdgeFlagv(flag_:Byte Ptr)="void glEdgeFlagv( const GLboolean * )!"
  647. Function glEnable(cap_:Int)="void glEnable( GLenum )!"
  648. Function glEnableClientState(array_:Int)="void glEnableClientState( GLenum )!"
  649. Function glEnd()="void glEnd( )!"
  650. Function glEndList()="void glEndList( )!"
  651. Function glEvalCoord1d(u_:Double)="void glEvalCoord1d( GLdouble )!"
  652. Function glEvalCoord1dv(u_:Double Ptr)="void glEvalCoord1dv( const GLdouble * )!"
  653. Function glEvalCoord1f(u_:Float)="void glEvalCoord1f( GLfloat )!"
  654. Function glEvalCoord1fv(u_:Float Ptr)="void glEvalCoord1fv( const GLfloat * )!"
  655. Function glEvalCoord2d(u_:Double,v_:Double)="void glEvalCoord2d( GLdouble, GLdouble )!"
  656. Function glEvalCoord2dv(u_:Double Ptr)="void glEvalCoord2dv( const GLdouble * )!"
  657. Function glEvalCoord2f(u_:Float,v_:Float)="void glEvalCoord2f( GLfloat, GLfloat )!"
  658. Function glEvalCoord2fv(u_:Float Ptr)="void glEvalCoord2fv( const GLfloat * )!"
  659. Function glEvalMesh1(mode_:Int,i1_:Int,i2_:Int)="void glEvalMesh1( GLenum, GLint, GLint )!"
  660. Function glEvalMesh2(mode_:Int,i1_:Int,i2_:Int,j1_:Int,j2_:Int)="void glEvalMesh2( GLenum, GLint, GLint, GLint, GLint )!"
  661. Function glEvalPoint1(i_:Int)="void glEvalPoint1( GLint )!"
  662. Function glEvalPoint2(i_:Int,j_:Int)="void glEvalPoint2( GLint, GLint )!"
  663. Function glFeedbackBuffer(size_:Int,type_:Int,buffer_:Float Ptr)="void glFeedbackBuffer( GLsizei, GLenum , GLfloat * )!"
  664. Function glFinish()="void glFinish( )!"
  665. Function glFlush()="void glFlush( )!"
  666. Function glFogf(pname_:Int,param_:Float)="void glFogf( GLenum , GLfloat )!"
  667. Function glFogfv(pname_:Int,params_:Float Ptr)="void glFogfv( GLenum , const GLfloat * )!"
  668. Function glFogi(pname_:Int,param_:Int)="void glFogi( GLenum , GLint )!"
  669. Function glFogiv(pname_:Int,params_:Int Ptr)="void glFogiv( GLenum , const GLint * )!"
  670. Function glFrontFace(mode_:Int)="void glFrontFace( GLenum )!"
  671. Function glFrustum(left_:Double,right_:Double,bottom_:Double,top_:Double,zNear_:Double,zFar_:Double)="void glFrustum( GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble )!"
  672. Function glGenLists:Int(range_:Int)="GLuind glGenLists( GLsizei )!"
  673. Function glGenTextures(n_:Int,textures_:Int Ptr)="void glGenTextures( GLsizei, GLuint * )!"
  674. Function glGetBooleanv(pname_:Int,params_:Byte Ptr)="void glGetBooleanv( GLenum , GLboolean * )!"
  675. Function glGetClipPlane(plane_:Int,equation_:Double Ptr)="void glGetClipPlane( GLenum , GLdouble * )!"
  676. Function glGetDoublev(pname_:Int,params_:Double Ptr)="void glGetDoublev( GLenum , GLdouble * )!"
  677. Function glGetError:Int()="GLenum glGetError( )!"
  678. Function glGetFloatv(pname_:Int,params_:Float Ptr)="void glGetFloatv( GLenum , GLfloat * )!"
  679. Function glGetIntegerv(pname_:Int,params_:Int Ptr)="void glGetIntegerv( GLenum , GLint * )!"
  680. Function glGetLightfv(light_:Int,pname_:Int,params_:Float Ptr)="void glGetLightfv( GLenum, GLenum, GLfloat * )!"
  681. Function glGetLightiv(light_:Int,pname_:Int,params_:Int Ptr)="void glGetLightiv( GLenum, GLenum, GLint * )!"
  682. Function glGetMapdv(target_:Int,query_:Int,v_:Double Ptr)="void glGetMapdv( GLenum, GLenum, GLdouble * )!"
  683. Function glGetMapfv(target_:Int,query_:Int,v_:Float Ptr)="void glGetMapfv( GLenum, GLenum, GLfloat * )!"
  684. Function glGetMapiv(target_:Int,query_:Int,v_:Int Ptr)="void glGetMapiv( GLenum, GLenum, GLint * )!"
  685. Function glGetMaterialfv(face_:Int,pname_:Int,params_:Float Ptr)="void glGetMaterialfv( GLenum, GLenum, GLfloat * )!"
  686. Function glGetMaterialiv(face_:Int,pname_:Int,params_:Int Ptr)="void glGetMaterialiv( GLenum, GLenum, GLint * )!"
  687. Function glGetPixelMapfv(map_:Int,values_:Float Ptr)="void glGetPixelMapfv( GLenum, GLfloat * )!"
  688. Function glGetPixelMapuiv(map_:Int,values_:Int Ptr)="void glGetPixelMapuiv( GLenum, GLuint * )!"
  689. Function glGetPixelMapusv(map_:Int,values_:Short Ptr)="void glGetPixelMapusv( GLenum, GLushort * )!"
  690. Function glGetPointerv(pname_:Int,params_:Byte Ptr Ptr)="void glGetPointerv( GLenum , GLvoid ** )!"
  691. Function glGetPolygonStipple(mask_:Byte Ptr)="void glGetPolygonStipple( GLubyte * )!"
  692. Function glGetString:Byte Ptr(name_:Int)="GLubyte* glGetString( GLenum )!"
  693. Function glGetTexEnvfv(target_:Int,pname_:Int,params_:Float Ptr)="void glGetTexEnvfv( GLenum, GLenum, GLfloat * )!"
  694. Function glGetTexEnviv(target_:Int,pname_:Int,params_:Int Ptr)="void glGetTexEnviv( GLenum, GLenum, GLint * )!"
  695. Function glGetTexGendv(coord_:Int,pname_:Int,params_:Double Ptr)="void glGetTexGendv( GLenum, GLenum, GLdouble * )!"
  696. Function glGetTexGenfv(coord_:Int,pname_:Int,params_:Float Ptr)="void glGetTexGenfv( GLenum, GLenum, GLfloat * )!"
  697. Function glGetTexGeniv(coord_:Int,pname_:Int,params_:Int Ptr)="void glGetTexGeniv( GLenum, GLenum, GLint * )!"
  698. Function glGetTexImage(target_:Int,level_:Int,format_:Int,type_:Int,pixels_:Byte Ptr)="void glGetTexImage( GLenum, GLint, GLenum, GLenum, GLvoid * )!"
  699. Function glGetTexLevelParameterfv(target_:Int,level_:Int,pname_:Int,params_:Float Ptr)="void glGetTexLevelParameterfv( GLenum, GLint, GLenum, GLfloat * )!"
  700. Function glGetTexLevelParameteriv(target_:Int,level_:Int,pname_:Int,params_:Int Ptr)="void glGetTexLevelParameteriv( GLenum, GLint, GLenum, GLint * )!"
  701. Function glGetTexParameterfv(target_:Int,pname_:Int,params_:Float Ptr)="void glGetTexParameterfv( GLenum, GLenum, GLfloat *)!"
  702. Function glGetTexParameteriv(target_:Int,pname_:Int,params_:Int Ptr)="void glGetTexParameteriv( GLenum, GLenum, GLint * )!"
  703. Function glHint(target_:Int,mode_:Int)="void glHint( GLenum , GLenum )!"
  704. Function glIndexMask(mask_:Int)="void glIndexMask( GLuint )!"
  705. Function glIndexPointer(type_:Int,stride_:Int,pointer_:Byte Ptr)="void glIndexPointer( GLenum , GLsizei, const GLvoid * )!"
  706. Function glIndexd(c_:Double)="void glIndexd( GLdouble )!"
  707. Function glIndexdv(c_:Double Ptr)="void glIndexdv( const GLdouble * )!"
  708. Function glIndexf(c_:Float)="void glIndexf( GLfloat )!"
  709. Function glIndexfv(c_:Float Ptr)="void glIndexfv( const GLfloat * )!"
  710. Function glIndexi(c_:Int)="void glIndexi( GLint )!"
  711. Function glIndexiv(c_:Int Ptr)="void glIndexiv( const GLint * )!"
  712. Function glIndexs(c_:Short)="void glIndexs( GLshort )!"
  713. Function glIndexsv(c_:Short Ptr)="void glIndexsv( const GLshort * )!"
  714. Function glIndexub(c_:Byte)="void glIndexub( GLubyte )!"
  715. Function glIndexubv(c_:Byte Ptr)="void glIndexubv( const GLubyte * )!"
  716. Function glInitNames()="void glInitNames( )!"
  717. Function glInterleavedArrays(format_:Int,stride_:Int,pointer_:Byte Ptr)="void glInterleavedArrays( GLenum , GLsizei, const GLvoid * )!"
  718. Function glIsEnabled:Byte(cap_:Int)="GLboolean glIsEnabled( GLenum )!"
  719. Function glIsList:Byte(list_:Int)="GLboolean glIsList( GLuint )!"
  720. Function glIsTexture:Byte(texture_:Int)="GLboolean glIsTexture( GLuint )!"
  721. Function glLightModelf(pname_:Int,param_:Float)="void glLightModelf( GLenum, GLfloat )!"
  722. Function glLightModelfv(pname_:Int,params_:Float Ptr)="void glLightModelfv( GLenum, const GLfloat * )!"
  723. Function glLightModeli(pname_:Int,param_:Int)="void glLightModeli( GLenum, GLint )!"
  724. Function glLightModeliv(pname_:Int,params_:Int Ptr)="void glLightModeliv( GLenum, const GLint * )!"
  725. Function glLightf(light_:Int,pname_:Int,param_:Float)="void glLightf( GLenum, GLenum, GLfloat )!"
  726. Function glLightfv(light_:Int,pname_:Int,params_:Float Ptr)="void glLightfv( GLenum, GLenum, const GLfloat * )!"
  727. Function glLighti(light_:Int,pname_:Int,param_:Int)="void glLighti( GLenum, GLenum, GLint )!"
  728. Function glLightiv(light_:Int,pname_:Int,params_:Int Ptr)="void glLightiv( GLenum, GLenum, const GLint * )!"
  729. Function glLineStipple(factor_:Int,pattern_:Short)="void glLineStipple( GLint , GLushort )!"
  730. Function glLineWidth(width_:Float)="void glLineWidth( GLfloat )!"
  731. Function glListBase(base_:Int)="void glListBase( GLuint )!"
  732. Function glLoadIdentity()="void glLoadIdentity( void )!"
  733. Function glLoadMatrixd(m_:Double Ptr)="void glLoadMatrixd( const GLdouble * )!"
  734. Function glLoadMatrixf(m_:Float Ptr)="void glLoadMatrixf( const GLfloat * )!"
  735. Function glLoadName(name_:Int)="void glLoadName( GLuint )!"
  736. Function glLogicOp(opcode_:Int)="void glLogicOp( GLenum )!"
  737. Function glMap1d(target_:Int,u1_:Double,u2_:Double,stride_:Int,order_:Int,points_:Double Ptr)="void glMap1d( GLenum, GLdouble, GLdouble, GLint, GLint, const GLdouble * )!"
  738. Function glMap1f(target_:Int,u1_:Float,u2_:Float,stride_:Int,order_:Int,points_:Float Ptr)="void glMap1f( GLenum, GLfloat, GLfloat, GLint, GLint, const GLfloat * )!"
  739. Function glMap2d(target_:Int,u1_:Double,u2_:Double,ustride_:Int,uorder_:Int,v1_:Double,v2_:Double,vstride_:Int,vorder_:Int,points_:Double Ptr)="void glMap2d( GLenum, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, const GLdouble * )!"
  740. Function glMap2f(target_:Int,u1_:Float,u2_:Float,ustride_:Int,uorder_:Int,v1_:Float,v2_:Float,vstride_:Int,vorder_:Int,points_:Float Ptr)="void glMap2f( GLenum, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, const GLfloat * )!"
  741. Function glMapGrid1d(un_:Int,u1_:Double,u2_:Double)="void glMapGrid1d( GLint, GLdouble, GLdouble )!"
  742. Function glMapGrid1f(un_:Int,u1_:Float,u2_:Float)="void glMapGrid1f( GLint, GLfloat, GLfloat )!"
  743. Function glMapGrid2d(un_:Int,u1_:Double,u2_:Double,vn_:Int,v1_:Double,v2_:Double)="void glMapGrid2d( GLint, GLdouble, GLdouble, GLint, GLdouble, GLdouble )!"
  744. Function glMapGrid2f(un_:Int,u1_:Float,u2_:Float,vn_:Int,v1_:Float,v2_:Float)="void glMapGrid2f( GLint, GLfloat, GLfloat, GLint, GLfloat, GLfloat )!"
  745. Function glMaterialf(face_:Int,pname_:Int,param_:Float)="void glMaterialf( GLenum, GLenum, GLfloat )!"
  746. Function glMaterialfv(face_:Int,pname_:Int,params_:Float Ptr)="void glMaterialfv( GLenum, GLenum, const GLfloat * )!"
  747. Function glMateriali(face_:Int,pname_:Int,param_:Int)="void glMateriali( GLenum, GLenum, GLint )!"
  748. Function glMaterialiv(face_:Int,pname_:Int,params_:Int Ptr)="void glMaterialiv( GLenum, GLenum, const GLint * )!"
  749. Function glMatrixMode(mode_:Int)="void glMatrixMode( GLenum )!"
  750. Function glMultMatrixd(m_:Double Ptr)="void glMultMatrixd( const GLdouble * )!"
  751. Function glMultMatrixf(m_:Float Ptr)="void glMultMatrixf( const GLfloat * )!"
  752. Function glNewList(list_:Int,mode_:Int)="void glNewList( GLuint, GLenum )!"
  753. Function glNormal3b(nx_:Byte,ny_:Byte,nz_:Byte)="void glNormal3b( GLbyte, GLbyte, GLbyte )!"
  754. Function glNormal3bv(v_:Byte Ptr)="void glNormal3bv( const GLbyte * )!"
  755. Function glNormal3d(nx_:Double,ny_:Double,nz_:Double)="void glNormal3d( GLdouble, GLdouble, GLdouble )!"
  756. Function glNormal3dv(v_:Double Ptr)="void glNormal3dv( const GLdouble * )!"
  757. Function glNormal3f(nx_:Float,ny_:Float,nz_:Float)="void glNormal3f( GLfloat, GLfloat, GLfloat )!"
  758. Function glNormal3fv(v_:Float Ptr)="void glNormal3fv( const GLfloat * )!"
  759. Function glNormal3i(nx_:Int,ny_:Int,nz_:Int)="void glNormal3i( GLint, GLint, GLint )!"
  760. Function glNormal3iv(v_:Int Ptr)="void glNormal3iv( const GLint * )!"
  761. Function glNormal3s(nx_:Short,ny_:Short,nz_:Short)="void glNormal3s( GLshort, GLshort, GLshort )!"
  762. Function glNormal3sv(v_:Short Ptr)="void glNormal3sv( const GLshort * )!"
  763. Function glNormalPointer(type_:Int,stride_:Int,pointer_:Byte Ptr)="void glNormalPointer( GLenum , GLsizei, const GLvoid * )!"
  764. Function glOrtho(left_:Double,right_:Double,bottom_:Double,top_:Double,zNear_:Double,zFar_:Double)="void glOrtho( GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble )!"
  765. Function glPassThrough(token_:Float)="void glPassThrough( GLfloat )!"
  766. Function glPixelMapfv(map_:Int,mapsize_:Int,values_:Float Ptr)="void glPixelMapfv( GLenum, GLint, const GLfloat * )!"
  767. Function glPixelMapuiv(map_:Int,mapsize_:Int,values_:Int Ptr)="void glPixelMapuiv( GLenum, GLint, const GLuint * )!"
  768. Function glPixelMapusv(map_:Int,mapsize_:Int,values_:Short Ptr)="void glPixelMapusv( GLenum, GLint, const GLushort * )!"
  769. Function glPixelStoref(pname_:Int,param_:Float)="void glPixelStoref( GLenum, GLfloat )!"
  770. Function glPixelStorei(pname_:Int,param_:Int)="void glPixelStorei( GLenum, GLint )!"
  771. Function glPixelTransferf(pname_:Int,param_:Float)="void glPixelTransferf( GLenum, GLfloat )!"
  772. Function glPixelTransferi(pname_:Int,param_:Int)="void glPixelTransferi( GLenum, GLint )!"
  773. Function glPixelZoom(xfactor_:Float,yfactor_:Float)="void glPixelZoom( GLfloat, GLfloat )!"
  774. Function glPointSize(size_:Float)="void glPointSize( GLfloat )!"
  775. Function glPolygonMode(face_:Int,mode_:Int)="void glPolygonMode( GLenum , GLenum )!"
  776. Function glPolygonOffset(factor_:Float,units_:Float)="void glPolygonOffset( GLfloat, GLfloat )!"
  777. Function glPolygonStipple(mask_:Byte Ptr)="void glPolygonStipple( const GLubyte * )!"
  778. Function glPopAttrib()="void glPopAttrib( )!"
  779. Function glPopClientAttrib()="void glPopClientAttrib( )!"
  780. Function glPopMatrix()="void glPopMatrix( )!"
  781. Function glPopName()="void glPopName( )!"
  782. Function glPrioritizeTextures(n_:Int,textures_:Int Ptr,priorities_:Float Ptr)="void glPrioritizeTextures( GLsizei, const GLuint *, const GLclampf * )!"
  783. Function glPushAttrib(mask_:Int)="void glPushAttrib( GLbitfield )!"
  784. Function glPushClientAttrib(mask_:Int)="void glPushClientAttrib( GLbitfield )!"
  785. Function glPushMatrix()="void glPushMatrix( )!"
  786. Function glPushName(name_:Int)="void glPushName( GLuint )!"
  787. Function glRasterPos2d(x_:Double,y_:Double)="void glRasterPos2d( GLdouble, GLdouble )!"
  788. Function glRasterPos2dv(v_:Double Ptr)="void glRasterPos2dv( const GLdouble * )!"
  789. Function glRasterPos2f(x_:Float,y_:Float)="void glRasterPos2f( GLfloat, GLfloat )!"
  790. Function glRasterPos2fv(v_:Float Ptr)="void glRasterPos2fv( const GLfloat * )!"
  791. Function glRasterPos2i(x_:Int,y_:Int)="void glRasterPos2i( GLint, GLint )!"
  792. Function glRasterPos2iv(v_:Int Ptr)="void glRasterPos2iv( const GLint * )!"
  793. Function glRasterPos2s(x_:Short,y_:Short)="void glRasterPos2s( GLshort , GLshort )!"
  794. Function glRasterPos2sv(v_:Short Ptr)="void glRasterPos2sv( const GLshort * )!"
  795. Function glRasterPos3d(x_:Double,y_:Double,z_:Double)="void glRasterPos3d( GLdouble, GLdouble, GLdouble )!"
  796. Function glRasterPos3dv(v_:Double Ptr)="void glRasterPos3dv( const GLdouble * )!"
  797. Function glRasterPos3f(x_:Float,y_:Float,z_:Float)="void glRasterPos3f( GLfloat, GLfloat, GLfloat )!"
  798. Function glRasterPos3fv(v_:Float Ptr)="void glRasterPos3fv( const GLfloat * )!"
  799. Function glRasterPos3i(x_:Int,y_:Int,z_:Int)="void glRasterPos3i( GLint, GLint, GLint )!"
  800. Function glRasterPos3iv(v_:Int Ptr)="void glRasterPos3iv( const GLint * )!"
  801. Function glRasterPos3s(x_:Short,y_:Short,z_:Short)="void glRasterPos3s( GLshort , GLshort , GLshort )!"
  802. Function glRasterPos3sv(v_:Short Ptr)="void glRasterPos3sv( const GLshort * )!"
  803. Function glRasterPos4d(x_:Double,y_:Double,z_:Double,w_:Double)="void glRasterPos4d( GLdouble, GLdouble, GLdouble, GLdouble )!"
  804. Function glRasterPos4dv(v_:Double Ptr)="void glRasterPos4dv( const GLdouble * )!"
  805. Function glRasterPos4f(x_:Float,y_:Float,z_:Float,w_:Float)="void glRasterPos4f( GLfloat, GLfloat, GLfloat, GLfloat )!"
  806. Function glRasterPos4fv(v_:Float Ptr)="void glRasterPos4fv( const GLfloat * )!"
  807. Function glRasterPos4i(x_:Int,y_:Int,z_:Int,w_:Int)="void glRasterPos4i( GLint, GLint, GLint, GLint )!"
  808. Function glRasterPos4iv(v_:Int Ptr)="void glRasterPos4iv( const GLint * )!"
  809. Function glRasterPos4s(x_:Short,y_:Short,z_:Short,w_:Short)="void glRasterPos4s( GLshort , GLshort , GLshort , GLshort )!"
  810. Function glRasterPos4sv(v_:Short Ptr)="void glRasterPos4sv( const GLshort * )!"
  811. Function glReadBuffer(mode_:Int)="void glReadBuffer( GLenum )!"
  812. Function glReadPixels(x_:Int,y_:Int,width_:Int,height_:Int,format_:Int,type_:Int,pixels_:Byte Ptr)="void glReadPixels( GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid * )!"
  813. Function glRectd(x1_:Double,y1_:Double,x2_:Double,y2_:Double)="void glRectd( GLdouble, GLdouble, GLdouble, GLdouble )!"
  814. Function glRectdv(v1_:Double Ptr,v2_:Double Ptr)="void glRectdv( const GLdouble *, const GLdouble * )!"
  815. Function glRectf(x1_:Float,y1_:Float,x2_:Float,y2_:Float)="void glRectf( GLfloat, GLfloat, GLfloat, GLfloat )!"
  816. Function glRectfv(v1_:Float Ptr,v2_:Float Ptr)="void glRectfv( const GLfloat *, const GLfloat * )!"
  817. Function glRecti(x1_:Int,y1_:Int,x2_:Int,y2_:Int)="void glRecti( GLint, GLint, GLint, GLint )!"
  818. Function glRectiv(v1_:Int Ptr,v2_:Int Ptr)="void glRectiv( const GLint *, const GLint * )!"
  819. Function glRects(x1_:Short,y1_:Short,x2_:Short,y2_:Short)="void glRects( GLshort , GLshort , GLshort , GLshort )!"
  820. Function glRectsv(v1_:Short Ptr,v2_:Short Ptr)="void glRectsv( const GLshort *, const GLshort * )!"
  821. Function glRenderMode:Int(mode_:Int)="GLint glRenderMode( GLenum )!"
  822. Function glRotated(angle_:Double,x_:Double,y_:Double,z_:Double)="void glRotated( GLdouble, GLdouble, GLdouble, GLdouble )!"
  823. Function glRotatef(angle_:Float,x_:Float,y_:Float,z_:Float)="void glRotatef( GLfloat, GLfloat, GLfloat, GLfloat )!"
  824. Function glScaled(x_:Double,y_:Double,z_:Double)="void glScaled( GLdouble, GLdouble, GLdouble )!"
  825. Function glScalef(x_:Float,y_:Float,z_:Float)="void glScalef( GLfloat, GLfloat, GLfloat )!"
  826. Function glScissor(x_:Int,y_:Int,width_:Int,height_:Int)="void glScissor( GLint, GLint, GLsizei, GLsizei)!"
  827. Function glSelectBuffer(size_:Int,buffer_:Int Ptr)="void glSelectBuffer( GLsizei, GLuint * )!"
  828. Function glShadeModel(mode_:Int)="void glShadeModel( GLenum )!"
  829. Function glStencilFunc(func_:Int,ref_:Int,mask_:Int)="void glStencilFunc( GLenum, GLint, GLuint )!"
  830. Function glStencilMask(mask_:Int)="void glStencilMask( GLuint )!"
  831. Function glStencilOp(fail_:Int,zfail_:Int,zpass_:Int)="void glStencilOp( GLenum, GLenum, GLenum )!"
  832. Function glTexCoord1d(s_:Double)="void glTexCoord1d( GLdouble )!"
  833. Function glTexCoord1dv(v_:Double Ptr)="void glTexCoord1dv( const GLdouble * )!"
  834. Function glTexCoord1f(s_:Float)="void glTexCoord1f( GLfloat )!"
  835. Function glTexCoord1fv(v_:Float Ptr)="void glTexCoord1fv( const GLfloat * )!"
  836. Function glTexCoord1i(s_:Int)="void glTexCoord1i( GLint )!"
  837. Function glTexCoord1iv(v_:Int Ptr)="void glTexCoord1iv( const GLint * )!"
  838. Function glTexCoord1s(s_:Short)="void glTexCoord1s( GLshort )!"
  839. Function glTexCoord1sv(v_:Short Ptr)="void glTexCoord1sv( const GLshort * )!"
  840. Function glTexCoord2d(s_:Double,t_:Double)="void glTexCoord2d( GLdouble, GLdouble )!"
  841. Function glTexCoord2dv(v_:Double Ptr)="void glTexCoord2dv( const GLdouble * )!"
  842. Function glTexCoord2f(s_:Float,t_:Float)="void glTexCoord2f( GLfloat, GLfloat )!"
  843. Function glTexCoord2fv(v_:Float Ptr)="void glTexCoord2fv( const GLfloat * )!"
  844. Function glTexCoord2i(s_:Int,t_:Int)="void glTexCoord2i( GLint, GLint )!"
  845. Function glTexCoord2iv(v_:Int Ptr)="void glTexCoord2iv( const GLint * )!"
  846. Function glTexCoord2s(s_:Short,t_:Short)="void glTexCoord2s( GLshort, GLshort )!"
  847. Function glTexCoord2sv(v_:Short Ptr)="void glTexCoord2sv( const GLshort * )!"
  848. Function glTexCoord3d(s_:Double,t_:Double,r_:Double)="void glTexCoord3d( GLdouble, GLdouble, GLdouble )!"
  849. Function glTexCoord3dv(v_:Double Ptr)="void glTexCoord3dv( const GLdouble * )!"
  850. Function glTexCoord3f(s_:Float,t_:Float,r_:Float)="void glTexCoord3f( GLfloat, GLfloat, GLfloat )!"
  851. Function glTexCoord3fv(v_:Float Ptr)="void glTexCoord3fv( const GLfloat * )!"
  852. Function glTexCoord3i(s_:Int,t_:Int,r_:Int)="void glTexCoord3i( GLint, GLint, GLint )!"
  853. Function glTexCoord3iv(v_:Int Ptr)="void glTexCoord3iv( const GLint * )!"
  854. Function glTexCoord3s(s_:Short,t_:Short,r_:Short)="void glTexCoord3s( GLshort, GLshort, GLshort )!"
  855. Function glTexCoord3sv(v_:Short Ptr)="void glTexCoord3sv( const GLshort * )!"
  856. Function glTexCoord4d(s_:Double,t_:Double,r_:Double,q_:Double)="void glTexCoord4d( GLdouble, GLdouble, GLdouble, GLdouble )!"
  857. Function glTexCoord4dv(v_:Double Ptr)="void glTexCoord4dv( const GLdouble * )!"
  858. Function glTexCoord4f(s_:Float,t_:Float,r_:Float,q_:Float)="void glTexCoord4f( GLfloat, GLfloat, GLfloat, GLfloat )!"
  859. Function glTexCoord4fv(v_:Float Ptr)="void glTexCoord4fv( const GLfloat * )!"
  860. Function glTexCoord4i(s_:Int,t_:Int,r_:Int,q_:Int)="void glTexCoord4i( GLint, GLint, GLint, GLint )!"
  861. Function glTexCoord4iv(v_:Int Ptr)="void glTexCoord4iv( const GLint * )!"
  862. Function glTexCoord4s(s_:Short,t_:Short,r_:Short,q_:Short)="void glTexCoord4s( GLshort, GLshort, GLshort, GLshort )!"
  863. Function glTexCoord4sv(v_:Short Ptr)="void glTexCoord4sv( const GLshort * )!"
  864. Function glTexCoordPointer(size_:Int,type_:Int,stride_:Int,pointer_:Byte Ptr)="void glTexCoordPointer( GLint , GLenum , GLsizei, const GLvoid * )!"
  865. Function glTexEnvf(target_:Int,pname_:Int,param_:Float)="void glTexEnvf( GLenum, GLenum, GLfloat )!"
  866. Function glTexEnvfv(target_:Int,pname_:Int,params_:Float Ptr)="void glTexEnvfv( GLenum, GLenum, const GLfloat * )!"
  867. Function glTexEnvi(target_:Int,pname_:Int,param_:Int)="void glTexEnvi( GLenum, GLenum, GLint )!"
  868. Function glTexEnviv(target_:Int,pname_:Int,params_:Int Ptr)="void glTexEnviv( GLenum, GLenum, const GLint * )!"
  869. Function glTexGend(coord_:Int,pname_:Int,param_:Double)="void glTexGend( GLenum, GLenum, GLdouble )!"
  870. Function glTexGendv(coord_:Int,pname_:Int,params_:Double Ptr)="void glTexGendv( GLenum, GLenum, const GLdouble * )!"
  871. Function glTexGenf(coord_:Int,pname_:Int,param_:Float)="void glTexGenf( GLenum, GLenum, GLfloat )!"
  872. Function glTexGenfv(coord_:Int,pname_:Int,params_:Float Ptr)="void glTexGenfv( GLenum, GLenum, const GLfloat * )!"
  873. Function glTexGeni(coord_:Int,pname_:Int,param_:Int)="void glTexGeni( GLenum, GLenum, GLint )!"
  874. Function glTexGeniv(coord_:Int,pname_:Int,params_:Int Ptr)="void glTexGeniv( GLenum, GLenum, const GLint * )!"
  875. Function glTexImage1D(target_:Int,level_:Int,internalformat_:Int,width_:Int,border_:Int,format_:Int,type_:Int,pixels_:Byte Ptr)="void glTexImage1D( GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid * )!"
  876. Function glTexImage2D(target_:Int,level_:Int,internalformat_:Int,width_:Int,height_:Int,border_:Int,format_:Int,type_:Int,pixels_:Byte Ptr)="void glTexImage2D( GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid * )!"
  877. Function glTexParameterf(target_:Int,pname_:Int,param_:Float)="void glTexParameterf( GLenum, GLenum, GLfloat )!"
  878. Function glTexParameterfv(target_:Int,pname_:Int,params_:Float Ptr)="void glTexParameterfv( GLenum, GLenum, const GLfloat * )!"
  879. Function glTexParameteri(target_:Int,pname_:Int,param_:Int)="void glTexParameteri( GLenum, GLenum, GLint )!"
  880. Function glTexParameteriv(target_:Int,pname_:Int,params_:Int Ptr)="void glTexParameteriv( GLenum, GLenum, const GLint * )!"
  881. Function glTexSubImage1D(target_:Int,level_:Int,xoffset_:Int,width_:Int,format_:Int,type_:Int,pixels_:Byte Ptr)="void glTexSubImage1D( GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid * )!"
  882. Function glTexSubImage2D(target_:Int,level_:Int,xoffset_:Int,yoffset_:Int,width_:Int,height_:Int,format_:Int,type_:Int,pixels_:Byte Ptr)="void glTexSubImage2D( GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid * )!"
  883. Function glTranslated(x_:Double,y_:Double,z_:Double)="void glTranslated( GLdouble, GLdouble, GLdouble )!"
  884. Function glTranslatef(x_:Float,y_:Float,z_:Float)="void glTranslatef( GLfloat, GLfloat, GLfloat )!"
  885. Function glVertex2d(x_:Double,y_:Double)="void glVertex2d( GLdouble, GLdouble )!"
  886. Function glVertex2dv(v_:Double Ptr)="void glVertex2dv( const GLdouble * )!"
  887. Function glVertex2f(x_:Float,y_:Float)="void glVertex2f( GLfloat, GLfloat )!"
  888. Function glVertex2fv(v_:Float Ptr)="void glVertex2fv( const GLfloat * )!"
  889. Function glVertex2i(x_:Int,y_:Int)="void glVertex2i( GLint , GLint )!"
  890. Function glVertex2iv(v_:Int Ptr)="void glVertex2iv( const GLint * )!"
  891. Function glVertex2s(x_:Short,y_:Short)="void glVertex2s( GLshort , GLshort )!"
  892. Function glVertex2sv(v_:Short Ptr)="void glVertex2sv( const GLshort * )!"
  893. Function glVertex3d(x_:Double,y_:Double,z_:Double)="void glVertex3d( GLdouble, GLdouble, GLdouble )!"
  894. Function glVertex3dv(v_:Double Ptr)="void glVertex3dv( const GLdouble * )!"
  895. Function glVertex3f(x_:Float,y_:Float,z_:Float)="void glVertex3f( GLfloat, GLfloat, GLfloat )!"
  896. Function glVertex3fv(v_:Float Ptr)="void glVertex3fv( const GLfloat * )!"
  897. Function glVertex3i(x_:Int,y_:Int,z_:Int)="void glVertex3i( GLint, GLint , GLint )!"
  898. Function glVertex3iv(v_:Int Ptr)="void glVertex3iv( const GLint * )!"
  899. Function glVertex3s(x_:Short,y_:Short,z_:Short)="void glVertex3s( GLshort , GLshort , GLshort )!"
  900. Function glVertex3sv(v_:Short Ptr)="void glVertex3sv( const GLshort * )!"
  901. Function glVertex4d(x_:Double,y_:Double,z_:Double,w_:Double)="void glVertex4d( GLdouble, GLdouble, GLdouble, GLdouble )!"
  902. Function glVertex4dv(v_:Double Ptr)="void glVertex4dv( const GLdouble * )!"
  903. Function glVertex4f(x_:Float,y_:Float,z_:Float,w_:Float)="void glVertex4f( GLfloat, GLfloat, GLfloat, GLfloat )!"
  904. Function glVertex4fv(v_:Float Ptr)="void glVertex4fv( const GLfloat * )!"
  905. Function glVertex4i(x_:Int,y_:Int,z_:Int,w_:Int)="void glVertex4i( GLint, GLint, GLint, GLint )!"
  906. Function glVertex4iv(v_:Int Ptr)="void glVertex4iv( const GLint * )!"
  907. Function glVertex4s(x_:Short,y_:Short,z_:Short,w_:Short)="void glVertex4s( GLshort, GLshort, GLshort, GLshort )!"
  908. Function glVertex4sv(v_:Short Ptr)="void glVertex4sv( const GLshort * )!"
  909. Function glVertexPointer(size_:Int,type_:Int,stride_:Int,pointer_:Byte Ptr)="void glVertexPointer( GLint , GLenum , GLsizei, const GLvoid * )!"
  910. Function glViewport(x_:Int,y_:Int,width_:Int,height_:Int)="void glViewport( GLint , GLint , GLsizei, GLsizei )!"
  911. End Extern
  912. ?