Enums.cs 64 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057
  1. using System;
  2. namespace Veldrid.OpenGLBinding
  3. {
  4. public enum DrawBufferMode
  5. {
  6. None = 0,
  7. NoneOes = 0,
  8. FrontLeft = 1024,
  9. FrontRight = 1025,
  10. BackLeft = 1026,
  11. BackRight = 1027,
  12. Front = 1028,
  13. Back = 1029,
  14. Left = 1030,
  15. Right = 1031,
  16. FrontAndBack = 1032,
  17. Aux0 = 1033,
  18. Aux1 = 1034,
  19. Aux2 = 1035,
  20. Aux3 = 1036,
  21. ColorAttachment0 = 36064,
  22. ColorAttachment1 = 36065,
  23. ColorAttachment2 = 36066,
  24. ColorAttachment3 = 36067,
  25. ColorAttachment4 = 36068,
  26. ColorAttachment5 = 36069,
  27. ColorAttachment6 = 36070,
  28. ColorAttachment7 = 36071,
  29. ColorAttachment8 = 36072,
  30. ColorAttachment9 = 36073,
  31. ColorAttachment10 = 36074,
  32. ColorAttachment11 = 36075,
  33. ColorAttachment12 = 36076,
  34. ColorAttachment13 = 36077,
  35. ColorAttachment14 = 36078,
  36. ColorAttachment15 = 36079
  37. }
  38. [Flags]
  39. public enum ClearBufferMask
  40. {
  41. None = 0,
  42. DepthBufferBit = 256,
  43. AccumBufferBit = 512,
  44. StencilBufferBit = 1024,
  45. ColorBufferBit = 16384,
  46. CoverageBufferBitNv = 32768
  47. }
  48. public enum PrimitiveType
  49. {
  50. Points = 0,
  51. Lines = 1,
  52. LineLoop = 2,
  53. LineStrip = 3,
  54. Triangles = 4,
  55. TriangleStrip = 5,
  56. TriangleFan = 6,
  57. Quads = 7,
  58. QuadsExt = 7,
  59. QuadStrip = 8,
  60. Polygon = 9,
  61. LinesAdjacency = 10,
  62. LinesAdjacencyArb = 10,
  63. LinesAdjacencyExt = 10,
  64. LineStripAdjacency = 11,
  65. LineStripAdjacencyArb = 11,
  66. LineStripAdjacencyExt = 11,
  67. TrianglesAdjacency = 12,
  68. TrianglesAdjacencyArb = 12,
  69. TrianglesAdjacencyExt = 12,
  70. TriangleStripAdjacency = 13,
  71. TriangleStripAdjacencyArb = 13,
  72. TriangleStripAdjacencyExt = 13,
  73. Patches = 14,
  74. PatchesExt = 14
  75. }
  76. public enum DrawElementsType
  77. {
  78. UnsignedByte = 5121,
  79. UnsignedShort = 5123,
  80. UnsignedInt = 5125
  81. }
  82. public enum TextureUnit
  83. {
  84. Texture0 = 33984,
  85. Texture1 = 33985,
  86. Texture2 = 33986,
  87. Texture3 = 33987,
  88. Texture4 = 33988,
  89. Texture5 = 33989,
  90. Texture6 = 33990,
  91. Texture7 = 33991,
  92. Texture8 = 33992,
  93. Texture9 = 33993,
  94. Texture10 = 33994,
  95. Texture11 = 33995,
  96. Texture12 = 33996,
  97. Texture13 = 33997,
  98. Texture14 = 33998,
  99. Texture15 = 33999,
  100. Texture16 = 34000,
  101. Texture17 = 34001,
  102. Texture18 = 34002,
  103. Texture19 = 34003,
  104. Texture20 = 34004,
  105. Texture21 = 34005,
  106. Texture22 = 34006,
  107. Texture23 = 34007,
  108. Texture24 = 34008,
  109. Texture25 = 34009,
  110. Texture26 = 34010,
  111. Texture27 = 34011,
  112. Texture28 = 34012,
  113. Texture29 = 34013,
  114. Texture30 = 34014,
  115. Texture31 = 34015
  116. }
  117. public enum FramebufferTarget
  118. {
  119. ReadFramebuffer = 36008,
  120. DrawFramebuffer = 36009,
  121. Framebuffer = 36160,
  122. FramebufferExt = 36160
  123. }
  124. public enum RenderbufferTarget
  125. {
  126. Renderbuffer = 36161
  127. }
  128. public enum GLFramebufferAttachment
  129. {
  130. FrontLeft = 1024,
  131. FrontRight = 1025,
  132. BackLeft = 1026,
  133. BackRight = 1027,
  134. Aux0 = 1033,
  135. Aux1 = 1034,
  136. Aux2 = 1035,
  137. Aux3 = 1036,
  138. Color = 6144,
  139. Depth = 6145,
  140. Stencil = 6146,
  141. DepthStencilAttachment = 33306,
  142. ColorAttachment0 = 36064,
  143. ColorAttachment0Ext = 36064,
  144. ColorAttachment1 = 36065,
  145. ColorAttachment1Ext = 36065,
  146. ColorAttachment2 = 36066,
  147. ColorAttachment2Ext = 36066,
  148. ColorAttachment3 = 36067,
  149. ColorAttachment3Ext = 36067,
  150. ColorAttachment4 = 36068,
  151. ColorAttachment4Ext = 36068,
  152. ColorAttachment5 = 36069,
  153. ColorAttachment5Ext = 36069,
  154. ColorAttachment6 = 36070,
  155. ColorAttachment6Ext = 36070,
  156. ColorAttachment7 = 36071,
  157. ColorAttachment7Ext = 36071,
  158. ColorAttachment8 = 36072,
  159. ColorAttachment8Ext = 36072,
  160. ColorAttachment9 = 36073,
  161. ColorAttachment9Ext = 36073,
  162. ColorAttachment10 = 36074,
  163. ColorAttachment10Ext = 36074,
  164. ColorAttachment11 = 36075,
  165. ColorAttachment11Ext = 36075,
  166. ColorAttachment12 = 36076,
  167. ColorAttachment12Ext = 36076,
  168. ColorAttachment13 = 36077,
  169. ColorAttachment13Ext = 36077,
  170. ColorAttachment14 = 36078,
  171. ColorAttachment14Ext = 36078,
  172. ColorAttachment15 = 36079,
  173. ColorAttachment15Ext = 36079,
  174. DepthAttachment = 36096,
  175. DepthAttachmentExt = 36096,
  176. StencilAttachment = 36128,
  177. StencilAttachmentExt = 36128
  178. }
  179. public enum TextureTarget
  180. {
  181. Texture1D = 3552,
  182. Texture2D = 3553,
  183. ProxyTexture1D = 32867,
  184. ProxyTexture1DExt = 32867,
  185. ProxyTexture2D = 32868,
  186. ProxyTexture2DExt = 32868,
  187. Texture3D = 32879,
  188. Texture3DExt = 32879,
  189. Texture3DOes = 32879,
  190. ProxyTexture3D = 32880,
  191. ProxyTexture3DExt = 32880,
  192. DetailTexture2DSgis = 32917,
  193. Texture4DSgis = 33076,
  194. ProxyTexture4DSgis = 33077,
  195. TextureMinLod = 33082,
  196. TextureMinLodSgis = 33082,
  197. TextureMaxLod = 33083,
  198. TextureMaxLodSgis = 33083,
  199. TextureBaseLevel = 33084,
  200. TextureBaseLevelSgis = 33084,
  201. TextureMaxLevel = 33085,
  202. TextureMaxLevelSgis = 33085,
  203. TextureRectangle = 34037,
  204. TextureRectangleArb = 34037,
  205. TextureRectangleNv = 34037,
  206. ProxyTextureRectangle = 34039,
  207. TextureCubeMap = 34067,
  208. TextureBindingCubeMap = 34068,
  209. TextureCubeMapPositiveX = 34069,
  210. TextureCubeMapNegativeX = 34070,
  211. TextureCubeMapPositiveY = 34071,
  212. TextureCubeMapNegativeY = 34072,
  213. TextureCubeMapPositiveZ = 34073,
  214. TextureCubeMapNegativeZ = 34074,
  215. ProxyTextureCubeMap = 34075,
  216. Texture1DArray = 35864,
  217. ProxyTexture1DArray = 35865,
  218. Texture2DArray = 35866,
  219. ProxyTexture2DArray = 35867,
  220. TextureBuffer = 35882,
  221. TextureExternalOes = 36197,
  222. TextureCubeMapArray = 36873,
  223. ProxyTextureCubeMapArray = 36875,
  224. Texture2DMultisample = 37120,
  225. ProxyTexture2DMultisample = 37121,
  226. Texture2DMultisampleArray = 37122,
  227. ProxyTexture2DMultisampleArray = 37123
  228. }
  229. public enum DrawBuffersEnum
  230. {
  231. None = 0,
  232. FrontLeft = 1024,
  233. FrontRight = 1025,
  234. BackLeft = 1026,
  235. BackRight = 1027,
  236. Aux0 = 1033,
  237. Aux1 = 1034,
  238. Aux2 = 1035,
  239. Aux3 = 1036,
  240. ColorAttachment0 = 36064,
  241. ColorAttachment1 = 36065,
  242. ColorAttachment2 = 36066,
  243. ColorAttachment3 = 36067,
  244. ColorAttachment4 = 36068,
  245. ColorAttachment5 = 36069,
  246. ColorAttachment6 = 36070,
  247. ColorAttachment7 = 36071,
  248. ColorAttachment8 = 36072,
  249. ColorAttachment9 = 36073,
  250. ColorAttachment10 = 36074,
  251. ColorAttachment11 = 36075,
  252. ColorAttachment12 = 36076,
  253. ColorAttachment13 = 36077,
  254. ColorAttachment14 = 36078,
  255. ColorAttachment15 = 36079
  256. }
  257. public enum FramebufferErrorCode
  258. {
  259. FramebufferUndefined = 33305,
  260. FramebufferComplete = 36053,
  261. FramebufferCompleteExt = 36053,
  262. FramebufferIncompleteAttachment = 36054,
  263. FramebufferIncompleteAttachmentExt = 36054,
  264. FramebufferIncompleteMissingAttachment = 36055,
  265. FramebufferIncompleteMissingAttachmentExt = 36055,
  266. FramebufferIncompleteDimensionsExt = 36057,
  267. FramebufferIncompleteFormatsExt = 36058,
  268. FramebufferIncompleteDrawBuffer = 36059,
  269. FramebufferIncompleteDrawBufferExt = 36059,
  270. FramebufferIncompleteReadBuffer = 36060,
  271. FramebufferIncompleteReadBufferExt = 36060,
  272. FramebufferUnsupported = 36061,
  273. FramebufferUnsupportedExt = 36061,
  274. FramebufferIncompleteMultisample = 36182,
  275. FramebufferIncompleteLayerTargets = 36264,
  276. FramebufferIncompleteLayerCount = 36265
  277. }
  278. public enum BufferTarget
  279. {
  280. ArrayBuffer = 34962,
  281. ElementArrayBuffer = 34963,
  282. PixelPackBuffer = 35051,
  283. PixelUnpackBuffer = 35052,
  284. UniformBuffer = 35345,
  285. TextureBuffer = 35882,
  286. TransformFeedbackBuffer = 35982,
  287. CopyReadBuffer = 36662,
  288. CopyWriteBuffer = 36663,
  289. DrawIndirectBuffer = 36671,
  290. ShaderStorageBuffer = 37074,
  291. DispatchIndirectBuffer = 37102,
  292. QueryBuffer = 37266,
  293. AtomicCounterBuffer = 37568
  294. }
  295. public enum GLPixelFormat
  296. {
  297. UnsignedShort = 5123,
  298. UnsignedInt = 5125,
  299. ColorIndex = 6400,
  300. StencilIndex = 6401,
  301. DepthComponent = 6402,
  302. Red = 6403,
  303. RedExt = 6403,
  304. Green = 6404,
  305. Blue = 6405,
  306. Alpha = 6406,
  307. Rgb = 6407,
  308. Rgba = 6408,
  309. Luminance = 6409,
  310. LuminanceAlpha = 6410,
  311. AbgrExt = 32768,
  312. CmykExt = 32780,
  313. CmykaExt = 32781,
  314. Bgr = 32992,
  315. Bgra = 32993,
  316. Ycrcb422Sgix = 33211,
  317. Ycrcb444Sgix = 33212,
  318. Rg = 33319,
  319. RgInteger = 33320,
  320. R5G6B5IccSgix = 33894,
  321. R5G6B5A8IccSgix = 33895,
  322. Alpha16IccSgix = 33896,
  323. Luminance16IccSgix = 33897,
  324. Luminance16Alpha8IccSgix = 33899,
  325. DepthStencil = 34041,
  326. RedInteger = 36244,
  327. GreenInteger = 36245,
  328. BlueInteger = 36246,
  329. AlphaInteger = 36247,
  330. RgbInteger = 36248,
  331. RgbaInteger = 36249,
  332. BgrInteger = 36250,
  333. BgraInteger = 36251
  334. }
  335. public enum GLPixelType
  336. {
  337. Byte = 5120,
  338. UnsignedByte = 5121,
  339. Short = 5122,
  340. UnsignedShort = 5123,
  341. Int = 5124,
  342. UnsignedInt = 5125,
  343. Float = 5126,
  344. HalfFloat = 5131,
  345. Bitmap = 6656,
  346. UnsignedByte332 = 32818,
  347. UnsignedByte332Ext = 32818,
  348. UnsignedShort4444 = 32819,
  349. UnsignedShort4444Ext = 32819,
  350. UnsignedShort5551 = 32820,
  351. UnsignedShort5551Ext = 32820,
  352. UnsignedInt8888 = 32821,
  353. UnsignedInt8888Ext = 32821,
  354. UnsignedInt1010102 = 32822,
  355. UnsignedInt1010102Ext = 32822,
  356. UnsignedByte233Reversed = 33634,
  357. UnsignedShort565 = 33635,
  358. UnsignedShort565Reversed = 33636,
  359. UnsignedShort4444Reversed = 33637,
  360. UnsignedShort1555Reversed = 33638,
  361. UnsignedInt8888Reversed = 33639,
  362. UnsignedInt2101010Reversed = 33640,
  363. UnsignedInt248 = 34042,
  364. UnsignedInt10F11F11FRev = 35899,
  365. UnsignedInt5999Rev = 35902,
  366. Float32UnsignedInt248Rev = 36269
  367. }
  368. public enum PixelInternalFormat
  369. {
  370. One = 1,
  371. Two = 2,
  372. Three = 3,
  373. Four = 4,
  374. DepthComponent = 6402,
  375. Alpha = 6406,
  376. Rgb = 6407,
  377. Rgba = 6408,
  378. Luminance = 6409,
  379. LuminanceAlpha = 6410,
  380. R3G3B2 = 10768,
  381. Alpha4 = 32827,
  382. Alpha8 = 32828,
  383. Alpha12 = 32829,
  384. Alpha16 = 32830,
  385. Luminance4 = 32831,
  386. Luminance8 = 32832,
  387. Luminance12 = 32833,
  388. Luminance16 = 32834,
  389. Luminance4Alpha4 = 32835,
  390. Luminance6Alpha2 = 32836,
  391. Luminance8Alpha8 = 32837,
  392. Luminance12Alpha4 = 32838,
  393. Luminance12Alpha12 = 32839,
  394. Luminance16Alpha16 = 32840,
  395. Intensity = 32841,
  396. Intensity4 = 32842,
  397. Intensity8 = 32843,
  398. Intensity12 = 32844,
  399. Intensity16 = 32845,
  400. Rgb2Ext = 32846,
  401. Rgb4 = 32847,
  402. Rgb5 = 32848,
  403. Rgb8 = 32849,
  404. Rgb10 = 32850,
  405. Rgb12 = 32851,
  406. Rgb16 = 32852,
  407. Rgba2 = 32853,
  408. Rgba4 = 32854,
  409. Rgb5A1 = 32855,
  410. Rgba8 = 32856,
  411. Rgb10A2 = 32857,
  412. Rgba12 = 32858,
  413. Rgba16 = 32859,
  414. DualAlpha4Sgis = 33040,
  415. DualAlpha8Sgis = 33041,
  416. DualAlpha12Sgis = 33042,
  417. DualAlpha16Sgis = 33043,
  418. DualLuminance4Sgis = 33044,
  419. DualLuminance8Sgis = 33045,
  420. DualLuminance12Sgis = 33046,
  421. DualLuminance16Sgis = 33047,
  422. DualIntensity4Sgis = 33048,
  423. DualIntensity8Sgis = 33049,
  424. DualIntensity12Sgis = 33050,
  425. DualIntensity16Sgis = 33051,
  426. DualLuminanceAlpha4Sgis = 33052,
  427. DualLuminanceAlpha8Sgis = 33053,
  428. QuadAlpha4Sgis = 33054,
  429. QuadAlpha8Sgis = 33055,
  430. QuadLuminance4Sgis = 33056,
  431. QuadLuminance8Sgis = 33057,
  432. QuadIntensity4Sgis = 33058,
  433. QuadIntensity8Sgis = 33059,
  434. DepthComponent16 = 33189,
  435. DepthComponent16Sgix = 33189,
  436. DepthComponent24 = 33190,
  437. DepthComponent24Sgix = 33190,
  438. DepthComponent32 = 33191,
  439. DepthComponent32Sgix = 33191,
  440. CompressedRed = 33317,
  441. CompressedRg = 33318,
  442. R8 = 33321,
  443. R16 = 33322,
  444. Rg8 = 33323,
  445. Rg16 = 33324,
  446. R16f = 33325,
  447. R32f = 33326,
  448. Rg16f = 33327,
  449. Rg32f = 33328,
  450. R8i = 33329,
  451. R8ui = 33330,
  452. R16i = 33331,
  453. R16ui = 33332,
  454. R32i = 33333,
  455. R32ui = 33334,
  456. Rg8i = 33335,
  457. Rg8ui = 33336,
  458. Rg16i = 33337,
  459. Rg16ui = 33338,
  460. Rg32i = 33339,
  461. Rg32ui = 33340,
  462. CompressedRgbS3tcDxt1Ext = 33776,
  463. CompressedRgbaS3tcDxt1Ext = 33777,
  464. CompressedRgbaS3tcDxt3Ext = 33778,
  465. CompressedRgbaS3tcDxt5Ext = 33779,
  466. RgbIccSgix = 33888,
  467. RgbaIccSgix = 33889,
  468. AlphaIccSgix = 33890,
  469. LuminanceIccSgix = 33891,
  470. IntensityIccSgix = 33892,
  471. LuminanceAlphaIccSgix = 33893,
  472. R5G6B5IccSgix = 33894,
  473. R5G6B5A8IccSgix = 33895,
  474. Alpha16IccSgix = 33896,
  475. Luminance16IccSgix = 33897,
  476. Intensity16IccSgix = 33898,
  477. Luminance16Alpha8IccSgix = 33899,
  478. CompressedAlpha = 34025,
  479. CompressedLuminance = 34026,
  480. CompressedLuminanceAlpha = 34027,
  481. CompressedIntensity = 34028,
  482. CompressedRgb = 34029,
  483. CompressedRgba = 34030,
  484. DepthStencil = 34041,
  485. Rgba32f = 34836,
  486. Rgb32f = 34837,
  487. Rgba16f = 34842,
  488. Rgb16f = 34843,
  489. Depth24Stencil8 = 35056,
  490. R11fG11fB10f = 35898,
  491. Rgb9E5 = 35901,
  492. Srgb = 35904,
  493. Srgb8 = 35905,
  494. SrgbAlpha = 35906,
  495. Srgb8Alpha8 = 35907,
  496. SluminanceAlpha = 35908,
  497. Sluminance8Alpha8 = 35909,
  498. Sluminance = 35910,
  499. Sluminance8 = 35911,
  500. CompressedSrgb = 35912,
  501. CompressedSrgbAlpha = 35913,
  502. CompressedSluminance = 35914,
  503. CompressedSluminanceAlpha = 35915,
  504. CompressedSrgbS3tcDxt1Ext = 35916,
  505. CompressedSrgbAlphaS3tcDxt1Ext = 35917,
  506. CompressedSrgbAlphaS3tcDxt3Ext = 35918,
  507. CompressedSrgbAlphaS3tcDxt5Ext = 35919,
  508. DepthComponent32f = 36012,
  509. Depth32fStencil8 = 36013,
  510. Rgba32ui = 36208,
  511. Rgb32ui = 36209,
  512. Rgba16ui = 36214,
  513. Rgb16ui = 36215,
  514. Rgba8ui = 36220,
  515. Rgb8ui = 36221,
  516. Rgba32i = 36226,
  517. Rgb32i = 36227,
  518. Rgba16i = 36232,
  519. Rgb16i = 36233,
  520. Rgba8i = 36238,
  521. Rgb8i = 36239,
  522. Float32UnsignedInt248Rev = 36269,
  523. CompressedRedRgtc1 = 36283,
  524. CompressedSignedRedRgtc1 = 36284,
  525. CompressedRgRgtc2 = 36285,
  526. CompressedSignedRgRgtc2 = 36286,
  527. CompressedRgbaBptcUnorm = 36492,
  528. CompressedSrgbAlphaBptcUnorm = 36493,
  529. CompressedRgbBptcSignedFloat = 36494,
  530. CompressedRgbBptcUnsignedFloat = 36495,
  531. R8Snorm = 36756,
  532. Rg8Snorm = 36757,
  533. Rgb8Snorm = 36758,
  534. Rgba8Snorm = 36759,
  535. R16Snorm = 36760,
  536. Rg16Snorm = 36761,
  537. Rgb16Snorm = 36762,
  538. Rgba16Snorm = 36763,
  539. Rgb10A2ui = 36975,
  540. CompressedRgb8Etc2 = 0x9274,
  541. CompressedRgb8PunchthroughAlpha1Etc2 = 0x9276,
  542. CompressedRgba8Etc2Eac = 0x9278,
  543. }
  544. public enum PixelStoreParameter
  545. {
  546. UnpackSwapBytes = 3312,
  547. UnpackLsbFirst = 3313,
  548. UnpackRowLength = 3314,
  549. UnpackRowLengthExt = 3314,
  550. UnpackSkipRows = 3315,
  551. UnpackSkipRowsExt = 3315,
  552. UnpackSkipPixels = 3316,
  553. UnpackSkipPixelsExt = 3316,
  554. UnpackAlignment = 3317,
  555. PackSwapBytes = 3328,
  556. PackLsbFirst = 3329,
  557. PackRowLength = 3330,
  558. PackSkipRows = 3331,
  559. PackSkipPixels = 3332,
  560. PackAlignment = 3333,
  561. PackSkipImages = 32875,
  562. PackSkipImagesExt = 32875,
  563. PackImageHeight = 32876,
  564. PackImageHeightExt = 32876,
  565. UnpackSkipImages = 32877,
  566. UnpackSkipImagesExt = 32877,
  567. UnpackImageHeight = 32878,
  568. UnpackImageHeightExt = 32878,
  569. PackSkipVolumesSgis = 33072,
  570. PackImageDepthSgis = 33073,
  571. UnpackSkipVolumesSgis = 33074,
  572. UnpackImageDepthSgis = 33075,
  573. PixelTileWidthSgix = 33088,
  574. PixelTileHeightSgix = 33089,
  575. PixelTileGridWidthSgix = 33090,
  576. PixelTileGridHeightSgix = 33091,
  577. PixelTileGridDepthSgix = 33092,
  578. PixelTileCacheSizeSgix = 33093,
  579. PackResampleSgix = 33836,
  580. UnpackResampleSgix = 33837,
  581. PackSubsampleRateSgix = 34208,
  582. UnpackSubsampleRateSgix = 34209,
  583. PackResampleOml = 35204,
  584. UnpackResampleOml = 35205,
  585. UnpackCompressedBlockWidth = 37159,
  586. UnpackCompressedBlockHeight = 37160,
  587. UnpackCompressedBlockDepth = 37161,
  588. UnpackCompressedBlockSize = 37162,
  589. PackCompressedBlockWidth = 37163,
  590. PackCompressedBlockHeight = 37164,
  591. PackCompressedBlockDepth = 37165,
  592. PackCompressedBlockSize = 37166
  593. }
  594. public enum ShaderType
  595. {
  596. FragmentShader = 35632,
  597. VertexShader = 35633,
  598. GeometryShader = 36313,
  599. GeometryShaderExt = 36313,
  600. TessEvaluationShader = 36487,
  601. TessControlShader = 36488,
  602. ComputeShader = 37305
  603. }
  604. public enum ShaderParameter
  605. {
  606. ShaderType = 35663,
  607. DeleteStatus = 35712,
  608. CompileStatus = 35713,
  609. InfoLogLength = 35716,
  610. ShaderSourceLength = 35720
  611. }
  612. public enum SamplerParameterName
  613. {
  614. TextureBorderColor = 4100,
  615. TextureMagFilter = 10240,
  616. TextureMinFilter = 10241,
  617. TextureWrapS = 10242,
  618. TextureWrapT = 10243,
  619. TextureWrapR = 32882,
  620. TextureMinLod = 33082,
  621. TextureMaxLod = 33083,
  622. TextureMaxAnisotropyExt = 34046,
  623. TextureLodBias = 34049,
  624. TextureCompareMode = 34892,
  625. TextureCompareFunc = 34893
  626. }
  627. public enum TextureWrapMode
  628. {
  629. Clamp = 10496,
  630. Repeat = 10497,
  631. ClampToBorder = 33069,
  632. ClampToBorderArb = 33069,
  633. ClampToBorderNv = 33069,
  634. ClampToBorderSgis = 33069,
  635. ClampToEdge = 33071,
  636. ClampToEdgeSgis = 33071,
  637. MirroredRepeat = 33648
  638. }
  639. public enum TextureMinFilter
  640. {
  641. Nearest = 9728,
  642. Linear = 9729,
  643. NearestMipmapNearest = 9984,
  644. LinearMipmapNearest = 9985,
  645. NearestMipmapLinear = 9986,
  646. LinearMipmapLinear = 9987,
  647. Filter4Sgis = 33094,
  648. LinearClipmapLinearSgix = 33136,
  649. PixelTexGenQCeilingSgix = 33156,
  650. PixelTexGenQRoundSgix = 33157,
  651. PixelTexGenQFloorSgix = 33158,
  652. NearestClipmapNearestSgix = 33869,
  653. NearestClipmapLinearSgix = 33870,
  654. LinearClipmapNearestSgix = 33871
  655. }
  656. public enum TextureMagFilter
  657. {
  658. Nearest = 9728,
  659. Linear = 9729,
  660. LinearDetailSgis = 32919,
  661. LinearDetailAlphaSgis = 32920,
  662. LinearDetailColorSgis = 32921,
  663. LinearSharpenSgis = 32941,
  664. LinearSharpenAlphaSgis = 32942,
  665. LinearSharpenColorSgis = 32943,
  666. Filter4Sgis = 33094,
  667. PixelTexGenQCeilingSgix = 33156,
  668. PixelTexGenQRoundSgix = 33157,
  669. PixelTexGenQFloorSgix = 33158
  670. }
  671. public enum TextureCompareMode
  672. {
  673. None = 0,
  674. CompareRefToTexture = 34894,
  675. CompareRToTexture = 34894
  676. }
  677. public enum DepthFunction
  678. {
  679. Never = 512,
  680. Less = 513,
  681. Equal = 514,
  682. Lequal = 515,
  683. Greater = 516,
  684. Notequal = 517,
  685. Gequal = 518,
  686. Always = 519
  687. }
  688. public enum BlendingFactorSrc
  689. {
  690. Zero = 0,
  691. One = 1,
  692. SrcColor = 768,
  693. OneMinusSrcColor = 769,
  694. SrcAlpha = 770,
  695. OneMinusSrcAlpha = 771,
  696. DstAlpha = 772,
  697. OneMinusDstAlpha = 773,
  698. DstColor = 774,
  699. OneMinusDstColor = 775,
  700. SrcAlphaSaturate = 776,
  701. ConstantColor = 32769,
  702. ConstantColorExt = 32769,
  703. OneMinusConstantColor = 32770,
  704. OneMinusConstantColorExt = 32770,
  705. ConstantAlpha = 32771,
  706. ConstantAlphaExt = 32771,
  707. OneMinusConstantAlpha = 32772,
  708. OneMinusConstantAlphaExt = 32772,
  709. Src1Alpha = 34185,
  710. Src1Color = 35065,
  711. OneMinusSrc1Color = 35066,
  712. OneMinusSrc1Alpha = 35067
  713. }
  714. public enum BlendingFactorDest
  715. {
  716. Zero = 0,
  717. One = 1,
  718. SrcColor = 768,
  719. OneMinusSrcColor = 769,
  720. SrcAlpha = 770,
  721. OneMinusSrcAlpha = 771,
  722. DstAlpha = 772,
  723. OneMinusDstAlpha = 773,
  724. DstColor = 774,
  725. OneMinusDstColor = 775,
  726. SrcAlphaSaturate = 776,
  727. ConstantColor = 32769,
  728. ConstantColorExt = 32769,
  729. OneMinusConstantColor = 32770,
  730. OneMinusConstantColorExt = 32770,
  731. ConstantAlpha = 32771,
  732. ConstantAlphaExt = 32771,
  733. OneMinusConstantAlpha = 32772,
  734. OneMinusConstantAlphaExt = 32772,
  735. Src1Alpha = 34185,
  736. Src1Color = 35065,
  737. OneMinusSrc1Color = 35066,
  738. OneMinusSrc1Alpha = 35067
  739. }
  740. public enum EnableCap
  741. {
  742. PointSmooth = 2832,
  743. LineSmooth = 2848,
  744. LineStipple = 2852,
  745. PolygonSmooth = 2881,
  746. PolygonStipple = 2882,
  747. CullFace = 2884,
  748. Lighting = 2896,
  749. ColorMaterial = 2903,
  750. Fog = 2912,
  751. DepthTest = 2929,
  752. StencilTest = 2960,
  753. Normalize = 2977,
  754. AlphaTest = 3008,
  755. Dither = 3024,
  756. Blend = 3042,
  757. IndexLogicOp = 3057,
  758. ColorLogicOp = 3058,
  759. ScissorTest = 3089,
  760. TextureGenS = 3168,
  761. TextureGenT = 3169,
  762. TextureGenR = 3170,
  763. TextureGenQ = 3171,
  764. AutoNormal = 3456,
  765. Map1Color4 = 3472,
  766. Map1Index = 3473,
  767. Map1Normal = 3474,
  768. Map1TextureCoord1 = 3475,
  769. Map1TextureCoord2 = 3476,
  770. Map1TextureCoord3 = 3477,
  771. Map1TextureCoord4 = 3478,
  772. Map1Vertex3 = 3479,
  773. Map1Vertex4 = 3480,
  774. Map2Color4 = 3504,
  775. Map2Index = 3505,
  776. Map2Normal = 3506,
  777. Map2TextureCoord1 = 3507,
  778. Map2TextureCoord2 = 3508,
  779. Map2TextureCoord3 = 3509,
  780. Map2TextureCoord4 = 3510,
  781. Map2Vertex3 = 3511,
  782. Map2Vertex4 = 3512,
  783. Texture1D = 3552,
  784. Texture2D = 3553,
  785. PolygonOffsetPoint = 10753,
  786. PolygonOffsetLine = 10754,
  787. ClipDistance0 = 12288,
  788. ClipPlane0 = 12288,
  789. ClipDistance1 = 12289,
  790. ClipPlane1 = 12289,
  791. ClipDistance2 = 12290,
  792. ClipPlane2 = 12290,
  793. ClipDistance3 = 12291,
  794. ClipPlane3 = 12291,
  795. ClipDistance4 = 12292,
  796. ClipPlane4 = 12292,
  797. ClipDistance5 = 12293,
  798. ClipPlane5 = 12293,
  799. ClipDistance6 = 12294,
  800. ClipDistance7 = 12295,
  801. Light0 = 16384,
  802. Light1 = 16385,
  803. Light2 = 16386,
  804. Light3 = 16387,
  805. Light4 = 16388,
  806. Light5 = 16389,
  807. Light6 = 16390,
  808. Light7 = 16391,
  809. Convolution1D = 32784,
  810. Convolution1DExt = 32784,
  811. Convolution2D = 32785,
  812. Convolution2DExt = 32785,
  813. Separable2D = 32786,
  814. Separable2DExt = 32786,
  815. Histogram = 32804,
  816. HistogramExt = 32804,
  817. MinmaxExt = 32814,
  818. PolygonOffsetFill = 32823,
  819. RescaleNormal = 32826,
  820. RescaleNormalExt = 32826,
  821. Texture3DExt = 32879,
  822. VertexArray = 32884,
  823. NormalArray = 32885,
  824. ColorArray = 32886,
  825. IndexArray = 32887,
  826. TextureCoordArray = 32888,
  827. EdgeFlagArray = 32889,
  828. InterlaceSgix = 32916,
  829. Multisample = 32925,
  830. MultisampleSgis = 32925,
  831. SampleAlphaToCoverage = 32926,
  832. SampleAlphaToMaskSgis = 32926,
  833. SampleAlphaToOne = 32927,
  834. SampleAlphaToOneSgis = 32927,
  835. SampleCoverage = 32928,
  836. SampleMaskSgis = 32928,
  837. TextureColorTableSgi = 32956,
  838. ColorTable = 32976,
  839. ColorTableSgi = 32976,
  840. PostConvolutionColorTable = 32977,
  841. PostConvolutionColorTableSgi = 32977,
  842. PostColorMatrixColorTable = 32978,
  843. PostColorMatrixColorTableSgi = 32978,
  844. Texture4DSgis = 33076,
  845. PixelTexGenSgix = 33081,
  846. SpriteSgix = 33096,
  847. ReferencePlaneSgix = 33149,
  848. IrInstrument1Sgix = 33151,
  849. CalligraphicFragmentSgix = 33155,
  850. FramezoomSgix = 33163,
  851. FogOffsetSgix = 33176,
  852. SharedTexturePaletteExt = 33275,
  853. DebugOutputSynchronous = 33346,
  854. AsyncHistogramSgix = 33580,
  855. PixelTextureSgis = 33619,
  856. AsyncTexImageSgix = 33628,
  857. AsyncDrawPixelsSgix = 33629,
  858. AsyncReadPixelsSgix = 33630,
  859. FragmentLightingSgix = 33792,
  860. FragmentColorMaterialSgix = 33793,
  861. FragmentLight0Sgix = 33804,
  862. FragmentLight1Sgix = 33805,
  863. FragmentLight2Sgix = 33806,
  864. FragmentLight3Sgix = 33807,
  865. FragmentLight4Sgix = 33808,
  866. FragmentLight5Sgix = 33809,
  867. FragmentLight6Sgix = 33810,
  868. FragmentLight7Sgix = 33811,
  869. FogCoordArray = 33879,
  870. ColorSum = 33880,
  871. SecondaryColorArray = 33886,
  872. TextureRectangle = 34037,
  873. TextureCubeMap = 34067,
  874. ProgramPointSize = 34370,
  875. VertexProgramPointSize = 34370,
  876. VertexProgramTwoSide = 34371,
  877. DepthClamp = 34383,
  878. TextureCubeMapSeamless = 34895,
  879. PointSprite = 34913,
  880. SampleShading = 35894,
  881. RasterizerDiscard = 35977,
  882. PrimitiveRestartFixedIndex = 36201,
  883. FramebufferSrgb = 36281,
  884. SampleMask = 36433,
  885. PrimitiveRestart = 36765,
  886. DebugOutput = 37600
  887. }
  888. public enum BlendEquationMode
  889. {
  890. FuncAdd = 32774,
  891. Min = 32775,
  892. Max = 32776,
  893. FuncSubtract = 32778,
  894. FuncReverseSubtract = 32779
  895. }
  896. public enum CullFaceMode
  897. {
  898. Front = 1028,
  899. Back = 1029,
  900. FrontAndBack = 1032
  901. }
  902. public enum MaterialFace
  903. {
  904. Front = 1028,
  905. Back = 1029,
  906. FrontAndBack = 1032
  907. }
  908. public enum PolygonMode
  909. {
  910. Point = 6912,
  911. Line = 6913,
  912. Fill = 6914
  913. }
  914. public enum GetProgramParameterName
  915. {
  916. ProgramBinaryRetrievableHint = 33367,
  917. ProgramSeparable = 33368,
  918. GeometryShaderInvocations = 34943,
  919. GeometryVerticesOut = 35094,
  920. GeometryInputType = 35095,
  921. GeometryOutputType = 35096,
  922. ActiveUniformBlockMaxNameLength = 35381,
  923. ActiveUniformBlocks = 35382,
  924. DeleteStatus = 35712,
  925. LinkStatus = 35714,
  926. ValidateStatus = 35715,
  927. InfoLogLength = 35716,
  928. AttachedShaders = 35717,
  929. ActiveUniforms = 35718,
  930. ActiveUniformMaxLength = 35719,
  931. ActiveAttributes = 35721,
  932. ActiveAttributeMaxLength = 35722,
  933. TransformFeedbackVaryingMaxLength = 35958,
  934. TransformFeedbackBufferMode = 35967,
  935. TransformFeedbackVaryings = 35971,
  936. TessControlOutputVertices = 36469,
  937. TessGenMode = 36470,
  938. TessGenSpacing = 36471,
  939. TessGenVertexOrder = 36472,
  940. TessGenPointMode = 36473,
  941. MaxComputeWorkGroupSize = 37311,
  942. ActiveAtomicCounterBuffers = 37593
  943. }
  944. public enum BufferRangeTarget
  945. {
  946. UniformBuffer = 35345,
  947. TransformFeedbackBuffer = 35982,
  948. ShaderStorageBuffer = 37074,
  949. AtomicCounterBuffer = 37568
  950. }
  951. public enum DebugSource
  952. {
  953. DebugSourceApi = 33350,
  954. DebugSourceWindowSystem = 33351,
  955. DebugSourceShaderCompiler = 33352,
  956. DebugSourceThirdParty = 33353,
  957. DebugSourceApplication = 33354,
  958. DebugSourceOther = 33355
  959. }
  960. public enum DebugType
  961. {
  962. DebugTypeError = 33356,
  963. DebugTypeDeprecatedBehavior = 33357,
  964. DebugTypeUndefinedBehavior = 33358,
  965. DebugTypePortability = 33359,
  966. DebugTypePerformance = 33360,
  967. DebugTypeOther = 33361,
  968. DebugTypeMarker = 33384,
  969. DebugTypePushGroup = 33385,
  970. DebugTypePopGroup = 33386
  971. }
  972. public enum DebugSeverity
  973. {
  974. DebugSeverityNotification = 33387,
  975. DebugSeverityHigh = 37190,
  976. DebugSeverityMedium = 37191,
  977. DebugSeverityLow = 37192
  978. }
  979. public enum BufferUsageHint
  980. {
  981. StreamDraw = 35040,
  982. StreamRead = 35041,
  983. StreamCopy = 35042,
  984. StaticDraw = 35044,
  985. StaticRead = 35045,
  986. StaticCopy = 35046,
  987. DynamicDraw = 35048,
  988. DynamicRead = 35049,
  989. DynamicCopy = 35050
  990. }
  991. public enum VertexAttribPointerType
  992. {
  993. Byte = 5120,
  994. UnsignedByte = 5121,
  995. Short = 5122,
  996. UnsignedShort = 5123,
  997. Int = 5124,
  998. UnsignedInt = 5125,
  999. Float = 5126,
  1000. Double = 5130,
  1001. HalfFloat = 5131,
  1002. Fixed = 5132,
  1003. UnsignedInt2101010Rev = 33640,
  1004. Int2101010Rev = 36255
  1005. }
  1006. public enum FrontFaceDirection
  1007. {
  1008. Cw = 2304,
  1009. Ccw = 2305
  1010. }
  1011. public enum GetPName
  1012. {
  1013. CurrentColor = 2816,
  1014. CurrentIndex = 2817,
  1015. CurrentNormal = 2818,
  1016. CurrentTextureCoords = 2819,
  1017. CurrentRasterColor = 2820,
  1018. CurrentRasterIndex = 2821,
  1019. CurrentRasterTextureCoords = 2822,
  1020. CurrentRasterPosition = 2823,
  1021. CurrentRasterPositionValid = 2824,
  1022. CurrentRasterDistance = 2825,
  1023. PointSmooth = 2832,
  1024. PointSize = 2833,
  1025. PointSizeRange = 2834,
  1026. SmoothPointSizeRange = 2834,
  1027. PointSizeGranularity = 2835,
  1028. SmoothPointSizeGranularity = 2835,
  1029. LineSmooth = 2848,
  1030. LineWidth = 2849,
  1031. LineWidthRange = 2850,
  1032. SmoothLineWidthRange = 2850,
  1033. LineWidthGranularity = 2851,
  1034. SmoothLineWidthGranularity = 2851,
  1035. LineStipple = 2852,
  1036. LineStipplePattern = 2853,
  1037. LineStippleRepeat = 2854,
  1038. ListMode = 2864,
  1039. MaxListNesting = 2865,
  1040. ListBase = 2866,
  1041. ListIndex = 2867,
  1042. PolygonMode = 2880,
  1043. PolygonSmooth = 2881,
  1044. PolygonStipple = 2882,
  1045. EdgeFlag = 2883,
  1046. CullFace = 2884,
  1047. CullFaceMode = 2885,
  1048. FrontFace = 2886,
  1049. Lighting = 2896,
  1050. LightModelLocalViewer = 2897,
  1051. LightModelTwoSide = 2898,
  1052. LightModelAmbient = 2899,
  1053. ShadeModel = 2900,
  1054. ColorMaterialFace = 2901,
  1055. ColorMaterialParameter = 2902,
  1056. ColorMaterial = 2903,
  1057. Fog = 2912,
  1058. FogIndex = 2913,
  1059. FogDensity = 2914,
  1060. FogStart = 2915,
  1061. FogEnd = 2916,
  1062. FogMode = 2917,
  1063. FogColor = 2918,
  1064. DepthRange = 2928,
  1065. DepthTest = 2929,
  1066. DepthWritemask = 2930,
  1067. DepthClearValue = 2931,
  1068. DepthFunc = 2932,
  1069. AccumClearValue = 2944,
  1070. StencilTest = 2960,
  1071. StencilClearValue = 2961,
  1072. StencilFunc = 2962,
  1073. StencilValueMask = 2963,
  1074. StencilFail = 2964,
  1075. StencilPassDepthFail = 2965,
  1076. StencilPassDepthPass = 2966,
  1077. StencilRef = 2967,
  1078. StencilWritemask = 2968,
  1079. MatrixMode = 2976,
  1080. Normalize = 2977,
  1081. Viewport = 2978,
  1082. Modelview0StackDepthExt = 2979,
  1083. ModelviewStackDepth = 2979,
  1084. ProjectionStackDepth = 2980,
  1085. TextureStackDepth = 2981,
  1086. Modelview0MatrixExt = 2982,
  1087. ModelviewMatrix = 2982,
  1088. ProjectionMatrix = 2983,
  1089. TextureMatrix = 2984,
  1090. AttribStackDepth = 2992,
  1091. ClientAttribStackDepth = 2993,
  1092. AlphaTest = 3008,
  1093. AlphaTestQcom = 3008,
  1094. AlphaTestFunc = 3009,
  1095. AlphaTestFuncQcom = 3009,
  1096. AlphaTestRef = 3010,
  1097. AlphaTestRefQcom = 3010,
  1098. Dither = 3024,
  1099. BlendDst = 3040,
  1100. BlendSrc = 3041,
  1101. Blend = 3042,
  1102. LogicOpMode = 3056,
  1103. IndexLogicOp = 3057,
  1104. LogicOp = 3057,
  1105. ColorLogicOp = 3058,
  1106. AuxBuffers = 3072,
  1107. DrawBuffer = 3073,
  1108. DrawBufferExt = 3073,
  1109. ReadBuffer = 3074,
  1110. ReadBufferExt = 3074,
  1111. ReadBufferNv = 3074,
  1112. ScissorBox = 3088,
  1113. ScissorTest = 3089,
  1114. IndexClearValue = 3104,
  1115. IndexWritemask = 3105,
  1116. ColorClearValue = 3106,
  1117. ColorWritemask = 3107,
  1118. IndexMode = 3120,
  1119. RgbaMode = 3121,
  1120. Doublebuffer = 3122,
  1121. Stereo = 3123,
  1122. RenderMode = 3136,
  1123. PerspectiveCorrectionHint = 3152,
  1124. PointSmoothHint = 3153,
  1125. LineSmoothHint = 3154,
  1126. PolygonSmoothHint = 3155,
  1127. FogHint = 3156,
  1128. TextureGenS = 3168,
  1129. TextureGenT = 3169,
  1130. TextureGenR = 3170,
  1131. TextureGenQ = 3171,
  1132. PixelMapIToISize = 3248,
  1133. PixelMapSToSSize = 3249,
  1134. PixelMapIToRSize = 3250,
  1135. PixelMapIToGSize = 3251,
  1136. PixelMapIToBSize = 3252,
  1137. PixelMapIToASize = 3253,
  1138. PixelMapRToRSize = 3254,
  1139. PixelMapGToGSize = 3255,
  1140. PixelMapBToBSize = 3256,
  1141. PixelMapAToASize = 3257,
  1142. UnpackSwapBytes = 3312,
  1143. UnpackLsbFirst = 3313,
  1144. UnpackRowLength = 3314,
  1145. UnpackSkipRows = 3315,
  1146. UnpackSkipPixels = 3316,
  1147. UnpackAlignment = 3317,
  1148. PackSwapBytes = 3328,
  1149. PackLsbFirst = 3329,
  1150. PackRowLength = 3330,
  1151. PackSkipRows = 3331,
  1152. PackSkipPixels = 3332,
  1153. PackAlignment = 3333,
  1154. MapColor = 3344,
  1155. MapStencil = 3345,
  1156. IndexShift = 3346,
  1157. IndexOffset = 3347,
  1158. RedScale = 3348,
  1159. RedBias = 3349,
  1160. ZoomX = 3350,
  1161. ZoomY = 3351,
  1162. GreenScale = 3352,
  1163. GreenBias = 3353,
  1164. BlueScale = 3354,
  1165. BlueBias = 3355,
  1166. AlphaScale = 3356,
  1167. AlphaBias = 3357,
  1168. DepthScale = 3358,
  1169. DepthBias = 3359,
  1170. MaxEvalOrder = 3376,
  1171. MaxLights = 3377,
  1172. MaxClipDistances = 3378,
  1173. MaxClipPlanes = 3378,
  1174. MaxTextureSize = 3379,
  1175. MaxPixelMapTable = 3380,
  1176. MaxAttribStackDepth = 3381,
  1177. MaxModelviewStackDepth = 3382,
  1178. MaxNameStackDepth = 3383,
  1179. MaxProjectionStackDepth = 3384,
  1180. MaxTextureStackDepth = 3385,
  1181. MaxViewportDims = 3386,
  1182. MaxClientAttribStackDepth = 3387,
  1183. SubpixelBits = 3408,
  1184. IndexBits = 3409,
  1185. RedBits = 3410,
  1186. GreenBits = 3411,
  1187. BlueBits = 3412,
  1188. AlphaBits = 3413,
  1189. DepthBits = 3414,
  1190. StencilBits = 3415,
  1191. AccumRedBits = 3416,
  1192. AccumGreenBits = 3417,
  1193. AccumBlueBits = 3418,
  1194. AccumAlphaBits = 3419,
  1195. NameStackDepth = 3440,
  1196. AutoNormal = 3456,
  1197. Map1Color4 = 3472,
  1198. Map1Index = 3473,
  1199. Map1Normal = 3474,
  1200. Map1TextureCoord1 = 3475,
  1201. Map1TextureCoord2 = 3476,
  1202. Map1TextureCoord3 = 3477,
  1203. Map1TextureCoord4 = 3478,
  1204. Map1Vertex3 = 3479,
  1205. Map1Vertex4 = 3480,
  1206. Map2Color4 = 3504,
  1207. Map2Index = 3505,
  1208. Map2Normal = 3506,
  1209. Map2TextureCoord1 = 3507,
  1210. Map2TextureCoord2 = 3508,
  1211. Map2TextureCoord3 = 3509,
  1212. Map2TextureCoord4 = 3510,
  1213. Map2Vertex3 = 3511,
  1214. Map2Vertex4 = 3512,
  1215. Map1GridDomain = 3536,
  1216. Map1GridSegments = 3537,
  1217. Map2GridDomain = 3538,
  1218. Map2GridSegments = 3539,
  1219. Texture1D = 3552,
  1220. Texture2D = 3553,
  1221. FeedbackBufferSize = 3569,
  1222. FeedbackBufferType = 3570,
  1223. SelectionBufferSize = 3572,
  1224. PolygonOffsetUnits = 10752,
  1225. PolygonOffsetPoint = 10753,
  1226. PolygonOffsetLine = 10754,
  1227. ClipPlane0 = 12288,
  1228. ClipPlane1 = 12289,
  1229. ClipPlane2 = 12290,
  1230. ClipPlane3 = 12291,
  1231. ClipPlane4 = 12292,
  1232. ClipPlane5 = 12293,
  1233. Light0 = 16384,
  1234. Light1 = 16385,
  1235. Light2 = 16386,
  1236. Light3 = 16387,
  1237. Light4 = 16388,
  1238. Light5 = 16389,
  1239. Light6 = 16390,
  1240. Light7 = 16391,
  1241. BlendColorExt = 32773,
  1242. BlendEquationExt = 32777,
  1243. BlendEquationRgb = 32777,
  1244. PackCmykHintExt = 32782,
  1245. UnpackCmykHintExt = 32783,
  1246. Convolution1DExt = 32784,
  1247. Convolution2DExt = 32785,
  1248. Separable2DExt = 32786,
  1249. PostConvolutionRedScaleExt = 32796,
  1250. PostConvolutionGreenScaleExt = 32797,
  1251. PostConvolutionBlueScaleExt = 32798,
  1252. PostConvolutionAlphaScaleExt = 32799,
  1253. PostConvolutionRedBiasExt = 32800,
  1254. PostConvolutionGreenBiasExt = 32801,
  1255. PostConvolutionBlueBiasExt = 32802,
  1256. PostConvolutionAlphaBiasExt = 32803,
  1257. HistogramExt = 32804,
  1258. MinmaxExt = 32814,
  1259. PolygonOffsetFill = 32823,
  1260. PolygonOffsetFactor = 32824,
  1261. PolygonOffsetBiasExt = 32825,
  1262. RescaleNormalExt = 32826,
  1263. TextureBinding1D = 32872,
  1264. TextureBinding2D = 32873,
  1265. Texture3DBindingExt = 32874,
  1266. TextureBinding3D = 32874,
  1267. PackSkipImagesExt = 32875,
  1268. PackImageHeightExt = 32876,
  1269. UnpackSkipImagesExt = 32877,
  1270. UnpackImageHeightExt = 32878,
  1271. Texture3DExt = 32879,
  1272. Max3DTextureSize = 32883,
  1273. Max3DTextureSizeExt = 32883,
  1274. VertexArray = 32884,
  1275. NormalArray = 32885,
  1276. ColorArray = 32886,
  1277. IndexArray = 32887,
  1278. TextureCoordArray = 32888,
  1279. EdgeFlagArray = 32889,
  1280. VertexArraySize = 32890,
  1281. VertexArrayType = 32891,
  1282. VertexArrayStride = 32892,
  1283. VertexArrayCountExt = 32893,
  1284. NormalArrayType = 32894,
  1285. NormalArrayStride = 32895,
  1286. NormalArrayCountExt = 32896,
  1287. ColorArraySize = 32897,
  1288. ColorArrayType = 32898,
  1289. ColorArrayStride = 32899,
  1290. ColorArrayCountExt = 32900,
  1291. IndexArrayType = 32901,
  1292. IndexArrayStride = 32902,
  1293. IndexArrayCountExt = 32903,
  1294. TextureCoordArraySize = 32904,
  1295. TextureCoordArrayType = 32905,
  1296. TextureCoordArrayStride = 32906,
  1297. TextureCoordArrayCountExt = 32907,
  1298. EdgeFlagArrayStride = 32908,
  1299. EdgeFlagArrayCountExt = 32909,
  1300. InterlaceSgix = 32916,
  1301. DetailTexture2DBindingSgis = 32918,
  1302. Multisample = 32925,
  1303. MultisampleSgis = 32925,
  1304. SampleAlphaToCoverage = 32926,
  1305. SampleAlphaToMaskSgis = 32926,
  1306. SampleAlphaToOne = 32927,
  1307. SampleAlphaToOneSgis = 32927,
  1308. SampleCoverage = 32928,
  1309. SampleMaskSgis = 32928,
  1310. SampleBuffers = 32936,
  1311. SampleBuffersSgis = 32936,
  1312. Samples = 32937,
  1313. SamplesSgis = 32937,
  1314. SampleCoverageValue = 32938,
  1315. SampleMaskValueSgis = 32938,
  1316. SampleCoverageInvert = 32939,
  1317. SampleMaskInvertSgis = 32939,
  1318. SamplePatternSgis = 32940,
  1319. ColorMatrixSgi = 32945,
  1320. ColorMatrixStackDepthSgi = 32946,
  1321. MaxColorMatrixStackDepthSgi = 32947,
  1322. PostColorMatrixRedScaleSgi = 32948,
  1323. PostColorMatrixGreenScaleSgi = 32949,
  1324. PostColorMatrixBlueScaleSgi = 32950,
  1325. PostColorMatrixAlphaScaleSgi = 32951,
  1326. PostColorMatrixRedBiasSgi = 32952,
  1327. PostColorMatrixGreenBiasSgi = 32953,
  1328. PostColorMatrixBlueBiasSgi = 32954,
  1329. PostColorMatrixAlphaBiasSgi = 32955,
  1330. TextureColorTableSgi = 32956,
  1331. BlendDstRgb = 32968,
  1332. BlendSrcRgb = 32969,
  1333. BlendDstAlpha = 32970,
  1334. BlendSrcAlpha = 32971,
  1335. ColorTableSgi = 32976,
  1336. PostConvolutionColorTableSgi = 32977,
  1337. PostColorMatrixColorTableSgi = 32978,
  1338. MaxElementsVertices = 33000,
  1339. MaxElementsIndices = 33001,
  1340. PointSizeMin = 33062,
  1341. PointSizeMinSgis = 33062,
  1342. PointSizeMax = 33063,
  1343. PointSizeMaxSgis = 33063,
  1344. PointFadeThresholdSize = 33064,
  1345. PointFadeThresholdSizeSgis = 33064,
  1346. DistanceAttenuationSgis = 33065,
  1347. PointDistanceAttenuation = 33065,
  1348. FogFuncPointsSgis = 33067,
  1349. MaxFogFuncPointsSgis = 33068,
  1350. PackSkipVolumesSgis = 33072,
  1351. PackImageDepthSgis = 33073,
  1352. UnpackSkipVolumesSgis = 33074,
  1353. UnpackImageDepthSgis = 33075,
  1354. Texture4DSgis = 33076,
  1355. Max4DTextureSizeSgis = 33080,
  1356. PixelTexGenSgix = 33081,
  1357. PixelTileBestAlignmentSgix = 33086,
  1358. PixelTileCacheIncrementSgix = 33087,
  1359. PixelTileWidthSgix = 33088,
  1360. PixelTileHeightSgix = 33089,
  1361. PixelTileGridWidthSgix = 33090,
  1362. PixelTileGridHeightSgix = 33091,
  1363. PixelTileGridDepthSgix = 33092,
  1364. PixelTileCacheSizeSgix = 33093,
  1365. SpriteSgix = 33096,
  1366. SpriteModeSgix = 33097,
  1367. SpriteAxisSgix = 33098,
  1368. SpriteTranslationSgix = 33099,
  1369. Texture4DBindingSgis = 33103,
  1370. MaxClipmapDepthSgix = 33143,
  1371. MaxClipmapVirtualDepthSgix = 33144,
  1372. PostTextureFilterBiasRangeSgix = 33147,
  1373. PostTextureFilterScaleRangeSgix = 33148,
  1374. ReferencePlaneSgix = 33149,
  1375. ReferencePlaneEquationSgix = 33150,
  1376. IrInstrument1Sgix = 33151,
  1377. InstrumentMeasurementsSgix = 33153,
  1378. CalligraphicFragmentSgix = 33155,
  1379. FramezoomSgix = 33163,
  1380. FramezoomFactorSgix = 33164,
  1381. MaxFramezoomFactorSgix = 33165,
  1382. GenerateMipmapHint = 33170,
  1383. GenerateMipmapHintSgis = 33170,
  1384. DeformationsMaskSgix = 33174,
  1385. FogOffsetSgix = 33176,
  1386. FogOffsetValueSgix = 33177,
  1387. LightModelColorControl = 33272,
  1388. SharedTexturePaletteExt = 33275,
  1389. MajorVersion = 33307,
  1390. MinorVersion = 33308,
  1391. NumExtensions = 33309,
  1392. ContextFlags = 33310,
  1393. ResetNotificationStrategy = 33366,
  1394. ProgramPipelineBinding = 33370,
  1395. MaxViewports = 33371,
  1396. ViewportSubpixelBits = 33372,
  1397. ViewportBoundsRange = 33373,
  1398. LayerProvokingVertex = 33374,
  1399. ViewportIndexProvokingVertex = 33375,
  1400. MaxLabelLength = 33512,
  1401. MaxCullDistances = 33529,
  1402. MaxCombinedClipAndCullDistances = 33530,
  1403. ContextReleaseBehavior = 33531,
  1404. ConvolutionHintSgix = 33558,
  1405. AsyncMarkerSgix = 33577,
  1406. PixelTexGenModeSgix = 33579,
  1407. AsyncHistogramSgix = 33580,
  1408. MaxAsyncHistogramSgix = 33581,
  1409. PixelTextureSgis = 33619,
  1410. AsyncTexImageSgix = 33628,
  1411. AsyncDrawPixelsSgix = 33629,
  1412. AsyncReadPixelsSgix = 33630,
  1413. MaxAsyncTexImageSgix = 33631,
  1414. MaxAsyncDrawPixelsSgix = 33632,
  1415. MaxAsyncReadPixelsSgix = 33633,
  1416. VertexPreclipSgix = 33774,
  1417. VertexPreclipHintSgix = 33775,
  1418. FragmentLightingSgix = 33792,
  1419. FragmentColorMaterialSgix = 33793,
  1420. FragmentColorMaterialFaceSgix = 33794,
  1421. FragmentColorMaterialParameterSgix = 33795,
  1422. MaxFragmentLightsSgix = 33796,
  1423. MaxActiveLightsSgix = 33797,
  1424. LightEnvModeSgix = 33799,
  1425. FragmentLightModelLocalViewerSgix = 33800,
  1426. FragmentLightModelTwoSideSgix = 33801,
  1427. FragmentLightModelAmbientSgix = 33802,
  1428. FragmentLightModelNormalInterpolationSgix = 33803,
  1429. FragmentLight0Sgix = 33804,
  1430. PackResampleSgix = 33836,
  1431. UnpackResampleSgix = 33837,
  1432. CurrentFogCoord = 33875,
  1433. FogCoordArrayType = 33876,
  1434. FogCoordArrayStride = 33877,
  1435. ColorSum = 33880,
  1436. CurrentSecondaryColor = 33881,
  1437. SecondaryColorArraySize = 33882,
  1438. SecondaryColorArrayType = 33883,
  1439. SecondaryColorArrayStride = 33884,
  1440. CurrentRasterSecondaryColor = 33887,
  1441. AliasedPointSizeRange = 33901,
  1442. AliasedLineWidthRange = 33902,
  1443. ActiveTexture = 34016,
  1444. ClientActiveTexture = 34017,
  1445. MaxTextureUnits = 34018,
  1446. TransposeModelviewMatrix = 34019,
  1447. TransposeProjectionMatrix = 34020,
  1448. TransposeTextureMatrix = 34021,
  1449. TransposeColorMatrix = 34022,
  1450. MaxRenderbufferSize = 34024,
  1451. MaxRenderbufferSizeExt = 34024,
  1452. TextureCompressionHint = 34031,
  1453. TextureBindingRectangle = 34038,
  1454. MaxRectangleTextureSize = 34040,
  1455. MaxTextureLodBias = 34045,
  1456. TextureCubeMap = 34067,
  1457. TextureBindingCubeMap = 34068,
  1458. MaxCubeMapTextureSize = 34076,
  1459. PackSubsampleRateSgix = 34208,
  1460. UnpackSubsampleRateSgix = 34209,
  1461. VertexArrayBinding = 34229,
  1462. ProgramPointSize = 34370,
  1463. DepthClamp = 34383,
  1464. NumCompressedTextureFormats = 34466,
  1465. CompressedTextureFormats = 34467,
  1466. NumProgramBinaryFormats = 34814,
  1467. ProgramBinaryFormats = 34815,
  1468. StencilBackFunc = 34816,
  1469. StencilBackFail = 34817,
  1470. StencilBackPassDepthFail = 34818,
  1471. StencilBackPassDepthPass = 34819,
  1472. RgbaFloatMode = 34848,
  1473. MaxDrawBuffers = 34852,
  1474. DrawBuffer0 = 34853,
  1475. DrawBuffer1 = 34854,
  1476. DrawBuffer2 = 34855,
  1477. DrawBuffer3 = 34856,
  1478. DrawBuffer4 = 34857,
  1479. DrawBuffer5 = 34858,
  1480. DrawBuffer6 = 34859,
  1481. DrawBuffer7 = 34860,
  1482. DrawBuffer8 = 34861,
  1483. DrawBuffer9 = 34862,
  1484. DrawBuffer10 = 34863,
  1485. DrawBuffer11 = 34864,
  1486. DrawBuffer12 = 34865,
  1487. DrawBuffer13 = 34866,
  1488. DrawBuffer14 = 34867,
  1489. DrawBuffer15 = 34868,
  1490. BlendEquationAlpha = 34877,
  1491. TextureCubeMapSeamless = 34895,
  1492. PointSprite = 34913,
  1493. MaxVertexAttribs = 34921,
  1494. MaxTessControlInputComponents = 34924,
  1495. MaxTessEvaluationInputComponents = 34925,
  1496. MaxTextureCoords = 34929,
  1497. MaxTextureImageUnits = 34930,
  1498. ArrayBufferBinding = 34964,
  1499. ElementArrayBufferBinding = 34965,
  1500. VertexArrayBufferBinding = 34966,
  1501. NormalArrayBufferBinding = 34967,
  1502. ColorArrayBufferBinding = 34968,
  1503. IndexArrayBufferBinding = 34969,
  1504. TextureCoordArrayBufferBinding = 34970,
  1505. EdgeFlagArrayBufferBinding = 34971,
  1506. SecondaryColorArrayBufferBinding = 34972,
  1507. FogCoordArrayBufferBinding = 34973,
  1508. WeightArrayBufferBinding = 34974,
  1509. VertexAttribArrayBufferBinding = 34975,
  1510. PixelPackBufferBinding = 35053,
  1511. PixelUnpackBufferBinding = 35055,
  1512. MaxDualSourceDrawBuffers = 35068,
  1513. MaxArrayTextureLayers = 35071,
  1514. MinProgramTexelOffset = 35076,
  1515. MaxProgramTexelOffset = 35077,
  1516. SamplerBinding = 35097,
  1517. ClampVertexColor = 35098,
  1518. ClampFragmentColor = 35099,
  1519. ClampReadColor = 35100,
  1520. MaxVertexUniformBlocks = 35371,
  1521. MaxGeometryUniformBlocks = 35372,
  1522. MaxFragmentUniformBlocks = 35373,
  1523. MaxCombinedUniformBlocks = 35374,
  1524. MaxUniformBufferBindings = 35375,
  1525. MaxUniformBlockSize = 35376,
  1526. MaxCombinedVertexUniformComponents = 35377,
  1527. MaxCombinedGeometryUniformComponents = 35378,
  1528. MaxCombinedFragmentUniformComponents = 35379,
  1529. UniformBufferOffsetAlignment = 35380,
  1530. MaxFragmentUniformComponents = 35657,
  1531. MaxVertexUniformComponents = 35658,
  1532. MaxVaryingComponents = 35659,
  1533. MaxVaryingFloats = 35659,
  1534. MaxVertexTextureImageUnits = 35660,
  1535. MaxCombinedTextureImageUnits = 35661,
  1536. FragmentShaderDerivativeHint = 35723,
  1537. CurrentProgram = 35725,
  1538. ImplementationColorReadType = 35738,
  1539. ImplementationColorReadFormat = 35739,
  1540. TextureBinding1DArray = 35868,
  1541. TextureBinding2DArray = 35869,
  1542. MaxGeometryTextureImageUnits = 35881,
  1543. TextureBuffer = 35882,
  1544. MaxTextureBufferSize = 35883,
  1545. TextureBindingBuffer = 35884,
  1546. TextureBufferDataStoreBinding = 35885,
  1547. SampleShading = 35894,
  1548. MinSampleShadingValue = 35895,
  1549. MaxTransformFeedbackSeparateComponents = 35968,
  1550. MaxTransformFeedbackInterleavedComponents = 35978,
  1551. MaxTransformFeedbackSeparateAttribs = 35979,
  1552. StencilBackRef = 36003,
  1553. StencilBackValueMask = 36004,
  1554. StencilBackWritemask = 36005,
  1555. DrawFramebufferBinding = 36006,
  1556. FramebufferBinding = 36006,
  1557. FramebufferBindingExt = 36006,
  1558. RenderbufferBinding = 36007,
  1559. RenderbufferBindingExt = 36007,
  1560. ReadFramebufferBinding = 36010,
  1561. MaxColorAttachments = 36063,
  1562. MaxColorAttachmentsExt = 36063,
  1563. MaxSamples = 36183,
  1564. FramebufferSrgb = 36281,
  1565. MaxGeometryVaryingComponents = 36317,
  1566. MaxVertexVaryingComponents = 36318,
  1567. MaxGeometryUniformComponents = 36319,
  1568. MaxGeometryOutputVertices = 36320,
  1569. MaxGeometryTotalOutputComponents = 36321,
  1570. MaxSubroutines = 36327,
  1571. MaxSubroutineUniformLocations = 36328,
  1572. ShaderBinaryFormats = 36344,
  1573. NumShaderBinaryFormats = 36345,
  1574. ShaderCompiler = 36346,
  1575. MaxVertexUniformVectors = 36347,
  1576. MaxVaryingVectors = 36348,
  1577. MaxFragmentUniformVectors = 36349,
  1578. MaxCombinedTessControlUniformComponents = 36382,
  1579. MaxCombinedTessEvaluationUniformComponents = 36383,
  1580. TransformFeedbackBufferPaused = 36387,
  1581. TransformFeedbackBufferActive = 36388,
  1582. TransformFeedbackBinding = 36389,
  1583. Timestamp = 36392,
  1584. QuadsFollowProvokingVertexConvention = 36428,
  1585. ProvokingVertex = 36431,
  1586. SampleMask = 36433,
  1587. MaxSampleMaskWords = 36441,
  1588. MaxGeometryShaderInvocations = 36442,
  1589. MinFragmentInterpolationOffset = 36443,
  1590. MaxFragmentInterpolationOffset = 36444,
  1591. FragmentInterpolationOffsetBits = 36445,
  1592. MinProgramTextureGatherOffset = 36446,
  1593. MaxProgramTextureGatherOffset = 36447,
  1594. MaxTransformFeedbackBuffers = 36464,
  1595. MaxVertexStreams = 36465,
  1596. PatchVertices = 36466,
  1597. PatchDefaultInnerLevel = 36467,
  1598. PatchDefaultOuterLevel = 36468,
  1599. MaxPatchVertices = 36477,
  1600. MaxTessGenLevel = 36478,
  1601. MaxTessControlUniformComponents = 36479,
  1602. MaxTessEvaluationUniformComponents = 36480,
  1603. MaxTessControlTextureImageUnits = 36481,
  1604. MaxTessEvaluationTextureImageUnits = 36482,
  1605. MaxTessControlOutputComponents = 36483,
  1606. MaxTessPatchComponents = 36484,
  1607. MaxTessControlTotalOutputComponents = 36485,
  1608. MaxTessEvaluationOutputComponents = 36486,
  1609. MaxTessControlUniformBlocks = 36489,
  1610. MaxTessEvaluationUniformBlocks = 36490,
  1611. DrawIndirectBufferBinding = 36675,
  1612. MaxVertexImageUniforms = 37066,
  1613. MaxTessControlImageUniforms = 37067,
  1614. MaxTessEvaluationImageUniforms = 37068,
  1615. MaxGeometryImageUniforms = 37069,
  1616. MaxFragmentImageUniforms = 37070,
  1617. MaxCombinedImageUniforms = 37071,
  1618. ShaderStorageBufferOffsetAlignment = 37087,
  1619. ContextRobustAccess = 37107,
  1620. TextureBinding2DMultisample = 37124,
  1621. TextureBinding2DMultisampleArray = 37125,
  1622. MaxColorTextureSamples = 37134,
  1623. MaxDepthTextureSamples = 37135,
  1624. MaxIntegerSamples = 37136,
  1625. MaxVertexOutputComponents = 37154,
  1626. MaxGeometryInputComponents = 37155,
  1627. MaxGeometryOutputComponents = 37156,
  1628. MaxFragmentInputComponents = 37157,
  1629. MaxComputeImageUniforms = 37309,
  1630. ClipOrigin = 37724,
  1631. ClipDepthMode = 37725
  1632. }
  1633. public enum TextureParameterName
  1634. {
  1635. TextureBorderColor = 4100,
  1636. TextureMagFilter = 10240,
  1637. TextureMinFilter = 10241,
  1638. TextureWrapS = 10242,
  1639. TextureWrapT = 10243,
  1640. TexturePriority = 32870,
  1641. TexturePriorityExt = 32870,
  1642. TextureDepth = 32881,
  1643. TextureWrapR = 32882,
  1644. TextureWrapRExt = 32882,
  1645. TextureWrapROes = 32882,
  1646. DetailTextureLevelSgis = 32922,
  1647. DetailTextureModeSgis = 32923,
  1648. ShadowAmbientSgix = 32959,
  1649. TextureCompareFailValue = 32959,
  1650. DualTextureSelectSgis = 33060,
  1651. QuadTextureSelectSgis = 33061,
  1652. ClampToBorder = 33069,
  1653. ClampToEdge = 33071,
  1654. TextureWrapQSgis = 33079,
  1655. TextureMinLod = 33082,
  1656. TextureMaxLod = 33083,
  1657. TextureBaseLevel = 33084,
  1658. TextureMaxLevel = 33085,
  1659. TextureClipmapCenterSgix = 33137,
  1660. TextureClipmapFrameSgix = 33138,
  1661. TextureClipmapOffsetSgix = 33139,
  1662. TextureClipmapVirtualDepthSgix = 33140,
  1663. TextureClipmapLodOffsetSgix = 33141,
  1664. TextureClipmapDepthSgix = 33142,
  1665. PostTextureFilterBiasSgix = 33145,
  1666. PostTextureFilterScaleSgix = 33146,
  1667. TextureLodBiasSSgix = 33166,
  1668. TextureLodBiasTSgix = 33167,
  1669. TextureLodBiasRSgix = 33168,
  1670. GenerateMipmap = 33169,
  1671. GenerateMipmapSgis = 33169,
  1672. TextureCompareSgix = 33178,
  1673. TextureMaxClampSSgix = 33641,
  1674. TextureMaxClampTSgix = 33642,
  1675. TextureMaxClampRSgix = 33643,
  1676. TextureLodBias = 34049,
  1677. DepthTextureMode = 34891,
  1678. TextureCompareMode = 34892,
  1679. TextureCompareFunc = 34893,
  1680. TextureSwizzleR = 36418,
  1681. TextureSwizzleG = 36419,
  1682. TextureSwizzleB = 36420,
  1683. TextureSwizzleA = 36421,
  1684. TextureSwizzleRgba = 36422
  1685. }
  1686. public enum StringName
  1687. {
  1688. Vendor = 0x1F00,
  1689. Renderer = 0x1F01,
  1690. Version = 0x1F02,
  1691. ShadingLanguageVersion = 35724,
  1692. }
  1693. public enum StringNameIndexed
  1694. {
  1695. Extensions = 7939
  1696. }
  1697. public enum ObjectLabelIdentifier
  1698. {
  1699. Texture = 5890,
  1700. VertexArray = 32884,
  1701. Buffer = 33504,
  1702. Shader = 33505,
  1703. Program = 33506,
  1704. Query = 33507,
  1705. ProgramPipeline = 33508,
  1706. Sampler = 33510,
  1707. Framebuffer = 36160,
  1708. Renderbuffer = 36161,
  1709. TransformFeedback = 36386
  1710. }
  1711. public enum BlitFramebufferFilter
  1712. {
  1713. Nearest = 9728,
  1714. Linear = 9729
  1715. }
  1716. public enum ErrorCode : int
  1717. {
  1718. NoError = ((int)0),
  1719. InvalidEnum = ((int)0x0500),
  1720. InvalidValue = ((int)0x0501),
  1721. InvalidOperation = ((int)0x0502),
  1722. StackOverflow = ((int)0x0503),
  1723. StackUnderflow = ((int)0x0504),
  1724. OutOfMemory = ((int)0x0505),
  1725. InvalidFramebufferOperation = ((int)0x0506),
  1726. InvalidFramebufferOperationExt = ((int)0x0506),
  1727. InvalidFramebufferOperationOes = ((int)0x0506),
  1728. ContextLost = ((int)0x0507),
  1729. TableTooLarge = ((int)0x8031),
  1730. TableTooLargeExt = ((int)0x8031),
  1731. TextureTooLargeExt = ((int)0x8065),
  1732. }
  1733. public enum ProgramInterface : int
  1734. {
  1735. TransformFeedbackBuffer = ((int)0x8C8E),
  1736. AtomicCounterBuffer = ((int)0x92C0),
  1737. Uniform = ((int)0x92E1),
  1738. UniformBlock = ((int)0x92E2),
  1739. ProgramInput = ((int)0x92E3),
  1740. ProgramOutput = ((int)0x92E4),
  1741. BufferVariable = ((int)0x92E5),
  1742. ShaderStorageBlock = ((int)0x92E6),
  1743. VertexSubroutine = ((int)0x92E8),
  1744. TessControlSubroutine = ((int)0x92E9),
  1745. TessEvaluationSubroutine = ((int)0x92EA),
  1746. GeometrySubroutine = ((int)0x92EB),
  1747. FragmentSubroutine = ((int)0x92EC),
  1748. ComputeSubroutine = ((int)0x92ED),
  1749. VertexSubroutineUniform = ((int)0x92EE),
  1750. TessControlSubroutineUniform = ((int)0x92EF),
  1751. TessEvaluationSubroutineUniform = ((int)0x92F0),
  1752. GeometrySubroutineUniform = ((int)0x92F1),
  1753. FragmentSubroutineUniform = ((int)0x92F2),
  1754. ComputeSubroutineUniform = ((int)0x92F3),
  1755. TransformFeedbackVarying = ((int)0x92F4),
  1756. }
  1757. public enum TextureAccess : int
  1758. {
  1759. ReadOnly = ((int)0x88B8),
  1760. WriteOnly = ((int)0x88B9),
  1761. ReadWrite = ((int)0x88BA),
  1762. }
  1763. public enum SizedInternalFormat : int
  1764. {
  1765. Rgba8 = ((int)0x8058),
  1766. Rgba16 = ((int)0x805B),
  1767. R8 = ((int)0x8229),
  1768. R16 = ((int)0x822A),
  1769. Rg8 = ((int)0x822B),
  1770. Rg16 = ((int)0x822C),
  1771. R16f = ((int)0x822D),
  1772. R32f = ((int)0x822E),
  1773. Rg16f = ((int)0x822F),
  1774. Rg32f = ((int)0x8230),
  1775. R8i = ((int)0x8231),
  1776. R8ui = ((int)0x8232),
  1777. R16i = ((int)0x8233),
  1778. R16ui = ((int)0x8234),
  1779. R32i = ((int)0x8235),
  1780. R32ui = ((int)0x8236),
  1781. Rg8i = ((int)0x8237),
  1782. Rg8ui = ((int)0x8238),
  1783. Rg16i = ((int)0x8239),
  1784. Rg16ui = ((int)0x823A),
  1785. Rg32i = ((int)0x823B),
  1786. Rg32ui = ((int)0x823C),
  1787. Rgba32f = ((int)0x8814),
  1788. Rgba16f = ((int)0x881A),
  1789. Rgba32ui = ((int)0x8D70),
  1790. Rgba16ui = ((int)0x8D76),
  1791. Rgba8ui = ((int)0x8D7C),
  1792. Rgba32i = ((int)0x8D82),
  1793. Rgba16i = ((int)0x8D88),
  1794. Rgba8i = ((int)0x8D8E),
  1795. }
  1796. public enum MemoryBarrierFlags : int
  1797. {
  1798. VertexAttribArrayBarrierBit = ((int)0x00000001),
  1799. ElementArrayBarrierBit = ((int)0x00000002),
  1800. UniformBarrierBit = ((int)0x00000004),
  1801. TextureFetchBarrierBit = ((int)0x00000008),
  1802. ShaderImageAccessBarrierBit = ((int)0x00000020),
  1803. CommandBarrierBit = ((int)0x00000040),
  1804. PixelBufferBarrierBit = ((int)0x00000080),
  1805. TextureUpdateBarrierBit = ((int)0x00000100),
  1806. BufferUpdateBarrierBit = ((int)0x00000200),
  1807. FramebufferBarrierBit = ((int)0x00000400),
  1808. TransformFeedbackBarrierBit = ((int)0x00000800),
  1809. AtomicCounterBarrierBit = ((int)0x00001000),
  1810. ShaderStorageBarrierBit = ((int)0x00002000),
  1811. ClientMappedBufferBarrierBit = ((int)0x00004000),
  1812. QueryBufferBarrierBit = ((int)0x00008000),
  1813. AllBarrierBits = unchecked((int)0xFFFFFFFF),
  1814. }
  1815. public enum BufferAccess : int
  1816. {
  1817. ReadOnly = ((int)0x88B8),
  1818. WriteOnly = ((int)0x88B9),
  1819. ReadWrite = ((int)0x88BA),
  1820. }
  1821. [Flags]
  1822. public enum BufferAccessMask : int
  1823. {
  1824. Read = ((int)0x0001),
  1825. Write = ((int)0x0002),
  1826. InvalidateRange = ((int)0x0004),
  1827. InvalidateBuffer = ((int)0x0008),
  1828. FlushExplicit = ((int)0x0010),
  1829. Unsynchronized = ((int)0x0020),
  1830. Persistent = ((int)0x0040),
  1831. Coherent = ((int)0x0080),
  1832. }
  1833. public enum StencilFunction : int
  1834. {
  1835. Never = ((int)0x0200),
  1836. Less = ((int)0x0201),
  1837. Equal = ((int)0x0202),
  1838. Lequal = ((int)0x0203),
  1839. Greater = ((int)0x0204),
  1840. Notequal = ((int)0x0205),
  1841. Gequal = ((int)0x0206),
  1842. Always = ((int)0x0207),
  1843. }
  1844. public enum StencilOp : int
  1845. {
  1846. Zero = ((int)0),
  1847. Invert = ((int)0x150A),
  1848. Keep = ((int)0x1E00),
  1849. Replace = ((int)0x1E01),
  1850. Incr = ((int)0x1E02),
  1851. Decr = ((int)0x1E03),
  1852. IncrWrap = ((int)0x8507),
  1853. DecrWrap = ((int)0x8508),
  1854. }
  1855. public enum ActiveUniformBlockParameter : int
  1856. {
  1857. UniformBlockReferencedByTessControlShader = ((int)0x84F0),
  1858. UniformBlockReferencedByTessEvaluationShader = ((int)0x84F1),
  1859. UniformBlockBinding = ((int)0x8A3F),
  1860. UniformBlockDataSize = ((int)0x8A40),
  1861. UniformBlockNameLength = ((int)0x8A41),
  1862. UniformBlockActiveUniforms = ((int)0x8A42),
  1863. UniformBlockActiveUniformIndices = ((int)0x8A43),
  1864. UniformBlockReferencedByVertexShader = ((int)0x8A44),
  1865. UniformBlockReferencedByGeometryShader = ((int)0x8A45),
  1866. UniformBlockReferencedByFragmentShader = ((int)0x8A46),
  1867. UniformBlockReferencedByComputeShader = ((int)0x90EC),
  1868. }
  1869. public enum GetTextureParameter : int
  1870. {
  1871. TextureWidth = ((int)0x1000),
  1872. TextureHeight = ((int)0x1001),
  1873. TextureComponents = ((int)0x1003),
  1874. TextureInternalFormat = ((int)0x1003),
  1875. TextureBorderColor = ((int)0x1004),
  1876. TextureBorderColorNv = ((int)0x1004),
  1877. TextureBorder = ((int)0x1005),
  1878. TextureTarget = ((int)0x1006),
  1879. TextureMagFilter = ((int)0x2800),
  1880. TextureMinFilter = ((int)0x2801),
  1881. TextureWrapS = ((int)0x2802),
  1882. TextureWrapT = ((int)0x2803),
  1883. TextureRedSize = ((int)0x805C),
  1884. TextureGreenSize = ((int)0x805D),
  1885. TextureBlueSize = ((int)0x805E),
  1886. TextureAlphaSize = ((int)0x805F),
  1887. TextureLuminanceSize = ((int)0x8060),
  1888. TextureIntensitySize = ((int)0x8061),
  1889. TexturePriority = ((int)0x8066),
  1890. TextureResident = ((int)0x8067),
  1891. TextureDepth = ((int)0x8071),
  1892. TextureDepthExt = ((int)0x8071),
  1893. TextureWrapR = ((int)0x8072),
  1894. TextureWrapRExt = ((int)0x8072),
  1895. DetailTextureLevelSgis = ((int)0x809A),
  1896. DetailTextureModeSgis = ((int)0x809B),
  1897. DetailTextureFuncPointsSgis = ((int)0x809C),
  1898. SharpenTextureFuncPointsSgis = ((int)0x80B0),
  1899. ShadowAmbientSgix = ((int)0x80BF),
  1900. DualTextureSelectSgis = ((int)0x8124),
  1901. QuadTextureSelectSgis = ((int)0x8125),
  1902. Texture4DsizeSgis = ((int)0x8136),
  1903. TextureWrapQSgis = ((int)0x8137),
  1904. TextureMinLod = ((int)0x813A),
  1905. TextureMinLodSgis = ((int)0x813A),
  1906. TextureMaxLod = ((int)0x813B),
  1907. TextureMaxLodSgis = ((int)0x813B),
  1908. TextureBaseLevel = ((int)0x813C),
  1909. TextureBaseLevelSgis = ((int)0x813C),
  1910. TextureMaxLevel = ((int)0x813D),
  1911. TextureMaxLevelSgis = ((int)0x813D),
  1912. TextureFilter4SizeSgis = ((int)0x8147),
  1913. TextureClipmapCenterSgix = ((int)0x8171),
  1914. TextureClipmapFrameSgix = ((int)0x8172),
  1915. TextureClipmapOffsetSgix = ((int)0x8173),
  1916. TextureClipmapVirtualDepthSgix = ((int)0x8174),
  1917. TextureClipmapLodOffsetSgix = ((int)0x8175),
  1918. TextureClipmapDepthSgix = ((int)0x8176),
  1919. PostTextureFilterBiasSgix = ((int)0x8179),
  1920. PostTextureFilterScaleSgix = ((int)0x817A),
  1921. TextureLodBiasSSgix = ((int)0x818E),
  1922. TextureLodBiasTSgix = ((int)0x818F),
  1923. TextureLodBiasRSgix = ((int)0x8190),
  1924. GenerateMipmap = ((int)0x8191),
  1925. GenerateMipmapSgis = ((int)0x8191),
  1926. TextureCompareSgix = ((int)0x819A),
  1927. TextureCompareOperatorSgix = ((int)0x819B),
  1928. TextureLequalRSgix = ((int)0x819C),
  1929. TextureGequalRSgix = ((int)0x819D),
  1930. TextureViewMinLevel = ((int)0x82DB),
  1931. TextureViewNumLevels = ((int)0x82DC),
  1932. TextureViewMinLayer = ((int)0x82DD),
  1933. TextureViewNumLayers = ((int)0x82DE),
  1934. TextureImmutableLevels = ((int)0x82DF),
  1935. TextureMaxClampSSgix = ((int)0x8369),
  1936. TextureMaxClampTSgix = ((int)0x836A),
  1937. TextureMaxClampRSgix = ((int)0x836B),
  1938. TextureCompressedImageSize = ((int)0x86A0),
  1939. TextureCompressed = ((int)0x86A1),
  1940. TextureDepthSize = ((int)0x884A),
  1941. DepthTextureMode = ((int)0x884B),
  1942. TextureCompareMode = ((int)0x884C),
  1943. TextureCompareFunc = ((int)0x884D),
  1944. TextureStencilSize = ((int)0x88F1),
  1945. TextureRedType = ((int)0x8C10),
  1946. TextureGreenType = ((int)0x8C11),
  1947. TextureBlueType = ((int)0x8C12),
  1948. TextureAlphaType = ((int)0x8C13),
  1949. TextureLuminanceType = ((int)0x8C14),
  1950. TextureIntensityType = ((int)0x8C15),
  1951. TextureDepthType = ((int)0x8C16),
  1952. TextureSharedSize = ((int)0x8C3F),
  1953. TextureSwizzleR = ((int)0x8E42),
  1954. TextureSwizzleG = ((int)0x8E43),
  1955. TextureSwizzleB = ((int)0x8E44),
  1956. TextureSwizzleA = ((int)0x8E45),
  1957. TextureSwizzleRgba = ((int)0x8E46),
  1958. ImageFormatCompatibilityType = ((int)0x90C7),
  1959. TextureSamples = ((int)0x9106),
  1960. TextureFixedSampleLocations = ((int)0x9107),
  1961. TextureImmutableFormat = ((int)0x912F),
  1962. }
  1963. public enum RenderbufferPname
  1964. {
  1965. RenderbufferWidth = 0x8D42,
  1966. RenderbufferHeight = 0x8D43,
  1967. }
  1968. public enum ClipControlOrigin
  1969. {
  1970. LowerLeft = 0x8CA1,
  1971. UpperLeft = 0x8CA2,
  1972. }
  1973. public enum ClipControlDepthRange
  1974. {
  1975. NegativeOneToOne = 0x935E,
  1976. ZeroToOne = 0x935F,
  1977. }
  1978. public enum FramebufferParameterName
  1979. {
  1980. ColorEncoding = 0x8210,
  1981. ComponentType = 0x8211,
  1982. RedSize = 0x8212,
  1983. GreenSize = 0x8213,
  1984. BlueSize = 0x8214,
  1985. AlphaSize = 0x8215,
  1986. DepthSize = 0x8216,
  1987. StencilSize = 0x8217,
  1988. ObjectType = 0x8CD0,
  1989. ObjectName = 0x8CD1,
  1990. TextureLvel = 0x8CD2,
  1991. CubeMapFace = 0x8CD3,
  1992. TextureLayer = 0x8CD4,
  1993. Layered = 0x8DA7,
  1994. LayerTargets = 0x8DA8,
  1995. }
  1996. }