Opentk/Source/Bind/Specifications/ES20/overrides.xml

675 lines
26 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<overrides>
<replace>
<function name="GetString" extension="Core">
<returns>String</returns>
</function>
<function name="ShaderSource" extension="Core">
<param name="string"><type>String*</type></param>
</function>
<function name="GetShaderSource" extension="Core">
<param name="source"><flow>out</flow></param>
</function>
<function name="GetProgramInfoLog" extension="Core">
<param name="infolog"><flow>out</flow></param>
</function>
<!-- strong types -->
<function name="BlendEquation" extension="Core" version="2.0">
<param name="mode"><type>BlendMode</type></param>
</function>
<function name="BlendEquationSeparate" extension="Core" version="2.0">
<param name="modeRGB"><type>BlendMode</type></param>
<param name="modeAlpha"><type>BlendMode</type></param>
</function>
<function name="BlendFunc" extension="Core" version="2.0">
<param name="sfactor"><type>BlendFactor</type></param>
<param name="dfactor"><type>BlendFactor</type></param>
</function>
<function name="BlendFuncSeparate" extension="Core" version="2.0">
<param name="srcRGB"><type>BlendFactor</type></param>
<param name="dstRGB"><type>BlendFactor</type></param>
<param name="srcAlpha"><type>BlendFactor</type></param>
<param name="dstAlpha"><type>BlendFactor</type></param>
</function>
<function name="BindBuffer" extension="Core" version="2.0">
<param name="target"><type>BufferTarget</type></param>
</function>
<function name="BufferData" extension="Core" version="2.0">
<param name="target"><type>BufferTarget</type></param>
<param name="usage"><type>BufferUsage</type></param>
</function>
<function name="BufferSubData" extension="Core" version="2.0">
<param name="target"><type>BufferTarget</type></param>
</function>
<function name="VertexAttribPointer" extension="Core" version="2.0">
<param name="type"><type>VertexAttribType</type></param>
</function>
<function name="Hint" extension="Core" version="2.0">
<param name="target"><type>HintTarget</type></param>
<param name="mode"><type>HintMode</type></param>
</function>
<function name="StencilFunc" extension="Core" version="2.0">
<param name="func"><type>StencilFunction</type></param>
</function>
<function name="StencilFuncSeparate" extension="Core" version="2.0">
<param name="face"><type>CullFaceMode</type></param>
<param name="func"><type>StencilFunction</type></param>
</function>
<function name="StencilMaskSeparate" extension="Core" version="2.0">
<param name="face"><type>CullFaceMode</type></param>
</function>
<function name="StencilOp" extension="Core" version="2.0">
<param name="fail"><type>StencilOperation</type></param>
<param name="zfail"><type>StencilOperation</type></param>
<param name="zpass"><type>StencilOperation</type></param>
</function>
<function name="StencilOpSeparate" extension="Core" version="2.0">
<param name="face"><type>CullFaceMode</type></param>
<param name="fail"><type>StencilOperation</type></param>
<param name="zfail"><type>StencilOperation</type></param>
<param name="zpass"><type>StencilOperation</type></param>
</function>
<function name="GetBufferParameter" extension="Core" version="2.0">
<param name="target"><type>BufferTarget</type></param>
<param name="pname"><type>GetBufferPName</type></param>
</function>
<function name="Clear" extension="Core" version="2.0">
<param name="mask"><type>ClearBufferMask</type></param>
</function>
<function name="CreateShader" extension="Core" version="2.0">
<param name="type"><type>ShaderType</type></param>
</function>
<function name="GetShaderPrecisionFormat" extension="Core" version="2.0">
<param name="shadertype"><type>ShaderType</type></param>
<param name="precisiontype"><type>ShaderPrecision</type></param>
</function>
<function name="CullFace" extension="Core" version="2.0">
<param name="mode"><type>CullFaceMode</type></param>
</function>
<function name="DepthFunc" extension="Core" version="2.0">
<param name="func"><type>DepthFunction</type></param>
</function>
<function name="DrawArrays" extension="Core" version="2.0">
<param name="mode"><type>PrimitiveMode</type></param>
</function>
<function name="DrawElements" extension="Core" version="2.0">
<param name="mode"><type>PrimitiveMode</type></param>
<param name="type"><type>DrawElementsType</type></param>
</function>
<function name="Enable" extension="Core" version="2.0">
<param name="cap"><type>EnableCap</type></param>
</function>
<function name="Disable" extension="Core" version="2.0">
<param name="cap"><type>EnableCap</type></param>
</function>
<function name="IsEnabled" extension="Core" version="2.0">
<param name="cap"><type>EnableCap</type></param>
</function>
<function name="FrontFace" extension="Core" version="2.0">
<param name="mode"><type>FrontFaceDirection</type></param>
</function>
<function name="GetActiveAttrib" extension="Core" version="2.0">
<param name="type"><type>ActiveAttribType</type></param>
</function>
<function name="GetActiveUniform" extension="Core" version="2.0">
<param name="type"><type>ActiveUniformType</type></param>
</function>
<function name="GetError" extension="Core" version="2.0">
<returns type="ErrorCode" />
</function>
<function name="GetProgram" extension="Core" version="2.0">
<param name="pname"><type>ProgramPName</type></param>
</function>
<function name="GetShader" extension="Core" version="2.0">
<param name="pname"><type>ShaderPName</type></param>
</function>
<function name="GetString" extension="Core" version="2.0">
<param name="name"><type>StringName</type></param>
</function>
<function name="GetVertexAttrib" extension="Core" version="2.0">
<param name="pname"><type>VertexArray</type></param>
</function>
<function name="GetVertexAttribPointer" extension="Core" version="2.0">
<param name="pname"><type>VertexPointer</type></param>
</function>
<function name="ActiveTexture" extension="Core" version="2.0">
<param name="texture"><type>TextureUnit</type></param>
</function>
<function name="BindTexture" extension="Core" version="2.0">
<param name="target"><type>BindTextureTarget</type></param>
</function>
<function name="GenerateMipmap" extension="Core" version="2.0">
<param name="target"><type>BindTextureTarget</type></param>
</function>
<function name="GetTexParameter" extension="Core" version="2.0">
<param name="target"><type>BindTextureTarget</type></param>
<param name="pname"><type>TexturePName</type></param>
</function>
<function name="TexParameter" extension="Core" version="2.0">
<param name="target"><type>BindTextureTarget</type></param>
<param name="pname"><type>TexturePName</type></param>
</function>
<function name="TexImage2D" extension="Core" version="2.0">
<param name="target"><type>TextureTarget</type></param>
<param name="internalformat"><type>PixelInternalFormat</type></param>
<param name="format"><type>PixelFormat</type></param>
<param name="type"><type>PixelType</type></param>
</function>
<function name="TexSubImage2D" extension="Core" version="2.0">
<param name="target"><type>TextureTarget</type></param>
<param name="format"><type>PixelFormat</type></param>
<param name="type"><type>PixelType</type></param>
</function>
<function name="CopyTexImage2D" extension="Core" version="2.0">
<param name="target"><type>TextureTarget</type></param>
<param name="internalformat"><type>PixelInternalFormat</type></param>
</function>
<function name="CopyTexSubImage2D" extension="Core" version="2.0">
<param name="target"><type>TextureTarget</type></param>
</function>
<function name="CompressedTexImage2D" extension="Core" version="2.0">
<param name="target"><type>TextureTarget</type></param>
<param name="internalformat"><type>PixelInternalFormat</type></param>
</function>
<function name="CompressedTexSubImage2D" extension="Core" version="2.0">
<param name="target"><type>TextureTarget</type></param>
</function>
<function name="ReadPixels" extension="Core" version="2.0">
<param name="format"><type>PixelFormat</type></param>
<param name="type"><type>PixelType</type></param>
</function>
<function name="CheckFramebufferStatus" extension="Core" version="2.0">
<returns type="FramebufferError" />
<param name="target"><type>FramebufferTarget</type></param>
</function>
<function name="BindFramebuffer" extension="Core" version="2.0">
<param name="target"><type>FramebufferTarget</type></param>
</function>
<function name="BindRenderbuffer" extension="Core" version="2.0">
<param name="target"><type>RenderbufferTarget</type></param>
</function>
<function name="RenderbufferStorage" extension="Core" version="2.0">
<param name="target"><type>RenderbufferTarget</type></param>
<param name="internalformat"><type>RenderbufferInternalFormat</type></param>
</function>
<function name="GetRenderbufferParameter" extension="Core" version="2.0">
<param name="target"><type>RenderbufferTarget</type></param>
<param name="pname"><type>GetRenderbufferPName</type></param>
</function>
<function name="FramebufferRenderbuffer" extension="Core" version="2.0">
<param name="target"><type>FramebufferTarget</type></param>
<param name="attachment"><type>FramebufferSlot</type></param>
<param name="renderbuffertarget"><type>RenderbufferTarget</type></param>
</function>
<function name="FramebufferTexture2D" extension="Core" version="2.0">
<param name="target"><type>FramebufferTarget</type></param>
<param name="attachment"><type>FramebufferSlot</type></param>
<param name="textarget"><type>TextureTarget</type></param>
</function>
<function name="GetFramebufferAttachmentParameter" extension="Core" version="2.0">
<param name="target"><type>FramebufferTarget</type></param>
<param name="attachment"><type>FramebufferSlot</type></param>
<param name="pname"><type>FramebufferAttachmentParameter</type></param>
</function>
<function name="PixelStore" extension="Core" version="2.0">
<param name="pname"><type>PixelStorePName</type></param>
<param name="param"><type>PixelStoreParameter</type></param>
</function>
</replace>
<add>
<enum name="BlendMode">
<token name="FuncAdd" value="0X8006" />
<token name="FuncSubtract" value="0X800a" />
<token name="FuncReverseSubtract" value="0X800b" />
</enum>
<enum name="BlendFactor">
<token name="Zero" value="0" />
<token name="One" value="1" />
<token name="SrcColor" value="0X0300" />
<token name="OneMinusSrcColor" value="0X0301" />
<token name="DstColor" value="0X0306" />
<token name="OneMinusDstColor" value="0X0307" />
<token name="SrcAlpha" value="0X0302" />
<token name="OneMinusSrcAlpha" value="0X0303" />
<token name="DstAlpha" value="0X0304" />
<token name="OneMinusDstAlpha" value="0X0305" />
<token name="ConstantColor" value="0X8001" />
<token name="OneMinusConstantColor" value="0X8002" />
<token name="ConstantAlpha" value="0X8003" />
<token name="OneMinusConstantAlpha" value="0X8004" />
<token name="SrcAlphaSaturate" value="0X0308" remark="only valid for source RGB/Alpha" />
</enum>
<enum name="BufferTarget">
<token name="ArrayBuffer" value="0X8892" />
<token name="ElementArrayBuffer" value="0X8893" />
</enum>
<enum name="BufferUsage">
<token name="DynamicDraw" value="0X88e8" />
<token name="StaticDraw" value="0X88e4" />
<token name="StreamDraw" value="0X88e0" />
</enum>
<enum name="GetBufferPName">
<token name="BufferSize" value="0X8764" />
<token name="BufferUsage" value="0X8765" />
</enum>
<enum name="VertexAttribType">
<token name="Byte" value="0X1400" />
<token name="UnsignedByte" value="0X1401" />
<token name="Short" value="0X1402" />
<token name="UnsignedShort" value="0X1403" />
<token name="Fixed" value="0X140c" />
<token name="Float" value="0X1406" />
</enum>
<enum name="ClearBufferMask">
<token name="DepthBufferBit" value="0X0100" />
<token name="StencilBufferBit" value="0X0400" />
<token name="ColorBufferBit" value="0X4000" />
</enum>
<enum name="ShaderType">
<token name="VertexShader" value="0X8b31" />
<token name="FragmentShader" value="0X8b30" />
</enum>
<enum name="ShaderPrecision">
<token name="LowFloat" value="0X8df0" />
<token name="MediumFloat" value="0X8df1" />
<token name="HighFloat" value="0X8df2" />
<token name="LowInt" value="0X8df3" />
<token name="MediumInt" value="0X8df4" />
<token name="HighInt" value="0X8df5" />
</enum>
<enum name="CullFaceMode">
<token name="Front" value="0X0404" />
<token name="Back" value="0X0405" />
<token name="FrontAndBack" value="0X0408" />
</enum>
<enum name="DepthFunction">
<token name="Never" value="0X0200" />
<token name="Less" value="0X0201" />
<token name="Equal" value="0X0202" />
<token name="Lequal" value="0X0203" />
<token name="Greater" value="0X0204" />
<token name="Notequal" value="0X0205" />
<token name="Gequal" value="0X0206" />
<token name="Always" value="0X0207" />
</enum>
<enum name="PrimitiveMode">
<token name="Points" value="0X0000" />
<token name="Lines" value="0X0001" />
<token name="LineLoop" value="0X0002" />
<token name="LineStrip" value="0X0003" />
<token name="Triangles" value="0X0004" />
<token name="TriangleStrip" value="0X0005" />
<token name="TriangleFan" value="0X0006" />
</enum>
<enum name="DrawElementsType">
<token name="UnsignedByte" value="0X1401" />
<token name="UnsignedShort" value="0X1403" />
</enum>
<enum name="EnableCap">
<token name="CullFace" value="0X0b44" />
<token name="DepthTest" value="0X0b71" />
<token name="StencilTest" value="0X0b90" />
<token name="Dither" value="0X0bd0" />
<token name="Blend" value="0X0be2" />
<token name="ScissorTest" value="0X0c11" />
<token name="Texture2D" value="0X0de1" />
<token name="PolygonOffsetFill" value="0X8037" />
<token name="SampleAlphaToCoverage" value="0X809e" />
<token name="SampleCoverage" value="0X80a0" />
</enum>
<enum name="FrontFaceDirection">
<token name="Cw" value="0X0900" />
<token name="Ccw" value="0X0901" />
</enum>
<enum name="ActiveAttribType">
<token name="Float" value="0X1406" />
<token name="FloatVec2" value="0X8b50" />
<token name="FloatVec3" value="0X8b51" />
<token name="FloatVec4" value="0X8b52" />
<token name="FloatMat2" value="0X8b5a" />
<token name="FloatMat3" value="0X8b5b" />
<token name="FloatMat4" value="0X8b5c" />
</enum>
<enum name="ActiveUniformType">
<token name="Float" value="0X1406" />
<token name="FloatVec2" value="0X8b50" />
<token name="FloatVec3" value="0X8b51" />
<token name="FloatVec4" value="0X8b52" />
<token name="Int" value="0X1404" />
<token name="IntVec2" value="0X8b53" />
<token name="IntVec3" value="0X8b54" />
<token name="IntVec4" value="0X8b55" />
<token name="Bool" value="0X8b56" />
<token name="BoolVec2" value="0X8b57" />
<token name="BoolVec3" value="0X8b58" />
<token name="BoolVec4" value="0X8b59" />
<token name="FloatMat2" value="0X8b5a" />
<token name="FloatMat3" value="0X8b5b" />
<token name="FloatMat4" value="0X8b5c" />
<token name="Sampler2D" value="0X8b5e" />
<token name="SamplerCube" value="0X8b60" />
</enum>
<enum name="ErrorCode">
<token name="NoError" value="0" />
<token name="InvalidEnum" value="0X0500" />
<token name="InvalidValue" value="0X0501" />
<token name="InvalidOperation" value="0X0502" />
<token name="OutOfMemory" value="0X0505" />
<token name="InvalidFramebufferOperation " value="0X0506" />
</enum>
<enum name="ProgramPName">
<token name="DeleteStatus" value="0X8b80" />
<token name="LinkStatus" value="0X8b82" />
<token name="ValidateStatus" value="0X8b83" />
<token name="InfoLogLength" value="0X8b84" />
<token name="AttachedShaders" value="0X8b85" />
<token name="ActiveAttributes" value="0X8b89" />
<token name="ActiveAttributeMaxLength" value="0X8b8a" />
<token name="ActiveUniforms" value="0X8b86" />
<token name="ActiveUniformMaxLength" value="0X8b87" />
</enum>
<enum name="ShaderPName">
<token name="ShaderType" value="0X8b4f" remark="This output may be cast to the ShaderType enum." />
<token name="DeleteStatus" value="0X8b80" />
<token name="CompileStatus" value="0X8b81" />
<token name="InfoLogLength" value="0X8b84" />
<token name="ShaderSourceLength" value="0X8b88" />
</enum>
<enum name="StringName">
<token name="Vendor" value="0X1f00" />
<token name="Renderer" value="0X1f01" />
<token name="Version" value="0X1f02" />
<token name="Extensions" value="0X1f03" />
<token name="ShadingLanguageVersion" value="0X8b8c" />
</enum>
<enum name="VertexArray">
<token name="VertexAttribArrayEnabled" value="0X8622" />
<token name="VertexAttribArraySize" value="0X8623" />
<token name="VertexAttribArrayStride" value="0X8624" />
<token name="VertexAttribArrayType" value="0X8625" />
<token name="VertexAttribArrayNormalized" value="0X886a" />
<token name="VertexAttribArrayBufferBinding" value="0X889f" />
<token name="CurrentVertexAttrib" value="0X8626" />
</enum>
<enum name="VertexPointer">
<token name="VertexAttribArrayPointer" value="0X8645" />
</enum>
<enum name="HintTarget">
<token name="GenerateMipmapHint" value="0X8192" />
</enum>
<enum name="HintMode">
<token name="DontCare" value="0X1100" />
<token name="Fastest" value="0X1101" />
<token name="Nicest" value="0X1102" />
</enum>
<enum name="StencilFunction">
<token name="Never" value="0X0200" />
<token name="Less" value="0X0201" />
<token name="Equal" value="0X0202" />
<token name="Lequal" value="0X0203" />
<token name="Greater" value="0X0204" />
<token name="Notequal" value="0X0205" />
<token name="Gequal" value="0X0206" />
<token name="Always" value="0X0207" />
</enum>
<enum name="StencilOperation">
<token name="Invert" value="0X150a" />
<token name="Keep" value="0X1e00" />
<token name="Replace" value="0X1e01" />
<token name="Incr" value="0X1e02" />
<token name="Decr" value="0X1e03" />
<token name="IncrWrap" value="0X8507" />
<token name="DecrWrap" value="0X8508" />
<token name="Zero" value="0X0000" />
</enum>
<enum name="TextureUnit">
<token name="Texture0" value="0X84c0" />
<token name="Texture1" value="0X84c1" />
<token name="Texture2" value="0X84c2" />
<token name="Texture3" value="0X84c3" />
<token name="Texture4" value="0X84c4" />
<token name="Texture5" value="0X84c5" />
<token name="Texture6" value="0X84c6" />
<token name="Texture7" value="0X84c7" />
<token name="Texture8" value="0X84c8" />
<token name="Texture9" value="0X84c9" />
<token name="Texture10" value="0X84ca" />
<token name="Texture11" value="0X84cb" />
<token name="Texture12" value="0X84cc" />
<token name="Texture13" value="0X84cd" />
<token name="Texture14" value="0X84ce" />
<token name="Texture15" value="0X84cf" />
<token name="Texture16" value="0X84d0" />
<token name="Texture17" value="0X84d1" />
<token name="Texture18" value="0X84d2" />
<token name="Texture19" value="0X84d3" />
<token name="Texture20" value="0X84d4" />
<token name="Texture21" value="0X84d5" />
<token name="Texture22" value="0X84d6" />
<token name="Texture23" value="0X84d7" />
<token name="Texture24" value="0X84d8" />
<token name="Texture25" value="0X84d9" />
<token name="Texture26" value="0X84da" />
<token name="Texture27" value="0X84db" />
<token name="Texture28" value="0X84dc" />
<token name="Texture29" value="0X84dd" />
<token name="Texture30" value="0X84de" />
<token name="Texture31" value="0X84df" />
</enum>
<enum name="BindTextureTarget">
<token name="Texture2D" value="0X0de1" />
<token name="TextureCubeMap" value="0X8513" />
</enum>
<enum name="TextureMinFilter">
<token name="NearestMipmapNearest" value="0X2700" />
<token name="LinearMipmapNearest" value="0X2701" />
<token name="NearestMipmapLinear" value="0X2702" />
<token name="LinearMipmapLinear" value="0X2703" />
<token name="Nearest" value="0X2600" />
<token name="Linear" value="0X2601" />
</enum>
<enum name="TextureMagFilter">
<token name="Nearest" value="0X2600" />
<token name="Linear" value="0X2601" />
</enum>
<enum name="TexturePName">
<token name="TextureMagFilter" value="0X2800" />
<token name="TextureMinFilter" value="0X2801" />
<token name="TextureWrapS" value="0X2802" />
<token name="TextureWrapT" value="0X2803" />
</enum>
<enum name="TextureTarget">
<token name="Texture2D" value="0X0de1" />
<token name="TextureCubeMapPositiveX" value="0X8515" />
<token name="TextureCubeMapNegativeX" value="0X8516" />
<token name="TextureCubeMapPositiveY" value="0X8517" />
<token name="TextureCubeMapNegativeY" value="0X8518" />
<token name="TextureCubeMapPositiveZ" value="0X8519" />
<token name="TextureCubeMapNegativeZ" value="0X851a" />
</enum>
<enum name="PixelType">
<token name="UnsignedShort4444" value="0X8033" />
<token name="UnsignedShort5551" value="0X8034" />
<token name="UnsignedShort565" value="0X8363" />
<token name="UnsignedByte" value="0X1401" />
</enum>
<enum name="PixelFormat">
<token name="Alpha" value="0X1906" />
<token name="Rgb" value="0X1907" />
<token name="Rgba" value="0X1908" />
<token name="Luminance" value="0X1909" />
<token name="LuminanceAlpha" value="0X190a" />
</enum>
<enum name="PixelInternalFormat">
<token name="Alpha" value="0X1906" />
<token name="Rgb" value="0X1907" />
<token name="Rgba" value="0X1908" />
<token name="Luminance" value="0X1909" />
<token name="LuminanceAlpha" value="0X190a" />
</enum>
<enum name="FramebufferTarget">
<token name="Framebuffer" value="0X8d40" />
</enum>
<enum name="FramebufferError">
<token name="FramebufferComplete" value="0X8cd5" />
<token name="FramebufferIncompleteAttachment" value="0X8cd6" />
<token name="FramebufferIncompleteMissingAttachment" value="0X8cd7" />
<token name="FramebufferIncompleteDimensions" value="0X8cd9" />
<token name="FramebufferUnsupported" value="0X8cdd" />
</enum>
<enum name="RenderbufferTarget">
<token name="Renderbuffer" value="0X8d41" />
</enum>
<enum name="RenderbufferInternalFormat">
<token name="DepthComponent16" value="0X81a5" />
<token name="Rgba4" value="0X8056" />
<token name="Rgb5A1" value="0X8057" />
<token name="Rgb565" value="0X8d62" />
<token name="StencilIndex8" value="0X8d48" />
</enum>
<enum name="GetRenderbufferPName">
<token name="RenderbufferWidth" value="0X8d42" />
<token name="RenderbufferHeight" value="0X8d43" />
<token name="RenderbufferInternalFormat" value="0X8d44" />
<token name="RenderbufferRedSize" value="0X8d50" />
<token name="RenderbufferGreenSize" value="0X8d51" />
<token name="RenderbufferBlueSize" value="0X8d52" />
<token name="RenderbufferAlphaSize" value="0X8d53" />
<token name="RenderbufferDepthSize" value="0X8d54" />
<token name="RenderbufferStencilSize" value="0X8d55" />
</enum>
<enum name="FramebufferSlot">
<token name="ColorAttachment0" value="0X8ce0" />
<token name="DepthAttachment" value="0X8d00" />
<token name="StencilAttachment" value="0X8d20" />
</enum>
<enum name="FramebufferAttachmentParameter">
<token name="FramebufferAttachmentObjectType" value="0X8cd0" />
<token name="FramebufferAttachmentObjectName" value="0X8cd1" />
<token name="FramebufferAttachmentTextureLevel" value="0X8cd2" />
<token name="FramebufferAttachmentTextureCubeMapFace" value="0X8cd3" />
</enum>
<enum name="PixelStorePName">
<token name="PackAlignment" value="0X0d05" />
<token name="UnpackAlignment" value="0X0cf5" />
</enum>
<enum name="PixelStoreParameter">
<token name="One" value="0X0001" />
<token name="Two" value="0X0002" />
<token name="Four" value="0X0004" />
<token name="Eight" value="0X0008" />
</enum>
</add>
</overrides>