OpenGl.cs 83 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789
  1. // $Id$
  2. /* WARNING: Automatically generated file */
  3. using System;
  4. using System.Runtime.InteropServices;
  5. using System.Security;
  6. namespace OpenGl
  7. {
  8. public static class gl
  9. {
  10. private const string GL_DLL = "opengl32.dll";
  11. public const uint _2_BYTES = 0x1407;
  12. public const uint _2D = 0x0600;
  13. public const uint _3_BYTES = 0x1408;
  14. public const uint _3D = 0x0601;
  15. public const uint _3D_COLOR = 0x0602;
  16. public const uint _3D_COLOR_TEXTURE = 0x0603;
  17. public const uint _4_BYTES = 0x1409;
  18. public const uint _4D_COLOR_TEXTURE = 0x0604;
  19. public const uint ABGR_EXT = 0x8000;
  20. public const uint ACCUM = 0x0100;
  21. public const uint ACCUM_ALPHA_BITS = 0x0D5B;
  22. public const uint ACCUM_BLUE_BITS = 0x0D5A;
  23. public const uint ACCUM_BUFFER_BIT = 0x00000200;
  24. public const uint ACCUM_CLEAR_VALUE = 0x0B80;
  25. public const uint ACCUM_GREEN_BITS = 0x0D59;
  26. public const uint ACCUM_RED_BITS = 0x0D58;
  27. public const uint ACTIVE_TEXTURE = 0x84E0;
  28. public const uint ADD = 0x0104;
  29. public const uint ADD_SIGNED = 0x8574;
  30. public const uint ALIASED_LINE_WIDTH_RANGE = 0x846E;
  31. public const uint ALIASED_POINT_SIZE_RANGE = 0x846D;
  32. public const uint ALL_ATTRIB_BITS = 0xFFFFFFFF;
  33. public const uint ALPHA = 0x1906;
  34. public const uint ALPHA_BIAS = 0x0D1D;
  35. public const uint ALPHA_BITS = 0x0D55;
  36. public const uint ALPHA_SCALE = 0x0D1C;
  37. public const uint ALPHA_TEST = 0x0BC0;
  38. public const uint ALPHA_TEST_FUNC = 0x0BC1;
  39. public const uint ALPHA_TEST_REF = 0x0BC2;
  40. public const uint ALPHA12 = 0x803D;
  41. public const uint ALPHA16 = 0x803E;
  42. public const uint ALPHA4 = 0x803B;
  43. public const uint ALPHA8 = 0x803C;
  44. public const uint ALWAYS = 0x0207;
  45. public const uint AMBIENT = 0x1200;
  46. public const uint AMBIENT_AND_DIFFUSE = 0x1602;
  47. public const uint AND = 0x1501;
  48. public const uint AND_INVERTED = 0x1504;
  49. public const uint AND_REVERSE = 0x1502;
  50. public const uint ATTRIB_STACK_DEPTH = 0x0BB0;
  51. public const uint AUTO_NORMAL = 0x0D80;
  52. public const uint AUX_BUFFERS = 0x0C00;
  53. public const uint AUX0 = 0x0409;
  54. public const uint AUX1 = 0x040A;
  55. public const uint AUX2 = 0x040B;
  56. public const uint AUX3 = 0x040C;
  57. public const uint BACK = 0x0405;
  58. public const uint BACK_LEFT = 0x0402;
  59. public const uint BACK_RIGHT = 0x0403;
  60. public const uint BGR = 0x80E0;
  61. public const uint BGRA = 0x80E1;
  62. public const uint BITMAP = 0x1A00;
  63. public const uint BITMAP_TOKEN = 0x0704;
  64. public const uint BLEND = 0x0BE2;
  65. public const uint BLEND_DST = 0x0BE0;
  66. public const uint BLEND_DST_ALPHA = 0x80CA;
  67. public const uint BLEND_DST_RGB = 0x80C8;
  68. public const uint BLEND_SRC = 0x0BE1;
  69. public const uint BLEND_SRC_ALPHA = 0x80CB;
  70. public const uint BLEND_SRC_RGB = 0x80C9;
  71. public const uint BLUE = 0x1905;
  72. public const uint BLUE_BIAS = 0x0D1B;
  73. public const uint BLUE_BITS = 0x0D54;
  74. public const uint BLUE_SCALE = 0x0D1A;
  75. public const uint BYTE = 0x1400;
  76. public const uint C3F_V3F = 0x2A24;
  77. public const uint C4F_N3F_V3F = 0x2A26;
  78. public const uint C4UB_V2F = 0x2A22;
  79. public const uint C4UB_V3F = 0x2A23;
  80. public const uint CCW = 0x0901;
  81. public const int CLAMP = 0x2900;
  82. public const int CLAMP_TO_BORDER = 0x812D;
  83. public const int CLAMP_TO_EDGE = 0x812F;
  84. public const uint CLEAR = 0x1500;
  85. public const uint CLIENT_ACTIVE_TEXTURE = 0x84E1;
  86. public const uint CLIENT_ALL_ATTRIB_BITS = 0xFFFFFFFF;
  87. public const uint CLIENT_ATTRIB_STACK_DEPTH = 0x0BB1;
  88. public const uint CLIENT_PIXEL_STORE_BIT = 0x00000001;
  89. public const uint CLIENT_VERTEX_ARRAY_BIT = 0x00000002;
  90. public const uint CLIP_PLANE0 = 0x3000;
  91. public const uint CLIP_PLANE1 = 0x3001;
  92. public const uint CLIP_PLANE2 = 0x3002;
  93. public const uint CLIP_PLANE3 = 0x3003;
  94. public const uint CLIP_PLANE4 = 0x3004;
  95. public const uint CLIP_PLANE5 = 0x3005;
  96. public const uint COEFF = 0x0A00;
  97. public const uint COLOR = 0x1800;
  98. public const uint COLOR_ARRAY = 0x8076;
  99. public const uint COLOR_ARRAY_COUNT_EXT = 0x8084;
  100. public const uint COLOR_ARRAY_EXT = 0x8076;
  101. public const uint COLOR_ARRAY_POINTER = 0x8090;
  102. public const uint COLOR_ARRAY_POINTER_EXT = 0x8090;
  103. public const uint COLOR_ARRAY_SIZE = 0x8081;
  104. public const uint COLOR_ARRAY_SIZE_EXT = 0x8081;
  105. public const uint COLOR_ARRAY_STRIDE = 0x8083;
  106. public const uint COLOR_ARRAY_STRIDE_EXT = 0x8083;
  107. public const uint COLOR_ARRAY_TYPE = 0x8082;
  108. public const uint COLOR_ARRAY_TYPE_EXT = 0x8082;
  109. public const uint COLOR_BUFFER_BIT = 0x00004000;
  110. public const uint COLOR_CLEAR_VALUE = 0x0C22;
  111. public const uint COLOR_INDEX = 0x1900;
  112. public const uint COLOR_INDEXES = 0x1603;
  113. public const uint COLOR_LOGIC_OP = 0x0BF2;
  114. public const uint COLOR_MATERIAL = 0x0B57;
  115. public const uint COLOR_MATERIAL_FACE = 0x0B55;
  116. public const uint COLOR_MATERIAL_PARAMETER = 0x0B56;
  117. public const uint COLOR_SUM = 0x8458;
  118. public const uint COLOR_WRITEMASK = 0x0C23;
  119. public const uint COMBINE = 0x8570;
  120. public const uint COMBINE_ALPHA = 0x8572;
  121. public const uint COMBINE_RGB = 0x8571;
  122. public const uint COMPARE_R_TO_TEXTURE = 0x884E;
  123. public const uint COMPILE = 0x1300;
  124. public const uint COMPILE_AND_EXECUTE = 0x1301;
  125. public const uint COMPRESSED_ALPHA = 0x84E9;
  126. public const uint COMPRESSED_INTENSITY = 0x84EC;
  127. public const uint COMPRESSED_LUMINANCE = 0x84EA;
  128. public const uint COMPRESSED_LUMINANCE_ALPHA = 0x84EB;
  129. public const uint COMPRESSED_RGB = 0x84ED;
  130. public const uint COMPRESSED_RGBA = 0x84EE;
  131. public const uint COMPRESSED_TEXTURE_FORMATS = 0x86A3;
  132. public const uint CONSTANT = 0x8576;
  133. public const uint CONSTANT_ATTENUATION = 0x1207;
  134. public const uint COPY = 0x1503;
  135. public const uint COPY_INVERTED = 0x150C;
  136. public const uint COPY_PIXEL_TOKEN = 0x0706;
  137. public const uint CULL_FACE = 0x0B44;
  138. public const uint CULL_FACE_MODE = 0x0B45;
  139. public const uint CURRENT_BIT = 0x00000001;
  140. public const uint CURRENT_COLOR = 0x0B00;
  141. public const uint CURRENT_FOG_COORDINATE = 0x8453;
  142. public const uint CURRENT_INDEX = 0x0B01;
  143. public const uint CURRENT_NORMAL = 0x0B02;
  144. public const uint CURRENT_RASTER_COLOR = 0x0B04;
  145. public const uint CURRENT_RASTER_DISTANCE = 0x0B09;
  146. public const uint CURRENT_RASTER_INDEX = 0x0B05;
  147. public const uint CURRENT_RASTER_POSITION = 0x0B07;
  148. public const uint CURRENT_RASTER_POSITION_VALID = 0x0B08;
  149. public const uint CURRENT_RASTER_TEXTURE_COORDS = 0x0B06;
  150. public const uint CURRENT_SECONDARY_COLOR = 0x8459;
  151. public const uint CURRENT_TEXTURE_COORDS = 0x0B03;
  152. public const uint CW = 0x0900;
  153. public const uint DECAL = 0x2101;
  154. public const uint DECR = 0x1E03;
  155. public const uint DECR_WRAP = 0x8508;
  156. public const uint DEPTH = 0x1801;
  157. public const uint DEPTH_BIAS = 0x0D1F;
  158. public const uint DEPTH_BITS = 0x0D56;
  159. public const uint DEPTH_BUFFER_BIT = 0x00000100;
  160. public const uint DEPTH_CLEAR_VALUE = 0x0B73;
  161. public const uint DEPTH_COMPONENT = 0x1902;
  162. public const uint DEPTH_COMPONENT16 = 0x81A5;
  163. public const uint DEPTH_COMPONENT16_SGIX = 0x81A5;
  164. public const uint DEPTH_COMPONENT24 = 0x81A6;
  165. public const uint DEPTH_COMPONENT24_SGIX = 0x81A6;
  166. public const uint DEPTH_COMPONENT32 = 0x81A7;
  167. public const uint DEPTH_COMPONENT32_SGIX = 0x81A7;
  168. public const uint DEPTH_FUNC = 0x0B74;
  169. public const uint DEPTH_RANGE = 0x0B70;
  170. public const uint DEPTH_SCALE = 0x0D1E;
  171. public const uint DEPTH_TEST = 0x0B71;
  172. public const uint DEPTH_TEXTURE_MODE = 0x884B;
  173. public const uint DEPTH_WRITEMASK = 0x0B72;
  174. public const uint DIFFUSE = 0x1201;
  175. public const uint DITHER = 0x0BD0;
  176. public const uint DOMAIN = 0x0A02;
  177. public const uint DONT_CARE = 0x1100;
  178. public const uint DOT3_RGB = 0x86AE;
  179. public const uint DOT3_RGBA = 0x86AF;
  180. public const uint DOUBLE = 0x140A;
  181. public const uint DOUBLE_EXT = 0x140A;
  182. public const uint DOUBLEBUFFER = 0x0C32;
  183. public const uint DRAW_BUFFER = 0x0C01;
  184. public const uint DRAW_PIXEL_TOKEN = 0x0705;
  185. public const uint DST_ALPHA = 0x0304;
  186. public const uint DST_COLOR = 0x0306;
  187. public const uint EDGE_FLAG = 0x0B43;
  188. public const uint EDGE_FLAG_ARRAY = 0x8079;
  189. public const uint EDGE_FLAG_ARRAY_COUNT_EXT = 0x808D;
  190. public const uint EDGE_FLAG_ARRAY_EXT = 0x8079;
  191. public const uint EDGE_FLAG_ARRAY_POINTER = 0x8093;
  192. public const uint EDGE_FLAG_ARRAY_POINTER_EXT = 0x8093;
  193. public const uint EDGE_FLAG_ARRAY_STRIDE = 0x808C;
  194. public const uint EDGE_FLAG_ARRAY_STRIDE_EXT = 0x808C;
  195. public const uint EMISSION = 0x1600;
  196. public const uint ENABLE_BIT = 0x00002000;
  197. public const uint EQUAL = 0x0202;
  198. public const uint EQUIV = 0x1509;
  199. public const uint EVAL_BIT = 0x00010000;
  200. public const uint EXP = 0x0800;
  201. public const uint EXP2 = 0x0801;
  202. public const uint EXTENSIONS = 0x1F03;
  203. public const uint EYE_LINEAR = 0x2400;
  204. public const uint EYE_PLANE = 0x2502;
  205. public const uint FALSE = 0;
  206. public const uint FASTEST = 0x1101;
  207. public const uint FEEDBACK = 0x1C01;
  208. public const uint FEEDBACK_BUFFER_POINTER = 0x0DF0;
  209. public const uint FEEDBACK_BUFFER_SIZE = 0x0DF1;
  210. public const uint FEEDBACK_BUFFER_TYPE = 0x0DF2;
  211. public const uint FILL = 0x1B02;
  212. public const uint FLAT = 0x1D00;
  213. public const uint FLOAT = 0x1406;
  214. public const uint FOG = 0x0B60;
  215. public const uint FOG_BIT = 0x00000080;
  216. public const uint FOG_COLOR = 0x0B66;
  217. public const uint FOG_COORDINATE = 0x8451;
  218. public const uint FOG_COORDINATE_ARRAY = 0x8457;
  219. public const uint FOG_COORDINATE_ARRAY_POINTER = 0x8456;
  220. public const uint FOG_COORDINATE_ARRAY_STRIDE = 0x8455;
  221. public const uint FOG_COORDINATE_ARRAY_TYPE = 0x8454;
  222. public const uint FOG_COORDINATE_SOURCE = 0x8450;
  223. public const uint FOG_DENSITY = 0x0B62;
  224. public const uint FOG_END = 0x0B64;
  225. public const uint FOG_HINT = 0x0C54;
  226. public const uint FOG_INDEX = 0x0B61;
  227. public const uint FOG_MODE = 0x0B65;
  228. public const uint FOG_START = 0x0B63;
  229. public const uint FRAGMENT_DEPTH = 0x8452;
  230. public const uint FRONT = 0x0404;
  231. public const uint FRONT_AND_BACK = 0x0408;
  232. public const uint FRONT_FACE = 0x0B46;
  233. public const uint FRONT_LEFT = 0x0400;
  234. public const uint FRONT_RIGHT = 0x0401;
  235. public const uint FUNC_REVERSE_SUBTRACT_EXT = 0x800B;
  236. public const uint FUNC_SUBTRACT_EXT = 0x800A;
  237. public const uint GENERATE_MIPMAP = 0x8191;
  238. public const uint GENERATE_MIPMAP_HINT = 0x8192;
  239. public const uint GENERATE_MIPMAP_HINT_SGIS = 0x8192;
  240. public const uint GENERATE_MIPMAP_SGIS = 0x8191;
  241. public const uint GEQUAL = 0x0206;
  242. public const uint GREATER = 0x0204;
  243. public const uint GREEN = 0x1904;
  244. public const uint GREEN_BIAS = 0x0D19;
  245. public const uint GREEN_BITS = 0x0D53;
  246. public const uint GREEN_SCALE = 0x0D18;
  247. public const uint HINT_BIT = 0x00008000;
  248. public const uint INCR = 0x1E02;
  249. public const uint INCR_WRAP = 0x8507;
  250. public const uint INDEX_ARRAY = 0x8077;
  251. public const uint INDEX_ARRAY_COUNT_EXT = 0x8087;
  252. public const uint INDEX_ARRAY_EXT = 0x8077;
  253. public const uint INDEX_ARRAY_POINTER = 0x8091;
  254. public const uint INDEX_ARRAY_POINTER_EXT = 0x8091;
  255. public const uint INDEX_ARRAY_STRIDE = 0x8086;
  256. public const uint INDEX_ARRAY_STRIDE_EXT = 0x8086;
  257. public const uint INDEX_ARRAY_TYPE = 0x8085;
  258. public const uint INDEX_ARRAY_TYPE_EXT = 0x8085;
  259. public const uint INDEX_BITS = 0x0D51;
  260. public const uint INDEX_CLEAR_VALUE = 0x0C20;
  261. public const uint INDEX_LOGIC_OP = 0x0BF1;
  262. public const uint INDEX_MODE = 0x0C30;
  263. public const uint INDEX_OFFSET = 0x0D13;
  264. public const uint INDEX_SHIFT = 0x0D12;
  265. public const uint INDEX_WRITEMASK = 0x0C21;
  266. public const uint INT = 0x1404;
  267. public const uint INTENSITY = 0x8049;
  268. public const uint INTENSITY12 = 0x804C;
  269. public const uint INTENSITY16 = 0x804D;
  270. public const uint INTENSITY4 = 0x804A;
  271. public const uint INTENSITY8 = 0x804B;
  272. public const uint INTERPOLATE = 0x8575;
  273. public const uint INVALID_ENUM = 0x0500;
  274. public const uint INVALID_OPERATION = 0x0502;
  275. public const uint INVALID_VALUE = 0x0501;
  276. public const uint INVERT = 0x150A;
  277. public const uint KEEP = 0x1E00;
  278. public const uint LEFT = 0x0406;
  279. public const uint LEQUAL = 0x0203;
  280. public const uint LESS = 0x0201;
  281. public const uint LIGHT_MODEL_AMBIENT = 0x0B53;
  282. public const uint LIGHT_MODEL_COLOR_CONTROL = 0x81F8;
  283. public const uint LIGHT_MODEL_LOCAL_VIEWER = 0x0B51;
  284. public const uint LIGHT_MODEL_TWO_SIDE = 0x0B52;
  285. public const uint LIGHT0 = 0x4000;
  286. public const uint LIGHT1 = 0x4001;
  287. public const uint LIGHT2 = 0x4002;
  288. public const uint LIGHT3 = 0x4003;
  289. public const uint LIGHT4 = 0x4004;
  290. public const uint LIGHT5 = 0x4005;
  291. public const uint LIGHT6 = 0x4006;
  292. public const uint LIGHT7 = 0x4007;
  293. public const uint LIGHTING = 0x0B50;
  294. public const uint LIGHTING_BIT = 0x00000040;
  295. public const uint LINE = 0x1B01;
  296. public const uint LINE_BIT = 0x00000004;
  297. public const uint LINE_LOOP = 0x0002;
  298. public const uint LINE_RESET_TOKEN = 0x0707;
  299. public const uint LINE_SMOOTH = 0x0B20;
  300. public const uint LINE_SMOOTH_HINT = 0x0C52;
  301. public const uint LINE_STIPPLE = 0x0B24;
  302. public const uint LINE_STIPPLE_PATTERN = 0x0B25;
  303. public const uint LINE_STIPPLE_REPEAT = 0x0B26;
  304. public const uint LINE_STRIP = 0x0003;
  305. public const uint LINE_TOKEN = 0x0702;
  306. public const uint LINE_WIDTH = 0x0B21;
  307. public const uint LINE_WIDTH_GRANULARITY = 0x0B23;
  308. public const uint LINE_WIDTH_RANGE = 0x0B22;
  309. public const int LINEAR = 0x2601;
  310. public const int LINEAR_ATTENUATION = 0x1208;
  311. public const int LINEAR_MIPMAP_LINEAR = 0x2703;
  312. public const int LINEAR_MIPMAP_NEAREST = 0x2701;
  313. public const uint LINES = 0x0001;
  314. public const uint LIST_BASE = 0x0B32;
  315. public const uint LIST_BIT = 0x00020000;
  316. public const uint LIST_INDEX = 0x0B33;
  317. public const uint LIST_MODE = 0x0B30;
  318. public const uint LOAD = 0x0101;
  319. public const uint LOGIC_OP = 0x0BF1;
  320. public const uint LOGIC_OP_MODE = 0x0BF0;
  321. public const uint LUMINANCE = 0x1909;
  322. public const uint LUMINANCE_ALPHA = 0x190A;
  323. public const uint LUMINANCE12 = 0x8041;
  324. public const uint LUMINANCE12_ALPHA12 = 0x8047;
  325. public const uint LUMINANCE12_ALPHA4 = 0x8046;
  326. public const uint LUMINANCE16 = 0x8042;
  327. public const uint LUMINANCE16_ALPHA16 = 0x8048;
  328. public const uint LUMINANCE4 = 0x803F;
  329. public const uint LUMINANCE4_ALPHA4 = 0x8043;
  330. public const uint LUMINANCE6_ALPHA2 = 0x8044;
  331. public const uint LUMINANCE8 = 0x8040;
  332. public const uint LUMINANCE8_ALPHA8 = 0x8045;
  333. public const uint MAP_COLOR = 0x0D10;
  334. public const uint MAP_STENCIL = 0x0D11;
  335. public const uint MAP1_COLOR_4 = 0x0D90;
  336. public const uint MAP1_GRID_DOMAIN = 0x0DD0;
  337. public const uint MAP1_GRID_SEGMENTS = 0x0DD1;
  338. public const uint MAP1_INDEX = 0x0D91;
  339. public const uint MAP1_NORMAL = 0x0D92;
  340. public const uint MAP1_TEXTURE_COORD_1 = 0x0D93;
  341. public const uint MAP1_TEXTURE_COORD_2 = 0x0D94;
  342. public const uint MAP1_TEXTURE_COORD_3 = 0x0D95;
  343. public const uint MAP1_TEXTURE_COORD_4 = 0x0D96;
  344. public const uint MAP1_VERTEX_3 = 0x0D97;
  345. public const uint MAP1_VERTEX_4 = 0x0D98;
  346. public const uint MAP2_COLOR_4 = 0x0DB0;
  347. public const uint MAP2_GRID_DOMAIN = 0x0DD2;
  348. public const uint MAP2_GRID_SEGMENTS = 0x0DD3;
  349. public const uint MAP2_INDEX = 0x0DB1;
  350. public const uint MAP2_NORMAL = 0x0DB2;
  351. public const uint MAP2_TEXTURE_COORD_1 = 0x0DB3;
  352. public const uint MAP2_TEXTURE_COORD_2 = 0x0DB4;
  353. public const uint MAP2_TEXTURE_COORD_3 = 0x0DB5;
  354. public const uint MAP2_TEXTURE_COORD_4 = 0x0DB6;
  355. public const uint MAP2_VERTEX_3 = 0x0DB7;
  356. public const uint MAP2_VERTEX_4 = 0x0DB8;
  357. public const uint MATRIX_MODE = 0x0BA0;
  358. public const uint MAX_3D_TEXTURE_SIZE = 0x8073;
  359. public const uint MAX_ATTRIB_STACK_DEPTH = 0x0D35;
  360. public const uint MAX_CLIENT_ATTRIB_STACK_DEPTH = 0x0D3B;
  361. public const uint MAX_CLIP_PLANES = 0x0D32;
  362. public const uint MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C;
  363. public const uint MAX_ELEMENTS_INDICES = 0x80E9;
  364. public const uint MAX_ELEMENTS_VERTICES = 0x80E8;
  365. public const uint MAX_EVAL_ORDER = 0x0D30;
  366. public const uint MAX_LIGHTS = 0x0D31;
  367. public const uint MAX_LIST_NESTING = 0x0B31;
  368. public const uint MAX_MODELVIEW_STACK_DEPTH = 0x0D36;
  369. public const uint MAX_NAME_STACK_DEPTH = 0x0D37;
  370. public const uint MAX_PIXEL_MAP_TABLE = 0x0D34;
  371. public const uint MAX_PROJECTION_STACK_DEPTH = 0x0D38;
  372. public const uint MAX_TEXTURE_LOD_BIAS = 0x84FD;
  373. public const uint MAX_TEXTURE_SIZE = 0x0D33;
  374. public const uint MAX_TEXTURE_STACK_DEPTH = 0x0D39;
  375. public const uint MAX_TEXTURE_UNITS = 0x84E2;
  376. public const uint MAX_VIEWPORT_DIMS = 0x0D3A;
  377. public const uint MIRRORED_REPEAT = 0x8370;
  378. public const uint MODELVIEW = 0x1700;
  379. public const uint MODELVIEW_MATRIX = 0x0BA6;
  380. public const uint MODELVIEW_STACK_DEPTH = 0x0BA3;
  381. public const uint MODULATE = 0x2100;
  382. public const uint MULT = 0x0103;
  383. public const uint MULTISAMPLE = 0x809D;
  384. public const uint MULTISAMPLE_BIT = 0x20000000;
  385. public const uint N3F_V3F = 0x2A25;
  386. public const uint NAME_STACK_DEPTH = 0x0D70;
  387. public const uint NAND = 0x150E;
  388. public const int NEAREST = 0x2600;
  389. public const int NEAREST_MIPMAP_LINEAR = 0x2702;
  390. public const int NEAREST_MIPMAP_NEAREST = 0x2700;
  391. public const uint NEVER = 0x0200;
  392. public const uint NICEST = 0x1102;
  393. public const uint NO_ERROR = 0;
  394. public const uint NONE = 0;
  395. public const uint NOOP = 0x1505;
  396. public const uint NOR = 0x1508;
  397. public const uint NORMAL_ARRAY = 0x8075;
  398. public const uint NORMAL_ARRAY_COUNT_EXT = 0x8080;
  399. public const uint NORMAL_ARRAY_EXT = 0x8075;
  400. public const uint NORMAL_ARRAY_POINTER = 0x808F;
  401. public const uint NORMAL_ARRAY_POINTER_EXT = 0x808F;
  402. public const uint NORMAL_ARRAY_STRIDE = 0x807F;
  403. public const uint NORMAL_ARRAY_STRIDE_EXT = 0x807F;
  404. public const uint NORMAL_ARRAY_TYPE = 0x807E;
  405. public const uint NORMAL_ARRAY_TYPE_EXT = 0x807E;
  406. public const uint NORMAL_MAP = 0x8511;
  407. public const uint NORMALIZE = 0x0BA1;
  408. public const uint NOTEQUAL = 0x0205;
  409. public const uint NUM_COMPRESSED_TEXTURE_FORMATS = 0x86A2;
  410. public const uint OBJECT_LINEAR = 0x2401;
  411. public const uint OBJECT_PLANE = 0x2501;
  412. public const uint ONE = 1;
  413. public const uint ONE_MINUS_DST_ALPHA = 0x0305;
  414. public const uint ONE_MINUS_DST_COLOR = 0x0307;
  415. public const uint ONE_MINUS_SRC_ALPHA = 0x0303;
  416. public const uint ONE_MINUS_SRC_COLOR = 0x0301;
  417. public const uint OPERAND0_ALPHA = 0x8598;
  418. public const uint OPERAND0_RGB = 0x8590;
  419. public const uint OPERAND1_ALPHA = 0x8599;
  420. public const uint OPERAND1_RGB = 0x8591;
  421. public const uint OPERAND2_ALPHA = 0x859A;
  422. public const uint OPERAND2_RGB = 0x8592;
  423. public const uint OR = 0x1507;
  424. public const uint OR_INVERTED = 0x150D;
  425. public const uint OR_REVERSE = 0x150B;
  426. public const uint ORDER = 0x0A01;
  427. public const uint OUT_OF_MEMORY = 0x0505;
  428. public const uint PACK_ALIGNMENT = 0x0D05;
  429. public const uint PACK_IMAGE_HEIGHT = 0x806C;
  430. public const uint PACK_LSB_FIRST = 0x0D01;
  431. public const uint PACK_ROW_LENGTH = 0x0D02;
  432. public const uint PACK_SKIP_IMAGES = 0x806B;
  433. public const uint PACK_SKIP_PIXELS = 0x0D04;
  434. public const uint PACK_SKIP_ROWS = 0x0D03;
  435. public const uint PACK_SWAP_BYTES = 0x0D00;
  436. public const uint PASS_THROUGH_TOKEN = 0x0700;
  437. public const uint PERSPECTIVE_CORRECTION_HINT = 0x0C50;
  438. public const uint PIXEL_MAP_A_TO_A = 0x0C79;
  439. public const uint PIXEL_MAP_A_TO_A_SIZE = 0x0CB9;
  440. public const uint PIXEL_MAP_B_TO_B = 0x0C78;
  441. public const uint PIXEL_MAP_B_TO_B_SIZE = 0x0CB8;
  442. public const uint PIXEL_MAP_G_TO_G = 0x0C77;
  443. public const uint PIXEL_MAP_G_TO_G_SIZE = 0x0CB7;
  444. public const uint PIXEL_MAP_I_TO_A = 0x0C75;
  445. public const uint PIXEL_MAP_I_TO_A_SIZE = 0x0CB5;
  446. public const uint PIXEL_MAP_I_TO_B = 0x0C74;
  447. public const uint PIXEL_MAP_I_TO_B_SIZE = 0x0CB4;
  448. public const uint PIXEL_MAP_I_TO_G = 0x0C73;
  449. public const uint PIXEL_MAP_I_TO_G_SIZE = 0x0CB3;
  450. public const uint PIXEL_MAP_I_TO_I = 0x0C70;
  451. public const uint PIXEL_MAP_I_TO_I_SIZE = 0x0CB0;
  452. public const uint PIXEL_MAP_I_TO_R = 0x0C72;
  453. public const uint PIXEL_MAP_I_TO_R_SIZE = 0x0CB2;
  454. public const uint PIXEL_MAP_R_TO_R = 0x0C76;
  455. public const uint PIXEL_MAP_R_TO_R_SIZE = 0x0CB6;
  456. public const uint PIXEL_MAP_S_TO_S = 0x0C71;
  457. public const uint PIXEL_MAP_S_TO_S_SIZE = 0x0CB1;
  458. public const uint PIXEL_MODE_BIT = 0x00000020;
  459. public const uint POINT = 0x1B00;
  460. public const uint POINT_BIT = 0x00000002;
  461. public const uint POINT_DISTANCE_ATTENUATION = 0x8129;
  462. public const uint POINT_FADE_THRESHOLD_SIZE = 0x8128;
  463. public const uint POINT_SIZE = 0x0B11;
  464. public const uint POINT_SIZE_GRANULARITY = 0x0B13;
  465. public const uint POINT_SIZE_MAX = 0x8127;
  466. public const uint POINT_SIZE_MIN = 0x8126;
  467. public const uint POINT_SIZE_RANGE = 0x0B12;
  468. public const uint POINT_SMOOTH = 0x0B10;
  469. public const uint POINT_SMOOTH_HINT = 0x0C51;
  470. public const uint POINT_TOKEN = 0x0701;
  471. public const uint POINTS = 0x0000;
  472. public const uint POLYGON = 0x0009;
  473. public const uint POLYGON_BIT = 0x00000008;
  474. public const uint POLYGON_MODE = 0x0B40;
  475. public const uint POLYGON_OFFSET_FACTOR = 0x8038;
  476. public const uint POLYGON_OFFSET_FILL = 0x8037;
  477. public const uint POLYGON_OFFSET_LINE = 0x2A02;
  478. public const uint POLYGON_OFFSET_POINT = 0x2A01;
  479. public const uint POLYGON_OFFSET_UNITS = 0x2A00;
  480. public const uint POLYGON_SMOOTH = 0x0B41;
  481. public const uint POLYGON_SMOOTH_HINT = 0x0C53;
  482. public const uint POLYGON_STIPPLE = 0x0B42;
  483. public const uint POLYGON_STIPPLE_BIT = 0x00000010;
  484. public const uint POLYGON_TOKEN = 0x0703;
  485. public const uint POSITION = 0x1203;
  486. public const uint PREVIOUS = 0x8578;
  487. public const uint PRIMARY_COLOR = 0x8577;
  488. public const uint PROJECTION = 0x1701;
  489. public const uint PROJECTION_MATRIX = 0x0BA7;
  490. public const uint PROJECTION_STACK_DEPTH = 0x0BA4;
  491. public const uint PROXY_TEXTURE_1D = 0x8063;
  492. public const uint PROXY_TEXTURE_2D = 0x8064;
  493. public const uint PROXY_TEXTURE_3D = 0x8070;
  494. public const uint PROXY_TEXTURE_CUBE_MAP = 0x851B;
  495. public const uint Q = 0x2003;
  496. public const uint QUAD_STRIP = 0x0008;
  497. public const uint QUADRATIC_ATTENUATION = 0x1209;
  498. public const uint QUADS = 0x0007;
  499. public const uint R = 0x2002;
  500. public const uint R3_G3_B2 = 0x2A10;
  501. public const uint READ_BUFFER = 0x0C02;
  502. public const uint RED = 0x1903;
  503. public const uint RED_BIAS = 0x0D15;
  504. public const uint RED_BITS = 0x0D52;
  505. public const uint RED_SCALE = 0x0D14;
  506. public const uint REFLECTION_MAP = 0x8512;
  507. public const uint RENDER = 0x1C00;
  508. public const uint RENDER_MODE = 0x0C40;
  509. public const uint RENDERER = 0x1F01;
  510. public const int REPEAT = 0x2901;
  511. public const uint REPLACE = 0x1E01;
  512. public const uint RESCALE_NORMAL = 0x803A;
  513. public const uint RESCALE_NORMAL_EXT = 0x803A;
  514. public const uint RETURN = 0x0102;
  515. public const uint RGB = 0x1907;
  516. public const uint RGB_SCALE = 0x8573;
  517. public const uint RGB10 = 0x8052;
  518. public const uint RGB10_A2 = 0x8059;
  519. public const uint RGB12 = 0x8053;
  520. public const uint RGB16 = 0x8054;
  521. public const uint RGB4 = 0x804F;
  522. public const uint RGB5 = 0x8050;
  523. public const uint RGB5_A1 = 0x8057;
  524. public const uint RGB8 = 0x8051;
  525. public const uint RGBA = 0x1908;
  526. public const uint RGBA_MODE = 0x0C31;
  527. public const uint RGBA12 = 0x805A;
  528. public const uint RGBA16 = 0x805B;
  529. public const uint RGBA2 = 0x8055;
  530. public const uint RGBA4 = 0x8056;
  531. public const uint RGBA8 = 0x8058;
  532. public const uint RIGHT = 0x0407;
  533. public const uint S = 0x2000;
  534. public const uint SAMPLE_ALPHA_TO_COVERAGE = 0x809E;
  535. public const uint SAMPLE_ALPHA_TO_ONE = 0x809F;
  536. public const uint SAMPLE_BUFFERS = 0x80A8;
  537. public const uint SAMPLE_COVERAGE = 0x80A0;
  538. public const uint SAMPLE_COVERAGE_INVERT = 0x80AB;
  539. public const uint SAMPLE_COVERAGE_VALUE = 0x80AA;
  540. public const uint SAMPLES = 0x80A9;
  541. public const uint SCISSOR_BIT = 0x00080000;
  542. public const uint SCISSOR_BOX = 0x0C10;
  543. public const uint SCISSOR_TEST = 0x0C11;
  544. public const uint SECONDARY_COLOR_ARRAY = 0x845E;
  545. public const uint SECONDARY_COLOR_ARRAY_POINTER = 0x845D;
  546. public const uint SECONDARY_COLOR_ARRAY_SIZE = 0x845A;
  547. public const uint SECONDARY_COLOR_ARRAY_STRIDE = 0x845C;
  548. public const uint SECONDARY_COLOR_ARRAY_TYPE = 0x845B;
  549. public const uint SELECT = 0x1C02;
  550. public const uint SELECTION_BUFFER_POINTER = 0x0DF3;
  551. public const uint SELECTION_BUFFER_SIZE = 0x0DF4;
  552. public const uint SEPARATE_SPECULAR_COLOR = 0x81FA;
  553. public const uint SET = 0x150F;
  554. public const uint SHADE_MODEL = 0x0B54;
  555. public const uint SHARED_TEXTURE_PALETTE_EXT = 0x81FB;
  556. public const uint SHININESS = 0x1601;
  557. public const uint SHORT = 0x1402;
  558. public const uint SINGLE_COLOR = 0x81F9;
  559. public const uint SMOOTH = 0x1D01;
  560. public const uint SMOOTH_LINE_WIDTH_GRANULARITY = 0x0B23;
  561. public const uint SMOOTH_LINE_WIDTH_RANGE = 0x0B22;
  562. public const uint SMOOTH_POINT_SIZE_GRANULARITY = 0x0B13;
  563. public const uint SMOOTH_POINT_SIZE_RANGE = 0x0B12;
  564. public const uint SOURCE0_ALPHA = 0x8588;
  565. public const uint SOURCE0_RGB = 0x8580;
  566. public const uint SOURCE1_ALPHA = 0x8589;
  567. public const uint SOURCE1_RGB = 0x8581;
  568. public const uint SOURCE2_ALPHA = 0x858A;
  569. public const uint SOURCE2_RGB = 0x8582;
  570. public const uint SPECULAR = 0x1202;
  571. public const uint SPHERE_MAP = 0x2402;
  572. public const uint SPOT_CUTOFF = 0x1206;
  573. public const uint SPOT_DIRECTION = 0x1204;
  574. public const uint SPOT_EXPONENT = 0x1205;
  575. public const uint SRC_ALPHA = 0x0302;
  576. public const uint SRC_ALPHA_SATURATE = 0x0308;
  577. public const uint SRC_COLOR = 0x0300;
  578. public const uint STACK_OVERFLOW = 0x0503;
  579. public const uint STACK_UNDERFLOW = 0x0504;
  580. public const uint STENCIL = 0x1802;
  581. public const uint STENCIL_BITS = 0x0D57;
  582. public const uint STENCIL_BUFFER_BIT = 0x00000400;
  583. public const uint STENCIL_CLEAR_VALUE = 0x0B91;
  584. public const uint STENCIL_FAIL = 0x0B94;
  585. public const uint STENCIL_FUNC = 0x0B92;
  586. public const uint STENCIL_INDEX = 0x1901;
  587. public const uint STENCIL_PASS_DEPTH_FAIL = 0x0B95;
  588. public const uint STENCIL_PASS_DEPTH_PASS = 0x0B96;
  589. public const uint STENCIL_REF = 0x0B97;
  590. public const uint STENCIL_TEST = 0x0B90;
  591. public const uint STENCIL_VALUE_MASK = 0x0B93;
  592. public const uint STENCIL_WRITEMASK = 0x0B98;
  593. public const uint STEREO = 0x0C33;
  594. public const uint SUBPIXEL_BITS = 0x0D50;
  595. public const uint SUBTRACT = 0x84E7;
  596. public const uint T = 0x2001;
  597. public const uint T2F_C3F_V3F = 0x2A2A;
  598. public const uint T2F_C4F_N3F_V3F = 0x2A2C;
  599. public const uint T2F_C4UB_V3F = 0x2A29;
  600. public const uint T2F_N3F_V3F = 0x2A2B;
  601. public const uint T2F_V3F = 0x2A27;
  602. public const uint T4F_C4F_N3F_V4F = 0x2A2D;
  603. public const uint T4F_V4F = 0x2A28;
  604. public const uint TABLE_TOO_LARGE = 0x8031;
  605. public const uint TEXTURE = 0x1702;
  606. public const uint TEXTURE_1D = 0x0DE0;
  607. public const uint TEXTURE_2D = 0x0DE1;
  608. public const uint TEXTURE_3D = 0x806F;
  609. public const uint TEXTURE_ALPHA_SIZE = 0x805F;
  610. public const uint TEXTURE_BASE_LEVEL = 0x813C;
  611. public const uint TEXTURE_BASE_LEVEL_SGIS = 0x813C;
  612. public const uint TEXTURE_BINDING_1D = 0x8068;
  613. public const uint TEXTURE_BINDING_2D = 0x8069;
  614. public const uint TEXTURE_BINDING_3D = 0x806A;
  615. public const uint TEXTURE_BINDING_CUBE_MAP = 0x8514;
  616. public const uint TEXTURE_BIT = 0x00040000;
  617. public const uint TEXTURE_BLUE_SIZE = 0x805E;
  618. public const uint TEXTURE_BORDER = 0x1005;
  619. public const uint TEXTURE_BORDER_COLOR = 0x1004;
  620. public const uint TEXTURE_COMPARE_FUNC = 0x884D;
  621. public const uint TEXTURE_COMPARE_MODE = 0x884C;
  622. public const uint TEXTURE_COMPARE_OPERATOR_SGIX = 0x819B;
  623. public const uint TEXTURE_COMPARE_SGIX = 0x819A;
  624. public const uint TEXTURE_COMPONENTS = 0x1003;
  625. public const uint TEXTURE_COMPRESSED = 0x86A1;
  626. public const uint TEXTURE_COMPRESSED_IMAGE_SIZE = 0x86A0;
  627. public const uint TEXTURE_COMPRESSION_HINT = 0x84EF;
  628. public const uint TEXTURE_COORD_ARRAY = 0x8078;
  629. public const uint TEXTURE_COORD_ARRAY_COUNT_EXT = 0x808B;
  630. public const uint TEXTURE_COORD_ARRAY_EXT = 0x8078;
  631. public const uint TEXTURE_COORD_ARRAY_POINTER = 0x8092;
  632. public const uint TEXTURE_COORD_ARRAY_POINTER_EXT = 0x8092;
  633. public const uint TEXTURE_COORD_ARRAY_SIZE = 0x8088;
  634. public const uint TEXTURE_COORD_ARRAY_SIZE_EXT = 0x8088;
  635. public const uint TEXTURE_COORD_ARRAY_STRIDE = 0x808A;
  636. public const uint TEXTURE_COORD_ARRAY_STRIDE_EXT = 0x808A;
  637. public const uint TEXTURE_COORD_ARRAY_TYPE = 0x8089;
  638. public const uint TEXTURE_COORD_ARRAY_TYPE_EXT = 0x8089;
  639. public const uint TEXTURE_CUBE_MAP = 0x8513;
  640. public const uint TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516;
  641. public const uint TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518;
  642. public const uint TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A;
  643. public const uint TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515;
  644. public const uint TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517;
  645. public const uint TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519;
  646. public const uint TEXTURE_DEPTH = 0x8071;
  647. public const uint TEXTURE_DEPTH_SIZE = 0x884A;
  648. public const uint TEXTURE_ENV = 0x2300;
  649. public const uint TEXTURE_ENV_COLOR = 0x2201;
  650. public const uint TEXTURE_ENV_MODE = 0x2200;
  651. public const uint TEXTURE_FILTER_CONTROL = 0x8500;
  652. public const uint TEXTURE_GEN_MODE = 0x2500;
  653. public const uint TEXTURE_GEN_Q = 0x0C63;
  654. public const uint TEXTURE_GEN_R = 0x0C62;
  655. public const uint TEXTURE_GEN_S = 0x0C60;
  656. public const uint TEXTURE_GEN_T = 0x0C61;
  657. public const uint TEXTURE_GEQUAL_R_SGIX = 0x819D;
  658. public const uint TEXTURE_GREEN_SIZE = 0x805D;
  659. public const uint TEXTURE_HEIGHT = 0x1001;
  660. public const uint TEXTURE_INTENSITY_SIZE = 0x8061;
  661. public const uint TEXTURE_INTERNAL_FORMAT = 0x1003;
  662. public const uint TEXTURE_LEQUAL_R_SGIX = 0x819C;
  663. public const uint TEXTURE_LOD_BIAS = 0x8501;
  664. public const uint TEXTURE_LUMINANCE_SIZE = 0x8060;
  665. public const uint TEXTURE_MAG_FILTER = 0x2800;
  666. public const uint TEXTURE_MATRIX = 0x0BA8;
  667. public const uint TEXTURE_MAX_LEVEL = 0x813D;
  668. public const uint TEXTURE_MAX_LEVEL_SGIS = 0x813D;
  669. public const uint TEXTURE_MAX_LOD = 0x813B;
  670. public const uint TEXTURE_MAX_LOD_SGIS = 0x813B;
  671. public const uint TEXTURE_MIN_FILTER = 0x2801;
  672. public const uint TEXTURE_MIN_LOD = 0x813A;
  673. public const uint TEXTURE_MIN_LOD_SGIS = 0x813A;
  674. public const uint TEXTURE_PRIORITY = 0x8066;
  675. public const uint TEXTURE_RED_SIZE = 0x805C;
  676. public const uint TEXTURE_RESIDENT = 0x8067;
  677. public const uint TEXTURE_STACK_DEPTH = 0x0BA5;
  678. public const uint TEXTURE_WIDTH = 0x1000;
  679. public const uint TEXTURE_WRAP_R = 0x8072;
  680. public const uint TEXTURE_WRAP_S = 0x2802;
  681. public const uint TEXTURE_WRAP_T = 0x2803;
  682. public const uint TEXTURE0 = 0x84C0;
  683. public const uint TEXTURE1 = 0x84C1;
  684. public const uint TEXTURE10 = 0x84CA;
  685. public const uint TEXTURE11 = 0x84CB;
  686. public const uint TEXTURE12 = 0x84CC;
  687. public const uint TEXTURE13 = 0x84CD;
  688. public const uint TEXTURE14 = 0x84CE;
  689. public const uint TEXTURE15 = 0x84CF;
  690. public const uint TEXTURE16 = 0x84D0;
  691. public const uint TEXTURE17 = 0x84D1;
  692. public const uint TEXTURE18 = 0x84D2;
  693. public const uint TEXTURE19 = 0x84D3;
  694. public const uint TEXTURE2 = 0x84C2;
  695. public const uint TEXTURE20 = 0x84D4;
  696. public const uint TEXTURE21 = 0x84D5;
  697. public const uint TEXTURE22 = 0x84D6;
  698. public const uint TEXTURE23 = 0x84D7;
  699. public const uint TEXTURE24 = 0x84D8;
  700. public const uint TEXTURE25 = 0x84D9;
  701. public const uint TEXTURE26 = 0x84DA;
  702. public const uint TEXTURE27 = 0x84DB;
  703. public const uint TEXTURE28 = 0x84DC;
  704. public const uint TEXTURE29 = 0x84DD;
  705. public const uint TEXTURE3 = 0x84C3;
  706. public const uint TEXTURE30 = 0x84DE;
  707. public const uint TEXTURE31 = 0x84DF;
  708. public const uint TEXTURE4 = 0x84C4;
  709. public const uint TEXTURE5 = 0x84C5;
  710. public const uint TEXTURE6 = 0x84C6;
  711. public const uint TEXTURE7 = 0x84C7;
  712. public const uint TEXTURE8 = 0x84C8;
  713. public const uint TEXTURE9 = 0x84C9;
  714. public const uint TRANSFORM_BIT = 0x00001000;
  715. public const uint TRANSPOSE_COLOR_MATRIX = 0x84E6;
  716. public const uint TRANSPOSE_MODELVIEW_MATRIX = 0x84E3;
  717. public const uint TRANSPOSE_PROJECTION_MATRIX = 0x84E4;
  718. public const uint TRANSPOSE_TEXTURE_MATRIX = 0x84E5;
  719. public const uint TRIANGLE_FAN = 0x0006;
  720. public const uint TRIANGLE_STRIP = 0x0005;
  721. public const uint TRIANGLES = 0x0004;
  722. public const uint TRUE = 1;
  723. public const uint UNPACK_ALIGNMENT = 0x0CF5;
  724. public const uint UNPACK_IMAGE_HEIGHT = 0x806E;
  725. public const uint UNPACK_LSB_FIRST = 0x0CF1;
  726. public const uint UNPACK_ROW_LENGTH = 0x0CF2;
  727. public const uint UNPACK_SKIP_IMAGES = 0x806D;
  728. public const uint UNPACK_SKIP_PIXELS = 0x0CF4;
  729. public const uint UNPACK_SKIP_ROWS = 0x0CF3;
  730. public const uint UNPACK_SWAP_BYTES = 0x0CF0;
  731. public const uint UNSIGNED_BYTE = 0x1401;
  732. public const uint UNSIGNED_BYTE_2_3_3_REV = 0x8362;
  733. public const uint UNSIGNED_BYTE_3_3_2 = 0x8032;
  734. public const uint UNSIGNED_BYTE_3_3_2_EXT = 0x8032;
  735. public const uint UNSIGNED_INT = 0x1405;
  736. public const uint UNSIGNED_INT_10_10_10_2 = 0x8036;
  737. public const uint UNSIGNED_INT_10_10_10_2_EXT = 0x8036;
  738. public const uint UNSIGNED_INT_2_10_10_10_REV = 0x8368;
  739. public const uint UNSIGNED_INT_8_8_8_8 = 0x8035;
  740. public const uint UNSIGNED_INT_8_8_8_8_EXT = 0x8035;
  741. public const uint UNSIGNED_INT_8_8_8_8_REV = 0x8367;
  742. public const uint UNSIGNED_SHORT = 0x1403;
  743. public const uint UNSIGNED_SHORT_1_5_5_5_REV = 0x8366;
  744. public const uint UNSIGNED_SHORT_4_4_4_4 = 0x8033;
  745. public const uint UNSIGNED_SHORT_4_4_4_4_EXT = 0x8033;
  746. public const uint UNSIGNED_SHORT_4_4_4_4_REV = 0x8365;
  747. public const uint UNSIGNED_SHORT_5_5_5_1 = 0x8034;
  748. public const uint UNSIGNED_SHORT_5_5_5_1_EXT = 0x8034;
  749. public const uint UNSIGNED_SHORT_5_6_5 = 0x8363;
  750. public const uint UNSIGNED_SHORT_5_6_5_REV = 0x8364;
  751. public const uint V2F = 0x2A20;
  752. public const uint V3F = 0x2A21;
  753. public const uint VENDOR = 0x1F00;
  754. public const uint VERSION = 0x1F02;
  755. public const uint VERSION_1_1 = 1;
  756. public const uint VERTEX_ARRAY = 0x8074;
  757. public const uint VERTEX_ARRAY_COUNT_EXT = 0x807D;
  758. public const uint VERTEX_ARRAY_EXT = 0x8074;
  759. public const uint VERTEX_ARRAY_POINTER = 0x808E;
  760. public const uint VERTEX_ARRAY_POINTER_EXT = 0x808E;
  761. public const uint VERTEX_ARRAY_SIZE = 0x807A;
  762. public const uint VERTEX_ARRAY_SIZE_EXT = 0x807A;
  763. public const uint VERTEX_ARRAY_STRIDE = 0x807C;
  764. public const uint VERTEX_ARRAY_STRIDE_EXT = 0x807C;
  765. public const uint VERTEX_ARRAY_TYPE = 0x807B;
  766. public const uint VERTEX_ARRAY_TYPE_EXT = 0x807B;
  767. public const uint VIEWPORT = 0x0BA2;
  768. public const uint VIEWPORT_BIT = 0x00000800;
  769. public const uint XOR = 0x1506;
  770. public const uint ZERO = 0;
  771. public const uint ZOOM_X = 0x0D16;
  772. public const uint ZOOM_Y = 0x0D17;
  773. [DllImport(GL_DLL, EntryPoint = "glAccum"), SuppressUnmanagedCodeSecurity]
  774. public static extern void Accum(uint op, float _value);
  775. [DllImport(GL_DLL, EntryPoint = "glAlphaFunc"), SuppressUnmanagedCodeSecurity]
  776. public static extern void AlphaFunc(uint func, float _ref);
  777. [DllImport(GL_DLL, EntryPoint = "glAreTexturesResident"), SuppressUnmanagedCodeSecurity]
  778. public static extern byte AreTexturesResident(int n, [In] uint[] textures, [In, Out] byte[] residences);
  779. [DllImport(GL_DLL, EntryPoint = "glArrayElement"), SuppressUnmanagedCodeSecurity]
  780. public static extern void ArrayElement(int i);
  781. [DllImport(GL_DLL, EntryPoint = "glBegin"), SuppressUnmanagedCodeSecurity]
  782. public static extern void Begin(uint mode);
  783. [DllImport(GL_DLL, EntryPoint = "glBindTexture"), SuppressUnmanagedCodeSecurity]
  784. public static extern void BindTexture(uint target, uint texture);
  785. [DllImport(GL_DLL, EntryPoint = "glBitmap"), SuppressUnmanagedCodeSecurity]
  786. public static extern void Bitmap(int width, int height, float xorig, float yorig, float xmove, float ymove, [In] byte[] bitmap);
  787. [DllImport(GL_DLL, EntryPoint = "glBlendFunc"), SuppressUnmanagedCodeSecurity]
  788. public static extern void BlendFunc(uint sfactor, uint dfactor);
  789. [DllImport(GL_DLL, EntryPoint = "glCallList"), SuppressUnmanagedCodeSecurity]
  790. public static extern void CallList(uint list);
  791. [DllImport(GL_DLL, EntryPoint = "glCallLists"), SuppressUnmanagedCodeSecurity]
  792. public static extern void CallLists(int n, uint type, IntPtr lists);
  793. [DllImport(GL_DLL, EntryPoint = "glClear"), SuppressUnmanagedCodeSecurity]
  794. public static extern void Clear(uint mask);
  795. [DllImport(GL_DLL, EntryPoint = "glClearAccum"), SuppressUnmanagedCodeSecurity]
  796. public static extern void ClearAccum(float red, float green, float blue, float alpha);
  797. [DllImport(GL_DLL, EntryPoint = "glClearColor"), SuppressUnmanagedCodeSecurity]
  798. public static extern void ClearColor(float red, float green, float blue, float alpha);
  799. [DllImport(GL_DLL, EntryPoint = "glClearDepth"), SuppressUnmanagedCodeSecurity]
  800. public static extern void ClearDepth(double depth);
  801. [DllImport(GL_DLL, EntryPoint = "glClearIndex"), SuppressUnmanagedCodeSecurity]
  802. public static extern void ClearIndex(float c);
  803. [DllImport(GL_DLL, EntryPoint = "glClearStencil"), SuppressUnmanagedCodeSecurity]
  804. public static extern void ClearStencil(int s);
  805. [DllImport(GL_DLL, EntryPoint = "glClipPlane"), SuppressUnmanagedCodeSecurity]
  806. public static extern void ClipPlane(uint plane, [In] double[] equation);
  807. [DllImport(GL_DLL, EntryPoint = "glColor3b"), SuppressUnmanagedCodeSecurity]
  808. public static extern void Color3b(sbyte red, sbyte green, sbyte blue);
  809. [DllImport(GL_DLL, EntryPoint = "glColor3bv"), SuppressUnmanagedCodeSecurity]
  810. public static extern void Color3bv(string v);
  811. [DllImport(GL_DLL, EntryPoint = "glColor3d"), SuppressUnmanagedCodeSecurity]
  812. public static extern void Color3d(double red, double green, double blue);
  813. [DllImport(GL_DLL, EntryPoint = "glColor3dv"), SuppressUnmanagedCodeSecurity]
  814. public static extern void Color3dv([In] double[] v);
  815. [DllImport(GL_DLL, EntryPoint = "glColor3f"), SuppressUnmanagedCodeSecurity]
  816. public static extern void Color3f(float red, float green, float blue);
  817. [DllImport(GL_DLL, EntryPoint = "glColor3fv"), SuppressUnmanagedCodeSecurity]
  818. public static extern void Color3fv([In] float[] v);
  819. [DllImport(GL_DLL, EntryPoint = "glColor3i"), SuppressUnmanagedCodeSecurity]
  820. public static extern void Color3i(int red, int green, int blue);
  821. [DllImport(GL_DLL, EntryPoint = "glColor3iv"), SuppressUnmanagedCodeSecurity]
  822. public static extern void Color3iv([In] int[] v);
  823. [DllImport(GL_DLL, EntryPoint = "glColor3s"), SuppressUnmanagedCodeSecurity]
  824. public static extern void Color3s(short red, short green, short blue);
  825. [DllImport(GL_DLL, EntryPoint = "glColor3sv"), SuppressUnmanagedCodeSecurity]
  826. public static extern void Color3sv([In] short[] v);
  827. [DllImport(GL_DLL, EntryPoint = "glColor3ub"), SuppressUnmanagedCodeSecurity]
  828. public static extern void Color3ub(byte red, byte green, byte blue);
  829. [DllImport(GL_DLL, EntryPoint = "glColor3ubv"), SuppressUnmanagedCodeSecurity]
  830. public static extern void Color3ubv([In] byte[] v);
  831. [DllImport(GL_DLL, EntryPoint = "glColor3ui"), SuppressUnmanagedCodeSecurity]
  832. public static extern void Color3ui(uint red, uint green, uint blue);
  833. [DllImport(GL_DLL, EntryPoint = "glColor3uiv"), SuppressUnmanagedCodeSecurity]
  834. public static extern void Color3uiv([In] uint[] v);
  835. [DllImport(GL_DLL, EntryPoint = "glColor3us"), SuppressUnmanagedCodeSecurity]
  836. public static extern void Color3us(ushort red, ushort green, ushort blue);
  837. [DllImport(GL_DLL, EntryPoint = "glColor3usv"), SuppressUnmanagedCodeSecurity]
  838. public static extern void Color3usv([In] ushort[] v);
  839. [DllImport(GL_DLL, EntryPoint = "glColor4b"), SuppressUnmanagedCodeSecurity]
  840. public static extern void Color4b(sbyte red, sbyte green, sbyte blue, sbyte alpha);
  841. [DllImport(GL_DLL, EntryPoint = "glColor4bv"), SuppressUnmanagedCodeSecurity]
  842. public static extern void Color4bv(string v);
  843. [DllImport(GL_DLL, EntryPoint = "glColor4d"), SuppressUnmanagedCodeSecurity]
  844. public static extern void Color4d(double red, double green, double blue, double alpha);
  845. [DllImport(GL_DLL, EntryPoint = "glColor4dv"), SuppressUnmanagedCodeSecurity]
  846. public static extern void Color4dv([In] double[] v);
  847. [DllImport(GL_DLL, EntryPoint = "glColor4f"), SuppressUnmanagedCodeSecurity]
  848. public static extern void Color4f(float red, float green, float blue, float alpha);
  849. [DllImport(GL_DLL, EntryPoint = "glColor4fv"), SuppressUnmanagedCodeSecurity]
  850. public static extern void Color4fv([In] float[] v);
  851. [DllImport(GL_DLL, EntryPoint = "glColor4i"), SuppressUnmanagedCodeSecurity]
  852. public static extern void Color4i(int red, int green, int blue, int alpha);
  853. [DllImport(GL_DLL, EntryPoint = "glColor4iv"), SuppressUnmanagedCodeSecurity]
  854. public static extern void Color4iv([In] int[] v);
  855. [DllImport(GL_DLL, EntryPoint = "glColor4s"), SuppressUnmanagedCodeSecurity]
  856. public static extern void Color4s(short red, short green, short blue, short alpha);
  857. [DllImport(GL_DLL, EntryPoint = "glColor4sv"), SuppressUnmanagedCodeSecurity]
  858. public static extern void Color4sv([In] short[] v);
  859. [DllImport(GL_DLL, EntryPoint = "glColor4ub"), SuppressUnmanagedCodeSecurity]
  860. public static extern void Color4ub(byte red, byte green, byte blue, byte alpha);
  861. [DllImport(GL_DLL, EntryPoint = "glColor4ubv"), SuppressUnmanagedCodeSecurity]
  862. public static extern void Color4ubv([In] byte[] v);
  863. [DllImport(GL_DLL, EntryPoint = "glColor4ui"), SuppressUnmanagedCodeSecurity]
  864. public static extern void Color4ui(uint red, uint green, uint blue, uint alpha);
  865. [DllImport(GL_DLL, EntryPoint = "glColor4uiv"), SuppressUnmanagedCodeSecurity]
  866. public static extern void Color4uiv([In] uint[] v);
  867. [DllImport(GL_DLL, EntryPoint = "glColor4us"), SuppressUnmanagedCodeSecurity]
  868. public static extern void Color4us(ushort red, ushort green, ushort blue, ushort alpha);
  869. [DllImport(GL_DLL, EntryPoint = "glColor4usv"), SuppressUnmanagedCodeSecurity]
  870. public static extern void Color4usv([In] ushort[] v);
  871. [DllImport(GL_DLL, EntryPoint = "glColorMask"), SuppressUnmanagedCodeSecurity]
  872. public static extern void ColorMask(byte red, byte green, byte blue, byte alpha);
  873. [DllImport(GL_DLL, EntryPoint = "glColorMaterial"), SuppressUnmanagedCodeSecurity]
  874. public static extern void ColorMaterial(uint face, uint mode);
  875. [DllImport(GL_DLL, EntryPoint = "glColorPointer"), SuppressUnmanagedCodeSecurity]
  876. public static extern void ColorPointer(int size, uint type, int stride, IntPtr pointer);
  877. [DllImport(GL_DLL, EntryPoint = "glCopyPixels"), SuppressUnmanagedCodeSecurity]
  878. public static extern void CopyPixels(int x, int y, int width, int height, uint type);
  879. [DllImport(GL_DLL, EntryPoint = "glCopyTexImage1D"), SuppressUnmanagedCodeSecurity]
  880. public static extern void CopyTexImage1D(uint target, int level, uint internalFormat, int x, int y, int width, int border);
  881. [DllImport(GL_DLL, EntryPoint = "glCopyTexImage2D"), SuppressUnmanagedCodeSecurity]
  882. public static extern void CopyTexImage2D(uint target, int level, uint internalFormat, int x, int y, int width, int height, int border);
  883. [DllImport(GL_DLL, EntryPoint = "glCopyTexSubImage1D"), SuppressUnmanagedCodeSecurity]
  884. public static extern void CopyTexSubImage1D(uint target, int level, int xoffset, int x, int y, int width);
  885. [DllImport(GL_DLL, EntryPoint = "glCopyTexSubImage2D"), SuppressUnmanagedCodeSecurity]
  886. public static extern void CopyTexSubImage2D(uint target, int level, int xoffset, int yoffset, int x, int y, int width, int height);
  887. [DllImport(GL_DLL, EntryPoint = "glCullFace"), SuppressUnmanagedCodeSecurity]
  888. public static extern void CullFace(uint mode);
  889. [DllImport(GL_DLL, EntryPoint = "glDeleteLists"), SuppressUnmanagedCodeSecurity]
  890. public static extern void DeleteLists(uint list, int range);
  891. [DllImport(GL_DLL, EntryPoint = "glDeleteTextures"), SuppressUnmanagedCodeSecurity]
  892. public static extern void DeleteTextures(int n, [In] uint[] textures);
  893. [DllImport(GL_DLL, EntryPoint = "glDepthFunc"), SuppressUnmanagedCodeSecurity]
  894. public static extern void DepthFunc(uint func);
  895. [DllImport(GL_DLL, EntryPoint = "glDepthMask"), SuppressUnmanagedCodeSecurity]
  896. public static extern void DepthMask(byte flag);
  897. [DllImport(GL_DLL, EntryPoint = "glDepthRange"), SuppressUnmanagedCodeSecurity]
  898. public static extern void DepthRange(double zNear, double zFar);
  899. [DllImport(GL_DLL, EntryPoint = "glDisable"), SuppressUnmanagedCodeSecurity]
  900. public static extern void Disable(uint cap);
  901. [DllImport(GL_DLL, EntryPoint = "glDisableClientState"), SuppressUnmanagedCodeSecurity]
  902. public static extern void DisableClientState(uint array);
  903. [DllImport(GL_DLL, EntryPoint = "glDrawArrays"), SuppressUnmanagedCodeSecurity]
  904. public static extern void DrawArrays(uint mode, int first, int count);
  905. [DllImport(GL_DLL, EntryPoint = "glDrawBuffer"), SuppressUnmanagedCodeSecurity]
  906. public static extern void DrawBuffer(uint mode);
  907. [DllImport(GL_DLL, EntryPoint = "glDrawElements"), SuppressUnmanagedCodeSecurity]
  908. public static extern void DrawElements(uint mode, int count, uint type, IntPtr indices);
  909. [DllImport(GL_DLL, EntryPoint = "glDrawPixels"), SuppressUnmanagedCodeSecurity]
  910. public static extern void DrawPixels(int width, int height, uint format, uint type, IntPtr pixels);
  911. [DllImport(GL_DLL, EntryPoint = "glEdgeFlag"), SuppressUnmanagedCodeSecurity]
  912. public static extern void EdgeFlag(byte flag);
  913. [DllImport(GL_DLL, EntryPoint = "glEdgeFlagPointer"), SuppressUnmanagedCodeSecurity]
  914. public static extern void EdgeFlagPointer(int stride, IntPtr pointer);
  915. [DllImport(GL_DLL, EntryPoint = "glEdgeFlagv"), SuppressUnmanagedCodeSecurity]
  916. public static extern void EdgeFlagv([In] byte[] flag);
  917. [DllImport(GL_DLL, EntryPoint = "glEnable"), SuppressUnmanagedCodeSecurity]
  918. public static extern void Enable(uint cap);
  919. [DllImport(GL_DLL, EntryPoint = "glEnableClientState"), SuppressUnmanagedCodeSecurity]
  920. public static extern void EnableClientState(uint array);
  921. [DllImport(GL_DLL, EntryPoint = "glEnd"), SuppressUnmanagedCodeSecurity]
  922. public static extern void End();
  923. [DllImport(GL_DLL, EntryPoint = "glEndList"), SuppressUnmanagedCodeSecurity]
  924. public static extern void EndList();
  925. [DllImport(GL_DLL, EntryPoint = "glEvalCoord1d"), SuppressUnmanagedCodeSecurity]
  926. public static extern void EvalCoord1d(double u);
  927. [DllImport(GL_DLL, EntryPoint = "glEvalCoord1dv"), SuppressUnmanagedCodeSecurity]
  928. public static extern void EvalCoord1dv([In] double[] u);
  929. [DllImport(GL_DLL, EntryPoint = "glEvalCoord1f"), SuppressUnmanagedCodeSecurity]
  930. public static extern void EvalCoord1f(float u);
  931. [DllImport(GL_DLL, EntryPoint = "glEvalCoord1fv"), SuppressUnmanagedCodeSecurity]
  932. public static extern void EvalCoord1fv([In] float[] u);
  933. [DllImport(GL_DLL, EntryPoint = "glEvalCoord2d"), SuppressUnmanagedCodeSecurity]
  934. public static extern void EvalCoord2d(double u, double v);
  935. [DllImport(GL_DLL, EntryPoint = "glEvalCoord2dv"), SuppressUnmanagedCodeSecurity]
  936. public static extern void EvalCoord2dv([In] double[] u);
  937. [DllImport(GL_DLL, EntryPoint = "glEvalCoord2f"), SuppressUnmanagedCodeSecurity]
  938. public static extern void EvalCoord2f(float u, float v);
  939. [DllImport(GL_DLL, EntryPoint = "glEvalCoord2fv"), SuppressUnmanagedCodeSecurity]
  940. public static extern void EvalCoord2fv([In] float[] u);
  941. [DllImport(GL_DLL, EntryPoint = "glEvalMesh1"), SuppressUnmanagedCodeSecurity]
  942. public static extern void EvalMesh1(uint mode, int i1, int i2);
  943. [DllImport(GL_DLL, EntryPoint = "glEvalMesh2"), SuppressUnmanagedCodeSecurity]
  944. public static extern void EvalMesh2(uint mode, int i1, int i2, int j1, int j2);
  945. [DllImport(GL_DLL, EntryPoint = "glEvalPoint1"), SuppressUnmanagedCodeSecurity]
  946. public static extern void EvalPoint1(int i);
  947. [DllImport(GL_DLL, EntryPoint = "glEvalPoint2"), SuppressUnmanagedCodeSecurity]
  948. public static extern void EvalPoint2(int i, int j);
  949. [DllImport(GL_DLL, EntryPoint = "glFeedbackBuffer"), SuppressUnmanagedCodeSecurity]
  950. public static extern void FeedbackBuffer(int size, uint type, [In, Out] float[] buffer);
  951. [DllImport(GL_DLL, EntryPoint = "glFinish"), SuppressUnmanagedCodeSecurity]
  952. public static extern void Finish();
  953. [DllImport(GL_DLL, EntryPoint = "glFlush"), SuppressUnmanagedCodeSecurity]
  954. public static extern void Flush();
  955. [DllImport(GL_DLL, EntryPoint = "glFogf"), SuppressUnmanagedCodeSecurity]
  956. public static extern void Fogf(uint pname, float param);
  957. [DllImport(GL_DLL, EntryPoint = "glFogfv"), SuppressUnmanagedCodeSecurity]
  958. public static extern void Fogfv(uint pname, [In] float[] _params);
  959. [DllImport(GL_DLL, EntryPoint = "glFogi"), SuppressUnmanagedCodeSecurity]
  960. public static extern void Fogi(uint pname, int param);
  961. [DllImport(GL_DLL, EntryPoint = "glFogiv"), SuppressUnmanagedCodeSecurity]
  962. public static extern void Fogiv(uint pname, [In] int[] _params);
  963. [DllImport(GL_DLL, EntryPoint = "glFrontFace"), SuppressUnmanagedCodeSecurity]
  964. public static extern void FrontFace(uint mode);
  965. [DllImport(GL_DLL, EntryPoint = "glFrustum"), SuppressUnmanagedCodeSecurity]
  966. public static extern void Frustum(double left, double right, double bottom, double top, double zNear, double zFar);
  967. [DllImport(GL_DLL, EntryPoint = "glGenLists"), SuppressUnmanagedCodeSecurity]
  968. public static extern uint GenLists(int range);
  969. [DllImport(GL_DLL, EntryPoint = "glGenTextures"), SuppressUnmanagedCodeSecurity]
  970. public static extern void GenTextures(int n, [In, Out] uint[] textures);
  971. [DllImport(GL_DLL, EntryPoint = "glGetBooleanv"), SuppressUnmanagedCodeSecurity]
  972. public static extern void GetBooleanv(uint pname, [In, Out] byte[] _params);
  973. [DllImport(GL_DLL, EntryPoint = "glGetClipPlane"), SuppressUnmanagedCodeSecurity]
  974. public static extern void GetClipPlane(uint plane, [In, Out] double[] equation);
  975. [DllImport(GL_DLL, EntryPoint = "glGetDoublev"), SuppressUnmanagedCodeSecurity]
  976. public static extern void GetDoublev(uint pname, [In, Out] double[] _params);
  977. [DllImport(GL_DLL, EntryPoint = "glGetError"), SuppressUnmanagedCodeSecurity]
  978. public static extern uint GetError();
  979. [DllImport(GL_DLL, EntryPoint = "glGetFloatv"), SuppressUnmanagedCodeSecurity]
  980. public static extern void GetFloatv(uint pname, [In, Out] float[] _params);
  981. [DllImport(GL_DLL, EntryPoint = "glGetIntegerv"), SuppressUnmanagedCodeSecurity]
  982. public static extern void GetIntegerv(uint pname, [In, Out] int[] _params);
  983. [DllImport(GL_DLL, EntryPoint = "glGetLightfv"), SuppressUnmanagedCodeSecurity]
  984. public static extern void GetLightfv(uint light, uint pname, [In, Out] float[] _params);
  985. [DllImport(GL_DLL, EntryPoint = "glGetLightiv"), SuppressUnmanagedCodeSecurity]
  986. public static extern void GetLightiv(uint light, uint pname, [In, Out] int[] _params);
  987. [DllImport(GL_DLL, EntryPoint = "glGetMapdv"), SuppressUnmanagedCodeSecurity]
  988. public static extern void GetMapdv(uint target, uint query, [In, Out] double[] v);
  989. [DllImport(GL_DLL, EntryPoint = "glGetMapfv"), SuppressUnmanagedCodeSecurity]
  990. public static extern void GetMapfv(uint target, uint query, [In, Out] float[] v);
  991. [DllImport(GL_DLL, EntryPoint = "glGetMapiv"), SuppressUnmanagedCodeSecurity]
  992. public static extern void GetMapiv(uint target, uint query, [In, Out] int[] v);
  993. [DllImport(GL_DLL, EntryPoint = "glGetMaterialfv"), SuppressUnmanagedCodeSecurity]
  994. public static extern void GetMaterialfv(uint face, uint pname, [In, Out] float[] _params);
  995. [DllImport(GL_DLL, EntryPoint = "glGetMaterialiv"), SuppressUnmanagedCodeSecurity]
  996. public static extern void GetMaterialiv(uint face, uint pname, [In, Out] int[] _params);
  997. [DllImport(GL_DLL, EntryPoint = "glGetPixelMapfv"), SuppressUnmanagedCodeSecurity]
  998. public static extern void GetPixelMapfv(uint map, [In, Out] float[] values);
  999. [DllImport(GL_DLL, EntryPoint = "glGetPixelMapuiv"), SuppressUnmanagedCodeSecurity]
  1000. public static extern void GetPixelMapuiv(uint map, [In, Out] uint[] values);
  1001. [DllImport(GL_DLL, EntryPoint = "glGetPixelMapusv"), SuppressUnmanagedCodeSecurity]
  1002. public static extern void GetPixelMapusv(uint map, [In, Out] ushort[] values);
  1003. [DllImport(GL_DLL, EntryPoint = "glGetPointerv"), SuppressUnmanagedCodeSecurity]
  1004. public static extern void GetPointerv(uint pname, IntPtr /*IntPtr void*/ _params);
  1005. [DllImport(GL_DLL, EntryPoint = "glGetPolygonStipple"), SuppressUnmanagedCodeSecurity]
  1006. public static extern void GetPolygonStipple([In, Out] byte[] mask);
  1007. [DllImport(GL_DLL, EntryPoint = "glGetString"), SuppressUnmanagedCodeSecurity]
  1008. public static extern IntPtr /*byte*/ GetString(uint name);
  1009. [DllImport(GL_DLL, EntryPoint = "glGetTexEnvfv"), SuppressUnmanagedCodeSecurity]
  1010. public static extern void GetTexEnvfv(uint target, uint pname, [In, Out] float[] _params);
  1011. [DllImport(GL_DLL, EntryPoint = "glGetTexEnviv"), SuppressUnmanagedCodeSecurity]
  1012. public static extern void GetTexEnviv(uint target, uint pname, [In, Out] int[] _params);
  1013. [DllImport(GL_DLL, EntryPoint = "glGetTexGendv"), SuppressUnmanagedCodeSecurity]
  1014. public static extern void GetTexGendv(uint coord, uint pname, [In, Out] double[] _params);
  1015. [DllImport(GL_DLL, EntryPoint = "glGetTexGenfv"), SuppressUnmanagedCodeSecurity]
  1016. public static extern void GetTexGenfv(uint coord, uint pname, [In, Out] float[] _params);
  1017. [DllImport(GL_DLL, EntryPoint = "glGetTexGeniv"), SuppressUnmanagedCodeSecurity]
  1018. public static extern void GetTexGeniv(uint coord, uint pname, [In, Out] int[] _params);
  1019. [DllImport(GL_DLL, EntryPoint = "glGetTexImage"), SuppressUnmanagedCodeSecurity]
  1020. public static extern void GetTexImage(uint target, int level, uint format, uint type, IntPtr pixels);
  1021. [DllImport(GL_DLL, EntryPoint = "glGetTexLevelParameterfv"), SuppressUnmanagedCodeSecurity]
  1022. public static extern void GetTexLevelParameterfv(uint target, int level, uint pname, [In, Out] float[] _params);
  1023. [DllImport(GL_DLL, EntryPoint = "glGetTexLevelParameteriv"), SuppressUnmanagedCodeSecurity]
  1024. public static extern void GetTexLevelParameteriv(uint target, int level, uint pname, [In, Out] int[] _params);
  1025. [DllImport(GL_DLL, EntryPoint = "glGetTexParameterfv"), SuppressUnmanagedCodeSecurity]
  1026. public static extern void GetTexParameterfv(uint target, uint pname, [In, Out] float[] _params);
  1027. [DllImport(GL_DLL, EntryPoint = "glGetTexParameteriv"), SuppressUnmanagedCodeSecurity]
  1028. public static extern void GetTexParameteriv(uint target, uint pname, [In, Out] int[] _params);
  1029. [DllImport(GL_DLL, EntryPoint = "glHint"), SuppressUnmanagedCodeSecurity]
  1030. public static extern void Hint(uint target, uint mode);
  1031. [DllImport(GL_DLL, EntryPoint = "glIndexMask"), SuppressUnmanagedCodeSecurity]
  1032. public static extern void IndexMask(uint mask);
  1033. [DllImport(GL_DLL, EntryPoint = "glIndexPointer"), SuppressUnmanagedCodeSecurity]
  1034. public static extern void IndexPointer(uint type, int stride, IntPtr pointer);
  1035. [DllImport(GL_DLL, EntryPoint = "glIndexd"), SuppressUnmanagedCodeSecurity]
  1036. public static extern void Indexd(double c);
  1037. [DllImport(GL_DLL, EntryPoint = "glIndexdv"), SuppressUnmanagedCodeSecurity]
  1038. public static extern void Indexdv([In] double[] c);
  1039. [DllImport(GL_DLL, EntryPoint = "glIndexf"), SuppressUnmanagedCodeSecurity]
  1040. public static extern void Indexf(float c);
  1041. [DllImport(GL_DLL, EntryPoint = "glIndexfv"), SuppressUnmanagedCodeSecurity]
  1042. public static extern void Indexfv([In] float[] c);
  1043. [DllImport(GL_DLL, EntryPoint = "glIndexi"), SuppressUnmanagedCodeSecurity]
  1044. public static extern void Indexi(int c);
  1045. [DllImport(GL_DLL, EntryPoint = "glIndexiv"), SuppressUnmanagedCodeSecurity]
  1046. public static extern void Indexiv([In] int[] c);
  1047. [DllImport(GL_DLL, EntryPoint = "glIndexs"), SuppressUnmanagedCodeSecurity]
  1048. public static extern void Indexs(short c);
  1049. [DllImport(GL_DLL, EntryPoint = "glIndexsv"), SuppressUnmanagedCodeSecurity]
  1050. public static extern void Indexsv([In] short[] c);
  1051. [DllImport(GL_DLL, EntryPoint = "glIndexub"), SuppressUnmanagedCodeSecurity]
  1052. public static extern void Indexub(byte c);
  1053. [DllImport(GL_DLL, EntryPoint = "glIndexubv"), SuppressUnmanagedCodeSecurity]
  1054. public static extern void Indexubv([In] byte[] c);
  1055. [DllImport(GL_DLL, EntryPoint = "glInitNames"), SuppressUnmanagedCodeSecurity]
  1056. public static extern void InitNames();
  1057. [DllImport(GL_DLL, EntryPoint = "glInterleavedArrays"), SuppressUnmanagedCodeSecurity]
  1058. public static extern void InterleavedArrays(uint format, int stride, IntPtr pointer);
  1059. [DllImport(GL_DLL, EntryPoint = "glIsEnabled"), SuppressUnmanagedCodeSecurity]
  1060. public static extern byte IsEnabled(uint cap);
  1061. [DllImport(GL_DLL, EntryPoint = "glIsList"), SuppressUnmanagedCodeSecurity]
  1062. public static extern byte IsList(uint list);
  1063. [DllImport(GL_DLL, EntryPoint = "glIsTexture"), SuppressUnmanagedCodeSecurity]
  1064. public static extern byte IsTexture(uint texture);
  1065. [DllImport(GL_DLL, EntryPoint = "glLightModelf"), SuppressUnmanagedCodeSecurity]
  1066. public static extern void LightModelf(uint pname, float param);
  1067. [DllImport(GL_DLL, EntryPoint = "glLightModelfv"), SuppressUnmanagedCodeSecurity]
  1068. public static extern void LightModelfv(uint pname, [In] float[] _params);
  1069. [DllImport(GL_DLL, EntryPoint = "glLightModeli"), SuppressUnmanagedCodeSecurity]
  1070. public static extern void LightModeli(uint pname, int param);
  1071. [DllImport(GL_DLL, EntryPoint = "glLightModeliv"), SuppressUnmanagedCodeSecurity]
  1072. public static extern void LightModeliv(uint pname, [In] int[] _params);
  1073. [DllImport(GL_DLL, EntryPoint = "glLightf"), SuppressUnmanagedCodeSecurity]
  1074. public static extern void Lightf(uint light, uint pname, float param);
  1075. [DllImport(GL_DLL, EntryPoint = "glLightfv"), SuppressUnmanagedCodeSecurity]
  1076. public static extern void Lightfv(uint light, uint pname, [In] float[] _params);
  1077. [DllImport(GL_DLL, EntryPoint = "glLighti"), SuppressUnmanagedCodeSecurity]
  1078. public static extern void Lighti(uint light, uint pname, int param);
  1079. [DllImport(GL_DLL, EntryPoint = "glLightiv"), SuppressUnmanagedCodeSecurity]
  1080. public static extern void Lightiv(uint light, uint pname, [In] int[] _params);
  1081. [DllImport(GL_DLL, EntryPoint = "glLineStipple"), SuppressUnmanagedCodeSecurity]
  1082. public static extern void LineStipple(int factor, ushort pattern);
  1083. [DllImport(GL_DLL, EntryPoint = "glLineWidth"), SuppressUnmanagedCodeSecurity]
  1084. public static extern void LineWidth(float width);
  1085. [DllImport(GL_DLL, EntryPoint = "glListBase"), SuppressUnmanagedCodeSecurity]
  1086. public static extern void ListBase(uint _base);
  1087. [DllImport(GL_DLL, EntryPoint = "glLoadIdentity"), SuppressUnmanagedCodeSecurity]
  1088. public static extern void LoadIdentity();
  1089. [DllImport(GL_DLL, EntryPoint = "glLoadMatrixd"), SuppressUnmanagedCodeSecurity]
  1090. public static extern void LoadMatrixd([In] double[] m);
  1091. [DllImport(GL_DLL, EntryPoint = "glLoadMatrixf"), SuppressUnmanagedCodeSecurity]
  1092. public static extern void LoadMatrixf([In] float[] m);
  1093. [DllImport(GL_DLL, EntryPoint = "glLoadName"), SuppressUnmanagedCodeSecurity]
  1094. public static extern void LoadName(uint name);
  1095. [DllImport(GL_DLL, EntryPoint = "glLogicOp"), SuppressUnmanagedCodeSecurity]
  1096. public static extern void LogicOp(uint opcode);
  1097. [DllImport(GL_DLL, EntryPoint = "glMap1d"), SuppressUnmanagedCodeSecurity]
  1098. public static extern void Map1d(uint target, double u1, double u2, int stride, int order, [In] double[] points);
  1099. [DllImport(GL_DLL, EntryPoint = "glMap1f"), SuppressUnmanagedCodeSecurity]
  1100. public static extern void Map1f(uint target, float u1, float u2, int stride, int order, [In] float[] points);
  1101. [DllImport(GL_DLL, EntryPoint = "glMap2d"), SuppressUnmanagedCodeSecurity]
  1102. public static extern void Map2d(uint target, double u1, double u2, int ustride, int uorder, double v1, double v2, int vstride, int vorder, [In] double[] points);
  1103. [DllImport(GL_DLL, EntryPoint = "glMap2f"), SuppressUnmanagedCodeSecurity]
  1104. public static extern void Map2f(uint target, float u1, float u2, int ustride, int uorder, float v1, float v2, int vstride, int vorder, [In] float[] points);
  1105. [DllImport(GL_DLL, EntryPoint = "glMapGrid1d"), SuppressUnmanagedCodeSecurity]
  1106. public static extern void MapGrid1d(int un, double u1, double u2);
  1107. [DllImport(GL_DLL, EntryPoint = "glMapGrid1f"), SuppressUnmanagedCodeSecurity]
  1108. public static extern void MapGrid1f(int un, float u1, float u2);
  1109. [DllImport(GL_DLL, EntryPoint = "glMapGrid2d"), SuppressUnmanagedCodeSecurity]
  1110. public static extern void MapGrid2d(int un, double u1, double u2, int vn, double v1, double v2);
  1111. [DllImport(GL_DLL, EntryPoint = "glMapGrid2f"), SuppressUnmanagedCodeSecurity]
  1112. public static extern void MapGrid2f(int un, float u1, float u2, int vn, float v1, float v2);
  1113. [DllImport(GL_DLL, EntryPoint = "glMaterialf"), SuppressUnmanagedCodeSecurity]
  1114. public static extern void Materialf(uint face, uint pname, float param);
  1115. [DllImport(GL_DLL, EntryPoint = "glMaterialfv"), SuppressUnmanagedCodeSecurity]
  1116. public static extern void Materialfv(uint face, uint pname, [In] float[] _params);
  1117. [DllImport(GL_DLL, EntryPoint = "glMateriali"), SuppressUnmanagedCodeSecurity]
  1118. public static extern void Materiali(uint face, uint pname, int param);
  1119. [DllImport(GL_DLL, EntryPoint = "glMaterialiv"), SuppressUnmanagedCodeSecurity]
  1120. public static extern void Materialiv(uint face, uint pname, [In] int[] _params);
  1121. [DllImport(GL_DLL, EntryPoint = "glMatrixMode"), SuppressUnmanagedCodeSecurity]
  1122. public static extern void MatrixMode(uint mode);
  1123. [DllImport(GL_DLL, EntryPoint = "glMultMatrixd"), SuppressUnmanagedCodeSecurity]
  1124. public static extern void MultMatrixd([In] double[] m);
  1125. [DllImport(GL_DLL, EntryPoint = "glMultMatrixf"), SuppressUnmanagedCodeSecurity]
  1126. public static extern void MultMatrixf([In] float[] m);
  1127. [DllImport(GL_DLL, EntryPoint = "glNewList"), SuppressUnmanagedCodeSecurity]
  1128. public static extern void NewList(uint list, uint mode);
  1129. [DllImport(GL_DLL, EntryPoint = "glNormal3b"), SuppressUnmanagedCodeSecurity]
  1130. public static extern void Normal3b(sbyte nx, sbyte ny, sbyte nz);
  1131. [DllImport(GL_DLL, EntryPoint = "glNormal3bv"), SuppressUnmanagedCodeSecurity]
  1132. public static extern void Normal3bv(string v);
  1133. [DllImport(GL_DLL, EntryPoint = "glNormal3d"), SuppressUnmanagedCodeSecurity]
  1134. public static extern void Normal3d(double nx, double ny, double nz);
  1135. [DllImport(GL_DLL, EntryPoint = "glNormal3dv"), SuppressUnmanagedCodeSecurity]
  1136. public static extern void Normal3dv([In] double[] v);
  1137. [DllImport(GL_DLL, EntryPoint = "glNormal3f"), SuppressUnmanagedCodeSecurity]
  1138. public static extern void Normal3f(float nx, float ny, float nz);
  1139. [DllImport(GL_DLL, EntryPoint = "glNormal3fv"), SuppressUnmanagedCodeSecurity]
  1140. public static extern void Normal3fv([In] float[] v);
  1141. [DllImport(GL_DLL, EntryPoint = "glNormal3i"), SuppressUnmanagedCodeSecurity]
  1142. public static extern void Normal3i(int nx, int ny, int nz);
  1143. [DllImport(GL_DLL, EntryPoint = "glNormal3iv"), SuppressUnmanagedCodeSecurity]
  1144. public static extern void Normal3iv([In] int[] v);
  1145. [DllImport(GL_DLL, EntryPoint = "glNormal3s"), SuppressUnmanagedCodeSecurity]
  1146. public static extern void Normal3s(short nx, short ny, short nz);
  1147. [DllImport(GL_DLL, EntryPoint = "glNormal3sv"), SuppressUnmanagedCodeSecurity]
  1148. public static extern void Normal3sv([In] short[] v);
  1149. [DllImport(GL_DLL, EntryPoint = "glNormalPointer"), SuppressUnmanagedCodeSecurity]
  1150. public static extern void NormalPointer(uint type, int stride, IntPtr pointer);
  1151. [DllImport(GL_DLL, EntryPoint = "glOrtho"), SuppressUnmanagedCodeSecurity]
  1152. public static extern void Ortho(double left, double right, double bottom, double top, double zNear, double zFar);
  1153. [DllImport(GL_DLL, EntryPoint = "glPassThrough"), SuppressUnmanagedCodeSecurity]
  1154. public static extern void PassThrough(float token);
  1155. [DllImport(GL_DLL, EntryPoint = "glPixelMapfv"), SuppressUnmanagedCodeSecurity]
  1156. public static extern void PixelMapfv(uint map, int mapsize, [In] float[] values);
  1157. [DllImport(GL_DLL, EntryPoint = "glPixelMapuiv"), SuppressUnmanagedCodeSecurity]
  1158. public static extern void PixelMapuiv(uint map, int mapsize, [In] uint[] values);
  1159. [DllImport(GL_DLL, EntryPoint = "glPixelMapusv"), SuppressUnmanagedCodeSecurity]
  1160. public static extern void PixelMapusv(uint map, int mapsize, [In] ushort[] values);
  1161. [DllImport(GL_DLL, EntryPoint = "glPixelStoref"), SuppressUnmanagedCodeSecurity]
  1162. public static extern void PixelStoref(uint pname, float param);
  1163. [DllImport(GL_DLL, EntryPoint = "glPixelStorei"), SuppressUnmanagedCodeSecurity]
  1164. public static extern void PixelStorei(uint pname, int param);
  1165. [DllImport(GL_DLL, EntryPoint = "glPixelTransferf"), SuppressUnmanagedCodeSecurity]
  1166. public static extern void PixelTransferf(uint pname, float param);
  1167. [DllImport(GL_DLL, EntryPoint = "glPixelTransferi"), SuppressUnmanagedCodeSecurity]
  1168. public static extern void PixelTransferi(uint pname, int param);
  1169. [DllImport(GL_DLL, EntryPoint = "glPixelZoom"), SuppressUnmanagedCodeSecurity]
  1170. public static extern void PixelZoom(float xfactor, float yfactor);
  1171. [DllImport(GL_DLL, EntryPoint = "glPointSize"), SuppressUnmanagedCodeSecurity]
  1172. public static extern void PointSize(float size);
  1173. [DllImport(GL_DLL, EntryPoint = "glPolygonMode"), SuppressUnmanagedCodeSecurity]
  1174. public static extern void PolygonMode(uint face, uint mode);
  1175. [DllImport(GL_DLL, EntryPoint = "glPolygonOffset"), SuppressUnmanagedCodeSecurity]
  1176. public static extern void PolygonOffset(float factor, float units);
  1177. [DllImport(GL_DLL, EntryPoint = "glPolygonStipple"), SuppressUnmanagedCodeSecurity]
  1178. public static extern void PolygonStipple([In] byte[] mask);
  1179. [DllImport(GL_DLL, EntryPoint = "glPopAttrib"), SuppressUnmanagedCodeSecurity]
  1180. public static extern void PopAttrib();
  1181. [DllImport(GL_DLL, EntryPoint = "glPopClientAttrib"), SuppressUnmanagedCodeSecurity]
  1182. public static extern void PopClientAttrib();
  1183. [DllImport(GL_DLL, EntryPoint = "glPopMatrix"), SuppressUnmanagedCodeSecurity]
  1184. public static extern void PopMatrix();
  1185. [DllImport(GL_DLL, EntryPoint = "glPopName"), SuppressUnmanagedCodeSecurity]
  1186. public static extern void PopName();
  1187. [DllImport(GL_DLL, EntryPoint = "glPrioritizeTextures"), SuppressUnmanagedCodeSecurity]
  1188. public static extern void PrioritizeTextures(int n, [In] uint[] textures, [In] float[] priorities);
  1189. [DllImport(GL_DLL, EntryPoint = "glPushAttrib"), SuppressUnmanagedCodeSecurity]
  1190. public static extern void PushAttrib(uint mask);
  1191. [DllImport(GL_DLL, EntryPoint = "glPushClientAttrib"), SuppressUnmanagedCodeSecurity]
  1192. public static extern void PushClientAttrib(uint mask);
  1193. [DllImport(GL_DLL, EntryPoint = "glPushMatrix"), SuppressUnmanagedCodeSecurity]
  1194. public static extern void PushMatrix();
  1195. [DllImport(GL_DLL, EntryPoint = "glPushName"), SuppressUnmanagedCodeSecurity]
  1196. public static extern void PushName(uint name);
  1197. [DllImport(GL_DLL, EntryPoint = "glRasterPos2d"), SuppressUnmanagedCodeSecurity]
  1198. public static extern void RasterPos2d(double x, double y);
  1199. [DllImport(GL_DLL, EntryPoint = "glRasterPos2dv"), SuppressUnmanagedCodeSecurity]
  1200. public static extern void RasterPos2dv([In] double[] v);
  1201. [DllImport(GL_DLL, EntryPoint = "glRasterPos2f"), SuppressUnmanagedCodeSecurity]
  1202. public static extern void RasterPos2f(float x, float y);
  1203. [DllImport(GL_DLL, EntryPoint = "glRasterPos2fv"), SuppressUnmanagedCodeSecurity]
  1204. public static extern void RasterPos2fv([In] float[] v);
  1205. [DllImport(GL_DLL, EntryPoint = "glRasterPos2i"), SuppressUnmanagedCodeSecurity]
  1206. public static extern void RasterPos2i(int x, int y);
  1207. [DllImport(GL_DLL, EntryPoint = "glRasterPos2iv"), SuppressUnmanagedCodeSecurity]
  1208. public static extern void RasterPos2iv([In] int[] v);
  1209. [DllImport(GL_DLL, EntryPoint = "glRasterPos2s"), SuppressUnmanagedCodeSecurity]
  1210. public static extern void RasterPos2s(short x, short y);
  1211. [DllImport(GL_DLL, EntryPoint = "glRasterPos2sv"), SuppressUnmanagedCodeSecurity]
  1212. public static extern void RasterPos2sv([In] short[] v);
  1213. [DllImport(GL_DLL, EntryPoint = "glRasterPos3d"), SuppressUnmanagedCodeSecurity]
  1214. public static extern void RasterPos3d(double x, double y, double z);
  1215. [DllImport(GL_DLL, EntryPoint = "glRasterPos3dv"), SuppressUnmanagedCodeSecurity]
  1216. public static extern void RasterPos3dv([In] double[] v);
  1217. [DllImport(GL_DLL, EntryPoint = "glRasterPos3f"), SuppressUnmanagedCodeSecurity]
  1218. public static extern void RasterPos3f(float x, float y, float z);
  1219. [DllImport(GL_DLL, EntryPoint = "glRasterPos3fv"), SuppressUnmanagedCodeSecurity]
  1220. public static extern void RasterPos3fv([In] float[] v);
  1221. [DllImport(GL_DLL, EntryPoint = "glRasterPos3i"), SuppressUnmanagedCodeSecurity]
  1222. public static extern void RasterPos3i(int x, int y, int z);
  1223. [DllImport(GL_DLL, EntryPoint = "glRasterPos3iv"), SuppressUnmanagedCodeSecurity]
  1224. public static extern void RasterPos3iv([In] int[] v);
  1225. [DllImport(GL_DLL, EntryPoint = "glRasterPos3s"), SuppressUnmanagedCodeSecurity]
  1226. public static extern void RasterPos3s(short x, short y, short z);
  1227. [DllImport(GL_DLL, EntryPoint = "glRasterPos3sv"), SuppressUnmanagedCodeSecurity]
  1228. public static extern void RasterPos3sv([In] short[] v);
  1229. [DllImport(GL_DLL, EntryPoint = "glRasterPos4d"), SuppressUnmanagedCodeSecurity]
  1230. public static extern void RasterPos4d(double x, double y, double z, double w);
  1231. [DllImport(GL_DLL, EntryPoint = "glRasterPos4dv"), SuppressUnmanagedCodeSecurity]
  1232. public static extern void RasterPos4dv([In] double[] v);
  1233. [DllImport(GL_DLL, EntryPoint = "glRasterPos4f"), SuppressUnmanagedCodeSecurity]
  1234. public static extern void RasterPos4f(float x, float y, float z, float w);
  1235. [DllImport(GL_DLL, EntryPoint = "glRasterPos4fv"), SuppressUnmanagedCodeSecurity]
  1236. public static extern void RasterPos4fv([In] float[] v);
  1237. [DllImport(GL_DLL, EntryPoint = "glRasterPos4i"), SuppressUnmanagedCodeSecurity]
  1238. public static extern void RasterPos4i(int x, int y, int z, int w);
  1239. [DllImport(GL_DLL, EntryPoint = "glRasterPos4iv"), SuppressUnmanagedCodeSecurity]
  1240. public static extern void RasterPos4iv([In] int[] v);
  1241. [DllImport(GL_DLL, EntryPoint = "glRasterPos4s"), SuppressUnmanagedCodeSecurity]
  1242. public static extern void RasterPos4s(short x, short y, short z, short w);
  1243. [DllImport(GL_DLL, EntryPoint = "glRasterPos4sv"), SuppressUnmanagedCodeSecurity]
  1244. public static extern void RasterPos4sv([In] short[] v);
  1245. [DllImport(GL_DLL, EntryPoint = "glReadBuffer"), SuppressUnmanagedCodeSecurity]
  1246. public static extern void ReadBuffer(uint mode);
  1247. [DllImport(GL_DLL, EntryPoint = "glReadPixels"), SuppressUnmanagedCodeSecurity]
  1248. public static extern void ReadPixels(int x, int y, int width, int height, uint format, uint type, IntPtr pixels);
  1249. [DllImport(GL_DLL, EntryPoint = "glRectd"), SuppressUnmanagedCodeSecurity]
  1250. public static extern void Rectd(double x1, double y1, double x2, double y2);
  1251. [DllImport(GL_DLL, EntryPoint = "glRectdv"), SuppressUnmanagedCodeSecurity]
  1252. public static extern void Rectdv([In] double[] v1, [In] double[] v2);
  1253. [DllImport(GL_DLL, EntryPoint = "glRectf"), SuppressUnmanagedCodeSecurity]
  1254. public static extern void Rectf(float x1, float y1, float x2, float y2);
  1255. [DllImport(GL_DLL, EntryPoint = "glRectfv"), SuppressUnmanagedCodeSecurity]
  1256. public static extern void Rectfv([In] float[] v1, [In] float[] v2);
  1257. [DllImport(GL_DLL, EntryPoint = "glRecti"), SuppressUnmanagedCodeSecurity]
  1258. public static extern void Recti(int x1, int y1, int x2, int y2);
  1259. [DllImport(GL_DLL, EntryPoint = "glRectiv"), SuppressUnmanagedCodeSecurity]
  1260. public static extern void Rectiv([In] int[] v1, [In] int[] v2);
  1261. [DllImport(GL_DLL, EntryPoint = "glRects"), SuppressUnmanagedCodeSecurity]
  1262. public static extern void Rects(short x1, short y1, short x2, short y2);
  1263. [DllImport(GL_DLL, EntryPoint = "glRectsv"), SuppressUnmanagedCodeSecurity]
  1264. public static extern void Rectsv([In] short[] v1, [In] short[] v2);
  1265. [DllImport(GL_DLL, EntryPoint = "glRenderMode"), SuppressUnmanagedCodeSecurity]
  1266. public static extern int RenderMode(uint mode);
  1267. [DllImport(GL_DLL, EntryPoint = "glRotated"), SuppressUnmanagedCodeSecurity]
  1268. public static extern void Rotated(double angle, double x, double y, double z);
  1269. [DllImport(GL_DLL, EntryPoint = "glRotatef"), SuppressUnmanagedCodeSecurity]
  1270. public static extern void Rotatef(float angle, float x, float y, float z);
  1271. [DllImport(GL_DLL, EntryPoint = "glScaled"), SuppressUnmanagedCodeSecurity]
  1272. public static extern void Scaled(double x, double y, double z);
  1273. [DllImport(GL_DLL, EntryPoint = "glScalef"), SuppressUnmanagedCodeSecurity]
  1274. public static extern void Scalef(float x, float y, float z);
  1275. [DllImport(GL_DLL, EntryPoint = "glScissor"), SuppressUnmanagedCodeSecurity]
  1276. public static extern void Scissor(int x, int y, int width, int height);
  1277. [DllImport(GL_DLL, EntryPoint = "glSelectBuffer"), SuppressUnmanagedCodeSecurity]
  1278. public static extern void SelectBuffer(int size, [In, Out] uint[] buffer);
  1279. [DllImport(GL_DLL, EntryPoint = "glShadeModel"), SuppressUnmanagedCodeSecurity]
  1280. public static extern void ShadeModel(uint mode);
  1281. [DllImport(GL_DLL, EntryPoint = "glStencilFunc"), SuppressUnmanagedCodeSecurity]
  1282. public static extern void StencilFunc(uint func, int _ref, uint mask);
  1283. [DllImport(GL_DLL, EntryPoint = "glStencilMask"), SuppressUnmanagedCodeSecurity]
  1284. public static extern void StencilMask(uint mask);
  1285. [DllImport(GL_DLL, EntryPoint = "glStencilOp"), SuppressUnmanagedCodeSecurity]
  1286. public static extern void StencilOp(uint fail, uint zfail, uint zpass);
  1287. [DllImport(GL_DLL, EntryPoint = "glTexCoord1d"), SuppressUnmanagedCodeSecurity]
  1288. public static extern void TexCoord1d(double s);
  1289. [DllImport(GL_DLL, EntryPoint = "glTexCoord1dv"), SuppressUnmanagedCodeSecurity]
  1290. public static extern void TexCoord1dv([In] double[] v);
  1291. [DllImport(GL_DLL, EntryPoint = "glTexCoord1f"), SuppressUnmanagedCodeSecurity]
  1292. public static extern void TexCoord1f(float s);
  1293. [DllImport(GL_DLL, EntryPoint = "glTexCoord1fv"), SuppressUnmanagedCodeSecurity]
  1294. public static extern void TexCoord1fv([In] float[] v);
  1295. [DllImport(GL_DLL, EntryPoint = "glTexCoord1i"), SuppressUnmanagedCodeSecurity]
  1296. public static extern void TexCoord1i(int s);
  1297. [DllImport(GL_DLL, EntryPoint = "glTexCoord1iv"), SuppressUnmanagedCodeSecurity]
  1298. public static extern void TexCoord1iv([In] int[] v);
  1299. [DllImport(GL_DLL, EntryPoint = "glTexCoord1s"), SuppressUnmanagedCodeSecurity]
  1300. public static extern void TexCoord1s(short s);
  1301. [DllImport(GL_DLL, EntryPoint = "glTexCoord1sv"), SuppressUnmanagedCodeSecurity]
  1302. public static extern void TexCoord1sv([In] short[] v);
  1303. [DllImport(GL_DLL, EntryPoint = "glTexCoord2d"), SuppressUnmanagedCodeSecurity]
  1304. public static extern void TexCoord2d(double s, double t);
  1305. [DllImport(GL_DLL, EntryPoint = "glTexCoord2dv"), SuppressUnmanagedCodeSecurity]
  1306. public static extern void TexCoord2dv([In] double[] v);
  1307. [DllImport(GL_DLL, EntryPoint = "glTexCoord2f"), SuppressUnmanagedCodeSecurity]
  1308. public static extern void TexCoord2f(float s, float t);
  1309. [DllImport(GL_DLL, EntryPoint = "glTexCoord2fv"), SuppressUnmanagedCodeSecurity]
  1310. public static extern void TexCoord2fv([In] float[] v);
  1311. [DllImport(GL_DLL, EntryPoint = "glTexCoord2i"), SuppressUnmanagedCodeSecurity]
  1312. public static extern void TexCoord2i(int s, int t);
  1313. [DllImport(GL_DLL, EntryPoint = "glTexCoord2iv"), SuppressUnmanagedCodeSecurity]
  1314. public static extern void TexCoord2iv([In] int[] v);
  1315. [DllImport(GL_DLL, EntryPoint = "glTexCoord2s"), SuppressUnmanagedCodeSecurity]
  1316. public static extern void TexCoord2s(short s, short t);
  1317. [DllImport(GL_DLL, EntryPoint = "glTexCoord2sv"), SuppressUnmanagedCodeSecurity]
  1318. public static extern void TexCoord2sv([In] short[] v);
  1319. [DllImport(GL_DLL, EntryPoint = "glTexCoord3d"), SuppressUnmanagedCodeSecurity]
  1320. public static extern void TexCoord3d(double s, double t, double r);
  1321. [DllImport(GL_DLL, EntryPoint = "glTexCoord3dv"), SuppressUnmanagedCodeSecurity]
  1322. public static extern void TexCoord3dv([In] double[] v);
  1323. [DllImport(GL_DLL, EntryPoint = "glTexCoord3f"), SuppressUnmanagedCodeSecurity]
  1324. public static extern void TexCoord3f(float s, float t, float r);
  1325. [DllImport(GL_DLL, EntryPoint = "glTexCoord3fv"), SuppressUnmanagedCodeSecurity]
  1326. public static extern void TexCoord3fv([In] float[] v);
  1327. [DllImport(GL_DLL, EntryPoint = "glTexCoord3i"), SuppressUnmanagedCodeSecurity]
  1328. public static extern void TexCoord3i(int s, int t, int r);
  1329. [DllImport(GL_DLL, EntryPoint = "glTexCoord3iv"), SuppressUnmanagedCodeSecurity]
  1330. public static extern void TexCoord3iv([In] int[] v);
  1331. [DllImport(GL_DLL, EntryPoint = "glTexCoord3s"), SuppressUnmanagedCodeSecurity]
  1332. public static extern void TexCoord3s(short s, short t, short r);
  1333. [DllImport(GL_DLL, EntryPoint = "glTexCoord3sv"), SuppressUnmanagedCodeSecurity]
  1334. public static extern void TexCoord3sv([In] short[] v);
  1335. [DllImport(GL_DLL, EntryPoint = "glTexCoord4d"), SuppressUnmanagedCodeSecurity]
  1336. public static extern void TexCoord4d(double s, double t, double r, double q);
  1337. [DllImport(GL_DLL, EntryPoint = "glTexCoord4dv"), SuppressUnmanagedCodeSecurity]
  1338. public static extern void TexCoord4dv([In] double[] v);
  1339. [DllImport(GL_DLL, EntryPoint = "glTexCoord4f"), SuppressUnmanagedCodeSecurity]
  1340. public static extern void TexCoord4f(float s, float t, float r, float q);
  1341. [DllImport(GL_DLL, EntryPoint = "glTexCoord4fv"), SuppressUnmanagedCodeSecurity]
  1342. public static extern void TexCoord4fv([In] float[] v);
  1343. [DllImport(GL_DLL, EntryPoint = "glTexCoord4i"), SuppressUnmanagedCodeSecurity]
  1344. public static extern void TexCoord4i(int s, int t, int r, int q);
  1345. [DllImport(GL_DLL, EntryPoint = "glTexCoord4iv"), SuppressUnmanagedCodeSecurity]
  1346. public static extern void TexCoord4iv([In] int[] v);
  1347. [DllImport(GL_DLL, EntryPoint = "glTexCoord4s"), SuppressUnmanagedCodeSecurity]
  1348. public static extern void TexCoord4s(short s, short t, short r, short q);
  1349. [DllImport(GL_DLL, EntryPoint = "glTexCoord4sv"), SuppressUnmanagedCodeSecurity]
  1350. public static extern void TexCoord4sv([In] short[] v);
  1351. [DllImport(GL_DLL, EntryPoint = "glTexCoordPointer"), SuppressUnmanagedCodeSecurity]
  1352. public static extern void TexCoordPointer(int size, uint type, int stride, IntPtr pointer);
  1353. [DllImport(GL_DLL, EntryPoint = "glTexEnvf"), SuppressUnmanagedCodeSecurity]
  1354. public static extern void TexEnvf(uint target, uint pname, float param);
  1355. [DllImport(GL_DLL, EntryPoint = "glTexEnvfv"), SuppressUnmanagedCodeSecurity]
  1356. public static extern void TexEnvfv(uint target, uint pname, [In] float[] _params);
  1357. [DllImport(GL_DLL, EntryPoint = "glTexEnvi"), SuppressUnmanagedCodeSecurity]
  1358. public static extern void TexEnvi(uint target, uint pname, int param);
  1359. [DllImport(GL_DLL, EntryPoint = "glTexEnviv"), SuppressUnmanagedCodeSecurity]
  1360. public static extern void TexEnviv(uint target, uint pname, [In] int[] _params);
  1361. [DllImport(GL_DLL, EntryPoint = "glTexGend"), SuppressUnmanagedCodeSecurity]
  1362. public static extern void TexGend(uint coord, uint pname, double param);
  1363. [DllImport(GL_DLL, EntryPoint = "glTexGendv"), SuppressUnmanagedCodeSecurity]
  1364. public static extern void TexGendv(uint coord, uint pname, [In] double[] _params);
  1365. [DllImport(GL_DLL, EntryPoint = "glTexGenf"), SuppressUnmanagedCodeSecurity]
  1366. public static extern void TexGenf(uint coord, uint pname, float param);
  1367. [DllImport(GL_DLL, EntryPoint = "glTexGenfv"), SuppressUnmanagedCodeSecurity]
  1368. public static extern void TexGenfv(uint coord, uint pname, [In] float[] _params);
  1369. [DllImport(GL_DLL, EntryPoint = "glTexGeni"), SuppressUnmanagedCodeSecurity]
  1370. public static extern void TexGeni(uint coord, uint pname, int param);
  1371. [DllImport(GL_DLL, EntryPoint = "glTexGeniv"), SuppressUnmanagedCodeSecurity]
  1372. public static extern void TexGeniv(uint coord, uint pname, [In] int[] _params);
  1373. [DllImport(GL_DLL, EntryPoint = "glTexImage1D"), SuppressUnmanagedCodeSecurity]
  1374. public static extern void TexImage1D(uint target, int level, int internalformat, int width, int border, uint format, uint type, IntPtr pixels);
  1375. [DllImport(GL_DLL, EntryPoint = "glTexImage2D"), SuppressUnmanagedCodeSecurity]
  1376. public static extern void TexImage2D(uint target, int level, int internalformat, int width, int height, int border, uint format, uint type, IntPtr pixels);
  1377. [DllImport(GL_DLL, EntryPoint = "glTexParameterf"), SuppressUnmanagedCodeSecurity]
  1378. public static extern void TexParameterf(uint target, uint pname, float param);
  1379. [DllImport(GL_DLL, EntryPoint = "glTexParameterfv"), SuppressUnmanagedCodeSecurity]
  1380. public static extern void TexParameterfv(uint target, uint pname, [In] float[] _params);
  1381. [DllImport(GL_DLL, EntryPoint = "glTexParameteri"), SuppressUnmanagedCodeSecurity]
  1382. public static extern void TexParameteri(uint target, uint pname, int param);
  1383. [DllImport(GL_DLL, EntryPoint = "glTexParameteriv"), SuppressUnmanagedCodeSecurity]
  1384. public static extern void TexParameteriv(uint target, uint pname, [In] int[] _params);
  1385. [DllImport(GL_DLL, EntryPoint = "glTexSubImage1D"), SuppressUnmanagedCodeSecurity]
  1386. public static extern void TexSubImage1D(uint target, int level, int xoffset, int width, uint format, uint type, IntPtr pixels);
  1387. [DllImport(GL_DLL, EntryPoint = "glTexSubImage2D"), SuppressUnmanagedCodeSecurity]
  1388. public static extern void TexSubImage2D(uint target, int level, int xoffset, int yoffset, int width, int height, uint format, uint type, IntPtr pixels);
  1389. [DllImport(GL_DLL, EntryPoint = "glTranslated"), SuppressUnmanagedCodeSecurity]
  1390. public static extern void Translated(double x, double y, double z);
  1391. [DllImport(GL_DLL, EntryPoint = "glTranslatef"), SuppressUnmanagedCodeSecurity]
  1392. public static extern void Translatef(float x, float y, float z);
  1393. [DllImport(GL_DLL, EntryPoint = "glVertex2d"), SuppressUnmanagedCodeSecurity]
  1394. public static extern void Vertex2d(double x, double y);
  1395. [DllImport(GL_DLL, EntryPoint = "glVertex2dv"), SuppressUnmanagedCodeSecurity]
  1396. public static extern void Vertex2dv([In] double[] v);
  1397. [DllImport(GL_DLL, EntryPoint = "glVertex2f"), SuppressUnmanagedCodeSecurity]
  1398. public static extern void Vertex2f(float x, float y);
  1399. [DllImport(GL_DLL, EntryPoint = "glVertex2fv"), SuppressUnmanagedCodeSecurity]
  1400. public static extern void Vertex2fv([In] float[] v);
  1401. [DllImport(GL_DLL, EntryPoint = "glVertex2i"), SuppressUnmanagedCodeSecurity]
  1402. public static extern void Vertex2i(int x, int y);
  1403. [DllImport(GL_DLL, EntryPoint = "glVertex2iv"), SuppressUnmanagedCodeSecurity]
  1404. public static extern void Vertex2iv([In] int[] v);
  1405. [DllImport(GL_DLL, EntryPoint = "glVertex2s"), SuppressUnmanagedCodeSecurity]
  1406. public static extern void Vertex2s(short x, short y);
  1407. [DllImport(GL_DLL, EntryPoint = "glVertex2sv"), SuppressUnmanagedCodeSecurity]
  1408. public static extern void Vertex2sv([In] short[] v);
  1409. [DllImport(GL_DLL, EntryPoint = "glVertex3d"), SuppressUnmanagedCodeSecurity]
  1410. public static extern void Vertex3d(double x, double y, double z);
  1411. [DllImport(GL_DLL, EntryPoint = "glVertex3dv"), SuppressUnmanagedCodeSecurity]
  1412. public static extern void Vertex3dv([In] double[] v);
  1413. [DllImport(GL_DLL, EntryPoint = "glVertex3f"), SuppressUnmanagedCodeSecurity]
  1414. public static extern void Vertex3f(float x, float y, float z);
  1415. [DllImport(GL_DLL, EntryPoint = "glVertex3fv"), SuppressUnmanagedCodeSecurity]
  1416. public static extern void Vertex3fv([In] float[] v);
  1417. [DllImport(GL_DLL, EntryPoint = "glVertex3i"), SuppressUnmanagedCodeSecurity]
  1418. public static extern void Vertex3i(int x, int y, int z);
  1419. [DllImport(GL_DLL, EntryPoint = "glVertex3iv"), SuppressUnmanagedCodeSecurity]
  1420. public static extern void Vertex3iv([In] int[] v);
  1421. [DllImport(GL_DLL, EntryPoint = "glVertex3s"), SuppressUnmanagedCodeSecurity]
  1422. public static extern void Vertex3s(short x, short y, short z);
  1423. [DllImport(GL_DLL, EntryPoint = "glVertex3sv"), SuppressUnmanagedCodeSecurity]
  1424. public static extern void Vertex3sv([In] short[] v);
  1425. [DllImport(GL_DLL, EntryPoint = "glVertex4d"), SuppressUnmanagedCodeSecurity]
  1426. public static extern void Vertex4d(double x, double y, double z, double w);
  1427. [DllImport(GL_DLL, EntryPoint = "glVertex4dv"), SuppressUnmanagedCodeSecurity]
  1428. public static extern void Vertex4dv([In] double[] v);
  1429. [DllImport(GL_DLL, EntryPoint = "glVertex4f"), SuppressUnmanagedCodeSecurity]
  1430. public static extern void Vertex4f(float x, float y, float z, float w);
  1431. [DllImport(GL_DLL, EntryPoint = "glVertex4fv"), SuppressUnmanagedCodeSecurity]
  1432. public static extern void Vertex4fv([In] float[] v);
  1433. [DllImport(GL_DLL, EntryPoint = "glVertex4i"), SuppressUnmanagedCodeSecurity]
  1434. public static extern void Vertex4i(int x, int y, int z, int w);
  1435. [DllImport(GL_DLL, EntryPoint = "glVertex4iv"), SuppressUnmanagedCodeSecurity]
  1436. public static extern void Vertex4iv([In] int[] v);
  1437. [DllImport(GL_DLL, EntryPoint = "glVertex4s"), SuppressUnmanagedCodeSecurity]
  1438. public static extern void Vertex4s(short x, short y, short z, short w);
  1439. [DllImport(GL_DLL, EntryPoint = "glVertex4sv"), SuppressUnmanagedCodeSecurity]
  1440. public static extern void Vertex4sv([In] short[] v);
  1441. [DllImport(GL_DLL, EntryPoint = "glVertexPointer"), SuppressUnmanagedCodeSecurity]
  1442. public static extern void VertexPointer(int size, uint type, int stride, IntPtr pointer);
  1443. [DllImport(GL_DLL, EntryPoint = "glViewport"), SuppressUnmanagedCodeSecurity]
  1444. public static extern void Viewport(int x, int y, int width, int height);
  1445. }
  1446. }