#region License // // The Open Toolkit Library License // // Copyright (c) 2006 - 2009 the Open Toolkit library. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights to // use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // the Software, and to permit persons to whom the Software is furnished to do // so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in all // copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES // OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, // WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR // OTHER DEALINGS IN THE SOFTWARE. // #endregion using System; namespace OpenTK.Graphics.ES20 { #pragma warning disable 1591 public enum All { False = ((int)0), NoError = ((int)0), None = ((int)0), Zero = ((int)0), Points = ((int)0X0000), DepthBufferBit = ((int)0X00000100), StencilBufferBit = ((int)0X00000400), ColorBufferBit = ((int)0X00004000), Lines = ((int)0X0001), LineLoop = ((int)0X0002), LineStrip = ((int)0X0003), Triangles = ((int)0X0004), TriangleStrip = ((int)0X0005), TriangleFan = ((int)0X0006), Never = ((int)0X0200), Less = ((int)0X0201), Equal = ((int)0X0202), Lequal = ((int)0X0203), Greater = ((int)0X0204), Notequal = ((int)0X0205), Gequal = ((int)0X0206), Always = ((int)0X0207), SrcColor = ((int)0X0300), OneMinusSrcColor = ((int)0X0301), SrcAlpha = ((int)0X0302), OneMinusSrcAlpha = ((int)0X0303), DstAlpha = ((int)0X0304), OneMinusDstAlpha = ((int)0X0305), DstColor = ((int)0X0306), OneMinusDstColor = ((int)0X0307), SrcAlphaSaturate = ((int)0X0308), Front = ((int)0X0404), Back = ((int)0X0405), FrontAndBack = ((int)0X0408), InvalidEnum = ((int)0X0500), InvalidValue = ((int)0X0501), InvalidOperation = ((int)0X0502), OutOfMemory = ((int)0X0505), InvalidFramebufferOperation = ((int)0X0506), Cw = ((int)0X0900), Ccw = ((int)0X0901), LineWidth = ((int)0X0b21), CullFace = ((int)0X0b44), CullFaceMode = ((int)0X0b45), FrontFace = ((int)0X0b46), DepthRange = ((int)0X0b70), DepthTest = ((int)0X0b71), DepthWritemask = ((int)0X0b72), DepthClearValue = ((int)0X0b73), DepthFunc = ((int)0X0b74), StencilTest = ((int)0X0b90), StencilClearValue = ((int)0X0b91), StencilFunc = ((int)0X0b92), StencilValueMask = ((int)0X0b93), StencilFail = ((int)0X0b94), StencilPassDepthFail = ((int)0X0b95), StencilPassDepthPass = ((int)0X0b96), StencilRef = ((int)0X0b97), StencilWritemask = ((int)0X0b98), Viewport = ((int)0X0ba2), Dither = ((int)0X0bd0), Blend = ((int)0X0be2), ScissorBox = ((int)0X0c10), ScissorTest = ((int)0X0c11), ColorClearValue = ((int)0X0c22), ColorWritemask = ((int)0X0c23), UnpackAlignment = ((int)0X0cf5), PackAlignment = ((int)0X0d05), MaxTextureSize = ((int)0X0d33), MaxViewportDims = ((int)0X0d3a), SubpixelBits = ((int)0X0d50), RedBits = ((int)0X0d52), GreenBits = ((int)0X0d53), BlueBits = ((int)0X0d54), AlphaBits = ((int)0X0d55), DepthBits = ((int)0X0d56), StencilBits = ((int)0X0d57), Texture2D = ((int)0X0de1), DontCare = ((int)0X1100), Fastest = ((int)0X1101), Nicest = ((int)0X1102), Byte = ((int)0X1400), UnsignedByte = ((int)0X1401), Short = ((int)0X1402), UnsignedShort = ((int)0X1403), Int = ((int)0X1404), UnsignedInt = ((int)0X1405), Float = ((int)0X1406), Fixed = ((int)0X140c), Invert = ((int)0X150a), Texture = ((int)0X1702), StencilIndex = ((int)0X1901), DepthComponent = ((int)0X1902), Alpha = ((int)0X1906), Rgb = ((int)0X1907), Rgba = ((int)0X1908), Luminance = ((int)0X1909), LuminanceAlpha = ((int)0X190a), Keep = ((int)0X1e00), Replace = ((int)0X1e01), Incr = ((int)0X1e02), Decr = ((int)0X1e03), Vendor = ((int)0X1f00), Renderer = ((int)0X1f01), Version = ((int)0X1f02), Extensions = ((int)0X1f03), Nearest = ((int)0X2600), Linear = ((int)0X2601), NearestMipmapNearest = ((int)0X2700), LinearMipmapNearest = ((int)0X2701), NearestMipmapLinear = ((int)0X2702), LinearMipmapLinear = ((int)0X2703), TextureMagFilter = ((int)0X2800), TextureMinFilter = ((int)0X2801), TextureWrapS = ((int)0X2802), TextureWrapT = ((int)0X2803), Repeat = ((int)0X2901), PolygonOffsetUnits = ((int)0X2a00), ConstantColor = ((int)0X8001), OneMinusConstantColor = ((int)0X8002), ConstantAlpha = ((int)0X8003), OneMinusConstantAlpha = ((int)0X8004), BlendColor = ((int)0X8005), FuncAdd = ((int)0X8006), BlendEquation = ((int)0X8009), BlendEquationRgb = ((int)0X8009), FuncSubtract = ((int)0X800a), FuncReverseSubtract = ((int)0X800b), UnsignedShort4444 = ((int)0X8033), UnsignedShort5551 = ((int)0X8034), PolygonOffsetFill = ((int)0X8037), PolygonOffsetFactor = ((int)0X8038), Rgba4 = ((int)0X8056), Rgb5A1 = ((int)0X8057), TextureBinding2D = ((int)0X8069), SampleAlphaToCoverage = ((int)0X809e), SampleCoverage = ((int)0X80a0), SampleBuffers = ((int)0X80a8), Samples = ((int)0X80a9), SampleCoverageValue = ((int)0X80aa), SampleCoverageInvert = ((int)0X80ab), BlendDstRgb = ((int)0X80c8), BlendSrcRgb = ((int)0X80c9), BlendDstAlpha = ((int)0X80ca), BlendSrcAlpha = ((int)0X80cb), ClampToEdge = ((int)0X812f), GenerateMipmapHint = ((int)0X8192), DepthComponent16 = ((int)0X81a5), UnsignedShort565 = ((int)0X8363), MirroredRepeat = ((int)0X8370), AliasedPointSizeRange = ((int)0X846d), AliasedLineWidthRange = ((int)0X846e), Texture0 = ((int)0X84c0), Texture1 = ((int)0X84c1), Texture2 = ((int)0X84c2), Texture3 = ((int)0X84c3), Texture4 = ((int)0X84c4), Texture5 = ((int)0X84c5), Texture6 = ((int)0X84c6), Texture7 = ((int)0X84c7), Texture8 = ((int)0X84c8), Texture9 = ((int)0X84c9), Texture10 = ((int)0X84ca), Texture11 = ((int)0X84cb), Texture12 = ((int)0X84cc), Texture13 = ((int)0X84cd), Texture14 = ((int)0X84ce), Texture15 = ((int)0X84cf), Texture16 = ((int)0X84d0), Texture17 = ((int)0X84d1), Texture18 = ((int)0X84d2), Texture19 = ((int)0X84d3), Texture20 = ((int)0X84d4), Texture21 = ((int)0X84d5), Texture22 = ((int)0X84d6), Texture23 = ((int)0X84d7), Texture24 = ((int)0X84d8), Texture25 = ((int)0X84d9), Texture26 = ((int)0X84da), Texture27 = ((int)0X84db), Texture28 = ((int)0X84dc), Texture29 = ((int)0X84dd), Texture30 = ((int)0X84de), Texture31 = ((int)0X84df), ActiveTexture = ((int)0X84e0), MaxRenderbufferSize = ((int)0X84e8), IncrWrap = ((int)0X8507), DecrWrap = ((int)0X8508), TextureCubeMap = ((int)0X8513), TextureBindingCubeMap = ((int)0X8514), TextureCubeMapPositiveX = ((int)0X8515), TextureCubeMapNegativeX = ((int)0X8516), TextureCubeMapPositiveY = ((int)0X8517), TextureCubeMapNegativeY = ((int)0X8518), TextureCubeMapPositiveZ = ((int)0X8519), TextureCubeMapNegativeZ = ((int)0X851a), MaxCubeMapTextureSize = ((int)0X851c), VertexAttribArrayEnabled = ((int)0X8622), VertexAttribArraySize = ((int)0X8623), VertexAttribArrayStride = ((int)0X8624), VertexAttribArrayType = ((int)0X8625), CurrentVertexAttrib = ((int)0X8626), VertexAttribArrayPointer = ((int)0X8645), NumCompressedTextureFormats = ((int)0X86a2), CompressedTextureFormats = ((int)0X86a3), BufferSize = ((int)0X8764), BufferUsage = ((int)0X8765), StencilBackFunc = ((int)0X8800), StencilBackFail = ((int)0X8801), StencilBackPassDepthFail = ((int)0X8802), StencilBackPassDepthPass = ((int)0X8803), BlendEquationAlpha = ((int)0X883d), MaxVertexAttribs = ((int)0X8869), VertexAttribArrayNormalized = ((int)0X886a), MaxTextureImageUnits = ((int)0X8872), ArrayBuffer = ((int)0X8892), ElementArrayBuffer = ((int)0X8893), ArrayBufferBinding = ((int)0X8894), ElementArrayBufferBinding = ((int)0X8895), VertexAttribArrayBufferBinding = ((int)0X889f), StreamDraw = ((int)0X88e0), StaticDraw = ((int)0X88e4), DynamicDraw = ((int)0X88e8), FragmentShader = ((int)0X8b30), VertexShader = ((int)0X8b31), MaxVertexTextureImageUnits = ((int)0X8b4c), MaxCombinedTextureImageUnits = ((int)0X8b4d), ShaderType = ((int)0X8b4f), FloatVec2 = ((int)0X8b50), FloatVec3 = ((int)0X8b51), FloatVec4 = ((int)0X8b52), IntVec2 = ((int)0X8b53), IntVec3 = ((int)0X8b54), IntVec4 = ((int)0X8b55), Bool = ((int)0X8b56), BoolVec2 = ((int)0X8b57), BoolVec3 = ((int)0X8b58), BoolVec4 = ((int)0X8b59), FloatMat2 = ((int)0X8b5a), FloatMat3 = ((int)0X8b5b), FloatMat4 = ((int)0X8b5c), Sampler2D = ((int)0X8b5e), SamplerCube = ((int)0X8b60), DeleteStatus = ((int)0X8b80), CompileStatus = ((int)0X8b81), LinkStatus = ((int)0X8b82), ValidateStatus = ((int)0X8b83), InfoLogLength = ((int)0X8b84), AttachedShaders = ((int)0X8b85), ActiveUniforms = ((int)0X8b86), ActiveUniformMaxLength = ((int)0X8b87), ShaderSourceLength = ((int)0X8b88), ActiveAttributes = ((int)0X8b89), ActiveAttributeMaxLength = ((int)0X8b8a), ShadingLanguageVersion = ((int)0X8b8c), CurrentProgram = ((int)0X8b8d), ImplementationColorReadType = ((int)0X8b9a), ImplementationColorReadFormat = ((int)0X8b9b), StencilBackRef = ((int)0X8ca3), StencilBackValueMask = ((int)0X8ca4), StencilBackWritemask = ((int)0X8ca5), FramebufferBinding = ((int)0X8ca6), RenderbufferBinding = ((int)0X8ca7), FramebufferAttachmentObjectType = ((int)0X8cd0), FramebufferAttachmentObjectName = ((int)0X8cd1), FramebufferAttachmentTextureLevel = ((int)0X8cd2), FramebufferAttachmentTextureCubeMapFace = ((int)0X8cd3), FramebufferComplete = ((int)0X8cd5), FramebufferIncompleteAttachment = ((int)0X8cd6), FramebufferIncompleteMissingAttachment = ((int)0X8cd7), FramebufferIncompleteDimensions = ((int)0X8cd9), FramebufferUnsupported = ((int)0X8cdd), ColorAttachment0 = ((int)0X8ce0), DepthAttachment = ((int)0X8d00), StencilAttachment = ((int)0X8d20), Framebuffer = ((int)0X8d40), Renderbuffer = ((int)0X8d41), RenderbufferWidth = ((int)0X8d42), RenderbufferHeight = ((int)0X8d43), RenderbufferInternalFormat = ((int)0X8d44), StencilIndex8 = ((int)0X8d48), RenderbufferRedSize = ((int)0X8d50), RenderbufferGreenSize = ((int)0X8d51), RenderbufferBlueSize = ((int)0X8d52), RenderbufferAlphaSize = ((int)0X8d53), RenderbufferDepthSize = ((int)0X8d54), RenderbufferStencilSize = ((int)0X8d55), Rgb565 = ((int)0X8d62), LowFloat = ((int)0X8df0), MediumFloat = ((int)0X8df1), HighFloat = ((int)0X8df2), LowInt = ((int)0X8df3), MediumInt = ((int)0X8df4), HighInt = ((int)0X8df5), ShaderBinaryFormats = ((int)0X8df8), NumShaderBinaryFormats = ((int)0X8df9), ShaderCompiler = ((int)0X8dfa), MaxVertexUniformVectors = ((int)0X8dfb), MaxVaryingVectors = ((int)0X8dfc), MaxFragmentUniformVectors = ((int)0X8dfd), EsVersion20 = ((int)1), One = ((int)1), True = ((int)1), } public enum BeginMode { Points = ((int)0X0000), Lines = ((int)0X0001), LineLoop = ((int)0X0002), LineStrip = ((int)0X0003), Triangles = ((int)0X0004), TriangleStrip = ((int)0X0005), TriangleFan = ((int)0X0006), } public enum BlendEquationSeparate { FuncAdd = ((int)0X8006), BlendEquation = ((int)0X8009), BlendEquationRgb = ((int)0X8009), BlendEquationAlpha = ((int)0X883d), } public enum BlendingFactorDest { Zero = ((int)0), SrcColor = ((int)0X0300), OneMinusSrcColor = ((int)0X0301), SrcAlpha = ((int)0X0302), OneMinusSrcAlpha = ((int)0X0303), DstAlpha = ((int)0X0304), OneMinusDstAlpha = ((int)0X0305), One = ((int)1), } public enum BlendingFactorSrc { DstColor = ((int)0X0306), OneMinusDstColor = ((int)0X0307), SrcAlphaSaturate = ((int)0X0308), } public enum BlendSubtract { FuncSubtract = ((int)0X800a), FuncReverseSubtract = ((int)0X800b), } public enum Boolean { False = ((int)0), True = ((int)1), } public enum BufferObjects { CurrentVertexAttrib = ((int)0X8626), BufferSize = ((int)0X8764), BufferUsage = ((int)0X8765), ArrayBuffer = ((int)0X8892), ElementArrayBuffer = ((int)0X8893), ArrayBufferBinding = ((int)0X8894), ElementArrayBufferBinding = ((int)0X8895), StreamDraw = ((int)0X88e0), StaticDraw = ((int)0X88e4), DynamicDraw = ((int)0X88e8), } [Flags] public enum ClearBufferMask { DepthBufferBit = ((int)0X00000100), StencilBufferBit = ((int)0X00000400), ColorBufferBit = ((int)0X00004000), } public enum CullFaceMode { Front = ((int)0X0404), Back = ((int)0X0405), FrontAndBack = ((int)0X0408), } public enum DataType { Byte = ((int)0X1400), UnsignedByte = ((int)0X1401), Short = ((int)0X1402), UnsignedShort = ((int)0X1403), Int = ((int)0X1404), UnsignedInt = ((int)0X1405), Float = ((int)0X1406), Fixed = ((int)0X140c), } public enum EnableCap { CullFace = ((int)0X0b44), DepthTest = ((int)0X0b71), StencilTest = ((int)0X0b90), Dither = ((int)0X0bd0), Blend = ((int)0X0be2), ScissorTest = ((int)0X0c11), Texture2D = ((int)0X0de1), PolygonOffsetFill = ((int)0X8037), SampleAlphaToCoverage = ((int)0X809e), SampleCoverage = ((int)0X80a0), } public enum ErrorCode { NoError = ((int)0), InvalidEnum = ((int)0X0500), InvalidValue = ((int)0X0501), InvalidOperation = ((int)0X0502), OutOfMemory = ((int)0X0505), } public enum FramebufferObject { None = ((int)0), InvalidFramebufferOperation = ((int)0X0506), StencilIndex = ((int)0X1901), Rgba4 = ((int)0X8056), Rgb5A1 = ((int)0X8057), DepthComponent16 = ((int)0X81a5), MaxRenderbufferSize = ((int)0X84e8), FramebufferBinding = ((int)0X8ca6), RenderbufferBinding = ((int)0X8ca7), FramebufferAttachmentObjectType = ((int)0X8cd0), FramebufferAttachmentObjectName = ((int)0X8cd1), FramebufferAttachmentTextureLevel = ((int)0X8cd2), FramebufferAttachmentTextureCubeMapFace = ((int)0X8cd3), FramebufferComplete = ((int)0X8cd5), FramebufferIncompleteAttachment = ((int)0X8cd6), FramebufferIncompleteMissingAttachment = ((int)0X8cd7), FramebufferIncompleteDimensions = ((int)0X8cd9), FramebufferUnsupported = ((int)0X8cdd), ColorAttachment0 = ((int)0X8ce0), DepthAttachment = ((int)0X8d00), StencilAttachment = ((int)0X8d20), Framebuffer = ((int)0X8d40), Renderbuffer = ((int)0X8d41), RenderbufferWidth = ((int)0X8d42), RenderbufferHeight = ((int)0X8d43), RenderbufferInternalFormat = ((int)0X8d44), StencilIndex8 = ((int)0X8d48), RenderbufferRedSize = ((int)0X8d50), RenderbufferGreenSize = ((int)0X8d51), RenderbufferBlueSize = ((int)0X8d52), RenderbufferAlphaSize = ((int)0X8d53), RenderbufferDepthSize = ((int)0X8d54), RenderbufferStencilSize = ((int)0X8d55), Rgb565 = ((int)0X8d62), } public enum FrontFaceDirection { Cw = ((int)0X0900), Ccw = ((int)0X0901), } public enum GetPName { LineWidth = ((int)0X0b21), CullFaceMode = ((int)0X0b45), FrontFace = ((int)0X0b46), DepthRange = ((int)0X0b70), DepthWritemask = ((int)0X0b72), DepthClearValue = ((int)0X0b73), DepthFunc = ((int)0X0b74), StencilClearValue = ((int)0X0b91), StencilFunc = ((int)0X0b92), StencilValueMask = ((int)0X0b93), StencilFail = ((int)0X0b94), StencilPassDepthFail = ((int)0X0b95), StencilPassDepthPass = ((int)0X0b96), StencilRef = ((int)0X0b97), StencilWritemask = ((int)0X0b98), Viewport = ((int)0X0ba2), ScissorBox = ((int)0X0c10), ColorClearValue = ((int)0X0c22), ColorWritemask = ((int)0X0c23), UnpackAlignment = ((int)0X0cf5), PackAlignment = ((int)0X0d05), MaxTextureSize = ((int)0X0d33), MaxViewportDims = ((int)0X0d3a), SubpixelBits = ((int)0X0d50), RedBits = ((int)0X0d52), GreenBits = ((int)0X0d53), BlueBits = ((int)0X0d54), AlphaBits = ((int)0X0d55), DepthBits = ((int)0X0d56), StencilBits = ((int)0X0d57), PolygonOffsetUnits = ((int)0X2a00), PolygonOffsetFactor = ((int)0X8038), TextureBinding2D = ((int)0X8069), SampleBuffers = ((int)0X80a8), Samples = ((int)0X80a9), SampleCoverageValue = ((int)0X80aa), SampleCoverageInvert = ((int)0X80ab), AliasedPointSizeRange = ((int)0X846d), AliasedLineWidthRange = ((int)0X846e), StencilBackFunc = ((int)0X8800), StencilBackFail = ((int)0X8801), StencilBackPassDepthFail = ((int)0X8802), StencilBackPassDepthPass = ((int)0X8803), StencilBackRef = ((int)0X8ca3), StencilBackValueMask = ((int)0X8ca4), StencilBackWritemask = ((int)0X8ca5), } public enum GetTextureParameter { NumCompressedTextureFormats = ((int)0X86a2), CompressedTextureFormats = ((int)0X86a3), } public enum HintMode { DontCare = ((int)0X1100), Fastest = ((int)0X1101), Nicest = ((int)0X1102), } public enum HintTarget { GenerateMipmapHint = ((int)0X8192), } public enum PixelFormat { DepthComponent = ((int)0X1902), Alpha = ((int)0X1906), Rgb = ((int)0X1907), Rgba = ((int)0X1908), Luminance = ((int)0X1909), LuminanceAlpha = ((int)0X190a), } public enum PixelType { UnsignedShort4444 = ((int)0X8033), UnsignedShort5551 = ((int)0X8034), UnsignedShort565 = ((int)0X8363), } public enum ReadFormat { ImplementationColorReadType = ((int)0X8b9a), ImplementationColorReadFormat = ((int)0X8b9b), } public enum SeparateBlendFunctions { ConstantColor = ((int)0X8001), OneMinusConstantColor = ((int)0X8002), ConstantAlpha = ((int)0X8003), OneMinusConstantAlpha = ((int)0X8004), BlendColor = ((int)0X8005), BlendDstRgb = ((int)0X80c8), BlendSrcRgb = ((int)0X80c9), BlendDstAlpha = ((int)0X80ca), BlendSrcAlpha = ((int)0X80cb), } public enum ShaderBinary { ShaderBinaryFormats = ((int)0X8df8), NumShaderBinaryFormats = ((int)0X8df9), } public enum ShaderPrecision { LowFloat = ((int)0X8df0), MediumFloat = ((int)0X8df1), HighFloat = ((int)0X8df2), LowInt = ((int)0X8df3), MediumInt = ((int)0X8df4), HighInt = ((int)0X8df5), } public enum Shaders { MaxVertexAttribs = ((int)0X8869), MaxTextureImageUnits = ((int)0X8872), FragmentShader = ((int)0X8b30), VertexShader = ((int)0X8b31), MaxVertexTextureImageUnits = ((int)0X8b4c), MaxCombinedTextureImageUnits = ((int)0X8b4d), ShaderType = ((int)0X8b4f), DeleteStatus = ((int)0X8b80), LinkStatus = ((int)0X8b82), ValidateStatus = ((int)0X8b83), AttachedShaders = ((int)0X8b85), ActiveUniforms = ((int)0X8b86), ActiveUniformMaxLength = ((int)0X8b87), ActiveAttributes = ((int)0X8b89), ActiveAttributeMaxLength = ((int)0X8b8a), ShadingLanguageVersion = ((int)0X8b8c), CurrentProgram = ((int)0X8b8d), MaxVertexUniformVectors = ((int)0X8dfb), MaxVaryingVectors = ((int)0X8dfc), MaxFragmentUniformVectors = ((int)0X8dfd), } public enum ShaderSource { CompileStatus = ((int)0X8b81), InfoLogLength = ((int)0X8b84), ShaderSourceLength = ((int)0X8b88), ShaderCompiler = ((int)0X8dfa), } public enum StencilFunction { Never = ((int)0X0200), Less = ((int)0X0201), Equal = ((int)0X0202), Lequal = ((int)0X0203), Greater = ((int)0X0204), Notequal = ((int)0X0205), Gequal = ((int)0X0206), Always = ((int)0X0207), } public enum StencilOp { Invert = ((int)0X150a), Keep = ((int)0X1e00), Replace = ((int)0X1e01), Incr = ((int)0X1e02), Decr = ((int)0X1e03), IncrWrap = ((int)0X8507), DecrWrap = ((int)0X8508), } public enum StringName { Vendor = ((int)0X1f00), Renderer = ((int)0X1f01), Version = ((int)0X1f02), Extensions = ((int)0X1f03), } public enum TextureMagFilter { Nearest = ((int)0X2600), Linear = ((int)0X2601), } public enum TextureMinFilter { NearestMipmapNearest = ((int)0X2700), LinearMipmapNearest = ((int)0X2701), NearestMipmapLinear = ((int)0X2702), LinearMipmapLinear = ((int)0X2703), } public enum TextureParameterName { TextureMagFilter = ((int)0X2800), TextureMinFilter = ((int)0X2801), TextureWrapS = ((int)0X2802), TextureWrapT = ((int)0X2803), } public enum TextureTarget { Texture = ((int)0X1702), TextureCubeMap = ((int)0X8513), TextureBindingCubeMap = ((int)0X8514), TextureCubeMapPositiveX = ((int)0X8515), TextureCubeMapNegativeX = ((int)0X8516), TextureCubeMapPositiveY = ((int)0X8517), TextureCubeMapNegativeY = ((int)0X8518), TextureCubeMapPositiveZ = ((int)0X8519), TextureCubeMapNegativeZ = ((int)0X851a), MaxCubeMapTextureSize = ((int)0X851c), } public enum TextureUnit { Texture0 = ((int)0X84c0), Texture1 = ((int)0X84c1), Texture2 = ((int)0X84c2), Texture3 = ((int)0X84c3), Texture4 = ((int)0X84c4), Texture5 = ((int)0X84c5), Texture6 = ((int)0X84c6), Texture7 = ((int)0X84c7), Texture8 = ((int)0X84c8), Texture9 = ((int)0X84c9), Texture10 = ((int)0X84ca), Texture11 = ((int)0X84cb), Texture12 = ((int)0X84cc), Texture13 = ((int)0X84cd), Texture14 = ((int)0X84ce), Texture15 = ((int)0X84cf), Texture16 = ((int)0X84d0), Texture17 = ((int)0X84d1), Texture18 = ((int)0X84d2), Texture19 = ((int)0X84d3), Texture20 = ((int)0X84d4), Texture21 = ((int)0X84d5), Texture22 = ((int)0X84d6), Texture23 = ((int)0X84d7), Texture24 = ((int)0X84d8), Texture25 = ((int)0X84d9), Texture26 = ((int)0X84da), Texture27 = ((int)0X84db), Texture28 = ((int)0X84dc), Texture29 = ((int)0X84dd), Texture30 = ((int)0X84de), Texture31 = ((int)0X84df), ActiveTexture = ((int)0X84e0), } public enum TextureWrapMode { Repeat = ((int)0X2901), ClampToEdge = ((int)0X812f), MirroredRepeat = ((int)0X8370), } public enum UniformTypes { FloatVec2 = ((int)0X8b50), FloatVec3 = ((int)0X8b51), FloatVec4 = ((int)0X8b52), IntVec2 = ((int)0X8b53), IntVec3 = ((int)0X8b54), IntVec4 = ((int)0X8b55), Bool = ((int)0X8b56), BoolVec2 = ((int)0X8b57), BoolVec3 = ((int)0X8b58), BoolVec4 = ((int)0X8b59), FloatMat2 = ((int)0X8b5a), FloatMat3 = ((int)0X8b5b), FloatMat4 = ((int)0X8b5c), Sampler2D = ((int)0X8b5e), SamplerCube = ((int)0X8b60), } public enum Version { EsVersion20 = ((int)1), } public enum VertexArrays { VertexAttribArrayEnabled = ((int)0X8622), VertexAttribArraySize = ((int)0X8623), VertexAttribArrayStride = ((int)0X8624), VertexAttribArrayType = ((int)0X8625), VertexAttribArrayPointer = ((int)0X8645), VertexAttribArrayNormalized = ((int)0X886a), VertexAttribArrayBufferBinding = ((int)0X889f), } }