mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-03 17:05:44 +00:00
Merge master into no-reflect
This commit is contained in:
parent
5b48564ec2
commit
dfd683ef49
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -3,11 +3,15 @@ Binaries/
|
|||
OpenTK.userprefs
|
||||
Source/GlobalAssemblyInfo.cs
|
||||
Version.txt
|
||||
Build.txt
|
||||
Timestamp.txt
|
||||
Source/OpenTK/OpenTK.xml
|
||||
Source/GLControl/OpenTK.GLControl.xml
|
||||
Documentation/Source
|
||||
opentk*.exe
|
||||
opentk*.zip
|
||||
opentk*.nupkg
|
||||
Installers/Nuget/lib
|
||||
|
||||
# OpenTK Resource files that seem like they should be ignored:
|
||||
Source/Compatibility/Properties/Resources.resources
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
</ItemGroup>
|
||||
<Target Name="Build">
|
||||
<Exec Command="makensis opentk.nsi" />
|
||||
<ReadLinesFromFile File="../../Version.txt">
|
||||
<ReadLinesFromFile File="../../Timestamp.txt">
|
||||
<Output TaskParameter="Lines" ItemName="Version" />
|
||||
</ReadLinesFromFile>
|
||||
<Move SourceFiles=".\opentk.exe" DestinationFiles="@(Version->'../../opentk-%(Identity).exe')" />
|
||||
|
|
102
Installers/Nuget/Build.Installer.Nuget.csproj
Normal file
102
Installers/Nuget/Build.Installer.Nuget.csproj
Normal file
|
@ -0,0 +1,102 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition="'$(Configuration)' == 'Documentation'">
|
||||
<OutputPath>.\obj\</OutputPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
|
||||
<OutputPath>.\obj\</OutputPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
|
||||
<OutputPath>.\obj\</OutputPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)' == 'Nsis'">
|
||||
<OutputPath>.\obj\</OutputPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ProjectGuid>{ADC34399-7613-44D2-90B2-19250F12FE7B}</ProjectGuid>
|
||||
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
|
||||
<OutputPath>.\obj\</OutputPath>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>10.0.0</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<OutputType>Exe</OutputType>
|
||||
<AssemblyName>Build.Installer.Nuget</AssemblyName>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Documentation|AnyCPU' ">
|
||||
<DebugType>none</DebugType>
|
||||
<Optimize>False</Optimize>
|
||||
<OutputPath>obj\</OutputPath>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugType>none</DebugType>
|
||||
<Optimize>False</Optimize>
|
||||
<OutputPath>obj\</OutputPath>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>none</DebugType>
|
||||
<Optimize>False</Optimize>
|
||||
<OutputPath>obj\</OutputPath>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Nsis|AnyCPU' ">
|
||||
<DebugType>none</DebugType>
|
||||
<Optimize>False</Optimize>
|
||||
<OutputPath>obj\</OutputPath>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<Target Name="Build">
|
||||
<!-- Copy built files to the tree format expected by nuget -->
|
||||
<CreateItem Include="../../Binaries/OpenTK/Release/OpenTK*">
|
||||
<Output TaskParameter="Include" ItemName="Binaries" />
|
||||
</CreateItem>
|
||||
<Copy SourceFiles="@(Binaries)" DestinationFolder="./lib/net20" />
|
||||
<!-- Update version information -->
|
||||
<ReadLinesFromFile File="../../Version.txt">
|
||||
<Output TaskParameter="Lines" ItemName="Version" />
|
||||
</ReadLinesFromFile>
|
||||
<!-- Execute nuget script -->
|
||||
<Exec Command="nuget.exe pack OpenTK.nuspec -Version @(Version)" Condition="$(OS) == 'Windows_NT'" />
|
||||
<Exec Command="nuget.exe pack OpenTK.GLControl.nuspec -Version @(Version)" Condition="$(OS) == 'Windows_NT'" />
|
||||
<Exec Command="mono nuget.exe pack OpenTK.nuspec -Version @(Version)" Condition="$(OS) != 'Windows_NT'" />
|
||||
<Exec Command="mono nuget.exe pack OpenTK.GLControl.nuspec -Version @(Version)" Condition="$(OS) != 'Windows_NT'" />
|
||||
<!-- Copy the nuget archive to the root directory and add a date stamp -->
|
||||
<CreateItem Include="OpenTK*.nupkg">
|
||||
<Output TaskParameter="Include" ItemName="NugetPackage" />
|
||||
</CreateItem>
|
||||
<Copy SourceFiles="@(NugetPackage)" DestinationFolder="../../" />
|
||||
</Target>
|
||||
<Target Name="Clean">
|
||||
<CreateItem Include="OpenTK.*.nupkg;lib/**">
|
||||
<Output TaskParameter="Include" ItemName="FilesToDelete" />
|
||||
</CreateItem>
|
||||
<Delete Files="@(FilesToDelete)" />
|
||||
</Target>
|
||||
<Target Name="Rebuild">
|
||||
<CallTarget Targets="Clean" />
|
||||
<CallTarget Targets="Build" />
|
||||
</Target>
|
||||
<ItemGroup>
|
||||
<None Include="OpenTK.nuspec" />
|
||||
<None Include="OpenTK.GLControl.nuspec" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="nuget.exe" />
|
||||
</ItemGroup>
|
||||
<ProjectExtensions>
|
||||
<MonoDevelop>
|
||||
<Properties>
|
||||
<Policies>
|
||||
<TextStylePolicy inheritsSet="VisualStudio" inheritsScope="text/plain" scope="text/plain" />
|
||||
<CSharpFormattingPolicy IndentSwitchBody="True" AnonymousMethodBraceStyle="NextLine" PropertyBraceStyle="NextLine" PropertyGetBraceStyle="NextLine" PropertySetBraceStyle="NextLine" EventBraceStyle="NextLine" EventAddBraceStyle="NextLine" EventRemoveBraceStyle="NextLine" StatementBraceStyle="NextLine" ElseNewLinePlacement="NewLine" CatchNewLinePlacement="NewLine" FinallyNewLinePlacement="NewLine" WhileNewLinePlacement="NewLine" ArrayInitializerBraceStyle="NextLine" BeforeMethodDeclarationParentheses="False" BeforeMethodCallParentheses="False" BeforeConstructorDeclarationParentheses="False" BeforeIndexerDeclarationBracket="False" BeforeDelegateDeclarationParentheses="False" NewParentheses="False" SpacesBeforeBrackets="False" BlankLinesBeforeFirstDeclaration="1" AlignToFirstMethodDeclarationParameter="False" AlignToFirstIndexerDeclarationParameter="False" inheritsSet="Mono" inheritsScope="text/x-csharp" scope="text/x-csharp" />
|
||||
<TextStylePolicy FileWidth="120" inheritsSet="VisualStudio" inheritsScope="text/plain" scope="text/x-csharp" />
|
||||
<StandardHeader Text="#region License

${FileName}
 
Author:
 ${AuthorName} <${AuthorEmail}>

Copyright (c) 2006-${Year} ${CopyrightHolder}

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" IncludeInNewFiles="True" />
|
||||
<TextStylePolicy TabWidth="2" IndentWidth="2" NoTabsAfterNonTabs="True" inheritsSet="VisualStudio" inheritsScope="text/plain" scope="application/xml" />
|
||||
<XmlFormattingPolicy inheritsSet="Mono" inheritsScope="application/xml" scope="application/xml" />
|
||||
</Policies>
|
||||
</Properties>
|
||||
</MonoDevelop>
|
||||
</ProjectExtensions>
|
||||
</Project>
|
49
Installers/Nuget/OpenTK.GLControl.nuspec
Normal file
49
Installers/Nuget/OpenTK.GLControl.nuspec
Normal file
|
@ -0,0 +1,49 @@
|
|||
<?xml version="1.0"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>OpenTK.GLControl</id>
|
||||
<version>$version$</version>
|
||||
<authors>Stefanos Apostolopoulos</authors>
|
||||
<owners>Stefanos Apostolopoulos</owners>
|
||||
<licenseUrl>http://www.opentk.com/project/license</licenseUrl>
|
||||
<projectUrl>http://www.opentk.com</projectUrl>
|
||||
<iconUrl>file:///./logo.png</iconUrl>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<summary>
|
||||
Add OpenGL graphics to your Windows.Forms or WPF application
|
||||
</summary>
|
||||
<description>
|
||||
OpenTK.GLControl is a Windows.Forms Control with OpenGL rendering capabilities. Use it to add
|
||||
accelerated 3d graphics to your Windows.Forms or Windows Presentation Foundation (WPF) application.
|
||||
|
||||
Features
|
||||
- Integrate 3d graphics into your Windows.Forms or WPF application
|
||||
- Use the .Net/Mono language of your choice: C#, F#, VB.Net, Boo, IronPython, IronRuby
|
||||
- Develop faster with inline documentation and strongly-typed enumerations for all OpenGL and OpenAL functions
|
||||
|
||||
This is the official nuget package from http://www.opentk.com
|
||||
The source code can be found at https://github.com/opentk/opentk
|
||||
</description>
|
||||
<releaseNotes>
|
||||
http://www.opentk.com/news
|
||||
</releaseNotes>
|
||||
<copyright>Copyright 2006-2013 Stefanos Apostolopoulos</copyright>
|
||||
<tags>OpenTK OpenGL WinForms WPF C# F# VB .Net Mono</tags>
|
||||
<references>
|
||||
<reference file="OpenTK.GLControl.dll" />
|
||||
</references>
|
||||
<frameworkAssemblies>
|
||||
<frameworkAssembly assemblyName="System" />
|
||||
<frameworkAssembly assemblyName="System.Drawing" />
|
||||
<frameworkAssembly assemblyName="System.Windows.Forms" />
|
||||
<frameworkAssembly assemblyName="System.Xml" />
|
||||
</frameworkAssemblies>
|
||||
<dependencies>
|
||||
<dependency id="OpenTK" version="1.1.0.0" />
|
||||
</dependencies>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="lib/net20/OpenTK.GLControl.dll" target="lib/net20" />
|
||||
<file src="lib/net20/OpenTK.GLControl.xml" target="lib/net20" />
|
||||
</files>
|
||||
</package>
|
48
Installers/Nuget/OpenTK.nuspec
Normal file
48
Installers/Nuget/OpenTK.nuspec
Normal file
|
@ -0,0 +1,48 @@
|
|||
<?xml version="1.0"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>OpenTK</id>
|
||||
<version>$version$</version>
|
||||
<authors>Stefanos Apostolopoulos</authors>
|
||||
<owners>Stefanos Apostolopoulos</owners>
|
||||
<licenseUrl>http://www.opentk.com/project/license</licenseUrl>
|
||||
<projectUrl>http://www.opentk.com</projectUrl>
|
||||
<iconUrl>file:///./logo.png</iconUrl>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<summary>
|
||||
The Open Toolkit library (OpenTK) is an advanced, low-level C# wrapper for OpenGL, OpenGL ES and OpenAL.
|
||||
</summary>
|
||||
<description>
|
||||
The Open Toolkit library (OpenTK) is an advanced, low-level C# wrapper for OpenGL, OpenGL ES and OpenAL.
|
||||
It is suitable for games, scientific visualizations and projects that require 3d graphics, audio or compute functionality.
|
||||
|
||||
Features
|
||||
- Create cutting-edge graphics with OpenGL 4.4 and OpenGL ES 3.0
|
||||
- Integrate 3d graphics into your Windows.Forms, WPF or GTK# applications
|
||||
- Write once run everywhere: Windows, Mac OS X, Linux, Android and iOS
|
||||
- Use the .Net/Mono language of your choice: C#, F#, VB.Net, Boo, IronPython, IronRuby
|
||||
- Develop faster with inline documentation and strongly-typed enumerations for all OpenGL and OpenAL functions
|
||||
|
||||
This is the official nuget package from http://www.opentk.com
|
||||
The source code can be found at https://github.com/opentk/opentk
|
||||
</description>
|
||||
<releaseNotes>
|
||||
http://www.opentk.com/news
|
||||
</releaseNotes>
|
||||
<copyright>Copyright 2006-2013 Stefanos Apostolopoulos</copyright>
|
||||
<tags>OpenTK OpenGL OpenGLES OpenAL C# F# VB .Net Mono</tags>
|
||||
<references>
|
||||
<reference file="OpenTK.dll" />
|
||||
</references>
|
||||
<frameworkAssemblies>
|
||||
<frameworkAssembly assemblyName="System" />
|
||||
<frameworkAssembly assemblyName="System.Drawing" />
|
||||
<frameworkAssembly assemblyName="System.Xml" />
|
||||
</frameworkAssemblies>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="lib/net20/OpenTK.dll" target="lib/net20" />
|
||||
<file src="lib/net20/OpenTK.xml" target="lib/net20" />
|
||||
<file src="lib/net20/OpenTK.dll.config" target="content" />
|
||||
</files>
|
||||
</package>
|
BIN
Installers/Nuget/logo.png
Normal file
BIN
Installers/Nuget/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 30 KiB |
BIN
Installers/Nuget/nuget.exe
Normal file
BIN
Installers/Nuget/nuget.exe
Normal file
Binary file not shown.
|
@ -51,7 +51,7 @@
|
|||
<!-- Zip the copy of the source tree -->
|
||||
<Exec Command="7z a -tzip opentk.zip ../../* -xr!opentk*.zip -xr!opentk*.exe -xr!.* -xr!obj -xr!bin -xr!Documentation/Source -xr!Automation -xr!*.suo -xr!*.pidb -xr!*.userprefs -xr!*vshost.exe* -xr!*.log" />
|
||||
<!-- Copy the zip file to the root directory and add a date stamp -->
|
||||
<ReadLinesFromFile File="../../Version.txt">
|
||||
<ReadLinesFromFile File="../../Timestamp.txt">
|
||||
<Output TaskParameter="Lines" ItemName="Version" />
|
||||
</ReadLinesFromFile>
|
||||
<Move SourceFiles=".\opentk.zip" DestinationFiles="@(Version->'..\..\opentk-%(Identity).zip')" />
|
||||
|
|
29
OpenTK.sln
29
OpenTK.sln
|
@ -10,44 +10,27 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenTK", "Source\OpenTK\Ope
|
|||
EndProjectSection
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenTK.Compatibility", "Source\Compatibility\OpenTK.Compatibility.csproj", "{62C0DB35-0000-0000-0000-000000000000}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{75DC22B1-113F-4A66-96B9-2FF8208C10E8} = {75DC22B1-113F-4A66-96B9-2FF8208C10E8}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenTK.Examples", "Source\Examples\OpenTK.Examples.csproj", "{868E37B3-0000-0000-0000-000000000000}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{75DC22B1-113F-4A66-96B9-2FF8208C10E8} = {75DC22B1-113F-4A66-96B9-2FF8208C10E8}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenTK.GLControl", "Source\GLControl\OpenTK.GLControl.csproj", "{A625BE88-0000-0000-0000-000000000000}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{75DC22B1-113F-4A66-96B9-2FF8208C10E8} = {75DC22B1-113F-4A66-96B9-2FF8208C10E8}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Build.Installer.Nsis", "Installers\Nsis\Build.Installer.Nsis.csproj", "{ADC34399-7613-44D2-90B2-19250F06FE7A}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{75DC22B1-113F-4A66-96B9-2FF8208C10E8} = {75DC22B1-113F-4A66-96B9-2FF8208C10E8}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Build.Docs", "Documentation\Build.Docs.csproj", "{650C6F3D-33B5-4216-9536-956AB42C0624}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{75DC22B1-113F-4A66-96B9-2FF8208C10E8} = {75DC22B1-113F-4A66-96B9-2FF8208C10E8}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Generator.Bind", "Source\Bind\Generator.Bind.csproj", "{31D19132-0000-0000-0000-000000000000}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{75DC22B1-113F-4A66-96B9-2FF8208C10E8} = {75DC22B1-113F-4A66-96B9-2FF8208C10E8}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Generator.Convert", "Source\Converter\Generator.Convert.csproj", "{5FDFF4B6-0000-0000-0000-000000000000}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{75DC22B1-113F-4A66-96B9-2FF8208C10E8} = {75DC22B1-113F-4A66-96B9-2FF8208C10E8}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Build.UpdateVersion", "Source\Build.UpdateVersion\Build.UpdateVersion.csproj", "{75DC22B1-113F-4A66-96B9-2FF8208C10E8}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Build.Installer.Zip", "Installers\Zip\Build.Installer.Zip.csproj", "{ADC34399-7613-44D2-90B2-19250F06FE7B}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Build.Installer.Nuget", "Installers\Nuget\Build.Installer.Nuget.csproj", "{ADC34399-7613-44D2-90B2-19250F12FE7B}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{A37A7E14-0000-0000-0000-000000000000} = {A37A7E14-0000-0000-0000-000000000000}
|
||||
{A625BE88-0000-0000-0000-000000000000} = {A625BE88-0000-0000-0000-000000000000}
|
||||
{75DC22B1-113F-4A66-96B9-2FF8208C10E8} = {75DC22B1-113F-4A66-96B9-2FF8208C10E8}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
|
@ -71,6 +54,7 @@ Global
|
|||
{62C0DB35-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{62C0DB35-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{62C0DB35-0000-0000-0000-000000000000}.Documentation|Any CPU.ActiveCfg = Documentation|Any CPU
|
||||
{62C0DB35-0000-0000-0000-000000000000}.Documentation|Any CPU.Build.0 = Documentation|Any CPU
|
||||
{62C0DB35-0000-0000-0000-000000000000}.Nsis|Any CPU.ActiveCfg = Nsis|Any CPU
|
||||
{62C0DB35-0000-0000-0000-000000000000}.Nsis|Any CPU.Build.0 = Nsis|Any CPU
|
||||
{62C0DB35-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
|
@ -78,6 +62,7 @@ Global
|
|||
{868E37B3-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{868E37B3-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{868E37B3-0000-0000-0000-000000000000}.Documentation|Any CPU.ActiveCfg = Documentation|Any CPU
|
||||
{868E37B3-0000-0000-0000-000000000000}.Documentation|Any CPU.Build.0 = Documentation|Any CPU
|
||||
{868E37B3-0000-0000-0000-000000000000}.Nsis|Any CPU.ActiveCfg = Nsis|Any CPU
|
||||
{868E37B3-0000-0000-0000-000000000000}.Nsis|Any CPU.Build.0 = Nsis|Any CPU
|
||||
{868E37B3-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
|
@ -103,6 +88,7 @@ Global
|
|||
{31D19132-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{31D19132-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{31D19132-0000-0000-0000-000000000000}.Documentation|Any CPU.ActiveCfg = Documentation|Any CPU
|
||||
{31D19132-0000-0000-0000-000000000000}.Documentation|Any CPU.Build.0 = Documentation|Any CPU
|
||||
{31D19132-0000-0000-0000-000000000000}.Nsis|Any CPU.ActiveCfg = Nsis|Any CPU
|
||||
{31D19132-0000-0000-0000-000000000000}.Nsis|Any CPU.Build.0 = Nsis|Any CPU
|
||||
{31D19132-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
|
@ -110,6 +96,7 @@ Global
|
|||
{5FDFF4B6-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{5FDFF4B6-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{5FDFF4B6-0000-0000-0000-000000000000}.Documentation|Any CPU.ActiveCfg = Documentation|Any CPU
|
||||
{5FDFF4B6-0000-0000-0000-000000000000}.Documentation|Any CPU.Build.0 = Documentation|Any CPU
|
||||
{5FDFF4B6-0000-0000-0000-000000000000}.Nsis|Any CPU.ActiveCfg = Nsis|Any CPU
|
||||
{5FDFF4B6-0000-0000-0000-000000000000}.Nsis|Any CPU.Build.0 = Nsis|Any CPU
|
||||
{5FDFF4B6-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#region License
|
||||
#region License
|
||||
//
|
||||
// The Open Toolkit Library License
|
||||
//
|
||||
|
@ -85,7 +85,6 @@ namespace Bind
|
|||
foreach (var d in signatures)
|
||||
{
|
||||
var replace = GetFuncOverride(nav, d, apiname, apiversion);
|
||||
|
||||
TranslateExtension(d);
|
||||
TranslateReturnType(d, replace, nav, enum_processor, enums, apiname, version);
|
||||
TranslateParameters(d, replace, nav, enum_processor, enums, apiname, version);
|
||||
|
@ -114,12 +113,12 @@ namespace Bind
|
|||
}
|
||||
}
|
||||
|
||||
Console.WriteLine("Generating convenience overloads.");
|
||||
delegates.AddRange(CreateConvenienceOverloads(delegates));
|
||||
|
||||
Console.WriteLine("Generating wrappers.");
|
||||
var wrappers = CreateWrappers(delegates, enums);
|
||||
|
||||
Console.WriteLine("Generating convenience overloads.");
|
||||
wrappers.AddRange(CreateConvenienceOverloads(wrappers));
|
||||
|
||||
Console.WriteLine("Generating CLS compliant overloads.");
|
||||
wrappers = CreateCLSCompliantWrappers(wrappers, enums);
|
||||
|
||||
|
@ -231,8 +230,11 @@ namespace Bind
|
|||
category = enum_processor.TranslateEnumName(category);
|
||||
|
||||
// Try to find out if it is an enum. If the type exists in the normal GLEnums list, use this.
|
||||
// Special case for Boolean - it is an enum, but it is dumb to use that instead of the 'bool' type.
|
||||
bool normal = enums.TryGetValue(type.CurrentType, out @enum);
|
||||
// Special case for Boolean which is there simply because C89 does not support bool types.
|
||||
// We don't really need that in C#
|
||||
bool normal =
|
||||
enums.TryGetValue(type.CurrentType, out @enum) ||
|
||||
enums.TryGetValue(enum_processor.TranslateEnumName(type.CurrentType), out @enum);
|
||||
|
||||
// Translate enum types
|
||||
type.IsEnum = false;
|
||||
|
@ -249,7 +251,9 @@ namespace Bind
|
|||
// Some functions and enums have the same names.
|
||||
// Make sure we reference the enums rather than the functions.
|
||||
if (normal)
|
||||
type.QualifiedType = type.CurrentType.Insert(0, String.Format("{0}.", Settings.EnumsOutput));
|
||||
{
|
||||
type.QualifiedType = String.Format("{0}.{1}", Settings.EnumsOutput, @enum.Name);
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (Generator.GLTypes.TryGetValue(type.CurrentType, out s))
|
||||
|
@ -398,16 +402,6 @@ namespace Bind
|
|||
}
|
||||
}
|
||||
|
||||
// If we have a convenience overload, we should turn the name from
|
||||
// plural into singular
|
||||
if ((d.ReturnType.WrapperType & WrapperTypes.ConvenienceReturnType) != 0 ||
|
||||
(d.ReturnType.WrapperType & WrapperTypes.ConvenienceArrayReturnType) != 0 ||
|
||||
d.Parameters.Any(p => (p.WrapperType & WrapperTypes.ConvenienceArrayType) != 0))
|
||||
{
|
||||
trimmed_name = trimmed_name.Replace("Queries", "Query");
|
||||
trimmed_name = trimmed_name.TrimEnd('s');
|
||||
}
|
||||
|
||||
return trimmed_name;
|
||||
}
|
||||
|
||||
|
@ -527,7 +521,7 @@ namespace Bind
|
|||
{
|
||||
ApplyReturnTypeReplacement(d, function_override);
|
||||
|
||||
TranslateType(d.ReturnType, function_override, nav, enum_processor,enums, d.Category, apiname);
|
||||
TranslateType(d.ReturnType, function_override, nav, enum_processor, enums, d.Category, apiname);
|
||||
|
||||
if (d.ReturnType.CurrentType.ToLower() == "void" && d.ReturnType.Pointer != 0)
|
||||
{
|
||||
|
@ -877,17 +871,17 @@ namespace Bind
|
|||
}
|
||||
}
|
||||
|
||||
IEnumerable<Delegate> CreateConvenienceOverloads(DelegateCollection delegates)
|
||||
IEnumerable<Function> CreateConvenienceOverloads(FunctionCollection wrappers)
|
||||
{
|
||||
foreach (var list in delegates.Values)
|
||||
var convenience_wrappers = new List<Function>();
|
||||
foreach (var d in wrappers.Values.SelectMany(w => w))
|
||||
{
|
||||
var d = list.First();
|
||||
if (d.Parameters.Count > 0 && d.Parameters.Count <= 2)
|
||||
{
|
||||
var p = d.Parameters.Last();
|
||||
var r = d.ReturnType;
|
||||
|
||||
var name = GetTrimmedName(d);
|
||||
var name = d.Name;
|
||||
|
||||
bool is_candidate = true;
|
||||
is_candidate &=
|
||||
|
@ -900,28 +894,36 @@ namespace Bind
|
|||
is_candidate &= p.ElementCount == 0 || p.ElementCount == 1;
|
||||
is_candidate &= r.CurrentType == "void" && r.Pointer == 0;
|
||||
|
||||
Function f = null;
|
||||
if (is_candidate && p.Flow == FlowDirection.Out)
|
||||
{
|
||||
// Match Gen*|Get*|New*([Out] int[] names) methods
|
||||
var f = CreateReturnTypeConvenienceWrapper(d);
|
||||
yield return f;
|
||||
f = CreateReturnTypeConvenienceWrapper(d);
|
||||
}
|
||||
else if (is_candidate && p.Flow != FlowDirection.Out)
|
||||
{
|
||||
// Match *Delete(int count, int[] names) methods
|
||||
if (d.Parameters.Count == 2)
|
||||
{
|
||||
var f = CreateArrayReturnTypeConvencienceWrapper(d);
|
||||
yield return f;
|
||||
}
|
||||
}
|
||||
}
|
||||
f = CreateArrayReturnTypeConvenienceWrapper(d);
|
||||
}
|
||||
}
|
||||
|
||||
static Delegate CreateReturnTypeConvenienceWrapper(Delegate d)
|
||||
if (f != null)
|
||||
{
|
||||
var f = new Delegate(d);
|
||||
// If we have a convenience overload, we should turn its name from plural into singular
|
||||
f.TrimmedName = f.TrimmedName.Replace("Queries", "Query").TrimEnd('s');
|
||||
|
||||
convenience_wrappers.Add(f);
|
||||
}
|
||||
}
|
||||
}
|
||||
return convenience_wrappers;
|
||||
}
|
||||
|
||||
static Function CreateReturnTypeConvenienceWrapper(Function d)
|
||||
{
|
||||
var f = new Function(d);
|
||||
f.ReturnType = new Type(f.Parameters.Last());
|
||||
f.ReturnType.Pointer = 0;
|
||||
f.Parameters.RemoveAt(f.Parameters.Count - 1);
|
||||
|
@ -939,9 +941,9 @@ namespace Bind
|
|||
return f;
|
||||
}
|
||||
|
||||
static Delegate CreateArrayReturnTypeConvencienceWrapper(Delegate d)
|
||||
static Function CreateArrayReturnTypeConvenienceWrapper(Function d)
|
||||
{
|
||||
var f = new Delegate(d);
|
||||
var f = new Function(d);
|
||||
var p_array = f.Parameters.Last();
|
||||
var p_size = f.Parameters[f.Parameters.Count - 2];
|
||||
f.Parameters.RemoveAt(f.Parameters.Count - 2);
|
||||
|
|
|
@ -1956,6 +1956,207 @@
|
|||
<type>BeginMode</type>
|
||||
</param>
|
||||
</function>
|
||||
<function name="GetBufferParameter" extension="Arb" obsolete="Use BufferTargetArb overload instead">
|
||||
<param name="target" index="0">
|
||||
<type>ArbVertexBufferObject</type>
|
||||
</param>
|
||||
</function>
|
||||
<function name="GetBufferPointer" extension="Arb" obsolete="Use BufferTargetArb overload instead">
|
||||
<param name="target" index="0">
|
||||
<type>ArbVertexBufferObject</type>
|
||||
</param>
|
||||
</function>
|
||||
<function name="MapBuffer" extension="Arb" obsolete="Use BufferAccessArb overload instead">
|
||||
<param name="access" index="1">
|
||||
<type>ArbVertexBufferObject</type>
|
||||
</param>
|
||||
</function>
|
||||
<function name="BlendEquationSeparate" extension="Ext" obsolete="Use BlendEquationModeExt overload instead">
|
||||
<param name="modeRGB" index="0">
|
||||
<type>ExtBlendEquationSeparate</type>
|
||||
</param>
|
||||
<param name="modeAlpha" index="1">
|
||||
<type>ExtBlendEquationSeparate</type>
|
||||
</param>
|
||||
</function>
|
||||
<function name="ConvolutionFilter1D" extension="Ext" obsolete="Use ConvolutionTargetExt overload instead">
|
||||
<param name="target" index="0">
|
||||
<type>ExtConvolution</type>
|
||||
</param>
|
||||
</function>
|
||||
<function name="ConvolutionFilter2D" extension="Ext" obsolete="Use ConvolutionTargetExt overload instead">
|
||||
<param name="target" index="0">
|
||||
<type>ExtConvolution</type>
|
||||
</param>
|
||||
</function>
|
||||
<function name="ConvolutionParameter" extension="Ext" obsolete="Use ConvolutionTargetExt overload instead">
|
||||
<param name="target" index="0">
|
||||
<type>ExtConvolution</type>
|
||||
</param>
|
||||
<param name="pname" index="1">
|
||||
<type>ExtConvolution</type>
|
||||
</param>
|
||||
</function>
|
||||
<function name="CopyConvolutionFilter1D" extension="Ext" obsolete="Use ConvolutionTargetExt overload instead">
|
||||
<param name="target" index="0">
|
||||
<type>ExtConvolution</type>
|
||||
</param>
|
||||
</function>
|
||||
<function name="CopyConvolutionFilter2D" extension="Ext" obsolete="Use ConvolutionTargetExt overload instead">
|
||||
<param name="target" index="0">
|
||||
<type>ExtConvolution</type>
|
||||
</param>
|
||||
</function>
|
||||
<function name="FogCoordPointer" extension="Ext" obsolete="Use FogPointerTypeExt overload instead">
|
||||
<param name="type" index="0">
|
||||
<type>ExtFogCoord</type>
|
||||
</param>
|
||||
</function>
|
||||
<function name="GetConvolutionFilter" extension="Ext" obsolete="Use ConvolutionTargetExt overload instead">
|
||||
<param name="target" index="0">
|
||||
<type>ExtConvolution</type>
|
||||
</param>
|
||||
</function>
|
||||
<function name="GetConvolutionParameter" extension="Ext" obsolete="Use ConvolutionTargetExt overload instead">
|
||||
<param name="target" index="0">
|
||||
<type>ExtConvolution</type>
|
||||
</param>
|
||||
<param name="pname" index="1">
|
||||
<type>ExtConvolution</type>
|
||||
</param>
|
||||
</function>
|
||||
<function name="GetHistogram" extension="Ext" obsolete="Use HistogramTargetExt overload instead">
|
||||
<param name="target" index="0">
|
||||
<type>ExtHistogram</type>
|
||||
</param>
|
||||
</function>
|
||||
<function name="GetHistogramParameter" extension="Ext" obsolete="Use HistogramTargetExt overload instead">
|
||||
<param name="target" index="0">
|
||||
<type>ExtHistogram</type>
|
||||
</param>
|
||||
<param name="pname" index="1">
|
||||
<type>ExtHistogram</type>
|
||||
</param>
|
||||
</function>
|
||||
<function name="GetMinmax" extension="Ext" obsolete="Use MinmaxTargetExt overload instead">
|
||||
<param name="target" index="0">
|
||||
<type>ExtHistogram</type>
|
||||
</param>
|
||||
</function>
|
||||
<function name="GetMinmaxParameter" extension="Ext" obsolete="Use MinmaxTargetExt overload instead">
|
||||
<param name="target" index="0">
|
||||
<type>ExtHistogram</type>
|
||||
</param>
|
||||
<param name="pname" index="1">
|
||||
<type>ExtHistogram</type>
|
||||
</param>
|
||||
</function>
|
||||
<function name="Histogram" extension="Ext" obsolete="Use HistogramTargetExt overload instead">
|
||||
<param name="target" index="0">
|
||||
<type>ExtHistogram</type>
|
||||
</param>
|
||||
</function>
|
||||
<function name="Minmax" extension="Ext" obsolete="Use MinmaxTargetExt overload instead">
|
||||
<param name="target" index="0">
|
||||
<type>ExtHistogram</type>
|
||||
</param>
|
||||
</function>
|
||||
<function name="ResetHistogram" extension="Ext" obsolete="Use HistogramTargetExt overload instead">
|
||||
<param name="target" index="0">
|
||||
<type>ExtHistogram</type>
|
||||
</param>
|
||||
</function>
|
||||
<function name="ResetMinmax" extension="Ext" obsolete="Use MinmaxTargetExt overload instead">
|
||||
<param name="target" index="0">
|
||||
<type>ExtHistogram</type>
|
||||
</param>
|
||||
</function>
|
||||
<function name="BindTransformFeedback" extension="NV" obsolete="Use BufferTargetArb overload instead">
|
||||
<param name="target" index="0">
|
||||
<type>NvTransformFeedback2</type>
|
||||
</param>
|
||||
</function>
|
||||
<function name="ColorTable" extension="Sgi" obsolete="Use ColorTableTargetSgi overload instead">
|
||||
<param name="target" index="0">
|
||||
<type>SgiColorTable</type>
|
||||
</param>
|
||||
</function>
|
||||
<function name="ColorTableParameter" extension="Sgi" obsolete="Use ColorTableTargetSgi overload instead">
|
||||
<param name="target" index="0">
|
||||
<type>SgiColorTable</type>
|
||||
</param>
|
||||
<param name="pname" index="1">
|
||||
<type>SgiColorTable</type>
|
||||
</param>
|
||||
</function>
|
||||
<function name="CopyColorTable" extension="Sgi" obsolete="Use ColorTableTargetSgi overload instead">
|
||||
<param name="target" index="0">
|
||||
<type>SgiColorTable</type>
|
||||
</param>
|
||||
</function>
|
||||
<function name="GetColorTable" extension="Sgi" obsolete="Use ColorTableTargetSgi overload instead">
|
||||
<param name="target" index="0">
|
||||
<type>SgiColorTable</type>
|
||||
</param>
|
||||
</function>
|
||||
<function name="GetColorTableParameter" extension="Sgi" obsolete="Use ColorTableTargetSgi overload instead">
|
||||
<param name="target" index="0">
|
||||
<type>SgiColorTable</type>
|
||||
</param>
|
||||
<param name="pname" index="1">
|
||||
<type>SgiColorTable</type>
|
||||
</param>
|
||||
</function>
|
||||
<function name="GetPixelTexGenParameter" extension="Sgis" obsolete="Use PixelTexGenParameterNameSgis overload instead">
|
||||
<param name="pname" index="0">
|
||||
<type>SgisPixelTexture</type>
|
||||
</param>
|
||||
</function>
|
||||
<function name="PixelTexGenParameter" extension="Sgis" obsolete="Use PixelTexGenParameterNameSgis overload instead">
|
||||
<param name="pname" index="0">
|
||||
<type>SgisPixelTexture</type>
|
||||
</param>
|
||||
</function>
|
||||
<function name="SamplePattern" extension="Sgis" obsolete="Use SamplePatternSgis overload instead">
|
||||
<param name="pattern" index="0">
|
||||
<type>SgisMultisample</type>
|
||||
</param>
|
||||
</function>
|
||||
<function name="Deform" extension="Sgix" obsolete="Use FfdMaskSgix overload instead">
|
||||
<param name="mask" index="0">
|
||||
<type>int</type>
|
||||
</param>
|
||||
</function>
|
||||
<function name="Deform" extension="Sgix" obsolete="Use FfdMaskSgix overload instead">
|
||||
<param name="mask" index="0">
|
||||
<type>uint</type>
|
||||
</param>
|
||||
</function>
|
||||
<function name="DeformationMap3" extension="Sgix" obsolete="Use FfdTargetSgix overload instead">
|
||||
<param name="target" index="0">
|
||||
<type>SgixPolynomialFfd</type>
|
||||
</param>
|
||||
</function>
|
||||
<function name="FragmentLightModel" extension="Sgix" obsolete="Use FragmentLightModelParameterSgix overload instead">
|
||||
<param name="pname" index="0">
|
||||
<type>SgixFragmentLighting</type>
|
||||
</param>
|
||||
</function>
|
||||
<function name="LightEnv" extension="Sgix" obsolete="Use LightEnvParameterSgix overload instead">
|
||||
<param name="pname" index="0">
|
||||
<type>SgixFragmentLighting</type>
|
||||
</param>
|
||||
</function>
|
||||
<function name="LoadIdentityDeformationMap" extension="Sgix" obsolete="Use FfdMaskSgix overload instead">
|
||||
<param name="mask" index="0">
|
||||
<type>int</type>
|
||||
</param>
|
||||
</function>
|
||||
<function name="LoadIdentityDeformationMap" extension="Sgix" obsolete="Use FfdMaskSgix overload instead">
|
||||
<param name="mask" index="0">
|
||||
<type>uint</type>
|
||||
</param>
|
||||
</function>
|
||||
|
||||
<!-- added manually -->
|
||||
<function name="BlendFunc" extension="Core" obsolete="Use BlendingFactorSrc overload instead">
|
||||
|
|
|
@ -74,6 +74,14 @@
|
|||
<token name="VERTEX_ARRAY_OBJECT_AMD" value="0x9154" />
|
||||
<token name="SAMPLER_OBJECT_AMD" value="0x9155" />
|
||||
</enum>
|
||||
<enum name="AMD_occlusion_query_event">
|
||||
<token name="OCCLUSION_QUERY_EVENT_MASK_AMD" value="0x874F" />
|
||||
<token name="QUERY_DEPTH_PASS_EVENT_BIT_AMD" value="0x00000001" />
|
||||
<token name="QUERY_DEPTH_FAIL_EVENT_BIT_AMD" value="0x00000002" />
|
||||
<token name="QUERY_STENCIL_FAIL_EVENT_BIT_AMD" value="0x00000004" />
|
||||
<token name="QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD" value="0x00000008" />
|
||||
<token name="QUERY_ALL_EVENT_BITS_AMD" value="0xFFFFFFFF" />
|
||||
</enum>
|
||||
<enum name="AMD_performance_monitor">
|
||||
<token name="COUNTER_TYPE_AMD" value="0x8BC0" />
|
||||
<token name="COUNTER_RANGE_AMD" value="0x8BC1" />
|
||||
|
@ -3370,6 +3378,10 @@
|
|||
<token name="GEOMETRY_DEFORMATION_SGIX" value="0x8194" />
|
||||
<token name="TEXTURE_DEFORMATION_SGIX" value="0x8195" />
|
||||
</enum>
|
||||
<enum name="FogCoordinatePointerType">
|
||||
<token name="FLOAT" value="0x1406" />
|
||||
<token name="DOUBLE" value="0x140A" />
|
||||
</enum>
|
||||
<enum name="FogMode">
|
||||
<token name="EXP" value="0x0800" deprecated="3.2" />
|
||||
<token name="EXP2" value="0x0801" deprecated="3.2" />
|
||||
|
@ -3385,6 +3397,14 @@
|
|||
<token name="FOG_OFFSET_VALUE_SGIX" value="0x8199" />
|
||||
<token name="FOG_START" value="0x0B63" deprecated="3.2" />
|
||||
</enum>
|
||||
<enum name="FogPointerTypeEXT">
|
||||
<token name="FLOAT" value="0x1406" />
|
||||
<token name="DOUBLE" value="0x140A" />
|
||||
</enum>
|
||||
<enum name="FogPointerTypeIBM">
|
||||
<token name="FLOAT" value="0x1406" />
|
||||
<token name="DOUBLE" value="0x140A" />
|
||||
</enum>
|
||||
<enum name="FragmentLightModelParameterSGIX">
|
||||
<token name="FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX" value="0x840A" />
|
||||
<token name="FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX" value="0x8408" />
|
||||
|
@ -4519,16 +4539,9 @@
|
|||
<enum name="NV_bindless_multi_draw_indirect" />
|
||||
<enum name="NV_bindless_texture" />
|
||||
<enum name="NV_blend_equation_advanced">
|
||||
<token name="BLUE_NV" value="0x1905" />
|
||||
<token name="GREEN_NV" value="0x1904" />
|
||||
<token name="RED_NV" value="0x1903" />
|
||||
<token name="XOR_NV" value="0x1506" />
|
||||
<token name="BLUE" value="0x1905" />
|
||||
<token name="GREEN" value="0x1904" />
|
||||
<token name="RED" value="0x1903" />
|
||||
<token name="XOR" value="0x1506" />
|
||||
<token name="BLEND_OVERLAP_NV" value="0x9281" />
|
||||
<token name="BLEND_PREMULTIPLIED_SRC_NV" value="0x9280" />
|
||||
<token name="BLUE_NV" value="0x1905" />
|
||||
<token name="COLORBURN_NV" value="0x929A" />
|
||||
<token name="COLORDODGE_NV" value="0x9299" />
|
||||
<token name="CONJOINT_NV" value="0x9284" />
|
||||
|
@ -4542,6 +4555,7 @@
|
|||
<token name="DST_OUT_NV" value="0x928D" />
|
||||
<token name="DST_OVER_NV" value="0x9289" />
|
||||
<token name="EXCLUSION_NV" value="0x92A0" />
|
||||
<token name="GREEN_NV" value="0x1904" />
|
||||
<token name="HARDLIGHT_NV" value="0x929B" />
|
||||
<token name="HARDMIX_NV" value="0x92A9" />
|
||||
<token name="HSL_COLOR_NV" value="0x92AF" />
|
||||
|
@ -4564,6 +4578,7 @@
|
|||
<token name="PLUS_CLAMPED_NV" value="0x92B1" />
|
||||
<token name="PLUS_DARKER_NV" value="0x9292" />
|
||||
<token name="PLUS_NV" value="0x9291" />
|
||||
<token name="RED_NV" value="0x1903" />
|
||||
<token name="SCREEN_NV" value="0x9295" />
|
||||
<token name="SOFTLIGHT_NV" value="0x929C" />
|
||||
<token name="SRC_ATOP_NV" value="0x928E" />
|
||||
|
@ -4573,6 +4588,7 @@
|
|||
<token name="SRC_OVER_NV" value="0x9288" />
|
||||
<token name="UNCORRELATED_NV" value="0x9282" />
|
||||
<token name="VIVIDLIGHT_NV" value="0x92A6" />
|
||||
<token name="XOR_NV" value="0x1506" />
|
||||
<token name="ZERO" value="0" />
|
||||
</enum>
|
||||
<enum name="NV_blend_equation_advanced_coherent">
|
||||
|
@ -5381,6 +5397,13 @@
|
|||
<token name="VIDEO_CAPTURE_SURFACE_ORIGIN_NV" value="0x903C" />
|
||||
</enum>
|
||||
<enum name="NVX_conditional_render" />
|
||||
<enum name="OcclusionQueryEventMaskAMD">
|
||||
<token name="QUERY_DEPTH_PASS_EVENT_BIT_AMD" value="0x00000001" />
|
||||
<token name="QUERY_DEPTH_FAIL_EVENT_BIT_AMD" value="0x00000002" />
|
||||
<token name="QUERY_STENCIL_FAIL_EVENT_BIT_AMD" value="0x00000004" />
|
||||
<token name="QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD" value="0x00000008" />
|
||||
<token name="QUERY_ALL_EVENT_BITS_AMD" value="0xFFFFFFFF" />
|
||||
</enum>
|
||||
<enum name="OES_byte_coordinates" />
|
||||
<enum name="OES_compressed_paletted_texture">
|
||||
<token name="PALETTE4_RGB8_OES" value="0x8B90" />
|
||||
|
@ -15066,6 +15089,13 @@
|
|||
<param name="exponent" type="GLint *" flow="out" count="16" />
|
||||
<returns type="GLbitfield" />
|
||||
</function>
|
||||
<function name="QueryObjectParameteruiAMD" category="AMD_occlusion_query_event" extension="AMD">
|
||||
<param name="target" type="GLenum" flow="in" />
|
||||
<param name="id" type="GLuint" flow="in" />
|
||||
<param name="pname" type="GLenum" flow="in" />
|
||||
<param name="param" type="OcclusionQueryEventMaskAMD" flow="in" />
|
||||
<returns type="void" />
|
||||
</function>
|
||||
<function name="RasterPos2xOES" category="OES_fixed_point" extension="OES">
|
||||
<param name="x" type="GLfixed" flow="in" />
|
||||
<param name="y" type="GLfixed" flow="in" />
|
||||
|
@ -25725,6 +25755,10 @@
|
|||
<token name="MAX_GEOMETRY_IMAGE_UNIFORMS" value="0x90CD" />
|
||||
<token name="MAX_FRAGMENT_IMAGE_UNIFORMS" value="0x90CE" />
|
||||
<token name="MAX_COMBINED_IMAGE_UNIFORMS" value="0x90CF" />
|
||||
<token name="COMPRESSED_RGBA_BPTC_UNORM" value="0x8E8C" />
|
||||
<token name="COMPRESSED_SRGB_ALPHA_BPTC_UNORM" value="0x8E8D" />
|
||||
<token name="COMPRESSED_RGB_BPTC_SIGNED_FLOAT" value="0x8E8E" />
|
||||
<token name="COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT" value="0x8E8F" />
|
||||
<token name="TEXTURE_IMMUTABLE_FORMAT" value="0x912F" />
|
||||
</enum>
|
||||
<function name="BindImageTexture" category="VERSION_4_2" extension="Core" version="4.2">
|
||||
|
@ -27802,6 +27836,10 @@
|
|||
<token name="GEOMETRY_DEFORMATION_SGIX" value="0x8194" />
|
||||
<token name="TEXTURE_DEFORMATION_SGIX" value="0x8195" />
|
||||
</enum>
|
||||
<enum name="FogCoordinatePointerType">
|
||||
<token name="FLOAT" value="0x1406" />
|
||||
<token name="DOUBLE" value="0x140A" />
|
||||
</enum>
|
||||
<enum name="FogMode">
|
||||
<token name="FOG_FUNC_SGIS" value="0x812A" />
|
||||
<token name="LINEAR" value="0x2601" />
|
||||
|
@ -27809,6 +27847,14 @@
|
|||
<enum name="FogParameter">
|
||||
<token name="FOG_OFFSET_VALUE_SGIX" value="0x8199" />
|
||||
</enum>
|
||||
<enum name="FogPointerTypeEXT">
|
||||
<token name="FLOAT" value="0x1406" />
|
||||
<token name="DOUBLE" value="0x140A" />
|
||||
</enum>
|
||||
<enum name="FogPointerTypeIBM">
|
||||
<token name="FLOAT" value="0x1406" />
|
||||
<token name="DOUBLE" value="0x140A" />
|
||||
</enum>
|
||||
<enum name="FragmentLightModelParameterSGIX">
|
||||
<token name="FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX" value="0x840A" />
|
||||
<token name="FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX" value="0x8408" />
|
||||
|
@ -28629,6 +28675,13 @@
|
|||
<token name="INT" value="0x1404" />
|
||||
<token name="SHORT" value="0x1402" />
|
||||
</enum>
|
||||
<enum name="OcclusionQueryEventMaskAMD">
|
||||
<token name="QUERY_DEPTH_PASS_EVENT_BIT_AMD" value="0x00000001" />
|
||||
<token name="QUERY_DEPTH_FAIL_EVENT_BIT_AMD" value="0x00000002" />
|
||||
<token name="QUERY_STENCIL_FAIL_EVENT_BIT_AMD" value="0x00000004" />
|
||||
<token name="QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD" value="0x00000008" />
|
||||
<token name="QUERY_ALL_EVENT_BITS_AMD" value="0xFFFFFFFF" />
|
||||
</enum>
|
||||
<enum name="PixelCopyType">
|
||||
<token name="COLOR" value="0x1800" />
|
||||
<token name="COLOR_EXT" value="0x1800" />
|
||||
|
@ -35931,6 +35984,10 @@
|
|||
<token name="MAX_GEOMETRY_IMAGE_UNIFORMS" value="0x90CD" />
|
||||
<token name="MAX_FRAGMENT_IMAGE_UNIFORMS" value="0x90CE" />
|
||||
<token name="MAX_COMBINED_IMAGE_UNIFORMS" value="0x90CF" />
|
||||
<token name="COMPRESSED_RGBA_BPTC_UNORM" value="0x8E8C" />
|
||||
<token name="COMPRESSED_SRGB_ALPHA_BPTC_UNORM" value="0x8E8D" />
|
||||
<token name="COMPRESSED_RGB_BPTC_SIGNED_FLOAT" value="0x8E8E" />
|
||||
<token name="COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT" value="0x8E8F" />
|
||||
<token name="TEXTURE_IMMUTABLE_FORMAT" value="0x912F" />
|
||||
</enum>
|
||||
<function name="BindImageTexture" category="VERSION_4_2" extension="Core" version="4.2">
|
||||
|
@ -37219,6 +37276,10 @@
|
|||
<token name="GEOMETRY_DEFORMATION_SGIX" value="0x8194" />
|
||||
<token name="TEXTURE_DEFORMATION_SGIX" value="0x8195" />
|
||||
</enum>
|
||||
<enum name="FogCoordinatePointerType">
|
||||
<token name="FLOAT" value="0x1406" />
|
||||
<token name="DOUBLE" value="0x140A" />
|
||||
</enum>
|
||||
<enum name="FogMode">
|
||||
<token name="EXP" value="0x0800" deprecated="3.2" />
|
||||
<token name="EXP2" value="0x0801" deprecated="3.2" />
|
||||
|
@ -37234,6 +37295,14 @@
|
|||
<token name="FOG_OFFSET_VALUE_SGIX" value="0x8199" />
|
||||
<token name="FOG_START" value="0x0B63" deprecated="3.2" />
|
||||
</enum>
|
||||
<enum name="FogPointerTypeEXT">
|
||||
<token name="FLOAT" value="0x1406" />
|
||||
<token name="DOUBLE" value="0x140A" />
|
||||
</enum>
|
||||
<enum name="FogPointerTypeIBM">
|
||||
<token name="FLOAT" value="0x1406" />
|
||||
<token name="DOUBLE" value="0x140A" />
|
||||
</enum>
|
||||
<enum name="FragmentLightModelParameterSGIX">
|
||||
<token name="FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX" value="0x840A" />
|
||||
<token name="FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX" value="0x8408" />
|
||||
|
@ -38150,6 +38219,13 @@
|
|||
<token name="FENCE_STATUS_NV" value="0x84F3" />
|
||||
<token name="FENCE_CONDITION_NV" value="0x84F4" />
|
||||
</enum>
|
||||
<enum name="OcclusionQueryEventMaskAMD">
|
||||
<token name="QUERY_DEPTH_PASS_EVENT_BIT_AMD" value="0x00000001" />
|
||||
<token name="QUERY_DEPTH_FAIL_EVENT_BIT_AMD" value="0x00000002" />
|
||||
<token name="QUERY_STENCIL_FAIL_EVENT_BIT_AMD" value="0x00000004" />
|
||||
<token name="QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD" value="0x00000008" />
|
||||
<token name="QUERY_ALL_EVENT_BITS_AMD" value="0xFFFFFFFF" />
|
||||
</enum>
|
||||
<enum name="OES_blend_equation_separate">
|
||||
<token name="BLEND_EQUATION_RGB_OES" value="0x8009" />
|
||||
<token name="BLEND_EQUATION_ALPHA_OES" value="0x883D" />
|
||||
|
@ -42081,6 +42157,10 @@
|
|||
<enum name="FJ_shader_binary_GCCSO">
|
||||
<token name="GCCSO_SHADER_BINARY_FJ" value="0x9260" />
|
||||
</enum>
|
||||
<enum name="FogCoordinatePointerType">
|
||||
<token name="FLOAT" value="0x1406" />
|
||||
<token name="DOUBLE" value="0x140A" />
|
||||
</enum>
|
||||
<enum name="FogMode">
|
||||
<token name="EXP" value="0x0800" deprecated="3.2" />
|
||||
<token name="EXP2" value="0x0801" deprecated="3.2" />
|
||||
|
@ -42096,6 +42176,14 @@
|
|||
<token name="FOG_OFFSET_VALUE_SGIX" value="0x8199" />
|
||||
<token name="FOG_START" value="0x0B63" deprecated="3.2" />
|
||||
</enum>
|
||||
<enum name="FogPointerTypeEXT">
|
||||
<token name="FLOAT" value="0x1406" />
|
||||
<token name="DOUBLE" value="0x140A" />
|
||||
</enum>
|
||||
<enum name="FogPointerTypeIBM">
|
||||
<token name="FLOAT" value="0x1406" />
|
||||
<token name="DOUBLE" value="0x140A" />
|
||||
</enum>
|
||||
<enum name="FragmentLightModelParameterSGIX">
|
||||
<token name="FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX" value="0x840A" />
|
||||
<token name="FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX" value="0x8408" />
|
||||
|
@ -43142,16 +43230,9 @@
|
|||
<token name="SHORT" value="0x1402" />
|
||||
</enum>
|
||||
<enum name="NV_blend_equation_advanced">
|
||||
<token name="BLUE_NV" value="0x1905" />
|
||||
<token name="GREEN_NV" value="0x1904" />
|
||||
<token name="RED_NV" value="0x1903" />
|
||||
<token name="XOR_NV" value="0x1506" />
|
||||
<token name="BLUE" value="0x1905" />
|
||||
<token name="GREEN" value="0x1904" />
|
||||
<token name="RED" value="0x1903" />
|
||||
<token name="XOR" value="0x1506" />
|
||||
<token name="BLEND_OVERLAP_NV" value="0x9281" />
|
||||
<token name="BLEND_PREMULTIPLIED_SRC_NV" value="0x9280" />
|
||||
<token name="BLUE_NV" value="0x1905" />
|
||||
<token name="COLORBURN_NV" value="0x929A" />
|
||||
<token name="COLORDODGE_NV" value="0x9299" />
|
||||
<token name="CONJOINT_NV" value="0x9284" />
|
||||
|
@ -43165,6 +43246,7 @@
|
|||
<token name="DST_OUT_NV" value="0x928D" />
|
||||
<token name="DST_OVER_NV" value="0x9289" />
|
||||
<token name="EXCLUSION_NV" value="0x92A0" />
|
||||
<token name="GREEN_NV" value="0x1904" />
|
||||
<token name="HARDLIGHT_NV" value="0x929B" />
|
||||
<token name="HARDMIX_NV" value="0x92A9" />
|
||||
<token name="HSL_COLOR_NV" value="0x92AF" />
|
||||
|
@ -43187,6 +43269,7 @@
|
|||
<token name="PLUS_CLAMPED_NV" value="0x92B1" />
|
||||
<token name="PLUS_DARKER_NV" value="0x9292" />
|
||||
<token name="PLUS_NV" value="0x9291" />
|
||||
<token name="RED_NV" value="0x1903" />
|
||||
<token name="SCREEN_NV" value="0x9295" />
|
||||
<token name="SOFTLIGHT_NV" value="0x929C" />
|
||||
<token name="SRC_ATOP_NV" value="0x928E" />
|
||||
|
@ -43196,6 +43279,7 @@
|
|||
<token name="SRC_OVER_NV" value="0x9288" />
|
||||
<token name="UNCORRELATED_NV" value="0x9282" />
|
||||
<token name="VIVIDLIGHT_NV" value="0x92A6" />
|
||||
<token name="XOR_NV" value="0x1506" />
|
||||
<token name="ZERO" value="0" />
|
||||
</enum>
|
||||
<enum name="NV_blend_equation_advanced_coherent">
|
||||
|
@ -43334,6 +43418,13 @@
|
|||
</enum>
|
||||
<enum name="NV_texture_compression_s3tc_update" />
|
||||
<enum name="NV_texture_npot_2D_mipmap" />
|
||||
<enum name="OcclusionQueryEventMaskAMD">
|
||||
<token name="QUERY_DEPTH_PASS_EVENT_BIT_AMD" value="0x00000001" />
|
||||
<token name="QUERY_DEPTH_FAIL_EVENT_BIT_AMD" value="0x00000002" />
|
||||
<token name="QUERY_STENCIL_FAIL_EVENT_BIT_AMD" value="0x00000004" />
|
||||
<token name="QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD" value="0x00000008" />
|
||||
<token name="QUERY_ALL_EVENT_BITS_AMD" value="0xFFFFFFFF" />
|
||||
</enum>
|
||||
<enum name="OES_compressed_ETC1_RGB8_texture">
|
||||
<token name="ETC1_RGB8_OES" value="0x8D64" />
|
||||
</enum>
|
||||
|
@ -43458,6 +43549,26 @@
|
|||
<token name="COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR" value="0x93DB" />
|
||||
<token name="COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR" value="0x93DC" />
|
||||
<token name="COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR" value="0x93DD" />
|
||||
<token name="COMPRESSED_RGBA_ASTC_3x3x3_OES" value="0x93C0" />
|
||||
<token name="COMPRESSED_RGBA_ASTC_4x3x3_OES" value="0x93C1" />
|
||||
<token name="COMPRESSED_RGBA_ASTC_4x4x3_OES" value="0x93C2" />
|
||||
<token name="COMPRESSED_RGBA_ASTC_4x4x4_OES" value="0x93C3" />
|
||||
<token name="COMPRESSED_RGBA_ASTC_5x4x4_OES" value="0x93C4" />
|
||||
<token name="COMPRESSED_RGBA_ASTC_5x5x4_OES" value="0x93C5" />
|
||||
<token name="COMPRESSED_RGBA_ASTC_5x5x5_OES" value="0x93C6" />
|
||||
<token name="COMPRESSED_RGBA_ASTC_6x5x5_OES" value="0x93C7" />
|
||||
<token name="COMPRESSED_RGBA_ASTC_6x6x5_OES" value="0x93C8" />
|
||||
<token name="COMPRESSED_RGBA_ASTC_6x6x6_OES" value="0x93C9" />
|
||||
<token name="COMPRESSED_SRGB8_ALPHA8_ASTC_3x3x3_OES" value="0x93E0" />
|
||||
<token name="COMPRESSED_SRGB8_ALPHA8_ASTC_4x3x3_OES" value="0x93E1" />
|
||||
<token name="COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x3_OES" value="0x93E2" />
|
||||
<token name="COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x4_OES" value="0x93E3" />
|
||||
<token name="COMPRESSED_SRGB8_ALPHA8_ASTC_5x4x4_OES" value="0x93E4" />
|
||||
<token name="COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x4_OES" value="0x93E5" />
|
||||
<token name="COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x5_OES" value="0x93E6" />
|
||||
<token name="COMPRESSED_SRGB8_ALPHA8_ASTC_6x5x5_OES" value="0x93E7" />
|
||||
<token name="COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x5_OES" value="0x93E8" />
|
||||
<token name="COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x6_OES" value="0x93E9" />
|
||||
</enum>
|
||||
<enum name="OES_texture_float">
|
||||
<token name="FLOAT" value="0x1406" />
|
||||
|
|
|
@ -36,6 +36,7 @@ namespace Bind.Structures
|
|||
Parameters = new ParameterCollection(f.Parameters);
|
||||
ReturnType = new Type(f.ReturnType);
|
||||
TrimmedName = f.TrimmedName;
|
||||
Obsolete = f.Obsolete;
|
||||
Body.AddRange(f.Body);
|
||||
}
|
||||
|
||||
|
|
|
@ -51,6 +51,7 @@
|
|||
</PostBuildEvent>
|
||||
</PropertyGroup>
|
||||
<Target Name="BeforeBuild">
|
||||
<Delete Files="..\..\Timestamp.txt" />
|
||||
<Delete Files="..\..\Version.txt" />
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
|
|
|
@ -56,44 +56,41 @@ namespace Build.UpdateVersion
|
|||
}
|
||||
|
||||
DateTime now = DateTime.UtcNow;
|
||||
GenerateVersionInfo(now, Path.Combine(RootDirectory, "Version.txt"));
|
||||
GenerateAssemblyInfo(now, Path.Combine(SourceDirectory, "GlobalAssemblyInfo.cs"));
|
||||
}
|
||||
|
||||
static void GenerateVersionInfo(DateTime now, string file)
|
||||
{
|
||||
string version = null;
|
||||
|
||||
if (System.IO.File.Exists(file))
|
||||
{
|
||||
string[] lines = System.IO.File.ReadAllLines(file);
|
||||
if (lines.Length > 0 && !String.IsNullOrEmpty(lines[0]))
|
||||
{
|
||||
version = lines[0];
|
||||
}
|
||||
}
|
||||
|
||||
// If the file does not exist, create it.
|
||||
if (version == null)
|
||||
{
|
||||
version = now.ToString("u").Split(' ')[0];
|
||||
System.IO.File.WriteAllLines(file, new string[] { version });
|
||||
}
|
||||
}
|
||||
|
||||
static void GenerateAssemblyInfo(DateTime now, string file)
|
||||
{
|
||||
string timestamp = now.ToString("u").Split(' ')[0];
|
||||
// Build number is defined as the number of days since 1/1/2010.
|
||||
// Revision number is defined as the fraction of the current day, expressed in seconds.
|
||||
double timespan = now.Subtract(new DateTime(2010, 1, 1)).TotalDays;
|
||||
string build = ((int)timespan).ToString();
|
||||
// Revision number is defined as the number of (git/svn/bzr) commits,
|
||||
// or as the fraction of the current day, expressed in seconds, in case the
|
||||
// working directory is not under source control.
|
||||
string revision = RetrieveRevisionNumber(now);
|
||||
|
||||
string revision = RetrieveGitRevision() ?? RetrieveSvnRevision() ?? RetrieveBzrRevision() ?? RetrieveSeconds(timespan);
|
||||
revision = revision.Trim();
|
||||
string major = Major;
|
||||
string minor = Minor;
|
||||
|
||||
Console.WriteLine("Build timestamp was: " + build);
|
||||
Console.WriteLine("Revision detected was: " + revision);
|
||||
// Version is defined as {Major}.{Minor}.{Build}.{Revision}
|
||||
string version = String.Format("{0}.{1}.{2}.{3}", major, minor, build, revision);
|
||||
|
||||
Console.WriteLine("API compatibility key: {0}.{1}", major, minor);
|
||||
Console.WriteLine("Build date: {0}", timestamp);
|
||||
|
||||
GenerateTimestamp(timestamp, Path.Combine(RootDirectory, "Timestamp.txt"));
|
||||
GenerateVersion(version, Path.Combine(RootDirectory, "Version.txt"));
|
||||
GenerateAssemblyInfo(major, minor, version, Path.Combine(SourceDirectory, "GlobalAssemblyInfo.cs"));
|
||||
}
|
||||
|
||||
static void GenerateTimestamp(string timestamp, string file)
|
||||
{
|
||||
System.IO.File.WriteAllLines(file, new string[] { timestamp });
|
||||
}
|
||||
|
||||
static void GenerateVersion(string version, string file)
|
||||
{
|
||||
File.WriteAllLines(file, new string[] { version });
|
||||
}
|
||||
|
||||
static void GenerateAssemblyInfo(string major, string minor, string version, string file)
|
||||
{
|
||||
File.WriteAllLines(file, new string[]
|
||||
{
|
||||
"// This file is auto-generated through Source/Build.Tasks/GenerateAssemblyInfo.cs.",
|
||||
|
@ -109,11 +106,19 @@ namespace Build.UpdateVersion
|
|||
"[assembly: AssemblyProduct(\"The Open Toolkit Library\")]",
|
||||
"[assembly: AssemblyCopyright(\"Copyright © 2006 - 2013 the Open Toolkit Library\")]",
|
||||
"[assembly: AssemblyTrademark(\"OpenTK\")]",
|
||||
String.Format("[assembly: AssemblyVersion(\"{0}.{1}.0.0\")]", Major, Minor),
|
||||
String.Format("[assembly: AssemblyFileVersion(\"{0}.{1}.{2}.{3}\")]", Major, Minor, build, revision),
|
||||
String.Format("[assembly: AssemblyVersion(\"{0}.{1}.0.0\")]", major, minor),
|
||||
String.Format("[assembly: AssemblyFileVersion(\"{0}\")]", version),
|
||||
});
|
||||
}
|
||||
|
||||
static string RetrieveRevisionNumber(DateTime now)
|
||||
{
|
||||
double timespan = now.Subtract(new DateTime(2010, 1, 1)).TotalDays;
|
||||
string revision = RetrieveGitRevision() ?? RetrieveSvnRevision() ?? RetrieveBzrRevision() ?? RetrieveSeconds(timespan);
|
||||
revision = revision.Trim();
|
||||
return revision;
|
||||
}
|
||||
|
||||
static string RetrieveSeconds(double timespan)
|
||||
{
|
||||
string revision = ((int)((timespan - (int)timespan) * UInt16.MaxValue)).ToString();
|
||||
|
|
|
@ -6,10 +6,10 @@ This is a simple tool to convert C headers to XML files. It works using simple p
|
|||
[Examples]
|
||||
|
||||
To download and convert the new XML API registry from Khronos:
|
||||
Convert.exe -p:gl -v:4.4 -t:xml -o:../../../Source/Bind/Specifications/GL2/signatures.xml https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/api/gl.xml
|
||||
Convert.exe -p:gl -t:xml -o:../../../Source/Bind/Specifications/GL2/signatures.xml https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/api/gl.xml
|
||||
|
||||
To download and convert the old .spec files from Khronos:
|
||||
Convert.exe -p:gl -v:4.3 -t:spec -o:../../../Source/Bind/Specifications/GL2/signatures.xml https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/oldspecs/gl.spec https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/oldspecs/enum.spec https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/oldspecs/enumext.spec
|
||||
Convert.exe -p:gl -t:spec -o:../../../Source/Bind/Specifications/GL2/signatures.xml https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/oldspecs/gl.spec https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/oldspecs/enum.spec https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/oldspecs/enumext.spec
|
||||
|
||||
The line above will download the latest .spec files from the public Khronos repository and update signatures.xml for the binding generator.
|
||||
|
||||
|
@ -25,13 +25,8 @@ Convert.exe -p:{PREFIX} -v:{VERSION} -t:{TYPE} -o:{OUT} {INPUT1} ... {INPUTn}
|
|||
Despite what the help says, all three parameters are necessary at the moment.
|
||||
|
||||
|
||||
[Known issues]
|
||||
|
||||
OpenGL|ES 2.0: gl*Fence[s|iv]?NV fail to define parameters names. These have been added by hand (take care when updating the header file).
|
||||
|
||||
|
||||
[Support]
|
||||
|
||||
If you encounter a bug, please file an issue report at http://www.opentk.com/issues
|
||||
If you encounter a bug, please file an issue report at http://github.com/opentk/opentk/issues
|
||||
|
||||
We will only accept bug reports for supported header files. This is not a generic tool and will fail to parse unsupported files.
|
|
@ -47,7 +47,7 @@
|
|||
<ConfigurationOverrideFile>
|
||||
</ConfigurationOverrideFile>
|
||||
<DefineConstants>DEBUG;TRACE;</DefineConstants>
|
||||
<DocumentationFile>OpenTK.GLControl.xml</DocumentationFile>
|
||||
<DocumentationFile>..\..\Binaries\OpenTK\Debug\OpenTK.GLControl.xml</DocumentationFile>
|
||||
<DebugSymbols>True</DebugSymbols>
|
||||
<FileAlignment>4096</FileAlignment>
|
||||
<Optimize>False</Optimize>
|
||||
|
@ -64,7 +64,7 @@
|
|||
<ConfigurationOverrideFile>
|
||||
</ConfigurationOverrideFile>
|
||||
<DefineConstants>TRACE;</DefineConstants>
|
||||
<DocumentationFile>OpenTK.GLControl.xml</DocumentationFile>
|
||||
<DocumentationFile>..\..\Binaries\OpenTK\Release\OpenTK.GLControl.xml</DocumentationFile>
|
||||
<FileAlignment>4096</FileAlignment>
|
||||
<Optimize>True</Optimize>
|
||||
<OutputPath>..\..\Binaries\OpenTK\Release\</OutputPath>
|
||||
|
@ -80,6 +80,8 @@
|
|||
<WarningLevel>4</WarningLevel>
|
||||
<Optimize>True</Optimize>
|
||||
<DefineConstants>TRACE;</DefineConstants>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
<DocumentationFile>..\..\Binaries\OpenTK\Release\OpenTK.GLControl.xml</DocumentationFile>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Nsis|AnyCPU'">
|
||||
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
|
||||
|
@ -87,7 +89,7 @@
|
|||
<ConfigurationOverrideFile>
|
||||
</ConfigurationOverrideFile>
|
||||
<DefineConstants>TRACE;</DefineConstants>
|
||||
<DocumentationFile>OpenTK.GLControl.xml</DocumentationFile>
|
||||
<DocumentationFile>..\..\Binaries\OpenTK\Release\OpenTK.GLControl.xml</DocumentationFile>
|
||||
<FileAlignment>4096</FileAlignment>
|
||||
<Optimize>True</Optimize>
|
||||
<OutputPath>..\..\Binaries\OpenTK\Release\</OutputPath>
|
||||
|
|
|
@ -63,6 +63,10 @@ namespace OpenTK
|
|||
GraphicsMode mode;
|
||||
IWindowInfo window_info;
|
||||
IntPtr display;
|
||||
IntPtr rootWindow;
|
||||
|
||||
// Use reflection to retrieve the necessary values from Mono's Windows.Forms implementation.
|
||||
Type xplatui = Type.GetType("System.Windows.Forms.XplatUIX11, System.Windows.Forms");
|
||||
|
||||
#endregion
|
||||
|
||||
|
@ -77,16 +81,24 @@ namespace OpenTK
|
|||
|
||||
this.mode = mode;
|
||||
|
||||
// Use reflection to retrieve the necessary values from Mono's Windows.Forms implementation.
|
||||
Type xplatui = Type.GetType("System.Windows.Forms.XplatUIX11, System.Windows.Forms");
|
||||
if (xplatui == null) throw new PlatformNotSupportedException(
|
||||
"System.Windows.Forms.XplatUIX11 missing. Unsupported platform or Mono runtime version, aborting.");
|
||||
|
||||
// get the required handles from the X11 API.
|
||||
display = (IntPtr)GetStaticFieldValue(xplatui, "DisplayHandle");
|
||||
IntPtr rootWindow = (IntPtr)GetStaticFieldValue(xplatui, "RootWindow");
|
||||
rootWindow = (IntPtr)GetStaticFieldValue(xplatui, "RootWindow");
|
||||
int screen = (int)GetStaticFieldValue(xplatui, "ScreenNo");
|
||||
|
||||
window_info = Utilities.CreateX11WindowInfo(display, screen, control.Handle, rootWindow, IntPtr.Zero);
|
||||
}
|
||||
|
||||
#region IGLControl Members
|
||||
|
||||
public IGraphicsContext CreateContext(int major, int minor, GraphicsContextFlags flags)
|
||||
{
|
||||
GraphicsContext context = new GraphicsContext(mode, this.WindowInfo, major, minor, flags);
|
||||
mode = context.GraphicsMode;
|
||||
|
||||
// get the XVisualInfo for this GraphicsMode
|
||||
XVisualInfo info = new XVisualInfo();
|
||||
info.VisualID = mode.Index.Value;
|
||||
|
@ -98,14 +110,7 @@ namespace OpenTK
|
|||
SetStaticFieldValue(xplatui, "CustomVisual", info.Visual);
|
||||
SetStaticFieldValue(xplatui, "CustomColormap", XCreateColormap(display, rootWindow, info.Visual, 0));
|
||||
|
||||
window_info = Utilities.CreateX11WindowInfo(display, screen, control.Handle, rootWindow, infoPtr);
|
||||
}
|
||||
|
||||
#region IGLControl Members
|
||||
|
||||
public IGraphicsContext CreateContext(int major, int minor, GraphicsContextFlags flags)
|
||||
{
|
||||
return new GraphicsContext(mode, this.WindowInfo, major, minor, flags);
|
||||
return context;
|
||||
}
|
||||
|
||||
public bool IsIdle
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Commandlineparameters>OpenTK.dll ../../../OpenTK.snk</Commandlineparameters>
|
||||
<Commandlineparameters>../../OpenTK/Debug/OpenTK.dll ../../../OpenTK.snk</Commandlineparameters>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
|
@ -33,7 +33,7 @@
|
|||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Commandlineparameters>OpenTK.dll ../../../OpenTK.snk</Commandlineparameters>
|
||||
<Commandlineparameters>../../OpenTK/Release/OpenTK.dll ../../../OpenTK.snk</Commandlineparameters>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<SignAssembly>true</SignAssembly>
|
||||
|
|
|
@ -306,7 +306,8 @@ namespace OpenTK
|
|||
{
|
||||
RunningOnSdl2 = DetectSdl2();
|
||||
}
|
||||
else if (runningOnLinux || options.Backend == PlatformBackend.PreferX11)
|
||||
|
||||
if (runningOnLinux || options.Backend == PlatformBackend.PreferX11)
|
||||
{
|
||||
runningOnX11 = DetectX11();
|
||||
}
|
||||
|
|
|
@ -836,6 +836,7 @@ namespace OpenTK.Graphics.ES11
|
|||
/// Specifies the name of a texture.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBindTexture")]
|
||||
public static extern void BindTexture(OpenTK.Graphics.ES11.All target, Int32 texture);
|
||||
|
||||
|
@ -7155,6 +7156,7 @@ namespace OpenTK.Graphics.ES11
|
|||
/// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glStencilFunc")]
|
||||
public static extern void StencilFunc(OpenTK.Graphics.ES11.All func, Int32 @ref, Int32 mask);
|
||||
|
||||
|
@ -9606,9 +9608,26 @@ namespace OpenTK.Graphics.ES11
|
|||
/// specifies how source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "EXT_blend_minmax", Version = "", EntryPoint = "glBlendEquationEXT")]
|
||||
public static extern void BlendEquation(OpenTK.Graphics.ES11.All mode);
|
||||
|
||||
/// <summary>[requires: EXT_blend_minmax]
|
||||
/// Specify the equation used for both the RGB blend equation and the Alpha blend equation
|
||||
/// </summary>
|
||||
/// <param name="buf">
|
||||
/// <para>
|
||||
/// for glBlendEquationi, specifies the index of the draw buffer for which to set the blend equation.
|
||||
/// </para>
|
||||
/// </param>
|
||||
/// <param name="mode">
|
||||
/// <para>
|
||||
/// specifies how source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[AutoGenerated(Category = "EXT_blend_minmax", Version = "", EntryPoint = "glBlendEquationEXT")]
|
||||
public static extern void BlendEquation(OpenTK.Graphics.ES11.BlendEquationModeExt mode);
|
||||
|
||||
/// <summary>[requires: EXT_discard_framebuffer]</summary>
|
||||
[AutoGenerated(Category = "EXT_discard_framebuffer", Version = "", EntryPoint = "glDiscardFramebufferEXT")]
|
||||
public static extern void DiscardFramebuffer(OpenTK.Graphics.ES11.All target, Int32 numAttachments, OpenTK.Graphics.ES11.All[] attachments);
|
||||
|
|
|
@ -110,6 +110,10 @@ namespace OpenTK.Graphics.ES11
|
|||
/// </summary>
|
||||
CurrentBit = ((int)0x00000001) ,
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_DEPTH_PASS_EVENT_BIT_AMD = 0x00000001
|
||||
/// </summary>
|
||||
QueryDepthPassEventBitAmd = ((int)0x00000001) ,
|
||||
/// <summary>
|
||||
/// Original was GL_SYNC_FLUSH_COMMANDS_BIT_APPLE = 0x00000001
|
||||
/// </summary>
|
||||
SyncFlushCommandsBitApple = ((int)0x00000001) ,
|
||||
|
@ -170,6 +174,10 @@ namespace OpenTK.Graphics.ES11
|
|||
/// </summary>
|
||||
PointBit = ((int)0x00000002) ,
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_DEPTH_FAIL_EVENT_BIT_AMD = 0x00000002
|
||||
/// </summary>
|
||||
QueryDepthFailEventBitAmd = ((int)0x00000002) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COLOR_BUFFER_BIT2_QCOM = 0x00000004
|
||||
/// </summary>
|
||||
ColorBufferBit2Qcom = ((int)0x00000004) ,
|
||||
|
@ -186,6 +194,10 @@ namespace OpenTK.Graphics.ES11
|
|||
/// </summary>
|
||||
LineBit = ((int)0x00000004) ,
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_STENCIL_FAIL_EVENT_BIT_AMD = 0x00000004
|
||||
/// </summary>
|
||||
QueryStencilFailEventBitAmd = ((int)0x00000004) ,
|
||||
/// <summary>
|
||||
/// Original was GL_UNIFORM_BARRIER_BIT = 0x00000004
|
||||
/// </summary>
|
||||
UniformBarrierBit = ((int)0x00000004) ,
|
||||
|
@ -202,6 +214,10 @@ namespace OpenTK.Graphics.ES11
|
|||
/// </summary>
|
||||
PolygonBit = ((int)0x00000008) ,
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD = 0x00000008
|
||||
/// </summary>
|
||||
QueryDepthBoundsFailEventBitAmd = ((int)0x00000008) ,
|
||||
/// <summary>
|
||||
/// Original was GL_TESS_CONTROL_SHADER_BIT = 0x00000008
|
||||
/// </summary>
|
||||
TessControlShaderBit = ((int)0x00000008) ,
|
||||
|
@ -5834,6 +5850,10 @@ namespace OpenTK.Graphics.ES11
|
|||
/// </summary>
|
||||
ClientAllAttribBits = unchecked((int)0xFFFFFFFF) ,
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_ALL_EVENT_BITS_AMD = 0xFFFFFFFF
|
||||
/// </summary>
|
||||
QueryAllEventBitsAmd = unchecked((int)0xFFFFFFFF) ,
|
||||
/// <summary>
|
||||
/// Original was GL_TIMEOUT_IGNORED_APPLE = 0xFFFFFFFFFFFFFFFF
|
||||
/// </summary>
|
||||
TimeoutIgnoredApple = unchecked((int)0xFFFFFFFFFFFFFFFF) ,
|
||||
|
@ -6455,7 +6475,7 @@ namespace OpenTK.Graphics.ES11
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Not used directly.
|
||||
/// Used in GL.Ext.BlendEquation
|
||||
/// </summary>
|
||||
public enum BlendEquationModeExt : int
|
||||
{
|
||||
|
@ -8156,6 +8176,21 @@ namespace OpenTK.Graphics.ES11
|
|||
TextureDeformationSgix = ((int)0x8195) ,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Not used directly.
|
||||
/// </summary>
|
||||
public enum FogCoordinatePointerType : int
|
||||
{
|
||||
/// <summary>
|
||||
/// Original was GL_FLOAT = 0x1406
|
||||
/// </summary>
|
||||
Float = ((int)0x1406) ,
|
||||
/// <summary>
|
||||
/// Original was GL_DOUBLE = 0x140A
|
||||
/// </summary>
|
||||
Double = ((int)0x140A) ,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Not used directly.
|
||||
/// </summary>
|
||||
|
@ -8214,6 +8249,36 @@ namespace OpenTK.Graphics.ES11
|
|||
FogOffsetValueSgix = ((int)0x8199) ,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Not used directly.
|
||||
/// </summary>
|
||||
public enum FogPointerTypeExt : int
|
||||
{
|
||||
/// <summary>
|
||||
/// Original was GL_FLOAT = 0x1406
|
||||
/// </summary>
|
||||
Float = ((int)0x1406) ,
|
||||
/// <summary>
|
||||
/// Original was GL_DOUBLE = 0x140A
|
||||
/// </summary>
|
||||
Double = ((int)0x140A) ,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Not used directly.
|
||||
/// </summary>
|
||||
public enum FogPointerTypeIbm : int
|
||||
{
|
||||
/// <summary>
|
||||
/// Original was GL_FLOAT = 0x1406
|
||||
/// </summary>
|
||||
Float = ((int)0x1406) ,
|
||||
/// <summary>
|
||||
/// Original was GL_DOUBLE = 0x140A
|
||||
/// </summary>
|
||||
Double = ((int)0x140A) ,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Not used directly.
|
||||
/// </summary>
|
||||
|
@ -11987,6 +12052,34 @@ namespace OpenTK.Graphics.ES11
|
|||
FenceConditionNv = ((int)0x84F4) ,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Not used directly.
|
||||
/// </summary>
|
||||
[Flags]
|
||||
public enum OcclusionQueryEventMaskAmd : int
|
||||
{
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_DEPTH_PASS_EVENT_BIT_AMD = 0x00000001
|
||||
/// </summary>
|
||||
QueryDepthPassEventBitAmd = ((int)0x00000001) ,
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_DEPTH_FAIL_EVENT_BIT_AMD = 0x00000002
|
||||
/// </summary>
|
||||
QueryDepthFailEventBitAmd = ((int)0x00000002) ,
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_STENCIL_FAIL_EVENT_BIT_AMD = 0x00000004
|
||||
/// </summary>
|
||||
QueryStencilFailEventBitAmd = ((int)0x00000004) ,
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD = 0x00000008
|
||||
/// </summary>
|
||||
QueryDepthBoundsFailEventBitAmd = ((int)0x00000008) ,
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_ALL_EVENT_BITS_AMD = 0xFFFFFFFF
|
||||
/// </summary>
|
||||
QueryAllEventBitsAmd = unchecked((int)0xFFFFFFFF) ,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Not used directly.
|
||||
/// </summary>
|
||||
|
|
|
@ -1275,6 +1275,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// The timeout, specified in nanoseconds, for which the implementation should wait for sync to become signaled.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glClientWaitSyncAPPLE")]
|
||||
public static extern OpenTK.Graphics.ES20.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES20.All flags, Int64 timeout);
|
||||
|
||||
|
@ -1722,6 +1723,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Specifies the timeout that the server should wait before continuing. timeout must be GL_TIMEOUT_IGNORED.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glWaitSyncAPPLE")]
|
||||
public static extern void WaitSync(IntPtr sync, OpenTK.Graphics.ES20.All flags, Int64 timeout);
|
||||
|
||||
|
@ -1905,6 +1907,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Specifies the name of a buffer object.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindBuffer")]
|
||||
public static extern void BindBuffer(OpenTK.Graphics.ES20.All target, Int32 buffer);
|
||||
|
||||
|
@ -1972,6 +1975,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Specifies the name of the framebuffer object to bind.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindFramebuffer")]
|
||||
public static extern void BindFramebuffer(OpenTK.Graphics.ES20.All target, Int32 framebuffer);
|
||||
|
||||
|
@ -2039,6 +2043,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Specifies the name of the renderbuffer object to bind.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindRenderbuffer")]
|
||||
public static extern void BindRenderbuffer(OpenTK.Graphics.ES20.All target, Int32 renderbuffer);
|
||||
|
||||
|
@ -2106,6 +2111,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Specifies the name of a texture.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindTexture")]
|
||||
public static extern void BindTexture(OpenTK.Graphics.ES20.All target, Int32 texture);
|
||||
|
||||
|
@ -5122,6 +5128,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// A Boolean flag determining whether the selected messages should be enabled or disabled.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")]
|
||||
public static extern void DebugMessageControl(OpenTK.Graphics.ES20.All source, OpenTK.Graphics.ES20.All type, OpenTK.Graphics.ES20.All severity, Int32 count, Int32[] ids, bool enabled);
|
||||
|
||||
|
@ -5158,6 +5165,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// A Boolean flag determining whether the selected messages should be enabled or disabled.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")]
|
||||
public static extern void DebugMessageControl(OpenTK.Graphics.ES20.All source, OpenTK.Graphics.ES20.All type, OpenTK.Graphics.ES20.All severity, Int32 count, ref Int32 ids, bool enabled);
|
||||
|
||||
|
@ -5194,6 +5202,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// A Boolean flag determining whether the selected messages should be enabled or disabled.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")]
|
||||
public static extern unsafe void DebugMessageControl(OpenTK.Graphics.ES20.All source, OpenTK.Graphics.ES20.All type, OpenTK.Graphics.ES20.All severity, Int32 count, Int32* ids, bool enabled);
|
||||
|
@ -5565,6 +5574,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// The address of a character array containing the message to insert.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsert")]
|
||||
public static extern void DebugMessageInsert(OpenTK.Graphics.ES20.All source, OpenTK.Graphics.ES20.All type, Int32 id, OpenTK.Graphics.ES20.All severity, Int32 length, String buf);
|
||||
|
||||
|
@ -6938,6 +6948,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Specifies the name of an existing renderbuffer object of type renderbuffertarget to attach.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferRenderbuffer")]
|
||||
public static extern void FramebufferRenderbuffer(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All renderbuffertarget, Int32 renderbuffer);
|
||||
|
||||
|
@ -7078,6 +7089,7 @@ namespace OpenTK.Graphics.ES20
|
|||
public static extern void FramebufferRenderbuffer(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer);
|
||||
|
||||
/// <summary>[requires: v2.0 and ES_VERSION_2_0]</summary>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferTexture2D")]
|
||||
public static extern void FramebufferTexture2D(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All textarget, Int32 texture, Int32 level);
|
||||
|
||||
|
@ -7707,6 +7719,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Returns a null terminated string containing the name of the attribute variable.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")]
|
||||
public static extern void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES20.All type, [OutAttribute] StringBuilder name);
|
||||
|
||||
|
@ -7790,6 +7803,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Returns a null terminated string containing the name of the attribute variable.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")]
|
||||
public static extern unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES20.All* type, [OutAttribute] StringBuilder name);
|
||||
|
@ -8043,6 +8057,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Returns a null terminated string containing the name of the uniform variable.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")]
|
||||
public static extern void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES20.All type, [OutAttribute] StringBuilder name);
|
||||
|
||||
|
@ -8126,6 +8141,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Returns a null terminated string containing the name of the uniform variable.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")]
|
||||
public static extern unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES20.All* type, [OutAttribute] StringBuilder name);
|
||||
|
@ -8705,6 +8721,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// The address of an array of characters that will receive the messages.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")]
|
||||
public static extern Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES20.All[] sources, [OutAttribute] OpenTK.Graphics.ES20.All[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.ES20.All[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog);
|
||||
|
||||
|
@ -8751,6 +8768,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// The address of an array of characters that will receive the messages.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")]
|
||||
public static extern Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES20.All sources, [OutAttribute] out OpenTK.Graphics.ES20.All types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.ES20.All severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog);
|
||||
|
||||
|
@ -8797,6 +8815,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// The address of an array of characters that will receive the messages.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")]
|
||||
public static extern unsafe Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES20.All* sources, [OutAttribute] OpenTK.Graphics.ES20.All* types, [OutAttribute] Int32* ids, [OutAttribute] OpenTK.Graphics.ES20.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog);
|
||||
|
@ -9578,6 +9597,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// The address of a string that will receive the object label.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")]
|
||||
public static extern void GetObjectLabel(OpenTK.Graphics.ES20.All identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label);
|
||||
|
||||
|
@ -9609,6 +9629,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// The address of a string that will receive the object label.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")]
|
||||
public static extern void GetObjectLabel(OpenTK.Graphics.ES20.All identifier, Int32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label);
|
||||
|
||||
|
@ -9640,6 +9661,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// The address of a string that will receive the object label.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")]
|
||||
public static extern unsafe void GetObjectLabel(OpenTK.Graphics.ES20.All identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label);
|
||||
|
@ -10658,6 +10680,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Returns the requested object parameter.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")]
|
||||
public static extern void GetProgram(Int32 program, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params);
|
||||
|
||||
|
@ -10679,6 +10702,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Returns the requested object parameter.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")]
|
||||
public static extern void GetProgram(Int32 program, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params);
|
||||
|
||||
|
@ -10700,6 +10724,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Returns the requested object parameter.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")]
|
||||
public static extern unsafe void GetProgram(Int32 program, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params);
|
||||
|
@ -11295,6 +11320,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Returns the requested object parameter.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")]
|
||||
public static extern void GetShader(Int32 shader, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params);
|
||||
|
||||
|
@ -11316,6 +11342,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Returns the requested object parameter.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")]
|
||||
public static extern void GetShader(Int32 shader, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params);
|
||||
|
||||
|
@ -11337,6 +11364,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Returns the requested object parameter.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")]
|
||||
public static extern unsafe void GetShader(Int32 shader, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params);
|
||||
|
@ -12548,6 +12576,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Returns the requested data.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")]
|
||||
public static extern void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.All pname, [OutAttribute] Single[] @params);
|
||||
|
||||
|
@ -12569,6 +12598,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Returns the requested data.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")]
|
||||
public static extern void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Single @params);
|
||||
|
||||
|
@ -12590,6 +12620,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Returns the requested data.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")]
|
||||
public static extern unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.All pname, [OutAttribute] Single* @params);
|
||||
|
@ -12811,6 +12842,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Returns the requested data.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")]
|
||||
public static extern void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params);
|
||||
|
||||
|
@ -12832,6 +12864,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Returns the requested data.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")]
|
||||
public static extern void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params);
|
||||
|
||||
|
@ -12853,6 +12886,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Returns the requested data.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")]
|
||||
public static extern unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params);
|
||||
|
@ -13074,6 +13108,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Returns the pointer value.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
|
||||
public static extern void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr pointer);
|
||||
|
||||
|
@ -13095,6 +13130,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Returns the pointer value.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
|
||||
public static extern void GetVertexAttribPointer<T2>(Int32 index, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T2[] pointer)
|
||||
where T2 : struct
|
||||
|
@ -13118,6 +13154,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Returns the pointer value.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
|
||||
public static extern void GetVertexAttribPointer<T2>(Int32 index, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T2[,] pointer)
|
||||
where T2 : struct
|
||||
|
@ -13141,6 +13178,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Returns the pointer value.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
|
||||
public static extern void GetVertexAttribPointer<T2>(Int32 index, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T2[,,] pointer)
|
||||
where T2 : struct
|
||||
|
@ -13164,6 +13202,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Returns the pointer value.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
|
||||
public static extern void GetVertexAttribPointer<T2>(Int32 index, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] ref T2 pointer)
|
||||
where T2 : struct
|
||||
|
@ -13784,6 +13823,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// The address of a string containing the label to assign to the object.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabel")]
|
||||
public static extern void ObjectLabel(OpenTK.Graphics.ES20.All identifier, Int32 name, Int32 length, String label);
|
||||
|
||||
|
@ -14539,6 +14579,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Specifies the length of the array whose address is given in binary.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
|
||||
public static extern void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES20.All binaryformat, IntPtr binary, Int32 length);
|
||||
|
||||
|
@ -14570,6 +14611,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Specifies the length of the array whose address is given in binary.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
|
||||
public static extern void ShaderBinary<T3>(Int32 count, Int32[] shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length)
|
||||
where T3 : struct
|
||||
|
@ -14603,6 +14645,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Specifies the length of the array whose address is given in binary.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
|
||||
public static extern void ShaderBinary<T3>(Int32 count, Int32[] shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length)
|
||||
where T3 : struct
|
||||
|
@ -14636,6 +14679,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Specifies the length of the array whose address is given in binary.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
|
||||
public static extern void ShaderBinary<T3>(Int32 count, Int32[] shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length)
|
||||
where T3 : struct
|
||||
|
@ -14669,6 +14713,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Specifies the length of the array whose address is given in binary.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
|
||||
public static extern void ShaderBinary<T3>(Int32 count, Int32[] shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length)
|
||||
where T3 : struct
|
||||
|
@ -14865,6 +14910,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Specifies the length of the array whose address is given in binary.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
|
||||
public static extern void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES20.All binaryformat, IntPtr binary, Int32 length);
|
||||
|
||||
|
@ -14896,6 +14942,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Specifies the length of the array whose address is given in binary.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
|
||||
public static extern void ShaderBinary<T3>(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length)
|
||||
where T3 : struct
|
||||
|
@ -14929,6 +14976,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Specifies the length of the array whose address is given in binary.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
|
||||
public static extern void ShaderBinary<T3>(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length)
|
||||
where T3 : struct
|
||||
|
@ -14962,6 +15010,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Specifies the length of the array whose address is given in binary.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
|
||||
public static extern void ShaderBinary<T3>(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length)
|
||||
where T3 : struct
|
||||
|
@ -14995,6 +15044,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Specifies the length of the array whose address is given in binary.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
|
||||
public static extern void ShaderBinary<T3>(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length)
|
||||
where T3 : struct
|
||||
|
@ -15191,6 +15241,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Specifies the length of the array whose address is given in binary.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
|
||||
public static extern unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES20.All binaryformat, IntPtr binary, Int32 length);
|
||||
|
@ -15223,6 +15274,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Specifies the length of the array whose address is given in binary.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
|
||||
public static extern unsafe void ShaderBinary<T3>(Int32 count, Int32* shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length)
|
||||
|
@ -15257,6 +15309,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Specifies the length of the array whose address is given in binary.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
|
||||
public static extern unsafe void ShaderBinary<T3>(Int32 count, Int32* shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length)
|
||||
|
@ -15291,6 +15344,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Specifies the length of the array whose address is given in binary.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
|
||||
public static extern unsafe void ShaderBinary<T3>(Int32 count, Int32* shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length)
|
||||
|
@ -15325,6 +15379,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Specifies the length of the array whose address is given in binary.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
|
||||
public static extern unsafe void ShaderBinary<T3>(Int32 count, Int32* shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length)
|
||||
|
@ -16700,6 +16755,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFunc")]
|
||||
public static extern void StencilFunc(OpenTK.Graphics.ES20.All func, Int32 @ref, Int32 mask);
|
||||
|
||||
|
@ -16792,6 +16848,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")]
|
||||
public static extern void StencilFuncSeparate(OpenTK.Graphics.ES20.All face, OpenTK.Graphics.ES20.All func, Int32 @ref, Int32 mask);
|
||||
|
||||
|
@ -16967,6 +17024,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")]
|
||||
public static extern void StencilMaskSeparate(OpenTK.Graphics.ES20.All face, Int32 mask);
|
||||
|
||||
|
@ -21414,6 +21472,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Specifies a offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
|
||||
public static extern void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES20.All type, bool normalized, Int32 stride, IntPtr pointer);
|
||||
|
||||
|
@ -21450,6 +21509,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Specifies a offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
|
||||
public static extern void VertexAttribPointer<T5>(Int32 index, Int32 size, OpenTK.Graphics.ES20.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[] pointer)
|
||||
where T5 : struct
|
||||
|
@ -21488,6 +21548,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Specifies a offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
|
||||
public static extern void VertexAttribPointer<T5>(Int32 index, Int32 size, OpenTK.Graphics.ES20.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,] pointer)
|
||||
where T5 : struct
|
||||
|
@ -21526,6 +21587,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Specifies a offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
|
||||
public static extern void VertexAttribPointer<T5>(Int32 index, Int32 size, OpenTK.Graphics.ES20.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,,] pointer)
|
||||
where T5 : struct
|
||||
|
@ -21564,6 +21626,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Specifies a offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
|
||||
public static extern void VertexAttribPointer<T5>(Int32 index, Int32 size, OpenTK.Graphics.ES20.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] ref T5 pointer)
|
||||
where T5 : struct
|
||||
|
@ -22221,6 +22284,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Specifies the name of a query object.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glBeginQueryEXT")]
|
||||
public static extern void BeginQuery(OpenTK.Graphics.ES20.All target, Int32 id);
|
||||
|
||||
|
@ -23376,14 +23440,17 @@ namespace OpenTK.Graphics.ES20
|
|||
public static extern OpenTK.Graphics.ES20.All GetGraphicsResetStatus();
|
||||
|
||||
/// <summary>[requires: EXT_multiview_draw_buffers]</summary>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")]
|
||||
public static extern void GetInteger(OpenTK.Graphics.ES20.All target, Int32 index, [OutAttribute] Int32[] data);
|
||||
|
||||
/// <summary>[requires: EXT_multiview_draw_buffers]</summary>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")]
|
||||
public static extern void GetInteger(OpenTK.Graphics.ES20.All target, Int32 index, [OutAttribute] out Int32 data);
|
||||
|
||||
/// <summary>[requires: EXT_multiview_draw_buffers]</summary>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")]
|
||||
public static extern unsafe void GetInteger(OpenTK.Graphics.ES20.All target, Int32 index, [OutAttribute] Int32* data);
|
||||
|
@ -24017,6 +24084,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// If a buffer is bound to the GL_QUERY_RESULT_BUFFER target, then params is treated as an offset to a location within that buffer's data store to receive the result of the query. If no buffer is bound to GL_QUERY_RESULT_BUFFER, then params is treated as an address in client memory of a variable to receive the resulting data.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")]
|
||||
public static extern void GetQueryObject(Int32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int64[] @params);
|
||||
|
||||
|
@ -24038,6 +24106,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// If a buffer is bound to the GL_QUERY_RESULT_BUFFER target, then params is treated as an offset to a location within that buffer's data store to receive the result of the query. If no buffer is bound to GL_QUERY_RESULT_BUFFER, then params is treated as an address in client memory of a variable to receive the resulting data.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")]
|
||||
public static extern void GetQueryObject(Int32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int64 @params);
|
||||
|
||||
|
@ -24059,6 +24128,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// If a buffer is bound to the GL_QUERY_RESULT_BUFFER target, then params is treated as an offset to a location within that buffer's data store to receive the result of the query. If no buffer is bound to GL_QUERY_RESULT_BUFFER, then params is treated as an address in client memory of a variable to receive the resulting data.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")]
|
||||
public static extern unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int64* @params);
|
||||
|
@ -24280,6 +24350,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// If a buffer is bound to the GL_QUERY_RESULT_BUFFER target, then params is treated as an offset to a location within that buffer's data store to receive the result of the query. If no buffer is bound to GL_QUERY_RESULT_BUFFER, then params is treated as an address in client memory of a variable to receive the resulting data.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")]
|
||||
public static extern void GetQueryObject(Int32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params);
|
||||
|
||||
|
@ -24301,6 +24372,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// If a buffer is bound to the GL_QUERY_RESULT_BUFFER target, then params is treated as an offset to a location within that buffer's data store to receive the result of the query. If no buffer is bound to GL_QUERY_RESULT_BUFFER, then params is treated as an address in client memory of a variable to receive the resulting data.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")]
|
||||
public static extern void GetQueryObject(Int32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params);
|
||||
|
||||
|
@ -24322,6 +24394,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// If a buffer is bound to the GL_QUERY_RESULT_BUFFER target, then params is treated as an offset to a location within that buffer's data store to receive the result of the query. If no buffer is bound to GL_QUERY_RESULT_BUFFER, then params is treated as an address in client memory of a variable to receive the resulting data.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")]
|
||||
public static extern unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params);
|
||||
|
@ -24877,6 +24950,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Specifies a combination of access flags indicating the desired access to the range.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "EXT_map_buffer_range", Version = "", EntryPoint = "glMapBufferRangeEXT")]
|
||||
public static extern IntPtr MapBufferRange(OpenTK.Graphics.ES20.All target, IntPtr offset, IntPtr length, Int32 access);
|
||||
|
||||
|
@ -26147,6 +26221,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Specifies the new value of the parameter specified by pname for program.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramParameteriEXT")]
|
||||
public static extern void ProgramParameter(Int32 program, OpenTK.Graphics.ES20.All pname, Int32 value);
|
||||
|
||||
|
@ -30195,6 +30270,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// A Boolean flag determining whether the selected messages should be enabled or disabled.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")]
|
||||
public static extern void DebugMessageControl(OpenTK.Graphics.ES20.All source, OpenTK.Graphics.ES20.All type, OpenTK.Graphics.ES20.All severity, Int32 count, Int32[] ids, bool enabled);
|
||||
|
||||
|
@ -30231,6 +30307,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// A Boolean flag determining whether the selected messages should be enabled or disabled.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")]
|
||||
public static extern void DebugMessageControl(OpenTK.Graphics.ES20.All source, OpenTK.Graphics.ES20.All type, OpenTK.Graphics.ES20.All severity, Int32 count, ref Int32 ids, bool enabled);
|
||||
|
||||
|
@ -30267,6 +30344,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// A Boolean flag determining whether the selected messages should be enabled or disabled.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")]
|
||||
public static extern unsafe void DebugMessageControl(OpenTK.Graphics.ES20.All source, OpenTK.Graphics.ES20.All type, OpenTK.Graphics.ES20.All severity, Int32 count, Int32* ids, bool enabled);
|
||||
|
@ -30638,6 +30716,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// The address of a character array containing the message to insert.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsertKHR")]
|
||||
public static extern void DebugMessageInsert(OpenTK.Graphics.ES20.All source, OpenTK.Graphics.ES20.All type, Int32 id, OpenTK.Graphics.ES20.All severity, Int32 length, String buf);
|
||||
|
||||
|
@ -30795,6 +30874,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// The address of an array of characters that will receive the messages.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")]
|
||||
public static extern Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES20.All[] sources, [OutAttribute] OpenTK.Graphics.ES20.All[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.ES20.All[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog);
|
||||
|
||||
|
@ -30841,6 +30921,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// The address of an array of characters that will receive the messages.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")]
|
||||
public static extern Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES20.All sources, [OutAttribute] out OpenTK.Graphics.ES20.All types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.ES20.All severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog);
|
||||
|
||||
|
@ -30887,6 +30968,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// The address of an array of characters that will receive the messages.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")]
|
||||
public static extern unsafe Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES20.All* sources, [OutAttribute] OpenTK.Graphics.ES20.All* types, [OutAttribute] Int32* ids, [OutAttribute] OpenTK.Graphics.ES20.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog);
|
||||
|
@ -31343,6 +31425,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// The address of a string that will receive the object label.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")]
|
||||
public static extern void GetObjectLabel(OpenTK.Graphics.ES20.All identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label);
|
||||
|
||||
|
@ -31374,6 +31457,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// The address of a string that will receive the object label.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")]
|
||||
public static extern void GetObjectLabel(OpenTK.Graphics.ES20.All identifier, Int32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label);
|
||||
|
||||
|
@ -31405,6 +31489,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// The address of a string that will receive the object label.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")]
|
||||
public static extern unsafe void GetObjectLabel(OpenTK.Graphics.ES20.All identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label);
|
||||
|
@ -32168,6 +32253,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// The address of a string containing the label to assign to the object.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabelKHR")]
|
||||
public static extern void ObjectLabel(OpenTK.Graphics.ES20.All identifier, Int32 name, Int32 length, String label);
|
||||
|
||||
|
|
|
@ -220,6 +220,10 @@ namespace OpenTK.Graphics.ES20
|
|||
/// </summary>
|
||||
CurrentBit = ((int)0x00000001) ,
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_DEPTH_PASS_EVENT_BIT_AMD = 0x00000001
|
||||
/// </summary>
|
||||
QueryDepthPassEventBitAmd = ((int)0x00000001) ,
|
||||
/// <summary>
|
||||
/// Original was GL_SYNC_FLUSH_COMMANDS_BIT_APPLE = 0x00000001
|
||||
/// </summary>
|
||||
SyncFlushCommandsBitApple = ((int)0x00000001) ,
|
||||
|
@ -280,6 +284,10 @@ namespace OpenTK.Graphics.ES20
|
|||
/// </summary>
|
||||
PointBit = ((int)0x00000002) ,
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_DEPTH_FAIL_EVENT_BIT_AMD = 0x00000002
|
||||
/// </summary>
|
||||
QueryDepthFailEventBitAmd = ((int)0x00000002) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COLOR_BUFFER_BIT2_QCOM = 0x00000004
|
||||
/// </summary>
|
||||
ColorBufferBit2Qcom = ((int)0x00000004) ,
|
||||
|
@ -296,6 +304,10 @@ namespace OpenTK.Graphics.ES20
|
|||
/// </summary>
|
||||
LineBit = ((int)0x00000004) ,
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_STENCIL_FAIL_EVENT_BIT_AMD = 0x00000004
|
||||
/// </summary>
|
||||
QueryStencilFailEventBitAmd = ((int)0x00000004) ,
|
||||
/// <summary>
|
||||
/// Original was GL_UNIFORM_BARRIER_BIT = 0x00000004
|
||||
/// </summary>
|
||||
UniformBarrierBit = ((int)0x00000004) ,
|
||||
|
@ -312,6 +324,10 @@ namespace OpenTK.Graphics.ES20
|
|||
/// </summary>
|
||||
PolygonBit = ((int)0x00000008) ,
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD = 0x00000008
|
||||
/// </summary>
|
||||
QueryDepthBoundsFailEventBitAmd = ((int)0x00000008) ,
|
||||
/// <summary>
|
||||
/// Original was GL_TESS_CONTROL_SHADER_BIT = 0x00000008
|
||||
/// </summary>
|
||||
TessControlShaderBit = ((int)0x00000008) ,
|
||||
|
@ -7200,6 +7216,46 @@ namespace OpenTK.Graphics.ES20
|
|||
/// </summary>
|
||||
CompressedRgbaAstc12X12Khr = ((int)0x93BD) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGBA_ASTC_3x3x3_OES = 0x93C0
|
||||
/// </summary>
|
||||
CompressedRgbaAstc3X3x3Oes = ((int)0x93C0) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGBA_ASTC_4x3x3_OES = 0x93C1
|
||||
/// </summary>
|
||||
CompressedRgbaAstc4X3x3Oes = ((int)0x93C1) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGBA_ASTC_4x4x3_OES = 0x93C2
|
||||
/// </summary>
|
||||
CompressedRgbaAstc4X4x3Oes = ((int)0x93C2) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGBA_ASTC_4x4x4_OES = 0x93C3
|
||||
/// </summary>
|
||||
CompressedRgbaAstc4X4x4Oes = ((int)0x93C3) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGBA_ASTC_5x4x4_OES = 0x93C4
|
||||
/// </summary>
|
||||
CompressedRgbaAstc5X4x4Oes = ((int)0x93C4) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGBA_ASTC_5x5x4_OES = 0x93C5
|
||||
/// </summary>
|
||||
CompressedRgbaAstc5X5x4Oes = ((int)0x93C5) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGBA_ASTC_5x5x5_OES = 0x93C6
|
||||
/// </summary>
|
||||
CompressedRgbaAstc5X5x5Oes = ((int)0x93C6) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGBA_ASTC_6x5x5_OES = 0x93C7
|
||||
/// </summary>
|
||||
CompressedRgbaAstc6X5x5Oes = ((int)0x93C7) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGBA_ASTC_6x6x5_OES = 0x93C8
|
||||
/// </summary>
|
||||
CompressedRgbaAstc6X6x5Oes = ((int)0x93C8) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGBA_ASTC_6x6x6_OES = 0x93C9
|
||||
/// </summary>
|
||||
CompressedRgbaAstc6X6x6Oes = ((int)0x93C9) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR = 0x93D0
|
||||
/// </summary>
|
||||
CompressedSrgb8Alpha8Astc4X4Khr = ((int)0x93D0) ,
|
||||
|
@ -7256,6 +7312,46 @@ namespace OpenTK.Graphics.ES20
|
|||
/// </summary>
|
||||
CompressedSrgb8Alpha8Astc12X12Khr = ((int)0x93DD) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_3x3x3_OES = 0x93E0
|
||||
/// </summary>
|
||||
CompressedSrgb8Alpha8Astc3X3x3Oes = ((int)0x93E0) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x3x3_OES = 0x93E1
|
||||
/// </summary>
|
||||
CompressedSrgb8Alpha8Astc4X3x3Oes = ((int)0x93E1) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x3_OES = 0x93E2
|
||||
/// </summary>
|
||||
CompressedSrgb8Alpha8Astc4X4x3Oes = ((int)0x93E2) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x4_OES = 0x93E3
|
||||
/// </summary>
|
||||
CompressedSrgb8Alpha8Astc4X4x4Oes = ((int)0x93E3) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4x4_OES = 0x93E4
|
||||
/// </summary>
|
||||
CompressedSrgb8Alpha8Astc5X4x4Oes = ((int)0x93E4) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x4_OES = 0x93E5
|
||||
/// </summary>
|
||||
CompressedSrgb8Alpha8Astc5X5x4Oes = ((int)0x93E5) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x5_OES = 0x93E6
|
||||
/// </summary>
|
||||
CompressedSrgb8Alpha8Astc5X5x5Oes = ((int)0x93E6) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5x5_OES = 0x93E7
|
||||
/// </summary>
|
||||
CompressedSrgb8Alpha8Astc6X5x5Oes = ((int)0x93E7) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x5_OES = 0x93E8
|
||||
/// </summary>
|
||||
CompressedSrgb8Alpha8Astc6X6x5Oes = ((int)0x93E8) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x6_OES = 0x93E9
|
||||
/// </summary>
|
||||
CompressedSrgb8Alpha8Astc6X6x6Oes = ((int)0x93E9) ,
|
||||
/// <summary>
|
||||
/// Original was GL_ALL_ATTRIB_BITS = 0xFFFFFFFF
|
||||
/// </summary>
|
||||
AllAttribBits = unchecked((int)0xFFFFFFFF) ,
|
||||
|
@ -7280,6 +7376,10 @@ namespace OpenTK.Graphics.ES20
|
|||
/// </summary>
|
||||
ClientAllAttribBits = unchecked((int)0xFFFFFFFF) ,
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_ALL_EVENT_BITS_AMD = 0xFFFFFFFF
|
||||
/// </summary>
|
||||
QueryAllEventBitsAmd = unchecked((int)0xFFFFFFFF) ,
|
||||
/// <summary>
|
||||
/// Original was GL_TIMEOUT_IGNORED_APPLE = 0xFFFFFFFFFFFFFFFF
|
||||
/// </summary>
|
||||
TimeoutIgnoredApple = unchecked((int)0xFFFFFFFFFFFFFFFF) ,
|
||||
|
@ -11713,6 +11813,21 @@ namespace OpenTK.Graphics.ES20
|
|||
GccsoShaderBinaryFj = ((int)0x9260) ,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Not used directly.
|
||||
/// </summary>
|
||||
public enum FogCoordinatePointerType : int
|
||||
{
|
||||
/// <summary>
|
||||
/// Original was GL_FLOAT = 0x1406
|
||||
/// </summary>
|
||||
Float = ((int)0x1406) ,
|
||||
/// <summary>
|
||||
/// Original was GL_DOUBLE = 0x140A
|
||||
/// </summary>
|
||||
Double = ((int)0x140A) ,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Not used directly.
|
||||
/// </summary>
|
||||
|
@ -11771,6 +11886,36 @@ namespace OpenTK.Graphics.ES20
|
|||
FogOffsetValueSgix = ((int)0x8199) ,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Not used directly.
|
||||
/// </summary>
|
||||
public enum FogPointerTypeExt : int
|
||||
{
|
||||
/// <summary>
|
||||
/// Original was GL_FLOAT = 0x1406
|
||||
/// </summary>
|
||||
Float = ((int)0x1406) ,
|
||||
/// <summary>
|
||||
/// Original was GL_DOUBLE = 0x140A
|
||||
/// </summary>
|
||||
Double = ((int)0x140A) ,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Not used directly.
|
||||
/// </summary>
|
||||
public enum FogPointerTypeIbm : int
|
||||
{
|
||||
/// <summary>
|
||||
/// Original was GL_FLOAT = 0x1406
|
||||
/// </summary>
|
||||
Float = ((int)0x1406) ,
|
||||
/// <summary>
|
||||
/// Original was GL_DOUBLE = 0x140A
|
||||
/// </summary>
|
||||
Double = ((int)0x140A) ,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Not used directly.
|
||||
/// </summary>
|
||||
|
@ -16319,10 +16464,6 @@ namespace OpenTK.Graphics.ES20
|
|||
/// </summary>
|
||||
Zero = ((int)0) ,
|
||||
/// <summary>
|
||||
/// Original was GL_XOR = 0x1506
|
||||
/// </summary>
|
||||
Xor = ((int)0x1506) ,
|
||||
/// <summary>
|
||||
/// Original was GL_XOR_NV = 0x1506
|
||||
/// </summary>
|
||||
XorNv = ((int)0x1506) ,
|
||||
|
@ -16331,26 +16472,14 @@ namespace OpenTK.Graphics.ES20
|
|||
/// </summary>
|
||||
Invert = ((int)0x150A) ,
|
||||
/// <summary>
|
||||
/// Original was GL_RED = 0x1903
|
||||
/// </summary>
|
||||
Red = ((int)0x1903) ,
|
||||
/// <summary>
|
||||
/// Original was GL_RED_NV = 0x1903
|
||||
/// </summary>
|
||||
RedNv = ((int)0x1903) ,
|
||||
/// <summary>
|
||||
/// Original was GL_GREEN = 0x1904
|
||||
/// </summary>
|
||||
Green = ((int)0x1904) ,
|
||||
/// <summary>
|
||||
/// Original was GL_GREEN_NV = 0x1904
|
||||
/// </summary>
|
||||
GreenNv = ((int)0x1904) ,
|
||||
/// <summary>
|
||||
/// Original was GL_BLUE = 0x1905
|
||||
/// </summary>
|
||||
Blue = ((int)0x1905) ,
|
||||
/// <summary>
|
||||
/// Original was GL_BLUE_NV = 0x1905
|
||||
/// </summary>
|
||||
BlueNv = ((int)0x1905) ,
|
||||
|
@ -17138,6 +17267,34 @@ namespace OpenTK.Graphics.ES20
|
|||
Renderbuffer = ((int)0X8d41) ,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Not used directly.
|
||||
/// </summary>
|
||||
[Flags]
|
||||
public enum OcclusionQueryEventMaskAmd : int
|
||||
{
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_DEPTH_PASS_EVENT_BIT_AMD = 0x00000001
|
||||
/// </summary>
|
||||
QueryDepthPassEventBitAmd = ((int)0x00000001) ,
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_DEPTH_FAIL_EVENT_BIT_AMD = 0x00000002
|
||||
/// </summary>
|
||||
QueryDepthFailEventBitAmd = ((int)0x00000002) ,
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_STENCIL_FAIL_EVENT_BIT_AMD = 0x00000004
|
||||
/// </summary>
|
||||
QueryStencilFailEventBitAmd = ((int)0x00000004) ,
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD = 0x00000008
|
||||
/// </summary>
|
||||
QueryDepthBoundsFailEventBitAmd = ((int)0x00000008) ,
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_ALL_EVENT_BITS_AMD = 0xFFFFFFFF
|
||||
/// </summary>
|
||||
QueryAllEventBitsAmd = unchecked((int)0xFFFFFFFF) ,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Not used directly.
|
||||
/// </summary>
|
||||
|
@ -17572,6 +17729,46 @@ namespace OpenTK.Graphics.ES20
|
|||
/// </summary>
|
||||
CompressedRgbaAstc12X12Khr = ((int)0x93BD) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGBA_ASTC_3x3x3_OES = 0x93C0
|
||||
/// </summary>
|
||||
CompressedRgbaAstc3X3x3Oes = ((int)0x93C0) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGBA_ASTC_4x3x3_OES = 0x93C1
|
||||
/// </summary>
|
||||
CompressedRgbaAstc4X3x3Oes = ((int)0x93C1) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGBA_ASTC_4x4x3_OES = 0x93C2
|
||||
/// </summary>
|
||||
CompressedRgbaAstc4X4x3Oes = ((int)0x93C2) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGBA_ASTC_4x4x4_OES = 0x93C3
|
||||
/// </summary>
|
||||
CompressedRgbaAstc4X4x4Oes = ((int)0x93C3) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGBA_ASTC_5x4x4_OES = 0x93C4
|
||||
/// </summary>
|
||||
CompressedRgbaAstc5X4x4Oes = ((int)0x93C4) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGBA_ASTC_5x5x4_OES = 0x93C5
|
||||
/// </summary>
|
||||
CompressedRgbaAstc5X5x4Oes = ((int)0x93C5) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGBA_ASTC_5x5x5_OES = 0x93C6
|
||||
/// </summary>
|
||||
CompressedRgbaAstc5X5x5Oes = ((int)0x93C6) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGBA_ASTC_6x5x5_OES = 0x93C7
|
||||
/// </summary>
|
||||
CompressedRgbaAstc6X5x5Oes = ((int)0x93C7) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGBA_ASTC_6x6x5_OES = 0x93C8
|
||||
/// </summary>
|
||||
CompressedRgbaAstc6X6x5Oes = ((int)0x93C8) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGBA_ASTC_6x6x6_OES = 0x93C9
|
||||
/// </summary>
|
||||
CompressedRgbaAstc6X6x6Oes = ((int)0x93C9) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR = 0x93D0
|
||||
/// </summary>
|
||||
CompressedSrgb8Alpha8Astc4X4Khr = ((int)0x93D0) ,
|
||||
|
@ -17627,6 +17824,46 @@ namespace OpenTK.Graphics.ES20
|
|||
/// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR = 0x93DD
|
||||
/// </summary>
|
||||
CompressedSrgb8Alpha8Astc12X12Khr = ((int)0x93DD) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_3x3x3_OES = 0x93E0
|
||||
/// </summary>
|
||||
CompressedSrgb8Alpha8Astc3X3x3Oes = ((int)0x93E0) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x3x3_OES = 0x93E1
|
||||
/// </summary>
|
||||
CompressedSrgb8Alpha8Astc4X3x3Oes = ((int)0x93E1) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x3_OES = 0x93E2
|
||||
/// </summary>
|
||||
CompressedSrgb8Alpha8Astc4X4x3Oes = ((int)0x93E2) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x4_OES = 0x93E3
|
||||
/// </summary>
|
||||
CompressedSrgb8Alpha8Astc4X4x4Oes = ((int)0x93E3) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4x4_OES = 0x93E4
|
||||
/// </summary>
|
||||
CompressedSrgb8Alpha8Astc5X4x4Oes = ((int)0x93E4) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x4_OES = 0x93E5
|
||||
/// </summary>
|
||||
CompressedSrgb8Alpha8Astc5X5x4Oes = ((int)0x93E5) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x5_OES = 0x93E6
|
||||
/// </summary>
|
||||
CompressedSrgb8Alpha8Astc5X5x5Oes = ((int)0x93E6) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5x5_OES = 0x93E7
|
||||
/// </summary>
|
||||
CompressedSrgb8Alpha8Astc6X5x5Oes = ((int)0x93E7) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x5_OES = 0x93E8
|
||||
/// </summary>
|
||||
CompressedSrgb8Alpha8Astc6X6x5Oes = ((int)0x93E8) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x6_OES = 0x93E9
|
||||
/// </summary>
|
||||
CompressedSrgb8Alpha8Astc6X6x6Oes = ((int)0x93E9) ,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
@ -1379,6 +1379,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// The timeout, specified in nanoseconds, for which the implementation should wait for sync to become signaled.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glClientWaitSyncAPPLE")]
|
||||
public static extern OpenTK.Graphics.ES30.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES30.All flags, Int64 timeout);
|
||||
|
||||
|
@ -1826,6 +1827,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Specifies the timeout that the server should wait before continuing. timeout must be GL_TIMEOUT_IGNORED.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glWaitSyncAPPLE")]
|
||||
public static extern void WaitSync(IntPtr sync, OpenTK.Graphics.ES30.All flags, Int64 timeout);
|
||||
|
||||
|
@ -1966,6 +1968,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Specifies the name of a query object.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBeginQuery")]
|
||||
public static extern void BeginQuery(OpenTK.Graphics.ES30.All target, Int32 id);
|
||||
|
||||
|
@ -2099,6 +2102,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Specifies the name of a buffer object.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindBuffer")]
|
||||
public static extern void BindBuffer(OpenTK.Graphics.ES30.All target, Int32 buffer);
|
||||
|
||||
|
@ -2171,6 +2175,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// The name of a buffer object to bind to the specified binding point.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferBase")]
|
||||
public static extern void BindBufferBase(OpenTK.Graphics.ES30.All target, Int32 index, Int32 buffer);
|
||||
|
||||
|
@ -2268,6 +2273,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// The amount of data in machine units that can be read from the buffet object while used as an indexed target.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferRange")]
|
||||
public static extern void BindBufferRange(OpenTK.Graphics.ES30.All target, Int32 index, Int32 buffer, IntPtr offset, IntPtr size);
|
||||
|
||||
|
@ -2380,6 +2386,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Specifies the name of the framebuffer object to bind.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindFramebuffer")]
|
||||
public static extern void BindFramebuffer(OpenTK.Graphics.ES30.All target, Int32 framebuffer);
|
||||
|
||||
|
@ -2447,6 +2454,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Specifies the name of the renderbuffer object to bind.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindRenderbuffer")]
|
||||
public static extern void BindRenderbuffer(OpenTK.Graphics.ES30.All target, Int32 renderbuffer);
|
||||
|
||||
|
@ -2547,6 +2555,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Specifies the name of a texture.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindTexture")]
|
||||
public static extern void BindTexture(OpenTK.Graphics.ES30.All target, Int32 texture);
|
||||
|
||||
|
@ -2614,6 +2623,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Specifies the name of a transform feedback object reserved by glGenTransformFeedbacks.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindTransformFeedback")]
|
||||
public static extern void BindTransformFeedback(OpenTK.Graphics.ES30.All target, Int32 id);
|
||||
|
||||
|
@ -4236,6 +4246,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// The timeout, specified in nanoseconds, for which the implementation should wait for sync to become signaled.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClientWaitSync")]
|
||||
public static extern OpenTK.Graphics.ES30.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES30.All flags, Int64 timeout);
|
||||
|
||||
|
@ -6963,6 +6974,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// A Boolean flag determining whether the selected messages should be enabled or disabled.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")]
|
||||
public static extern void DebugMessageControl(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, OpenTK.Graphics.ES30.All severity, Int32 count, Int32[] ids, bool enabled);
|
||||
|
||||
|
@ -6999,6 +7011,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// A Boolean flag determining whether the selected messages should be enabled or disabled.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")]
|
||||
public static extern void DebugMessageControl(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, OpenTK.Graphics.ES30.All severity, Int32 count, ref Int32 ids, bool enabled);
|
||||
|
||||
|
@ -7035,6 +7048,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// A Boolean flag determining whether the selected messages should be enabled or disabled.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")]
|
||||
public static extern unsafe void DebugMessageControl(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, OpenTK.Graphics.ES30.All severity, Int32 count, Int32* ids, bool enabled);
|
||||
|
@ -7406,6 +7420,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// The address of a character array containing the message to insert.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsert")]
|
||||
public static extern void DebugMessageInsert(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, Int32 id, OpenTK.Graphics.ES30.All severity, Int32 length, String buf);
|
||||
|
||||
|
@ -9584,6 +9599,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Specifies a pointer to the location where the indices are stored.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")]
|
||||
public static extern void DrawRangeElements(OpenTK.Graphics.ES30.All mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.ES30.All type, IntPtr indices);
|
||||
|
||||
|
@ -9620,6 +9636,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Specifies a pointer to the location where the indices are stored.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")]
|
||||
public static extern void DrawRangeElements<T5>(OpenTK.Graphics.ES30.All mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T5[] indices)
|
||||
where T5 : struct
|
||||
|
@ -9658,6 +9675,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Specifies a pointer to the location where the indices are stored.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")]
|
||||
public static extern void DrawRangeElements<T5>(OpenTK.Graphics.ES30.All mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T5[,] indices)
|
||||
where T5 : struct
|
||||
|
@ -9696,6 +9714,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Specifies a pointer to the location where the indices are stored.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")]
|
||||
public static extern void DrawRangeElements<T5>(OpenTK.Graphics.ES30.All mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T5[,,] indices)
|
||||
where T5 : struct
|
||||
|
@ -9734,6 +9753,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Specifies a pointer to the location where the indices are stored.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")]
|
||||
public static extern void DrawRangeElements<T5>(OpenTK.Graphics.ES30.All mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] ref T5 indices)
|
||||
where T5 : struct
|
||||
|
@ -10498,6 +10518,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Specifies the name of an existing renderbuffer object of type renderbuffertarget to attach.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferRenderbuffer")]
|
||||
public static extern void FramebufferRenderbuffer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All renderbuffertarget, Int32 renderbuffer);
|
||||
|
||||
|
@ -10583,6 +10604,7 @@ namespace OpenTK.Graphics.ES30
|
|||
public static extern void FramebufferRenderbuffer(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, OpenTK.Graphics.ES30.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer);
|
||||
|
||||
/// <summary>[requires: v2.0 and ES_VERSION_2_0]</summary>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferTexture2D")]
|
||||
public static extern void FramebufferTexture2D(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All textarget, Int32 texture, Int32 level);
|
||||
|
||||
|
@ -10629,6 +10651,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Specifies the layer of texture to attach.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glFramebufferTextureLayer")]
|
||||
public static extern void FramebufferTextureLayer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, Int32 texture, Int32 level, Int32 layer);
|
||||
|
||||
|
@ -11781,6 +11804,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Returns a null terminated string containing the name of the attribute variable.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")]
|
||||
public static extern void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES30.All type, [OutAttribute] StringBuilder name);
|
||||
|
||||
|
@ -11864,6 +11888,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Returns a null terminated string containing the name of the attribute variable.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")]
|
||||
public static extern unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.All* type, [OutAttribute] StringBuilder name);
|
||||
|
@ -12117,6 +12142,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Returns a null terminated string containing the name of the uniform variable.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")]
|
||||
public static extern void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES30.All type, [OutAttribute] StringBuilder name);
|
||||
|
||||
|
@ -12200,6 +12226,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Returns a null terminated string containing the name of the uniform variable.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")]
|
||||
public static extern unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.All* type, [OutAttribute] StringBuilder name);
|
||||
|
@ -12476,6 +12503,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Specifies the address of a variable to receive the result of the query.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockiv")]
|
||||
public static extern void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params);
|
||||
|
||||
|
@ -12502,6 +12530,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Specifies the address of a variable to receive the result of the query.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockiv")]
|
||||
public static extern void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params);
|
||||
|
||||
|
@ -12528,6 +12557,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Specifies the address of a variable to receive the result of the query.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockiv")]
|
||||
public static extern unsafe void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params);
|
||||
|
@ -12883,6 +12913,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Specifies the address of an array of uniformCount integers which are to receive the value of pname for each uniform in uniformIndices.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformsiv")]
|
||||
public static extern void GetActiveUniforms(Int32 program, Int32 uniformCount, Int32[] uniformIndices, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params);
|
||||
|
||||
|
@ -12945,6 +12976,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Specifies the address of an array of uniformCount integers which are to receive the value of pname for each uniform in uniformIndices.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformsiv")]
|
||||
public static extern void GetActiveUniforms(Int32 program, Int32 uniformCount, ref Int32 uniformIndices, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params);
|
||||
|
||||
|
@ -13008,6 +13040,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Specifies the address of an array of uniformCount integers which are to receive the value of pname for each uniform in uniformIndices.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformsiv")]
|
||||
public static extern unsafe void GetActiveUniforms(Int32 program, Int32 uniformCount, Int32* uniformIndices, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params);
|
||||
|
@ -13974,6 +14007,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// The address of an array of characters that will receive the messages.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")]
|
||||
public static extern Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.All[] sources, [OutAttribute] OpenTK.Graphics.ES30.All[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.ES30.All[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog);
|
||||
|
||||
|
@ -14020,6 +14054,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// The address of an array of characters that will receive the messages.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")]
|
||||
public static extern Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES30.All sources, [OutAttribute] out OpenTK.Graphics.ES30.All types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.ES30.All severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog);
|
||||
|
||||
|
@ -14066,6 +14101,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// The address of an array of characters that will receive the messages.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")]
|
||||
public static extern unsafe Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.All* sources, [OutAttribute] OpenTK.Graphics.ES30.All* types, [OutAttribute] Int32* ids, [OutAttribute] OpenTK.Graphics.ES30.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog);
|
||||
|
@ -14733,14 +14769,17 @@ namespace OpenTK.Graphics.ES30
|
|||
public static extern unsafe void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, OpenTK.Graphics.ES30.FramebufferParameterName pname, [OutAttribute] Int32* @params);
|
||||
|
||||
/// <summary>[requires: v3.0 and ES_VERSION_3_0]</summary>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64i_v")]
|
||||
public static extern void GetInteger64(OpenTK.Graphics.ES30.All target, Int32 index, [OutAttribute] Int64[] data);
|
||||
|
||||
/// <summary>[requires: v3.0 and ES_VERSION_3_0]</summary>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64i_v")]
|
||||
public static extern void GetInteger64(OpenTK.Graphics.ES30.All target, Int32 index, [OutAttribute] out Int64 data);
|
||||
|
||||
/// <summary>[requires: v3.0 and ES_VERSION_3_0]</summary>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64i_v")]
|
||||
public static extern unsafe void GetInteger64(OpenTK.Graphics.ES30.All target, Int32 index, [OutAttribute] Int64* data);
|
||||
|
@ -14830,14 +14869,17 @@ namespace OpenTK.Graphics.ES30
|
|||
public static extern unsafe void GetInteger64(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Int64* data);
|
||||
|
||||
/// <summary>[requires: v3.0 and ES_VERSION_3_0]</summary>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")]
|
||||
public static extern void GetInteger(OpenTK.Graphics.ES30.All target, Int32 index, [OutAttribute] Int32[] data);
|
||||
|
||||
/// <summary>[requires: v3.0 and ES_VERSION_3_0]</summary>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")]
|
||||
public static extern void GetInteger(OpenTK.Graphics.ES30.All target, Int32 index, [OutAttribute] out Int32 data);
|
||||
|
||||
/// <summary>[requires: v3.0 and ES_VERSION_3_0]</summary>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")]
|
||||
public static extern unsafe void GetInteger(OpenTK.Graphics.ES30.All target, Int32 index, [OutAttribute] Int32* data);
|
||||
|
@ -15145,6 +15187,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// The address of a string that will receive the object label.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")]
|
||||
public static extern void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label);
|
||||
|
||||
|
@ -15176,6 +15219,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// The address of a string that will receive the object label.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")]
|
||||
public static extern void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, Int32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label);
|
||||
|
||||
|
@ -15207,6 +15251,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// The address of a string that will receive the object label.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")]
|
||||
public static extern unsafe void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label);
|
||||
|
@ -16892,6 +16937,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Returns the requested object parameter.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")]
|
||||
public static extern void GetProgram(Int32 program, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params);
|
||||
|
||||
|
@ -16913,6 +16959,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Returns the requested object parameter.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")]
|
||||
public static extern void GetProgram(Int32 program, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params);
|
||||
|
||||
|
@ -16934,6 +16981,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Returns the requested object parameter.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")]
|
||||
public static extern unsafe void GetProgram(Int32 program, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params);
|
||||
|
@ -17286,6 +17334,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// If a buffer is bound to the GL_QUERY_RESULT_BUFFER target, then params is treated as an offset to a location within that buffer's data store to receive the result of the query. If no buffer is bound to GL_QUERY_RESULT_BUFFER, then params is treated as an address in client memory of a variable to receive the resulting data.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryObjectuiv")]
|
||||
public static extern void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params);
|
||||
|
||||
|
@ -17307,6 +17356,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// If a buffer is bound to the GL_QUERY_RESULT_BUFFER target, then params is treated as an offset to a location within that buffer's data store to receive the result of the query. If no buffer is bound to GL_QUERY_RESULT_BUFFER, then params is treated as an address in client memory of a variable to receive the resulting data.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryObjectuiv")]
|
||||
public static extern void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params);
|
||||
|
||||
|
@ -17328,6 +17378,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// If a buffer is bound to the GL_QUERY_RESULT_BUFFER target, then params is treated as an offset to a location within that buffer's data store to receive the result of the query. If no buffer is bound to GL_QUERY_RESULT_BUFFER, then params is treated as an address in client memory of a variable to receive the resulting data.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryObjectuiv")]
|
||||
public static extern unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params);
|
||||
|
@ -17680,6 +17731,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Returns the sampler parameters.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameterfv")]
|
||||
public static extern void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, [OutAttribute] Single[] @params);
|
||||
|
||||
|
@ -17701,6 +17753,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Returns the sampler parameters.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameterfv")]
|
||||
public static extern void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Single @params);
|
||||
|
||||
|
@ -17722,6 +17775,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Returns the sampler parameters.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameterfv")]
|
||||
public static extern unsafe void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, [OutAttribute] Single* @params);
|
||||
|
@ -17943,6 +17997,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Returns the sampler parameters.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameteriv")]
|
||||
public static extern void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params);
|
||||
|
||||
|
@ -17964,6 +18019,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Returns the sampler parameters.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameteriv")]
|
||||
public static extern void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params);
|
||||
|
||||
|
@ -17985,6 +18041,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Returns the sampler parameters.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameteriv")]
|
||||
public static extern unsafe void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params);
|
||||
|
@ -18313,6 +18370,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Returns the requested object parameter.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")]
|
||||
public static extern void GetShader(Int32 shader, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params);
|
||||
|
||||
|
@ -18334,6 +18392,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Returns the requested object parameter.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")]
|
||||
public static extern void GetShader(Int32 shader, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params);
|
||||
|
||||
|
@ -18355,6 +18414,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Returns the requested object parameter.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")]
|
||||
public static extern unsafe void GetShader(Int32 shader, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params);
|
||||
|
@ -18872,6 +18932,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// For glGetStringi, specifies the index of the string to return.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetStringi")]
|
||||
public static extern String GetString(OpenTK.Graphics.ES30.All name, Int32 index);
|
||||
|
||||
|
@ -19417,6 +19478,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// The address of a buffer into which will be written the name of the varying.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")]
|
||||
public static extern void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES30.All type, [OutAttribute] StringBuilder name);
|
||||
|
||||
|
@ -19499,6 +19561,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// The address of a buffer into which will be written the name of the varying.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")]
|
||||
public static extern unsafe void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.All* type, [OutAttribute] StringBuilder name);
|
||||
|
@ -20285,6 +20348,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Returns the requested data.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")]
|
||||
public static extern void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] Single[] @params);
|
||||
|
||||
|
@ -20306,6 +20370,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Returns the requested data.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")]
|
||||
public static extern void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Single @params);
|
||||
|
||||
|
@ -20327,6 +20392,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Returns the requested data.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")]
|
||||
public static extern unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] Single* @params);
|
||||
|
@ -20577,6 +20643,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Returns the requested data.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")]
|
||||
public static extern void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params);
|
||||
|
||||
|
@ -20598,6 +20665,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Returns the requested data.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")]
|
||||
public static extern void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params);
|
||||
|
||||
|
@ -20619,6 +20687,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Returns the requested data.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")]
|
||||
public static extern unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params);
|
||||
|
@ -20840,6 +20909,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Returns the pointer value.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
|
||||
public static extern void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] IntPtr pointer);
|
||||
|
||||
|
@ -20861,6 +20931,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Returns the pointer value.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
|
||||
public static extern void GetVertexAttribPointer<T2>(Int32 index, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T2[] pointer)
|
||||
where T2 : struct
|
||||
|
@ -20884,6 +20955,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Returns the pointer value.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
|
||||
public static extern void GetVertexAttribPointer<T2>(Int32 index, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T2[,] pointer)
|
||||
where T2 : struct
|
||||
|
@ -20907,6 +20979,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Returns the pointer value.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
|
||||
public static extern void GetVertexAttribPointer<T2>(Int32 index, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T2[,,] pointer)
|
||||
where T2 : struct
|
||||
|
@ -20930,6 +21003,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Returns the pointer value.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
|
||||
public static extern void GetVertexAttribPointer<T2>(Int32 index, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] ref T2 pointer)
|
||||
where T2 : struct
|
||||
|
@ -22088,6 +22162,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// The address of a string containing the label to assign to the object.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabel")]
|
||||
public static extern void ObjectLabel(OpenTK.Graphics.ES30.All identifier, Int32 name, Int32 length, String label);
|
||||
|
||||
|
@ -22645,6 +22720,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Specifies the new value of the parameter specified by pname for program.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glProgramParameteri")]
|
||||
public static extern void ProgramParameter(Int32 program, OpenTK.Graphics.ES30.All pname, Int32 value);
|
||||
|
||||
|
@ -23288,6 +23364,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// For the vector commands (glSamplerParameter*v), specifies a pointer to an array where the value or values of pname are stored.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameterf")]
|
||||
public static extern void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, Single param);
|
||||
|
||||
|
@ -23395,6 +23472,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// For the vector commands (glSamplerParameter*v), specifies a pointer to an array where the value or values of pname are stored.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameterfv")]
|
||||
public static extern void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, Single[] param);
|
||||
|
||||
|
@ -23421,6 +23499,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// For the vector commands (glSamplerParameter*v), specifies a pointer to an array where the value or values of pname are stored.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameterfv")]
|
||||
public static extern unsafe void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, Single* param);
|
||||
|
@ -23611,6 +23690,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// For the vector commands (glSamplerParameter*v), specifies a pointer to an array where the value or values of pname are stored.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameteri")]
|
||||
public static extern void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, Int32 param);
|
||||
|
||||
|
@ -23718,6 +23798,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// For the vector commands (glSamplerParameter*v), specifies a pointer to an array where the value or values of pname are stored.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameteriv")]
|
||||
public static extern void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, Int32[] param);
|
||||
|
||||
|
@ -23744,6 +23825,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// For the vector commands (glSamplerParameter*v), specifies a pointer to an array where the value or values of pname are stored.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameteriv")]
|
||||
public static extern unsafe void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, Int32* param);
|
||||
|
@ -23955,6 +24037,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Specifies the length of the array whose address is given in binary.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
|
||||
public static extern void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES30.All binaryformat, IntPtr binary, Int32 length);
|
||||
|
||||
|
@ -23986,6 +24069,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Specifies the length of the array whose address is given in binary.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
|
||||
public static extern void ShaderBinary<T3>(Int32 count, Int32[] shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length)
|
||||
where T3 : struct
|
||||
|
@ -24019,6 +24103,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Specifies the length of the array whose address is given in binary.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
|
||||
public static extern void ShaderBinary<T3>(Int32 count, Int32[] shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length)
|
||||
where T3 : struct
|
||||
|
@ -24052,6 +24137,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Specifies the length of the array whose address is given in binary.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
|
||||
public static extern void ShaderBinary<T3>(Int32 count, Int32[] shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length)
|
||||
where T3 : struct
|
||||
|
@ -24085,6 +24171,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Specifies the length of the array whose address is given in binary.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
|
||||
public static extern void ShaderBinary<T3>(Int32 count, Int32[] shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length)
|
||||
where T3 : struct
|
||||
|
@ -24281,6 +24368,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Specifies the length of the array whose address is given in binary.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
|
||||
public static extern void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES30.All binaryformat, IntPtr binary, Int32 length);
|
||||
|
||||
|
@ -24312,6 +24400,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Specifies the length of the array whose address is given in binary.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
|
||||
public static extern void ShaderBinary<T3>(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length)
|
||||
where T3 : struct
|
||||
|
@ -24345,6 +24434,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Specifies the length of the array whose address is given in binary.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
|
||||
public static extern void ShaderBinary<T3>(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length)
|
||||
where T3 : struct
|
||||
|
@ -24378,6 +24468,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Specifies the length of the array whose address is given in binary.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
|
||||
public static extern void ShaderBinary<T3>(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length)
|
||||
where T3 : struct
|
||||
|
@ -24411,6 +24502,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Specifies the length of the array whose address is given in binary.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
|
||||
public static extern void ShaderBinary<T3>(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length)
|
||||
where T3 : struct
|
||||
|
@ -24607,6 +24699,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Specifies the length of the array whose address is given in binary.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
|
||||
public static extern unsafe void ShaderBinary(Int32 count, Int32* shaders, OpenTK.Graphics.ES30.All binaryformat, IntPtr binary, Int32 length);
|
||||
|
@ -24639,6 +24732,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Specifies the length of the array whose address is given in binary.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
|
||||
public static extern unsafe void ShaderBinary<T3>(Int32 count, Int32* shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length)
|
||||
|
@ -24673,6 +24767,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Specifies the length of the array whose address is given in binary.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
|
||||
public static extern unsafe void ShaderBinary<T3>(Int32 count, Int32* shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length)
|
||||
|
@ -24707,6 +24802,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Specifies the length of the array whose address is given in binary.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
|
||||
public static extern unsafe void ShaderBinary<T3>(Int32 count, Int32* shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length)
|
||||
|
@ -24741,6 +24837,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Specifies the length of the array whose address is given in binary.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")]
|
||||
public static extern unsafe void ShaderBinary<T3>(Int32 count, Int32* shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length)
|
||||
|
@ -26116,6 +26213,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFunc")]
|
||||
public static extern void StencilFunc(OpenTK.Graphics.ES30.All func, Int32 @ref, Int32 mask);
|
||||
|
||||
|
@ -26208,6 +26306,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")]
|
||||
public static extern void StencilFuncSeparate(OpenTK.Graphics.ES30.All face, OpenTK.Graphics.ES30.All func, Int32 @ref, Int32 mask);
|
||||
|
||||
|
@ -26328,6 +26427,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")]
|
||||
public static extern void StencilMaskSeparate(OpenTK.Graphics.ES30.All face, Int32 mask);
|
||||
|
||||
|
@ -29269,6 +29369,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Identifies the mode used to capture the varying variables when transform feedback is active. bufferMode must be GL_INTERLEAVED_ATTRIBS or GL_SEPARATE_ATTRIBS.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTransformFeedbackVaryings")]
|
||||
public static extern void TransformFeedbackVaryings(Int32 program, Int32 count, String[] varyings, OpenTK.Graphics.ES30.All bufferMode);
|
||||
|
||||
|
@ -32307,28 +32408,33 @@ namespace OpenTK.Graphics.ES30
|
|||
public static extern unsafe void VertexAttribI4(UInt32 index, UInt32* v);
|
||||
|
||||
/// <summary>[requires: v3.0 and ES_VERSION_3_0]</summary>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")]
|
||||
public static extern void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.All type, Int32 stride, IntPtr pointer);
|
||||
|
||||
/// <summary>[requires: v3.0 and ES_VERSION_3_0]</summary>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")]
|
||||
public static extern void VertexAttribIPointer<T4>(Int32 index, Int32 size, OpenTK.Graphics.ES30.All type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer)
|
||||
where T4 : struct
|
||||
;
|
||||
|
||||
/// <summary>[requires: v3.0 and ES_VERSION_3_0]</summary>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")]
|
||||
public static extern void VertexAttribIPointer<T4>(Int32 index, Int32 size, OpenTK.Graphics.ES30.All type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer)
|
||||
where T4 : struct
|
||||
;
|
||||
|
||||
/// <summary>[requires: v3.0 and ES_VERSION_3_0]</summary>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")]
|
||||
public static extern void VertexAttribIPointer<T4>(Int32 index, Int32 size, OpenTK.Graphics.ES30.All type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer)
|
||||
where T4 : struct
|
||||
;
|
||||
|
||||
/// <summary>[requires: v3.0 and ES_VERSION_3_0]</summary>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")]
|
||||
public static extern void VertexAttribIPointer<T4>(Int32 index, Int32 size, OpenTK.Graphics.ES30.All type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer)
|
||||
where T4 : struct
|
||||
|
@ -32466,6 +32572,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Specifies a offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
|
||||
public static extern void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.All type, bool normalized, Int32 stride, IntPtr pointer);
|
||||
|
||||
|
@ -32502,6 +32609,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Specifies a offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
|
||||
public static extern void VertexAttribPointer<T5>(Int32 index, Int32 size, OpenTK.Graphics.ES30.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[] pointer)
|
||||
where T5 : struct
|
||||
|
@ -32540,6 +32648,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Specifies a offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
|
||||
public static extern void VertexAttribPointer<T5>(Int32 index, Int32 size, OpenTK.Graphics.ES30.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,] pointer)
|
||||
where T5 : struct
|
||||
|
@ -32578,6 +32687,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Specifies a offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
|
||||
public static extern void VertexAttribPointer<T5>(Int32 index, Int32 size, OpenTK.Graphics.ES30.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,,] pointer)
|
||||
where T5 : struct
|
||||
|
@ -32616,6 +32726,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Specifies a offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
|
||||
public static extern void VertexAttribPointer<T5>(Int32 index, Int32 size, OpenTK.Graphics.ES30.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] ref T5 pointer)
|
||||
where T5 : struct
|
||||
|
@ -33234,6 +33345,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Specifies the timeout that the server should wait before continuing. timeout must be GL_TIMEOUT_IGNORED.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glWaitSync")]
|
||||
public static extern void WaitSync(IntPtr sync, OpenTK.Graphics.ES30.All flags, Int64 timeout);
|
||||
|
||||
|
@ -33360,6 +33472,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Specifies the name of a query object.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glBeginQueryEXT")]
|
||||
public static extern void BeginQuery(OpenTK.Graphics.ES30.All target, Int32 id);
|
||||
|
||||
|
@ -34515,14 +34628,17 @@ namespace OpenTK.Graphics.ES30
|
|||
public static extern OpenTK.Graphics.ES30.All GetGraphicsResetStatus();
|
||||
|
||||
/// <summary>[requires: EXT_multiview_draw_buffers]</summary>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")]
|
||||
public static extern void GetInteger(OpenTK.Graphics.ES30.All target, Int32 index, [OutAttribute] Int32[] data);
|
||||
|
||||
/// <summary>[requires: EXT_multiview_draw_buffers]</summary>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")]
|
||||
public static extern void GetInteger(OpenTK.Graphics.ES30.All target, Int32 index, [OutAttribute] out Int32 data);
|
||||
|
||||
/// <summary>[requires: EXT_multiview_draw_buffers]</summary>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")]
|
||||
public static extern unsafe void GetInteger(OpenTK.Graphics.ES30.All target, Int32 index, [OutAttribute] Int32* data);
|
||||
|
@ -35156,6 +35272,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// If a buffer is bound to the GL_QUERY_RESULT_BUFFER target, then params is treated as an offset to a location within that buffer's data store to receive the result of the query. If no buffer is bound to GL_QUERY_RESULT_BUFFER, then params is treated as an address in client memory of a variable to receive the resulting data.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")]
|
||||
public static extern void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int64[] @params);
|
||||
|
||||
|
@ -35177,6 +35294,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// If a buffer is bound to the GL_QUERY_RESULT_BUFFER target, then params is treated as an offset to a location within that buffer's data store to receive the result of the query. If no buffer is bound to GL_QUERY_RESULT_BUFFER, then params is treated as an address in client memory of a variable to receive the resulting data.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")]
|
||||
public static extern void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int64 @params);
|
||||
|
||||
|
@ -35198,6 +35316,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// If a buffer is bound to the GL_QUERY_RESULT_BUFFER target, then params is treated as an offset to a location within that buffer's data store to receive the result of the query. If no buffer is bound to GL_QUERY_RESULT_BUFFER, then params is treated as an address in client memory of a variable to receive the resulting data.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")]
|
||||
public static extern unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int64* @params);
|
||||
|
@ -35419,6 +35538,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// If a buffer is bound to the GL_QUERY_RESULT_BUFFER target, then params is treated as an offset to a location within that buffer's data store to receive the result of the query. If no buffer is bound to GL_QUERY_RESULT_BUFFER, then params is treated as an address in client memory of a variable to receive the resulting data.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")]
|
||||
public static extern void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params);
|
||||
|
||||
|
@ -35440,6 +35560,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// If a buffer is bound to the GL_QUERY_RESULT_BUFFER target, then params is treated as an offset to a location within that buffer's data store to receive the result of the query. If no buffer is bound to GL_QUERY_RESULT_BUFFER, then params is treated as an address in client memory of a variable to receive the resulting data.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")]
|
||||
public static extern void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params);
|
||||
|
||||
|
@ -35461,6 +35582,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// If a buffer is bound to the GL_QUERY_RESULT_BUFFER target, then params is treated as an offset to a location within that buffer's data store to receive the result of the query. If no buffer is bound to GL_QUERY_RESULT_BUFFER, then params is treated as an address in client memory of a variable to receive the resulting data.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")]
|
||||
public static extern unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params);
|
||||
|
@ -36016,6 +36138,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Specifies a combination of access flags indicating the desired access to the range.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "EXT_map_buffer_range", Version = "", EntryPoint = "glMapBufferRangeEXT")]
|
||||
public static extern IntPtr MapBufferRange(OpenTK.Graphics.ES30.All target, IntPtr offset, IntPtr length, Int32 access);
|
||||
|
||||
|
@ -37286,6 +37409,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Specifies the new value of the parameter specified by pname for program.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramParameteriEXT")]
|
||||
public static extern void ProgramParameter(Int32 program, OpenTK.Graphics.ES30.All pname, Int32 value);
|
||||
|
||||
|
@ -41334,6 +41458,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// A Boolean flag determining whether the selected messages should be enabled or disabled.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")]
|
||||
public static extern void DebugMessageControl(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, OpenTK.Graphics.ES30.All severity, Int32 count, Int32[] ids, bool enabled);
|
||||
|
||||
|
@ -41370,6 +41495,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// A Boolean flag determining whether the selected messages should be enabled or disabled.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")]
|
||||
public static extern void DebugMessageControl(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, OpenTK.Graphics.ES30.All severity, Int32 count, ref Int32 ids, bool enabled);
|
||||
|
||||
|
@ -41406,6 +41532,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// A Boolean flag determining whether the selected messages should be enabled or disabled.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")]
|
||||
public static extern unsafe void DebugMessageControl(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, OpenTK.Graphics.ES30.All severity, Int32 count, Int32* ids, bool enabled);
|
||||
|
@ -41777,6 +41904,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// The address of a character array containing the message to insert.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsertKHR")]
|
||||
public static extern void DebugMessageInsert(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, Int32 id, OpenTK.Graphics.ES30.All severity, Int32 length, String buf);
|
||||
|
||||
|
@ -41934,6 +42062,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// The address of an array of characters that will receive the messages.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")]
|
||||
public static extern Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.All[] sources, [OutAttribute] OpenTK.Graphics.ES30.All[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.ES30.All[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog);
|
||||
|
||||
|
@ -41980,6 +42109,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// The address of an array of characters that will receive the messages.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")]
|
||||
public static extern Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES30.All sources, [OutAttribute] out OpenTK.Graphics.ES30.All types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.ES30.All severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog);
|
||||
|
||||
|
@ -42026,6 +42156,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// The address of an array of characters that will receive the messages.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")]
|
||||
public static extern unsafe Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.All* sources, [OutAttribute] OpenTK.Graphics.ES30.All* types, [OutAttribute] Int32* ids, [OutAttribute] OpenTK.Graphics.ES30.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog);
|
||||
|
@ -42482,6 +42613,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// The address of a string that will receive the object label.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")]
|
||||
public static extern void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label);
|
||||
|
||||
|
@ -42513,6 +42645,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// The address of a string that will receive the object label.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")]
|
||||
public static extern void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, Int32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label);
|
||||
|
||||
|
@ -42544,6 +42677,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// The address of a string that will receive the object label.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")]
|
||||
public static extern unsafe void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label);
|
||||
|
@ -43307,6 +43441,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// The address of a string containing the label to assign to the object.
|
||||
/// </para>
|
||||
/// </param>
|
||||
[Obsolete("Use strongly-typed overload instead")]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabelKHR")]
|
||||
public static extern void ObjectLabel(OpenTK.Graphics.ES30.All identifier, Int32 name, Int32 length, String label);
|
||||
|
||||
|
|
|
@ -438,6 +438,10 @@ namespace OpenTK.Graphics.ES30
|
|||
/// </summary>
|
||||
CurrentBit = ((int)0x00000001) ,
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_DEPTH_PASS_EVENT_BIT_AMD = 0x00000001
|
||||
/// </summary>
|
||||
QueryDepthPassEventBitAmd = ((int)0x00000001) ,
|
||||
/// <summary>
|
||||
/// Original was GL_SYNC_FLUSH_COMMANDS_BIT = 0x00000001
|
||||
/// </summary>
|
||||
SyncFlushCommandsBit = ((int)0x00000001) ,
|
||||
|
@ -502,6 +506,10 @@ namespace OpenTK.Graphics.ES30
|
|||
/// </summary>
|
||||
PointBit = ((int)0x00000002) ,
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_DEPTH_FAIL_EVENT_BIT_AMD = 0x00000002
|
||||
/// </summary>
|
||||
QueryDepthFailEventBitAmd = ((int)0x00000002) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COLOR_BUFFER_BIT2_QCOM = 0x00000004
|
||||
/// </summary>
|
||||
ColorBufferBit2Qcom = ((int)0x00000004) ,
|
||||
|
@ -518,6 +526,10 @@ namespace OpenTK.Graphics.ES30
|
|||
/// </summary>
|
||||
LineBit = ((int)0x00000004) ,
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_STENCIL_FAIL_EVENT_BIT_AMD = 0x00000004
|
||||
/// </summary>
|
||||
QueryStencilFailEventBitAmd = ((int)0x00000004) ,
|
||||
/// <summary>
|
||||
/// Original was GL_UNIFORM_BARRIER_BIT = 0x00000004
|
||||
/// </summary>
|
||||
UniformBarrierBit = ((int)0x00000004) ,
|
||||
|
@ -534,6 +546,10 @@ namespace OpenTK.Graphics.ES30
|
|||
/// </summary>
|
||||
PolygonBit = ((int)0x00000008) ,
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD = 0x00000008
|
||||
/// </summary>
|
||||
QueryDepthBoundsFailEventBitAmd = ((int)0x00000008) ,
|
||||
/// <summary>
|
||||
/// Original was GL_TESS_CONTROL_SHADER_BIT = 0x00000008
|
||||
/// </summary>
|
||||
TessControlShaderBit = ((int)0x00000008) ,
|
||||
|
@ -8494,6 +8510,46 @@ namespace OpenTK.Graphics.ES30
|
|||
/// </summary>
|
||||
CompressedRgbaAstc12X12Khr = ((int)0x93BD) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGBA_ASTC_3x3x3_OES = 0x93C0
|
||||
/// </summary>
|
||||
CompressedRgbaAstc3X3x3Oes = ((int)0x93C0) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGBA_ASTC_4x3x3_OES = 0x93C1
|
||||
/// </summary>
|
||||
CompressedRgbaAstc4X3x3Oes = ((int)0x93C1) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGBA_ASTC_4x4x3_OES = 0x93C2
|
||||
/// </summary>
|
||||
CompressedRgbaAstc4X4x3Oes = ((int)0x93C2) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGBA_ASTC_4x4x4_OES = 0x93C3
|
||||
/// </summary>
|
||||
CompressedRgbaAstc4X4x4Oes = ((int)0x93C3) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGBA_ASTC_5x4x4_OES = 0x93C4
|
||||
/// </summary>
|
||||
CompressedRgbaAstc5X4x4Oes = ((int)0x93C4) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGBA_ASTC_5x5x4_OES = 0x93C5
|
||||
/// </summary>
|
||||
CompressedRgbaAstc5X5x4Oes = ((int)0x93C5) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGBA_ASTC_5x5x5_OES = 0x93C6
|
||||
/// </summary>
|
||||
CompressedRgbaAstc5X5x5Oes = ((int)0x93C6) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGBA_ASTC_6x5x5_OES = 0x93C7
|
||||
/// </summary>
|
||||
CompressedRgbaAstc6X5x5Oes = ((int)0x93C7) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGBA_ASTC_6x6x5_OES = 0x93C8
|
||||
/// </summary>
|
||||
CompressedRgbaAstc6X6x5Oes = ((int)0x93C8) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGBA_ASTC_6x6x6_OES = 0x93C9
|
||||
/// </summary>
|
||||
CompressedRgbaAstc6X6x6Oes = ((int)0x93C9) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR = 0x93D0
|
||||
/// </summary>
|
||||
CompressedSrgb8Alpha8Astc4X4Khr = ((int)0x93D0) ,
|
||||
|
@ -8550,6 +8606,46 @@ namespace OpenTK.Graphics.ES30
|
|||
/// </summary>
|
||||
CompressedSrgb8Alpha8Astc12X12Khr = ((int)0x93DD) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_3x3x3_OES = 0x93E0
|
||||
/// </summary>
|
||||
CompressedSrgb8Alpha8Astc3X3x3Oes = ((int)0x93E0) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x3x3_OES = 0x93E1
|
||||
/// </summary>
|
||||
CompressedSrgb8Alpha8Astc4X3x3Oes = ((int)0x93E1) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x3_OES = 0x93E2
|
||||
/// </summary>
|
||||
CompressedSrgb8Alpha8Astc4X4x3Oes = ((int)0x93E2) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x4_OES = 0x93E3
|
||||
/// </summary>
|
||||
CompressedSrgb8Alpha8Astc4X4x4Oes = ((int)0x93E3) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4x4_OES = 0x93E4
|
||||
/// </summary>
|
||||
CompressedSrgb8Alpha8Astc5X4x4Oes = ((int)0x93E4) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x4_OES = 0x93E5
|
||||
/// </summary>
|
||||
CompressedSrgb8Alpha8Astc5X5x4Oes = ((int)0x93E5) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x5_OES = 0x93E6
|
||||
/// </summary>
|
||||
CompressedSrgb8Alpha8Astc5X5x5Oes = ((int)0x93E6) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5x5_OES = 0x93E7
|
||||
/// </summary>
|
||||
CompressedSrgb8Alpha8Astc6X5x5Oes = ((int)0x93E7) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x5_OES = 0x93E8
|
||||
/// </summary>
|
||||
CompressedSrgb8Alpha8Astc6X6x5Oes = ((int)0x93E8) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x6_OES = 0x93E9
|
||||
/// </summary>
|
||||
CompressedSrgb8Alpha8Astc6X6x6Oes = ((int)0x93E9) ,
|
||||
/// <summary>
|
||||
/// Original was GL_ALL_ATTRIB_BITS = 0xFFFFFFFF
|
||||
/// </summary>
|
||||
AllAttribBits = unchecked((int)0xFFFFFFFF) ,
|
||||
|
@ -8578,6 +8674,10 @@ namespace OpenTK.Graphics.ES30
|
|||
/// </summary>
|
||||
InvalidIndex = unchecked((int)0xFFFFFFFF) ,
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_ALL_EVENT_BITS_AMD = 0xFFFFFFFF
|
||||
/// </summary>
|
||||
QueryAllEventBitsAmd = unchecked((int)0xFFFFFFFF) ,
|
||||
/// <summary>
|
||||
/// Original was GL_TIMEOUT_IGNORED = 0xFFFFFFFFFFFFFFFF
|
||||
/// </summary>
|
||||
TimeoutIgnored = unchecked((int)0xFFFFFFFFFFFFFFFF) ,
|
||||
|
@ -14519,6 +14619,21 @@ namespace OpenTK.Graphics.ES30
|
|||
GccsoShaderBinaryFj = ((int)0x9260) ,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Not used directly.
|
||||
/// </summary>
|
||||
public enum FogCoordinatePointerType : int
|
||||
{
|
||||
/// <summary>
|
||||
/// Original was GL_FLOAT = 0x1406
|
||||
/// </summary>
|
||||
Float = ((int)0x1406) ,
|
||||
/// <summary>
|
||||
/// Original was GL_DOUBLE = 0x140A
|
||||
/// </summary>
|
||||
Double = ((int)0x140A) ,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Not used directly.
|
||||
/// </summary>
|
||||
|
@ -14577,6 +14692,36 @@ namespace OpenTK.Graphics.ES30
|
|||
FogOffsetValueSgix = ((int)0x8199) ,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Not used directly.
|
||||
/// </summary>
|
||||
public enum FogPointerTypeExt : int
|
||||
{
|
||||
/// <summary>
|
||||
/// Original was GL_FLOAT = 0x1406
|
||||
/// </summary>
|
||||
Float = ((int)0x1406) ,
|
||||
/// <summary>
|
||||
/// Original was GL_DOUBLE = 0x140A
|
||||
/// </summary>
|
||||
Double = ((int)0x140A) ,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Not used directly.
|
||||
/// </summary>
|
||||
public enum FogPointerTypeIbm : int
|
||||
{
|
||||
/// <summary>
|
||||
/// Original was GL_FLOAT = 0x1406
|
||||
/// </summary>
|
||||
Float = ((int)0x1406) ,
|
||||
/// <summary>
|
||||
/// Original was GL_DOUBLE = 0x140A
|
||||
/// </summary>
|
||||
Double = ((int)0x140A) ,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Not used directly.
|
||||
/// </summary>
|
||||
|
@ -19710,10 +19855,6 @@ namespace OpenTK.Graphics.ES30
|
|||
/// </summary>
|
||||
Zero = ((int)0) ,
|
||||
/// <summary>
|
||||
/// Original was GL_XOR = 0x1506
|
||||
/// </summary>
|
||||
Xor = ((int)0x1506) ,
|
||||
/// <summary>
|
||||
/// Original was GL_XOR_NV = 0x1506
|
||||
/// </summary>
|
||||
XorNv = ((int)0x1506) ,
|
||||
|
@ -19722,26 +19863,14 @@ namespace OpenTK.Graphics.ES30
|
|||
/// </summary>
|
||||
Invert = ((int)0x150A) ,
|
||||
/// <summary>
|
||||
/// Original was GL_RED = 0x1903
|
||||
/// </summary>
|
||||
Red = ((int)0x1903) ,
|
||||
/// <summary>
|
||||
/// Original was GL_RED_NV = 0x1903
|
||||
/// </summary>
|
||||
RedNv = ((int)0x1903) ,
|
||||
/// <summary>
|
||||
/// Original was GL_GREEN = 0x1904
|
||||
/// </summary>
|
||||
Green = ((int)0x1904) ,
|
||||
/// <summary>
|
||||
/// Original was GL_GREEN_NV = 0x1904
|
||||
/// </summary>
|
||||
GreenNv = ((int)0x1904) ,
|
||||
/// <summary>
|
||||
/// Original was GL_BLUE = 0x1905
|
||||
/// </summary>
|
||||
Blue = ((int)0x1905) ,
|
||||
/// <summary>
|
||||
/// Original was GL_BLUE_NV = 0x1905
|
||||
/// </summary>
|
||||
BlueNv = ((int)0x1905) ,
|
||||
|
@ -20533,6 +20662,34 @@ namespace OpenTK.Graphics.ES30
|
|||
TransformFeedback = ((int)0x8E22) ,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Not used directly.
|
||||
/// </summary>
|
||||
[Flags]
|
||||
public enum OcclusionQueryEventMaskAmd : int
|
||||
{
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_DEPTH_PASS_EVENT_BIT_AMD = 0x00000001
|
||||
/// </summary>
|
||||
QueryDepthPassEventBitAmd = ((int)0x00000001) ,
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_DEPTH_FAIL_EVENT_BIT_AMD = 0x00000002
|
||||
/// </summary>
|
||||
QueryDepthFailEventBitAmd = ((int)0x00000002) ,
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_STENCIL_FAIL_EVENT_BIT_AMD = 0x00000004
|
||||
/// </summary>
|
||||
QueryStencilFailEventBitAmd = ((int)0x00000004) ,
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD = 0x00000008
|
||||
/// </summary>
|
||||
QueryDepthBoundsFailEventBitAmd = ((int)0x00000008) ,
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_ALL_EVENT_BITS_AMD = 0xFFFFFFFF
|
||||
/// </summary>
|
||||
QueryAllEventBitsAmd = unchecked((int)0xFFFFFFFF) ,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Not used directly.
|
||||
/// </summary>
|
||||
|
@ -20967,6 +21124,46 @@ namespace OpenTK.Graphics.ES30
|
|||
/// </summary>
|
||||
CompressedRgbaAstc12X12Khr = ((int)0x93BD) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGBA_ASTC_3x3x3_OES = 0x93C0
|
||||
/// </summary>
|
||||
CompressedRgbaAstc3X3x3Oes = ((int)0x93C0) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGBA_ASTC_4x3x3_OES = 0x93C1
|
||||
/// </summary>
|
||||
CompressedRgbaAstc4X3x3Oes = ((int)0x93C1) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGBA_ASTC_4x4x3_OES = 0x93C2
|
||||
/// </summary>
|
||||
CompressedRgbaAstc4X4x3Oes = ((int)0x93C2) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGBA_ASTC_4x4x4_OES = 0x93C3
|
||||
/// </summary>
|
||||
CompressedRgbaAstc4X4x4Oes = ((int)0x93C3) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGBA_ASTC_5x4x4_OES = 0x93C4
|
||||
/// </summary>
|
||||
CompressedRgbaAstc5X4x4Oes = ((int)0x93C4) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGBA_ASTC_5x5x4_OES = 0x93C5
|
||||
/// </summary>
|
||||
CompressedRgbaAstc5X5x4Oes = ((int)0x93C5) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGBA_ASTC_5x5x5_OES = 0x93C6
|
||||
/// </summary>
|
||||
CompressedRgbaAstc5X5x5Oes = ((int)0x93C6) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGBA_ASTC_6x5x5_OES = 0x93C7
|
||||
/// </summary>
|
||||
CompressedRgbaAstc6X5x5Oes = ((int)0x93C7) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGBA_ASTC_6x6x5_OES = 0x93C8
|
||||
/// </summary>
|
||||
CompressedRgbaAstc6X6x5Oes = ((int)0x93C8) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGBA_ASTC_6x6x6_OES = 0x93C9
|
||||
/// </summary>
|
||||
CompressedRgbaAstc6X6x6Oes = ((int)0x93C9) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR = 0x93D0
|
||||
/// </summary>
|
||||
CompressedSrgb8Alpha8Astc4X4Khr = ((int)0x93D0) ,
|
||||
|
@ -21022,6 +21219,46 @@ namespace OpenTK.Graphics.ES30
|
|||
/// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR = 0x93DD
|
||||
/// </summary>
|
||||
CompressedSrgb8Alpha8Astc12X12Khr = ((int)0x93DD) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_3x3x3_OES = 0x93E0
|
||||
/// </summary>
|
||||
CompressedSrgb8Alpha8Astc3X3x3Oes = ((int)0x93E0) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x3x3_OES = 0x93E1
|
||||
/// </summary>
|
||||
CompressedSrgb8Alpha8Astc4X3x3Oes = ((int)0x93E1) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x3_OES = 0x93E2
|
||||
/// </summary>
|
||||
CompressedSrgb8Alpha8Astc4X4x3Oes = ((int)0x93E2) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x4_OES = 0x93E3
|
||||
/// </summary>
|
||||
CompressedSrgb8Alpha8Astc4X4x4Oes = ((int)0x93E3) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4x4_OES = 0x93E4
|
||||
/// </summary>
|
||||
CompressedSrgb8Alpha8Astc5X4x4Oes = ((int)0x93E4) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x4_OES = 0x93E5
|
||||
/// </summary>
|
||||
CompressedSrgb8Alpha8Astc5X5x4Oes = ((int)0x93E5) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x5_OES = 0x93E6
|
||||
/// </summary>
|
||||
CompressedSrgb8Alpha8Astc5X5x5Oes = ((int)0x93E6) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5x5_OES = 0x93E7
|
||||
/// </summary>
|
||||
CompressedSrgb8Alpha8Astc6X5x5Oes = ((int)0x93E7) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x5_OES = 0x93E8
|
||||
/// </summary>
|
||||
CompressedSrgb8Alpha8Astc6X6x5Oes = ((int)0x93E8) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x6_OES = 0x93E9
|
||||
/// </summary>
|
||||
CompressedSrgb8Alpha8Astc6X6x6Oes = ((int)0x93E9) ,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -793,6 +793,10 @@ namespace OpenTK.Graphics.OpenGL
|
|||
/// </summary>
|
||||
Gl2XBitAti = ((int)0x00000001) ,
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_DEPTH_PASS_EVENT_BIT_AMD = 0x00000001
|
||||
/// </summary>
|
||||
QueryDepthPassEventBitAmd = ((int)0x00000001) ,
|
||||
/// <summary>
|
||||
/// Original was GL_RED_BIT_ATI = 0x00000001
|
||||
/// </summary>
|
||||
RedBitAti = ((int)0x00000001) ,
|
||||
|
@ -877,6 +881,10 @@ namespace OpenTK.Graphics.OpenGL
|
|||
/// </summary>
|
||||
PointBit = ((int)0x00000002) ,
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_DEPTH_FAIL_EVENT_BIT_AMD = 0x00000002
|
||||
/// </summary>
|
||||
QueryDepthFailEventBitAmd = ((int)0x00000002) ,
|
||||
/// <summary>
|
||||
/// Original was GL_BLUE_BIT_ATI = 0x00000004
|
||||
/// </summary>
|
||||
BlueBitAti = ((int)0x00000004) ,
|
||||
|
@ -901,6 +909,10 @@ namespace OpenTK.Graphics.OpenGL
|
|||
/// </summary>
|
||||
NegateBitAti = ((int)0x00000004) ,
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_STENCIL_FAIL_EVENT_BIT_AMD = 0x00000004
|
||||
/// </summary>
|
||||
QueryStencilFailEventBitAmd = ((int)0x00000004) ,
|
||||
/// <summary>
|
||||
/// Original was GL_UNIFORM_BARRIER_BIT = 0x00000004
|
||||
/// </summary>
|
||||
UniformBarrierBit = ((int)0x00000004) ,
|
||||
|
@ -925,6 +937,10 @@ namespace OpenTK.Graphics.OpenGL
|
|||
/// </summary>
|
||||
PolygonBit = ((int)0x00000008) ,
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD = 0x00000008
|
||||
/// </summary>
|
||||
QueryDepthBoundsFailEventBitAmd = ((int)0x00000008) ,
|
||||
/// <summary>
|
||||
/// Original was GL_TESS_CONTROL_SHADER_BIT = 0x00000008
|
||||
/// </summary>
|
||||
TessControlShaderBit = ((int)0x00000008) ,
|
||||
|
@ -10517,6 +10533,10 @@ namespace OpenTK.Graphics.OpenGL
|
|||
/// </summary>
|
||||
VertexAttribArrayLong = ((int)0x874E) ,
|
||||
/// <summary>
|
||||
/// Original was GL_OCCLUSION_QUERY_EVENT_MASK_AMD = 0x874F
|
||||
/// </summary>
|
||||
OcclusionQueryEventMaskAmd = ((int)0x874F) ,
|
||||
/// <summary>
|
||||
/// Original was GL_YCBCR_MESA = 0x8757
|
||||
/// </summary>
|
||||
YcbcrMesa = ((int)0x8757) ,
|
||||
|
@ -16537,18 +16557,34 @@ namespace OpenTK.Graphics.OpenGL
|
|||
/// </summary>
|
||||
MaxTessEvaluationUniformBlocks = ((int)0x8E8A) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGBA_BPTC_UNORM = 0x8E8C
|
||||
/// </summary>
|
||||
CompressedRgbaBptcUnorm = ((int)0x8E8C) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGBA_BPTC_UNORM_ARB = 0x8E8C
|
||||
/// </summary>
|
||||
CompressedRgbaBptcUnormArb = ((int)0x8E8C) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM = 0x8E8D
|
||||
/// </summary>
|
||||
CompressedSrgbAlphaBptcUnorm = ((int)0x8E8D) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB = 0x8E8D
|
||||
/// </summary>
|
||||
CompressedSrgbAlphaBptcUnormArb = ((int)0x8E8D) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT = 0x8E8E
|
||||
/// </summary>
|
||||
CompressedRgbBptcSignedFloat = ((int)0x8E8E) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB = 0x8E8E
|
||||
/// </summary>
|
||||
CompressedRgbBptcSignedFloatArb = ((int)0x8E8E) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT = 0x8E8F
|
||||
/// </summary>
|
||||
CompressedRgbBptcUnsignedFloat = ((int)0x8E8F) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB = 0x8E8F
|
||||
/// </summary>
|
||||
CompressedRgbBptcUnsignedFloatArb = ((int)0x8E8F) ,
|
||||
|
@ -19285,6 +19321,10 @@ namespace OpenTK.Graphics.OpenGL
|
|||
/// </summary>
|
||||
InvalidIndex = unchecked((int)0xFFFFFFFF) ,
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_ALL_EVENT_BITS_AMD = 0xFFFFFFFF
|
||||
/// </summary>
|
||||
QueryAllEventBitsAmd = unchecked((int)0xFFFFFFFF) ,
|
||||
/// <summary>
|
||||
/// Original was GL_TIMEOUT_IGNORED = 0xFFFFFFFFFFFFFFFF
|
||||
/// </summary>
|
||||
TimeoutIgnored = unchecked((int)0xFFFFFFFFFFFFFFFF) ,
|
||||
|
@ -19637,6 +19677,37 @@ namespace OpenTK.Graphics.OpenGL
|
|||
SamplerObjectAmd = ((int)0x9155) ,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Used in GL.Amd.QueryObjectParameter
|
||||
/// </summary>
|
||||
public enum AmdOcclusionQueryEvent : int
|
||||
{
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_DEPTH_PASS_EVENT_BIT_AMD = 0x00000001
|
||||
/// </summary>
|
||||
QueryDepthPassEventBitAmd = ((int)0x00000001) ,
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_DEPTH_FAIL_EVENT_BIT_AMD = 0x00000002
|
||||
/// </summary>
|
||||
QueryDepthFailEventBitAmd = ((int)0x00000002) ,
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_STENCIL_FAIL_EVENT_BIT_AMD = 0x00000004
|
||||
/// </summary>
|
||||
QueryStencilFailEventBitAmd = ((int)0x00000004) ,
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD = 0x00000008
|
||||
/// </summary>
|
||||
QueryDepthBoundsFailEventBitAmd = ((int)0x00000008) ,
|
||||
/// <summary>
|
||||
/// Original was GL_OCCLUSION_QUERY_EVENT_MASK_AMD = 0x874F
|
||||
/// </summary>
|
||||
OcclusionQueryEventMaskAmd = ((int)0x874F) ,
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_ALL_EVENT_BITS_AMD = 0xFFFFFFFF
|
||||
/// </summary>
|
||||
QueryAllEventBitsAmd = unchecked((int)0xFFFFFFFF) ,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Used in GL.Amd.GetPerfMonitorCounterData, GL.Amd.GetPerfMonitorCounterInfo
|
||||
/// </summary>
|
||||
|
@ -28094,7 +28165,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Not used directly.
|
||||
/// Used in GL.Ext.BlendEquationSeparate
|
||||
/// </summary>
|
||||
public enum BlendEquationModeExt : int
|
||||
{
|
||||
|
@ -28380,7 +28451,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Not used directly.
|
||||
/// Used in GL.Arb.MapBuffer
|
||||
/// </summary>
|
||||
public enum BufferAccessArb : int
|
||||
{
|
||||
|
@ -28655,7 +28726,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Used in GL.Arb.BindBuffer, GL.Arb.BufferData and 4 other functions
|
||||
/// Used in GL.Arb.BindBuffer, GL.Arb.BufferData and 7 other functions
|
||||
/// </summary>
|
||||
public enum BufferTargetArb : int
|
||||
{
|
||||
|
@ -29070,7 +29141,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Not used directly.
|
||||
/// Used in GL.Sgi.ColorTableParameter
|
||||
/// </summary>
|
||||
public enum ColorTableParameterPNameSgi : int
|
||||
{
|
||||
|
@ -29124,7 +29195,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Not used directly.
|
||||
/// Used in GL.Sgi.ColorTableParameter, GL.Sgi.ColorTable and 3 other functions
|
||||
/// </summary>
|
||||
public enum ColorTableTargetSgi : int
|
||||
{
|
||||
|
@ -29284,7 +29355,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Not used directly.
|
||||
/// Used in GL.Ext.ConvolutionParameter, GL.Ext.GetConvolutionParameter
|
||||
/// </summary>
|
||||
public enum ConvolutionParameterExt : int
|
||||
{
|
||||
|
@ -29353,7 +29424,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Not used directly.
|
||||
/// Used in GL.Ext.ConvolutionFilter1D, GL.Ext.ConvolutionFilter2D and 5 other functions
|
||||
/// </summary>
|
||||
public enum ConvolutionTargetExt : int
|
||||
{
|
||||
|
@ -30811,7 +30882,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Used in GL.Ext.ConvolutionFilter1D, GL.Ext.ConvolutionFilter2D and 7 other functions
|
||||
/// Used in GL.Ext.ConvolutionFilter1D, GL.Ext.ConvolutionFilter2D and 5 other functions
|
||||
/// </summary>
|
||||
public enum ExtConvolution : int
|
||||
{
|
||||
|
@ -34484,7 +34555,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Not used directly.
|
||||
/// Used in GL.Sgix.Deform, GL.Sgix.LoadIdentityDeformationMap
|
||||
/// </summary>
|
||||
[Flags]
|
||||
public enum FfdMaskSgix : int
|
||||
|
@ -34492,7 +34563,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Not used directly.
|
||||
/// Used in GL.Sgix.DeformationMap3
|
||||
/// </summary>
|
||||
public enum FfdTargetSgix : int
|
||||
{
|
||||
|
@ -34615,7 +34686,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Not used directly.
|
||||
/// Used in GL.Ext.FogCoordPointer
|
||||
/// </summary>
|
||||
public enum FogPointerTypeExt : int
|
||||
{
|
||||
|
@ -34653,7 +34724,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Not used directly.
|
||||
/// Used in GL.Sgix.FragmentLightModel
|
||||
/// </summary>
|
||||
public enum FragmentLightModelParameterSgix : int
|
||||
{
|
||||
|
@ -35238,7 +35309,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Not used directly.
|
||||
/// Used in GL.Sgi.GetColorTableParameter
|
||||
/// </summary>
|
||||
public enum GetColorTableParameterPNameSgi : int
|
||||
{
|
||||
|
@ -35406,7 +35477,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Not used directly.
|
||||
/// Used in GL.Ext.GetHistogramParameter
|
||||
/// </summary>
|
||||
public enum GetHistogramParameterPNameExt : int
|
||||
{
|
||||
|
@ -35530,7 +35601,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Not used directly.
|
||||
/// Used in GL.Ext.GetMinmaxParameter
|
||||
/// </summary>
|
||||
public enum GetMinmaxParameterPNameExt : int
|
||||
{
|
||||
|
@ -38893,7 +38964,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Not used directly.
|
||||
/// Used in GL.Ext.GetHistogram, GL.Ext.GetHistogramParameter and 2 other functions
|
||||
/// </summary>
|
||||
public enum HistogramTargetExt : int
|
||||
{
|
||||
|
@ -40546,7 +40617,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Not used directly.
|
||||
/// Used in GL.Sgix.LightEnv
|
||||
/// </summary>
|
||||
public enum LightEnvParameterSgix : int
|
||||
{
|
||||
|
@ -41598,7 +41669,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Not used directly.
|
||||
/// Used in GL.Ext.GetMinmax, GL.Ext.GetMinmaxParameter and 2 other functions
|
||||
/// </summary>
|
||||
public enum MinmaxTargetExt : int
|
||||
{
|
||||
|
@ -41675,10 +41746,6 @@ namespace OpenTK.Graphics.OpenGL
|
|||
/// </summary>
|
||||
Zero = ((int)0) ,
|
||||
/// <summary>
|
||||
/// Original was GL_XOR = 0x1506
|
||||
/// </summary>
|
||||
Xor = ((int)0x1506) ,
|
||||
/// <summary>
|
||||
/// Original was GL_XOR_NV = 0x1506
|
||||
/// </summary>
|
||||
XorNv = ((int)0x1506) ,
|
||||
|
@ -41687,26 +41754,14 @@ namespace OpenTK.Graphics.OpenGL
|
|||
/// </summary>
|
||||
Invert = ((int)0x150A) ,
|
||||
/// <summary>
|
||||
/// Original was GL_RED = 0x1903
|
||||
/// </summary>
|
||||
Red = ((int)0x1903) ,
|
||||
/// <summary>
|
||||
/// Original was GL_RED_NV = 0x1903
|
||||
/// </summary>
|
||||
RedNv = ((int)0x1903) ,
|
||||
/// <summary>
|
||||
/// Original was GL_GREEN = 0x1904
|
||||
/// </summary>
|
||||
Green = ((int)0x1904) ,
|
||||
/// <summary>
|
||||
/// Original was GL_GREEN_NV = 0x1904
|
||||
/// </summary>
|
||||
GreenNv = ((int)0x1904) ,
|
||||
/// <summary>
|
||||
/// Original was GL_BLUE = 0x1905
|
||||
/// </summary>
|
||||
Blue = ((int)0x1905) ,
|
||||
/// <summary>
|
||||
/// Original was GL_BLUE_NV = 0x1905
|
||||
/// </summary>
|
||||
BlueNv = ((int)0x1905) ,
|
||||
|
@ -45158,6 +45213,34 @@ namespace OpenTK.Graphics.OpenGL
|
|||
TransformFeedback = ((int)0x8E22) ,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Used in GL.Amd.QueryObjectParameter
|
||||
/// </summary>
|
||||
[Flags]
|
||||
public enum OcclusionQueryEventMaskAmd : int
|
||||
{
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_DEPTH_PASS_EVENT_BIT_AMD = 0x00000001
|
||||
/// </summary>
|
||||
QueryDepthPassEventBitAmd = ((int)0x00000001) ,
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_DEPTH_FAIL_EVENT_BIT_AMD = 0x00000002
|
||||
/// </summary>
|
||||
QueryDepthFailEventBitAmd = ((int)0x00000002) ,
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_STENCIL_FAIL_EVENT_BIT_AMD = 0x00000004
|
||||
/// </summary>
|
||||
QueryStencilFailEventBitAmd = ((int)0x00000004) ,
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD = 0x00000008
|
||||
/// </summary>
|
||||
QueryDepthBoundsFailEventBitAmd = ((int)0x00000008) ,
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_ALL_EVENT_BITS_AMD = 0xFFFFFFFF
|
||||
/// </summary>
|
||||
QueryAllEventBitsAmd = unchecked((int)0xFFFFFFFF) ,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Used in GL.Oes.MultiTexCoord1, GL.Oes.MultiTexCoord2 and 2 other functions
|
||||
/// </summary>
|
||||
|
@ -46340,6 +46423,18 @@ namespace OpenTK.Graphics.OpenGL
|
|||
/// </summary>
|
||||
CompressedSignedRgRgtc2 = ((int)0x8DBE) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGBA_BPTC_UNORM = 0x8E8C
|
||||
/// </summary>
|
||||
CompressedRgbaBptcUnorm = ((int)0x8E8C) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT = 0x8E8E
|
||||
/// </summary>
|
||||
CompressedRgbBptcSignedFloat = ((int)0x8E8E) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT = 0x8E8F
|
||||
/// </summary>
|
||||
CompressedRgbBptcUnsignedFloat = ((int)0x8E8F) ,
|
||||
/// <summary>
|
||||
/// Original was GL_R8_SNORM = 0x8F94
|
||||
/// </summary>
|
||||
R8Snorm = ((int)0x8F94) ,
|
||||
|
@ -46701,7 +46796,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Not used directly.
|
||||
/// Used in GL.Sgis.GetPixelTexGenParameter, GL.Sgis.PixelTexGenParameter
|
||||
/// </summary>
|
||||
public enum PixelTexGenParameterNameSgis : int
|
||||
{
|
||||
|
@ -48395,7 +48490,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Not used directly.
|
||||
/// Used in GL.Sgis.SamplePattern
|
||||
/// </summary>
|
||||
public enum SamplePatternSgis : int
|
||||
{
|
||||
|
@ -48579,7 +48674,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Not used directly.
|
||||
/// Used in GL.Ext.GetSeparableFilter, GL.Ext.SeparableFilter2D
|
||||
/// </summary>
|
||||
public enum SeparableTargetExt : int
|
||||
{
|
||||
|
@ -57733,6 +57828,22 @@ namespace OpenTK.Graphics.OpenGL
|
|||
/// </summary>
|
||||
AtomicCounterBarrierBit = ((int)0x00001000) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGBA_BPTC_UNORM = 0x8E8C
|
||||
/// </summary>
|
||||
CompressedRgbaBptcUnorm = ((int)0x8E8C) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM = 0x8E8D
|
||||
/// </summary>
|
||||
CompressedSrgbAlphaBptcUnorm = ((int)0x8E8D) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT = 0x8E8E
|
||||
/// </summary>
|
||||
CompressedRgbBptcSignedFloat = ((int)0x8E8E) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT = 0x8E8F
|
||||
/// </summary>
|
||||
CompressedRgbBptcUnsignedFloat = ((int)0x8E8F) ,
|
||||
/// <summary>
|
||||
/// Original was GL_MAX_IMAGE_UNITS = 0x8F38
|
||||
/// </summary>
|
||||
MaxImageUnits = ((int)0x8F38) ,
|
||||
|
|
|
@ -757,6 +757,10 @@ namespace OpenTK.Graphics.OpenGL4
|
|||
/// </summary>
|
||||
ContextFlagForwardCompatibleBit = ((int)0x00000001) ,
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_DEPTH_PASS_EVENT_BIT_AMD = 0x00000001
|
||||
/// </summary>
|
||||
QueryDepthPassEventBitAmd = ((int)0x00000001) ,
|
||||
/// <summary>
|
||||
/// Original was GL_SYNC_FLUSH_COMMANDS_BIT = 0x00000001
|
||||
/// </summary>
|
||||
SyncFlushCommandsBit = ((int)0x00000001) ,
|
||||
|
@ -805,6 +809,10 @@ namespace OpenTK.Graphics.OpenGL4
|
|||
/// </summary>
|
||||
FragmentShaderBitExt = ((int)0x00000002) ,
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_DEPTH_FAIL_EVENT_BIT_AMD = 0x00000002
|
||||
/// </summary>
|
||||
QueryDepthFailEventBitAmd = ((int)0x00000002) ,
|
||||
/// <summary>
|
||||
/// Original was GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB = 0x00000004
|
||||
/// </summary>
|
||||
ContextFlagRobustAccessBitArb = ((int)0x00000004) ,
|
||||
|
@ -813,6 +821,10 @@ namespace OpenTK.Graphics.OpenGL4
|
|||
/// </summary>
|
||||
GeometryShaderBit = ((int)0x00000004) ,
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_STENCIL_FAIL_EVENT_BIT_AMD = 0x00000004
|
||||
/// </summary>
|
||||
QueryStencilFailEventBitAmd = ((int)0x00000004) ,
|
||||
/// <summary>
|
||||
/// Original was GL_UNIFORM_BARRIER_BIT = 0x00000004
|
||||
/// </summary>
|
||||
UniformBarrierBit = ((int)0x00000004) ,
|
||||
|
@ -821,6 +833,10 @@ namespace OpenTK.Graphics.OpenGL4
|
|||
/// </summary>
|
||||
UniformBarrierBitExt = ((int)0x00000004) ,
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD = 0x00000008
|
||||
/// </summary>
|
||||
QueryDepthBoundsFailEventBitAmd = ((int)0x00000008) ,
|
||||
/// <summary>
|
||||
/// Original was GL_TESS_CONTROL_SHADER_BIT = 0x00000008
|
||||
/// </summary>
|
||||
TessControlShaderBit = ((int)0x00000008) ,
|
||||
|
@ -8477,18 +8493,34 @@ namespace OpenTK.Graphics.OpenGL4
|
|||
/// </summary>
|
||||
MaxTessEvaluationUniformBlocks = ((int)0x8E8A) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGBA_BPTC_UNORM = 0x8E8C
|
||||
/// </summary>
|
||||
CompressedRgbaBptcUnorm = ((int)0x8E8C) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGBA_BPTC_UNORM_ARB = 0x8E8C
|
||||
/// </summary>
|
||||
CompressedRgbaBptcUnormArb = ((int)0x8E8C) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM = 0x8E8D
|
||||
/// </summary>
|
||||
CompressedSrgbAlphaBptcUnorm = ((int)0x8E8D) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB = 0x8E8D
|
||||
/// </summary>
|
||||
CompressedSrgbAlphaBptcUnormArb = ((int)0x8E8D) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT = 0x8E8E
|
||||
/// </summary>
|
||||
CompressedRgbBptcSignedFloat = ((int)0x8E8E) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB = 0x8E8E
|
||||
/// </summary>
|
||||
CompressedRgbBptcSignedFloatArb = ((int)0x8E8E) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT = 0x8E8F
|
||||
/// </summary>
|
||||
CompressedRgbBptcUnsignedFloat = ((int)0x8E8F) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB = 0x8E8F
|
||||
/// </summary>
|
||||
CompressedRgbBptcUnsignedFloatArb = ((int)0x8E8F) ,
|
||||
|
@ -9905,6 +9937,10 @@ namespace OpenTK.Graphics.OpenGL4
|
|||
/// </summary>
|
||||
InvalidIndex = unchecked((int)0xFFFFFFFF) ,
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_ALL_EVENT_BITS_AMD = 0xFFFFFFFF
|
||||
/// </summary>
|
||||
QueryAllEventBitsAmd = unchecked((int)0xFFFFFFFF) ,
|
||||
/// <summary>
|
||||
/// Original was GL_TIMEOUT_IGNORED = 0xFFFFFFFFFFFFFFFF
|
||||
/// </summary>
|
||||
TimeoutIgnored = unchecked((int)0xFFFFFFFFFFFFFFFF) ,
|
||||
|
@ -22770,6 +22806,34 @@ namespace OpenTK.Graphics.OpenGL4
|
|||
TransformFeedback = ((int)0x8E22) ,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Not used directly.
|
||||
/// </summary>
|
||||
[Flags]
|
||||
public enum OcclusionQueryEventMaskAmd : int
|
||||
{
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_DEPTH_PASS_EVENT_BIT_AMD = 0x00000001
|
||||
/// </summary>
|
||||
QueryDepthPassEventBitAmd = ((int)0x00000001) ,
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_DEPTH_FAIL_EVENT_BIT_AMD = 0x00000002
|
||||
/// </summary>
|
||||
QueryDepthFailEventBitAmd = ((int)0x00000002) ,
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_STENCIL_FAIL_EVENT_BIT_AMD = 0x00000004
|
||||
/// </summary>
|
||||
QueryStencilFailEventBitAmd = ((int)0x00000004) ,
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD = 0x00000008
|
||||
/// </summary>
|
||||
QueryDepthBoundsFailEventBitAmd = ((int)0x00000008) ,
|
||||
/// <summary>
|
||||
/// Original was GL_QUERY_ALL_EVENT_BITS_AMD = 0xFFFFFFFF
|
||||
/// </summary>
|
||||
QueryAllEventBitsAmd = unchecked((int)0xFFFFFFFF) ,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Used in GL.ColorP3, GL.ColorP4 and 17 other functions
|
||||
/// </summary>
|
||||
|
@ -23539,6 +23603,18 @@ namespace OpenTK.Graphics.OpenGL4
|
|||
/// </summary>
|
||||
CompressedSignedRgRgtc2 = ((int)0x8DBE) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGBA_BPTC_UNORM = 0x8E8C
|
||||
/// </summary>
|
||||
CompressedRgbaBptcUnorm = ((int)0x8E8C) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT = 0x8E8E
|
||||
/// </summary>
|
||||
CompressedRgbBptcSignedFloat = ((int)0x8E8E) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT = 0x8E8F
|
||||
/// </summary>
|
||||
CompressedRgbBptcUnsignedFloat = ((int)0x8E8F) ,
|
||||
/// <summary>
|
||||
/// Original was GL_R8_SNORM = 0x8F94
|
||||
/// </summary>
|
||||
R8Snorm = ((int)0x8F94) ,
|
||||
|
@ -31544,6 +31620,22 @@ namespace OpenTK.Graphics.OpenGL4
|
|||
/// </summary>
|
||||
AtomicCounterBarrierBit = ((int)0x00001000) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGBA_BPTC_UNORM = 0x8E8C
|
||||
/// </summary>
|
||||
CompressedRgbaBptcUnorm = ((int)0x8E8C) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM = 0x8E8D
|
||||
/// </summary>
|
||||
CompressedSrgbAlphaBptcUnorm = ((int)0x8E8D) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT = 0x8E8E
|
||||
/// </summary>
|
||||
CompressedRgbBptcSignedFloat = ((int)0x8E8E) ,
|
||||
/// <summary>
|
||||
/// Original was GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT = 0x8E8F
|
||||
/// </summary>
|
||||
CompressedRgbBptcUnsignedFloat = ((int)0x8E8F) ,
|
||||
/// <summary>
|
||||
/// Original was GL_MAX_IMAGE_UNITS = 0x8F38
|
||||
/// </summary>
|
||||
MaxImageUnits = ((int)0x8F38) ,
|
||||
|
|
|
@ -48,7 +48,6 @@
|
|||
</ConfigurationOverrideFile>
|
||||
<DefineConstants>DEBUG;TRACE;</DefineConstants>
|
||||
<DocumentationFile>..\..\Binaries\OpenTK\Debug\OpenTK.xml</DocumentationFile>
|
||||
<DebugSymbols>True</DebugSymbols>
|
||||
<FileAlignment>4096</FileAlignment>
|
||||
<Optimize>False</Optimize>
|
||||
<OutputPath>..\..\Binaries\OpenTK\Debug\</OutputPath>
|
||||
|
@ -56,6 +55,7 @@
|
|||
<RemoveIntegerChecks>False</RemoveIntegerChecks>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<DebugSymbols>True</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
|
@ -72,11 +72,13 @@
|
|||
<RemoveIntegerChecks>False</RemoveIntegerChecks>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<DebugSymbols>True</DebugSymbols>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Documentation|AnyCPU'">
|
||||
<OutputPath>..\..\Binaries\OpenTK\Release\</OutputPath>
|
||||
<DebugSymbols>True</DebugSymbols>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Optimize>True</Optimize>
|
||||
<DefineConstants>TRACE;</DefineConstants>
|
||||
|
@ -98,8 +100,8 @@
|
|||
<RemoveIntegerChecks>False</RemoveIntegerChecks>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<DebugSymbols>True</DebugSymbols>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<SignAssembly>True</SignAssembly>
|
||||
|
|
|
@ -685,7 +685,7 @@ namespace OpenTK.Platform.MacOS.Carbon
|
|||
|
||||
OSStatus result = API.GetEventParameter(inEvent,
|
||||
EventParamName.KeyMacCharCode, EventParamType.typeChar, IntPtr.Zero,
|
||||
(uint)System.Runtime.InteropServices.Marshal.SizeOf(typeof(char)), IntPtr.Zero,
|
||||
(uint)BlittableValueType<char>.Stride, IntPtr.Zero,
|
||||
(IntPtr)codeAddr);
|
||||
|
||||
if (result != OSStatus.NoError)
|
||||
|
|
|
@ -383,7 +383,10 @@ namespace OpenTK.Platform.MacOS
|
|||
case KeyboardEventKind.RawKeyDown:
|
||||
Keymap.TryGetValue(code, out key);
|
||||
InputDriver.Keyboard[0].SetKey(key, (uint)code, true);
|
||||
if (!Char.IsControl(mKeyPressArgs.KeyChar))
|
||||
{
|
||||
OnKeyPress(mKeyPressArgs);
|
||||
}
|
||||
return OSStatus.NoError;
|
||||
|
||||
case KeyboardEventKind.RawKeyUp:
|
||||
|
|
|
@ -94,24 +94,14 @@ namespace OpenTK.Platform.SDL2
|
|||
|
||||
public override bool TryChangeResolution(DisplayDevice device, DisplayResolution resolution)
|
||||
{
|
||||
// Todo: we need a temporary window to change resolutions, most probably
|
||||
Trace.WriteLine("SDL2 driver does not implement TryChangeResolution");
|
||||
Sdl2Factory.UseFullscreenDesktop = false;
|
||||
return true;
|
||||
|
||||
//SDL2.SDL_DisplayMode desired, closest;
|
||||
//desired.w = resolution.Width;
|
||||
//desired.h = resolution.Height;
|
||||
//desired.format = SDL.SDL_PIXELFORMAT_BGRA8888;
|
||||
|
||||
//SDL2.SDL_GetClosestDisplayMode((int)device.Id, ref desired, out closest);
|
||||
//SDL2.SDL_SetWindowDisplayMode(IntPtr.Zero, ref closest);
|
||||
}
|
||||
|
||||
public override bool TryRestoreResolution(DisplayDevice device)
|
||||
{
|
||||
Trace.WriteLine("SDL2 driver does not support TryRestoreResolution");
|
||||
Sdl2Factory.UseFullscreenDesktop = true;
|
||||
return true;
|
||||
//throw new NotImplementedException();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
|
|
@ -37,8 +37,21 @@ namespace OpenTK.Platform.SDL2
|
|||
readonly IInputDriver2 InputDriver = new Sdl2InputDriver();
|
||||
bool disposed;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether to use SDL2 fullscreen-desktop mode
|
||||
/// for fullscreen windows. When true, then GameWindow instances will not change
|
||||
/// DisplayDevice resolutions when going fullscreen. When false, fullscreen GameWindows
|
||||
/// will change the device resolution to match their size.
|
||||
/// </summary>
|
||||
/// <remarks>>
|
||||
/// This is a workaround for the lack of ChangeResolution support in SDL2.
|
||||
/// When and if this changes upstream, we should remove this code.
|
||||
/// </remarks>
|
||||
public static bool UseFullscreenDesktop { get; set; }
|
||||
|
||||
public Sdl2Factory()
|
||||
{
|
||||
UseFullscreenDesktop = true;
|
||||
}
|
||||
|
||||
#region IPlatformFactory implementation
|
||||
|
|
|
@ -59,6 +59,16 @@ namespace OpenTK.Platform.SDL2
|
|||
Icon icon;
|
||||
string window_title;
|
||||
|
||||
// Used in KeyPress event to decode SDL UTF8 text strings
|
||||
// to .Net UTF16 strings
|
||||
char[] DecodeTextBuffer = new char[32];
|
||||
|
||||
// Argument for KeyPress event (allocated once to avoid runtime allocations)
|
||||
readonly KeyPressEventArgs keypress_args = new KeyPressEventArgs('\0');
|
||||
|
||||
// Argument for KeyDown and KeyUp events (allocated once to avoid runtime allocations)
|
||||
readonly KeyboardKeyEventArgs key_args = new KeyboardKeyEventArgs();
|
||||
|
||||
readonly IInputDriver input_driver = new Sdl2InputDriver();
|
||||
|
||||
readonly EventFilter EventFilterDelegate_GCUnsafe = FilterEvents;
|
||||
|
@ -112,7 +122,10 @@ namespace OpenTK.Platform.SDL2
|
|||
switch (flags)
|
||||
{
|
||||
case GameWindowFlags.Fullscreen:
|
||||
if (Sdl2Factory.UseFullscreenDesktop)
|
||||
return WindowFlags.FULLSCREEN_DESKTOP;
|
||||
else
|
||||
return WindowFlags.FULLSCREEN;
|
||||
|
||||
default:
|
||||
return WindowFlags.Default;
|
||||
|
@ -226,39 +239,49 @@ namespace OpenTK.Platform.SDL2
|
|||
{
|
||||
bool key_pressed = ev.Key.State == State.Pressed;
|
||||
var key = ev.Key.Keysym;
|
||||
var args = new KeyboardKeyEventArgs()
|
||||
{
|
||||
Key = TranslateKey(key.Scancode),
|
||||
ScanCode = (uint)key.Scancode
|
||||
};
|
||||
window.key_args.Key = TranslateKey(key.Scancode);
|
||||
window.key_args.ScanCode = (uint)key.Scancode;
|
||||
if (key_pressed)
|
||||
window.KeyDown(window, args);
|
||||
{
|
||||
window.KeyDown(window, window.key_args);
|
||||
}
|
||||
else
|
||||
window.KeyUp(window, args);
|
||||
{
|
||||
window.KeyUp(window, window.key_args);
|
||||
}
|
||||
//window.keyboard.SetKey(TranslateKey(key.scancode), (uint)key.scancode, key_pressed);
|
||||
}
|
||||
|
||||
static unsafe void ProcessTextInputEvent(Sdl2NativeWindow window, TextInputEvent ev)
|
||||
{
|
||||
var keyPress = window.KeyPress;
|
||||
if (keyPress != null)
|
||||
// Calculate the length of the typed text string
|
||||
int length;
|
||||
for (length = 0; length < TextInputEvent.TextSize && ev.Text[length] != '\0'; length++)
|
||||
;
|
||||
|
||||
// Make sure we have enough space to decode this string
|
||||
int decoded_length = Encoding.UTF8.GetCharCount(ev.Text, length);
|
||||
if (window.DecodeTextBuffer.Length < decoded_length)
|
||||
{
|
||||
var length = 0;
|
||||
byte* pText = ev.Text;
|
||||
while (*pText != 0)
|
||||
{
|
||||
length++;
|
||||
pText++;
|
||||
Array.Resize(
|
||||
ref window.DecodeTextBuffer,
|
||||
2 * Math.Max(decoded_length, window.DecodeTextBuffer.Length));
|
||||
}
|
||||
using (var stream = new System.IO.UnmanagedMemoryStream(ev.Text, length))
|
||||
using (var reader = new System.IO.StreamReader(stream, Encoding.UTF8))
|
||||
|
||||
// Decode the string from UTF8 to .Net UTF16
|
||||
fixed (char* pBuffer = window.DecodeTextBuffer)
|
||||
{
|
||||
var text = reader.ReadToEnd();
|
||||
foreach (var c in text)
|
||||
decoded_length = System.Text.Encoding.UTF8.GetChars(
|
||||
ev.Text,
|
||||
length,
|
||||
pBuffer,
|
||||
window.DecodeTextBuffer.Length);
|
||||
}
|
||||
|
||||
for (int i = 0; i < decoded_length; i++)
|
||||
{
|
||||
keyPress(window, new KeyPressEventArgs(c));
|
||||
}
|
||||
}
|
||||
window.keypress_args.KeyChar = window.DecodeTextBuffer[i];
|
||||
window.KeyPress(window, window.keypress_args);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -321,14 +344,13 @@ namespace OpenTK.Platform.SDL2
|
|||
break;
|
||||
|
||||
case WindowEventID.MAXIMIZED:
|
||||
window.previous_window_state = window.window_state;
|
||||
window.window_state = OpenTK.WindowState.Maximized;
|
||||
window.window_state = WindowState.Maximized;
|
||||
window.WindowStateChanged(window, EventArgs.Empty);
|
||||
break;
|
||||
|
||||
case WindowEventID.MINIMIZED:
|
||||
window.previous_window_state = window.window_state;
|
||||
window.window_state = OpenTK.WindowState.Minimized;
|
||||
window.window_state = WindowState.Minimized;
|
||||
window.WindowStateChanged(window, EventArgs.Empty);
|
||||
break;
|
||||
|
||||
|
@ -626,13 +648,15 @@ namespace OpenTK.Platform.SDL2
|
|||
{
|
||||
case WindowState.Fullscreen:
|
||||
RestoreWindow();
|
||||
if (SDL.SetWindowFullscreen(window.Handle, (uint)WindowFlags.FULLSCREEN_DESKTOP) < 0)
|
||||
{
|
||||
if (SDL.SetWindowFullscreen(window.Handle, (uint)WindowFlags.FULLSCREEN) < 0)
|
||||
bool success = Sdl2Factory.UseFullscreenDesktop ?
|
||||
SDL.SetWindowFullscreen(window.Handle, (uint)WindowFlags.FULLSCREEN_DESKTOP) < 0 :
|
||||
SDL.SetWindowFullscreen(window.Handle, (uint)WindowFlags.FULLSCREEN) < 0;
|
||||
|
||||
if (!success)
|
||||
{
|
||||
Debug.Print("SDL2 failed to enter fullscreen mode: {0}", SDL.GetError());
|
||||
}
|
||||
}
|
||||
|
||||
SDL.RaiseWindow(window.Handle);
|
||||
// There is no "fullscreen" message in the event loop
|
||||
// so we have to mark that ourselves
|
||||
|
@ -642,11 +666,12 @@ namespace OpenTK.Platform.SDL2
|
|||
case WindowState.Maximized:
|
||||
RestoreWindow();
|
||||
SDL.MaximizeWindow(window.Handle);
|
||||
HideShowWindowHack();
|
||||
window_state = WindowState.Maximized;
|
||||
break;
|
||||
|
||||
case WindowState.Minimized:
|
||||
SDL.MinimizeWindow(window.Handle);
|
||||
window_state = WindowState.Minimized;
|
||||
break;
|
||||
|
||||
case WindowState.Normal:
|
||||
|
|
|
@ -212,7 +212,10 @@ namespace OpenTK.Platform
|
|||
window.Screen = screen;
|
||||
window.Handle = windowHandle;
|
||||
window.RootWindow = rootWindow;
|
||||
if (visualInfo != IntPtr.Zero)
|
||||
{
|
||||
window.VisualInfo = (X11.XVisualInfo)Marshal.PtrToStructure(visualInfo, typeof(X11.XVisualInfo));
|
||||
}
|
||||
|
||||
return window;
|
||||
}
|
||||
|
|
|
@ -787,7 +787,6 @@ namespace OpenTK.Platform.Windows
|
|||
WindowStyle style = (WindowStyle)Functions.GetWindowLong(window.Handle, GetWindowLongOffsets.STYLE);
|
||||
Win32Rectangle rect = Win32Rectangle.From(value);
|
||||
Functions.AdjustWindowRect(ref rect, style, false);
|
||||
Location = new Point(rect.left, rect.top);
|
||||
Size = new Size(rect.Width, rect.Height);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue