diff --git a/OpenTK.sln b/OpenTK.sln index b963956a..462156bc 100644 --- a/OpenTK.sln +++ b/OpenTK.sln @@ -8,6 +8,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Documentation", "Documentat Todo.txt = Todo.txt EndProjectSection EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Source", "Source", "{84C34705-D460-4028-AE58-C32CF210F9BF}" +EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Specifications", "Specifications", "{B23A6DCD-9FE9-4523-95FB-01C8D4631555}" ProjectSection(SolutionItems) = preProject Specifications\cs_types.txt = Specifications\cs_types.txt @@ -19,38 +21,30 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Specifications", "Specifica EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Projects", "Projects", "{E9FF51BB-295E-4891-AA30-D1374F26DCE0}" EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Examples", "Examples", "{C6E60A87-12B4-444A-BE03-7E980EAC0172}" -EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "OpenTK", "OpenTK", "{7E640424-E2CD-4DD5-9392-7A706D73930E}" EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "OpenGL", "OpenGL", "{70FA6EE8-62C6-437F-AD82-117F2D9CDE68}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "OpenGL", "OpenGL", "{2F3FEAD4-0FBD-48CC-AFA0-29FFF28284C2}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "OpenAL", "OpenAL", "{30996477-EDDE-4E45-AB3D-5E466314C755}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Math", "Math", "{84EAC24B-BF87-477C-838D-7110A1A24D41}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Input", "Input", "{4BB769A0-1B69-474E-A99A-B6B9BE1A3A1E}" -EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Platform", "Platform", "{50DCE788-72FC-47E0-A6BD-50BCCE3FCE5B}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DisplayLists", "Source\Examples\OpenGL\DisplayLists\DisplayLists.csproj", "{0D470B2A-C200-4D27-90C1-B691405E4069}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenTK.Platform.Windows", "Source\Platform\Windows\OpenTK.Platform.Windows.csproj", "{FDFA00B6-FA81-4658-86E1-F312EFB42E1C}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TwoContexts", "Source\Examples\OpenGL\TwoContexts\TwoContexts.csproj", "{6CC64414-ADED-4148-9969-B2957DD6377A}" +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Input", "Input", "{4BB769A0-1B69-474E-A99A-B6B9BE1A3A1E}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Window", "Source\Examples\OpenGL\Window\Window.csproj", "{E4CEA249-4014-49CB-AF37-5A303A4A08D1}" +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Math", "Math", "{84EAC24B-BF87-477C-838D-7110A1A24D41}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenTK.OpenGL.Bind", "Source\OpenGL\Bind\OpenTK.OpenGL.Bind.csproj", "{1EDDE592-3923-4898-9006-3D69579E1745}" +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "OpenAL", "OpenAL", "{30996477-EDDE-4E45-AB3D-5E466314C755}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "OpenGL", "OpenGL", "{2F3FEAD4-0FBD-48CC-AFA0-29FFF28284C2}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenTK.OpenGL", "Source\OpenGL\OpenGL\OpenTK.OpenGL.csproj", "{836876D1-0C8D-4240-BEE4-859D9D3D46CB}" ProjectSection(ProjectDependencies) = postProject {FDFA00B6-FA81-4658-86E1-F312EFB42E1C} = {FDFA00B6-FA81-4658-86E1-F312EFB42E1C} EndProjectSection EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenTK.Platform.Windows", "Source\Platform\Windows\OpenTK.Platform.Windows.csproj", "{FDFA00B6-FA81-4658-86E1-F312EFB42E1C}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenTK.OpenGL.Bind", "Source\OpenGL\Bind\OpenTK.OpenGL.Bind.csproj", "{1EDDE592-3923-4898-9006-3D69579E1745}" EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Source", "Source", "{84C34705-D460-4028-AE58-C32CF210F9BF}" +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Examples", "Examples", "{C6E60A87-12B4-444A-BE03-7E980EAC0172}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "OpenGL", "OpenGL", "{70FA6EE8-62C6-437F-AD82-117F2D9CDE68}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GLSL.Lesson01", "Source\Examples\OpenGL\GLSL\Lesson01\GLSL.Lesson01.csproj", "{46980D11-67FA-4B33-903F-BC9D8A4FE60F}" EndProject @@ -60,30 +54,18 @@ Global Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {0D470B2A-C200-4D27-90C1-B691405E4069}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {0D470B2A-C200-4D27-90C1-B691405E4069}.Debug|Any CPU.Build.0 = Debug|Any CPU - {0D470B2A-C200-4D27-90C1-B691405E4069}.Release|Any CPU.ActiveCfg = Release|Any CPU - {0D470B2A-C200-4D27-90C1-B691405E4069}.Release|Any CPU.Build.0 = Release|Any CPU - {6CC64414-ADED-4148-9969-B2957DD6377A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {6CC64414-ADED-4148-9969-B2957DD6377A}.Debug|Any CPU.Build.0 = Debug|Any CPU - {6CC64414-ADED-4148-9969-B2957DD6377A}.Release|Any CPU.ActiveCfg = Release|Any CPU - {6CC64414-ADED-4148-9969-B2957DD6377A}.Release|Any CPU.Build.0 = Release|Any CPU - {E4CEA249-4014-49CB-AF37-5A303A4A08D1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {E4CEA249-4014-49CB-AF37-5A303A4A08D1}.Debug|Any CPU.Build.0 = Debug|Any CPU - {E4CEA249-4014-49CB-AF37-5A303A4A08D1}.Release|Any CPU.ActiveCfg = Release|Any CPU - {E4CEA249-4014-49CB-AF37-5A303A4A08D1}.Release|Any CPU.Build.0 = Release|Any CPU - {1EDDE592-3923-4898-9006-3D69579E1745}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {1EDDE592-3923-4898-9006-3D69579E1745}.Debug|Any CPU.Build.0 = Debug|Any CPU - {1EDDE592-3923-4898-9006-3D69579E1745}.Release|Any CPU.ActiveCfg = Release|Any CPU - {1EDDE592-3923-4898-9006-3D69579E1745}.Release|Any CPU.Build.0 = Release|Any CPU - {836876D1-0C8D-4240-BEE4-859D9D3D46CB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {836876D1-0C8D-4240-BEE4-859D9D3D46CB}.Debug|Any CPU.Build.0 = Debug|Any CPU - {836876D1-0C8D-4240-BEE4-859D9D3D46CB}.Release|Any CPU.ActiveCfg = Release|Any CPU - {836876D1-0C8D-4240-BEE4-859D9D3D46CB}.Release|Any CPU.Build.0 = Release|Any CPU {FDFA00B6-FA81-4658-86E1-F312EFB42E1C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {FDFA00B6-FA81-4658-86E1-F312EFB42E1C}.Debug|Any CPU.Build.0 = Debug|Any CPU {FDFA00B6-FA81-4658-86E1-F312EFB42E1C}.Release|Any CPU.ActiveCfg = Release|Any CPU {FDFA00B6-FA81-4658-86E1-F312EFB42E1C}.Release|Any CPU.Build.0 = Release|Any CPU + {836876D1-0C8D-4240-BEE4-859D9D3D46CB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {836876D1-0C8D-4240-BEE4-859D9D3D46CB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {836876D1-0C8D-4240-BEE4-859D9D3D46CB}.Release|Any CPU.ActiveCfg = Release|Any CPU + {836876D1-0C8D-4240-BEE4-859D9D3D46CB}.Release|Any CPU.Build.0 = Release|Any CPU + {1EDDE592-3923-4898-9006-3D69579E1745}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {1EDDE592-3923-4898-9006-3D69579E1745}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1EDDE592-3923-4898-9006-3D69579E1745}.Release|Any CPU.ActiveCfg = Release|Any CPU + {1EDDE592-3923-4898-9006-3D69579E1745}.Release|Any CPU.Build.0 = Release|Any CPU {46980D11-67FA-4B33-903F-BC9D8A4FE60F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {46980D11-67FA-4B33-903F-BC9D8A4FE60F}.Debug|Any CPU.Build.0 = Debug|Any CPU {46980D11-67FA-4B33-903F-BC9D8A4FE60F}.Release|Any CPU.ActiveCfg = Release|Any CPU @@ -94,20 +76,17 @@ Global EndGlobalSection GlobalSection(NestedProjects) = preSolution {84C34705-D460-4028-AE58-C32CF210F9BF} = {80BD2C66-A90B-42E7-BED8-CBF7BB8C2E3F} - {C6E60A87-12B4-444A-BE03-7E980EAC0172} = {E9FF51BB-295E-4891-AA30-D1374F26DCE0} {7E640424-E2CD-4DD5-9392-7A706D73930E} = {E9FF51BB-295E-4891-AA30-D1374F26DCE0} - {70FA6EE8-62C6-437F-AD82-117F2D9CDE68} = {C6E60A87-12B4-444A-BE03-7E980EAC0172} - {2F3FEAD4-0FBD-48CC-AFA0-29FFF28284C2} = {7E640424-E2CD-4DD5-9392-7A706D73930E} - {30996477-EDDE-4E45-AB3D-5E466314C755} = {7E640424-E2CD-4DD5-9392-7A706D73930E} - {84EAC24B-BF87-477C-838D-7110A1A24D41} = {7E640424-E2CD-4DD5-9392-7A706D73930E} - {4BB769A0-1B69-474E-A99A-B6B9BE1A3A1E} = {7E640424-E2CD-4DD5-9392-7A706D73930E} + {C6E60A87-12B4-444A-BE03-7E980EAC0172} = {E9FF51BB-295E-4891-AA30-D1374F26DCE0} {50DCE788-72FC-47E0-A6BD-50BCCE3FCE5B} = {7E640424-E2CD-4DD5-9392-7A706D73930E} - {0D470B2A-C200-4D27-90C1-B691405E4069} = {70FA6EE8-62C6-437F-AD82-117F2D9CDE68} - {6CC64414-ADED-4148-9969-B2957DD6377A} = {70FA6EE8-62C6-437F-AD82-117F2D9CDE68} - {E4CEA249-4014-49CB-AF37-5A303A4A08D1} = {70FA6EE8-62C6-437F-AD82-117F2D9CDE68} - {46980D11-67FA-4B33-903F-BC9D8A4FE60F} = {70FA6EE8-62C6-437F-AD82-117F2D9CDE68} - {1EDDE592-3923-4898-9006-3D69579E1745} = {2F3FEAD4-0FBD-48CC-AFA0-29FFF28284C2} - {836876D1-0C8D-4240-BEE4-859D9D3D46CB} = {2F3FEAD4-0FBD-48CC-AFA0-29FFF28284C2} + {4BB769A0-1B69-474E-A99A-B6B9BE1A3A1E} = {7E640424-E2CD-4DD5-9392-7A706D73930E} + {84EAC24B-BF87-477C-838D-7110A1A24D41} = {7E640424-E2CD-4DD5-9392-7A706D73930E} + {30996477-EDDE-4E45-AB3D-5E466314C755} = {7E640424-E2CD-4DD5-9392-7A706D73930E} + {2F3FEAD4-0FBD-48CC-AFA0-29FFF28284C2} = {7E640424-E2CD-4DD5-9392-7A706D73930E} {FDFA00B6-FA81-4658-86E1-F312EFB42E1C} = {50DCE788-72FC-47E0-A6BD-50BCCE3FCE5B} + {836876D1-0C8D-4240-BEE4-859D9D3D46CB} = {2F3FEAD4-0FBD-48CC-AFA0-29FFF28284C2} + {1EDDE592-3923-4898-9006-3D69579E1745} = {2F3FEAD4-0FBD-48CC-AFA0-29FFF28284C2} + {70FA6EE8-62C6-437F-AD82-117F2D9CDE68} = {C6E60A87-12B4-444A-BE03-7E980EAC0172} + {46980D11-67FA-4B33-903F-BC9D8A4FE60F} = {70FA6EE8-62C6-437F-AD82-117F2D9CDE68} EndGlobalSection EndGlobal diff --git a/Source/Examples/OpenGL/DisplayLists/DisplayLists.Designer.cs b/Source/Examples/OpenGL/DisplayLists/DisplayLists.Designer.cs deleted file mode 100644 index 97a5707b..00000000 --- a/Source/Examples/OpenGL/DisplayLists/DisplayLists.Designer.cs +++ /dev/null @@ -1,38 +0,0 @@ -namespace OpenTK.OpenGL.Test -{ - partial class DisplayLists - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - this.components = new System.ComponentModel.Container(); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.Text = "Form1"; - } - - #endregion - } -} \ No newline at end of file diff --git a/Source/Examples/OpenGL/DisplayLists/DisplayLists.cs b/Source/Examples/OpenGL/DisplayLists/DisplayLists.cs deleted file mode 100644 index f639fe1e..00000000 --- a/Source/Examples/OpenGL/DisplayLists/DisplayLists.cs +++ /dev/null @@ -1,104 +0,0 @@ -/* Copyright (c) 2006 Stephen Apostolopoulos - * See license.txt for license info - */ - -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Data; -using System.Drawing; -using System.Text; -using System.Windows.Forms; - -namespace OpenTK.OpenGL.Test -{ - public partial class DisplayLists : Form - { - Context context; - int[] lists = new int[2]; - - public DisplayLists() - { - InitializeComponent(); - context = Context.Create(this, 8, 8, 8, 8, 0, 0, false); - } - - protected override void OnLoad(EventArgs e) - { - base.OnLoad(e); - - Text = - GL.GetString(Enums.StringName.VENDOR) + " " + - GL.GetString(Enums.StringName.RENDERER) + " " + - GL.GetString(Enums.StringName.VERSION); - - lists[0] = GL.GenLists(1); - lists[1] = GL.GenLists(1); - - GL.NewList(lists[0], Enums.ListMode.COMPILE); - GL.Begin(Enums.BeginMode.TRIANGLES); - GL.Color3f(1.0f, 0.0f, 0.0f); GL.Vertex3f(-0.5f, -0.5f, 1.0f); - GL.Color3f(0.0f, 1.0f, 0.0f); GL.Vertex3f(0.5f, -0.5f, 1.0f); - GL.Color3f(0.0f, 0.0f, 1.0f); GL.Vertex3f(0.0f, 0.5f, 1.0f); - GL.End(); - GL.EndList(); - - GL.NewList(lists[1], Enums.ListMode.COMPILE); - GL.Begin(Enums.BeginMode.QUADS); - GL.Color3f(0.1f, 0.1f, 0.5f); GL.Vertex3f(-1.0f, -1.0f, 1.0f); - GL.Color3f(1.0f, 1.0f, 1.0f); GL.Vertex3f(-1.0f, -0.5f, 1.0f); - GL.Color3f(1.0f, 0.0f, 0.0f); GL.Vertex3f(-0.5f, -0.5f, 1.0f); - GL.Color3f(0.1f, 0.1f, 0.5f); GL.Vertex3f(-0.5f, -1.0f, 1.0f); - GL.End(); - GL.EndList(); - - GL.ClearColor(0.1f, 0.1f, 0.5f, 0.0f); - - OnResize(e); - } - - protected override void OnResize(EventArgs e) - { - base.OnResize(e); - - if (ClientSize.Height == 0) - ClientSize = new System.Drawing.Size(ClientSize.Width, 1); - - GL.Viewport(0, 0, ClientSize.Width, ClientSize.Height); - - GL.MatrixMode(Enums.MatrixMode.PROJECTION); - GL.LoadIdentity(); - - Glu.Perspective(45.0, ClientSize.Width / (double)ClientSize.Height, 1.0, 64.0); - - GL.MatrixMode(Enums.MatrixMode.MODELVIEW); - GL.LoadIdentity(); - } - - protected override void OnPaint(PaintEventArgs e) - { - base.OnPaint(e); - - GL.MatrixMode(Enums.MatrixMode.MODELVIEW); - GL.LoadIdentity(); - - Glu.LookAt( - 0.0, 0.0, 5.0, - 0.0, 0.0, -1.0, - 0.0, 1.0, 0.0 - ); - - GL.Clear(Enums.ClearBufferMask.COLOR_BUFFER_BIT); - - GL.CallLists(2, Enums.ListNameType.UNSIGNED_INT, lists); - - context.SwapBuffers(); - } - - [STAThread] - static void Main() - { - Application.Run(new DisplayLists()); - } - } -} \ No newline at end of file diff --git a/Source/Examples/OpenGL/DisplayLists/DisplayLists.csproj b/Source/Examples/OpenGL/DisplayLists/DisplayLists.csproj deleted file mode 100644 index cb283f48..00000000 --- a/Source/Examples/OpenGL/DisplayLists/DisplayLists.csproj +++ /dev/null @@ -1,92 +0,0 @@ - - - Debug - AnyCPU - 8.0.50727 - 2.0 - {0D470B2A-C200-4D27-90C1-B691405E4069} - WinExe - Properties - OpenTK.OpenGL.Examples.DisplayLists - OpenTK.OpenGL.Examples.DisplayLists - - - true - full - false - ..\..\..\..\Binaries\Debug\Examples\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - ..\..\..\..\Binaries\Release\Examples\ - TRACE - prompt - 4 - - - - H:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.dll - - - H:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Data.dll - - - H:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Deployment.dll - - - H:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Drawing.dll - - - H:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Windows.Forms.dll - - - H:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.XML.dll - - - - - Form - - - DisplayLists.cs - - - - ResXFileCodeGenerator - Resources.Designer.cs - Designer - - - True - Resources.resx - True - - - SettingsSingleFileGenerator - Settings.Designer.cs - - - True - Settings.settings - True - - - - - {836876D1-0C8D-4240-BEE4-859D9D3D46CB} - OpenTK.OpenGL - - - - - \ No newline at end of file diff --git a/Source/Examples/OpenGL/DisplayLists/Properties/AssemblyInfo.cs b/Source/Examples/OpenGL/DisplayLists/Properties/AssemblyInfo.cs deleted file mode 100644 index 9a7553e4..00000000 --- a/Source/Examples/OpenGL/DisplayLists/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("DisplayLists")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("DisplayLists")] -[assembly: AssemblyCopyright("Copyright © 2006")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("377262fd-fe73-4f2a-846c-987d2e0a980a")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -[assembly: AssemblyVersion("1.0.0.1")] -[assembly: AssemblyFileVersion("1.0.0.1")] diff --git a/Source/Examples/OpenGL/DisplayLists/Properties/Resources.Designer.cs b/Source/Examples/OpenGL/DisplayLists/Properties/Resources.Designer.cs deleted file mode 100644 index 57b2496f..00000000 --- a/Source/Examples/OpenGL/DisplayLists/Properties/Resources.Designer.cs +++ /dev/null @@ -1,63 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:2.0.50727.42 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace OpenTK.OpenGL.Examples.DisplayLists.Properties { - using System; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("OpenTK.OpenGL.Examples.DisplayLists.Properties.Resources", typeof(Resources).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - } -} diff --git a/Source/Examples/OpenGL/DisplayLists/Properties/Resources.resx b/Source/Examples/OpenGL/DisplayLists/Properties/Resources.resx deleted file mode 100644 index ffecec85..00000000 --- a/Source/Examples/OpenGL/DisplayLists/Properties/Resources.resx +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/Source/Examples/OpenGL/DisplayLists/Properties/Settings.Designer.cs b/Source/Examples/OpenGL/DisplayLists/Properties/Settings.Designer.cs deleted file mode 100644 index 7829d846..00000000 --- a/Source/Examples/OpenGL/DisplayLists/Properties/Settings.Designer.cs +++ /dev/null @@ -1,26 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:2.0.50727.42 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace OpenTK.OpenGL.Examples.DisplayLists.Properties { - - - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "8.0.0.0")] - internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { - - private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); - - public static Settings Default { - get { - return defaultInstance; - } - } - } -} diff --git a/Source/Examples/OpenGL/DisplayLists/Properties/Settings.settings b/Source/Examples/OpenGL/DisplayLists/Properties/Settings.settings deleted file mode 100644 index abf36c5d..00000000 --- a/Source/Examples/OpenGL/DisplayLists/Properties/Settings.settings +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/Source/Examples/OpenGL/GLSL/Lesson01/Cube.Designer.cs b/Source/Examples/OpenGL/GLSL/Lesson01/Cube.Designer.cs index 38e0370d..b55c3f25 100644 --- a/Source/Examples/OpenGL/GLSL/Lesson01/Cube.Designer.cs +++ b/Source/Examples/OpenGL/GLSL/Lesson01/Cube.Designer.cs @@ -1,4 +1,4 @@ -namespace Lesson01 +namespace OpenTK.Examples.OpenGL.GLSL { partial class Cube { diff --git a/Source/Examples/OpenGL/GLSL/Lesson01/Cube.cs b/Source/Examples/OpenGL/GLSL/Lesson01/Cube.cs index 13a6bc3b..06ffe4d5 100644 --- a/Source/Examples/OpenGL/GLSL/Lesson01/Cube.cs +++ b/Source/Examples/OpenGL/GLSL/Lesson01/Cube.cs @@ -8,9 +8,9 @@ using System.Windows.Forms; using System.Threading; using OpenTK.OpenGL; -namespace Lesson01 +namespace OpenTK.Examples.OpenGL.GLSL { - public partial class Cube : Form + public partial class Cube : GLForm { #region Shaders string[] vertex_shader = @@ -27,15 +27,13 @@ namespace Lesson01 }; #endregion - Context context; + GLContext context; static float angle; #region Constructor public Cube() { InitializeComponent(); - - Application.Idle += new EventHandler(OnApplicationIdle); } #endregion @@ -44,7 +42,7 @@ namespace Lesson01 { base.OnLoad(e); - context = Context.Create(this, 8, 8, 8, 8, 16, 0, false); + context = GLContext.Create(this, 8, 8, 8, 8, 16, 0, false); Text = GL.GetString(Enums.StringName.VENDOR) + " " + @@ -136,40 +134,6 @@ namespace Lesson01 } #endregion - #region Application main loop - /// - /// Called when all pending messages have been processed, this is where the application 'Main Loop' resides. - /// - /// Not used. - /// Not used. - void OnApplicationIdle(object sender, EventArgs e) - { - // Check if any new messages have popped up. If not, then run the logic at full speed. - while (IsApplicationIdle()) - { - // We'd like to play nice with the scheduler. If the window is not in focus, - // we give back some thread-time to the OS, to allow other apps to function full-speed. - // However, if the window _is_ in focus we grab all processor resources. - if (ActiveForm != this) - Thread.Sleep(100); - OnPaint(null); - } - } - #endregion - - #region IsApplicationIdle - /// - /// Checks if there all pending messages have been processed. - /// - /// Returns true if there are no messages left, false otherwise. - static public bool IsApplicationIdle() - { - //OpenTK.Platform.Windows.Api.MessageStruct msg; - Message msg; - return !OpenTK.Platform.Windows.Api.PeekMessage(out msg, IntPtr.Zero, 0, 0, 0); - } - #endregion - #region DrawCube public void DrawCube() { diff --git a/Source/Examples/OpenGL/GLSL/Lesson01/GLSL.Lesson01.csproj b/Source/Examples/OpenGL/GLSL/Lesson01/GLSL.Lesson01.csproj index 45e9b1f2..7c7237cd 100644 --- a/Source/Examples/OpenGL/GLSL/Lesson01/GLSL.Lesson01.csproj +++ b/Source/Examples/OpenGL/GLSL/Lesson01/GLSL.Lesson01.csproj @@ -7,7 +7,7 @@ {46980D11-67FA-4B33-903F-BC9D8A4FE60F} WinExe Properties - GLSL.Lesson01 + OpenTK.Examples.OpenGL.GLSL GLSL.Lesson01 @@ -78,11 +78,4 @@ - \ No newline at end of file diff --git a/Source/Examples/OpenGL/GLSL/Lesson01/Properties/Resources.Designer.cs b/Source/Examples/OpenGL/GLSL/Lesson01/Properties/Resources.Designer.cs index 64315897..037f9010 100644 --- a/Source/Examples/OpenGL/GLSL/Lesson01/Properties/Resources.Designer.cs +++ b/Source/Examples/OpenGL/GLSL/Lesson01/Properties/Resources.Designer.cs @@ -8,7 +8,7 @@ // //------------------------------------------------------------------------------ -namespace GLSL.Lesson01.Properties { +namespace OpenTK.Examples.OpenGL.GLSL.Properties { using System; @@ -39,7 +39,7 @@ namespace GLSL.Lesson01.Properties { internal static global::System.Resources.ResourceManager ResourceManager { get { if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("GLSL.Lesson01.Properties.Resources", typeof(Resources).Assembly); + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("OpenTK.Examples.OpenGL.GLSL.Properties.Resources", typeof(Resources).Assembly); resourceMan = temp; } return resourceMan; diff --git a/Source/Examples/OpenGL/GLSL/Lesson01/Properties/Settings.Designer.cs b/Source/Examples/OpenGL/GLSL/Lesson01/Properties/Settings.Designer.cs index 1c8c6ba0..50107e85 100644 --- a/Source/Examples/OpenGL/GLSL/Lesson01/Properties/Settings.Designer.cs +++ b/Source/Examples/OpenGL/GLSL/Lesson01/Properties/Settings.Designer.cs @@ -8,7 +8,7 @@ // //------------------------------------------------------------------------------ -namespace GLSL.Lesson01.Properties { +namespace OpenTK.Examples.OpenGL.GLSL.Properties { [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] diff --git a/Source/Examples/OpenGL/TwoContexts/Properties/AssemblyInfo.cs b/Source/Examples/OpenGL/TwoContexts/Properties/AssemblyInfo.cs deleted file mode 100644 index d159d4f5..00000000 --- a/Source/Examples/OpenGL/TwoContexts/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("TwoContexts")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("TwoContexts")] -[assembly: AssemblyCopyright("Copyright © 2006")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("f658d492-480e-49b8-9198-8001df3e576a")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Source/Examples/OpenGL/TwoContexts/Properties/Resources.Designer.cs b/Source/Examples/OpenGL/TwoContexts/Properties/Resources.Designer.cs deleted file mode 100644 index f7275525..00000000 --- a/Source/Examples/OpenGL/TwoContexts/Properties/Resources.Designer.cs +++ /dev/null @@ -1,63 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:2.0.50727.42 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace OpenTK.OpenGL.Examples.TwoContexts.Properties { - using System; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("OpenTK.OpenGL.Examples.TwoContexts.Properties.Resources", typeof(Resources).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - } -} diff --git a/Source/Examples/OpenGL/TwoContexts/Properties/Resources.resx b/Source/Examples/OpenGL/TwoContexts/Properties/Resources.resx deleted file mode 100644 index ffecec85..00000000 --- a/Source/Examples/OpenGL/TwoContexts/Properties/Resources.resx +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/Source/Examples/OpenGL/TwoContexts/Properties/Settings.Designer.cs b/Source/Examples/OpenGL/TwoContexts/Properties/Settings.Designer.cs deleted file mode 100644 index 1e9daa2d..00000000 --- a/Source/Examples/OpenGL/TwoContexts/Properties/Settings.Designer.cs +++ /dev/null @@ -1,26 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:2.0.50727.42 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace OpenTK.OpenGL.Examples.TwoContexts.Properties { - - - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "8.0.0.0")] - internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { - - private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); - - public static Settings Default { - get { - return defaultInstance; - } - } - } -} diff --git a/Source/Examples/OpenGL/TwoContexts/Properties/Settings.settings b/Source/Examples/OpenGL/TwoContexts/Properties/Settings.settings deleted file mode 100644 index abf36c5d..00000000 --- a/Source/Examples/OpenGL/TwoContexts/Properties/Settings.settings +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/Source/Examples/OpenGL/TwoContexts/TwoContexts.Designer.cs b/Source/Examples/OpenGL/TwoContexts/TwoContexts.Designer.cs deleted file mode 100644 index 676e664c..00000000 --- a/Source/Examples/OpenGL/TwoContexts/TwoContexts.Designer.cs +++ /dev/null @@ -1,76 +0,0 @@ -namespace OpenTK.OpenGL.Test -{ - partial class TwoContexts - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - this.panel1 = new System.Windows.Forms.Panel(); - this.panel2 = new System.Windows.Forms.Panel(); - this.SuspendLayout(); - // - // panel1 - // - this.panel1.Location = new System.Drawing.Point(12, 12); - this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(268, 100); - this.panel1.TabIndex = 0; - this.panel1.Resize += new System.EventHandler(this.panel1_Resize); - this.panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.panel1_Paint); - this.panel1.SizeChanged += new System.EventHandler(this.panel1_Resize); - // - // panel2 - // - this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.panel2.Location = new System.Drawing.Point(12, 154); - this.panel2.Name = "panel2"; - this.panel2.Size = new System.Drawing.Size(268, 100); - this.panel2.TabIndex = 1; - this.panel2.Resize += new System.EventHandler(this.panel2_Resize); - this.panel2.Paint += new System.Windows.Forms.PaintEventHandler(this.panel2_Paint); - // - // TwoContexts - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(292, 266); - this.Controls.Add(this.panel2); - this.Controls.Add(this.panel1); - this.Name = "TwoContexts"; - this.Text = "TwoContexts"; - this.ResumeLayout(false); - - } - - #endregion - - private System.Windows.Forms.Panel panel1; - private System.Windows.Forms.Panel panel2; - } -} - diff --git a/Source/Examples/OpenGL/TwoContexts/TwoContexts.cs b/Source/Examples/OpenGL/TwoContexts/TwoContexts.cs deleted file mode 100644 index 311d576e..00000000 --- a/Source/Examples/OpenGL/TwoContexts/TwoContexts.cs +++ /dev/null @@ -1,142 +0,0 @@ -/* Copyright (c) 2006 Stephen Apostolopoulos - * See license.txt for license info - */ - -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Data; -using System.Drawing; -using System.Text; -using System.Windows.Forms; -using OpenTK.OpenGL; - -namespace OpenTK.OpenGL.Test -{ - public partial class TwoContexts : Form - { - Context context1, context2; - - public TwoContexts() - { - InitializeComponent(); - } - - protected override void OnLoad(EventArgs e) - { - base.OnLoad(e); - - context1 = Context.Create(panel1, 8, 8, 8, 8, 0, 0, false); - context2 = Context.Create(panel2, 8, 8, 8, 8, 0, 0, false); - - Text = - GL.GetString(Enums.StringName.VENDOR) + " " + - GL.GetString(Enums.StringName.RENDERER) + " " + - GL.GetString(Enums.StringName.VERSION); - - context1.MakeCurrent(); - GL.ClearColor(0.1f, 0.1f, 0.5f, 0.0f); - - context2.MakeCurrent(); - GL.ClearColor(0.7f, 0.1f, 0.1f, 0.0f); - - panel1_Resize(null, null); - panel2_Resize(null, null); - } - - private void panel1_Paint(object sender, PaintEventArgs e) - { - context1.MakeCurrent(); - - GL.Clear(Enums.ClearBufferMask.COLOR_BUFFER_BIT); - - GL.MatrixMode(Enums.MatrixMode.MODELVIEW); - GL.LoadIdentity(); - Glu.LookAt( - 0.0, 0.0, 5.0, - 0.0, 0.0, -1.0, - 0.0, 1.0, 0.0 - ); - - GL.Begin(Enums.BeginMode.TRIANGLES); - - GL.Color3f(1.0f, 0.0f, 0.0f); GL.Vertex3f(-1.0f, -1.0f, -5.0f); - GL.Color3f(0.0f, 0.0f, 1.0f); GL.Vertex3f( 1.0f, 1.0f, -5.0f); - GL.Color3f(0.0f, 1.0f, 0.0f); GL.Vertex3f(-1.0f, 1.0f, -5.0f); - - GL.End(); - - context1.SwapBuffers(); - } - - private void panel1_Resize(object sender, EventArgs e) - { - context1.MakeCurrent(); - - if (panel1.ClientSize.Height == 0) - panel1.ClientSize = new System.Drawing.Size(panel1.ClientSize.Width, 1); - - GL.Viewport(0, 0, panel1.ClientSize.Width, panel1.ClientSize.Height); - - GL.MatrixMode(Enums.MatrixMode.PROJECTION); - GL.LoadIdentity(); - - Glu.Perspective(45.0, panel1.ClientSize.Width / (double)panel1.ClientSize.Height, 1.0, 64.0); - - GL.MatrixMode(Enums.MatrixMode.MODELVIEW); - GL.LoadIdentity(); - } - - private void panel2_Paint(object sender, PaintEventArgs e) - { - context2.MakeCurrent(); - - GL.Clear(Enums.ClearBufferMask.COLOR_BUFFER_BIT); - - GL.MatrixMode(Enums.MatrixMode.MODELVIEW); - GL.LoadIdentity(); - Glu.LookAt( - 0.0, 0.0, 5.0, - 0.0, 0.0, -1.0, - 0.0, 1.0, 0.0 - ); - - GL.Begin(Enums.BeginMode.TRIANGLES); - - GL.Color3f(1.0f, 0.0f, 0.0f); GL.Vertex3f(-1.0f, -1.0f, -5.0f); - GL.Color3f(0.0f, 0.0f, 1.0f); GL.Vertex3f(1.0f, 1.0f, -5.0f); - GL.Color3f(0.0f, 1.0f, 0.0f); GL.Vertex3f(-1.0f, 1.0f, -5.0f); - - GL.End(); - - context2.SwapBuffers(); - } - - private void panel2_Resize(object sender, EventArgs e) - { - context2.MakeCurrent(); - - if (panel2.ClientSize.Height == 0) - panel2.ClientSize = new System.Drawing.Size(panel2.ClientSize.Width, 1); - - GL.Viewport(0, 0, panel2.ClientSize.Width, panel2.ClientSize.Height); - - GL.MatrixMode(Enums.MatrixMode.PROJECTION); - GL.LoadIdentity(); - - Glu.Perspective(45.0, panel2.ClientSize.Width / (double)panel2.ClientSize.Height, 1.0, 64.0); - - GL.MatrixMode(Enums.MatrixMode.MODELVIEW); - GL.LoadIdentity(); - } - - /// - /// The main entry point for the application. - /// - [STAThread] - static void Main() - { - Application.Run(new TwoContexts()); - } - } -} \ No newline at end of file diff --git a/Source/Examples/OpenGL/TwoContexts/TwoContexts.csproj b/Source/Examples/OpenGL/TwoContexts/TwoContexts.csproj deleted file mode 100644 index f859063f..00000000 --- a/Source/Examples/OpenGL/TwoContexts/TwoContexts.csproj +++ /dev/null @@ -1,96 +0,0 @@ - - - Debug - AnyCPU - 8.0.50727 - 2.0 - {6CC64414-ADED-4148-9969-B2957DD6377A} - WinExe - Properties - OpenTK.OpenGL.Examples.TwoContexts - OpenTK.OpenGL.Examples.TwoContexts - - - true - full - false - ..\..\..\..\Binaries\Debug\Examples\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - ..\..\..\..\Binaries\Release\Examples\ - TRACE - prompt - 4 - - - - H:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.dll - - - H:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Data.dll - - - H:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Deployment.dll - - - H:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Drawing.dll - - - H:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Windows.Forms.dll - - - H:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.XML.dll - - - - - Form - - - TwoContexts.cs - - - - ResXFileCodeGenerator - Resources.Designer.cs - Designer - - - Designer - TwoContexts.cs - - - True - Resources.resx - True - - - SettingsSingleFileGenerator - Settings.Designer.cs - - - True - Settings.settings - True - - - - - {836876D1-0C8D-4240-BEE4-859D9D3D46CB} - OpenTK.OpenGL - - - - - \ No newline at end of file diff --git a/Source/Examples/OpenGL/TwoContexts/TwoContexts.resx b/Source/Examples/OpenGL/TwoContexts/TwoContexts.resx deleted file mode 100644 index ff31a6db..00000000 --- a/Source/Examples/OpenGL/TwoContexts/TwoContexts.resx +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/Source/Examples/OpenGL/Window/Program.cs b/Source/Examples/OpenGL/Window/Program.cs deleted file mode 100644 index db244c32..00000000 --- a/Source/Examples/OpenGL/Window/Program.cs +++ /dev/null @@ -1,97 +0,0 @@ -/* Copyright (c) 2006 Stephen Apostolopoulos - * See license.txt for license info - */ - -using System; -using System.Collections.Generic; -using System.Windows.Forms; -using System.Drawing; -using System.Threading; -using OpenTK.OpenGL; - -namespace Test -{ - class Program : Form - { - public Context context; - - Program() - { - context = Context.Create(this, 8, 8, 8, 8, 0, 0, false); - //this.Text = - // GL.GetString(Enums.StringName.VENDOR) + " " + - // GL.GetString(Enums.StringName.RENDERER) + " " + - // GL.GetString(Enums.StringName.VERSION); - Text = Width.ToString() + "x" + Height.ToString(); - this.CenterToScreen(); - this.ResizeRedraw = true; - } - - protected override void OnResize(EventArgs e) - { - System.Drawing.Size size = ClientSize; - - if (size.Height == 0) - size.Height = 1; - - // Set the viewport to be the entire window - GL.Viewport(0, 0, size.Width, size.Height); - - GL.MatrixMode(Enums.MatrixMode.PROJECTION); - GL.LoadIdentity(); - Glu.Perspective(45.0, (double)size.Width / (double)size.Height, 1.0, 20.0); - - GL.MatrixMode(Enums.MatrixMode.MODELVIEW); - GL.LoadIdentity(); - Glu.LookAt( 0.0, 0.0, -5.0, - 0.0, 0.0, 1.0, - 0.0, 1.0, 0.0 ); - - Text = "Size: " + size.Width.ToString() + "x" + size.Height.ToString(); - - ClientSize = size; - - base.OnResize(e); - } - - protected override void OnPaint(PaintEventArgs e) - { - GL.Clear(Enums.ClearBufferMask.COLOR_BUFFER_BIT); - - GL.PushMatrix(); - - GL.Begin(Enums.BeginMode.TRIANGLES); - - GL.Color3f(1.0f, 0.0f, 0.0f); GL.Vertex3f(-0.5f, -0.5f, 5.0f); - GL.Color3f(0.0f, 1.0f, 0.0f); GL.Vertex3f( 0.5f, -0.5f, 5.0f); - GL.Color3f(0.0f, 0.0f, 1.0f); GL.Vertex3f( 0.0f, 0.5f, 5.0f); - - GL.End(); - - GL.PopMatrix(); - - context.SwapBuffers(); - - base.OnPaint(e); - } - - [STAThread] - static void Main() - { - Thread.Sleep(100); - Application.Run(new Program()); - } - - private void InitializeComponent() - { - this.SuspendLayout(); - // - // Program - // - this.ClientSize = new System.Drawing.Size(632, 446); - this.Name = "Program"; - this.ResumeLayout(false); - - } - } -} \ No newline at end of file diff --git a/Source/Examples/OpenGL/Window/Program.resx b/Source/Examples/OpenGL/Window/Program.resx deleted file mode 100644 index ff31a6db..00000000 --- a/Source/Examples/OpenGL/Window/Program.resx +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/Source/Examples/OpenGL/Window/Properties/AssemblyInfo.cs b/Source/Examples/OpenGL/Window/Properties/AssemblyInfo.cs deleted file mode 100644 index b1375cdd..00000000 --- a/Source/Examples/OpenGL/Window/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Window")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Window")] -[assembly: AssemblyCopyright("Copyright © 2006")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("24d8672e-23eb-48d2-9733-545e9f2148bc")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Source/Examples/OpenGL/Window/Properties/Resources.Designer.cs b/Source/Examples/OpenGL/Window/Properties/Resources.Designer.cs deleted file mode 100644 index 69cc76f4..00000000 --- a/Source/Examples/OpenGL/Window/Properties/Resources.Designer.cs +++ /dev/null @@ -1,63 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:2.0.50727.42 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace OpenTK.OpenGL.Examples.Window.Properties { - using System; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("OpenTK.OpenGL.Examples.Window.Properties.Resources", typeof(Resources).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - } -} diff --git a/Source/Examples/OpenGL/Window/Properties/Resources.resx b/Source/Examples/OpenGL/Window/Properties/Resources.resx deleted file mode 100644 index ffecec85..00000000 --- a/Source/Examples/OpenGL/Window/Properties/Resources.resx +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/Source/Examples/OpenGL/Window/Properties/Settings.Designer.cs b/Source/Examples/OpenGL/Window/Properties/Settings.Designer.cs deleted file mode 100644 index 5bab196d..00000000 --- a/Source/Examples/OpenGL/Window/Properties/Settings.Designer.cs +++ /dev/null @@ -1,26 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:2.0.50727.42 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace OpenTK.OpenGL.Examples.Window.Properties { - - - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "8.0.0.0")] - internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { - - private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); - - public static Settings Default { - get { - return defaultInstance; - } - } - } -} diff --git a/Source/Examples/OpenGL/Window/Properties/Settings.settings b/Source/Examples/OpenGL/Window/Properties/Settings.settings deleted file mode 100644 index abf36c5d..00000000 --- a/Source/Examples/OpenGL/Window/Properties/Settings.settings +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/Source/Examples/OpenGL/Window/Window.Designer.cs b/Source/Examples/OpenGL/Window/Window.Designer.cs deleted file mode 100644 index b3e935fb..00000000 --- a/Source/Examples/OpenGL/Window/Window.Designer.cs +++ /dev/null @@ -1,38 +0,0 @@ -namespace OpenTK.OpenGL.Test -{ - partial class Window - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - this.components = new System.ComponentModel.Container(); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.Text = "GLForm"; - } - - #endregion - } -} \ No newline at end of file diff --git a/Source/Examples/OpenGL/Window/Window.cs b/Source/Examples/OpenGL/Window/Window.cs deleted file mode 100644 index 3b73f1a0..00000000 --- a/Source/Examples/OpenGL/Window/Window.cs +++ /dev/null @@ -1,86 +0,0 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Data; -using System.Drawing; -using System.Text; -using System.Windows.Forms; -using OpenTK.OpenGL; - - -namespace OpenTK.OpenGL.Test -{ - public partial class Window : Form - { - public Context context; - - public Window() - { - InitializeComponent(); - context = Context.Create(this, 8, 8, 8, 8, 16, 0, false); - } - - protected override void OnLoad(EventArgs e) - { - base.OnLoad(e); - - Text = - GL.GetString(Enums.StringName.VENDOR) + " " + - GL.GetString(Enums.StringName.RENDERER) + " " + - GL.GetString(Enums.StringName.VERSION); - - GL.ClearColor(0.1f, 0.1f, 0.5f, 0.0f); - - OnResize(e); - } - - protected override void OnResize(EventArgs e) - { - base.OnResize(e); - - if (ClientSize.Height == 0) - ClientSize = new System.Drawing.Size(ClientSize.Width, 1); - - GL.Viewport(0, 0, ClientSize.Width, ClientSize.Height); - - GL.MatrixMode(Enums.MatrixMode.PROJECTION); - GL.LoadIdentity(); - - Glu.Perspective(45.0, ClientSize.Width / (double)ClientSize.Height, 1.0, 64.0); - - GL.MatrixMode(Enums.MatrixMode.MODELVIEW); - GL.LoadIdentity(); - } - - protected override void OnPaint(PaintEventArgs e) - { - base.OnPaint(e); - - GL.MatrixMode(Enums.MatrixMode.MODELVIEW); - GL.LoadIdentity(); - Glu.LookAt( - 0.0, 0.0, 5.0, - 0.0, 0.0, -1.0, - 0.0, 1.0, 0.0 - ); - - GL.Clear(Enums.ClearBufferMask.COLOR_BUFFER_BIT); - - GL.Begin(Enums.BeginMode.TRIANGLES); - - GL.Color3f(1.0f, 0.0f, 0.0f); GL.Vertex3i(-1, -1, 1); - GL.Color3f(0.0f, 0.0f, 1.0f); GL.Vertex3i(1, -1, 1); - GL.Color3f(0.0f, 1.0f, 0.0f); GL.Vertex3i(1, 1, 1); - - GL.End(); - - context.SwapBuffers(); - } - - [STAThread] - static void Main() - { - Application.Run(new Window()); - } - } -} \ No newline at end of file diff --git a/Source/Examples/OpenGL/Window/Window.csproj b/Source/Examples/OpenGL/Window/Window.csproj deleted file mode 100644 index bb3f696d..00000000 --- a/Source/Examples/OpenGL/Window/Window.csproj +++ /dev/null @@ -1,92 +0,0 @@ - - - Debug - AnyCPU - 8.0.50727 - 2.0 - {E4CEA249-4014-49CB-AF37-5A303A4A08D1} - WinExe - Properties - OpenTK.OpenGL.Examples.Window - OpenTK.OpenGL.Examples.Window - - - true - full - false - ..\..\..\..\Binaries\Debug\Examples\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - ..\..\..\..\Binaries\Release\Examples\ - TRACE - prompt - 4 - - - - H:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.dll - - - H:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Data.dll - - - H:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Deployment.dll - - - H:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Drawing.dll - - - H:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Windows.Forms.dll - - - H:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.XML.dll - - - - - Form - - - Window.cs - - - - ResXFileCodeGenerator - Resources.Designer.cs - Designer - - - True - Resources.resx - True - - - SettingsSingleFileGenerator - Settings.Designer.cs - - - True - Settings.settings - True - - - - - {836876D1-0C8D-4240-BEE4-859D9D3D46CB} - OpenTK.OpenGL - - - - - \ No newline at end of file diff --git a/Source/Examples/OpenGL/Window/Window.resx b/Source/Examples/OpenGL/Window/Window.resx deleted file mode 100644 index ff31a6db..00000000 --- a/Source/Examples/OpenGL/Window/Window.resx +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/Source/OpenGL/Bind/Main.cs b/Source/OpenGL/Bind/Main.cs index 8d52fe86..3b38c943 100644 --- a/Source/OpenGL/Bind/Main.cs +++ b/Source/OpenGL/Bind/Main.cs @@ -1,6 +1,7 @@ -/* Copyright (c) 2006 Stephen Apostolopoulos - * See license.txt for license info - */ +#region License +//Copyright (c) 2006 Stephen Apostolopoulos +//See license.txt for license info +#endregion using System; using System.Text; diff --git a/Source/OpenGL/Bind/OpenTK.OpenGL.Bind.csproj b/Source/OpenGL/Bind/OpenTK.OpenGL.Bind.csproj index 7514466d..d59a52b6 100644 --- a/Source/OpenGL/Bind/OpenTK.OpenGL.Bind.csproj +++ b/Source/OpenGL/Bind/OpenTK.OpenGL.Bind.csproj @@ -1,5 +1,4 @@ - - + Debug AnyCPU @@ -11,6 +10,7 @@ OpenTK.OpenGL.Bind OpenTK.OpenGL.Bind OnBuildSuccess + $(TargetName) true @@ -20,8 +20,6 @@ DEBUG;TRACE prompt 4 - - pdbonly @@ -30,33 +28,6 @@ TRACE prompt 4 - - - - - - - - - - - - - - - - - - - - - $(TargetName) @@ -73,4 +44,22 @@ H:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.XML.dll + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Source/OpenGL/Bind/OpenTK.OpenGL.Bind.csproj.user b/Source/OpenGL/Bind/OpenTK.OpenGL.Bind.csproj.user index 9c0b2d97..aa75a3df 100644 --- a/Source/OpenGL/Bind/OpenTK.OpenGL.Bind.csproj.user +++ b/Source/OpenGL/Bind/OpenTK.OpenGL.Bind.csproj.user @@ -1,14 +1,6 @@  publish\ - - - - - - - - 0 en-US false diff --git a/Source/OpenGL/Bind/Properties/AssemblyInfo.cs b/Source/OpenGL/Bind/Properties/AssemblyInfo.cs index dff291b0..2be93044 100644 --- a/Source/OpenGL/Bind/Properties/AssemblyInfo.cs +++ b/Source/OpenGL/Bind/Properties/AssemblyInfo.cs @@ -29,5 +29,5 @@ using System.Runtime.InteropServices; // Build Number // Revision // -[assembly: AssemblyVersion("0.7.5.0")] -[assembly: AssemblyFileVersion("0.7.5.0")] +[assembly: AssemblyVersion("0.7.5.1")] +[assembly: AssemblyFileVersion("0.7.5.1")] diff --git a/Source/OpenGL/Bind/ReadSpecs.cs b/Source/OpenGL/Bind/ReadSpecs.cs index 5cae9a14..ee711c43 100644 --- a/Source/OpenGL/Bind/ReadSpecs.cs +++ b/Source/OpenGL/Bind/ReadSpecs.cs @@ -1,6 +1,7 @@ -/* Copyright (c) 2006 Stephen Apostolopoulos - * See license.txt for license info - */ +#region License +//Copyright (c) 2006 Stephen Apostolopoulos +//See license.txt for license info +#endregion using System; using System.Collections.Generic; @@ -13,7 +14,6 @@ namespace OpenTK.OpenGL.Bind static class SpecReader { #region Read function specs - public static List ReadFunctionSpecs(string file) { List functions = new List(); @@ -125,89 +125,9 @@ namespace OpenTK.OpenGL.Bind return functions; } - - #endregion - - #region Read constant specs - [Obsolete] - public static List ReadConstantSpecs(string file) - { - List constants = new List(); - - string path = Path.Combine(Settings.InputPath, file); - StreamReader sr; - - try - { - sr = new StreamReader(path); - } - catch (Exception) - { - Console.WriteLine("Error opening spec file: {0}", path); - return null; - } - Console.WriteLine("Reading constant specs from file: {0}", file); - - do - { - string line = sr.ReadLine().Trim(); - - if (String.IsNullOrEmpty(line) || - line.StartsWith("#") || // Disregard comments. - line.StartsWith("passthru") || // Disregard passthru statements. - line.StartsWith("required-props:") || - line.StartsWith("param:") || - line.StartsWith("dlflags:") || - line.StartsWith("glxflags:") || - line.StartsWith("vectorequiv:") || - line.StartsWith("category:") || - line.StartsWith("version:") || - line.StartsWith("glxsingle:") || - line.StartsWith("glxropcode:") || - line.StartsWith("glxvendorpriv:") || - line.StartsWith("glsflags:") || - line.StartsWith("glsopcode:") || - line.StartsWith("glsalias:") || - line.StartsWith("wglflags:") || - line.StartsWith("extension:") || - line.StartsWith("alias:") || - line.StartsWith("offset:") || - line.Contains("enum:")) - continue; - - line = line.Replace('\t', ' '); - - string[] words = line.Split(Translation.Separators, StringSplitOptions.RemoveEmptyEntries); - if (words.Length == 0) - continue; - - Constant c = new Constant(); - if (line.Contains("=")) - { - c.Name = words[0]; - c.Value = words[2]; - } - - if (!String.IsNullOrEmpty(c.Name) && !ListContainsConstant(constants, c)) - constants.Add(c); - } - while (!sr.EndOfStream); - - return constants; - } - - public static bool ListContainsConstant(List constants, Constant c) - { - foreach (Constant d in constants) - if (d.Name == c.Name) - return true; - return false; - } - #endregion #region Read enum specs - public static Hashtable ReadEnumSpecs(string file) { Hashtable enums = new Hashtable(); @@ -315,11 +235,9 @@ namespace OpenTK.OpenGL.Bind return enums; } - #endregion #region Read type map - public static Dictionary ReadTypeMap(string file) { Dictionary map = new Dictionary(); @@ -360,7 +278,6 @@ namespace OpenTK.OpenGL.Bind return map; } - #endregion } } diff --git a/Source/OpenGL/Bind/Settings.cs b/Source/OpenGL/Bind/Settings.cs index 4c0bf685..f741614c 100644 --- a/Source/OpenGL/Bind/Settings.cs +++ b/Source/OpenGL/Bind/Settings.cs @@ -1,6 +1,7 @@ -/* Copyright (c) 2006 Stephen Apostolopoulos - * See license.txt for license info - */ +#region License +//Copyright (c) 2006 Stephen Apostolopoulos +//See license.txt for license info +#endregion using System; using System.Collections.Generic; diff --git a/Source/OpenGL/Bind/Structures/Constant.cs b/Source/OpenGL/Bind/Structures/Constant.cs index 75f5183a..67fae7a6 100644 --- a/Source/OpenGL/Bind/Structures/Constant.cs +++ b/Source/OpenGL/Bind/Structures/Constant.cs @@ -1,6 +1,7 @@ -/* Copyright (c) 2006 Stephen Apostolopoulos - * See license.txt for license info - */ +#region License +//Copyright (c) 2006 Stephen Apostolopoulos +//See license.txt for license info +#endregion using System; using System.Collections.Generic; diff --git a/Source/OpenGL/Bind/Structures/Enum.cs b/Source/OpenGL/Bind/Structures/Enum.cs index f9f1df63..ab23ef4e 100644 --- a/Source/OpenGL/Bind/Structures/Enum.cs +++ b/Source/OpenGL/Bind/Structures/Enum.cs @@ -1,6 +1,7 @@ -/* Copyright (c) 2006 Stephen Apostolopoulos - * See license.txt for license info - */ +#region License +//Copyright (c) 2006 Stephen Apostolopoulos +//See license.txt for license info +#endregion using System; using System.Collections.Generic; diff --git a/Source/OpenGL/Bind/Structures/Function.cs b/Source/OpenGL/Bind/Structures/Function.cs index ed9f78fc..53d6bcdc 100644 --- a/Source/OpenGL/Bind/Structures/Function.cs +++ b/Source/OpenGL/Bind/Structures/Function.cs @@ -1,6 +1,7 @@ -/* Copyright (c) 2006 Stephen Apostolopoulos - * See license.txt for license info - */ +#region License +//Copyright (c) 2006 Stephen Apostolopoulos +//See license.txt for license info +#endregion using System; using System.Collections.Generic; diff --git a/Source/OpenGL/Bind/Structures/Parameter.cs b/Source/OpenGL/Bind/Structures/Parameter.cs index 66b9e6a7..854f413f 100644 --- a/Source/OpenGL/Bind/Structures/Parameter.cs +++ b/Source/OpenGL/Bind/Structures/Parameter.cs @@ -1,3 +1,8 @@ +#region License +//Copyright (c) 2006 Stephen Apostolopoulos +//See license.txt for license info +#endregion + using System; using System.Collections.Generic; using System.Text; diff --git a/Source/OpenGL/Bind/Structures/ParameterCollection.cs b/Source/OpenGL/Bind/Structures/ParameterCollection.cs index 3eb35cb9..9edb34f9 100644 --- a/Source/OpenGL/Bind/Structures/ParameterCollection.cs +++ b/Source/OpenGL/Bind/Structures/ParameterCollection.cs @@ -1,6 +1,7 @@ -/* Copyright (c) 2006 Stephen Apostolopoulos - * See license.txt for license info - */ +#region License +//Copyright (c) 2006 Stephen Apostolopoulos +//See license.txt for license info +#endregion using System; using System.Collections.Generic; diff --git a/Source/OpenGL/Bind/TranslateSpecs.cs b/Source/OpenGL/Bind/TranslateSpecs.cs index 29908c20..fce3e248 100644 --- a/Source/OpenGL/Bind/TranslateSpecs.cs +++ b/Source/OpenGL/Bind/TranslateSpecs.cs @@ -1,6 +1,7 @@ -/* Copyright (c) 2006 Stephen Apostolopoulos - * See license.txt for license info - */ +#region License +//Copyright (c) 2006 Stephen Apostolopoulos +//See license.txt for license info +#endregion using System; using System.Collections.Generic; @@ -9,6 +10,7 @@ using System.Collections; namespace OpenTK.OpenGL.Bind { + #region WrapperTypes enum public enum WrapperTypes { None, @@ -20,6 +22,7 @@ namespace OpenTK.OpenGL.Bind ReturnsString, ReturnsVoidPointer, } + #endregion static class Translation { @@ -230,7 +233,6 @@ namespace OpenTK.OpenGL.Bind #endregion #region Translate parameters - private static void TranslateParameters(Function f, Hashtable enums) { string s; @@ -248,7 +250,8 @@ namespace OpenTK.OpenGL.Bind } else if (p.Type == "GLenum") { - p.Type = "Enums." + f.Category; + if (enums.ContainsKey(f.Category)) + p.Type = "Enums." + f.Category; } else if (GLtypes.TryGetValue(p.Type, out s)) p.Type = s; @@ -299,7 +302,6 @@ namespace OpenTK.OpenGL.Bind //} } } - #endregion #region Generate wrappers @@ -320,7 +322,6 @@ namespace OpenTK.OpenGL.Bind #endregion #region Translate enums - public static void TranslateEnums(System.Collections.Hashtable enums) { foreach (Enum e in enums.Values) @@ -341,7 +342,6 @@ namespace OpenTK.OpenGL.Bind } } } - #endregion } } diff --git a/Source/OpenGL/Bind/WriteContexts.cs b/Source/OpenGL/Bind/WriteContexts.cs index 60294873..6c3bcdd3 100644 --- a/Source/OpenGL/Bind/WriteContexts.cs +++ b/Source/OpenGL/Bind/WriteContexts.cs @@ -1,3 +1,8 @@ +#region License +//Copyright (c) 2006 Stephen Apostolopoulos +//See license.txt for license info +#endregion + using System; using System.Collections.Generic; using System.Text; @@ -8,10 +13,9 @@ namespace OpenTK.OpenGL.Bind static class ContextWriter { #region Write main context - public static void WriteMainContext(string output_path, List functions) { - string filename = Path.Combine(output_path, "ContextLoad.cs"); + string filename = Path.Combine(output_path, "GLContextLoad.cs"); if (!Directory.Exists(Settings.OutputPath)) Directory.CreateDirectory(Settings.OutputPath); @@ -27,7 +31,7 @@ namespace OpenTK.OpenGL.Bind sw.WriteLine(); sw.WriteLine("namespace {0}", Settings.OutputNamespace); sw.WriteLine("{"); - sw.WriteLine(" public abstract partial class Context"); + sw.WriteLine(" public abstract partial class GLContext"); sw.WriteLine(" {"); sw.WriteLine(" #region OpenGL function loading"); @@ -49,9 +53,9 @@ namespace OpenTK.OpenGL.Bind sw.Flush(); sw.Close(); } - #endregion + #region WriteDerivedContext public static void WriteDerivedContext(string output_path, string class_name, List functions, params string[] import_list) { string filename = Path.Combine(output_path, class_name + "Load.cs"); @@ -94,6 +98,7 @@ namespace OpenTK.OpenGL.Bind sw.Flush(); sw.Close(); } + #endregion #region IsImport private static bool IsImportFunction(Function f, string[] import_list) diff --git a/Source/OpenGL/Bind/WriteSpecs.cs b/Source/OpenGL/Bind/WriteSpecs.cs index 339b7428..8d5684bb 100644 --- a/Source/OpenGL/Bind/WriteSpecs.cs +++ b/Source/OpenGL/Bind/WriteSpecs.cs @@ -1,10 +1,11 @@ +#region License +//Copyright (c) 2006 Stephen Apostolopoulos +//See license.txt for license info +#endregion + using System; using System.Collections.Generic; using System.Text; -/* Copyright (c) 2006 Stephen Apostolopoulos - * See license.txt for license info - */ - using System.IO; using System.Runtime.InteropServices; using System.Collections; @@ -14,7 +15,6 @@ namespace OpenTK.OpenGL.Bind static partial class SpecWriter { #region WriteSpecs - public static void WriteSpecs(string output_path, List functions, List wrappers, Hashtable enums) { string filename = Path.Combine(output_path, Settings.OutputClass + ".cs"); @@ -53,12 +53,18 @@ namespace OpenTK.OpenGL.Bind sw.Flush(); sw.Close(); } - #endregion + #region WriteLicense public static void WriteLicense(StreamWriter sw) { + sw.WriteLine("#region License"); + sw.WriteLine("//Copyright (c) 2006 Stephen Apostolopoulos"); + sw.WriteLine("//See license.txt for license info"); + sw.WriteLine("#endregion"); + sw.WriteLine(); } + #endregion #region WriteTypes private static void WriteTypes(StreamWriter sw) @@ -167,7 +173,7 @@ namespace OpenTK.OpenGL.Bind { if (!f.Extension) { - sw.WriteLine(" [DllImport(\"opengl32\", EntryPoint = \"gl{0}\")]", f.Name.TrimEnd('_')); + sw.WriteLine(" [DllImport(\"opengl32.dll\", EntryPoint = \"gl{0}\")]", f.Name.TrimEnd('_')); sw.WriteLine(" public static extern {0};", f.ToString()); } } @@ -195,7 +201,6 @@ namespace OpenTK.OpenGL.Bind #endregion #region Write wrappers - public static void WriteWrappers(StreamWriter sw, List wrappers) { sw.WriteLine(" #region Wrappers"); diff --git a/Source/OpenGL/Bind/changelog.txt b/Source/OpenGL/Bind/changelog.txt new file mode 100644 index 00000000..6ece7f5d --- /dev/null +++ b/Source/OpenGL/Bind/changelog.txt @@ -0,0 +1,14 @@ +OpenTK.OpenGL.Bind 0.7.5 -> 0.7.5.1 ++ Added license information to the generated bindings. ++ Changed the name of the main Context class to GLContext (Context is used in the BCL). + +OpenTK.OpenGL.Bind 0.7.4 -> 0.7.5 ++ Added wrappers for all functions that accept arrays. Permitted parameters for these are: an array of the original type (e.g. float[]), an IntPtr (if you manage memory yourself), or any blittable type (e.g. float[,,]). No type checking is done in the last case, so be careful! ++ Updated the wrappers for all functions that accept or return void pointers. Permitted parameters for these are: an IntPtr or any blittable type (type checking is turned off, so be extra careful!) ++ Aliased the GLbool type to int. It is hacky, but the examples bundled with Tao rely on this... ++ Added a wrapper for glLineStipple. Now you can pass an int to it, but only the last 16 bits will be used for the stipple (as per the function specification). This was the only way to avoid aliasing the parameter to ushort (non-CLS compatible) or having the user write unchecked((short)0x....) every time he used the function. ++ Added the WrapperType enum. Every function has a Property that indicates the wrapper it will need. This cleans up the WriteWrappers function somewhat. ++ Added the PreviousType property to the Function class. This is used when generating wrappers for functions with type-checked arrays (e.g. float[] arrays etc). ++ Corrected some type aliases in cs_types.txt ++ Added the missing wrappers for glReadPixels! (this falls in the out void array). ++ A missing enum now defaults to Enum.[Function category] (a new property was added to the Function class and the SpecReader.ReadFunctions function was modified). I should test this to see if it works ok. \ No newline at end of file diff --git a/Source/OpenGL/OpenGL/Bindings/ContextLoad.cs b/Source/OpenGL/OpenGL/Bindings/ContextLoad.cs deleted file mode 100644 index d0fffd73..00000000 --- a/Source/OpenGL/OpenGL/Bindings/ContextLoad.cs +++ /dev/null @@ -1,1438 +0,0 @@ -using System; -using System.Runtime.InteropServices; - -namespace OpenTK.OpenGL -{ - public abstract partial class Context - { - #region OpenGL function loading - - public virtual void Load() - { - GL.NewList = (GL.Delegates.NewList)GetAddress("glNewList", typeof(GL.Delegates.NewList)); - GL.EndList = (GL.Delegates.EndList)GetAddress("glEndList", typeof(GL.Delegates.EndList)); - GL.CallList = (GL.Delegates.CallList)GetAddress("glCallList", typeof(GL.Delegates.CallList)); - GL.CallLists_ = (GL.Delegates.CallLists_)GetAddress("glCallLists", typeof(GL.Delegates.CallLists_)); - GL.DeleteLists = (GL.Delegates.DeleteLists)GetAddress("glDeleteLists", typeof(GL.Delegates.DeleteLists)); - GL.GenLists = (GL.Delegates.GenLists)GetAddress("glGenLists", typeof(GL.Delegates.GenLists)); - GL.ListBase = (GL.Delegates.ListBase)GetAddress("glListBase", typeof(GL.Delegates.ListBase)); - GL.Begin = (GL.Delegates.Begin)GetAddress("glBegin", typeof(GL.Delegates.Begin)); - GL.Bitmap_ = (GL.Delegates.Bitmap_)GetAddress("glBitmap", typeof(GL.Delegates.Bitmap_)); - GL.Color3b = (GL.Delegates.Color3b)GetAddress("glColor3b", typeof(GL.Delegates.Color3b)); - GL.Color3bv_ = (GL.Delegates.Color3bv_)GetAddress("glColor3bv", typeof(GL.Delegates.Color3bv_)); - GL.Color3d = (GL.Delegates.Color3d)GetAddress("glColor3d", typeof(GL.Delegates.Color3d)); - GL.Color3dv_ = (GL.Delegates.Color3dv_)GetAddress("glColor3dv", typeof(GL.Delegates.Color3dv_)); - GL.Color3f = (GL.Delegates.Color3f)GetAddress("glColor3f", typeof(GL.Delegates.Color3f)); - GL.Color3fv_ = (GL.Delegates.Color3fv_)GetAddress("glColor3fv", typeof(GL.Delegates.Color3fv_)); - GL.Color3i = (GL.Delegates.Color3i)GetAddress("glColor3i", typeof(GL.Delegates.Color3i)); - GL.Color3iv_ = (GL.Delegates.Color3iv_)GetAddress("glColor3iv", typeof(GL.Delegates.Color3iv_)); - GL.Color3s = (GL.Delegates.Color3s)GetAddress("glColor3s", typeof(GL.Delegates.Color3s)); - GL.Color3sv_ = (GL.Delegates.Color3sv_)GetAddress("glColor3sv", typeof(GL.Delegates.Color3sv_)); - GL.Color3ub = (GL.Delegates.Color3ub)GetAddress("glColor3ub", typeof(GL.Delegates.Color3ub)); - GL.Color3ubv_ = (GL.Delegates.Color3ubv_)GetAddress("glColor3ubv", typeof(GL.Delegates.Color3ubv_)); - GL.Color3ui = (GL.Delegates.Color3ui)GetAddress("glColor3ui", typeof(GL.Delegates.Color3ui)); - GL.Color3uiv_ = (GL.Delegates.Color3uiv_)GetAddress("glColor3uiv", typeof(GL.Delegates.Color3uiv_)); - GL.Color3us = (GL.Delegates.Color3us)GetAddress("glColor3us", typeof(GL.Delegates.Color3us)); - GL.Color3usv_ = (GL.Delegates.Color3usv_)GetAddress("glColor3usv", typeof(GL.Delegates.Color3usv_)); - GL.Color4b = (GL.Delegates.Color4b)GetAddress("glColor4b", typeof(GL.Delegates.Color4b)); - GL.Color4bv_ = (GL.Delegates.Color4bv_)GetAddress("glColor4bv", typeof(GL.Delegates.Color4bv_)); - GL.Color4d = (GL.Delegates.Color4d)GetAddress("glColor4d", typeof(GL.Delegates.Color4d)); - GL.Color4dv_ = (GL.Delegates.Color4dv_)GetAddress("glColor4dv", typeof(GL.Delegates.Color4dv_)); - GL.Color4f = (GL.Delegates.Color4f)GetAddress("glColor4f", typeof(GL.Delegates.Color4f)); - GL.Color4fv_ = (GL.Delegates.Color4fv_)GetAddress("glColor4fv", typeof(GL.Delegates.Color4fv_)); - GL.Color4i = (GL.Delegates.Color4i)GetAddress("glColor4i", typeof(GL.Delegates.Color4i)); - GL.Color4iv_ = (GL.Delegates.Color4iv_)GetAddress("glColor4iv", typeof(GL.Delegates.Color4iv_)); - GL.Color4s = (GL.Delegates.Color4s)GetAddress("glColor4s", typeof(GL.Delegates.Color4s)); - GL.Color4sv_ = (GL.Delegates.Color4sv_)GetAddress("glColor4sv", typeof(GL.Delegates.Color4sv_)); - GL.Color4ub = (GL.Delegates.Color4ub)GetAddress("glColor4ub", typeof(GL.Delegates.Color4ub)); - GL.Color4ubv_ = (GL.Delegates.Color4ubv_)GetAddress("glColor4ubv", typeof(GL.Delegates.Color4ubv_)); - GL.Color4ui = (GL.Delegates.Color4ui)GetAddress("glColor4ui", typeof(GL.Delegates.Color4ui)); - GL.Color4uiv_ = (GL.Delegates.Color4uiv_)GetAddress("glColor4uiv", typeof(GL.Delegates.Color4uiv_)); - GL.Color4us = (GL.Delegates.Color4us)GetAddress("glColor4us", typeof(GL.Delegates.Color4us)); - GL.Color4usv_ = (GL.Delegates.Color4usv_)GetAddress("glColor4usv", typeof(GL.Delegates.Color4usv_)); - GL.EdgeFlag = (GL.Delegates.EdgeFlag)GetAddress("glEdgeFlag", typeof(GL.Delegates.EdgeFlag)); - GL.EdgeFlagv = (GL.Delegates.EdgeFlagv)GetAddress("glEdgeFlagv", typeof(GL.Delegates.EdgeFlagv)); - GL.End = (GL.Delegates.End)GetAddress("glEnd", typeof(GL.Delegates.End)); - GL.Indexd = (GL.Delegates.Indexd)GetAddress("glIndexd", typeof(GL.Delegates.Indexd)); - GL.Indexdv_ = (GL.Delegates.Indexdv_)GetAddress("glIndexdv", typeof(GL.Delegates.Indexdv_)); - GL.Indexf = (GL.Delegates.Indexf)GetAddress("glIndexf", typeof(GL.Delegates.Indexf)); - GL.Indexfv_ = (GL.Delegates.Indexfv_)GetAddress("glIndexfv", typeof(GL.Delegates.Indexfv_)); - GL.Indexi = (GL.Delegates.Indexi)GetAddress("glIndexi", typeof(GL.Delegates.Indexi)); - GL.Indexiv_ = (GL.Delegates.Indexiv_)GetAddress("glIndexiv", typeof(GL.Delegates.Indexiv_)); - GL.Indexs = (GL.Delegates.Indexs)GetAddress("glIndexs", typeof(GL.Delegates.Indexs)); - GL.Indexsv_ = (GL.Delegates.Indexsv_)GetAddress("glIndexsv", typeof(GL.Delegates.Indexsv_)); - GL.Normal3b = (GL.Delegates.Normal3b)GetAddress("glNormal3b", typeof(GL.Delegates.Normal3b)); - GL.Normal3bv_ = (GL.Delegates.Normal3bv_)GetAddress("glNormal3bv", typeof(GL.Delegates.Normal3bv_)); - GL.Normal3d = (GL.Delegates.Normal3d)GetAddress("glNormal3d", typeof(GL.Delegates.Normal3d)); - GL.Normal3dv_ = (GL.Delegates.Normal3dv_)GetAddress("glNormal3dv", typeof(GL.Delegates.Normal3dv_)); - GL.Normal3f = (GL.Delegates.Normal3f)GetAddress("glNormal3f", typeof(GL.Delegates.Normal3f)); - GL.Normal3fv_ = (GL.Delegates.Normal3fv_)GetAddress("glNormal3fv", typeof(GL.Delegates.Normal3fv_)); - GL.Normal3i = (GL.Delegates.Normal3i)GetAddress("glNormal3i", typeof(GL.Delegates.Normal3i)); - GL.Normal3iv_ = (GL.Delegates.Normal3iv_)GetAddress("glNormal3iv", typeof(GL.Delegates.Normal3iv_)); - GL.Normal3s = (GL.Delegates.Normal3s)GetAddress("glNormal3s", typeof(GL.Delegates.Normal3s)); - GL.Normal3sv_ = (GL.Delegates.Normal3sv_)GetAddress("glNormal3sv", typeof(GL.Delegates.Normal3sv_)); - GL.RasterPos2d = (GL.Delegates.RasterPos2d)GetAddress("glRasterPos2d", typeof(GL.Delegates.RasterPos2d)); - GL.RasterPos2dv_ = (GL.Delegates.RasterPos2dv_)GetAddress("glRasterPos2dv", typeof(GL.Delegates.RasterPos2dv_)); - GL.RasterPos2f = (GL.Delegates.RasterPos2f)GetAddress("glRasterPos2f", typeof(GL.Delegates.RasterPos2f)); - GL.RasterPos2fv_ = (GL.Delegates.RasterPos2fv_)GetAddress("glRasterPos2fv", typeof(GL.Delegates.RasterPos2fv_)); - GL.RasterPos2i = (GL.Delegates.RasterPos2i)GetAddress("glRasterPos2i", typeof(GL.Delegates.RasterPos2i)); - GL.RasterPos2iv_ = (GL.Delegates.RasterPos2iv_)GetAddress("glRasterPos2iv", typeof(GL.Delegates.RasterPos2iv_)); - GL.RasterPos2s = (GL.Delegates.RasterPos2s)GetAddress("glRasterPos2s", typeof(GL.Delegates.RasterPos2s)); - GL.RasterPos2sv_ = (GL.Delegates.RasterPos2sv_)GetAddress("glRasterPos2sv", typeof(GL.Delegates.RasterPos2sv_)); - GL.RasterPos3d = (GL.Delegates.RasterPos3d)GetAddress("glRasterPos3d", typeof(GL.Delegates.RasterPos3d)); - GL.RasterPos3dv_ = (GL.Delegates.RasterPos3dv_)GetAddress("glRasterPos3dv", typeof(GL.Delegates.RasterPos3dv_)); - GL.RasterPos3f = (GL.Delegates.RasterPos3f)GetAddress("glRasterPos3f", typeof(GL.Delegates.RasterPos3f)); - GL.RasterPos3fv_ = (GL.Delegates.RasterPos3fv_)GetAddress("glRasterPos3fv", typeof(GL.Delegates.RasterPos3fv_)); - GL.RasterPos3i = (GL.Delegates.RasterPos3i)GetAddress("glRasterPos3i", typeof(GL.Delegates.RasterPos3i)); - GL.RasterPos3iv_ = (GL.Delegates.RasterPos3iv_)GetAddress("glRasterPos3iv", typeof(GL.Delegates.RasterPos3iv_)); - GL.RasterPos3s = (GL.Delegates.RasterPos3s)GetAddress("glRasterPos3s", typeof(GL.Delegates.RasterPos3s)); - GL.RasterPos3sv_ = (GL.Delegates.RasterPos3sv_)GetAddress("glRasterPos3sv", typeof(GL.Delegates.RasterPos3sv_)); - GL.RasterPos4d = (GL.Delegates.RasterPos4d)GetAddress("glRasterPos4d", typeof(GL.Delegates.RasterPos4d)); - GL.RasterPos4dv_ = (GL.Delegates.RasterPos4dv_)GetAddress("glRasterPos4dv", typeof(GL.Delegates.RasterPos4dv_)); - GL.RasterPos4f = (GL.Delegates.RasterPos4f)GetAddress("glRasterPos4f", typeof(GL.Delegates.RasterPos4f)); - GL.RasterPos4fv_ = (GL.Delegates.RasterPos4fv_)GetAddress("glRasterPos4fv", typeof(GL.Delegates.RasterPos4fv_)); - GL.RasterPos4i = (GL.Delegates.RasterPos4i)GetAddress("glRasterPos4i", typeof(GL.Delegates.RasterPos4i)); - GL.RasterPos4iv_ = (GL.Delegates.RasterPos4iv_)GetAddress("glRasterPos4iv", typeof(GL.Delegates.RasterPos4iv_)); - GL.RasterPos4s = (GL.Delegates.RasterPos4s)GetAddress("glRasterPos4s", typeof(GL.Delegates.RasterPos4s)); - GL.RasterPos4sv_ = (GL.Delegates.RasterPos4sv_)GetAddress("glRasterPos4sv", typeof(GL.Delegates.RasterPos4sv_)); - GL.Rectd = (GL.Delegates.Rectd)GetAddress("glRectd", typeof(GL.Delegates.Rectd)); - GL.Rectdv_ = (GL.Delegates.Rectdv_)GetAddress("glRectdv", typeof(GL.Delegates.Rectdv_)); - GL.Rectf = (GL.Delegates.Rectf)GetAddress("glRectf", typeof(GL.Delegates.Rectf)); - GL.Rectfv_ = (GL.Delegates.Rectfv_)GetAddress("glRectfv", typeof(GL.Delegates.Rectfv_)); - GL.Recti = (GL.Delegates.Recti)GetAddress("glRecti", typeof(GL.Delegates.Recti)); - GL.Rectiv_ = (GL.Delegates.Rectiv_)GetAddress("glRectiv", typeof(GL.Delegates.Rectiv_)); - GL.Rects = (GL.Delegates.Rects)GetAddress("glRects", typeof(GL.Delegates.Rects)); - GL.Rectsv_ = (GL.Delegates.Rectsv_)GetAddress("glRectsv", typeof(GL.Delegates.Rectsv_)); - GL.TexCoord1d = (GL.Delegates.TexCoord1d)GetAddress("glTexCoord1d", typeof(GL.Delegates.TexCoord1d)); - GL.TexCoord1dv_ = (GL.Delegates.TexCoord1dv_)GetAddress("glTexCoord1dv", typeof(GL.Delegates.TexCoord1dv_)); - GL.TexCoord1f = (GL.Delegates.TexCoord1f)GetAddress("glTexCoord1f", typeof(GL.Delegates.TexCoord1f)); - GL.TexCoord1fv_ = (GL.Delegates.TexCoord1fv_)GetAddress("glTexCoord1fv", typeof(GL.Delegates.TexCoord1fv_)); - GL.TexCoord1i = (GL.Delegates.TexCoord1i)GetAddress("glTexCoord1i", typeof(GL.Delegates.TexCoord1i)); - GL.TexCoord1iv_ = (GL.Delegates.TexCoord1iv_)GetAddress("glTexCoord1iv", typeof(GL.Delegates.TexCoord1iv_)); - GL.TexCoord1s = (GL.Delegates.TexCoord1s)GetAddress("glTexCoord1s", typeof(GL.Delegates.TexCoord1s)); - GL.TexCoord1sv_ = (GL.Delegates.TexCoord1sv_)GetAddress("glTexCoord1sv", typeof(GL.Delegates.TexCoord1sv_)); - GL.TexCoord2d = (GL.Delegates.TexCoord2d)GetAddress("glTexCoord2d", typeof(GL.Delegates.TexCoord2d)); - GL.TexCoord2dv_ = (GL.Delegates.TexCoord2dv_)GetAddress("glTexCoord2dv", typeof(GL.Delegates.TexCoord2dv_)); - GL.TexCoord2f = (GL.Delegates.TexCoord2f)GetAddress("glTexCoord2f", typeof(GL.Delegates.TexCoord2f)); - GL.TexCoord2fv_ = (GL.Delegates.TexCoord2fv_)GetAddress("glTexCoord2fv", typeof(GL.Delegates.TexCoord2fv_)); - GL.TexCoord2i = (GL.Delegates.TexCoord2i)GetAddress("glTexCoord2i", typeof(GL.Delegates.TexCoord2i)); - GL.TexCoord2iv_ = (GL.Delegates.TexCoord2iv_)GetAddress("glTexCoord2iv", typeof(GL.Delegates.TexCoord2iv_)); - GL.TexCoord2s = (GL.Delegates.TexCoord2s)GetAddress("glTexCoord2s", typeof(GL.Delegates.TexCoord2s)); - GL.TexCoord2sv_ = (GL.Delegates.TexCoord2sv_)GetAddress("glTexCoord2sv", typeof(GL.Delegates.TexCoord2sv_)); - GL.TexCoord3d = (GL.Delegates.TexCoord3d)GetAddress("glTexCoord3d", typeof(GL.Delegates.TexCoord3d)); - GL.TexCoord3dv_ = (GL.Delegates.TexCoord3dv_)GetAddress("glTexCoord3dv", typeof(GL.Delegates.TexCoord3dv_)); - GL.TexCoord3f = (GL.Delegates.TexCoord3f)GetAddress("glTexCoord3f", typeof(GL.Delegates.TexCoord3f)); - GL.TexCoord3fv_ = (GL.Delegates.TexCoord3fv_)GetAddress("glTexCoord3fv", typeof(GL.Delegates.TexCoord3fv_)); - GL.TexCoord3i = (GL.Delegates.TexCoord3i)GetAddress("glTexCoord3i", typeof(GL.Delegates.TexCoord3i)); - GL.TexCoord3iv_ = (GL.Delegates.TexCoord3iv_)GetAddress("glTexCoord3iv", typeof(GL.Delegates.TexCoord3iv_)); - GL.TexCoord3s = (GL.Delegates.TexCoord3s)GetAddress("glTexCoord3s", typeof(GL.Delegates.TexCoord3s)); - GL.TexCoord3sv_ = (GL.Delegates.TexCoord3sv_)GetAddress("glTexCoord3sv", typeof(GL.Delegates.TexCoord3sv_)); - GL.TexCoord4d = (GL.Delegates.TexCoord4d)GetAddress("glTexCoord4d", typeof(GL.Delegates.TexCoord4d)); - GL.TexCoord4dv_ = (GL.Delegates.TexCoord4dv_)GetAddress("glTexCoord4dv", typeof(GL.Delegates.TexCoord4dv_)); - GL.TexCoord4f = (GL.Delegates.TexCoord4f)GetAddress("glTexCoord4f", typeof(GL.Delegates.TexCoord4f)); - GL.TexCoord4fv_ = (GL.Delegates.TexCoord4fv_)GetAddress("glTexCoord4fv", typeof(GL.Delegates.TexCoord4fv_)); - GL.TexCoord4i = (GL.Delegates.TexCoord4i)GetAddress("glTexCoord4i", typeof(GL.Delegates.TexCoord4i)); - GL.TexCoord4iv_ = (GL.Delegates.TexCoord4iv_)GetAddress("glTexCoord4iv", typeof(GL.Delegates.TexCoord4iv_)); - GL.TexCoord4s = (GL.Delegates.TexCoord4s)GetAddress("glTexCoord4s", typeof(GL.Delegates.TexCoord4s)); - GL.TexCoord4sv_ = (GL.Delegates.TexCoord4sv_)GetAddress("glTexCoord4sv", typeof(GL.Delegates.TexCoord4sv_)); - GL.Vertex2d = (GL.Delegates.Vertex2d)GetAddress("glVertex2d", typeof(GL.Delegates.Vertex2d)); - GL.Vertex2dv_ = (GL.Delegates.Vertex2dv_)GetAddress("glVertex2dv", typeof(GL.Delegates.Vertex2dv_)); - GL.Vertex2f = (GL.Delegates.Vertex2f)GetAddress("glVertex2f", typeof(GL.Delegates.Vertex2f)); - GL.Vertex2fv_ = (GL.Delegates.Vertex2fv_)GetAddress("glVertex2fv", typeof(GL.Delegates.Vertex2fv_)); - GL.Vertex2i = (GL.Delegates.Vertex2i)GetAddress("glVertex2i", typeof(GL.Delegates.Vertex2i)); - GL.Vertex2iv_ = (GL.Delegates.Vertex2iv_)GetAddress("glVertex2iv", typeof(GL.Delegates.Vertex2iv_)); - GL.Vertex2s = (GL.Delegates.Vertex2s)GetAddress("glVertex2s", typeof(GL.Delegates.Vertex2s)); - GL.Vertex2sv_ = (GL.Delegates.Vertex2sv_)GetAddress("glVertex2sv", typeof(GL.Delegates.Vertex2sv_)); - GL.Vertex3d = (GL.Delegates.Vertex3d)GetAddress("glVertex3d", typeof(GL.Delegates.Vertex3d)); - GL.Vertex3dv_ = (GL.Delegates.Vertex3dv_)GetAddress("glVertex3dv", typeof(GL.Delegates.Vertex3dv_)); - GL.Vertex3f = (GL.Delegates.Vertex3f)GetAddress("glVertex3f", typeof(GL.Delegates.Vertex3f)); - GL.Vertex3fv_ = (GL.Delegates.Vertex3fv_)GetAddress("glVertex3fv", typeof(GL.Delegates.Vertex3fv_)); - GL.Vertex3i = (GL.Delegates.Vertex3i)GetAddress("glVertex3i", typeof(GL.Delegates.Vertex3i)); - GL.Vertex3iv_ = (GL.Delegates.Vertex3iv_)GetAddress("glVertex3iv", typeof(GL.Delegates.Vertex3iv_)); - GL.Vertex3s = (GL.Delegates.Vertex3s)GetAddress("glVertex3s", typeof(GL.Delegates.Vertex3s)); - GL.Vertex3sv_ = (GL.Delegates.Vertex3sv_)GetAddress("glVertex3sv", typeof(GL.Delegates.Vertex3sv_)); - GL.Vertex4d = (GL.Delegates.Vertex4d)GetAddress("glVertex4d", typeof(GL.Delegates.Vertex4d)); - GL.Vertex4dv_ = (GL.Delegates.Vertex4dv_)GetAddress("glVertex4dv", typeof(GL.Delegates.Vertex4dv_)); - GL.Vertex4f = (GL.Delegates.Vertex4f)GetAddress("glVertex4f", typeof(GL.Delegates.Vertex4f)); - GL.Vertex4fv_ = (GL.Delegates.Vertex4fv_)GetAddress("glVertex4fv", typeof(GL.Delegates.Vertex4fv_)); - GL.Vertex4i = (GL.Delegates.Vertex4i)GetAddress("glVertex4i", typeof(GL.Delegates.Vertex4i)); - GL.Vertex4iv_ = (GL.Delegates.Vertex4iv_)GetAddress("glVertex4iv", typeof(GL.Delegates.Vertex4iv_)); - GL.Vertex4s = (GL.Delegates.Vertex4s)GetAddress("glVertex4s", typeof(GL.Delegates.Vertex4s)); - GL.Vertex4sv_ = (GL.Delegates.Vertex4sv_)GetAddress("glVertex4sv", typeof(GL.Delegates.Vertex4sv_)); - GL.ClipPlane_ = (GL.Delegates.ClipPlane_)GetAddress("glClipPlane", typeof(GL.Delegates.ClipPlane_)); - GL.ColorMaterial = (GL.Delegates.ColorMaterial)GetAddress("glColorMaterial", typeof(GL.Delegates.ColorMaterial)); - GL.CullFace = (GL.Delegates.CullFace)GetAddress("glCullFace", typeof(GL.Delegates.CullFace)); - GL.Fogf = (GL.Delegates.Fogf)GetAddress("glFogf", typeof(GL.Delegates.Fogf)); - GL.Fogfv_ = (GL.Delegates.Fogfv_)GetAddress("glFogfv", typeof(GL.Delegates.Fogfv_)); - GL.Fogi = (GL.Delegates.Fogi)GetAddress("glFogi", typeof(GL.Delegates.Fogi)); - GL.Fogiv_ = (GL.Delegates.Fogiv_)GetAddress("glFogiv", typeof(GL.Delegates.Fogiv_)); - GL.FrontFace = (GL.Delegates.FrontFace)GetAddress("glFrontFace", typeof(GL.Delegates.FrontFace)); - GL.Hint = (GL.Delegates.Hint)GetAddress("glHint", typeof(GL.Delegates.Hint)); - GL.Lightf = (GL.Delegates.Lightf)GetAddress("glLightf", typeof(GL.Delegates.Lightf)); - GL.Lightfv_ = (GL.Delegates.Lightfv_)GetAddress("glLightfv", typeof(GL.Delegates.Lightfv_)); - GL.Lighti = (GL.Delegates.Lighti)GetAddress("glLighti", typeof(GL.Delegates.Lighti)); - GL.Lightiv_ = (GL.Delegates.Lightiv_)GetAddress("glLightiv", typeof(GL.Delegates.Lightiv_)); - GL.LightModelf = (GL.Delegates.LightModelf)GetAddress("glLightModelf", typeof(GL.Delegates.LightModelf)); - GL.LightModelfv_ = (GL.Delegates.LightModelfv_)GetAddress("glLightModelfv", typeof(GL.Delegates.LightModelfv_)); - GL.LightModeli = (GL.Delegates.LightModeli)GetAddress("glLightModeli", typeof(GL.Delegates.LightModeli)); - GL.LightModeliv_ = (GL.Delegates.LightModeliv_)GetAddress("glLightModeliv", typeof(GL.Delegates.LightModeliv_)); - GL.LineStipple = (GL.Delegates.LineStipple)GetAddress("glLineStipple", typeof(GL.Delegates.LineStipple)); - GL.LineWidth = (GL.Delegates.LineWidth)GetAddress("glLineWidth", typeof(GL.Delegates.LineWidth)); - GL.Materialf = (GL.Delegates.Materialf)GetAddress("glMaterialf", typeof(GL.Delegates.Materialf)); - GL.Materialfv_ = (GL.Delegates.Materialfv_)GetAddress("glMaterialfv", typeof(GL.Delegates.Materialfv_)); - GL.Materiali = (GL.Delegates.Materiali)GetAddress("glMateriali", typeof(GL.Delegates.Materiali)); - GL.Materialiv_ = (GL.Delegates.Materialiv_)GetAddress("glMaterialiv", typeof(GL.Delegates.Materialiv_)); - GL.PointSize = (GL.Delegates.PointSize)GetAddress("glPointSize", typeof(GL.Delegates.PointSize)); - GL.PolygonMode = (GL.Delegates.PolygonMode)GetAddress("glPolygonMode", typeof(GL.Delegates.PolygonMode)); - GL.PolygonStipple_ = (GL.Delegates.PolygonStipple_)GetAddress("glPolygonStipple", typeof(GL.Delegates.PolygonStipple_)); - GL.Scissor = (GL.Delegates.Scissor)GetAddress("glScissor", typeof(GL.Delegates.Scissor)); - GL.ShadeModel = (GL.Delegates.ShadeModel)GetAddress("glShadeModel", typeof(GL.Delegates.ShadeModel)); - GL.TexParameterf = (GL.Delegates.TexParameterf)GetAddress("glTexParameterf", typeof(GL.Delegates.TexParameterf)); - GL.TexParameterfv_ = (GL.Delegates.TexParameterfv_)GetAddress("glTexParameterfv", typeof(GL.Delegates.TexParameterfv_)); - GL.TexParameteri = (GL.Delegates.TexParameteri)GetAddress("glTexParameteri", typeof(GL.Delegates.TexParameteri)); - GL.TexParameteriv_ = (GL.Delegates.TexParameteriv_)GetAddress("glTexParameteriv", typeof(GL.Delegates.TexParameteriv_)); - GL.TexImage1D = (GL.Delegates.TexImage1D)GetAddress("glTexImage1D", typeof(GL.Delegates.TexImage1D)); - GL.TexImage2D = (GL.Delegates.TexImage2D)GetAddress("glTexImage2D", typeof(GL.Delegates.TexImage2D)); - GL.TexEnvf = (GL.Delegates.TexEnvf)GetAddress("glTexEnvf", typeof(GL.Delegates.TexEnvf)); - GL.TexEnvfv_ = (GL.Delegates.TexEnvfv_)GetAddress("glTexEnvfv", typeof(GL.Delegates.TexEnvfv_)); - GL.TexEnvi = (GL.Delegates.TexEnvi)GetAddress("glTexEnvi", typeof(GL.Delegates.TexEnvi)); - GL.TexEnviv_ = (GL.Delegates.TexEnviv_)GetAddress("glTexEnviv", typeof(GL.Delegates.TexEnviv_)); - GL.TexGend = (GL.Delegates.TexGend)GetAddress("glTexGend", typeof(GL.Delegates.TexGend)); - GL.TexGendv_ = (GL.Delegates.TexGendv_)GetAddress("glTexGendv", typeof(GL.Delegates.TexGendv_)); - GL.TexGenf = (GL.Delegates.TexGenf)GetAddress("glTexGenf", typeof(GL.Delegates.TexGenf)); - GL.TexGenfv_ = (GL.Delegates.TexGenfv_)GetAddress("glTexGenfv", typeof(GL.Delegates.TexGenfv_)); - GL.TexGeni = (GL.Delegates.TexGeni)GetAddress("glTexGeni", typeof(GL.Delegates.TexGeni)); - GL.TexGeniv_ = (GL.Delegates.TexGeniv_)GetAddress("glTexGeniv", typeof(GL.Delegates.TexGeniv_)); - GL.FeedbackBuffer = (GL.Delegates.FeedbackBuffer)GetAddress("glFeedbackBuffer", typeof(GL.Delegates.FeedbackBuffer)); - GL.SelectBuffer = (GL.Delegates.SelectBuffer)GetAddress("glSelectBuffer", typeof(GL.Delegates.SelectBuffer)); - GL.RenderMode = (GL.Delegates.RenderMode)GetAddress("glRenderMode", typeof(GL.Delegates.RenderMode)); - GL.InitNames = (GL.Delegates.InitNames)GetAddress("glInitNames", typeof(GL.Delegates.InitNames)); - GL.LoadName = (GL.Delegates.LoadName)GetAddress("glLoadName", typeof(GL.Delegates.LoadName)); - GL.PassThrough = (GL.Delegates.PassThrough)GetAddress("glPassThrough", typeof(GL.Delegates.PassThrough)); - GL.PopName = (GL.Delegates.PopName)GetAddress("glPopName", typeof(GL.Delegates.PopName)); - GL.PushName = (GL.Delegates.PushName)GetAddress("glPushName", typeof(GL.Delegates.PushName)); - GL.DrawBuffer = (GL.Delegates.DrawBuffer)GetAddress("glDrawBuffer", typeof(GL.Delegates.DrawBuffer)); - GL.Clear = (GL.Delegates.Clear)GetAddress("glClear", typeof(GL.Delegates.Clear)); - GL.ClearAccum = (GL.Delegates.ClearAccum)GetAddress("glClearAccum", typeof(GL.Delegates.ClearAccum)); - GL.ClearIndex = (GL.Delegates.ClearIndex)GetAddress("glClearIndex", typeof(GL.Delegates.ClearIndex)); - GL.ClearColor = (GL.Delegates.ClearColor)GetAddress("glClearColor", typeof(GL.Delegates.ClearColor)); - GL.ClearStencil = (GL.Delegates.ClearStencil)GetAddress("glClearStencil", typeof(GL.Delegates.ClearStencil)); - GL.ClearDepth = (GL.Delegates.ClearDepth)GetAddress("glClearDepth", typeof(GL.Delegates.ClearDepth)); - GL.StencilMask = (GL.Delegates.StencilMask)GetAddress("glStencilMask", typeof(GL.Delegates.StencilMask)); - GL.ColorMask = (GL.Delegates.ColorMask)GetAddress("glColorMask", typeof(GL.Delegates.ColorMask)); - GL.DepthMask = (GL.Delegates.DepthMask)GetAddress("glDepthMask", typeof(GL.Delegates.DepthMask)); - GL.IndexMask = (GL.Delegates.IndexMask)GetAddress("glIndexMask", typeof(GL.Delegates.IndexMask)); - GL.Accum = (GL.Delegates.Accum)GetAddress("glAccum", typeof(GL.Delegates.Accum)); - GL.Disable = (GL.Delegates.Disable)GetAddress("glDisable", typeof(GL.Delegates.Disable)); - GL.Enable = (GL.Delegates.Enable)GetAddress("glEnable", typeof(GL.Delegates.Enable)); - GL.Finish = (GL.Delegates.Finish)GetAddress("glFinish", typeof(GL.Delegates.Finish)); - GL.Flush = (GL.Delegates.Flush)GetAddress("glFlush", typeof(GL.Delegates.Flush)); - GL.PopAttrib = (GL.Delegates.PopAttrib)GetAddress("glPopAttrib", typeof(GL.Delegates.PopAttrib)); - GL.PushAttrib = (GL.Delegates.PushAttrib)GetAddress("glPushAttrib", typeof(GL.Delegates.PushAttrib)); - GL.Map1d_ = (GL.Delegates.Map1d_)GetAddress("glMap1d", typeof(GL.Delegates.Map1d_)); - GL.Map1f_ = (GL.Delegates.Map1f_)GetAddress("glMap1f", typeof(GL.Delegates.Map1f_)); - GL.Map2d_ = (GL.Delegates.Map2d_)GetAddress("glMap2d", typeof(GL.Delegates.Map2d_)); - GL.Map2f_ = (GL.Delegates.Map2f_)GetAddress("glMap2f", typeof(GL.Delegates.Map2f_)); - GL.MapGrid1d = (GL.Delegates.MapGrid1d)GetAddress("glMapGrid1d", typeof(GL.Delegates.MapGrid1d)); - GL.MapGrid1f = (GL.Delegates.MapGrid1f)GetAddress("glMapGrid1f", typeof(GL.Delegates.MapGrid1f)); - GL.MapGrid2d = (GL.Delegates.MapGrid2d)GetAddress("glMapGrid2d", typeof(GL.Delegates.MapGrid2d)); - GL.MapGrid2f = (GL.Delegates.MapGrid2f)GetAddress("glMapGrid2f", typeof(GL.Delegates.MapGrid2f)); - GL.EvalCoord1d = (GL.Delegates.EvalCoord1d)GetAddress("glEvalCoord1d", typeof(GL.Delegates.EvalCoord1d)); - GL.EvalCoord1dv_ = (GL.Delegates.EvalCoord1dv_)GetAddress("glEvalCoord1dv", typeof(GL.Delegates.EvalCoord1dv_)); - GL.EvalCoord1f = (GL.Delegates.EvalCoord1f)GetAddress("glEvalCoord1f", typeof(GL.Delegates.EvalCoord1f)); - GL.EvalCoord1fv_ = (GL.Delegates.EvalCoord1fv_)GetAddress("glEvalCoord1fv", typeof(GL.Delegates.EvalCoord1fv_)); - GL.EvalCoord2d = (GL.Delegates.EvalCoord2d)GetAddress("glEvalCoord2d", typeof(GL.Delegates.EvalCoord2d)); - GL.EvalCoord2dv_ = (GL.Delegates.EvalCoord2dv_)GetAddress("glEvalCoord2dv", typeof(GL.Delegates.EvalCoord2dv_)); - GL.EvalCoord2f = (GL.Delegates.EvalCoord2f)GetAddress("glEvalCoord2f", typeof(GL.Delegates.EvalCoord2f)); - GL.EvalCoord2fv_ = (GL.Delegates.EvalCoord2fv_)GetAddress("glEvalCoord2fv", typeof(GL.Delegates.EvalCoord2fv_)); - GL.EvalMesh1 = (GL.Delegates.EvalMesh1)GetAddress("glEvalMesh1", typeof(GL.Delegates.EvalMesh1)); - GL.EvalPoint1 = (GL.Delegates.EvalPoint1)GetAddress("glEvalPoint1", typeof(GL.Delegates.EvalPoint1)); - GL.EvalMesh2 = (GL.Delegates.EvalMesh2)GetAddress("glEvalMesh2", typeof(GL.Delegates.EvalMesh2)); - GL.EvalPoint2 = (GL.Delegates.EvalPoint2)GetAddress("glEvalPoint2", typeof(GL.Delegates.EvalPoint2)); - GL.AlphaFunc = (GL.Delegates.AlphaFunc)GetAddress("glAlphaFunc", typeof(GL.Delegates.AlphaFunc)); - GL.BlendFunc = (GL.Delegates.BlendFunc)GetAddress("glBlendFunc", typeof(GL.Delegates.BlendFunc)); - GL.LogicOp = (GL.Delegates.LogicOp)GetAddress("glLogicOp", typeof(GL.Delegates.LogicOp)); - GL.StencilFunc = (GL.Delegates.StencilFunc)GetAddress("glStencilFunc", typeof(GL.Delegates.StencilFunc)); - GL.StencilOp = (GL.Delegates.StencilOp)GetAddress("glStencilOp", typeof(GL.Delegates.StencilOp)); - GL.DepthFunc = (GL.Delegates.DepthFunc)GetAddress("glDepthFunc", typeof(GL.Delegates.DepthFunc)); - GL.PixelZoom = (GL.Delegates.PixelZoom)GetAddress("glPixelZoom", typeof(GL.Delegates.PixelZoom)); - GL.PixelTransferf = (GL.Delegates.PixelTransferf)GetAddress("glPixelTransferf", typeof(GL.Delegates.PixelTransferf)); - GL.PixelTransferi = (GL.Delegates.PixelTransferi)GetAddress("glPixelTransferi", typeof(GL.Delegates.PixelTransferi)); - GL.PixelStoref = (GL.Delegates.PixelStoref)GetAddress("glPixelStoref", typeof(GL.Delegates.PixelStoref)); - GL.PixelStorei = (GL.Delegates.PixelStorei)GetAddress("glPixelStorei", typeof(GL.Delegates.PixelStorei)); - GL.PixelMapfv_ = (GL.Delegates.PixelMapfv_)GetAddress("glPixelMapfv", typeof(GL.Delegates.PixelMapfv_)); - GL.PixelMapuiv_ = (GL.Delegates.PixelMapuiv_)GetAddress("glPixelMapuiv", typeof(GL.Delegates.PixelMapuiv_)); - GL.PixelMapusv_ = (GL.Delegates.PixelMapusv_)GetAddress("glPixelMapusv", typeof(GL.Delegates.PixelMapusv_)); - GL.ReadBuffer = (GL.Delegates.ReadBuffer)GetAddress("glReadBuffer", typeof(GL.Delegates.ReadBuffer)); - GL.CopyPixels = (GL.Delegates.CopyPixels)GetAddress("glCopyPixels", typeof(GL.Delegates.CopyPixels)); - GL.ReadPixels_ = (GL.Delegates.ReadPixels_)GetAddress("glReadPixels", typeof(GL.Delegates.ReadPixels_)); - GL.DrawPixels_ = (GL.Delegates.DrawPixels_)GetAddress("glDrawPixels", typeof(GL.Delegates.DrawPixels_)); - GL.GetBooleanv = (GL.Delegates.GetBooleanv)GetAddress("glGetBooleanv", typeof(GL.Delegates.GetBooleanv)); - GL.GetClipPlane = (GL.Delegates.GetClipPlane)GetAddress("glGetClipPlane", typeof(GL.Delegates.GetClipPlane)); - GL.GetDoublev = (GL.Delegates.GetDoublev)GetAddress("glGetDoublev", typeof(GL.Delegates.GetDoublev)); - GL.GetError = (GL.Delegates.GetError)GetAddress("glGetError", typeof(GL.Delegates.GetError)); - GL.GetFloatv = (GL.Delegates.GetFloatv)GetAddress("glGetFloatv", typeof(GL.Delegates.GetFloatv)); - GL.GetIntegerv = (GL.Delegates.GetIntegerv)GetAddress("glGetIntegerv", typeof(GL.Delegates.GetIntegerv)); - GL.GetLightfv = (GL.Delegates.GetLightfv)GetAddress("glGetLightfv", typeof(GL.Delegates.GetLightfv)); - GL.GetLightiv = (GL.Delegates.GetLightiv)GetAddress("glGetLightiv", typeof(GL.Delegates.GetLightiv)); - GL.GetMapdv = (GL.Delegates.GetMapdv)GetAddress("glGetMapdv", typeof(GL.Delegates.GetMapdv)); - GL.GetMapfv = (GL.Delegates.GetMapfv)GetAddress("glGetMapfv", typeof(GL.Delegates.GetMapfv)); - GL.GetMapiv = (GL.Delegates.GetMapiv)GetAddress("glGetMapiv", typeof(GL.Delegates.GetMapiv)); - GL.GetMaterialfv = (GL.Delegates.GetMaterialfv)GetAddress("glGetMaterialfv", typeof(GL.Delegates.GetMaterialfv)); - GL.GetMaterialiv = (GL.Delegates.GetMaterialiv)GetAddress("glGetMaterialiv", typeof(GL.Delegates.GetMaterialiv)); - GL.GetPixelMapfv = (GL.Delegates.GetPixelMapfv)GetAddress("glGetPixelMapfv", typeof(GL.Delegates.GetPixelMapfv)); - GL.GetPixelMapuiv = (GL.Delegates.GetPixelMapuiv)GetAddress("glGetPixelMapuiv", typeof(GL.Delegates.GetPixelMapuiv)); - GL.GetPixelMapusv = (GL.Delegates.GetPixelMapusv)GetAddress("glGetPixelMapusv", typeof(GL.Delegates.GetPixelMapusv)); - GL.GetPolygonStipple = (GL.Delegates.GetPolygonStipple)GetAddress("glGetPolygonStipple", typeof(GL.Delegates.GetPolygonStipple)); - GL.GetString_ = (GL.Delegates.GetString_)GetAddress("glGetString", typeof(GL.Delegates.GetString_)); - GL.GetTexEnvfv = (GL.Delegates.GetTexEnvfv)GetAddress("glGetTexEnvfv", typeof(GL.Delegates.GetTexEnvfv)); - GL.GetTexEnviv = (GL.Delegates.GetTexEnviv)GetAddress("glGetTexEnviv", typeof(GL.Delegates.GetTexEnviv)); - GL.GetTexGendv = (GL.Delegates.GetTexGendv)GetAddress("glGetTexGendv", typeof(GL.Delegates.GetTexGendv)); - GL.GetTexGenfv = (GL.Delegates.GetTexGenfv)GetAddress("glGetTexGenfv", typeof(GL.Delegates.GetTexGenfv)); - GL.GetTexGeniv = (GL.Delegates.GetTexGeniv)GetAddress("glGetTexGeniv", typeof(GL.Delegates.GetTexGeniv)); - GL.GetTexImage = (GL.Delegates.GetTexImage)GetAddress("glGetTexImage", typeof(GL.Delegates.GetTexImage)); - GL.GetTexParameterfv = (GL.Delegates.GetTexParameterfv)GetAddress("glGetTexParameterfv", typeof(GL.Delegates.GetTexParameterfv)); - GL.GetTexParameteriv = (GL.Delegates.GetTexParameteriv)GetAddress("glGetTexParameteriv", typeof(GL.Delegates.GetTexParameteriv)); - GL.GetTexLevelParameterfv = (GL.Delegates.GetTexLevelParameterfv)GetAddress("glGetTexLevelParameterfv", typeof(GL.Delegates.GetTexLevelParameterfv)); - GL.GetTexLevelParameteriv = (GL.Delegates.GetTexLevelParameteriv)GetAddress("glGetTexLevelParameteriv", typeof(GL.Delegates.GetTexLevelParameteriv)); - GL.IsEnabled = (GL.Delegates.IsEnabled)GetAddress("glIsEnabled", typeof(GL.Delegates.IsEnabled)); - GL.IsList = (GL.Delegates.IsList)GetAddress("glIsList", typeof(GL.Delegates.IsList)); - GL.DepthRange = (GL.Delegates.DepthRange)GetAddress("glDepthRange", typeof(GL.Delegates.DepthRange)); - GL.Frustum = (GL.Delegates.Frustum)GetAddress("glFrustum", typeof(GL.Delegates.Frustum)); - GL.LoadIdentity = (GL.Delegates.LoadIdentity)GetAddress("glLoadIdentity", typeof(GL.Delegates.LoadIdentity)); - GL.LoadMatrixf_ = (GL.Delegates.LoadMatrixf_)GetAddress("glLoadMatrixf", typeof(GL.Delegates.LoadMatrixf_)); - GL.LoadMatrixd_ = (GL.Delegates.LoadMatrixd_)GetAddress("glLoadMatrixd", typeof(GL.Delegates.LoadMatrixd_)); - GL.MatrixMode = (GL.Delegates.MatrixMode)GetAddress("glMatrixMode", typeof(GL.Delegates.MatrixMode)); - GL.MultMatrixf_ = (GL.Delegates.MultMatrixf_)GetAddress("glMultMatrixf", typeof(GL.Delegates.MultMatrixf_)); - GL.MultMatrixd_ = (GL.Delegates.MultMatrixd_)GetAddress("glMultMatrixd", typeof(GL.Delegates.MultMatrixd_)); - GL.Ortho = (GL.Delegates.Ortho)GetAddress("glOrtho", typeof(GL.Delegates.Ortho)); - GL.PopMatrix = (GL.Delegates.PopMatrix)GetAddress("glPopMatrix", typeof(GL.Delegates.PopMatrix)); - GL.PushMatrix = (GL.Delegates.PushMatrix)GetAddress("glPushMatrix", typeof(GL.Delegates.PushMatrix)); - GL.Rotated = (GL.Delegates.Rotated)GetAddress("glRotated", typeof(GL.Delegates.Rotated)); - GL.Rotatef = (GL.Delegates.Rotatef)GetAddress("glRotatef", typeof(GL.Delegates.Rotatef)); - GL.Scaled = (GL.Delegates.Scaled)GetAddress("glScaled", typeof(GL.Delegates.Scaled)); - GL.Scalef = (GL.Delegates.Scalef)GetAddress("glScalef", typeof(GL.Delegates.Scalef)); - GL.Translated = (GL.Delegates.Translated)GetAddress("glTranslated", typeof(GL.Delegates.Translated)); - GL.Translatef = (GL.Delegates.Translatef)GetAddress("glTranslatef", typeof(GL.Delegates.Translatef)); - GL.Viewport = (GL.Delegates.Viewport)GetAddress("glViewport", typeof(GL.Delegates.Viewport)); - GL.ArrayElement = (GL.Delegates.ArrayElement)GetAddress("glArrayElement", typeof(GL.Delegates.ArrayElement)); - GL.ColorPointer_ = (GL.Delegates.ColorPointer_)GetAddress("glColorPointer", typeof(GL.Delegates.ColorPointer_)); - GL.DisableClientState = (GL.Delegates.DisableClientState)GetAddress("glDisableClientState", typeof(GL.Delegates.DisableClientState)); - GL.DrawArrays = (GL.Delegates.DrawArrays)GetAddress("glDrawArrays", typeof(GL.Delegates.DrawArrays)); - GL.DrawElements_ = (GL.Delegates.DrawElements_)GetAddress("glDrawElements", typeof(GL.Delegates.DrawElements_)); - GL.EdgeFlagPointer_ = (GL.Delegates.EdgeFlagPointer_)GetAddress("glEdgeFlagPointer", typeof(GL.Delegates.EdgeFlagPointer_)); - GL.EnableClientState = (GL.Delegates.EnableClientState)GetAddress("glEnableClientState", typeof(GL.Delegates.EnableClientState)); - GL.GetPointerv = (GL.Delegates.GetPointerv)GetAddress("glGetPointerv", typeof(GL.Delegates.GetPointerv)); - GL.IndexPointer_ = (GL.Delegates.IndexPointer_)GetAddress("glIndexPointer", typeof(GL.Delegates.IndexPointer_)); - GL.InterleavedArrays_ = (GL.Delegates.InterleavedArrays_)GetAddress("glInterleavedArrays", typeof(GL.Delegates.InterleavedArrays_)); - GL.NormalPointer_ = (GL.Delegates.NormalPointer_)GetAddress("glNormalPointer", typeof(GL.Delegates.NormalPointer_)); - GL.TexCoordPointer_ = (GL.Delegates.TexCoordPointer_)GetAddress("glTexCoordPointer", typeof(GL.Delegates.TexCoordPointer_)); - GL.VertexPointer_ = (GL.Delegates.VertexPointer_)GetAddress("glVertexPointer", typeof(GL.Delegates.VertexPointer_)); - GL.PolygonOffset = (GL.Delegates.PolygonOffset)GetAddress("glPolygonOffset", typeof(GL.Delegates.PolygonOffset)); - GL.CopyTexImage1D = (GL.Delegates.CopyTexImage1D)GetAddress("glCopyTexImage1D", typeof(GL.Delegates.CopyTexImage1D)); - GL.CopyTexImage2D = (GL.Delegates.CopyTexImage2D)GetAddress("glCopyTexImage2D", typeof(GL.Delegates.CopyTexImage2D)); - GL.CopyTexSubImage1D = (GL.Delegates.CopyTexSubImage1D)GetAddress("glCopyTexSubImage1D", typeof(GL.Delegates.CopyTexSubImage1D)); - GL.CopyTexSubImage2D = (GL.Delegates.CopyTexSubImage2D)GetAddress("glCopyTexSubImage2D", typeof(GL.Delegates.CopyTexSubImage2D)); - GL.TexSubImage1D = (GL.Delegates.TexSubImage1D)GetAddress("glTexSubImage1D", typeof(GL.Delegates.TexSubImage1D)); - GL.TexSubImage2D = (GL.Delegates.TexSubImage2D)GetAddress("glTexSubImage2D", typeof(GL.Delegates.TexSubImage2D)); - GL.AreTexturesResident_ = (GL.Delegates.AreTexturesResident_)GetAddress("glAreTexturesResident", typeof(GL.Delegates.AreTexturesResident_)); - GL.BindTexture = (GL.Delegates.BindTexture)GetAddress("glBindTexture", typeof(GL.Delegates.BindTexture)); - GL.DeleteTextures_ = (GL.Delegates.DeleteTextures_)GetAddress("glDeleteTextures", typeof(GL.Delegates.DeleteTextures_)); - GL.GenTextures = (GL.Delegates.GenTextures)GetAddress("glGenTextures", typeof(GL.Delegates.GenTextures)); - GL.IsTexture = (GL.Delegates.IsTexture)GetAddress("glIsTexture", typeof(GL.Delegates.IsTexture)); - GL.PrioritizeTextures_ = (GL.Delegates.PrioritizeTextures_)GetAddress("glPrioritizeTextures", typeof(GL.Delegates.PrioritizeTextures_)); - GL.Indexub = (GL.Delegates.Indexub)GetAddress("glIndexub", typeof(GL.Delegates.Indexub)); - GL.Indexubv_ = (GL.Delegates.Indexubv_)GetAddress("glIndexubv", typeof(GL.Delegates.Indexubv_)); - GL.PopClientAttrib = (GL.Delegates.PopClientAttrib)GetAddress("glPopClientAttrib", typeof(GL.Delegates.PopClientAttrib)); - GL.PushClientAttrib = (GL.Delegates.PushClientAttrib)GetAddress("glPushClientAttrib", typeof(GL.Delegates.PushClientAttrib)); - GL.BlendColor = (GL.Delegates.BlendColor)GetAddress("glBlendColor", typeof(GL.Delegates.BlendColor)); - GL.BlendEquation = (GL.Delegates.BlendEquation)GetAddress("glBlendEquation", typeof(GL.Delegates.BlendEquation)); - GL.DrawRangeElements_ = (GL.Delegates.DrawRangeElements_)GetAddress("glDrawRangeElements", typeof(GL.Delegates.DrawRangeElements_)); - GL.ColorTable_ = (GL.Delegates.ColorTable_)GetAddress("glColorTable", typeof(GL.Delegates.ColorTable_)); - GL.ColorTableParameterfv_ = (GL.Delegates.ColorTableParameterfv_)GetAddress("glColorTableParameterfv", typeof(GL.Delegates.ColorTableParameterfv_)); - GL.ColorTableParameteriv_ = (GL.Delegates.ColorTableParameteriv_)GetAddress("glColorTableParameteriv", typeof(GL.Delegates.ColorTableParameteriv_)); - GL.CopyColorTable = (GL.Delegates.CopyColorTable)GetAddress("glCopyColorTable", typeof(GL.Delegates.CopyColorTable)); - GL.GetColorTable_ = (GL.Delegates.GetColorTable_)GetAddress("glGetColorTable", typeof(GL.Delegates.GetColorTable_)); - GL.GetColorTableParameterfv = (GL.Delegates.GetColorTableParameterfv)GetAddress("glGetColorTableParameterfv", typeof(GL.Delegates.GetColorTableParameterfv)); - GL.GetColorTableParameteriv = (GL.Delegates.GetColorTableParameteriv)GetAddress("glGetColorTableParameteriv", typeof(GL.Delegates.GetColorTableParameteriv)); - GL.ColorSubTable_ = (GL.Delegates.ColorSubTable_)GetAddress("glColorSubTable", typeof(GL.Delegates.ColorSubTable_)); - GL.CopyColorSubTable = (GL.Delegates.CopyColorSubTable)GetAddress("glCopyColorSubTable", typeof(GL.Delegates.CopyColorSubTable)); - GL.ConvolutionFilter1D_ = (GL.Delegates.ConvolutionFilter1D_)GetAddress("glConvolutionFilter1D", typeof(GL.Delegates.ConvolutionFilter1D_)); - GL.ConvolutionFilter2D_ = (GL.Delegates.ConvolutionFilter2D_)GetAddress("glConvolutionFilter2D", typeof(GL.Delegates.ConvolutionFilter2D_)); - GL.ConvolutionParameterf = (GL.Delegates.ConvolutionParameterf)GetAddress("glConvolutionParameterf", typeof(GL.Delegates.ConvolutionParameterf)); - GL.ConvolutionParameterfv_ = (GL.Delegates.ConvolutionParameterfv_)GetAddress("glConvolutionParameterfv", typeof(GL.Delegates.ConvolutionParameterfv_)); - GL.ConvolutionParameteri = (GL.Delegates.ConvolutionParameteri)GetAddress("glConvolutionParameteri", typeof(GL.Delegates.ConvolutionParameteri)); - GL.ConvolutionParameteriv_ = (GL.Delegates.ConvolutionParameteriv_)GetAddress("glConvolutionParameteriv", typeof(GL.Delegates.ConvolutionParameteriv_)); - GL.CopyConvolutionFilter1D = (GL.Delegates.CopyConvolutionFilter1D)GetAddress("glCopyConvolutionFilter1D", typeof(GL.Delegates.CopyConvolutionFilter1D)); - GL.CopyConvolutionFilter2D = (GL.Delegates.CopyConvolutionFilter2D)GetAddress("glCopyConvolutionFilter2D", typeof(GL.Delegates.CopyConvolutionFilter2D)); - GL.GetConvolutionFilter_ = (GL.Delegates.GetConvolutionFilter_)GetAddress("glGetConvolutionFilter", typeof(GL.Delegates.GetConvolutionFilter_)); - GL.GetConvolutionParameterfv = (GL.Delegates.GetConvolutionParameterfv)GetAddress("glGetConvolutionParameterfv", typeof(GL.Delegates.GetConvolutionParameterfv)); - GL.GetConvolutionParameteriv = (GL.Delegates.GetConvolutionParameteriv)GetAddress("glGetConvolutionParameteriv", typeof(GL.Delegates.GetConvolutionParameteriv)); - GL.GetSeparableFilter_ = (GL.Delegates.GetSeparableFilter_)GetAddress("glGetSeparableFilter", typeof(GL.Delegates.GetSeparableFilter_)); - GL.SeparableFilter2D_ = (GL.Delegates.SeparableFilter2D_)GetAddress("glSeparableFilter2D", typeof(GL.Delegates.SeparableFilter2D_)); - GL.GetHistogram_ = (GL.Delegates.GetHistogram_)GetAddress("glGetHistogram", typeof(GL.Delegates.GetHistogram_)); - GL.GetHistogramParameterfv = (GL.Delegates.GetHistogramParameterfv)GetAddress("glGetHistogramParameterfv", typeof(GL.Delegates.GetHistogramParameterfv)); - GL.GetHistogramParameteriv = (GL.Delegates.GetHistogramParameteriv)GetAddress("glGetHistogramParameteriv", typeof(GL.Delegates.GetHistogramParameteriv)); - GL.GetMinmax_ = (GL.Delegates.GetMinmax_)GetAddress("glGetMinmax", typeof(GL.Delegates.GetMinmax_)); - GL.GetMinmaxParameterfv = (GL.Delegates.GetMinmaxParameterfv)GetAddress("glGetMinmaxParameterfv", typeof(GL.Delegates.GetMinmaxParameterfv)); - GL.GetMinmaxParameteriv = (GL.Delegates.GetMinmaxParameteriv)GetAddress("glGetMinmaxParameteriv", typeof(GL.Delegates.GetMinmaxParameteriv)); - GL.Histogram = (GL.Delegates.Histogram)GetAddress("glHistogram", typeof(GL.Delegates.Histogram)); - GL.Minmax = (GL.Delegates.Minmax)GetAddress("glMinmax", typeof(GL.Delegates.Minmax)); - GL.ResetHistogram = (GL.Delegates.ResetHistogram)GetAddress("glResetHistogram", typeof(GL.Delegates.ResetHistogram)); - GL.ResetMinmax = (GL.Delegates.ResetMinmax)GetAddress("glResetMinmax", typeof(GL.Delegates.ResetMinmax)); - GL.TexImage3D = (GL.Delegates.TexImage3D)GetAddress("glTexImage3D", typeof(GL.Delegates.TexImage3D)); - GL.TexSubImage3D = (GL.Delegates.TexSubImage3D)GetAddress("glTexSubImage3D", typeof(GL.Delegates.TexSubImage3D)); - GL.CopyTexSubImage3D = (GL.Delegates.CopyTexSubImage3D)GetAddress("glCopyTexSubImage3D", typeof(GL.Delegates.CopyTexSubImage3D)); - GL.ActiveTexture = (GL.Delegates.ActiveTexture)GetAddress("glActiveTexture", typeof(GL.Delegates.ActiveTexture)); - GL.ClientActiveTexture = (GL.Delegates.ClientActiveTexture)GetAddress("glClientActiveTexture", typeof(GL.Delegates.ClientActiveTexture)); - GL.MultiTexCoord1d = (GL.Delegates.MultiTexCoord1d)GetAddress("glMultiTexCoord1d", typeof(GL.Delegates.MultiTexCoord1d)); - GL.MultiTexCoord1dv_ = (GL.Delegates.MultiTexCoord1dv_)GetAddress("glMultiTexCoord1dv", typeof(GL.Delegates.MultiTexCoord1dv_)); - GL.MultiTexCoord1f = (GL.Delegates.MultiTexCoord1f)GetAddress("glMultiTexCoord1f", typeof(GL.Delegates.MultiTexCoord1f)); - GL.MultiTexCoord1fv_ = (GL.Delegates.MultiTexCoord1fv_)GetAddress("glMultiTexCoord1fv", typeof(GL.Delegates.MultiTexCoord1fv_)); - GL.MultiTexCoord1i = (GL.Delegates.MultiTexCoord1i)GetAddress("glMultiTexCoord1i", typeof(GL.Delegates.MultiTexCoord1i)); - GL.MultiTexCoord1iv_ = (GL.Delegates.MultiTexCoord1iv_)GetAddress("glMultiTexCoord1iv", typeof(GL.Delegates.MultiTexCoord1iv_)); - GL.MultiTexCoord1s = (GL.Delegates.MultiTexCoord1s)GetAddress("glMultiTexCoord1s", typeof(GL.Delegates.MultiTexCoord1s)); - GL.MultiTexCoord1sv_ = (GL.Delegates.MultiTexCoord1sv_)GetAddress("glMultiTexCoord1sv", typeof(GL.Delegates.MultiTexCoord1sv_)); - GL.MultiTexCoord2d = (GL.Delegates.MultiTexCoord2d)GetAddress("glMultiTexCoord2d", typeof(GL.Delegates.MultiTexCoord2d)); - GL.MultiTexCoord2dv_ = (GL.Delegates.MultiTexCoord2dv_)GetAddress("glMultiTexCoord2dv", typeof(GL.Delegates.MultiTexCoord2dv_)); - GL.MultiTexCoord2f = (GL.Delegates.MultiTexCoord2f)GetAddress("glMultiTexCoord2f", typeof(GL.Delegates.MultiTexCoord2f)); - GL.MultiTexCoord2fv_ = (GL.Delegates.MultiTexCoord2fv_)GetAddress("glMultiTexCoord2fv", typeof(GL.Delegates.MultiTexCoord2fv_)); - GL.MultiTexCoord2i = (GL.Delegates.MultiTexCoord2i)GetAddress("glMultiTexCoord2i", typeof(GL.Delegates.MultiTexCoord2i)); - GL.MultiTexCoord2iv_ = (GL.Delegates.MultiTexCoord2iv_)GetAddress("glMultiTexCoord2iv", typeof(GL.Delegates.MultiTexCoord2iv_)); - GL.MultiTexCoord2s = (GL.Delegates.MultiTexCoord2s)GetAddress("glMultiTexCoord2s", typeof(GL.Delegates.MultiTexCoord2s)); - GL.MultiTexCoord2sv_ = (GL.Delegates.MultiTexCoord2sv_)GetAddress("glMultiTexCoord2sv", typeof(GL.Delegates.MultiTexCoord2sv_)); - GL.MultiTexCoord3d = (GL.Delegates.MultiTexCoord3d)GetAddress("glMultiTexCoord3d", typeof(GL.Delegates.MultiTexCoord3d)); - GL.MultiTexCoord3dv_ = (GL.Delegates.MultiTexCoord3dv_)GetAddress("glMultiTexCoord3dv", typeof(GL.Delegates.MultiTexCoord3dv_)); - GL.MultiTexCoord3f = (GL.Delegates.MultiTexCoord3f)GetAddress("glMultiTexCoord3f", typeof(GL.Delegates.MultiTexCoord3f)); - GL.MultiTexCoord3fv_ = (GL.Delegates.MultiTexCoord3fv_)GetAddress("glMultiTexCoord3fv", typeof(GL.Delegates.MultiTexCoord3fv_)); - GL.MultiTexCoord3i = (GL.Delegates.MultiTexCoord3i)GetAddress("glMultiTexCoord3i", typeof(GL.Delegates.MultiTexCoord3i)); - GL.MultiTexCoord3iv_ = (GL.Delegates.MultiTexCoord3iv_)GetAddress("glMultiTexCoord3iv", typeof(GL.Delegates.MultiTexCoord3iv_)); - GL.MultiTexCoord3s = (GL.Delegates.MultiTexCoord3s)GetAddress("glMultiTexCoord3s", typeof(GL.Delegates.MultiTexCoord3s)); - GL.MultiTexCoord3sv_ = (GL.Delegates.MultiTexCoord3sv_)GetAddress("glMultiTexCoord3sv", typeof(GL.Delegates.MultiTexCoord3sv_)); - GL.MultiTexCoord4d = (GL.Delegates.MultiTexCoord4d)GetAddress("glMultiTexCoord4d", typeof(GL.Delegates.MultiTexCoord4d)); - GL.MultiTexCoord4dv_ = (GL.Delegates.MultiTexCoord4dv_)GetAddress("glMultiTexCoord4dv", typeof(GL.Delegates.MultiTexCoord4dv_)); - GL.MultiTexCoord4f = (GL.Delegates.MultiTexCoord4f)GetAddress("glMultiTexCoord4f", typeof(GL.Delegates.MultiTexCoord4f)); - GL.MultiTexCoord4fv_ = (GL.Delegates.MultiTexCoord4fv_)GetAddress("glMultiTexCoord4fv", typeof(GL.Delegates.MultiTexCoord4fv_)); - GL.MultiTexCoord4i = (GL.Delegates.MultiTexCoord4i)GetAddress("glMultiTexCoord4i", typeof(GL.Delegates.MultiTexCoord4i)); - GL.MultiTexCoord4iv_ = (GL.Delegates.MultiTexCoord4iv_)GetAddress("glMultiTexCoord4iv", typeof(GL.Delegates.MultiTexCoord4iv_)); - GL.MultiTexCoord4s = (GL.Delegates.MultiTexCoord4s)GetAddress("glMultiTexCoord4s", typeof(GL.Delegates.MultiTexCoord4s)); - GL.MultiTexCoord4sv_ = (GL.Delegates.MultiTexCoord4sv_)GetAddress("glMultiTexCoord4sv", typeof(GL.Delegates.MultiTexCoord4sv_)); - GL.LoadTransposeMatrixf_ = (GL.Delegates.LoadTransposeMatrixf_)GetAddress("glLoadTransposeMatrixf", typeof(GL.Delegates.LoadTransposeMatrixf_)); - GL.LoadTransposeMatrixd_ = (GL.Delegates.LoadTransposeMatrixd_)GetAddress("glLoadTransposeMatrixd", typeof(GL.Delegates.LoadTransposeMatrixd_)); - GL.MultTransposeMatrixf_ = (GL.Delegates.MultTransposeMatrixf_)GetAddress("glMultTransposeMatrixf", typeof(GL.Delegates.MultTransposeMatrixf_)); - GL.MultTransposeMatrixd_ = (GL.Delegates.MultTransposeMatrixd_)GetAddress("glMultTransposeMatrixd", typeof(GL.Delegates.MultTransposeMatrixd_)); - GL.SampleCoverage = (GL.Delegates.SampleCoverage)GetAddress("glSampleCoverage", typeof(GL.Delegates.SampleCoverage)); - GL.CompressedTexImage3D = (GL.Delegates.CompressedTexImage3D)GetAddress("glCompressedTexImage3D", typeof(GL.Delegates.CompressedTexImage3D)); - GL.CompressedTexImage2D = (GL.Delegates.CompressedTexImage2D)GetAddress("glCompressedTexImage2D", typeof(GL.Delegates.CompressedTexImage2D)); - GL.CompressedTexImage1D = (GL.Delegates.CompressedTexImage1D)GetAddress("glCompressedTexImage1D", typeof(GL.Delegates.CompressedTexImage1D)); - GL.CompressedTexSubImage3D = (GL.Delegates.CompressedTexSubImage3D)GetAddress("glCompressedTexSubImage3D", typeof(GL.Delegates.CompressedTexSubImage3D)); - GL.CompressedTexSubImage2D = (GL.Delegates.CompressedTexSubImage2D)GetAddress("glCompressedTexSubImage2D", typeof(GL.Delegates.CompressedTexSubImage2D)); - GL.CompressedTexSubImage1D = (GL.Delegates.CompressedTexSubImage1D)GetAddress("glCompressedTexSubImage1D", typeof(GL.Delegates.CompressedTexSubImage1D)); - GL.GetCompressedTexImage = (GL.Delegates.GetCompressedTexImage)GetAddress("glGetCompressedTexImage", typeof(GL.Delegates.GetCompressedTexImage)); - GL.BlendFuncSeparate = (GL.Delegates.BlendFuncSeparate)GetAddress("glBlendFuncSeparate", typeof(GL.Delegates.BlendFuncSeparate)); - GL.FogCoordf = (GL.Delegates.FogCoordf)GetAddress("glFogCoordf", typeof(GL.Delegates.FogCoordf)); - GL.FogCoordfv_ = (GL.Delegates.FogCoordfv_)GetAddress("glFogCoordfv", typeof(GL.Delegates.FogCoordfv_)); - GL.FogCoordd = (GL.Delegates.FogCoordd)GetAddress("glFogCoordd", typeof(GL.Delegates.FogCoordd)); - GL.FogCoorddv_ = (GL.Delegates.FogCoorddv_)GetAddress("glFogCoorddv", typeof(GL.Delegates.FogCoorddv_)); - GL.FogCoordPointer_ = (GL.Delegates.FogCoordPointer_)GetAddress("glFogCoordPointer", typeof(GL.Delegates.FogCoordPointer_)); - GL.MultiDrawArrays = (GL.Delegates.MultiDrawArrays)GetAddress("glMultiDrawArrays", typeof(GL.Delegates.MultiDrawArrays)); - GL.MultiDrawElements_ = (GL.Delegates.MultiDrawElements_)GetAddress("glMultiDrawElements", typeof(GL.Delegates.MultiDrawElements_)); - GL.PointParameterf = (GL.Delegates.PointParameterf)GetAddress("glPointParameterf", typeof(GL.Delegates.PointParameterf)); - GL.PointParameterfv_ = (GL.Delegates.PointParameterfv_)GetAddress("glPointParameterfv", typeof(GL.Delegates.PointParameterfv_)); - GL.PointParameteri = (GL.Delegates.PointParameteri)GetAddress("glPointParameteri", typeof(GL.Delegates.PointParameteri)); - GL.PointParameteriv_ = (GL.Delegates.PointParameteriv_)GetAddress("glPointParameteriv", typeof(GL.Delegates.PointParameteriv_)); - GL.SecondaryColor3b = (GL.Delegates.SecondaryColor3b)GetAddress("glSecondaryColor3b", typeof(GL.Delegates.SecondaryColor3b)); - GL.SecondaryColor3bv_ = (GL.Delegates.SecondaryColor3bv_)GetAddress("glSecondaryColor3bv", typeof(GL.Delegates.SecondaryColor3bv_)); - GL.SecondaryColor3d = (GL.Delegates.SecondaryColor3d)GetAddress("glSecondaryColor3d", typeof(GL.Delegates.SecondaryColor3d)); - GL.SecondaryColor3dv_ = (GL.Delegates.SecondaryColor3dv_)GetAddress("glSecondaryColor3dv", typeof(GL.Delegates.SecondaryColor3dv_)); - GL.SecondaryColor3f = (GL.Delegates.SecondaryColor3f)GetAddress("glSecondaryColor3f", typeof(GL.Delegates.SecondaryColor3f)); - GL.SecondaryColor3fv_ = (GL.Delegates.SecondaryColor3fv_)GetAddress("glSecondaryColor3fv", typeof(GL.Delegates.SecondaryColor3fv_)); - GL.SecondaryColor3i = (GL.Delegates.SecondaryColor3i)GetAddress("glSecondaryColor3i", typeof(GL.Delegates.SecondaryColor3i)); - GL.SecondaryColor3iv_ = (GL.Delegates.SecondaryColor3iv_)GetAddress("glSecondaryColor3iv", typeof(GL.Delegates.SecondaryColor3iv_)); - GL.SecondaryColor3s = (GL.Delegates.SecondaryColor3s)GetAddress("glSecondaryColor3s", typeof(GL.Delegates.SecondaryColor3s)); - GL.SecondaryColor3sv_ = (GL.Delegates.SecondaryColor3sv_)GetAddress("glSecondaryColor3sv", typeof(GL.Delegates.SecondaryColor3sv_)); - GL.SecondaryColor3ub = (GL.Delegates.SecondaryColor3ub)GetAddress("glSecondaryColor3ub", typeof(GL.Delegates.SecondaryColor3ub)); - GL.SecondaryColor3ubv_ = (GL.Delegates.SecondaryColor3ubv_)GetAddress("glSecondaryColor3ubv", typeof(GL.Delegates.SecondaryColor3ubv_)); - GL.SecondaryColor3ui = (GL.Delegates.SecondaryColor3ui)GetAddress("glSecondaryColor3ui", typeof(GL.Delegates.SecondaryColor3ui)); - GL.SecondaryColor3uiv_ = (GL.Delegates.SecondaryColor3uiv_)GetAddress("glSecondaryColor3uiv", typeof(GL.Delegates.SecondaryColor3uiv_)); - GL.SecondaryColor3us = (GL.Delegates.SecondaryColor3us)GetAddress("glSecondaryColor3us", typeof(GL.Delegates.SecondaryColor3us)); - GL.SecondaryColor3usv_ = (GL.Delegates.SecondaryColor3usv_)GetAddress("glSecondaryColor3usv", typeof(GL.Delegates.SecondaryColor3usv_)); - GL.SecondaryColorPointer_ = (GL.Delegates.SecondaryColorPointer_)GetAddress("glSecondaryColorPointer", typeof(GL.Delegates.SecondaryColorPointer_)); - GL.WindowPos2d = (GL.Delegates.WindowPos2d)GetAddress("glWindowPos2d", typeof(GL.Delegates.WindowPos2d)); - GL.WindowPos2dv_ = (GL.Delegates.WindowPos2dv_)GetAddress("glWindowPos2dv", typeof(GL.Delegates.WindowPos2dv_)); - GL.WindowPos2f = (GL.Delegates.WindowPos2f)GetAddress("glWindowPos2f", typeof(GL.Delegates.WindowPos2f)); - GL.WindowPos2fv_ = (GL.Delegates.WindowPos2fv_)GetAddress("glWindowPos2fv", typeof(GL.Delegates.WindowPos2fv_)); - GL.WindowPos2i = (GL.Delegates.WindowPos2i)GetAddress("glWindowPos2i", typeof(GL.Delegates.WindowPos2i)); - GL.WindowPos2iv_ = (GL.Delegates.WindowPos2iv_)GetAddress("glWindowPos2iv", typeof(GL.Delegates.WindowPos2iv_)); - GL.WindowPos2s = (GL.Delegates.WindowPos2s)GetAddress("glWindowPos2s", typeof(GL.Delegates.WindowPos2s)); - GL.WindowPos2sv_ = (GL.Delegates.WindowPos2sv_)GetAddress("glWindowPos2sv", typeof(GL.Delegates.WindowPos2sv_)); - GL.WindowPos3d = (GL.Delegates.WindowPos3d)GetAddress("glWindowPos3d", typeof(GL.Delegates.WindowPos3d)); - GL.WindowPos3dv_ = (GL.Delegates.WindowPos3dv_)GetAddress("glWindowPos3dv", typeof(GL.Delegates.WindowPos3dv_)); - GL.WindowPos3f = (GL.Delegates.WindowPos3f)GetAddress("glWindowPos3f", typeof(GL.Delegates.WindowPos3f)); - GL.WindowPos3fv_ = (GL.Delegates.WindowPos3fv_)GetAddress("glWindowPos3fv", typeof(GL.Delegates.WindowPos3fv_)); - GL.WindowPos3i = (GL.Delegates.WindowPos3i)GetAddress("glWindowPos3i", typeof(GL.Delegates.WindowPos3i)); - GL.WindowPos3iv_ = (GL.Delegates.WindowPos3iv_)GetAddress("glWindowPos3iv", typeof(GL.Delegates.WindowPos3iv_)); - GL.WindowPos3s = (GL.Delegates.WindowPos3s)GetAddress("glWindowPos3s", typeof(GL.Delegates.WindowPos3s)); - GL.WindowPos3sv_ = (GL.Delegates.WindowPos3sv_)GetAddress("glWindowPos3sv", typeof(GL.Delegates.WindowPos3sv_)); - GL.GenQueries = (GL.Delegates.GenQueries)GetAddress("glGenQueries", typeof(GL.Delegates.GenQueries)); - GL.DeleteQueries_ = (GL.Delegates.DeleteQueries_)GetAddress("glDeleteQueries", typeof(GL.Delegates.DeleteQueries_)); - GL.IsQuery = (GL.Delegates.IsQuery)GetAddress("glIsQuery", typeof(GL.Delegates.IsQuery)); - GL.BeginQuery = (GL.Delegates.BeginQuery)GetAddress("glBeginQuery", typeof(GL.Delegates.BeginQuery)); - GL.EndQuery = (GL.Delegates.EndQuery)GetAddress("glEndQuery", typeof(GL.Delegates.EndQuery)); - GL.GetQueryiv = (GL.Delegates.GetQueryiv)GetAddress("glGetQueryiv", typeof(GL.Delegates.GetQueryiv)); - GL.GetQueryObjectiv = (GL.Delegates.GetQueryObjectiv)GetAddress("glGetQueryObjectiv", typeof(GL.Delegates.GetQueryObjectiv)); - GL.GetQueryObjectuiv = (GL.Delegates.GetQueryObjectuiv)GetAddress("glGetQueryObjectuiv", typeof(GL.Delegates.GetQueryObjectuiv)); - GL.BindBuffer = (GL.Delegates.BindBuffer)GetAddress("glBindBuffer", typeof(GL.Delegates.BindBuffer)); - GL.DeleteBuffers_ = (GL.Delegates.DeleteBuffers_)GetAddress("glDeleteBuffers", typeof(GL.Delegates.DeleteBuffers_)); - GL.GenBuffers = (GL.Delegates.GenBuffers)GetAddress("glGenBuffers", typeof(GL.Delegates.GenBuffers)); - GL.IsBuffer = (GL.Delegates.IsBuffer)GetAddress("glIsBuffer", typeof(GL.Delegates.IsBuffer)); - GL.BufferData_ = (GL.Delegates.BufferData_)GetAddress("glBufferData", typeof(GL.Delegates.BufferData_)); - GL.BufferSubData_ = (GL.Delegates.BufferSubData_)GetAddress("glBufferSubData", typeof(GL.Delegates.BufferSubData_)); - GL.GetBufferSubData_ = (GL.Delegates.GetBufferSubData_)GetAddress("glGetBufferSubData", typeof(GL.Delegates.GetBufferSubData_)); - GL.MapBuffer = (GL.Delegates.MapBuffer)GetAddress("glMapBuffer", typeof(GL.Delegates.MapBuffer)); - GL.UnmapBuffer = (GL.Delegates.UnmapBuffer)GetAddress("glUnmapBuffer", typeof(GL.Delegates.UnmapBuffer)); - GL.GetBufferParameteriv = (GL.Delegates.GetBufferParameteriv)GetAddress("glGetBufferParameteriv", typeof(GL.Delegates.GetBufferParameteriv)); - GL.GetBufferPointerv = (GL.Delegates.GetBufferPointerv)GetAddress("glGetBufferPointerv", typeof(GL.Delegates.GetBufferPointerv)); - GL.BlendEquationSeparate = (GL.Delegates.BlendEquationSeparate)GetAddress("glBlendEquationSeparate", typeof(GL.Delegates.BlendEquationSeparate)); - GL.DrawBuffers_ = (GL.Delegates.DrawBuffers_)GetAddress("glDrawBuffers", typeof(GL.Delegates.DrawBuffers_)); - GL.StencilOpSeparate = (GL.Delegates.StencilOpSeparate)GetAddress("glStencilOpSeparate", typeof(GL.Delegates.StencilOpSeparate)); - GL.StencilFuncSeparate = (GL.Delegates.StencilFuncSeparate)GetAddress("glStencilFuncSeparate", typeof(GL.Delegates.StencilFuncSeparate)); - GL.StencilMaskSeparate = (GL.Delegates.StencilMaskSeparate)GetAddress("glStencilMaskSeparate", typeof(GL.Delegates.StencilMaskSeparate)); - GL.AttachShader = (GL.Delegates.AttachShader)GetAddress("glAttachShader", typeof(GL.Delegates.AttachShader)); - GL.BindAttribLocation_ = (GL.Delegates.BindAttribLocation_)GetAddress("glBindAttribLocation", typeof(GL.Delegates.BindAttribLocation_)); - GL.CompileShader = (GL.Delegates.CompileShader)GetAddress("glCompileShader", typeof(GL.Delegates.CompileShader)); - GL.CreateProgram = (GL.Delegates.CreateProgram)GetAddress("glCreateProgram", typeof(GL.Delegates.CreateProgram)); - GL.CreateShader = (GL.Delegates.CreateShader)GetAddress("glCreateShader", typeof(GL.Delegates.CreateShader)); - GL.DeleteProgram = (GL.Delegates.DeleteProgram)GetAddress("glDeleteProgram", typeof(GL.Delegates.DeleteProgram)); - GL.DeleteShader = (GL.Delegates.DeleteShader)GetAddress("glDeleteShader", typeof(GL.Delegates.DeleteShader)); - GL.DetachShader = (GL.Delegates.DetachShader)GetAddress("glDetachShader", typeof(GL.Delegates.DetachShader)); - GL.DisableVertexAttribArray = (GL.Delegates.DisableVertexAttribArray)GetAddress("glDisableVertexAttribArray", typeof(GL.Delegates.DisableVertexAttribArray)); - GL.EnableVertexAttribArray = (GL.Delegates.EnableVertexAttribArray)GetAddress("glEnableVertexAttribArray", typeof(GL.Delegates.EnableVertexAttribArray)); - GL.GetActiveAttrib = (GL.Delegates.GetActiveAttrib)GetAddress("glGetActiveAttrib", typeof(GL.Delegates.GetActiveAttrib)); - GL.GetActiveUniform = (GL.Delegates.GetActiveUniform)GetAddress("glGetActiveUniform", typeof(GL.Delegates.GetActiveUniform)); - GL.GetAttachedShaders = (GL.Delegates.GetAttachedShaders)GetAddress("glGetAttachedShaders", typeof(GL.Delegates.GetAttachedShaders)); - GL.GetAttribLocation_ = (GL.Delegates.GetAttribLocation_)GetAddress("glGetAttribLocation", typeof(GL.Delegates.GetAttribLocation_)); - GL.GetProgramiv = (GL.Delegates.GetProgramiv)GetAddress("glGetProgramiv", typeof(GL.Delegates.GetProgramiv)); - GL.GetProgramInfoLog = (GL.Delegates.GetProgramInfoLog)GetAddress("glGetProgramInfoLog", typeof(GL.Delegates.GetProgramInfoLog)); - GL.GetShaderiv = (GL.Delegates.GetShaderiv)GetAddress("glGetShaderiv", typeof(GL.Delegates.GetShaderiv)); - GL.GetShaderInfoLog = (GL.Delegates.GetShaderInfoLog)GetAddress("glGetShaderInfoLog", typeof(GL.Delegates.GetShaderInfoLog)); - GL.GetShaderSource = (GL.Delegates.GetShaderSource)GetAddress("glGetShaderSource", typeof(GL.Delegates.GetShaderSource)); - GL.GetUniformLocation_ = (GL.Delegates.GetUniformLocation_)GetAddress("glGetUniformLocation", typeof(GL.Delegates.GetUniformLocation_)); - GL.GetUniformfv = (GL.Delegates.GetUniformfv)GetAddress("glGetUniformfv", typeof(GL.Delegates.GetUniformfv)); - GL.GetUniformiv = (GL.Delegates.GetUniformiv)GetAddress("glGetUniformiv", typeof(GL.Delegates.GetUniformiv)); - GL.GetVertexAttribdv = (GL.Delegates.GetVertexAttribdv)GetAddress("glGetVertexAttribdv", typeof(GL.Delegates.GetVertexAttribdv)); - GL.GetVertexAttribfv = (GL.Delegates.GetVertexAttribfv)GetAddress("glGetVertexAttribfv", typeof(GL.Delegates.GetVertexAttribfv)); - GL.GetVertexAttribiv = (GL.Delegates.GetVertexAttribiv)GetAddress("glGetVertexAttribiv", typeof(GL.Delegates.GetVertexAttribiv)); - GL.GetVertexAttribPointerv = (GL.Delegates.GetVertexAttribPointerv)GetAddress("glGetVertexAttribPointerv", typeof(GL.Delegates.GetVertexAttribPointerv)); - GL.IsProgram = (GL.Delegates.IsProgram)GetAddress("glIsProgram", typeof(GL.Delegates.IsProgram)); - GL.IsShader = (GL.Delegates.IsShader)GetAddress("glIsShader", typeof(GL.Delegates.IsShader)); - GL.LinkProgram = (GL.Delegates.LinkProgram)GetAddress("glLinkProgram", typeof(GL.Delegates.LinkProgram)); - GL.ShaderSource_ = (GL.Delegates.ShaderSource_)GetAddress("glShaderSource", typeof(GL.Delegates.ShaderSource_)); - GL.UseProgram = (GL.Delegates.UseProgram)GetAddress("glUseProgram", typeof(GL.Delegates.UseProgram)); - GL.Uniform1f = (GL.Delegates.Uniform1f)GetAddress("glUniform1f", typeof(GL.Delegates.Uniform1f)); - GL.Uniform2f = (GL.Delegates.Uniform2f)GetAddress("glUniform2f", typeof(GL.Delegates.Uniform2f)); - GL.Uniform3f = (GL.Delegates.Uniform3f)GetAddress("glUniform3f", typeof(GL.Delegates.Uniform3f)); - GL.Uniform4f = (GL.Delegates.Uniform4f)GetAddress("glUniform4f", typeof(GL.Delegates.Uniform4f)); - GL.Uniform1i = (GL.Delegates.Uniform1i)GetAddress("glUniform1i", typeof(GL.Delegates.Uniform1i)); - GL.Uniform2i = (GL.Delegates.Uniform2i)GetAddress("glUniform2i", typeof(GL.Delegates.Uniform2i)); - GL.Uniform3i = (GL.Delegates.Uniform3i)GetAddress("glUniform3i", typeof(GL.Delegates.Uniform3i)); - GL.Uniform4i = (GL.Delegates.Uniform4i)GetAddress("glUniform4i", typeof(GL.Delegates.Uniform4i)); - GL.Uniform1fv_ = (GL.Delegates.Uniform1fv_)GetAddress("glUniform1fv", typeof(GL.Delegates.Uniform1fv_)); - GL.Uniform2fv_ = (GL.Delegates.Uniform2fv_)GetAddress("glUniform2fv", typeof(GL.Delegates.Uniform2fv_)); - GL.Uniform3fv_ = (GL.Delegates.Uniform3fv_)GetAddress("glUniform3fv", typeof(GL.Delegates.Uniform3fv_)); - GL.Uniform4fv_ = (GL.Delegates.Uniform4fv_)GetAddress("glUniform4fv", typeof(GL.Delegates.Uniform4fv_)); - GL.Uniform1iv_ = (GL.Delegates.Uniform1iv_)GetAddress("glUniform1iv", typeof(GL.Delegates.Uniform1iv_)); - GL.Uniform2iv_ = (GL.Delegates.Uniform2iv_)GetAddress("glUniform2iv", typeof(GL.Delegates.Uniform2iv_)); - GL.Uniform3iv_ = (GL.Delegates.Uniform3iv_)GetAddress("glUniform3iv", typeof(GL.Delegates.Uniform3iv_)); - GL.Uniform4iv_ = (GL.Delegates.Uniform4iv_)GetAddress("glUniform4iv", typeof(GL.Delegates.Uniform4iv_)); - GL.UniformMatrix2fv_ = (GL.Delegates.UniformMatrix2fv_)GetAddress("glUniformMatrix2fv", typeof(GL.Delegates.UniformMatrix2fv_)); - GL.UniformMatrix3fv_ = (GL.Delegates.UniformMatrix3fv_)GetAddress("glUniformMatrix3fv", typeof(GL.Delegates.UniformMatrix3fv_)); - GL.UniformMatrix4fv_ = (GL.Delegates.UniformMatrix4fv_)GetAddress("glUniformMatrix4fv", typeof(GL.Delegates.UniformMatrix4fv_)); - GL.ValidateProgram = (GL.Delegates.ValidateProgram)GetAddress("glValidateProgram", typeof(GL.Delegates.ValidateProgram)); - GL.VertexAttrib1d = (GL.Delegates.VertexAttrib1d)GetAddress("glVertexAttrib1d", typeof(GL.Delegates.VertexAttrib1d)); - GL.VertexAttrib1dv_ = (GL.Delegates.VertexAttrib1dv_)GetAddress("glVertexAttrib1dv", typeof(GL.Delegates.VertexAttrib1dv_)); - GL.VertexAttrib1f = (GL.Delegates.VertexAttrib1f)GetAddress("glVertexAttrib1f", typeof(GL.Delegates.VertexAttrib1f)); - GL.VertexAttrib1fv_ = (GL.Delegates.VertexAttrib1fv_)GetAddress("glVertexAttrib1fv", typeof(GL.Delegates.VertexAttrib1fv_)); - GL.VertexAttrib1s = (GL.Delegates.VertexAttrib1s)GetAddress("glVertexAttrib1s", typeof(GL.Delegates.VertexAttrib1s)); - GL.VertexAttrib1sv_ = (GL.Delegates.VertexAttrib1sv_)GetAddress("glVertexAttrib1sv", typeof(GL.Delegates.VertexAttrib1sv_)); - GL.VertexAttrib2d = (GL.Delegates.VertexAttrib2d)GetAddress("glVertexAttrib2d", typeof(GL.Delegates.VertexAttrib2d)); - GL.VertexAttrib2dv_ = (GL.Delegates.VertexAttrib2dv_)GetAddress("glVertexAttrib2dv", typeof(GL.Delegates.VertexAttrib2dv_)); - GL.VertexAttrib2f = (GL.Delegates.VertexAttrib2f)GetAddress("glVertexAttrib2f", typeof(GL.Delegates.VertexAttrib2f)); - GL.VertexAttrib2fv_ = (GL.Delegates.VertexAttrib2fv_)GetAddress("glVertexAttrib2fv", typeof(GL.Delegates.VertexAttrib2fv_)); - GL.VertexAttrib2s = (GL.Delegates.VertexAttrib2s)GetAddress("glVertexAttrib2s", typeof(GL.Delegates.VertexAttrib2s)); - GL.VertexAttrib2sv_ = (GL.Delegates.VertexAttrib2sv_)GetAddress("glVertexAttrib2sv", typeof(GL.Delegates.VertexAttrib2sv_)); - GL.VertexAttrib3d = (GL.Delegates.VertexAttrib3d)GetAddress("glVertexAttrib3d", typeof(GL.Delegates.VertexAttrib3d)); - GL.VertexAttrib3dv_ = (GL.Delegates.VertexAttrib3dv_)GetAddress("glVertexAttrib3dv", typeof(GL.Delegates.VertexAttrib3dv_)); - GL.VertexAttrib3f = (GL.Delegates.VertexAttrib3f)GetAddress("glVertexAttrib3f", typeof(GL.Delegates.VertexAttrib3f)); - GL.VertexAttrib3fv_ = (GL.Delegates.VertexAttrib3fv_)GetAddress("glVertexAttrib3fv", typeof(GL.Delegates.VertexAttrib3fv_)); - GL.VertexAttrib3s = (GL.Delegates.VertexAttrib3s)GetAddress("glVertexAttrib3s", typeof(GL.Delegates.VertexAttrib3s)); - GL.VertexAttrib3sv_ = (GL.Delegates.VertexAttrib3sv_)GetAddress("glVertexAttrib3sv", typeof(GL.Delegates.VertexAttrib3sv_)); - GL.VertexAttrib4Nbv_ = (GL.Delegates.VertexAttrib4Nbv_)GetAddress("glVertexAttrib4Nbv", typeof(GL.Delegates.VertexAttrib4Nbv_)); - GL.VertexAttrib4Niv_ = (GL.Delegates.VertexAttrib4Niv_)GetAddress("glVertexAttrib4Niv", typeof(GL.Delegates.VertexAttrib4Niv_)); - GL.VertexAttrib4Nsv_ = (GL.Delegates.VertexAttrib4Nsv_)GetAddress("glVertexAttrib4Nsv", typeof(GL.Delegates.VertexAttrib4Nsv_)); - GL.VertexAttrib4Nub = (GL.Delegates.VertexAttrib4Nub)GetAddress("glVertexAttrib4Nub", typeof(GL.Delegates.VertexAttrib4Nub)); - GL.VertexAttrib4Nubv_ = (GL.Delegates.VertexAttrib4Nubv_)GetAddress("glVertexAttrib4Nubv", typeof(GL.Delegates.VertexAttrib4Nubv_)); - GL.VertexAttrib4Nuiv_ = (GL.Delegates.VertexAttrib4Nuiv_)GetAddress("glVertexAttrib4Nuiv", typeof(GL.Delegates.VertexAttrib4Nuiv_)); - GL.VertexAttrib4Nusv_ = (GL.Delegates.VertexAttrib4Nusv_)GetAddress("glVertexAttrib4Nusv", typeof(GL.Delegates.VertexAttrib4Nusv_)); - GL.VertexAttrib4bv_ = (GL.Delegates.VertexAttrib4bv_)GetAddress("glVertexAttrib4bv", typeof(GL.Delegates.VertexAttrib4bv_)); - GL.VertexAttrib4d = (GL.Delegates.VertexAttrib4d)GetAddress("glVertexAttrib4d", typeof(GL.Delegates.VertexAttrib4d)); - GL.VertexAttrib4dv_ = (GL.Delegates.VertexAttrib4dv_)GetAddress("glVertexAttrib4dv", typeof(GL.Delegates.VertexAttrib4dv_)); - GL.VertexAttrib4f = (GL.Delegates.VertexAttrib4f)GetAddress("glVertexAttrib4f", typeof(GL.Delegates.VertexAttrib4f)); - GL.VertexAttrib4fv_ = (GL.Delegates.VertexAttrib4fv_)GetAddress("glVertexAttrib4fv", typeof(GL.Delegates.VertexAttrib4fv_)); - GL.VertexAttrib4iv_ = (GL.Delegates.VertexAttrib4iv_)GetAddress("glVertexAttrib4iv", typeof(GL.Delegates.VertexAttrib4iv_)); - GL.VertexAttrib4s = (GL.Delegates.VertexAttrib4s)GetAddress("glVertexAttrib4s", typeof(GL.Delegates.VertexAttrib4s)); - GL.VertexAttrib4sv_ = (GL.Delegates.VertexAttrib4sv_)GetAddress("glVertexAttrib4sv", typeof(GL.Delegates.VertexAttrib4sv_)); - GL.VertexAttrib4ubv_ = (GL.Delegates.VertexAttrib4ubv_)GetAddress("glVertexAttrib4ubv", typeof(GL.Delegates.VertexAttrib4ubv_)); - GL.VertexAttrib4uiv_ = (GL.Delegates.VertexAttrib4uiv_)GetAddress("glVertexAttrib4uiv", typeof(GL.Delegates.VertexAttrib4uiv_)); - GL.VertexAttrib4usv_ = (GL.Delegates.VertexAttrib4usv_)GetAddress("glVertexAttrib4usv", typeof(GL.Delegates.VertexAttrib4usv_)); - GL.VertexAttribPointer_ = (GL.Delegates.VertexAttribPointer_)GetAddress("glVertexAttribPointer", typeof(GL.Delegates.VertexAttribPointer_)); - GL.ActiveTextureARB = (GL.Delegates.ActiveTextureARB)GetAddress("glActiveTextureARB", typeof(GL.Delegates.ActiveTextureARB)); - GL.ClientActiveTextureARB = (GL.Delegates.ClientActiveTextureARB)GetAddress("glClientActiveTextureARB", typeof(GL.Delegates.ClientActiveTextureARB)); - GL.MultiTexCoord1dARB = (GL.Delegates.MultiTexCoord1dARB)GetAddress("glMultiTexCoord1dARB", typeof(GL.Delegates.MultiTexCoord1dARB)); - GL.MultiTexCoord1dvARB_ = (GL.Delegates.MultiTexCoord1dvARB_)GetAddress("glMultiTexCoord1dvARB", typeof(GL.Delegates.MultiTexCoord1dvARB_)); - GL.MultiTexCoord1fARB = (GL.Delegates.MultiTexCoord1fARB)GetAddress("glMultiTexCoord1fARB", typeof(GL.Delegates.MultiTexCoord1fARB)); - GL.MultiTexCoord1fvARB_ = (GL.Delegates.MultiTexCoord1fvARB_)GetAddress("glMultiTexCoord1fvARB", typeof(GL.Delegates.MultiTexCoord1fvARB_)); - GL.MultiTexCoord1iARB = (GL.Delegates.MultiTexCoord1iARB)GetAddress("glMultiTexCoord1iARB", typeof(GL.Delegates.MultiTexCoord1iARB)); - GL.MultiTexCoord1ivARB_ = (GL.Delegates.MultiTexCoord1ivARB_)GetAddress("glMultiTexCoord1ivARB", typeof(GL.Delegates.MultiTexCoord1ivARB_)); - GL.MultiTexCoord1sARB = (GL.Delegates.MultiTexCoord1sARB)GetAddress("glMultiTexCoord1sARB", typeof(GL.Delegates.MultiTexCoord1sARB)); - GL.MultiTexCoord1svARB_ = (GL.Delegates.MultiTexCoord1svARB_)GetAddress("glMultiTexCoord1svARB", typeof(GL.Delegates.MultiTexCoord1svARB_)); - GL.MultiTexCoord2dARB = (GL.Delegates.MultiTexCoord2dARB)GetAddress("glMultiTexCoord2dARB", typeof(GL.Delegates.MultiTexCoord2dARB)); - GL.MultiTexCoord2dvARB_ = (GL.Delegates.MultiTexCoord2dvARB_)GetAddress("glMultiTexCoord2dvARB", typeof(GL.Delegates.MultiTexCoord2dvARB_)); - GL.MultiTexCoord2fARB = (GL.Delegates.MultiTexCoord2fARB)GetAddress("glMultiTexCoord2fARB", typeof(GL.Delegates.MultiTexCoord2fARB)); - GL.MultiTexCoord2fvARB_ = (GL.Delegates.MultiTexCoord2fvARB_)GetAddress("glMultiTexCoord2fvARB", typeof(GL.Delegates.MultiTexCoord2fvARB_)); - GL.MultiTexCoord2iARB = (GL.Delegates.MultiTexCoord2iARB)GetAddress("glMultiTexCoord2iARB", typeof(GL.Delegates.MultiTexCoord2iARB)); - GL.MultiTexCoord2ivARB_ = (GL.Delegates.MultiTexCoord2ivARB_)GetAddress("glMultiTexCoord2ivARB", typeof(GL.Delegates.MultiTexCoord2ivARB_)); - GL.MultiTexCoord2sARB = (GL.Delegates.MultiTexCoord2sARB)GetAddress("glMultiTexCoord2sARB", typeof(GL.Delegates.MultiTexCoord2sARB)); - GL.MultiTexCoord2svARB_ = (GL.Delegates.MultiTexCoord2svARB_)GetAddress("glMultiTexCoord2svARB", typeof(GL.Delegates.MultiTexCoord2svARB_)); - GL.MultiTexCoord3dARB = (GL.Delegates.MultiTexCoord3dARB)GetAddress("glMultiTexCoord3dARB", typeof(GL.Delegates.MultiTexCoord3dARB)); - GL.MultiTexCoord3dvARB_ = (GL.Delegates.MultiTexCoord3dvARB_)GetAddress("glMultiTexCoord3dvARB", typeof(GL.Delegates.MultiTexCoord3dvARB_)); - GL.MultiTexCoord3fARB = (GL.Delegates.MultiTexCoord3fARB)GetAddress("glMultiTexCoord3fARB", typeof(GL.Delegates.MultiTexCoord3fARB)); - GL.MultiTexCoord3fvARB_ = (GL.Delegates.MultiTexCoord3fvARB_)GetAddress("glMultiTexCoord3fvARB", typeof(GL.Delegates.MultiTexCoord3fvARB_)); - GL.MultiTexCoord3iARB = (GL.Delegates.MultiTexCoord3iARB)GetAddress("glMultiTexCoord3iARB", typeof(GL.Delegates.MultiTexCoord3iARB)); - GL.MultiTexCoord3ivARB_ = (GL.Delegates.MultiTexCoord3ivARB_)GetAddress("glMultiTexCoord3ivARB", typeof(GL.Delegates.MultiTexCoord3ivARB_)); - GL.MultiTexCoord3sARB = (GL.Delegates.MultiTexCoord3sARB)GetAddress("glMultiTexCoord3sARB", typeof(GL.Delegates.MultiTexCoord3sARB)); - GL.MultiTexCoord3svARB_ = (GL.Delegates.MultiTexCoord3svARB_)GetAddress("glMultiTexCoord3svARB", typeof(GL.Delegates.MultiTexCoord3svARB_)); - GL.MultiTexCoord4dARB = (GL.Delegates.MultiTexCoord4dARB)GetAddress("glMultiTexCoord4dARB", typeof(GL.Delegates.MultiTexCoord4dARB)); - GL.MultiTexCoord4dvARB_ = (GL.Delegates.MultiTexCoord4dvARB_)GetAddress("glMultiTexCoord4dvARB", typeof(GL.Delegates.MultiTexCoord4dvARB_)); - GL.MultiTexCoord4fARB = (GL.Delegates.MultiTexCoord4fARB)GetAddress("glMultiTexCoord4fARB", typeof(GL.Delegates.MultiTexCoord4fARB)); - GL.MultiTexCoord4fvARB_ = (GL.Delegates.MultiTexCoord4fvARB_)GetAddress("glMultiTexCoord4fvARB", typeof(GL.Delegates.MultiTexCoord4fvARB_)); - GL.MultiTexCoord4iARB = (GL.Delegates.MultiTexCoord4iARB)GetAddress("glMultiTexCoord4iARB", typeof(GL.Delegates.MultiTexCoord4iARB)); - GL.MultiTexCoord4ivARB_ = (GL.Delegates.MultiTexCoord4ivARB_)GetAddress("glMultiTexCoord4ivARB", typeof(GL.Delegates.MultiTexCoord4ivARB_)); - GL.MultiTexCoord4sARB = (GL.Delegates.MultiTexCoord4sARB)GetAddress("glMultiTexCoord4sARB", typeof(GL.Delegates.MultiTexCoord4sARB)); - GL.MultiTexCoord4svARB_ = (GL.Delegates.MultiTexCoord4svARB_)GetAddress("glMultiTexCoord4svARB", typeof(GL.Delegates.MultiTexCoord4svARB_)); - GL.LoadTransposeMatrixfARB_ = (GL.Delegates.LoadTransposeMatrixfARB_)GetAddress("glLoadTransposeMatrixfARB", typeof(GL.Delegates.LoadTransposeMatrixfARB_)); - GL.LoadTransposeMatrixdARB_ = (GL.Delegates.LoadTransposeMatrixdARB_)GetAddress("glLoadTransposeMatrixdARB", typeof(GL.Delegates.LoadTransposeMatrixdARB_)); - GL.MultTransposeMatrixfARB_ = (GL.Delegates.MultTransposeMatrixfARB_)GetAddress("glMultTransposeMatrixfARB", typeof(GL.Delegates.MultTransposeMatrixfARB_)); - GL.MultTransposeMatrixdARB_ = (GL.Delegates.MultTransposeMatrixdARB_)GetAddress("glMultTransposeMatrixdARB", typeof(GL.Delegates.MultTransposeMatrixdARB_)); - GL.SampleCoverageARB = (GL.Delegates.SampleCoverageARB)GetAddress("glSampleCoverageARB", typeof(GL.Delegates.SampleCoverageARB)); - GL.CompressedTexImage3DARB = (GL.Delegates.CompressedTexImage3DARB)GetAddress("glCompressedTexImage3DARB", typeof(GL.Delegates.CompressedTexImage3DARB)); - GL.CompressedTexImage2DARB = (GL.Delegates.CompressedTexImage2DARB)GetAddress("glCompressedTexImage2DARB", typeof(GL.Delegates.CompressedTexImage2DARB)); - GL.CompressedTexImage1DARB = (GL.Delegates.CompressedTexImage1DARB)GetAddress("glCompressedTexImage1DARB", typeof(GL.Delegates.CompressedTexImage1DARB)); - GL.CompressedTexSubImage3DARB = (GL.Delegates.CompressedTexSubImage3DARB)GetAddress("glCompressedTexSubImage3DARB", typeof(GL.Delegates.CompressedTexSubImage3DARB)); - GL.CompressedTexSubImage2DARB = (GL.Delegates.CompressedTexSubImage2DARB)GetAddress("glCompressedTexSubImage2DARB", typeof(GL.Delegates.CompressedTexSubImage2DARB)); - GL.CompressedTexSubImage1DARB = (GL.Delegates.CompressedTexSubImage1DARB)GetAddress("glCompressedTexSubImage1DARB", typeof(GL.Delegates.CompressedTexSubImage1DARB)); - GL.GetCompressedTexImageARB = (GL.Delegates.GetCompressedTexImageARB)GetAddress("glGetCompressedTexImageARB", typeof(GL.Delegates.GetCompressedTexImageARB)); - GL.PointParameterfARB = (GL.Delegates.PointParameterfARB)GetAddress("glPointParameterfARB", typeof(GL.Delegates.PointParameterfARB)); - GL.PointParameterfvARB_ = (GL.Delegates.PointParameterfvARB_)GetAddress("glPointParameterfvARB", typeof(GL.Delegates.PointParameterfvARB_)); - GL.WeightbvARB_ = (GL.Delegates.WeightbvARB_)GetAddress("glWeightbvARB", typeof(GL.Delegates.WeightbvARB_)); - GL.WeightsvARB_ = (GL.Delegates.WeightsvARB_)GetAddress("glWeightsvARB", typeof(GL.Delegates.WeightsvARB_)); - GL.WeightivARB_ = (GL.Delegates.WeightivARB_)GetAddress("glWeightivARB", typeof(GL.Delegates.WeightivARB_)); - GL.WeightfvARB_ = (GL.Delegates.WeightfvARB_)GetAddress("glWeightfvARB", typeof(GL.Delegates.WeightfvARB_)); - GL.WeightdvARB_ = (GL.Delegates.WeightdvARB_)GetAddress("glWeightdvARB", typeof(GL.Delegates.WeightdvARB_)); - GL.WeightubvARB_ = (GL.Delegates.WeightubvARB_)GetAddress("glWeightubvARB", typeof(GL.Delegates.WeightubvARB_)); - GL.WeightusvARB_ = (GL.Delegates.WeightusvARB_)GetAddress("glWeightusvARB", typeof(GL.Delegates.WeightusvARB_)); - GL.WeightuivARB_ = (GL.Delegates.WeightuivARB_)GetAddress("glWeightuivARB", typeof(GL.Delegates.WeightuivARB_)); - GL.WeightPointerARB_ = (GL.Delegates.WeightPointerARB_)GetAddress("glWeightPointerARB", typeof(GL.Delegates.WeightPointerARB_)); - GL.VertexBlendARB = (GL.Delegates.VertexBlendARB)GetAddress("glVertexBlendARB", typeof(GL.Delegates.VertexBlendARB)); - GL.CurrentPaletteMatrixARB = (GL.Delegates.CurrentPaletteMatrixARB)GetAddress("glCurrentPaletteMatrixARB", typeof(GL.Delegates.CurrentPaletteMatrixARB)); - GL.MatrixIndexubvARB_ = (GL.Delegates.MatrixIndexubvARB_)GetAddress("glMatrixIndexubvARB", typeof(GL.Delegates.MatrixIndexubvARB_)); - GL.MatrixIndexusvARB_ = (GL.Delegates.MatrixIndexusvARB_)GetAddress("glMatrixIndexusvARB", typeof(GL.Delegates.MatrixIndexusvARB_)); - GL.MatrixIndexuivARB_ = (GL.Delegates.MatrixIndexuivARB_)GetAddress("glMatrixIndexuivARB", typeof(GL.Delegates.MatrixIndexuivARB_)); - GL.MatrixIndexPointerARB_ = (GL.Delegates.MatrixIndexPointerARB_)GetAddress("glMatrixIndexPointerARB", typeof(GL.Delegates.MatrixIndexPointerARB_)); - GL.WindowPos2dARB = (GL.Delegates.WindowPos2dARB)GetAddress("glWindowPos2dARB", typeof(GL.Delegates.WindowPos2dARB)); - GL.WindowPos2dvARB_ = (GL.Delegates.WindowPos2dvARB_)GetAddress("glWindowPos2dvARB", typeof(GL.Delegates.WindowPos2dvARB_)); - GL.WindowPos2fARB = (GL.Delegates.WindowPos2fARB)GetAddress("glWindowPos2fARB", typeof(GL.Delegates.WindowPos2fARB)); - GL.WindowPos2fvARB_ = (GL.Delegates.WindowPos2fvARB_)GetAddress("glWindowPos2fvARB", typeof(GL.Delegates.WindowPos2fvARB_)); - GL.WindowPos2iARB = (GL.Delegates.WindowPos2iARB)GetAddress("glWindowPos2iARB", typeof(GL.Delegates.WindowPos2iARB)); - GL.WindowPos2ivARB_ = (GL.Delegates.WindowPos2ivARB_)GetAddress("glWindowPos2ivARB", typeof(GL.Delegates.WindowPos2ivARB_)); - GL.WindowPos2sARB = (GL.Delegates.WindowPos2sARB)GetAddress("glWindowPos2sARB", typeof(GL.Delegates.WindowPos2sARB)); - GL.WindowPos2svARB_ = (GL.Delegates.WindowPos2svARB_)GetAddress("glWindowPos2svARB", typeof(GL.Delegates.WindowPos2svARB_)); - GL.WindowPos3dARB = (GL.Delegates.WindowPos3dARB)GetAddress("glWindowPos3dARB", typeof(GL.Delegates.WindowPos3dARB)); - GL.WindowPos3dvARB_ = (GL.Delegates.WindowPos3dvARB_)GetAddress("glWindowPos3dvARB", typeof(GL.Delegates.WindowPos3dvARB_)); - GL.WindowPos3fARB = (GL.Delegates.WindowPos3fARB)GetAddress("glWindowPos3fARB", typeof(GL.Delegates.WindowPos3fARB)); - GL.WindowPos3fvARB_ = (GL.Delegates.WindowPos3fvARB_)GetAddress("glWindowPos3fvARB", typeof(GL.Delegates.WindowPos3fvARB_)); - GL.WindowPos3iARB = (GL.Delegates.WindowPos3iARB)GetAddress("glWindowPos3iARB", typeof(GL.Delegates.WindowPos3iARB)); - GL.WindowPos3ivARB_ = (GL.Delegates.WindowPos3ivARB_)GetAddress("glWindowPos3ivARB", typeof(GL.Delegates.WindowPos3ivARB_)); - GL.WindowPos3sARB = (GL.Delegates.WindowPos3sARB)GetAddress("glWindowPos3sARB", typeof(GL.Delegates.WindowPos3sARB)); - GL.WindowPos3svARB_ = (GL.Delegates.WindowPos3svARB_)GetAddress("glWindowPos3svARB", typeof(GL.Delegates.WindowPos3svARB_)); - GL.VertexAttrib1dARB = (GL.Delegates.VertexAttrib1dARB)GetAddress("glVertexAttrib1dARB", typeof(GL.Delegates.VertexAttrib1dARB)); - GL.VertexAttrib1dvARB_ = (GL.Delegates.VertexAttrib1dvARB_)GetAddress("glVertexAttrib1dvARB", typeof(GL.Delegates.VertexAttrib1dvARB_)); - GL.VertexAttrib1fARB = (GL.Delegates.VertexAttrib1fARB)GetAddress("glVertexAttrib1fARB", typeof(GL.Delegates.VertexAttrib1fARB)); - GL.VertexAttrib1fvARB_ = (GL.Delegates.VertexAttrib1fvARB_)GetAddress("glVertexAttrib1fvARB", typeof(GL.Delegates.VertexAttrib1fvARB_)); - GL.VertexAttrib1sARB = (GL.Delegates.VertexAttrib1sARB)GetAddress("glVertexAttrib1sARB", typeof(GL.Delegates.VertexAttrib1sARB)); - GL.VertexAttrib1svARB_ = (GL.Delegates.VertexAttrib1svARB_)GetAddress("glVertexAttrib1svARB", typeof(GL.Delegates.VertexAttrib1svARB_)); - GL.VertexAttrib2dARB = (GL.Delegates.VertexAttrib2dARB)GetAddress("glVertexAttrib2dARB", typeof(GL.Delegates.VertexAttrib2dARB)); - GL.VertexAttrib2dvARB_ = (GL.Delegates.VertexAttrib2dvARB_)GetAddress("glVertexAttrib2dvARB", typeof(GL.Delegates.VertexAttrib2dvARB_)); - GL.VertexAttrib2fARB = (GL.Delegates.VertexAttrib2fARB)GetAddress("glVertexAttrib2fARB", typeof(GL.Delegates.VertexAttrib2fARB)); - GL.VertexAttrib2fvARB_ = (GL.Delegates.VertexAttrib2fvARB_)GetAddress("glVertexAttrib2fvARB", typeof(GL.Delegates.VertexAttrib2fvARB_)); - GL.VertexAttrib2sARB = (GL.Delegates.VertexAttrib2sARB)GetAddress("glVertexAttrib2sARB", typeof(GL.Delegates.VertexAttrib2sARB)); - GL.VertexAttrib2svARB_ = (GL.Delegates.VertexAttrib2svARB_)GetAddress("glVertexAttrib2svARB", typeof(GL.Delegates.VertexAttrib2svARB_)); - GL.VertexAttrib3dARB = (GL.Delegates.VertexAttrib3dARB)GetAddress("glVertexAttrib3dARB", typeof(GL.Delegates.VertexAttrib3dARB)); - GL.VertexAttrib3dvARB_ = (GL.Delegates.VertexAttrib3dvARB_)GetAddress("glVertexAttrib3dvARB", typeof(GL.Delegates.VertexAttrib3dvARB_)); - GL.VertexAttrib3fARB = (GL.Delegates.VertexAttrib3fARB)GetAddress("glVertexAttrib3fARB", typeof(GL.Delegates.VertexAttrib3fARB)); - GL.VertexAttrib3fvARB_ = (GL.Delegates.VertexAttrib3fvARB_)GetAddress("glVertexAttrib3fvARB", typeof(GL.Delegates.VertexAttrib3fvARB_)); - GL.VertexAttrib3sARB = (GL.Delegates.VertexAttrib3sARB)GetAddress("glVertexAttrib3sARB", typeof(GL.Delegates.VertexAttrib3sARB)); - GL.VertexAttrib3svARB_ = (GL.Delegates.VertexAttrib3svARB_)GetAddress("glVertexAttrib3svARB", typeof(GL.Delegates.VertexAttrib3svARB_)); - GL.VertexAttrib4NbvARB_ = (GL.Delegates.VertexAttrib4NbvARB_)GetAddress("glVertexAttrib4NbvARB", typeof(GL.Delegates.VertexAttrib4NbvARB_)); - GL.VertexAttrib4NivARB_ = (GL.Delegates.VertexAttrib4NivARB_)GetAddress("glVertexAttrib4NivARB", typeof(GL.Delegates.VertexAttrib4NivARB_)); - GL.VertexAttrib4NsvARB_ = (GL.Delegates.VertexAttrib4NsvARB_)GetAddress("glVertexAttrib4NsvARB", typeof(GL.Delegates.VertexAttrib4NsvARB_)); - GL.VertexAttrib4NubARB = (GL.Delegates.VertexAttrib4NubARB)GetAddress("glVertexAttrib4NubARB", typeof(GL.Delegates.VertexAttrib4NubARB)); - GL.VertexAttrib4NubvARB_ = (GL.Delegates.VertexAttrib4NubvARB_)GetAddress("glVertexAttrib4NubvARB", typeof(GL.Delegates.VertexAttrib4NubvARB_)); - GL.VertexAttrib4NuivARB_ = (GL.Delegates.VertexAttrib4NuivARB_)GetAddress("glVertexAttrib4NuivARB", typeof(GL.Delegates.VertexAttrib4NuivARB_)); - GL.VertexAttrib4NusvARB_ = (GL.Delegates.VertexAttrib4NusvARB_)GetAddress("glVertexAttrib4NusvARB", typeof(GL.Delegates.VertexAttrib4NusvARB_)); - GL.VertexAttrib4bvARB_ = (GL.Delegates.VertexAttrib4bvARB_)GetAddress("glVertexAttrib4bvARB", typeof(GL.Delegates.VertexAttrib4bvARB_)); - GL.VertexAttrib4dARB = (GL.Delegates.VertexAttrib4dARB)GetAddress("glVertexAttrib4dARB", typeof(GL.Delegates.VertexAttrib4dARB)); - GL.VertexAttrib4dvARB_ = (GL.Delegates.VertexAttrib4dvARB_)GetAddress("glVertexAttrib4dvARB", typeof(GL.Delegates.VertexAttrib4dvARB_)); - GL.VertexAttrib4fARB = (GL.Delegates.VertexAttrib4fARB)GetAddress("glVertexAttrib4fARB", typeof(GL.Delegates.VertexAttrib4fARB)); - GL.VertexAttrib4fvARB_ = (GL.Delegates.VertexAttrib4fvARB_)GetAddress("glVertexAttrib4fvARB", typeof(GL.Delegates.VertexAttrib4fvARB_)); - GL.VertexAttrib4ivARB_ = (GL.Delegates.VertexAttrib4ivARB_)GetAddress("glVertexAttrib4ivARB", typeof(GL.Delegates.VertexAttrib4ivARB_)); - GL.VertexAttrib4sARB = (GL.Delegates.VertexAttrib4sARB)GetAddress("glVertexAttrib4sARB", typeof(GL.Delegates.VertexAttrib4sARB)); - GL.VertexAttrib4svARB_ = (GL.Delegates.VertexAttrib4svARB_)GetAddress("glVertexAttrib4svARB", typeof(GL.Delegates.VertexAttrib4svARB_)); - GL.VertexAttrib4ubvARB_ = (GL.Delegates.VertexAttrib4ubvARB_)GetAddress("glVertexAttrib4ubvARB", typeof(GL.Delegates.VertexAttrib4ubvARB_)); - GL.VertexAttrib4uivARB_ = (GL.Delegates.VertexAttrib4uivARB_)GetAddress("glVertexAttrib4uivARB", typeof(GL.Delegates.VertexAttrib4uivARB_)); - GL.VertexAttrib4usvARB_ = (GL.Delegates.VertexAttrib4usvARB_)GetAddress("glVertexAttrib4usvARB", typeof(GL.Delegates.VertexAttrib4usvARB_)); - GL.VertexAttribPointerARB_ = (GL.Delegates.VertexAttribPointerARB_)GetAddress("glVertexAttribPointerARB", typeof(GL.Delegates.VertexAttribPointerARB_)); - GL.EnableVertexAttribArrayARB = (GL.Delegates.EnableVertexAttribArrayARB)GetAddress("glEnableVertexAttribArrayARB", typeof(GL.Delegates.EnableVertexAttribArrayARB)); - GL.DisableVertexAttribArrayARB = (GL.Delegates.DisableVertexAttribArrayARB)GetAddress("glDisableVertexAttribArrayARB", typeof(GL.Delegates.DisableVertexAttribArrayARB)); - GL.ProgramStringARB_ = (GL.Delegates.ProgramStringARB_)GetAddress("glProgramStringARB", typeof(GL.Delegates.ProgramStringARB_)); - GL.BindProgramARB = (GL.Delegates.BindProgramARB)GetAddress("glBindProgramARB", typeof(GL.Delegates.BindProgramARB)); - GL.DeleteProgramsARB_ = (GL.Delegates.DeleteProgramsARB_)GetAddress("glDeleteProgramsARB", typeof(GL.Delegates.DeleteProgramsARB_)); - GL.GenProgramsARB = (GL.Delegates.GenProgramsARB)GetAddress("glGenProgramsARB", typeof(GL.Delegates.GenProgramsARB)); - GL.ProgramEnvParameter4dARB = (GL.Delegates.ProgramEnvParameter4dARB)GetAddress("glProgramEnvParameter4dARB", typeof(GL.Delegates.ProgramEnvParameter4dARB)); - GL.ProgramEnvParameter4dvARB_ = (GL.Delegates.ProgramEnvParameter4dvARB_)GetAddress("glProgramEnvParameter4dvARB", typeof(GL.Delegates.ProgramEnvParameter4dvARB_)); - GL.ProgramEnvParameter4fARB = (GL.Delegates.ProgramEnvParameter4fARB)GetAddress("glProgramEnvParameter4fARB", typeof(GL.Delegates.ProgramEnvParameter4fARB)); - GL.ProgramEnvParameter4fvARB_ = (GL.Delegates.ProgramEnvParameter4fvARB_)GetAddress("glProgramEnvParameter4fvARB", typeof(GL.Delegates.ProgramEnvParameter4fvARB_)); - GL.ProgramLocalParameter4dARB = (GL.Delegates.ProgramLocalParameter4dARB)GetAddress("glProgramLocalParameter4dARB", typeof(GL.Delegates.ProgramLocalParameter4dARB)); - GL.ProgramLocalParameter4dvARB_ = (GL.Delegates.ProgramLocalParameter4dvARB_)GetAddress("glProgramLocalParameter4dvARB", typeof(GL.Delegates.ProgramLocalParameter4dvARB_)); - GL.ProgramLocalParameter4fARB = (GL.Delegates.ProgramLocalParameter4fARB)GetAddress("glProgramLocalParameter4fARB", typeof(GL.Delegates.ProgramLocalParameter4fARB)); - GL.ProgramLocalParameter4fvARB_ = (GL.Delegates.ProgramLocalParameter4fvARB_)GetAddress("glProgramLocalParameter4fvARB", typeof(GL.Delegates.ProgramLocalParameter4fvARB_)); - GL.GetProgramEnvParameterdvARB = (GL.Delegates.GetProgramEnvParameterdvARB)GetAddress("glGetProgramEnvParameterdvARB", typeof(GL.Delegates.GetProgramEnvParameterdvARB)); - GL.GetProgramEnvParameterfvARB = (GL.Delegates.GetProgramEnvParameterfvARB)GetAddress("glGetProgramEnvParameterfvARB", typeof(GL.Delegates.GetProgramEnvParameterfvARB)); - GL.GetProgramLocalParameterdvARB = (GL.Delegates.GetProgramLocalParameterdvARB)GetAddress("glGetProgramLocalParameterdvARB", typeof(GL.Delegates.GetProgramLocalParameterdvARB)); - GL.GetProgramLocalParameterfvARB = (GL.Delegates.GetProgramLocalParameterfvARB)GetAddress("glGetProgramLocalParameterfvARB", typeof(GL.Delegates.GetProgramLocalParameterfvARB)); - GL.GetProgramivARB = (GL.Delegates.GetProgramivARB)GetAddress("glGetProgramivARB", typeof(GL.Delegates.GetProgramivARB)); - GL.GetProgramStringARB_ = (GL.Delegates.GetProgramStringARB_)GetAddress("glGetProgramStringARB", typeof(GL.Delegates.GetProgramStringARB_)); - GL.GetVertexAttribdvARB = (GL.Delegates.GetVertexAttribdvARB)GetAddress("glGetVertexAttribdvARB", typeof(GL.Delegates.GetVertexAttribdvARB)); - GL.GetVertexAttribfvARB = (GL.Delegates.GetVertexAttribfvARB)GetAddress("glGetVertexAttribfvARB", typeof(GL.Delegates.GetVertexAttribfvARB)); - GL.GetVertexAttribivARB = (GL.Delegates.GetVertexAttribivARB)GetAddress("glGetVertexAttribivARB", typeof(GL.Delegates.GetVertexAttribivARB)); - GL.GetVertexAttribPointervARB = (GL.Delegates.GetVertexAttribPointervARB)GetAddress("glGetVertexAttribPointervARB", typeof(GL.Delegates.GetVertexAttribPointervARB)); - GL.IsProgramARB = (GL.Delegates.IsProgramARB)GetAddress("glIsProgramARB", typeof(GL.Delegates.IsProgramARB)); - GL.BindBufferARB = (GL.Delegates.BindBufferARB)GetAddress("glBindBufferARB", typeof(GL.Delegates.BindBufferARB)); - GL.DeleteBuffersARB_ = (GL.Delegates.DeleteBuffersARB_)GetAddress("glDeleteBuffersARB", typeof(GL.Delegates.DeleteBuffersARB_)); - GL.GenBuffersARB = (GL.Delegates.GenBuffersARB)GetAddress("glGenBuffersARB", typeof(GL.Delegates.GenBuffersARB)); - GL.IsBufferARB = (GL.Delegates.IsBufferARB)GetAddress("glIsBufferARB", typeof(GL.Delegates.IsBufferARB)); - GL.BufferDataARB_ = (GL.Delegates.BufferDataARB_)GetAddress("glBufferDataARB", typeof(GL.Delegates.BufferDataARB_)); - GL.BufferSubDataARB_ = (GL.Delegates.BufferSubDataARB_)GetAddress("glBufferSubDataARB", typeof(GL.Delegates.BufferSubDataARB_)); - GL.GetBufferSubDataARB_ = (GL.Delegates.GetBufferSubDataARB_)GetAddress("glGetBufferSubDataARB", typeof(GL.Delegates.GetBufferSubDataARB_)); - GL.MapBufferARB = (GL.Delegates.MapBufferARB)GetAddress("glMapBufferARB", typeof(GL.Delegates.MapBufferARB)); - GL.UnmapBufferARB = (GL.Delegates.UnmapBufferARB)GetAddress("glUnmapBufferARB", typeof(GL.Delegates.UnmapBufferARB)); - GL.GetBufferParameterivARB = (GL.Delegates.GetBufferParameterivARB)GetAddress("glGetBufferParameterivARB", typeof(GL.Delegates.GetBufferParameterivARB)); - GL.GetBufferPointervARB = (GL.Delegates.GetBufferPointervARB)GetAddress("glGetBufferPointervARB", typeof(GL.Delegates.GetBufferPointervARB)); - GL.GenQueriesARB = (GL.Delegates.GenQueriesARB)GetAddress("glGenQueriesARB", typeof(GL.Delegates.GenQueriesARB)); - GL.DeleteQueriesARB_ = (GL.Delegates.DeleteQueriesARB_)GetAddress("glDeleteQueriesARB", typeof(GL.Delegates.DeleteQueriesARB_)); - GL.IsQueryARB = (GL.Delegates.IsQueryARB)GetAddress("glIsQueryARB", typeof(GL.Delegates.IsQueryARB)); - GL.BeginQueryARB = (GL.Delegates.BeginQueryARB)GetAddress("glBeginQueryARB", typeof(GL.Delegates.BeginQueryARB)); - GL.EndQueryARB = (GL.Delegates.EndQueryARB)GetAddress("glEndQueryARB", typeof(GL.Delegates.EndQueryARB)); - GL.GetQueryivARB = (GL.Delegates.GetQueryivARB)GetAddress("glGetQueryivARB", typeof(GL.Delegates.GetQueryivARB)); - GL.GetQueryObjectivARB = (GL.Delegates.GetQueryObjectivARB)GetAddress("glGetQueryObjectivARB", typeof(GL.Delegates.GetQueryObjectivARB)); - GL.GetQueryObjectuivARB = (GL.Delegates.GetQueryObjectuivARB)GetAddress("glGetQueryObjectuivARB", typeof(GL.Delegates.GetQueryObjectuivARB)); - GL.DeleteObjectARB = (GL.Delegates.DeleteObjectARB)GetAddress("glDeleteObjectARB", typeof(GL.Delegates.DeleteObjectARB)); - GL.GetHandleARB = (GL.Delegates.GetHandleARB)GetAddress("glGetHandleARB", typeof(GL.Delegates.GetHandleARB)); - GL.DetachObjectARB = (GL.Delegates.DetachObjectARB)GetAddress("glDetachObjectARB", typeof(GL.Delegates.DetachObjectARB)); - GL.CreateShaderObjectARB = (GL.Delegates.CreateShaderObjectARB)GetAddress("glCreateShaderObjectARB", typeof(GL.Delegates.CreateShaderObjectARB)); - GL.ShaderSourceARB_ = (GL.Delegates.ShaderSourceARB_)GetAddress("glShaderSourceARB", typeof(GL.Delegates.ShaderSourceARB_)); - GL.CompileShaderARB = (GL.Delegates.CompileShaderARB)GetAddress("glCompileShaderARB", typeof(GL.Delegates.CompileShaderARB)); - GL.CreateProgramObjectARB = (GL.Delegates.CreateProgramObjectARB)GetAddress("glCreateProgramObjectARB", typeof(GL.Delegates.CreateProgramObjectARB)); - GL.AttachObjectARB = (GL.Delegates.AttachObjectARB)GetAddress("glAttachObjectARB", typeof(GL.Delegates.AttachObjectARB)); - GL.LinkProgramARB = (GL.Delegates.LinkProgramARB)GetAddress("glLinkProgramARB", typeof(GL.Delegates.LinkProgramARB)); - GL.UseProgramObjectARB = (GL.Delegates.UseProgramObjectARB)GetAddress("glUseProgramObjectARB", typeof(GL.Delegates.UseProgramObjectARB)); - GL.ValidateProgramARB = (GL.Delegates.ValidateProgramARB)GetAddress("glValidateProgramARB", typeof(GL.Delegates.ValidateProgramARB)); - GL.Uniform1fARB = (GL.Delegates.Uniform1fARB)GetAddress("glUniform1fARB", typeof(GL.Delegates.Uniform1fARB)); - GL.Uniform2fARB = (GL.Delegates.Uniform2fARB)GetAddress("glUniform2fARB", typeof(GL.Delegates.Uniform2fARB)); - GL.Uniform3fARB = (GL.Delegates.Uniform3fARB)GetAddress("glUniform3fARB", typeof(GL.Delegates.Uniform3fARB)); - GL.Uniform4fARB = (GL.Delegates.Uniform4fARB)GetAddress("glUniform4fARB", typeof(GL.Delegates.Uniform4fARB)); - GL.Uniform1iARB = (GL.Delegates.Uniform1iARB)GetAddress("glUniform1iARB", typeof(GL.Delegates.Uniform1iARB)); - GL.Uniform2iARB = (GL.Delegates.Uniform2iARB)GetAddress("glUniform2iARB", typeof(GL.Delegates.Uniform2iARB)); - GL.Uniform3iARB = (GL.Delegates.Uniform3iARB)GetAddress("glUniform3iARB", typeof(GL.Delegates.Uniform3iARB)); - GL.Uniform4iARB = (GL.Delegates.Uniform4iARB)GetAddress("glUniform4iARB", typeof(GL.Delegates.Uniform4iARB)); - GL.Uniform1fvARB_ = (GL.Delegates.Uniform1fvARB_)GetAddress("glUniform1fvARB", typeof(GL.Delegates.Uniform1fvARB_)); - GL.Uniform2fvARB_ = (GL.Delegates.Uniform2fvARB_)GetAddress("glUniform2fvARB", typeof(GL.Delegates.Uniform2fvARB_)); - GL.Uniform3fvARB_ = (GL.Delegates.Uniform3fvARB_)GetAddress("glUniform3fvARB", typeof(GL.Delegates.Uniform3fvARB_)); - GL.Uniform4fvARB_ = (GL.Delegates.Uniform4fvARB_)GetAddress("glUniform4fvARB", typeof(GL.Delegates.Uniform4fvARB_)); - GL.Uniform1ivARB_ = (GL.Delegates.Uniform1ivARB_)GetAddress("glUniform1ivARB", typeof(GL.Delegates.Uniform1ivARB_)); - GL.Uniform2ivARB_ = (GL.Delegates.Uniform2ivARB_)GetAddress("glUniform2ivARB", typeof(GL.Delegates.Uniform2ivARB_)); - GL.Uniform3ivARB_ = (GL.Delegates.Uniform3ivARB_)GetAddress("glUniform3ivARB", typeof(GL.Delegates.Uniform3ivARB_)); - GL.Uniform4ivARB_ = (GL.Delegates.Uniform4ivARB_)GetAddress("glUniform4ivARB", typeof(GL.Delegates.Uniform4ivARB_)); - GL.UniformMatrix2fvARB_ = (GL.Delegates.UniformMatrix2fvARB_)GetAddress("glUniformMatrix2fvARB", typeof(GL.Delegates.UniformMatrix2fvARB_)); - GL.UniformMatrix3fvARB_ = (GL.Delegates.UniformMatrix3fvARB_)GetAddress("glUniformMatrix3fvARB", typeof(GL.Delegates.UniformMatrix3fvARB_)); - GL.UniformMatrix4fvARB_ = (GL.Delegates.UniformMatrix4fvARB_)GetAddress("glUniformMatrix4fvARB", typeof(GL.Delegates.UniformMatrix4fvARB_)); - GL.GetObjectParameterfvARB = (GL.Delegates.GetObjectParameterfvARB)GetAddress("glGetObjectParameterfvARB", typeof(GL.Delegates.GetObjectParameterfvARB)); - GL.GetObjectParameterivARB = (GL.Delegates.GetObjectParameterivARB)GetAddress("glGetObjectParameterivARB", typeof(GL.Delegates.GetObjectParameterivARB)); - GL.GetInfoLogARB = (GL.Delegates.GetInfoLogARB)GetAddress("glGetInfoLogARB", typeof(GL.Delegates.GetInfoLogARB)); - GL.GetAttachedObjectsARB = (GL.Delegates.GetAttachedObjectsARB)GetAddress("glGetAttachedObjectsARB", typeof(GL.Delegates.GetAttachedObjectsARB)); - GL.GetUniformLocationARB_ = (GL.Delegates.GetUniformLocationARB_)GetAddress("glGetUniformLocationARB", typeof(GL.Delegates.GetUniformLocationARB_)); - GL.GetActiveUniformARB = (GL.Delegates.GetActiveUniformARB)GetAddress("glGetActiveUniformARB", typeof(GL.Delegates.GetActiveUniformARB)); - GL.GetUniformfvARB = (GL.Delegates.GetUniformfvARB)GetAddress("glGetUniformfvARB", typeof(GL.Delegates.GetUniformfvARB)); - GL.GetUniformivARB = (GL.Delegates.GetUniformivARB)GetAddress("glGetUniformivARB", typeof(GL.Delegates.GetUniformivARB)); - GL.GetShaderSourceARB = (GL.Delegates.GetShaderSourceARB)GetAddress("glGetShaderSourceARB", typeof(GL.Delegates.GetShaderSourceARB)); - GL.BindAttribLocationARB_ = (GL.Delegates.BindAttribLocationARB_)GetAddress("glBindAttribLocationARB", typeof(GL.Delegates.BindAttribLocationARB_)); - GL.GetActiveAttribARB = (GL.Delegates.GetActiveAttribARB)GetAddress("glGetActiveAttribARB", typeof(GL.Delegates.GetActiveAttribARB)); - GL.GetAttribLocationARB_ = (GL.Delegates.GetAttribLocationARB_)GetAddress("glGetAttribLocationARB", typeof(GL.Delegates.GetAttribLocationARB_)); - GL.DrawBuffersARB_ = (GL.Delegates.DrawBuffersARB_)GetAddress("glDrawBuffersARB", typeof(GL.Delegates.DrawBuffersARB_)); - GL.ClampColorARB = (GL.Delegates.ClampColorARB)GetAddress("glClampColorARB", typeof(GL.Delegates.ClampColorARB)); - GL.BlendColorEXT = (GL.Delegates.BlendColorEXT)GetAddress("glBlendColorEXT", typeof(GL.Delegates.BlendColorEXT)); - GL.PolygonOffsetEXT = (GL.Delegates.PolygonOffsetEXT)GetAddress("glPolygonOffsetEXT", typeof(GL.Delegates.PolygonOffsetEXT)); - GL.TexImage3DEXT = (GL.Delegates.TexImage3DEXT)GetAddress("glTexImage3DEXT", typeof(GL.Delegates.TexImage3DEXT)); - GL.TexSubImage3DEXT = (GL.Delegates.TexSubImage3DEXT)GetAddress("glTexSubImage3DEXT", typeof(GL.Delegates.TexSubImage3DEXT)); - GL.GetTexFilterFuncSGIS = (GL.Delegates.GetTexFilterFuncSGIS)GetAddress("glGetTexFilterFuncSGIS", typeof(GL.Delegates.GetTexFilterFuncSGIS)); - GL.TexFilterFuncSGIS_ = (GL.Delegates.TexFilterFuncSGIS_)GetAddress("glTexFilterFuncSGIS", typeof(GL.Delegates.TexFilterFuncSGIS_)); - GL.TexSubImage1DEXT = (GL.Delegates.TexSubImage1DEXT)GetAddress("glTexSubImage1DEXT", typeof(GL.Delegates.TexSubImage1DEXT)); - GL.TexSubImage2DEXT = (GL.Delegates.TexSubImage2DEXT)GetAddress("glTexSubImage2DEXT", typeof(GL.Delegates.TexSubImage2DEXT)); - GL.CopyTexImage1DEXT = (GL.Delegates.CopyTexImage1DEXT)GetAddress("glCopyTexImage1DEXT", typeof(GL.Delegates.CopyTexImage1DEXT)); - GL.CopyTexImage2DEXT = (GL.Delegates.CopyTexImage2DEXT)GetAddress("glCopyTexImage2DEXT", typeof(GL.Delegates.CopyTexImage2DEXT)); - GL.CopyTexSubImage1DEXT = (GL.Delegates.CopyTexSubImage1DEXT)GetAddress("glCopyTexSubImage1DEXT", typeof(GL.Delegates.CopyTexSubImage1DEXT)); - GL.CopyTexSubImage2DEXT = (GL.Delegates.CopyTexSubImage2DEXT)GetAddress("glCopyTexSubImage2DEXT", typeof(GL.Delegates.CopyTexSubImage2DEXT)); - GL.CopyTexSubImage3DEXT = (GL.Delegates.CopyTexSubImage3DEXT)GetAddress("glCopyTexSubImage3DEXT", typeof(GL.Delegates.CopyTexSubImage3DEXT)); - GL.GetHistogramEXT_ = (GL.Delegates.GetHistogramEXT_)GetAddress("glGetHistogramEXT", typeof(GL.Delegates.GetHistogramEXT_)); - GL.GetHistogramParameterfvEXT = (GL.Delegates.GetHistogramParameterfvEXT)GetAddress("glGetHistogramParameterfvEXT", typeof(GL.Delegates.GetHistogramParameterfvEXT)); - GL.GetHistogramParameterivEXT = (GL.Delegates.GetHistogramParameterivEXT)GetAddress("glGetHistogramParameterivEXT", typeof(GL.Delegates.GetHistogramParameterivEXT)); - GL.GetMinmaxEXT_ = (GL.Delegates.GetMinmaxEXT_)GetAddress("glGetMinmaxEXT", typeof(GL.Delegates.GetMinmaxEXT_)); - GL.GetMinmaxParameterfvEXT = (GL.Delegates.GetMinmaxParameterfvEXT)GetAddress("glGetMinmaxParameterfvEXT", typeof(GL.Delegates.GetMinmaxParameterfvEXT)); - GL.GetMinmaxParameterivEXT = (GL.Delegates.GetMinmaxParameterivEXT)GetAddress("glGetMinmaxParameterivEXT", typeof(GL.Delegates.GetMinmaxParameterivEXT)); - GL.HistogramEXT = (GL.Delegates.HistogramEXT)GetAddress("glHistogramEXT", typeof(GL.Delegates.HistogramEXT)); - GL.MinmaxEXT = (GL.Delegates.MinmaxEXT)GetAddress("glMinmaxEXT", typeof(GL.Delegates.MinmaxEXT)); - GL.ResetHistogramEXT = (GL.Delegates.ResetHistogramEXT)GetAddress("glResetHistogramEXT", typeof(GL.Delegates.ResetHistogramEXT)); - GL.ResetMinmaxEXT = (GL.Delegates.ResetMinmaxEXT)GetAddress("glResetMinmaxEXT", typeof(GL.Delegates.ResetMinmaxEXT)); - GL.ConvolutionFilter1DEXT_ = (GL.Delegates.ConvolutionFilter1DEXT_)GetAddress("glConvolutionFilter1DEXT", typeof(GL.Delegates.ConvolutionFilter1DEXT_)); - GL.ConvolutionFilter2DEXT_ = (GL.Delegates.ConvolutionFilter2DEXT_)GetAddress("glConvolutionFilter2DEXT", typeof(GL.Delegates.ConvolutionFilter2DEXT_)); - GL.ConvolutionParameterfEXT = (GL.Delegates.ConvolutionParameterfEXT)GetAddress("glConvolutionParameterfEXT", typeof(GL.Delegates.ConvolutionParameterfEXT)); - GL.ConvolutionParameterfvEXT_ = (GL.Delegates.ConvolutionParameterfvEXT_)GetAddress("glConvolutionParameterfvEXT", typeof(GL.Delegates.ConvolutionParameterfvEXT_)); - GL.ConvolutionParameteriEXT = (GL.Delegates.ConvolutionParameteriEXT)GetAddress("glConvolutionParameteriEXT", typeof(GL.Delegates.ConvolutionParameteriEXT)); - GL.ConvolutionParameterivEXT_ = (GL.Delegates.ConvolutionParameterivEXT_)GetAddress("glConvolutionParameterivEXT", typeof(GL.Delegates.ConvolutionParameterivEXT_)); - GL.CopyConvolutionFilter1DEXT = (GL.Delegates.CopyConvolutionFilter1DEXT)GetAddress("glCopyConvolutionFilter1DEXT", typeof(GL.Delegates.CopyConvolutionFilter1DEXT)); - GL.CopyConvolutionFilter2DEXT = (GL.Delegates.CopyConvolutionFilter2DEXT)GetAddress("glCopyConvolutionFilter2DEXT", typeof(GL.Delegates.CopyConvolutionFilter2DEXT)); - GL.GetConvolutionFilterEXT_ = (GL.Delegates.GetConvolutionFilterEXT_)GetAddress("glGetConvolutionFilterEXT", typeof(GL.Delegates.GetConvolutionFilterEXT_)); - GL.GetConvolutionParameterfvEXT = (GL.Delegates.GetConvolutionParameterfvEXT)GetAddress("glGetConvolutionParameterfvEXT", typeof(GL.Delegates.GetConvolutionParameterfvEXT)); - GL.GetConvolutionParameterivEXT = (GL.Delegates.GetConvolutionParameterivEXT)GetAddress("glGetConvolutionParameterivEXT", typeof(GL.Delegates.GetConvolutionParameterivEXT)); - GL.GetSeparableFilterEXT_ = (GL.Delegates.GetSeparableFilterEXT_)GetAddress("glGetSeparableFilterEXT", typeof(GL.Delegates.GetSeparableFilterEXT_)); - GL.SeparableFilter2DEXT_ = (GL.Delegates.SeparableFilter2DEXT_)GetAddress("glSeparableFilter2DEXT", typeof(GL.Delegates.SeparableFilter2DEXT_)); - GL.ColorTableSGI_ = (GL.Delegates.ColorTableSGI_)GetAddress("glColorTableSGI", typeof(GL.Delegates.ColorTableSGI_)); - GL.ColorTableParameterfvSGI_ = (GL.Delegates.ColorTableParameterfvSGI_)GetAddress("glColorTableParameterfvSGI", typeof(GL.Delegates.ColorTableParameterfvSGI_)); - GL.ColorTableParameterivSGI_ = (GL.Delegates.ColorTableParameterivSGI_)GetAddress("glColorTableParameterivSGI", typeof(GL.Delegates.ColorTableParameterivSGI_)); - GL.CopyColorTableSGI = (GL.Delegates.CopyColorTableSGI)GetAddress("glCopyColorTableSGI", typeof(GL.Delegates.CopyColorTableSGI)); - GL.GetColorTableSGI_ = (GL.Delegates.GetColorTableSGI_)GetAddress("glGetColorTableSGI", typeof(GL.Delegates.GetColorTableSGI_)); - GL.GetColorTableParameterfvSGI = (GL.Delegates.GetColorTableParameterfvSGI)GetAddress("glGetColorTableParameterfvSGI", typeof(GL.Delegates.GetColorTableParameterfvSGI)); - GL.GetColorTableParameterivSGI = (GL.Delegates.GetColorTableParameterivSGI)GetAddress("glGetColorTableParameterivSGI", typeof(GL.Delegates.GetColorTableParameterivSGI)); - GL.PixelTexGenSGIX = (GL.Delegates.PixelTexGenSGIX)GetAddress("glPixelTexGenSGIX", typeof(GL.Delegates.PixelTexGenSGIX)); - GL.PixelTexGenParameteriSGIS = (GL.Delegates.PixelTexGenParameteriSGIS)GetAddress("glPixelTexGenParameteriSGIS", typeof(GL.Delegates.PixelTexGenParameteriSGIS)); - GL.PixelTexGenParameterivSGIS_ = (GL.Delegates.PixelTexGenParameterivSGIS_)GetAddress("glPixelTexGenParameterivSGIS", typeof(GL.Delegates.PixelTexGenParameterivSGIS_)); - GL.PixelTexGenParameterfSGIS = (GL.Delegates.PixelTexGenParameterfSGIS)GetAddress("glPixelTexGenParameterfSGIS", typeof(GL.Delegates.PixelTexGenParameterfSGIS)); - GL.PixelTexGenParameterfvSGIS_ = (GL.Delegates.PixelTexGenParameterfvSGIS_)GetAddress("glPixelTexGenParameterfvSGIS", typeof(GL.Delegates.PixelTexGenParameterfvSGIS_)); - GL.GetPixelTexGenParameterivSGIS = (GL.Delegates.GetPixelTexGenParameterivSGIS)GetAddress("glGetPixelTexGenParameterivSGIS", typeof(GL.Delegates.GetPixelTexGenParameterivSGIS)); - GL.GetPixelTexGenParameterfvSGIS = (GL.Delegates.GetPixelTexGenParameterfvSGIS)GetAddress("glGetPixelTexGenParameterfvSGIS", typeof(GL.Delegates.GetPixelTexGenParameterfvSGIS)); - GL.TexImage4DSGIS = (GL.Delegates.TexImage4DSGIS)GetAddress("glTexImage4DSGIS", typeof(GL.Delegates.TexImage4DSGIS)); - GL.TexSubImage4DSGIS = (GL.Delegates.TexSubImage4DSGIS)GetAddress("glTexSubImage4DSGIS", typeof(GL.Delegates.TexSubImage4DSGIS)); - GL.AreTexturesResidentEXT_ = (GL.Delegates.AreTexturesResidentEXT_)GetAddress("glAreTexturesResidentEXT", typeof(GL.Delegates.AreTexturesResidentEXT_)); - GL.BindTextureEXT = (GL.Delegates.BindTextureEXT)GetAddress("glBindTextureEXT", typeof(GL.Delegates.BindTextureEXT)); - GL.DeleteTexturesEXT_ = (GL.Delegates.DeleteTexturesEXT_)GetAddress("glDeleteTexturesEXT", typeof(GL.Delegates.DeleteTexturesEXT_)); - GL.GenTexturesEXT = (GL.Delegates.GenTexturesEXT)GetAddress("glGenTexturesEXT", typeof(GL.Delegates.GenTexturesEXT)); - GL.IsTextureEXT = (GL.Delegates.IsTextureEXT)GetAddress("glIsTextureEXT", typeof(GL.Delegates.IsTextureEXT)); - GL.PrioritizeTexturesEXT_ = (GL.Delegates.PrioritizeTexturesEXT_)GetAddress("glPrioritizeTexturesEXT", typeof(GL.Delegates.PrioritizeTexturesEXT_)); - GL.DetailTexFuncSGIS_ = (GL.Delegates.DetailTexFuncSGIS_)GetAddress("glDetailTexFuncSGIS", typeof(GL.Delegates.DetailTexFuncSGIS_)); - GL.GetDetailTexFuncSGIS = (GL.Delegates.GetDetailTexFuncSGIS)GetAddress("glGetDetailTexFuncSGIS", typeof(GL.Delegates.GetDetailTexFuncSGIS)); - GL.SharpenTexFuncSGIS_ = (GL.Delegates.SharpenTexFuncSGIS_)GetAddress("glSharpenTexFuncSGIS", typeof(GL.Delegates.SharpenTexFuncSGIS_)); - GL.GetSharpenTexFuncSGIS = (GL.Delegates.GetSharpenTexFuncSGIS)GetAddress("glGetSharpenTexFuncSGIS", typeof(GL.Delegates.GetSharpenTexFuncSGIS)); - GL.SampleMaskSGIS = (GL.Delegates.SampleMaskSGIS)GetAddress("glSampleMaskSGIS", typeof(GL.Delegates.SampleMaskSGIS)); - GL.SamplePatternSGIS = (GL.Delegates.SamplePatternSGIS)GetAddress("glSamplePatternSGIS", typeof(GL.Delegates.SamplePatternSGIS)); - GL.ArrayElementEXT = (GL.Delegates.ArrayElementEXT)GetAddress("glArrayElementEXT", typeof(GL.Delegates.ArrayElementEXT)); - GL.ColorPointerEXT_ = (GL.Delegates.ColorPointerEXT_)GetAddress("glColorPointerEXT", typeof(GL.Delegates.ColorPointerEXT_)); - GL.DrawArraysEXT = (GL.Delegates.DrawArraysEXT)GetAddress("glDrawArraysEXT", typeof(GL.Delegates.DrawArraysEXT)); - GL.EdgeFlagPointerEXT = (GL.Delegates.EdgeFlagPointerEXT)GetAddress("glEdgeFlagPointerEXT", typeof(GL.Delegates.EdgeFlagPointerEXT)); - GL.GetPointervEXT = (GL.Delegates.GetPointervEXT)GetAddress("glGetPointervEXT", typeof(GL.Delegates.GetPointervEXT)); - GL.IndexPointerEXT_ = (GL.Delegates.IndexPointerEXT_)GetAddress("glIndexPointerEXT", typeof(GL.Delegates.IndexPointerEXT_)); - GL.NormalPointerEXT_ = (GL.Delegates.NormalPointerEXT_)GetAddress("glNormalPointerEXT", typeof(GL.Delegates.NormalPointerEXT_)); - GL.TexCoordPointerEXT_ = (GL.Delegates.TexCoordPointerEXT_)GetAddress("glTexCoordPointerEXT", typeof(GL.Delegates.TexCoordPointerEXT_)); - GL.VertexPointerEXT_ = (GL.Delegates.VertexPointerEXT_)GetAddress("glVertexPointerEXT", typeof(GL.Delegates.VertexPointerEXT_)); - GL.BlendEquationEXT = (GL.Delegates.BlendEquationEXT)GetAddress("glBlendEquationEXT", typeof(GL.Delegates.BlendEquationEXT)); - GL.SpriteParameterfSGIX = (GL.Delegates.SpriteParameterfSGIX)GetAddress("glSpriteParameterfSGIX", typeof(GL.Delegates.SpriteParameterfSGIX)); - GL.SpriteParameterfvSGIX_ = (GL.Delegates.SpriteParameterfvSGIX_)GetAddress("glSpriteParameterfvSGIX", typeof(GL.Delegates.SpriteParameterfvSGIX_)); - GL.SpriteParameteriSGIX = (GL.Delegates.SpriteParameteriSGIX)GetAddress("glSpriteParameteriSGIX", typeof(GL.Delegates.SpriteParameteriSGIX)); - GL.SpriteParameterivSGIX_ = (GL.Delegates.SpriteParameterivSGIX_)GetAddress("glSpriteParameterivSGIX", typeof(GL.Delegates.SpriteParameterivSGIX_)); - GL.PointParameterfEXT = (GL.Delegates.PointParameterfEXT)GetAddress("glPointParameterfEXT", typeof(GL.Delegates.PointParameterfEXT)); - GL.PointParameterfvEXT_ = (GL.Delegates.PointParameterfvEXT_)GetAddress("glPointParameterfvEXT", typeof(GL.Delegates.PointParameterfvEXT_)); - GL.PointParameterfSGIS = (GL.Delegates.PointParameterfSGIS)GetAddress("glPointParameterfSGIS", typeof(GL.Delegates.PointParameterfSGIS)); - GL.PointParameterfvSGIS_ = (GL.Delegates.PointParameterfvSGIS_)GetAddress("glPointParameterfvSGIS", typeof(GL.Delegates.PointParameterfvSGIS_)); - GL.GetInstrumentsSGIX = (GL.Delegates.GetInstrumentsSGIX)GetAddress("glGetInstrumentsSGIX", typeof(GL.Delegates.GetInstrumentsSGIX)); - GL.InstrumentsBufferSGIX = (GL.Delegates.InstrumentsBufferSGIX)GetAddress("glInstrumentsBufferSGIX", typeof(GL.Delegates.InstrumentsBufferSGIX)); - GL.PollInstrumentsSGIX = (GL.Delegates.PollInstrumentsSGIX)GetAddress("glPollInstrumentsSGIX", typeof(GL.Delegates.PollInstrumentsSGIX)); - GL.ReadInstrumentsSGIX = (GL.Delegates.ReadInstrumentsSGIX)GetAddress("glReadInstrumentsSGIX", typeof(GL.Delegates.ReadInstrumentsSGIX)); - GL.StartInstrumentsSGIX = (GL.Delegates.StartInstrumentsSGIX)GetAddress("glStartInstrumentsSGIX", typeof(GL.Delegates.StartInstrumentsSGIX)); - GL.StopInstrumentsSGIX = (GL.Delegates.StopInstrumentsSGIX)GetAddress("glStopInstrumentsSGIX", typeof(GL.Delegates.StopInstrumentsSGIX)); - GL.FrameZoomSGIX = (GL.Delegates.FrameZoomSGIX)GetAddress("glFrameZoomSGIX", typeof(GL.Delegates.FrameZoomSGIX)); - GL.TagSampleBufferSGIX = (GL.Delegates.TagSampleBufferSGIX)GetAddress("glTagSampleBufferSGIX", typeof(GL.Delegates.TagSampleBufferSGIX)); - GL.DeformationMap3dSGIX_ = (GL.Delegates.DeformationMap3dSGIX_)GetAddress("glDeformationMap3dSGIX", typeof(GL.Delegates.DeformationMap3dSGIX_)); - GL.DeformationMap3fSGIX_ = (GL.Delegates.DeformationMap3fSGIX_)GetAddress("glDeformationMap3fSGIX", typeof(GL.Delegates.DeformationMap3fSGIX_)); - GL.DeformSGIX = (GL.Delegates.DeformSGIX)GetAddress("glDeformSGIX", typeof(GL.Delegates.DeformSGIX)); - GL.LoadIdentityDeformationMapSGIX = (GL.Delegates.LoadIdentityDeformationMapSGIX)GetAddress("glLoadIdentityDeformationMapSGIX", typeof(GL.Delegates.LoadIdentityDeformationMapSGIX)); - GL.ReferencePlaneSGIX_ = (GL.Delegates.ReferencePlaneSGIX_)GetAddress("glReferencePlaneSGIX", typeof(GL.Delegates.ReferencePlaneSGIX_)); - GL.FlushRasterSGIX = (GL.Delegates.FlushRasterSGIX)GetAddress("glFlushRasterSGIX", typeof(GL.Delegates.FlushRasterSGIX)); - GL.FogFuncSGIS_ = (GL.Delegates.FogFuncSGIS_)GetAddress("glFogFuncSGIS", typeof(GL.Delegates.FogFuncSGIS_)); - GL.GetFogFuncSGIS = (GL.Delegates.GetFogFuncSGIS)GetAddress("glGetFogFuncSGIS", typeof(GL.Delegates.GetFogFuncSGIS)); - GL.ImageTransformParameteriHP = (GL.Delegates.ImageTransformParameteriHP)GetAddress("glImageTransformParameteriHP", typeof(GL.Delegates.ImageTransformParameteriHP)); - GL.ImageTransformParameterfHP = (GL.Delegates.ImageTransformParameterfHP)GetAddress("glImageTransformParameterfHP", typeof(GL.Delegates.ImageTransformParameterfHP)); - GL.ImageTransformParameterivHP_ = (GL.Delegates.ImageTransformParameterivHP_)GetAddress("glImageTransformParameterivHP", typeof(GL.Delegates.ImageTransformParameterivHP_)); - GL.ImageTransformParameterfvHP_ = (GL.Delegates.ImageTransformParameterfvHP_)GetAddress("glImageTransformParameterfvHP", typeof(GL.Delegates.ImageTransformParameterfvHP_)); - GL.GetImageTransformParameterivHP = (GL.Delegates.GetImageTransformParameterivHP)GetAddress("glGetImageTransformParameterivHP", typeof(GL.Delegates.GetImageTransformParameterivHP)); - GL.GetImageTransformParameterfvHP = (GL.Delegates.GetImageTransformParameterfvHP)GetAddress("glGetImageTransformParameterfvHP", typeof(GL.Delegates.GetImageTransformParameterfvHP)); - GL.ColorSubTableEXT_ = (GL.Delegates.ColorSubTableEXT_)GetAddress("glColorSubTableEXT", typeof(GL.Delegates.ColorSubTableEXT_)); - GL.CopyColorSubTableEXT = (GL.Delegates.CopyColorSubTableEXT)GetAddress("glCopyColorSubTableEXT", typeof(GL.Delegates.CopyColorSubTableEXT)); - GL.HintPGI = (GL.Delegates.HintPGI)GetAddress("glHintPGI", typeof(GL.Delegates.HintPGI)); - GL.ColorTableEXT_ = (GL.Delegates.ColorTableEXT_)GetAddress("glColorTableEXT", typeof(GL.Delegates.ColorTableEXT_)); - GL.GetColorTableEXT_ = (GL.Delegates.GetColorTableEXT_)GetAddress("glGetColorTableEXT", typeof(GL.Delegates.GetColorTableEXT_)); - GL.GetColorTableParameterivEXT = (GL.Delegates.GetColorTableParameterivEXT)GetAddress("glGetColorTableParameterivEXT", typeof(GL.Delegates.GetColorTableParameterivEXT)); - GL.GetColorTableParameterfvEXT = (GL.Delegates.GetColorTableParameterfvEXT)GetAddress("glGetColorTableParameterfvEXT", typeof(GL.Delegates.GetColorTableParameterfvEXT)); - GL.GetListParameterfvSGIX = (GL.Delegates.GetListParameterfvSGIX)GetAddress("glGetListParameterfvSGIX", typeof(GL.Delegates.GetListParameterfvSGIX)); - GL.GetListParameterivSGIX = (GL.Delegates.GetListParameterivSGIX)GetAddress("glGetListParameterivSGIX", typeof(GL.Delegates.GetListParameterivSGIX)); - GL.ListParameterfSGIX = (GL.Delegates.ListParameterfSGIX)GetAddress("glListParameterfSGIX", typeof(GL.Delegates.ListParameterfSGIX)); - GL.ListParameterfvSGIX_ = (GL.Delegates.ListParameterfvSGIX_)GetAddress("glListParameterfvSGIX", typeof(GL.Delegates.ListParameterfvSGIX_)); - GL.ListParameteriSGIX = (GL.Delegates.ListParameteriSGIX)GetAddress("glListParameteriSGIX", typeof(GL.Delegates.ListParameteriSGIX)); - GL.ListParameterivSGIX_ = (GL.Delegates.ListParameterivSGIX_)GetAddress("glListParameterivSGIX", typeof(GL.Delegates.ListParameterivSGIX_)); - GL.IndexMaterialEXT = (GL.Delegates.IndexMaterialEXT)GetAddress("glIndexMaterialEXT", typeof(GL.Delegates.IndexMaterialEXT)); - GL.IndexFuncEXT = (GL.Delegates.IndexFuncEXT)GetAddress("glIndexFuncEXT", typeof(GL.Delegates.IndexFuncEXT)); - GL.LockArraysEXT = (GL.Delegates.LockArraysEXT)GetAddress("glLockArraysEXT", typeof(GL.Delegates.LockArraysEXT)); - GL.UnlockArraysEXT = (GL.Delegates.UnlockArraysEXT)GetAddress("glUnlockArraysEXT", typeof(GL.Delegates.UnlockArraysEXT)); - GL.CullParameterdvEXT = (GL.Delegates.CullParameterdvEXT)GetAddress("glCullParameterdvEXT", typeof(GL.Delegates.CullParameterdvEXT)); - GL.CullParameterfvEXT = (GL.Delegates.CullParameterfvEXT)GetAddress("glCullParameterfvEXT", typeof(GL.Delegates.CullParameterfvEXT)); - GL.FragmentColorMaterialSGIX = (GL.Delegates.FragmentColorMaterialSGIX)GetAddress("glFragmentColorMaterialSGIX", typeof(GL.Delegates.FragmentColorMaterialSGIX)); - GL.FragmentLightfSGIX = (GL.Delegates.FragmentLightfSGIX)GetAddress("glFragmentLightfSGIX", typeof(GL.Delegates.FragmentLightfSGIX)); - GL.FragmentLightfvSGIX_ = (GL.Delegates.FragmentLightfvSGIX_)GetAddress("glFragmentLightfvSGIX", typeof(GL.Delegates.FragmentLightfvSGIX_)); - GL.FragmentLightiSGIX = (GL.Delegates.FragmentLightiSGIX)GetAddress("glFragmentLightiSGIX", typeof(GL.Delegates.FragmentLightiSGIX)); - GL.FragmentLightivSGIX_ = (GL.Delegates.FragmentLightivSGIX_)GetAddress("glFragmentLightivSGIX", typeof(GL.Delegates.FragmentLightivSGIX_)); - GL.FragmentLightModelfSGIX = (GL.Delegates.FragmentLightModelfSGIX)GetAddress("glFragmentLightModelfSGIX", typeof(GL.Delegates.FragmentLightModelfSGIX)); - GL.FragmentLightModelfvSGIX_ = (GL.Delegates.FragmentLightModelfvSGIX_)GetAddress("glFragmentLightModelfvSGIX", typeof(GL.Delegates.FragmentLightModelfvSGIX_)); - GL.FragmentLightModeliSGIX = (GL.Delegates.FragmentLightModeliSGIX)GetAddress("glFragmentLightModeliSGIX", typeof(GL.Delegates.FragmentLightModeliSGIX)); - GL.FragmentLightModelivSGIX_ = (GL.Delegates.FragmentLightModelivSGIX_)GetAddress("glFragmentLightModelivSGIX", typeof(GL.Delegates.FragmentLightModelivSGIX_)); - GL.FragmentMaterialfSGIX = (GL.Delegates.FragmentMaterialfSGIX)GetAddress("glFragmentMaterialfSGIX", typeof(GL.Delegates.FragmentMaterialfSGIX)); - GL.FragmentMaterialfvSGIX_ = (GL.Delegates.FragmentMaterialfvSGIX_)GetAddress("glFragmentMaterialfvSGIX", typeof(GL.Delegates.FragmentMaterialfvSGIX_)); - GL.FragmentMaterialiSGIX = (GL.Delegates.FragmentMaterialiSGIX)GetAddress("glFragmentMaterialiSGIX", typeof(GL.Delegates.FragmentMaterialiSGIX)); - GL.FragmentMaterialivSGIX_ = (GL.Delegates.FragmentMaterialivSGIX_)GetAddress("glFragmentMaterialivSGIX", typeof(GL.Delegates.FragmentMaterialivSGIX_)); - GL.GetFragmentLightfvSGIX = (GL.Delegates.GetFragmentLightfvSGIX)GetAddress("glGetFragmentLightfvSGIX", typeof(GL.Delegates.GetFragmentLightfvSGIX)); - GL.GetFragmentLightivSGIX = (GL.Delegates.GetFragmentLightivSGIX)GetAddress("glGetFragmentLightivSGIX", typeof(GL.Delegates.GetFragmentLightivSGIX)); - GL.GetFragmentMaterialfvSGIX = (GL.Delegates.GetFragmentMaterialfvSGIX)GetAddress("glGetFragmentMaterialfvSGIX", typeof(GL.Delegates.GetFragmentMaterialfvSGIX)); - GL.GetFragmentMaterialivSGIX = (GL.Delegates.GetFragmentMaterialivSGIX)GetAddress("glGetFragmentMaterialivSGIX", typeof(GL.Delegates.GetFragmentMaterialivSGIX)); - GL.LightEnviSGIX = (GL.Delegates.LightEnviSGIX)GetAddress("glLightEnviSGIX", typeof(GL.Delegates.LightEnviSGIX)); - GL.DrawRangeElementsEXT_ = (GL.Delegates.DrawRangeElementsEXT_)GetAddress("glDrawRangeElementsEXT", typeof(GL.Delegates.DrawRangeElementsEXT_)); - GL.ApplyTextureEXT = (GL.Delegates.ApplyTextureEXT)GetAddress("glApplyTextureEXT", typeof(GL.Delegates.ApplyTextureEXT)); - GL.TextureLightEXT = (GL.Delegates.TextureLightEXT)GetAddress("glTextureLightEXT", typeof(GL.Delegates.TextureLightEXT)); - GL.TextureMaterialEXT = (GL.Delegates.TextureMaterialEXT)GetAddress("glTextureMaterialEXT", typeof(GL.Delegates.TextureMaterialEXT)); - GL.AsyncMarkerSGIX = (GL.Delegates.AsyncMarkerSGIX)GetAddress("glAsyncMarkerSGIX", typeof(GL.Delegates.AsyncMarkerSGIX)); - GL.FinishAsyncSGIX = (GL.Delegates.FinishAsyncSGIX)GetAddress("glFinishAsyncSGIX", typeof(GL.Delegates.FinishAsyncSGIX)); - GL.PollAsyncSGIX = (GL.Delegates.PollAsyncSGIX)GetAddress("glPollAsyncSGIX", typeof(GL.Delegates.PollAsyncSGIX)); - GL.GenAsyncMarkersSGIX = (GL.Delegates.GenAsyncMarkersSGIX)GetAddress("glGenAsyncMarkersSGIX", typeof(GL.Delegates.GenAsyncMarkersSGIX)); - GL.DeleteAsyncMarkersSGIX = (GL.Delegates.DeleteAsyncMarkersSGIX)GetAddress("glDeleteAsyncMarkersSGIX", typeof(GL.Delegates.DeleteAsyncMarkersSGIX)); - GL.IsAsyncMarkerSGIX = (GL.Delegates.IsAsyncMarkerSGIX)GetAddress("glIsAsyncMarkerSGIX", typeof(GL.Delegates.IsAsyncMarkerSGIX)); - GL.VertexPointervINTEL_ = (GL.Delegates.VertexPointervINTEL_)GetAddress("glVertexPointervINTEL", typeof(GL.Delegates.VertexPointervINTEL_)); - GL.NormalPointervINTEL_ = (GL.Delegates.NormalPointervINTEL_)GetAddress("glNormalPointervINTEL", typeof(GL.Delegates.NormalPointervINTEL_)); - GL.ColorPointervINTEL_ = (GL.Delegates.ColorPointervINTEL_)GetAddress("glColorPointervINTEL", typeof(GL.Delegates.ColorPointervINTEL_)); - GL.TexCoordPointervINTEL_ = (GL.Delegates.TexCoordPointervINTEL_)GetAddress("glTexCoordPointervINTEL", typeof(GL.Delegates.TexCoordPointervINTEL_)); - GL.PixelTransformParameteriEXT = (GL.Delegates.PixelTransformParameteriEXT)GetAddress("glPixelTransformParameteriEXT", typeof(GL.Delegates.PixelTransformParameteriEXT)); - GL.PixelTransformParameterfEXT = (GL.Delegates.PixelTransformParameterfEXT)GetAddress("glPixelTransformParameterfEXT", typeof(GL.Delegates.PixelTransformParameterfEXT)); - GL.PixelTransformParameterivEXT_ = (GL.Delegates.PixelTransformParameterivEXT_)GetAddress("glPixelTransformParameterivEXT", typeof(GL.Delegates.PixelTransformParameterivEXT_)); - GL.PixelTransformParameterfvEXT_ = (GL.Delegates.PixelTransformParameterfvEXT_)GetAddress("glPixelTransformParameterfvEXT", typeof(GL.Delegates.PixelTransformParameterfvEXT_)); - GL.SecondaryColor3bEXT = (GL.Delegates.SecondaryColor3bEXT)GetAddress("glSecondaryColor3bEXT", typeof(GL.Delegates.SecondaryColor3bEXT)); - GL.SecondaryColor3bvEXT_ = (GL.Delegates.SecondaryColor3bvEXT_)GetAddress("glSecondaryColor3bvEXT", typeof(GL.Delegates.SecondaryColor3bvEXT_)); - GL.SecondaryColor3dEXT = (GL.Delegates.SecondaryColor3dEXT)GetAddress("glSecondaryColor3dEXT", typeof(GL.Delegates.SecondaryColor3dEXT)); - GL.SecondaryColor3dvEXT_ = (GL.Delegates.SecondaryColor3dvEXT_)GetAddress("glSecondaryColor3dvEXT", typeof(GL.Delegates.SecondaryColor3dvEXT_)); - GL.SecondaryColor3fEXT = (GL.Delegates.SecondaryColor3fEXT)GetAddress("glSecondaryColor3fEXT", typeof(GL.Delegates.SecondaryColor3fEXT)); - GL.SecondaryColor3fvEXT_ = (GL.Delegates.SecondaryColor3fvEXT_)GetAddress("glSecondaryColor3fvEXT", typeof(GL.Delegates.SecondaryColor3fvEXT_)); - GL.SecondaryColor3iEXT = (GL.Delegates.SecondaryColor3iEXT)GetAddress("glSecondaryColor3iEXT", typeof(GL.Delegates.SecondaryColor3iEXT)); - GL.SecondaryColor3ivEXT_ = (GL.Delegates.SecondaryColor3ivEXT_)GetAddress("glSecondaryColor3ivEXT", typeof(GL.Delegates.SecondaryColor3ivEXT_)); - GL.SecondaryColor3sEXT = (GL.Delegates.SecondaryColor3sEXT)GetAddress("glSecondaryColor3sEXT", typeof(GL.Delegates.SecondaryColor3sEXT)); - GL.SecondaryColor3svEXT_ = (GL.Delegates.SecondaryColor3svEXT_)GetAddress("glSecondaryColor3svEXT", typeof(GL.Delegates.SecondaryColor3svEXT_)); - GL.SecondaryColor3ubEXT = (GL.Delegates.SecondaryColor3ubEXT)GetAddress("glSecondaryColor3ubEXT", typeof(GL.Delegates.SecondaryColor3ubEXT)); - GL.SecondaryColor3ubvEXT_ = (GL.Delegates.SecondaryColor3ubvEXT_)GetAddress("glSecondaryColor3ubvEXT", typeof(GL.Delegates.SecondaryColor3ubvEXT_)); - GL.SecondaryColor3uiEXT = (GL.Delegates.SecondaryColor3uiEXT)GetAddress("glSecondaryColor3uiEXT", typeof(GL.Delegates.SecondaryColor3uiEXT)); - GL.SecondaryColor3uivEXT_ = (GL.Delegates.SecondaryColor3uivEXT_)GetAddress("glSecondaryColor3uivEXT", typeof(GL.Delegates.SecondaryColor3uivEXT_)); - GL.SecondaryColor3usEXT = (GL.Delegates.SecondaryColor3usEXT)GetAddress("glSecondaryColor3usEXT", typeof(GL.Delegates.SecondaryColor3usEXT)); - GL.SecondaryColor3usvEXT_ = (GL.Delegates.SecondaryColor3usvEXT_)GetAddress("glSecondaryColor3usvEXT", typeof(GL.Delegates.SecondaryColor3usvEXT_)); - GL.SecondaryColorPointerEXT_ = (GL.Delegates.SecondaryColorPointerEXT_)GetAddress("glSecondaryColorPointerEXT", typeof(GL.Delegates.SecondaryColorPointerEXT_)); - GL.TextureNormalEXT = (GL.Delegates.TextureNormalEXT)GetAddress("glTextureNormalEXT", typeof(GL.Delegates.TextureNormalEXT)); - GL.MultiDrawArraysEXT = (GL.Delegates.MultiDrawArraysEXT)GetAddress("glMultiDrawArraysEXT", typeof(GL.Delegates.MultiDrawArraysEXT)); - GL.MultiDrawElementsEXT_ = (GL.Delegates.MultiDrawElementsEXT_)GetAddress("glMultiDrawElementsEXT", typeof(GL.Delegates.MultiDrawElementsEXT_)); - GL.FogCoordfEXT = (GL.Delegates.FogCoordfEXT)GetAddress("glFogCoordfEXT", typeof(GL.Delegates.FogCoordfEXT)); - GL.FogCoordfvEXT_ = (GL.Delegates.FogCoordfvEXT_)GetAddress("glFogCoordfvEXT", typeof(GL.Delegates.FogCoordfvEXT_)); - GL.FogCoorddEXT = (GL.Delegates.FogCoorddEXT)GetAddress("glFogCoorddEXT", typeof(GL.Delegates.FogCoorddEXT)); - GL.FogCoorddvEXT_ = (GL.Delegates.FogCoorddvEXT_)GetAddress("glFogCoorddvEXT", typeof(GL.Delegates.FogCoorddvEXT_)); - GL.FogCoordPointerEXT_ = (GL.Delegates.FogCoordPointerEXT_)GetAddress("glFogCoordPointerEXT", typeof(GL.Delegates.FogCoordPointerEXT_)); - GL.Tangent3bEXT = (GL.Delegates.Tangent3bEXT)GetAddress("glTangent3bEXT", typeof(GL.Delegates.Tangent3bEXT)); - GL.Tangent3bvEXT_ = (GL.Delegates.Tangent3bvEXT_)GetAddress("glTangent3bvEXT", typeof(GL.Delegates.Tangent3bvEXT_)); - GL.Tangent3dEXT = (GL.Delegates.Tangent3dEXT)GetAddress("glTangent3dEXT", typeof(GL.Delegates.Tangent3dEXT)); - GL.Tangent3dvEXT_ = (GL.Delegates.Tangent3dvEXT_)GetAddress("glTangent3dvEXT", typeof(GL.Delegates.Tangent3dvEXT_)); - GL.Tangent3fEXT = (GL.Delegates.Tangent3fEXT)GetAddress("glTangent3fEXT", typeof(GL.Delegates.Tangent3fEXT)); - GL.Tangent3fvEXT_ = (GL.Delegates.Tangent3fvEXT_)GetAddress("glTangent3fvEXT", typeof(GL.Delegates.Tangent3fvEXT_)); - GL.Tangent3iEXT = (GL.Delegates.Tangent3iEXT)GetAddress("glTangent3iEXT", typeof(GL.Delegates.Tangent3iEXT)); - GL.Tangent3ivEXT_ = (GL.Delegates.Tangent3ivEXT_)GetAddress("glTangent3ivEXT", typeof(GL.Delegates.Tangent3ivEXT_)); - GL.Tangent3sEXT = (GL.Delegates.Tangent3sEXT)GetAddress("glTangent3sEXT", typeof(GL.Delegates.Tangent3sEXT)); - GL.Tangent3svEXT_ = (GL.Delegates.Tangent3svEXT_)GetAddress("glTangent3svEXT", typeof(GL.Delegates.Tangent3svEXT_)); - GL.Binormal3bEXT = (GL.Delegates.Binormal3bEXT)GetAddress("glBinormal3bEXT", typeof(GL.Delegates.Binormal3bEXT)); - GL.Binormal3bvEXT_ = (GL.Delegates.Binormal3bvEXT_)GetAddress("glBinormal3bvEXT", typeof(GL.Delegates.Binormal3bvEXT_)); - GL.Binormal3dEXT = (GL.Delegates.Binormal3dEXT)GetAddress("glBinormal3dEXT", typeof(GL.Delegates.Binormal3dEXT)); - GL.Binormal3dvEXT_ = (GL.Delegates.Binormal3dvEXT_)GetAddress("glBinormal3dvEXT", typeof(GL.Delegates.Binormal3dvEXT_)); - GL.Binormal3fEXT = (GL.Delegates.Binormal3fEXT)GetAddress("glBinormal3fEXT", typeof(GL.Delegates.Binormal3fEXT)); - GL.Binormal3fvEXT_ = (GL.Delegates.Binormal3fvEXT_)GetAddress("glBinormal3fvEXT", typeof(GL.Delegates.Binormal3fvEXT_)); - GL.Binormal3iEXT = (GL.Delegates.Binormal3iEXT)GetAddress("glBinormal3iEXT", typeof(GL.Delegates.Binormal3iEXT)); - GL.Binormal3ivEXT_ = (GL.Delegates.Binormal3ivEXT_)GetAddress("glBinormal3ivEXT", typeof(GL.Delegates.Binormal3ivEXT_)); - GL.Binormal3sEXT = (GL.Delegates.Binormal3sEXT)GetAddress("glBinormal3sEXT", typeof(GL.Delegates.Binormal3sEXT)); - GL.Binormal3svEXT_ = (GL.Delegates.Binormal3svEXT_)GetAddress("glBinormal3svEXT", typeof(GL.Delegates.Binormal3svEXT_)); - GL.TangentPointerEXT_ = (GL.Delegates.TangentPointerEXT_)GetAddress("glTangentPointerEXT", typeof(GL.Delegates.TangentPointerEXT_)); - GL.BinormalPointerEXT_ = (GL.Delegates.BinormalPointerEXT_)GetAddress("glBinormalPointerEXT", typeof(GL.Delegates.BinormalPointerEXT_)); - GL.FinishTextureSUNX = (GL.Delegates.FinishTextureSUNX)GetAddress("glFinishTextureSUNX", typeof(GL.Delegates.FinishTextureSUNX)); - GL.GlobalAlphaFactorbSUN = (GL.Delegates.GlobalAlphaFactorbSUN)GetAddress("glGlobalAlphaFactorbSUN", typeof(GL.Delegates.GlobalAlphaFactorbSUN)); - GL.GlobalAlphaFactorsSUN = (GL.Delegates.GlobalAlphaFactorsSUN)GetAddress("glGlobalAlphaFactorsSUN", typeof(GL.Delegates.GlobalAlphaFactorsSUN)); - GL.GlobalAlphaFactoriSUN = (GL.Delegates.GlobalAlphaFactoriSUN)GetAddress("glGlobalAlphaFactoriSUN", typeof(GL.Delegates.GlobalAlphaFactoriSUN)); - GL.GlobalAlphaFactorfSUN = (GL.Delegates.GlobalAlphaFactorfSUN)GetAddress("glGlobalAlphaFactorfSUN", typeof(GL.Delegates.GlobalAlphaFactorfSUN)); - GL.GlobalAlphaFactordSUN = (GL.Delegates.GlobalAlphaFactordSUN)GetAddress("glGlobalAlphaFactordSUN", typeof(GL.Delegates.GlobalAlphaFactordSUN)); - GL.GlobalAlphaFactorubSUN = (GL.Delegates.GlobalAlphaFactorubSUN)GetAddress("glGlobalAlphaFactorubSUN", typeof(GL.Delegates.GlobalAlphaFactorubSUN)); - GL.GlobalAlphaFactorusSUN = (GL.Delegates.GlobalAlphaFactorusSUN)GetAddress("glGlobalAlphaFactorusSUN", typeof(GL.Delegates.GlobalAlphaFactorusSUN)); - GL.GlobalAlphaFactoruiSUN = (GL.Delegates.GlobalAlphaFactoruiSUN)GetAddress("glGlobalAlphaFactoruiSUN", typeof(GL.Delegates.GlobalAlphaFactoruiSUN)); - GL.ReplacementCodeuiSUN = (GL.Delegates.ReplacementCodeuiSUN)GetAddress("glReplacementCodeuiSUN", typeof(GL.Delegates.ReplacementCodeuiSUN)); - GL.ReplacementCodeusSUN = (GL.Delegates.ReplacementCodeusSUN)GetAddress("glReplacementCodeusSUN", typeof(GL.Delegates.ReplacementCodeusSUN)); - GL.ReplacementCodeubSUN = (GL.Delegates.ReplacementCodeubSUN)GetAddress("glReplacementCodeubSUN", typeof(GL.Delegates.ReplacementCodeubSUN)); - GL.ReplacementCodeuivSUN_ = (GL.Delegates.ReplacementCodeuivSUN_)GetAddress("glReplacementCodeuivSUN", typeof(GL.Delegates.ReplacementCodeuivSUN_)); - GL.ReplacementCodeusvSUN_ = (GL.Delegates.ReplacementCodeusvSUN_)GetAddress("glReplacementCodeusvSUN", typeof(GL.Delegates.ReplacementCodeusvSUN_)); - GL.ReplacementCodeubvSUN_ = (GL.Delegates.ReplacementCodeubvSUN_)GetAddress("glReplacementCodeubvSUN", typeof(GL.Delegates.ReplacementCodeubvSUN_)); - GL.ReplacementCodePointerSUN_ = (GL.Delegates.ReplacementCodePointerSUN_)GetAddress("glReplacementCodePointerSUN", typeof(GL.Delegates.ReplacementCodePointerSUN_)); - GL.Color4ubVertex2fSUN = (GL.Delegates.Color4ubVertex2fSUN)GetAddress("glColor4ubVertex2fSUN", typeof(GL.Delegates.Color4ubVertex2fSUN)); - GL.Color4ubVertex2fvSUN_ = (GL.Delegates.Color4ubVertex2fvSUN_)GetAddress("glColor4ubVertex2fvSUN", typeof(GL.Delegates.Color4ubVertex2fvSUN_)); - GL.Color4ubVertex3fSUN = (GL.Delegates.Color4ubVertex3fSUN)GetAddress("glColor4ubVertex3fSUN", typeof(GL.Delegates.Color4ubVertex3fSUN)); - GL.Color4ubVertex3fvSUN_ = (GL.Delegates.Color4ubVertex3fvSUN_)GetAddress("glColor4ubVertex3fvSUN", typeof(GL.Delegates.Color4ubVertex3fvSUN_)); - GL.Color3fVertex3fSUN = (GL.Delegates.Color3fVertex3fSUN)GetAddress("glColor3fVertex3fSUN", typeof(GL.Delegates.Color3fVertex3fSUN)); - GL.Color3fVertex3fvSUN_ = (GL.Delegates.Color3fVertex3fvSUN_)GetAddress("glColor3fVertex3fvSUN", typeof(GL.Delegates.Color3fVertex3fvSUN_)); - GL.Normal3fVertex3fSUN = (GL.Delegates.Normal3fVertex3fSUN)GetAddress("glNormal3fVertex3fSUN", typeof(GL.Delegates.Normal3fVertex3fSUN)); - GL.Normal3fVertex3fvSUN_ = (GL.Delegates.Normal3fVertex3fvSUN_)GetAddress("glNormal3fVertex3fvSUN", typeof(GL.Delegates.Normal3fVertex3fvSUN_)); - GL.Color4fNormal3fVertex3fSUN = (GL.Delegates.Color4fNormal3fVertex3fSUN)GetAddress("glColor4fNormal3fVertex3fSUN", typeof(GL.Delegates.Color4fNormal3fVertex3fSUN)); - GL.Color4fNormal3fVertex3fvSUN_ = (GL.Delegates.Color4fNormal3fVertex3fvSUN_)GetAddress("glColor4fNormal3fVertex3fvSUN", typeof(GL.Delegates.Color4fNormal3fVertex3fvSUN_)); - GL.TexCoord2fVertex3fSUN = (GL.Delegates.TexCoord2fVertex3fSUN)GetAddress("glTexCoord2fVertex3fSUN", typeof(GL.Delegates.TexCoord2fVertex3fSUN)); - GL.TexCoord2fVertex3fvSUN_ = (GL.Delegates.TexCoord2fVertex3fvSUN_)GetAddress("glTexCoord2fVertex3fvSUN", typeof(GL.Delegates.TexCoord2fVertex3fvSUN_)); - GL.TexCoord4fVertex4fSUN = (GL.Delegates.TexCoord4fVertex4fSUN)GetAddress("glTexCoord4fVertex4fSUN", typeof(GL.Delegates.TexCoord4fVertex4fSUN)); - GL.TexCoord4fVertex4fvSUN_ = (GL.Delegates.TexCoord4fVertex4fvSUN_)GetAddress("glTexCoord4fVertex4fvSUN", typeof(GL.Delegates.TexCoord4fVertex4fvSUN_)); - GL.TexCoord2fColor4ubVertex3fSUN = (GL.Delegates.TexCoord2fColor4ubVertex3fSUN)GetAddress("glTexCoord2fColor4ubVertex3fSUN", typeof(GL.Delegates.TexCoord2fColor4ubVertex3fSUN)); - GL.TexCoord2fColor4ubVertex3fvSUN_ = (GL.Delegates.TexCoord2fColor4ubVertex3fvSUN_)GetAddress("glTexCoord2fColor4ubVertex3fvSUN", typeof(GL.Delegates.TexCoord2fColor4ubVertex3fvSUN_)); - GL.TexCoord2fColor3fVertex3fSUN = (GL.Delegates.TexCoord2fColor3fVertex3fSUN)GetAddress("glTexCoord2fColor3fVertex3fSUN", typeof(GL.Delegates.TexCoord2fColor3fVertex3fSUN)); - GL.TexCoord2fColor3fVertex3fvSUN_ = (GL.Delegates.TexCoord2fColor3fVertex3fvSUN_)GetAddress("glTexCoord2fColor3fVertex3fvSUN", typeof(GL.Delegates.TexCoord2fColor3fVertex3fvSUN_)); - GL.TexCoord2fNormal3fVertex3fSUN = (GL.Delegates.TexCoord2fNormal3fVertex3fSUN)GetAddress("glTexCoord2fNormal3fVertex3fSUN", typeof(GL.Delegates.TexCoord2fNormal3fVertex3fSUN)); - GL.TexCoord2fNormal3fVertex3fvSUN_ = (GL.Delegates.TexCoord2fNormal3fVertex3fvSUN_)GetAddress("glTexCoord2fNormal3fVertex3fvSUN", typeof(GL.Delegates.TexCoord2fNormal3fVertex3fvSUN_)); - GL.TexCoord2fColor4fNormal3fVertex3fSUN = (GL.Delegates.TexCoord2fColor4fNormal3fVertex3fSUN)GetAddress("glTexCoord2fColor4fNormal3fVertex3fSUN", typeof(GL.Delegates.TexCoord2fColor4fNormal3fVertex3fSUN)); - GL.TexCoord2fColor4fNormal3fVertex3fvSUN_ = (GL.Delegates.TexCoord2fColor4fNormal3fVertex3fvSUN_)GetAddress("glTexCoord2fColor4fNormal3fVertex3fvSUN", typeof(GL.Delegates.TexCoord2fColor4fNormal3fVertex3fvSUN_)); - GL.TexCoord4fColor4fNormal3fVertex4fSUN = (GL.Delegates.TexCoord4fColor4fNormal3fVertex4fSUN)GetAddress("glTexCoord4fColor4fNormal3fVertex4fSUN", typeof(GL.Delegates.TexCoord4fColor4fNormal3fVertex4fSUN)); - GL.TexCoord4fColor4fNormal3fVertex4fvSUN_ = (GL.Delegates.TexCoord4fColor4fNormal3fVertex4fvSUN_)GetAddress("glTexCoord4fColor4fNormal3fVertex4fvSUN", typeof(GL.Delegates.TexCoord4fColor4fNormal3fVertex4fvSUN_)); - GL.ReplacementCodeuiVertex3fSUN = (GL.Delegates.ReplacementCodeuiVertex3fSUN)GetAddress("glReplacementCodeuiVertex3fSUN", typeof(GL.Delegates.ReplacementCodeuiVertex3fSUN)); - GL.ReplacementCodeuiVertex3fvSUN_ = (GL.Delegates.ReplacementCodeuiVertex3fvSUN_)GetAddress("glReplacementCodeuiVertex3fvSUN", typeof(GL.Delegates.ReplacementCodeuiVertex3fvSUN_)); - GL.ReplacementCodeuiColor4ubVertex3fSUN = (GL.Delegates.ReplacementCodeuiColor4ubVertex3fSUN)GetAddress("glReplacementCodeuiColor4ubVertex3fSUN", typeof(GL.Delegates.ReplacementCodeuiColor4ubVertex3fSUN)); - GL.ReplacementCodeuiColor4ubVertex3fvSUN_ = (GL.Delegates.ReplacementCodeuiColor4ubVertex3fvSUN_)GetAddress("glReplacementCodeuiColor4ubVertex3fvSUN", typeof(GL.Delegates.ReplacementCodeuiColor4ubVertex3fvSUN_)); - GL.ReplacementCodeuiColor3fVertex3fSUN = (GL.Delegates.ReplacementCodeuiColor3fVertex3fSUN)GetAddress("glReplacementCodeuiColor3fVertex3fSUN", typeof(GL.Delegates.ReplacementCodeuiColor3fVertex3fSUN)); - GL.ReplacementCodeuiColor3fVertex3fvSUN_ = (GL.Delegates.ReplacementCodeuiColor3fVertex3fvSUN_)GetAddress("glReplacementCodeuiColor3fVertex3fvSUN", typeof(GL.Delegates.ReplacementCodeuiColor3fVertex3fvSUN_)); - GL.ReplacementCodeuiNormal3fVertex3fSUN = (GL.Delegates.ReplacementCodeuiNormal3fVertex3fSUN)GetAddress("glReplacementCodeuiNormal3fVertex3fSUN", typeof(GL.Delegates.ReplacementCodeuiNormal3fVertex3fSUN)); - GL.ReplacementCodeuiNormal3fVertex3fvSUN_ = (GL.Delegates.ReplacementCodeuiNormal3fVertex3fvSUN_)GetAddress("glReplacementCodeuiNormal3fVertex3fvSUN", typeof(GL.Delegates.ReplacementCodeuiNormal3fVertex3fvSUN_)); - GL.ReplacementCodeuiColor4fNormal3fVertex3fSUN = (GL.Delegates.ReplacementCodeuiColor4fNormal3fVertex3fSUN)GetAddress("glReplacementCodeuiColor4fNormal3fVertex3fSUN", typeof(GL.Delegates.ReplacementCodeuiColor4fNormal3fVertex3fSUN)); - GL.ReplacementCodeuiColor4fNormal3fVertex3fvSUN_ = (GL.Delegates.ReplacementCodeuiColor4fNormal3fVertex3fvSUN_)GetAddress("glReplacementCodeuiColor4fNormal3fVertex3fvSUN", typeof(GL.Delegates.ReplacementCodeuiColor4fNormal3fVertex3fvSUN_)); - GL.ReplacementCodeuiTexCoord2fVertex3fSUN = (GL.Delegates.ReplacementCodeuiTexCoord2fVertex3fSUN)GetAddress("glReplacementCodeuiTexCoord2fVertex3fSUN", typeof(GL.Delegates.ReplacementCodeuiTexCoord2fVertex3fSUN)); - GL.ReplacementCodeuiTexCoord2fVertex3fvSUN_ = (GL.Delegates.ReplacementCodeuiTexCoord2fVertex3fvSUN_)GetAddress("glReplacementCodeuiTexCoord2fVertex3fvSUN", typeof(GL.Delegates.ReplacementCodeuiTexCoord2fVertex3fvSUN_)); - GL.ReplacementCodeuiTexCoord2fNormal3fVertex3fSUN = (GL.Delegates.ReplacementCodeuiTexCoord2fNormal3fVertex3fSUN)GetAddress("glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN", typeof(GL.Delegates.ReplacementCodeuiTexCoord2fNormal3fVertex3fSUN)); - GL.ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN_ = (GL.Delegates.ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN_)GetAddress("glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN", typeof(GL.Delegates.ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN_)); - GL.ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN = (GL.Delegates.ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN)GetAddress("glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN", typeof(GL.Delegates.ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN)); - GL.ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN_ = (GL.Delegates.ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN_)GetAddress("glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN", typeof(GL.Delegates.ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN_)); - GL.BlendFuncSeparateEXT = (GL.Delegates.BlendFuncSeparateEXT)GetAddress("glBlendFuncSeparateEXT", typeof(GL.Delegates.BlendFuncSeparateEXT)); - GL.BlendFuncSeparateINGR = (GL.Delegates.BlendFuncSeparateINGR)GetAddress("glBlendFuncSeparateINGR", typeof(GL.Delegates.BlendFuncSeparateINGR)); - GL.VertexWeightfEXT = (GL.Delegates.VertexWeightfEXT)GetAddress("glVertexWeightfEXT", typeof(GL.Delegates.VertexWeightfEXT)); - GL.VertexWeightfvEXT_ = (GL.Delegates.VertexWeightfvEXT_)GetAddress("glVertexWeightfvEXT", typeof(GL.Delegates.VertexWeightfvEXT_)); - GL.VertexWeightPointerEXT_ = (GL.Delegates.VertexWeightPointerEXT_)GetAddress("glVertexWeightPointerEXT", typeof(GL.Delegates.VertexWeightPointerEXT_)); - GL.FlushVertexArrayRangeNV = (GL.Delegates.FlushVertexArrayRangeNV)GetAddress("glFlushVertexArrayRangeNV", typeof(GL.Delegates.FlushVertexArrayRangeNV)); - GL.VertexArrayRangeNV_ = (GL.Delegates.VertexArrayRangeNV_)GetAddress("glVertexArrayRangeNV", typeof(GL.Delegates.VertexArrayRangeNV_)); - GL.CombinerParameterfvNV_ = (GL.Delegates.CombinerParameterfvNV_)GetAddress("glCombinerParameterfvNV", typeof(GL.Delegates.CombinerParameterfvNV_)); - GL.CombinerParameterfNV = (GL.Delegates.CombinerParameterfNV)GetAddress("glCombinerParameterfNV", typeof(GL.Delegates.CombinerParameterfNV)); - GL.CombinerParameterivNV_ = (GL.Delegates.CombinerParameterivNV_)GetAddress("glCombinerParameterivNV", typeof(GL.Delegates.CombinerParameterivNV_)); - GL.CombinerParameteriNV = (GL.Delegates.CombinerParameteriNV)GetAddress("glCombinerParameteriNV", typeof(GL.Delegates.CombinerParameteriNV)); - GL.CombinerInputNV = (GL.Delegates.CombinerInputNV)GetAddress("glCombinerInputNV", typeof(GL.Delegates.CombinerInputNV)); - GL.CombinerOutputNV = (GL.Delegates.CombinerOutputNV)GetAddress("glCombinerOutputNV", typeof(GL.Delegates.CombinerOutputNV)); - GL.FinalCombinerInputNV = (GL.Delegates.FinalCombinerInputNV)GetAddress("glFinalCombinerInputNV", typeof(GL.Delegates.FinalCombinerInputNV)); - GL.GetCombinerInputParameterfvNV = (GL.Delegates.GetCombinerInputParameterfvNV)GetAddress("glGetCombinerInputParameterfvNV", typeof(GL.Delegates.GetCombinerInputParameterfvNV)); - GL.GetCombinerInputParameterivNV = (GL.Delegates.GetCombinerInputParameterivNV)GetAddress("glGetCombinerInputParameterivNV", typeof(GL.Delegates.GetCombinerInputParameterivNV)); - GL.GetCombinerOutputParameterfvNV = (GL.Delegates.GetCombinerOutputParameterfvNV)GetAddress("glGetCombinerOutputParameterfvNV", typeof(GL.Delegates.GetCombinerOutputParameterfvNV)); - GL.GetCombinerOutputParameterivNV = (GL.Delegates.GetCombinerOutputParameterivNV)GetAddress("glGetCombinerOutputParameterivNV", typeof(GL.Delegates.GetCombinerOutputParameterivNV)); - GL.GetFinalCombinerInputParameterfvNV = (GL.Delegates.GetFinalCombinerInputParameterfvNV)GetAddress("glGetFinalCombinerInputParameterfvNV", typeof(GL.Delegates.GetFinalCombinerInputParameterfvNV)); - GL.GetFinalCombinerInputParameterivNV = (GL.Delegates.GetFinalCombinerInputParameterivNV)GetAddress("glGetFinalCombinerInputParameterivNV", typeof(GL.Delegates.GetFinalCombinerInputParameterivNV)); - GL.ResizeBuffersMESA = (GL.Delegates.ResizeBuffersMESA)GetAddress("glResizeBuffersMESA", typeof(GL.Delegates.ResizeBuffersMESA)); - GL.WindowPos2dMESA = (GL.Delegates.WindowPos2dMESA)GetAddress("glWindowPos2dMESA", typeof(GL.Delegates.WindowPos2dMESA)); - GL.WindowPos2dvMESA_ = (GL.Delegates.WindowPos2dvMESA_)GetAddress("glWindowPos2dvMESA", typeof(GL.Delegates.WindowPos2dvMESA_)); - GL.WindowPos2fMESA = (GL.Delegates.WindowPos2fMESA)GetAddress("glWindowPos2fMESA", typeof(GL.Delegates.WindowPos2fMESA)); - GL.WindowPos2fvMESA_ = (GL.Delegates.WindowPos2fvMESA_)GetAddress("glWindowPos2fvMESA", typeof(GL.Delegates.WindowPos2fvMESA_)); - GL.WindowPos2iMESA = (GL.Delegates.WindowPos2iMESA)GetAddress("glWindowPos2iMESA", typeof(GL.Delegates.WindowPos2iMESA)); - GL.WindowPos2ivMESA_ = (GL.Delegates.WindowPos2ivMESA_)GetAddress("glWindowPos2ivMESA", typeof(GL.Delegates.WindowPos2ivMESA_)); - GL.WindowPos2sMESA = (GL.Delegates.WindowPos2sMESA)GetAddress("glWindowPos2sMESA", typeof(GL.Delegates.WindowPos2sMESA)); - GL.WindowPos2svMESA_ = (GL.Delegates.WindowPos2svMESA_)GetAddress("glWindowPos2svMESA", typeof(GL.Delegates.WindowPos2svMESA_)); - GL.WindowPos3dMESA = (GL.Delegates.WindowPos3dMESA)GetAddress("glWindowPos3dMESA", typeof(GL.Delegates.WindowPos3dMESA)); - GL.WindowPos3dvMESA_ = (GL.Delegates.WindowPos3dvMESA_)GetAddress("glWindowPos3dvMESA", typeof(GL.Delegates.WindowPos3dvMESA_)); - GL.WindowPos3fMESA = (GL.Delegates.WindowPos3fMESA)GetAddress("glWindowPos3fMESA", typeof(GL.Delegates.WindowPos3fMESA)); - GL.WindowPos3fvMESA_ = (GL.Delegates.WindowPos3fvMESA_)GetAddress("glWindowPos3fvMESA", typeof(GL.Delegates.WindowPos3fvMESA_)); - GL.WindowPos3iMESA = (GL.Delegates.WindowPos3iMESA)GetAddress("glWindowPos3iMESA", typeof(GL.Delegates.WindowPos3iMESA)); - GL.WindowPos3ivMESA_ = (GL.Delegates.WindowPos3ivMESA_)GetAddress("glWindowPos3ivMESA", typeof(GL.Delegates.WindowPos3ivMESA_)); - GL.WindowPos3sMESA = (GL.Delegates.WindowPos3sMESA)GetAddress("glWindowPos3sMESA", typeof(GL.Delegates.WindowPos3sMESA)); - GL.WindowPos3svMESA_ = (GL.Delegates.WindowPos3svMESA_)GetAddress("glWindowPos3svMESA", typeof(GL.Delegates.WindowPos3svMESA_)); - GL.WindowPos4dMESA = (GL.Delegates.WindowPos4dMESA)GetAddress("glWindowPos4dMESA", typeof(GL.Delegates.WindowPos4dMESA)); - GL.WindowPos4dvMESA_ = (GL.Delegates.WindowPos4dvMESA_)GetAddress("glWindowPos4dvMESA", typeof(GL.Delegates.WindowPos4dvMESA_)); - GL.WindowPos4fMESA = (GL.Delegates.WindowPos4fMESA)GetAddress("glWindowPos4fMESA", typeof(GL.Delegates.WindowPos4fMESA)); - GL.WindowPos4fvMESA_ = (GL.Delegates.WindowPos4fvMESA_)GetAddress("glWindowPos4fvMESA", typeof(GL.Delegates.WindowPos4fvMESA_)); - GL.WindowPos4iMESA = (GL.Delegates.WindowPos4iMESA)GetAddress("glWindowPos4iMESA", typeof(GL.Delegates.WindowPos4iMESA)); - GL.WindowPos4ivMESA_ = (GL.Delegates.WindowPos4ivMESA_)GetAddress("glWindowPos4ivMESA", typeof(GL.Delegates.WindowPos4ivMESA_)); - GL.WindowPos4sMESA = (GL.Delegates.WindowPos4sMESA)GetAddress("glWindowPos4sMESA", typeof(GL.Delegates.WindowPos4sMESA)); - GL.WindowPos4svMESA_ = (GL.Delegates.WindowPos4svMESA_)GetAddress("glWindowPos4svMESA", typeof(GL.Delegates.WindowPos4svMESA_)); - GL.MultiModeDrawArraysIBM_ = (GL.Delegates.MultiModeDrawArraysIBM_)GetAddress("glMultiModeDrawArraysIBM", typeof(GL.Delegates.MultiModeDrawArraysIBM_)); - GL.MultiModeDrawElementsIBM_ = (GL.Delegates.MultiModeDrawElementsIBM_)GetAddress("glMultiModeDrawElementsIBM", typeof(GL.Delegates.MultiModeDrawElementsIBM_)); - GL.ColorPointerListIBM_ = (GL.Delegates.ColorPointerListIBM_)GetAddress("glColorPointerListIBM", typeof(GL.Delegates.ColorPointerListIBM_)); - GL.SecondaryColorPointerListIBM_ = (GL.Delegates.SecondaryColorPointerListIBM_)GetAddress("glSecondaryColorPointerListIBM", typeof(GL.Delegates.SecondaryColorPointerListIBM_)); - GL.EdgeFlagPointerListIBM_ = (GL.Delegates.EdgeFlagPointerListIBM_)GetAddress("glEdgeFlagPointerListIBM", typeof(GL.Delegates.EdgeFlagPointerListIBM_)); - GL.FogCoordPointerListIBM_ = (GL.Delegates.FogCoordPointerListIBM_)GetAddress("glFogCoordPointerListIBM", typeof(GL.Delegates.FogCoordPointerListIBM_)); - GL.IndexPointerListIBM_ = (GL.Delegates.IndexPointerListIBM_)GetAddress("glIndexPointerListIBM", typeof(GL.Delegates.IndexPointerListIBM_)); - GL.NormalPointerListIBM_ = (GL.Delegates.NormalPointerListIBM_)GetAddress("glNormalPointerListIBM", typeof(GL.Delegates.NormalPointerListIBM_)); - GL.TexCoordPointerListIBM_ = (GL.Delegates.TexCoordPointerListIBM_)GetAddress("glTexCoordPointerListIBM", typeof(GL.Delegates.TexCoordPointerListIBM_)); - GL.VertexPointerListIBM_ = (GL.Delegates.VertexPointerListIBM_)GetAddress("glVertexPointerListIBM", typeof(GL.Delegates.VertexPointerListIBM_)); - GL.TbufferMask3DFX = (GL.Delegates.TbufferMask3DFX)GetAddress("glTbufferMask3DFX", typeof(GL.Delegates.TbufferMask3DFX)); - GL.SampleMaskEXT = (GL.Delegates.SampleMaskEXT)GetAddress("glSampleMaskEXT", typeof(GL.Delegates.SampleMaskEXT)); - GL.SamplePatternEXT = (GL.Delegates.SamplePatternEXT)GetAddress("glSamplePatternEXT", typeof(GL.Delegates.SamplePatternEXT)); - GL.TextureColorMaskSGIS = (GL.Delegates.TextureColorMaskSGIS)GetAddress("glTextureColorMaskSGIS", typeof(GL.Delegates.TextureColorMaskSGIS)); - GL.IglooInterfaceSGIX_ = (GL.Delegates.IglooInterfaceSGIX_)GetAddress("glIglooInterfaceSGIX", typeof(GL.Delegates.IglooInterfaceSGIX_)); - GL.DeleteFencesNV_ = (GL.Delegates.DeleteFencesNV_)GetAddress("glDeleteFencesNV", typeof(GL.Delegates.DeleteFencesNV_)); - GL.GenFencesNV = (GL.Delegates.GenFencesNV)GetAddress("glGenFencesNV", typeof(GL.Delegates.GenFencesNV)); - GL.IsFenceNV = (GL.Delegates.IsFenceNV)GetAddress("glIsFenceNV", typeof(GL.Delegates.IsFenceNV)); - GL.TestFenceNV = (GL.Delegates.TestFenceNV)GetAddress("glTestFenceNV", typeof(GL.Delegates.TestFenceNV)); - GL.GetFenceivNV = (GL.Delegates.GetFenceivNV)GetAddress("glGetFenceivNV", typeof(GL.Delegates.GetFenceivNV)); - GL.FinishFenceNV = (GL.Delegates.FinishFenceNV)GetAddress("glFinishFenceNV", typeof(GL.Delegates.FinishFenceNV)); - GL.SetFenceNV = (GL.Delegates.SetFenceNV)GetAddress("glSetFenceNV", typeof(GL.Delegates.SetFenceNV)); - GL.MapControlPointsNV_ = (GL.Delegates.MapControlPointsNV_)GetAddress("glMapControlPointsNV", typeof(GL.Delegates.MapControlPointsNV_)); - GL.MapParameterivNV_ = (GL.Delegates.MapParameterivNV_)GetAddress("glMapParameterivNV", typeof(GL.Delegates.MapParameterivNV_)); - GL.MapParameterfvNV_ = (GL.Delegates.MapParameterfvNV_)GetAddress("glMapParameterfvNV", typeof(GL.Delegates.MapParameterfvNV_)); - GL.GetMapControlPointsNV_ = (GL.Delegates.GetMapControlPointsNV_)GetAddress("glGetMapControlPointsNV", typeof(GL.Delegates.GetMapControlPointsNV_)); - GL.GetMapParameterivNV = (GL.Delegates.GetMapParameterivNV)GetAddress("glGetMapParameterivNV", typeof(GL.Delegates.GetMapParameterivNV)); - GL.GetMapParameterfvNV = (GL.Delegates.GetMapParameterfvNV)GetAddress("glGetMapParameterfvNV", typeof(GL.Delegates.GetMapParameterfvNV)); - GL.GetMapAttribParameterivNV = (GL.Delegates.GetMapAttribParameterivNV)GetAddress("glGetMapAttribParameterivNV", typeof(GL.Delegates.GetMapAttribParameterivNV)); - GL.GetMapAttribParameterfvNV = (GL.Delegates.GetMapAttribParameterfvNV)GetAddress("glGetMapAttribParameterfvNV", typeof(GL.Delegates.GetMapAttribParameterfvNV)); - GL.EvalMapsNV = (GL.Delegates.EvalMapsNV)GetAddress("glEvalMapsNV", typeof(GL.Delegates.EvalMapsNV)); - GL.CombinerStageParameterfvNV_ = (GL.Delegates.CombinerStageParameterfvNV_)GetAddress("glCombinerStageParameterfvNV", typeof(GL.Delegates.CombinerStageParameterfvNV_)); - GL.GetCombinerStageParameterfvNV = (GL.Delegates.GetCombinerStageParameterfvNV)GetAddress("glGetCombinerStageParameterfvNV", typeof(GL.Delegates.GetCombinerStageParameterfvNV)); - GL.AreProgramsResidentNV_ = (GL.Delegates.AreProgramsResidentNV_)GetAddress("glAreProgramsResidentNV", typeof(GL.Delegates.AreProgramsResidentNV_)); - GL.BindProgramNV = (GL.Delegates.BindProgramNV)GetAddress("glBindProgramNV", typeof(GL.Delegates.BindProgramNV)); - GL.DeleteProgramsNV_ = (GL.Delegates.DeleteProgramsNV_)GetAddress("glDeleteProgramsNV", typeof(GL.Delegates.DeleteProgramsNV_)); - GL.ExecuteProgramNV_ = (GL.Delegates.ExecuteProgramNV_)GetAddress("glExecuteProgramNV", typeof(GL.Delegates.ExecuteProgramNV_)); - GL.GenProgramsNV = (GL.Delegates.GenProgramsNV)GetAddress("glGenProgramsNV", typeof(GL.Delegates.GenProgramsNV)); - GL.GetProgramParameterdvNV = (GL.Delegates.GetProgramParameterdvNV)GetAddress("glGetProgramParameterdvNV", typeof(GL.Delegates.GetProgramParameterdvNV)); - GL.GetProgramParameterfvNV = (GL.Delegates.GetProgramParameterfvNV)GetAddress("glGetProgramParameterfvNV", typeof(GL.Delegates.GetProgramParameterfvNV)); - GL.GetProgramivNV = (GL.Delegates.GetProgramivNV)GetAddress("glGetProgramivNV", typeof(GL.Delegates.GetProgramivNV)); - GL.GetProgramStringNV = (GL.Delegates.GetProgramStringNV)GetAddress("glGetProgramStringNV", typeof(GL.Delegates.GetProgramStringNV)); - GL.GetTrackMatrixivNV = (GL.Delegates.GetTrackMatrixivNV)GetAddress("glGetTrackMatrixivNV", typeof(GL.Delegates.GetTrackMatrixivNV)); - GL.GetVertexAttribdvNV = (GL.Delegates.GetVertexAttribdvNV)GetAddress("glGetVertexAttribdvNV", typeof(GL.Delegates.GetVertexAttribdvNV)); - GL.GetVertexAttribfvNV = (GL.Delegates.GetVertexAttribfvNV)GetAddress("glGetVertexAttribfvNV", typeof(GL.Delegates.GetVertexAttribfvNV)); - GL.GetVertexAttribivNV = (GL.Delegates.GetVertexAttribivNV)GetAddress("glGetVertexAttribivNV", typeof(GL.Delegates.GetVertexAttribivNV)); - GL.GetVertexAttribPointervNV = (GL.Delegates.GetVertexAttribPointervNV)GetAddress("glGetVertexAttribPointervNV", typeof(GL.Delegates.GetVertexAttribPointervNV)); - GL.IsProgramNV = (GL.Delegates.IsProgramNV)GetAddress("glIsProgramNV", typeof(GL.Delegates.IsProgramNV)); - GL.LoadProgramNV_ = (GL.Delegates.LoadProgramNV_)GetAddress("glLoadProgramNV", typeof(GL.Delegates.LoadProgramNV_)); - GL.ProgramParameter4dNV = (GL.Delegates.ProgramParameter4dNV)GetAddress("glProgramParameter4dNV", typeof(GL.Delegates.ProgramParameter4dNV)); - GL.ProgramParameter4dvNV_ = (GL.Delegates.ProgramParameter4dvNV_)GetAddress("glProgramParameter4dvNV", typeof(GL.Delegates.ProgramParameter4dvNV_)); - GL.ProgramParameter4fNV = (GL.Delegates.ProgramParameter4fNV)GetAddress("glProgramParameter4fNV", typeof(GL.Delegates.ProgramParameter4fNV)); - GL.ProgramParameter4fvNV_ = (GL.Delegates.ProgramParameter4fvNV_)GetAddress("glProgramParameter4fvNV", typeof(GL.Delegates.ProgramParameter4fvNV_)); - GL.ProgramParameters4dvNV_ = (GL.Delegates.ProgramParameters4dvNV_)GetAddress("glProgramParameters4dvNV", typeof(GL.Delegates.ProgramParameters4dvNV_)); - GL.ProgramParameters4fvNV_ = (GL.Delegates.ProgramParameters4fvNV_)GetAddress("glProgramParameters4fvNV", typeof(GL.Delegates.ProgramParameters4fvNV_)); - GL.RequestResidentProgramsNV_ = (GL.Delegates.RequestResidentProgramsNV_)GetAddress("glRequestResidentProgramsNV", typeof(GL.Delegates.RequestResidentProgramsNV_)); - GL.TrackMatrixNV = (GL.Delegates.TrackMatrixNV)GetAddress("glTrackMatrixNV", typeof(GL.Delegates.TrackMatrixNV)); - GL.VertexAttribPointerNV_ = (GL.Delegates.VertexAttribPointerNV_)GetAddress("glVertexAttribPointerNV", typeof(GL.Delegates.VertexAttribPointerNV_)); - GL.VertexAttrib1dNV = (GL.Delegates.VertexAttrib1dNV)GetAddress("glVertexAttrib1dNV", typeof(GL.Delegates.VertexAttrib1dNV)); - GL.VertexAttrib1dvNV_ = (GL.Delegates.VertexAttrib1dvNV_)GetAddress("glVertexAttrib1dvNV", typeof(GL.Delegates.VertexAttrib1dvNV_)); - GL.VertexAttrib1fNV = (GL.Delegates.VertexAttrib1fNV)GetAddress("glVertexAttrib1fNV", typeof(GL.Delegates.VertexAttrib1fNV)); - GL.VertexAttrib1fvNV_ = (GL.Delegates.VertexAttrib1fvNV_)GetAddress("glVertexAttrib1fvNV", typeof(GL.Delegates.VertexAttrib1fvNV_)); - GL.VertexAttrib1sNV = (GL.Delegates.VertexAttrib1sNV)GetAddress("glVertexAttrib1sNV", typeof(GL.Delegates.VertexAttrib1sNV)); - GL.VertexAttrib1svNV_ = (GL.Delegates.VertexAttrib1svNV_)GetAddress("glVertexAttrib1svNV", typeof(GL.Delegates.VertexAttrib1svNV_)); - GL.VertexAttrib2dNV = (GL.Delegates.VertexAttrib2dNV)GetAddress("glVertexAttrib2dNV", typeof(GL.Delegates.VertexAttrib2dNV)); - GL.VertexAttrib2dvNV_ = (GL.Delegates.VertexAttrib2dvNV_)GetAddress("glVertexAttrib2dvNV", typeof(GL.Delegates.VertexAttrib2dvNV_)); - GL.VertexAttrib2fNV = (GL.Delegates.VertexAttrib2fNV)GetAddress("glVertexAttrib2fNV", typeof(GL.Delegates.VertexAttrib2fNV)); - GL.VertexAttrib2fvNV_ = (GL.Delegates.VertexAttrib2fvNV_)GetAddress("glVertexAttrib2fvNV", typeof(GL.Delegates.VertexAttrib2fvNV_)); - GL.VertexAttrib2sNV = (GL.Delegates.VertexAttrib2sNV)GetAddress("glVertexAttrib2sNV", typeof(GL.Delegates.VertexAttrib2sNV)); - GL.VertexAttrib2svNV_ = (GL.Delegates.VertexAttrib2svNV_)GetAddress("glVertexAttrib2svNV", typeof(GL.Delegates.VertexAttrib2svNV_)); - GL.VertexAttrib3dNV = (GL.Delegates.VertexAttrib3dNV)GetAddress("glVertexAttrib3dNV", typeof(GL.Delegates.VertexAttrib3dNV)); - GL.VertexAttrib3dvNV_ = (GL.Delegates.VertexAttrib3dvNV_)GetAddress("glVertexAttrib3dvNV", typeof(GL.Delegates.VertexAttrib3dvNV_)); - GL.VertexAttrib3fNV = (GL.Delegates.VertexAttrib3fNV)GetAddress("glVertexAttrib3fNV", typeof(GL.Delegates.VertexAttrib3fNV)); - GL.VertexAttrib3fvNV_ = (GL.Delegates.VertexAttrib3fvNV_)GetAddress("glVertexAttrib3fvNV", typeof(GL.Delegates.VertexAttrib3fvNV_)); - GL.VertexAttrib3sNV = (GL.Delegates.VertexAttrib3sNV)GetAddress("glVertexAttrib3sNV", typeof(GL.Delegates.VertexAttrib3sNV)); - GL.VertexAttrib3svNV_ = (GL.Delegates.VertexAttrib3svNV_)GetAddress("glVertexAttrib3svNV", typeof(GL.Delegates.VertexAttrib3svNV_)); - GL.VertexAttrib4dNV = (GL.Delegates.VertexAttrib4dNV)GetAddress("glVertexAttrib4dNV", typeof(GL.Delegates.VertexAttrib4dNV)); - GL.VertexAttrib4dvNV_ = (GL.Delegates.VertexAttrib4dvNV_)GetAddress("glVertexAttrib4dvNV", typeof(GL.Delegates.VertexAttrib4dvNV_)); - GL.VertexAttrib4fNV = (GL.Delegates.VertexAttrib4fNV)GetAddress("glVertexAttrib4fNV", typeof(GL.Delegates.VertexAttrib4fNV)); - GL.VertexAttrib4fvNV_ = (GL.Delegates.VertexAttrib4fvNV_)GetAddress("glVertexAttrib4fvNV", typeof(GL.Delegates.VertexAttrib4fvNV_)); - GL.VertexAttrib4sNV = (GL.Delegates.VertexAttrib4sNV)GetAddress("glVertexAttrib4sNV", typeof(GL.Delegates.VertexAttrib4sNV)); - GL.VertexAttrib4svNV_ = (GL.Delegates.VertexAttrib4svNV_)GetAddress("glVertexAttrib4svNV", typeof(GL.Delegates.VertexAttrib4svNV_)); - GL.VertexAttrib4ubNV = (GL.Delegates.VertexAttrib4ubNV)GetAddress("glVertexAttrib4ubNV", typeof(GL.Delegates.VertexAttrib4ubNV)); - GL.VertexAttrib4ubvNV_ = (GL.Delegates.VertexAttrib4ubvNV_)GetAddress("glVertexAttrib4ubvNV", typeof(GL.Delegates.VertexAttrib4ubvNV_)); - GL.VertexAttribs1dvNV_ = (GL.Delegates.VertexAttribs1dvNV_)GetAddress("glVertexAttribs1dvNV", typeof(GL.Delegates.VertexAttribs1dvNV_)); - GL.VertexAttribs1fvNV_ = (GL.Delegates.VertexAttribs1fvNV_)GetAddress("glVertexAttribs1fvNV", typeof(GL.Delegates.VertexAttribs1fvNV_)); - GL.VertexAttribs1svNV_ = (GL.Delegates.VertexAttribs1svNV_)GetAddress("glVertexAttribs1svNV", typeof(GL.Delegates.VertexAttribs1svNV_)); - GL.VertexAttribs2dvNV_ = (GL.Delegates.VertexAttribs2dvNV_)GetAddress("glVertexAttribs2dvNV", typeof(GL.Delegates.VertexAttribs2dvNV_)); - GL.VertexAttribs2fvNV_ = (GL.Delegates.VertexAttribs2fvNV_)GetAddress("glVertexAttribs2fvNV", typeof(GL.Delegates.VertexAttribs2fvNV_)); - GL.VertexAttribs2svNV_ = (GL.Delegates.VertexAttribs2svNV_)GetAddress("glVertexAttribs2svNV", typeof(GL.Delegates.VertexAttribs2svNV_)); - GL.VertexAttribs3dvNV_ = (GL.Delegates.VertexAttribs3dvNV_)GetAddress("glVertexAttribs3dvNV", typeof(GL.Delegates.VertexAttribs3dvNV_)); - GL.VertexAttribs3fvNV_ = (GL.Delegates.VertexAttribs3fvNV_)GetAddress("glVertexAttribs3fvNV", typeof(GL.Delegates.VertexAttribs3fvNV_)); - GL.VertexAttribs3svNV_ = (GL.Delegates.VertexAttribs3svNV_)GetAddress("glVertexAttribs3svNV", typeof(GL.Delegates.VertexAttribs3svNV_)); - GL.VertexAttribs4dvNV_ = (GL.Delegates.VertexAttribs4dvNV_)GetAddress("glVertexAttribs4dvNV", typeof(GL.Delegates.VertexAttribs4dvNV_)); - GL.VertexAttribs4fvNV_ = (GL.Delegates.VertexAttribs4fvNV_)GetAddress("glVertexAttribs4fvNV", typeof(GL.Delegates.VertexAttribs4fvNV_)); - GL.VertexAttribs4svNV_ = (GL.Delegates.VertexAttribs4svNV_)GetAddress("glVertexAttribs4svNV", typeof(GL.Delegates.VertexAttribs4svNV_)); - GL.VertexAttribs4ubvNV_ = (GL.Delegates.VertexAttribs4ubvNV_)GetAddress("glVertexAttribs4ubvNV", typeof(GL.Delegates.VertexAttribs4ubvNV_)); - GL.TexBumpParameterivATI_ = (GL.Delegates.TexBumpParameterivATI_)GetAddress("glTexBumpParameterivATI", typeof(GL.Delegates.TexBumpParameterivATI_)); - GL.TexBumpParameterfvATI_ = (GL.Delegates.TexBumpParameterfvATI_)GetAddress("glTexBumpParameterfvATI", typeof(GL.Delegates.TexBumpParameterfvATI_)); - GL.GetTexBumpParameterivATI = (GL.Delegates.GetTexBumpParameterivATI)GetAddress("glGetTexBumpParameterivATI", typeof(GL.Delegates.GetTexBumpParameterivATI)); - GL.GetTexBumpParameterfvATI = (GL.Delegates.GetTexBumpParameterfvATI)GetAddress("glGetTexBumpParameterfvATI", typeof(GL.Delegates.GetTexBumpParameterfvATI)); - GL.GenFragmentShadersATI = (GL.Delegates.GenFragmentShadersATI)GetAddress("glGenFragmentShadersATI", typeof(GL.Delegates.GenFragmentShadersATI)); - GL.BindFragmentShaderATI = (GL.Delegates.BindFragmentShaderATI)GetAddress("glBindFragmentShaderATI", typeof(GL.Delegates.BindFragmentShaderATI)); - GL.DeleteFragmentShaderATI = (GL.Delegates.DeleteFragmentShaderATI)GetAddress("glDeleteFragmentShaderATI", typeof(GL.Delegates.DeleteFragmentShaderATI)); - GL.BeginFragmentShaderATI = (GL.Delegates.BeginFragmentShaderATI)GetAddress("glBeginFragmentShaderATI", typeof(GL.Delegates.BeginFragmentShaderATI)); - GL.EndFragmentShaderATI = (GL.Delegates.EndFragmentShaderATI)GetAddress("glEndFragmentShaderATI", typeof(GL.Delegates.EndFragmentShaderATI)); - GL.PassTexCoordATI = (GL.Delegates.PassTexCoordATI)GetAddress("glPassTexCoordATI", typeof(GL.Delegates.PassTexCoordATI)); - GL.SampleMapATI = (GL.Delegates.SampleMapATI)GetAddress("glSampleMapATI", typeof(GL.Delegates.SampleMapATI)); - GL.ColorFragmentOp1ATI = (GL.Delegates.ColorFragmentOp1ATI)GetAddress("glColorFragmentOp1ATI", typeof(GL.Delegates.ColorFragmentOp1ATI)); - GL.ColorFragmentOp2ATI = (GL.Delegates.ColorFragmentOp2ATI)GetAddress("glColorFragmentOp2ATI", typeof(GL.Delegates.ColorFragmentOp2ATI)); - GL.ColorFragmentOp3ATI = (GL.Delegates.ColorFragmentOp3ATI)GetAddress("glColorFragmentOp3ATI", typeof(GL.Delegates.ColorFragmentOp3ATI)); - GL.AlphaFragmentOp1ATI = (GL.Delegates.AlphaFragmentOp1ATI)GetAddress("glAlphaFragmentOp1ATI", typeof(GL.Delegates.AlphaFragmentOp1ATI)); - GL.AlphaFragmentOp2ATI = (GL.Delegates.AlphaFragmentOp2ATI)GetAddress("glAlphaFragmentOp2ATI", typeof(GL.Delegates.AlphaFragmentOp2ATI)); - GL.AlphaFragmentOp3ATI = (GL.Delegates.AlphaFragmentOp3ATI)GetAddress("glAlphaFragmentOp3ATI", typeof(GL.Delegates.AlphaFragmentOp3ATI)); - GL.SetFragmentShaderConstantATI_ = (GL.Delegates.SetFragmentShaderConstantATI_)GetAddress("glSetFragmentShaderConstantATI", typeof(GL.Delegates.SetFragmentShaderConstantATI_)); - GL.PNTrianglesiATI = (GL.Delegates.PNTrianglesiATI)GetAddress("glPNTrianglesiATI", typeof(GL.Delegates.PNTrianglesiATI)); - GL.PNTrianglesfATI = (GL.Delegates.PNTrianglesfATI)GetAddress("glPNTrianglesfATI", typeof(GL.Delegates.PNTrianglesfATI)); - GL.NewObjectBufferATI_ = (GL.Delegates.NewObjectBufferATI_)GetAddress("glNewObjectBufferATI", typeof(GL.Delegates.NewObjectBufferATI_)); - GL.IsObjectBufferATI = (GL.Delegates.IsObjectBufferATI)GetAddress("glIsObjectBufferATI", typeof(GL.Delegates.IsObjectBufferATI)); - GL.UpdateObjectBufferATI_ = (GL.Delegates.UpdateObjectBufferATI_)GetAddress("glUpdateObjectBufferATI", typeof(GL.Delegates.UpdateObjectBufferATI_)); - GL.GetObjectBufferfvATI = (GL.Delegates.GetObjectBufferfvATI)GetAddress("glGetObjectBufferfvATI", typeof(GL.Delegates.GetObjectBufferfvATI)); - GL.GetObjectBufferivATI = (GL.Delegates.GetObjectBufferivATI)GetAddress("glGetObjectBufferivATI", typeof(GL.Delegates.GetObjectBufferivATI)); - GL.FreeObjectBufferATI = (GL.Delegates.FreeObjectBufferATI)GetAddress("glFreeObjectBufferATI", typeof(GL.Delegates.FreeObjectBufferATI)); - GL.ArrayObjectATI = (GL.Delegates.ArrayObjectATI)GetAddress("glArrayObjectATI", typeof(GL.Delegates.ArrayObjectATI)); - GL.GetArrayObjectfvATI = (GL.Delegates.GetArrayObjectfvATI)GetAddress("glGetArrayObjectfvATI", typeof(GL.Delegates.GetArrayObjectfvATI)); - GL.GetArrayObjectivATI = (GL.Delegates.GetArrayObjectivATI)GetAddress("glGetArrayObjectivATI", typeof(GL.Delegates.GetArrayObjectivATI)); - GL.VariantArrayObjectATI = (GL.Delegates.VariantArrayObjectATI)GetAddress("glVariantArrayObjectATI", typeof(GL.Delegates.VariantArrayObjectATI)); - GL.GetVariantArrayObjectfvATI = (GL.Delegates.GetVariantArrayObjectfvATI)GetAddress("glGetVariantArrayObjectfvATI", typeof(GL.Delegates.GetVariantArrayObjectfvATI)); - GL.GetVariantArrayObjectivATI = (GL.Delegates.GetVariantArrayObjectivATI)GetAddress("glGetVariantArrayObjectivATI", typeof(GL.Delegates.GetVariantArrayObjectivATI)); - GL.BeginVertexShaderEXT = (GL.Delegates.BeginVertexShaderEXT)GetAddress("glBeginVertexShaderEXT", typeof(GL.Delegates.BeginVertexShaderEXT)); - GL.EndVertexShaderEXT = (GL.Delegates.EndVertexShaderEXT)GetAddress("glEndVertexShaderEXT", typeof(GL.Delegates.EndVertexShaderEXT)); - GL.BindVertexShaderEXT = (GL.Delegates.BindVertexShaderEXT)GetAddress("glBindVertexShaderEXT", typeof(GL.Delegates.BindVertexShaderEXT)); - GL.GenVertexShadersEXT = (GL.Delegates.GenVertexShadersEXT)GetAddress("glGenVertexShadersEXT", typeof(GL.Delegates.GenVertexShadersEXT)); - GL.DeleteVertexShaderEXT = (GL.Delegates.DeleteVertexShaderEXT)GetAddress("glDeleteVertexShaderEXT", typeof(GL.Delegates.DeleteVertexShaderEXT)); - GL.ShaderOp1EXT = (GL.Delegates.ShaderOp1EXT)GetAddress("glShaderOp1EXT", typeof(GL.Delegates.ShaderOp1EXT)); - GL.ShaderOp2EXT = (GL.Delegates.ShaderOp2EXT)GetAddress("glShaderOp2EXT", typeof(GL.Delegates.ShaderOp2EXT)); - GL.ShaderOp3EXT = (GL.Delegates.ShaderOp3EXT)GetAddress("glShaderOp3EXT", typeof(GL.Delegates.ShaderOp3EXT)); - GL.SwizzleEXT = (GL.Delegates.SwizzleEXT)GetAddress("glSwizzleEXT", typeof(GL.Delegates.SwizzleEXT)); - GL.WriteMaskEXT = (GL.Delegates.WriteMaskEXT)GetAddress("glWriteMaskEXT", typeof(GL.Delegates.WriteMaskEXT)); - GL.InsertComponentEXT = (GL.Delegates.InsertComponentEXT)GetAddress("glInsertComponentEXT", typeof(GL.Delegates.InsertComponentEXT)); - GL.ExtractComponentEXT = (GL.Delegates.ExtractComponentEXT)GetAddress("glExtractComponentEXT", typeof(GL.Delegates.ExtractComponentEXT)); - GL.GenSymbolsEXT = (GL.Delegates.GenSymbolsEXT)GetAddress("glGenSymbolsEXT", typeof(GL.Delegates.GenSymbolsEXT)); - GL.SetInvariantEXT_ = (GL.Delegates.SetInvariantEXT_)GetAddress("glSetInvariantEXT", typeof(GL.Delegates.SetInvariantEXT_)); - GL.SetLocalConstantEXT_ = (GL.Delegates.SetLocalConstantEXT_)GetAddress("glSetLocalConstantEXT", typeof(GL.Delegates.SetLocalConstantEXT_)); - GL.VariantbvEXT_ = (GL.Delegates.VariantbvEXT_)GetAddress("glVariantbvEXT", typeof(GL.Delegates.VariantbvEXT_)); - GL.VariantsvEXT_ = (GL.Delegates.VariantsvEXT_)GetAddress("glVariantsvEXT", typeof(GL.Delegates.VariantsvEXT_)); - GL.VariantivEXT_ = (GL.Delegates.VariantivEXT_)GetAddress("glVariantivEXT", typeof(GL.Delegates.VariantivEXT_)); - GL.VariantfvEXT_ = (GL.Delegates.VariantfvEXT_)GetAddress("glVariantfvEXT", typeof(GL.Delegates.VariantfvEXT_)); - GL.VariantdvEXT_ = (GL.Delegates.VariantdvEXT_)GetAddress("glVariantdvEXT", typeof(GL.Delegates.VariantdvEXT_)); - GL.VariantubvEXT_ = (GL.Delegates.VariantubvEXT_)GetAddress("glVariantubvEXT", typeof(GL.Delegates.VariantubvEXT_)); - GL.VariantusvEXT_ = (GL.Delegates.VariantusvEXT_)GetAddress("glVariantusvEXT", typeof(GL.Delegates.VariantusvEXT_)); - GL.VariantuivEXT_ = (GL.Delegates.VariantuivEXT_)GetAddress("glVariantuivEXT", typeof(GL.Delegates.VariantuivEXT_)); - GL.VariantPointerEXT_ = (GL.Delegates.VariantPointerEXT_)GetAddress("glVariantPointerEXT", typeof(GL.Delegates.VariantPointerEXT_)); - GL.EnableVariantClientStateEXT = (GL.Delegates.EnableVariantClientStateEXT)GetAddress("glEnableVariantClientStateEXT", typeof(GL.Delegates.EnableVariantClientStateEXT)); - GL.DisableVariantClientStateEXT = (GL.Delegates.DisableVariantClientStateEXT)GetAddress("glDisableVariantClientStateEXT", typeof(GL.Delegates.DisableVariantClientStateEXT)); - GL.BindLightParameterEXT = (GL.Delegates.BindLightParameterEXT)GetAddress("glBindLightParameterEXT", typeof(GL.Delegates.BindLightParameterEXT)); - GL.BindMaterialParameterEXT = (GL.Delegates.BindMaterialParameterEXT)GetAddress("glBindMaterialParameterEXT", typeof(GL.Delegates.BindMaterialParameterEXT)); - GL.BindTexGenParameterEXT = (GL.Delegates.BindTexGenParameterEXT)GetAddress("glBindTexGenParameterEXT", typeof(GL.Delegates.BindTexGenParameterEXT)); - GL.BindTextureUnitParameterEXT = (GL.Delegates.BindTextureUnitParameterEXT)GetAddress("glBindTextureUnitParameterEXT", typeof(GL.Delegates.BindTextureUnitParameterEXT)); - GL.BindParameterEXT = (GL.Delegates.BindParameterEXT)GetAddress("glBindParameterEXT", typeof(GL.Delegates.BindParameterEXT)); - GL.IsVariantEnabledEXT = (GL.Delegates.IsVariantEnabledEXT)GetAddress("glIsVariantEnabledEXT", typeof(GL.Delegates.IsVariantEnabledEXT)); - GL.GetVariantBooleanvEXT = (GL.Delegates.GetVariantBooleanvEXT)GetAddress("glGetVariantBooleanvEXT", typeof(GL.Delegates.GetVariantBooleanvEXT)); - GL.GetVariantIntegervEXT = (GL.Delegates.GetVariantIntegervEXT)GetAddress("glGetVariantIntegervEXT", typeof(GL.Delegates.GetVariantIntegervEXT)); - GL.GetVariantFloatvEXT = (GL.Delegates.GetVariantFloatvEXT)GetAddress("glGetVariantFloatvEXT", typeof(GL.Delegates.GetVariantFloatvEXT)); - GL.GetVariantPointervEXT = (GL.Delegates.GetVariantPointervEXT)GetAddress("glGetVariantPointervEXT", typeof(GL.Delegates.GetVariantPointervEXT)); - GL.GetInvariantBooleanvEXT = (GL.Delegates.GetInvariantBooleanvEXT)GetAddress("glGetInvariantBooleanvEXT", typeof(GL.Delegates.GetInvariantBooleanvEXT)); - GL.GetInvariantIntegervEXT = (GL.Delegates.GetInvariantIntegervEXT)GetAddress("glGetInvariantIntegervEXT", typeof(GL.Delegates.GetInvariantIntegervEXT)); - GL.GetInvariantFloatvEXT = (GL.Delegates.GetInvariantFloatvEXT)GetAddress("glGetInvariantFloatvEXT", typeof(GL.Delegates.GetInvariantFloatvEXT)); - GL.GetLocalConstantBooleanvEXT = (GL.Delegates.GetLocalConstantBooleanvEXT)GetAddress("glGetLocalConstantBooleanvEXT", typeof(GL.Delegates.GetLocalConstantBooleanvEXT)); - GL.GetLocalConstantIntegervEXT = (GL.Delegates.GetLocalConstantIntegervEXT)GetAddress("glGetLocalConstantIntegervEXT", typeof(GL.Delegates.GetLocalConstantIntegervEXT)); - GL.GetLocalConstantFloatvEXT = (GL.Delegates.GetLocalConstantFloatvEXT)GetAddress("glGetLocalConstantFloatvEXT", typeof(GL.Delegates.GetLocalConstantFloatvEXT)); - GL.VertexStream1sATI = (GL.Delegates.VertexStream1sATI)GetAddress("glVertexStream1sATI", typeof(GL.Delegates.VertexStream1sATI)); - GL.VertexStream1svATI_ = (GL.Delegates.VertexStream1svATI_)GetAddress("glVertexStream1svATI", typeof(GL.Delegates.VertexStream1svATI_)); - GL.VertexStream1iATI = (GL.Delegates.VertexStream1iATI)GetAddress("glVertexStream1iATI", typeof(GL.Delegates.VertexStream1iATI)); - GL.VertexStream1ivATI_ = (GL.Delegates.VertexStream1ivATI_)GetAddress("glVertexStream1ivATI", typeof(GL.Delegates.VertexStream1ivATI_)); - GL.VertexStream1fATI = (GL.Delegates.VertexStream1fATI)GetAddress("glVertexStream1fATI", typeof(GL.Delegates.VertexStream1fATI)); - GL.VertexStream1fvATI_ = (GL.Delegates.VertexStream1fvATI_)GetAddress("glVertexStream1fvATI", typeof(GL.Delegates.VertexStream1fvATI_)); - GL.VertexStream1dATI = (GL.Delegates.VertexStream1dATI)GetAddress("glVertexStream1dATI", typeof(GL.Delegates.VertexStream1dATI)); - GL.VertexStream1dvATI_ = (GL.Delegates.VertexStream1dvATI_)GetAddress("glVertexStream1dvATI", typeof(GL.Delegates.VertexStream1dvATI_)); - GL.VertexStream2sATI = (GL.Delegates.VertexStream2sATI)GetAddress("glVertexStream2sATI", typeof(GL.Delegates.VertexStream2sATI)); - GL.VertexStream2svATI_ = (GL.Delegates.VertexStream2svATI_)GetAddress("glVertexStream2svATI", typeof(GL.Delegates.VertexStream2svATI_)); - GL.VertexStream2iATI = (GL.Delegates.VertexStream2iATI)GetAddress("glVertexStream2iATI", typeof(GL.Delegates.VertexStream2iATI)); - GL.VertexStream2ivATI_ = (GL.Delegates.VertexStream2ivATI_)GetAddress("glVertexStream2ivATI", typeof(GL.Delegates.VertexStream2ivATI_)); - GL.VertexStream2fATI = (GL.Delegates.VertexStream2fATI)GetAddress("glVertexStream2fATI", typeof(GL.Delegates.VertexStream2fATI)); - GL.VertexStream2fvATI_ = (GL.Delegates.VertexStream2fvATI_)GetAddress("glVertexStream2fvATI", typeof(GL.Delegates.VertexStream2fvATI_)); - GL.VertexStream2dATI = (GL.Delegates.VertexStream2dATI)GetAddress("glVertexStream2dATI", typeof(GL.Delegates.VertexStream2dATI)); - GL.VertexStream2dvATI_ = (GL.Delegates.VertexStream2dvATI_)GetAddress("glVertexStream2dvATI", typeof(GL.Delegates.VertexStream2dvATI_)); - GL.VertexStream3sATI = (GL.Delegates.VertexStream3sATI)GetAddress("glVertexStream3sATI", typeof(GL.Delegates.VertexStream3sATI)); - GL.VertexStream3svATI_ = (GL.Delegates.VertexStream3svATI_)GetAddress("glVertexStream3svATI", typeof(GL.Delegates.VertexStream3svATI_)); - GL.VertexStream3iATI = (GL.Delegates.VertexStream3iATI)GetAddress("glVertexStream3iATI", typeof(GL.Delegates.VertexStream3iATI)); - GL.VertexStream3ivATI_ = (GL.Delegates.VertexStream3ivATI_)GetAddress("glVertexStream3ivATI", typeof(GL.Delegates.VertexStream3ivATI_)); - GL.VertexStream3fATI = (GL.Delegates.VertexStream3fATI)GetAddress("glVertexStream3fATI", typeof(GL.Delegates.VertexStream3fATI)); - GL.VertexStream3fvATI_ = (GL.Delegates.VertexStream3fvATI_)GetAddress("glVertexStream3fvATI", typeof(GL.Delegates.VertexStream3fvATI_)); - GL.VertexStream3dATI = (GL.Delegates.VertexStream3dATI)GetAddress("glVertexStream3dATI", typeof(GL.Delegates.VertexStream3dATI)); - GL.VertexStream3dvATI_ = (GL.Delegates.VertexStream3dvATI_)GetAddress("glVertexStream3dvATI", typeof(GL.Delegates.VertexStream3dvATI_)); - GL.VertexStream4sATI = (GL.Delegates.VertexStream4sATI)GetAddress("glVertexStream4sATI", typeof(GL.Delegates.VertexStream4sATI)); - GL.VertexStream4svATI_ = (GL.Delegates.VertexStream4svATI_)GetAddress("glVertexStream4svATI", typeof(GL.Delegates.VertexStream4svATI_)); - GL.VertexStream4iATI = (GL.Delegates.VertexStream4iATI)GetAddress("glVertexStream4iATI", typeof(GL.Delegates.VertexStream4iATI)); - GL.VertexStream4ivATI_ = (GL.Delegates.VertexStream4ivATI_)GetAddress("glVertexStream4ivATI", typeof(GL.Delegates.VertexStream4ivATI_)); - GL.VertexStream4fATI = (GL.Delegates.VertexStream4fATI)GetAddress("glVertexStream4fATI", typeof(GL.Delegates.VertexStream4fATI)); - GL.VertexStream4fvATI_ = (GL.Delegates.VertexStream4fvATI_)GetAddress("glVertexStream4fvATI", typeof(GL.Delegates.VertexStream4fvATI_)); - GL.VertexStream4dATI = (GL.Delegates.VertexStream4dATI)GetAddress("glVertexStream4dATI", typeof(GL.Delegates.VertexStream4dATI)); - GL.VertexStream4dvATI_ = (GL.Delegates.VertexStream4dvATI_)GetAddress("glVertexStream4dvATI", typeof(GL.Delegates.VertexStream4dvATI_)); - GL.NormalStream3bATI = (GL.Delegates.NormalStream3bATI)GetAddress("glNormalStream3bATI", typeof(GL.Delegates.NormalStream3bATI)); - GL.NormalStream3bvATI_ = (GL.Delegates.NormalStream3bvATI_)GetAddress("glNormalStream3bvATI", typeof(GL.Delegates.NormalStream3bvATI_)); - GL.NormalStream3sATI = (GL.Delegates.NormalStream3sATI)GetAddress("glNormalStream3sATI", typeof(GL.Delegates.NormalStream3sATI)); - GL.NormalStream3svATI_ = (GL.Delegates.NormalStream3svATI_)GetAddress("glNormalStream3svATI", typeof(GL.Delegates.NormalStream3svATI_)); - GL.NormalStream3iATI = (GL.Delegates.NormalStream3iATI)GetAddress("glNormalStream3iATI", typeof(GL.Delegates.NormalStream3iATI)); - GL.NormalStream3ivATI_ = (GL.Delegates.NormalStream3ivATI_)GetAddress("glNormalStream3ivATI", typeof(GL.Delegates.NormalStream3ivATI_)); - GL.NormalStream3fATI = (GL.Delegates.NormalStream3fATI)GetAddress("glNormalStream3fATI", typeof(GL.Delegates.NormalStream3fATI)); - GL.NormalStream3fvATI_ = (GL.Delegates.NormalStream3fvATI_)GetAddress("glNormalStream3fvATI", typeof(GL.Delegates.NormalStream3fvATI_)); - GL.NormalStream3dATI = (GL.Delegates.NormalStream3dATI)GetAddress("glNormalStream3dATI", typeof(GL.Delegates.NormalStream3dATI)); - GL.NormalStream3dvATI_ = (GL.Delegates.NormalStream3dvATI_)GetAddress("glNormalStream3dvATI", typeof(GL.Delegates.NormalStream3dvATI_)); - GL.ClientActiveVertexStreamATI = (GL.Delegates.ClientActiveVertexStreamATI)GetAddress("glClientActiveVertexStreamATI", typeof(GL.Delegates.ClientActiveVertexStreamATI)); - GL.VertexBlendEnviATI = (GL.Delegates.VertexBlendEnviATI)GetAddress("glVertexBlendEnviATI", typeof(GL.Delegates.VertexBlendEnviATI)); - GL.VertexBlendEnvfATI = (GL.Delegates.VertexBlendEnvfATI)GetAddress("glVertexBlendEnvfATI", typeof(GL.Delegates.VertexBlendEnvfATI)); - GL.ElementPointerATI_ = (GL.Delegates.ElementPointerATI_)GetAddress("glElementPointerATI", typeof(GL.Delegates.ElementPointerATI_)); - GL.DrawElementArrayATI = (GL.Delegates.DrawElementArrayATI)GetAddress("glDrawElementArrayATI", typeof(GL.Delegates.DrawElementArrayATI)); - GL.DrawRangeElementArrayATI = (GL.Delegates.DrawRangeElementArrayATI)GetAddress("glDrawRangeElementArrayATI", typeof(GL.Delegates.DrawRangeElementArrayATI)); - GL.DrawMeshArraysSUN = (GL.Delegates.DrawMeshArraysSUN)GetAddress("glDrawMeshArraysSUN", typeof(GL.Delegates.DrawMeshArraysSUN)); - GL.GenOcclusionQueriesNV = (GL.Delegates.GenOcclusionQueriesNV)GetAddress("glGenOcclusionQueriesNV", typeof(GL.Delegates.GenOcclusionQueriesNV)); - GL.DeleteOcclusionQueriesNV_ = (GL.Delegates.DeleteOcclusionQueriesNV_)GetAddress("glDeleteOcclusionQueriesNV", typeof(GL.Delegates.DeleteOcclusionQueriesNV_)); - GL.IsOcclusionQueryNV = (GL.Delegates.IsOcclusionQueryNV)GetAddress("glIsOcclusionQueryNV", typeof(GL.Delegates.IsOcclusionQueryNV)); - GL.BeginOcclusionQueryNV = (GL.Delegates.BeginOcclusionQueryNV)GetAddress("glBeginOcclusionQueryNV", typeof(GL.Delegates.BeginOcclusionQueryNV)); - GL.EndOcclusionQueryNV = (GL.Delegates.EndOcclusionQueryNV)GetAddress("glEndOcclusionQueryNV", typeof(GL.Delegates.EndOcclusionQueryNV)); - GL.GetOcclusionQueryivNV = (GL.Delegates.GetOcclusionQueryivNV)GetAddress("glGetOcclusionQueryivNV", typeof(GL.Delegates.GetOcclusionQueryivNV)); - GL.GetOcclusionQueryuivNV = (GL.Delegates.GetOcclusionQueryuivNV)GetAddress("glGetOcclusionQueryuivNV", typeof(GL.Delegates.GetOcclusionQueryuivNV)); - GL.PointParameteriNV = (GL.Delegates.PointParameteriNV)GetAddress("glPointParameteriNV", typeof(GL.Delegates.PointParameteriNV)); - GL.PointParameterivNV_ = (GL.Delegates.PointParameterivNV_)GetAddress("glPointParameterivNV", typeof(GL.Delegates.PointParameterivNV_)); - GL.ActiveStencilFaceEXT = (GL.Delegates.ActiveStencilFaceEXT)GetAddress("glActiveStencilFaceEXT", typeof(GL.Delegates.ActiveStencilFaceEXT)); - GL.ElementPointerAPPLE_ = (GL.Delegates.ElementPointerAPPLE_)GetAddress("glElementPointerAPPLE", typeof(GL.Delegates.ElementPointerAPPLE_)); - GL.DrawElementArrayAPPLE = (GL.Delegates.DrawElementArrayAPPLE)GetAddress("glDrawElementArrayAPPLE", typeof(GL.Delegates.DrawElementArrayAPPLE)); - GL.DrawRangeElementArrayAPPLE = (GL.Delegates.DrawRangeElementArrayAPPLE)GetAddress("glDrawRangeElementArrayAPPLE", typeof(GL.Delegates.DrawRangeElementArrayAPPLE)); - GL.MultiDrawElementArrayAPPLE_ = (GL.Delegates.MultiDrawElementArrayAPPLE_)GetAddress("glMultiDrawElementArrayAPPLE", typeof(GL.Delegates.MultiDrawElementArrayAPPLE_)); - GL.MultiDrawRangeElementArrayAPPLE_ = (GL.Delegates.MultiDrawRangeElementArrayAPPLE_)GetAddress("glMultiDrawRangeElementArrayAPPLE", typeof(GL.Delegates.MultiDrawRangeElementArrayAPPLE_)); - GL.GenFencesAPPLE = (GL.Delegates.GenFencesAPPLE)GetAddress("glGenFencesAPPLE", typeof(GL.Delegates.GenFencesAPPLE)); - GL.DeleteFencesAPPLE_ = (GL.Delegates.DeleteFencesAPPLE_)GetAddress("glDeleteFencesAPPLE", typeof(GL.Delegates.DeleteFencesAPPLE_)); - GL.SetFenceAPPLE = (GL.Delegates.SetFenceAPPLE)GetAddress("glSetFenceAPPLE", typeof(GL.Delegates.SetFenceAPPLE)); - GL.IsFenceAPPLE = (GL.Delegates.IsFenceAPPLE)GetAddress("glIsFenceAPPLE", typeof(GL.Delegates.IsFenceAPPLE)); - GL.TestFenceAPPLE = (GL.Delegates.TestFenceAPPLE)GetAddress("glTestFenceAPPLE", typeof(GL.Delegates.TestFenceAPPLE)); - GL.FinishFenceAPPLE = (GL.Delegates.FinishFenceAPPLE)GetAddress("glFinishFenceAPPLE", typeof(GL.Delegates.FinishFenceAPPLE)); - GL.TestObjectAPPLE = (GL.Delegates.TestObjectAPPLE)GetAddress("glTestObjectAPPLE", typeof(GL.Delegates.TestObjectAPPLE)); - GL.FinishObjectAPPLE = (GL.Delegates.FinishObjectAPPLE)GetAddress("glFinishObjectAPPLE", typeof(GL.Delegates.FinishObjectAPPLE)); - GL.BindVertexArrayAPPLE = (GL.Delegates.BindVertexArrayAPPLE)GetAddress("glBindVertexArrayAPPLE", typeof(GL.Delegates.BindVertexArrayAPPLE)); - GL.DeleteVertexArraysAPPLE_ = (GL.Delegates.DeleteVertexArraysAPPLE_)GetAddress("glDeleteVertexArraysAPPLE", typeof(GL.Delegates.DeleteVertexArraysAPPLE_)); - GL.GenVertexArraysAPPLE_ = (GL.Delegates.GenVertexArraysAPPLE_)GetAddress("glGenVertexArraysAPPLE", typeof(GL.Delegates.GenVertexArraysAPPLE_)); - GL.IsVertexArrayAPPLE = (GL.Delegates.IsVertexArrayAPPLE)GetAddress("glIsVertexArrayAPPLE", typeof(GL.Delegates.IsVertexArrayAPPLE)); - GL.VertexArrayRangeAPPLE_ = (GL.Delegates.VertexArrayRangeAPPLE_)GetAddress("glVertexArrayRangeAPPLE", typeof(GL.Delegates.VertexArrayRangeAPPLE_)); - GL.FlushVertexArrayRangeAPPLE_ = (GL.Delegates.FlushVertexArrayRangeAPPLE_)GetAddress("glFlushVertexArrayRangeAPPLE", typeof(GL.Delegates.FlushVertexArrayRangeAPPLE_)); - GL.VertexArrayParameteriAPPLE = (GL.Delegates.VertexArrayParameteriAPPLE)GetAddress("glVertexArrayParameteriAPPLE", typeof(GL.Delegates.VertexArrayParameteriAPPLE)); - GL.DrawBuffersATI_ = (GL.Delegates.DrawBuffersATI_)GetAddress("glDrawBuffersATI", typeof(GL.Delegates.DrawBuffersATI_)); - GL.ProgramNamedParameter4fNV_ = (GL.Delegates.ProgramNamedParameter4fNV_)GetAddress("glProgramNamedParameter4fNV", typeof(GL.Delegates.ProgramNamedParameter4fNV_)); - GL.ProgramNamedParameter4dNV_ = (GL.Delegates.ProgramNamedParameter4dNV_)GetAddress("glProgramNamedParameter4dNV", typeof(GL.Delegates.ProgramNamedParameter4dNV_)); - GL.ProgramNamedParameter4fvNV_ = (GL.Delegates.ProgramNamedParameter4fvNV_)GetAddress("glProgramNamedParameter4fvNV", typeof(GL.Delegates.ProgramNamedParameter4fvNV_)); - GL.ProgramNamedParameter4dvNV_ = (GL.Delegates.ProgramNamedParameter4dvNV_)GetAddress("glProgramNamedParameter4dvNV", typeof(GL.Delegates.ProgramNamedParameter4dvNV_)); - GL.GetProgramNamedParameterfvNV_ = (GL.Delegates.GetProgramNamedParameterfvNV_)GetAddress("glGetProgramNamedParameterfvNV", typeof(GL.Delegates.GetProgramNamedParameterfvNV_)); - GL.GetProgramNamedParameterdvNV_ = (GL.Delegates.GetProgramNamedParameterdvNV_)GetAddress("glGetProgramNamedParameterdvNV", typeof(GL.Delegates.GetProgramNamedParameterdvNV_)); - GL.Vertex2hNV = (GL.Delegates.Vertex2hNV)GetAddress("glVertex2hNV", typeof(GL.Delegates.Vertex2hNV)); - GL.Vertex2hvNV_ = (GL.Delegates.Vertex2hvNV_)GetAddress("glVertex2hvNV", typeof(GL.Delegates.Vertex2hvNV_)); - GL.Vertex3hNV = (GL.Delegates.Vertex3hNV)GetAddress("glVertex3hNV", typeof(GL.Delegates.Vertex3hNV)); - GL.Vertex3hvNV_ = (GL.Delegates.Vertex3hvNV_)GetAddress("glVertex3hvNV", typeof(GL.Delegates.Vertex3hvNV_)); - GL.Vertex4hNV = (GL.Delegates.Vertex4hNV)GetAddress("glVertex4hNV", typeof(GL.Delegates.Vertex4hNV)); - GL.Vertex4hvNV_ = (GL.Delegates.Vertex4hvNV_)GetAddress("glVertex4hvNV", typeof(GL.Delegates.Vertex4hvNV_)); - GL.Normal3hNV = (GL.Delegates.Normal3hNV)GetAddress("glNormal3hNV", typeof(GL.Delegates.Normal3hNV)); - GL.Normal3hvNV_ = (GL.Delegates.Normal3hvNV_)GetAddress("glNormal3hvNV", typeof(GL.Delegates.Normal3hvNV_)); - GL.Color3hNV = (GL.Delegates.Color3hNV)GetAddress("glColor3hNV", typeof(GL.Delegates.Color3hNV)); - GL.Color3hvNV_ = (GL.Delegates.Color3hvNV_)GetAddress("glColor3hvNV", typeof(GL.Delegates.Color3hvNV_)); - GL.Color4hNV = (GL.Delegates.Color4hNV)GetAddress("glColor4hNV", typeof(GL.Delegates.Color4hNV)); - GL.Color4hvNV_ = (GL.Delegates.Color4hvNV_)GetAddress("glColor4hvNV", typeof(GL.Delegates.Color4hvNV_)); - GL.TexCoord1hNV = (GL.Delegates.TexCoord1hNV)GetAddress("glTexCoord1hNV", typeof(GL.Delegates.TexCoord1hNV)); - GL.TexCoord1hvNV_ = (GL.Delegates.TexCoord1hvNV_)GetAddress("glTexCoord1hvNV", typeof(GL.Delegates.TexCoord1hvNV_)); - GL.TexCoord2hNV = (GL.Delegates.TexCoord2hNV)GetAddress("glTexCoord2hNV", typeof(GL.Delegates.TexCoord2hNV)); - GL.TexCoord2hvNV_ = (GL.Delegates.TexCoord2hvNV_)GetAddress("glTexCoord2hvNV", typeof(GL.Delegates.TexCoord2hvNV_)); - GL.TexCoord3hNV = (GL.Delegates.TexCoord3hNV)GetAddress("glTexCoord3hNV", typeof(GL.Delegates.TexCoord3hNV)); - GL.TexCoord3hvNV_ = (GL.Delegates.TexCoord3hvNV_)GetAddress("glTexCoord3hvNV", typeof(GL.Delegates.TexCoord3hvNV_)); - GL.TexCoord4hNV = (GL.Delegates.TexCoord4hNV)GetAddress("glTexCoord4hNV", typeof(GL.Delegates.TexCoord4hNV)); - GL.TexCoord4hvNV_ = (GL.Delegates.TexCoord4hvNV_)GetAddress("glTexCoord4hvNV", typeof(GL.Delegates.TexCoord4hvNV_)); - GL.MultiTexCoord1hNV = (GL.Delegates.MultiTexCoord1hNV)GetAddress("glMultiTexCoord1hNV", typeof(GL.Delegates.MultiTexCoord1hNV)); - GL.MultiTexCoord1hvNV_ = (GL.Delegates.MultiTexCoord1hvNV_)GetAddress("glMultiTexCoord1hvNV", typeof(GL.Delegates.MultiTexCoord1hvNV_)); - GL.MultiTexCoord2hNV = (GL.Delegates.MultiTexCoord2hNV)GetAddress("glMultiTexCoord2hNV", typeof(GL.Delegates.MultiTexCoord2hNV)); - GL.MultiTexCoord2hvNV_ = (GL.Delegates.MultiTexCoord2hvNV_)GetAddress("glMultiTexCoord2hvNV", typeof(GL.Delegates.MultiTexCoord2hvNV_)); - GL.MultiTexCoord3hNV = (GL.Delegates.MultiTexCoord3hNV)GetAddress("glMultiTexCoord3hNV", typeof(GL.Delegates.MultiTexCoord3hNV)); - GL.MultiTexCoord3hvNV_ = (GL.Delegates.MultiTexCoord3hvNV_)GetAddress("glMultiTexCoord3hvNV", typeof(GL.Delegates.MultiTexCoord3hvNV_)); - GL.MultiTexCoord4hNV = (GL.Delegates.MultiTexCoord4hNV)GetAddress("glMultiTexCoord4hNV", typeof(GL.Delegates.MultiTexCoord4hNV)); - GL.MultiTexCoord4hvNV_ = (GL.Delegates.MultiTexCoord4hvNV_)GetAddress("glMultiTexCoord4hvNV", typeof(GL.Delegates.MultiTexCoord4hvNV_)); - GL.FogCoordhNV = (GL.Delegates.FogCoordhNV)GetAddress("glFogCoordhNV", typeof(GL.Delegates.FogCoordhNV)); - GL.FogCoordhvNV_ = (GL.Delegates.FogCoordhvNV_)GetAddress("glFogCoordhvNV", typeof(GL.Delegates.FogCoordhvNV_)); - GL.SecondaryColor3hNV = (GL.Delegates.SecondaryColor3hNV)GetAddress("glSecondaryColor3hNV", typeof(GL.Delegates.SecondaryColor3hNV)); - GL.SecondaryColor3hvNV_ = (GL.Delegates.SecondaryColor3hvNV_)GetAddress("glSecondaryColor3hvNV", typeof(GL.Delegates.SecondaryColor3hvNV_)); - GL.VertexWeighthNV = (GL.Delegates.VertexWeighthNV)GetAddress("glVertexWeighthNV", typeof(GL.Delegates.VertexWeighthNV)); - GL.VertexWeighthvNV_ = (GL.Delegates.VertexWeighthvNV_)GetAddress("glVertexWeighthvNV", typeof(GL.Delegates.VertexWeighthvNV_)); - GL.VertexAttrib1hNV = (GL.Delegates.VertexAttrib1hNV)GetAddress("glVertexAttrib1hNV", typeof(GL.Delegates.VertexAttrib1hNV)); - GL.VertexAttrib1hvNV_ = (GL.Delegates.VertexAttrib1hvNV_)GetAddress("glVertexAttrib1hvNV", typeof(GL.Delegates.VertexAttrib1hvNV_)); - GL.VertexAttrib2hNV = (GL.Delegates.VertexAttrib2hNV)GetAddress("glVertexAttrib2hNV", typeof(GL.Delegates.VertexAttrib2hNV)); - GL.VertexAttrib2hvNV_ = (GL.Delegates.VertexAttrib2hvNV_)GetAddress("glVertexAttrib2hvNV", typeof(GL.Delegates.VertexAttrib2hvNV_)); - GL.VertexAttrib3hNV = (GL.Delegates.VertexAttrib3hNV)GetAddress("glVertexAttrib3hNV", typeof(GL.Delegates.VertexAttrib3hNV)); - GL.VertexAttrib3hvNV_ = (GL.Delegates.VertexAttrib3hvNV_)GetAddress("glVertexAttrib3hvNV", typeof(GL.Delegates.VertexAttrib3hvNV_)); - GL.VertexAttrib4hNV = (GL.Delegates.VertexAttrib4hNV)GetAddress("glVertexAttrib4hNV", typeof(GL.Delegates.VertexAttrib4hNV)); - GL.VertexAttrib4hvNV_ = (GL.Delegates.VertexAttrib4hvNV_)GetAddress("glVertexAttrib4hvNV", typeof(GL.Delegates.VertexAttrib4hvNV_)); - GL.VertexAttribs1hvNV_ = (GL.Delegates.VertexAttribs1hvNV_)GetAddress("glVertexAttribs1hvNV", typeof(GL.Delegates.VertexAttribs1hvNV_)); - GL.VertexAttribs2hvNV_ = (GL.Delegates.VertexAttribs2hvNV_)GetAddress("glVertexAttribs2hvNV", typeof(GL.Delegates.VertexAttribs2hvNV_)); - GL.VertexAttribs3hvNV_ = (GL.Delegates.VertexAttribs3hvNV_)GetAddress("glVertexAttribs3hvNV", typeof(GL.Delegates.VertexAttribs3hvNV_)); - GL.VertexAttribs4hvNV_ = (GL.Delegates.VertexAttribs4hvNV_)GetAddress("glVertexAttribs4hvNV", typeof(GL.Delegates.VertexAttribs4hvNV_)); - GL.PixelDataRangeNV_ = (GL.Delegates.PixelDataRangeNV_)GetAddress("glPixelDataRangeNV", typeof(GL.Delegates.PixelDataRangeNV_)); - GL.FlushPixelDataRangeNV = (GL.Delegates.FlushPixelDataRangeNV)GetAddress("glFlushPixelDataRangeNV", typeof(GL.Delegates.FlushPixelDataRangeNV)); - GL.PrimitiveRestartNV = (GL.Delegates.PrimitiveRestartNV)GetAddress("glPrimitiveRestartNV", typeof(GL.Delegates.PrimitiveRestartNV)); - GL.PrimitiveRestartIndexNV = (GL.Delegates.PrimitiveRestartIndexNV)GetAddress("glPrimitiveRestartIndexNV", typeof(GL.Delegates.PrimitiveRestartIndexNV)); - GL.MapObjectBufferATI = (GL.Delegates.MapObjectBufferATI)GetAddress("glMapObjectBufferATI", typeof(GL.Delegates.MapObjectBufferATI)); - GL.UnmapObjectBufferATI = (GL.Delegates.UnmapObjectBufferATI)GetAddress("glUnmapObjectBufferATI", typeof(GL.Delegates.UnmapObjectBufferATI)); - GL.StencilOpSeparateATI = (GL.Delegates.StencilOpSeparateATI)GetAddress("glStencilOpSeparateATI", typeof(GL.Delegates.StencilOpSeparateATI)); - GL.StencilFuncSeparateATI = (GL.Delegates.StencilFuncSeparateATI)GetAddress("glStencilFuncSeparateATI", typeof(GL.Delegates.StencilFuncSeparateATI)); - GL.VertexAttribArrayObjectATI = (GL.Delegates.VertexAttribArrayObjectATI)GetAddress("glVertexAttribArrayObjectATI", typeof(GL.Delegates.VertexAttribArrayObjectATI)); - GL.GetVertexAttribArrayObjectfvATI = (GL.Delegates.GetVertexAttribArrayObjectfvATI)GetAddress("glGetVertexAttribArrayObjectfvATI", typeof(GL.Delegates.GetVertexAttribArrayObjectfvATI)); - GL.GetVertexAttribArrayObjectivATI = (GL.Delegates.GetVertexAttribArrayObjectivATI)GetAddress("glGetVertexAttribArrayObjectivATI", typeof(GL.Delegates.GetVertexAttribArrayObjectivATI)); - GL.DepthBoundsEXT = (GL.Delegates.DepthBoundsEXT)GetAddress("glDepthBoundsEXT", typeof(GL.Delegates.DepthBoundsEXT)); - GL.BlendEquationSeparateEXT = (GL.Delegates.BlendEquationSeparateEXT)GetAddress("glBlendEquationSeparateEXT", typeof(GL.Delegates.BlendEquationSeparateEXT)); - GL.IsRenderbufferEXT = (GL.Delegates.IsRenderbufferEXT)GetAddress("glIsRenderbufferEXT", typeof(GL.Delegates.IsRenderbufferEXT)); - GL.BindRenderbufferEXT = (GL.Delegates.BindRenderbufferEXT)GetAddress("glBindRenderbufferEXT", typeof(GL.Delegates.BindRenderbufferEXT)); - GL.DeleteRenderbuffersEXT_ = (GL.Delegates.DeleteRenderbuffersEXT_)GetAddress("glDeleteRenderbuffersEXT", typeof(GL.Delegates.DeleteRenderbuffersEXT_)); - GL.GenRenderbuffersEXT = (GL.Delegates.GenRenderbuffersEXT)GetAddress("glGenRenderbuffersEXT", typeof(GL.Delegates.GenRenderbuffersEXT)); - GL.RenderbufferStorageEXT = (GL.Delegates.RenderbufferStorageEXT)GetAddress("glRenderbufferStorageEXT", typeof(GL.Delegates.RenderbufferStorageEXT)); - GL.GetRenderbufferParameterivEXT = (GL.Delegates.GetRenderbufferParameterivEXT)GetAddress("glGetRenderbufferParameterivEXT", typeof(GL.Delegates.GetRenderbufferParameterivEXT)); - GL.IsFramebufferEXT = (GL.Delegates.IsFramebufferEXT)GetAddress("glIsFramebufferEXT", typeof(GL.Delegates.IsFramebufferEXT)); - GL.BindFramebufferEXT = (GL.Delegates.BindFramebufferEXT)GetAddress("glBindFramebufferEXT", typeof(GL.Delegates.BindFramebufferEXT)); - GL.DeleteFramebuffersEXT_ = (GL.Delegates.DeleteFramebuffersEXT_)GetAddress("glDeleteFramebuffersEXT", typeof(GL.Delegates.DeleteFramebuffersEXT_)); - GL.GenFramebuffersEXT = (GL.Delegates.GenFramebuffersEXT)GetAddress("glGenFramebuffersEXT", typeof(GL.Delegates.GenFramebuffersEXT)); - GL.CheckFramebufferStatusEXT = (GL.Delegates.CheckFramebufferStatusEXT)GetAddress("glCheckFramebufferStatusEXT", typeof(GL.Delegates.CheckFramebufferStatusEXT)); - GL.FramebufferTexture1DEXT = (GL.Delegates.FramebufferTexture1DEXT)GetAddress("glFramebufferTexture1DEXT", typeof(GL.Delegates.FramebufferTexture1DEXT)); - GL.FramebufferTexture2DEXT = (GL.Delegates.FramebufferTexture2DEXT)GetAddress("glFramebufferTexture2DEXT", typeof(GL.Delegates.FramebufferTexture2DEXT)); - GL.FramebufferTexture3DEXT = (GL.Delegates.FramebufferTexture3DEXT)GetAddress("glFramebufferTexture3DEXT", typeof(GL.Delegates.FramebufferTexture3DEXT)); - GL.FramebufferRenderbufferEXT = (GL.Delegates.FramebufferRenderbufferEXT)GetAddress("glFramebufferRenderbufferEXT", typeof(GL.Delegates.FramebufferRenderbufferEXT)); - GL.GetFramebufferAttachmentParameterivEXT = (GL.Delegates.GetFramebufferAttachmentParameterivEXT)GetAddress("glGetFramebufferAttachmentParameterivEXT", typeof(GL.Delegates.GetFramebufferAttachmentParameterivEXT)); - GL.GenerateMipmapEXT = (GL.Delegates.GenerateMipmapEXT)GetAddress("glGenerateMipmapEXT", typeof(GL.Delegates.GenerateMipmapEXT)); - GL.StringMarkerGREMEDY_ = (GL.Delegates.StringMarkerGREMEDY_)GetAddress("glStringMarkerGREMEDY", typeof(GL.Delegates.StringMarkerGREMEDY_)); - } - #endregion - } -} - diff --git a/Source/OpenGL/OpenGL/Bindings/GL.cs b/Source/OpenGL/OpenGL/Bindings/GL.cs index 2df06001..f357fd71 100644 --- a/Source/OpenGL/OpenGL/Bindings/GL.cs +++ b/Source/OpenGL/OpenGL/Bindings/GL.cs @@ -1,3 +1,8 @@ +#region License +//Copyright (c) 2006 Stephen Apostolopoulos +//See license.txt for license info +#endregion + using System; using System.Runtime.InteropServices; @@ -6575,1159 +6580,1159 @@ namespace OpenTK.OpenGL internal class Imports { - [DllImport("opengl32", EntryPoint = "glNewList")] + [DllImport("opengl32.dll", EntryPoint = "glNewList")] public static extern void NewList(GLuint list, Enums.ListMode mode); - [DllImport("opengl32", EntryPoint = "glEndList")] + [DllImport("opengl32.dll", EntryPoint = "glEndList")] public static extern void EndList(); - [DllImport("opengl32", EntryPoint = "glCallList")] + [DllImport("opengl32.dll", EntryPoint = "glCallList")] public static extern void CallList(GLuint list); - [DllImport("opengl32", EntryPoint = "glCallLists")] + [DllImport("opengl32.dll", EntryPoint = "glCallLists")] public static extern void CallLists_(GLsizei n, Enums.ListNameType type, IntPtr lists); - [DllImport("opengl32", EntryPoint = "glDeleteLists")] + [DllImport("opengl32.dll", EntryPoint = "glDeleteLists")] public static extern void DeleteLists(GLuint list, GLsizei range); - [DllImport("opengl32", EntryPoint = "glGenLists")] + [DllImport("opengl32.dll", EntryPoint = "glGenLists")] public static extern GLuint GenLists(GLsizei range); - [DllImport("opengl32", EntryPoint = "glListBase")] + [DllImport("opengl32.dll", EntryPoint = "glListBase")] public static extern void ListBase(GLuint @base); - [DllImport("opengl32", EntryPoint = "glBegin")] + [DllImport("opengl32.dll", EntryPoint = "glBegin")] public static extern void Begin(Enums.BeginMode mode); - [DllImport("opengl32", EntryPoint = "glBitmap")] + [DllImport("opengl32.dll", EntryPoint = "glBitmap")] public static extern void Bitmap_(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, IntPtr bitmap); - [DllImport("opengl32", EntryPoint = "glColor3b")] + [DllImport("opengl32.dll", EntryPoint = "glColor3b")] public static extern void Color3b(GLbyte red, GLbyte green, GLbyte blue); - [DllImport("opengl32", EntryPoint = "glColor3bv")] + [DllImport("opengl32.dll", EntryPoint = "glColor3bv")] public static extern void Color3bv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glColor3d")] + [DllImport("opengl32.dll", EntryPoint = "glColor3d")] public static extern void Color3d(GLdouble red, GLdouble green, GLdouble blue); - [DllImport("opengl32", EntryPoint = "glColor3dv")] + [DllImport("opengl32.dll", EntryPoint = "glColor3dv")] public static extern void Color3dv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glColor3f")] + [DllImport("opengl32.dll", EntryPoint = "glColor3f")] public static extern void Color3f(GLfloat red, GLfloat green, GLfloat blue); - [DllImport("opengl32", EntryPoint = "glColor3fv")] + [DllImport("opengl32.dll", EntryPoint = "glColor3fv")] public static extern void Color3fv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glColor3i")] + [DllImport("opengl32.dll", EntryPoint = "glColor3i")] public static extern void Color3i(GLint red, GLint green, GLint blue); - [DllImport("opengl32", EntryPoint = "glColor3iv")] + [DllImport("opengl32.dll", EntryPoint = "glColor3iv")] public static extern void Color3iv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glColor3s")] + [DllImport("opengl32.dll", EntryPoint = "glColor3s")] public static extern void Color3s(GLshort red, GLshort green, GLshort blue); - [DllImport("opengl32", EntryPoint = "glColor3sv")] + [DllImport("opengl32.dll", EntryPoint = "glColor3sv")] public static extern void Color3sv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glColor3ub")] + [DllImport("opengl32.dll", EntryPoint = "glColor3ub")] public static extern void Color3ub(GLubyte red, GLubyte green, GLubyte blue); - [DllImport("opengl32", EntryPoint = "glColor3ubv")] + [DllImport("opengl32.dll", EntryPoint = "glColor3ubv")] public static extern void Color3ubv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glColor3ui")] + [DllImport("opengl32.dll", EntryPoint = "glColor3ui")] public static extern void Color3ui(GLuint red, GLuint green, GLuint blue); - [DllImport("opengl32", EntryPoint = "glColor3uiv")] + [DllImport("opengl32.dll", EntryPoint = "glColor3uiv")] public static extern void Color3uiv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glColor3us")] + [DllImport("opengl32.dll", EntryPoint = "glColor3us")] public static extern void Color3us(GLushort red, GLushort green, GLushort blue); - [DllImport("opengl32", EntryPoint = "glColor3usv")] + [DllImport("opengl32.dll", EntryPoint = "glColor3usv")] public static extern void Color3usv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glColor4b")] + [DllImport("opengl32.dll", EntryPoint = "glColor4b")] public static extern void Color4b(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha); - [DllImport("opengl32", EntryPoint = "glColor4bv")] + [DllImport("opengl32.dll", EntryPoint = "glColor4bv")] public static extern void Color4bv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glColor4d")] + [DllImport("opengl32.dll", EntryPoint = "glColor4d")] public static extern void Color4d(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha); - [DllImport("opengl32", EntryPoint = "glColor4dv")] + [DllImport("opengl32.dll", EntryPoint = "glColor4dv")] public static extern void Color4dv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glColor4f")] + [DllImport("opengl32.dll", EntryPoint = "glColor4f")] public static extern void Color4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); - [DllImport("opengl32", EntryPoint = "glColor4fv")] + [DllImport("opengl32.dll", EntryPoint = "glColor4fv")] public static extern void Color4fv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glColor4i")] + [DllImport("opengl32.dll", EntryPoint = "glColor4i")] public static extern void Color4i(GLint red, GLint green, GLint blue, GLint alpha); - [DllImport("opengl32", EntryPoint = "glColor4iv")] + [DllImport("opengl32.dll", EntryPoint = "glColor4iv")] public static extern void Color4iv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glColor4s")] + [DllImport("opengl32.dll", EntryPoint = "glColor4s")] public static extern void Color4s(GLshort red, GLshort green, GLshort blue, GLshort alpha); - [DllImport("opengl32", EntryPoint = "glColor4sv")] + [DllImport("opengl32.dll", EntryPoint = "glColor4sv")] public static extern void Color4sv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glColor4ub")] + [DllImport("opengl32.dll", EntryPoint = "glColor4ub")] public static extern void Color4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha); - [DllImport("opengl32", EntryPoint = "glColor4ubv")] + [DllImport("opengl32.dll", EntryPoint = "glColor4ubv")] public static extern void Color4ubv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glColor4ui")] + [DllImport("opengl32.dll", EntryPoint = "glColor4ui")] public static extern void Color4ui(GLuint red, GLuint green, GLuint blue, GLuint alpha); - [DllImport("opengl32", EntryPoint = "glColor4uiv")] + [DllImport("opengl32.dll", EntryPoint = "glColor4uiv")] public static extern void Color4uiv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glColor4us")] + [DllImport("opengl32.dll", EntryPoint = "glColor4us")] public static extern void Color4us(GLushort red, GLushort green, GLushort blue, GLushort alpha); - [DllImport("opengl32", EntryPoint = "glColor4usv")] + [DllImport("opengl32.dll", EntryPoint = "glColor4usv")] public static extern void Color4usv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glEdgeFlag")] + [DllImport("opengl32.dll", EntryPoint = "glEdgeFlag")] public static extern void EdgeFlag(Enums.Boolean flag); - [DllImport("opengl32", EntryPoint = "glEdgeFlagv")] + [DllImport("opengl32.dll", EntryPoint = "glEdgeFlagv")] public static extern void EdgeFlagv(Enums.Boolean[] flag); - [DllImport("opengl32", EntryPoint = "glEnd")] + [DllImport("opengl32.dll", EntryPoint = "glEnd")] public static extern void End(); - [DllImport("opengl32", EntryPoint = "glIndexd")] + [DllImport("opengl32.dll", EntryPoint = "glIndexd")] public static extern void Indexd(GLdouble c); - [DllImport("opengl32", EntryPoint = "glIndexdv")] + [DllImport("opengl32.dll", EntryPoint = "glIndexdv")] public static extern void Indexdv_(IntPtr c); - [DllImport("opengl32", EntryPoint = "glIndexf")] + [DllImport("opengl32.dll", EntryPoint = "glIndexf")] public static extern void Indexf(GLfloat c); - [DllImport("opengl32", EntryPoint = "glIndexfv")] + [DllImport("opengl32.dll", EntryPoint = "glIndexfv")] public static extern void Indexfv_(IntPtr c); - [DllImport("opengl32", EntryPoint = "glIndexi")] + [DllImport("opengl32.dll", EntryPoint = "glIndexi")] public static extern void Indexi(GLint c); - [DllImport("opengl32", EntryPoint = "glIndexiv")] + [DllImport("opengl32.dll", EntryPoint = "glIndexiv")] public static extern void Indexiv_(IntPtr c); - [DllImport("opengl32", EntryPoint = "glIndexs")] + [DllImport("opengl32.dll", EntryPoint = "glIndexs")] public static extern void Indexs(GLshort c); - [DllImport("opengl32", EntryPoint = "glIndexsv")] + [DllImport("opengl32.dll", EntryPoint = "glIndexsv")] public static extern void Indexsv_(IntPtr c); - [DllImport("opengl32", EntryPoint = "glNormal3b")] + [DllImport("opengl32.dll", EntryPoint = "glNormal3b")] public static extern void Normal3b(GLbyte nx, GLbyte ny, GLbyte nz); - [DllImport("opengl32", EntryPoint = "glNormal3bv")] + [DllImport("opengl32.dll", EntryPoint = "glNormal3bv")] public static extern void Normal3bv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glNormal3d")] + [DllImport("opengl32.dll", EntryPoint = "glNormal3d")] public static extern void Normal3d(GLdouble nx, GLdouble ny, GLdouble nz); - [DllImport("opengl32", EntryPoint = "glNormal3dv")] + [DllImport("opengl32.dll", EntryPoint = "glNormal3dv")] public static extern void Normal3dv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glNormal3f")] + [DllImport("opengl32.dll", EntryPoint = "glNormal3f")] public static extern void Normal3f(GLfloat nx, GLfloat ny, GLfloat nz); - [DllImport("opengl32", EntryPoint = "glNormal3fv")] + [DllImport("opengl32.dll", EntryPoint = "glNormal3fv")] public static extern void Normal3fv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glNormal3i")] + [DllImport("opengl32.dll", EntryPoint = "glNormal3i")] public static extern void Normal3i(GLint nx, GLint ny, GLint nz); - [DllImport("opengl32", EntryPoint = "glNormal3iv")] + [DllImport("opengl32.dll", EntryPoint = "glNormal3iv")] public static extern void Normal3iv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glNormal3s")] + [DllImport("opengl32.dll", EntryPoint = "glNormal3s")] public static extern void Normal3s(GLshort nx, GLshort ny, GLshort nz); - [DllImport("opengl32", EntryPoint = "glNormal3sv")] + [DllImport("opengl32.dll", EntryPoint = "glNormal3sv")] public static extern void Normal3sv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glRasterPos2d")] + [DllImport("opengl32.dll", EntryPoint = "glRasterPos2d")] public static extern void RasterPos2d(GLdouble x, GLdouble y); - [DllImport("opengl32", EntryPoint = "glRasterPos2dv")] + [DllImport("opengl32.dll", EntryPoint = "glRasterPos2dv")] public static extern void RasterPos2dv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glRasterPos2f")] + [DllImport("opengl32.dll", EntryPoint = "glRasterPos2f")] public static extern void RasterPos2f(GLfloat x, GLfloat y); - [DllImport("opengl32", EntryPoint = "glRasterPos2fv")] + [DllImport("opengl32.dll", EntryPoint = "glRasterPos2fv")] public static extern void RasterPos2fv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glRasterPos2i")] + [DllImport("opengl32.dll", EntryPoint = "glRasterPos2i")] public static extern void RasterPos2i(GLint x, GLint y); - [DllImport("opengl32", EntryPoint = "glRasterPos2iv")] + [DllImport("opengl32.dll", EntryPoint = "glRasterPos2iv")] public static extern void RasterPos2iv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glRasterPos2s")] + [DllImport("opengl32.dll", EntryPoint = "glRasterPos2s")] public static extern void RasterPos2s(GLshort x, GLshort y); - [DllImport("opengl32", EntryPoint = "glRasterPos2sv")] + [DllImport("opengl32.dll", EntryPoint = "glRasterPos2sv")] public static extern void RasterPos2sv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glRasterPos3d")] + [DllImport("opengl32.dll", EntryPoint = "glRasterPos3d")] public static extern void RasterPos3d(GLdouble x, GLdouble y, GLdouble z); - [DllImport("opengl32", EntryPoint = "glRasterPos3dv")] + [DllImport("opengl32.dll", EntryPoint = "glRasterPos3dv")] public static extern void RasterPos3dv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glRasterPos3f")] + [DllImport("opengl32.dll", EntryPoint = "glRasterPos3f")] public static extern void RasterPos3f(GLfloat x, GLfloat y, GLfloat z); - [DllImport("opengl32", EntryPoint = "glRasterPos3fv")] + [DllImport("opengl32.dll", EntryPoint = "glRasterPos3fv")] public static extern void RasterPos3fv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glRasterPos3i")] + [DllImport("opengl32.dll", EntryPoint = "glRasterPos3i")] public static extern void RasterPos3i(GLint x, GLint y, GLint z); - [DllImport("opengl32", EntryPoint = "glRasterPos3iv")] + [DllImport("opengl32.dll", EntryPoint = "glRasterPos3iv")] public static extern void RasterPos3iv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glRasterPos3s")] + [DllImport("opengl32.dll", EntryPoint = "glRasterPos3s")] public static extern void RasterPos3s(GLshort x, GLshort y, GLshort z); - [DllImport("opengl32", EntryPoint = "glRasterPos3sv")] + [DllImport("opengl32.dll", EntryPoint = "glRasterPos3sv")] public static extern void RasterPos3sv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glRasterPos4d")] + [DllImport("opengl32.dll", EntryPoint = "glRasterPos4d")] public static extern void RasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w); - [DllImport("opengl32", EntryPoint = "glRasterPos4dv")] + [DllImport("opengl32.dll", EntryPoint = "glRasterPos4dv")] public static extern void RasterPos4dv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glRasterPos4f")] + [DllImport("opengl32.dll", EntryPoint = "glRasterPos4f")] public static extern void RasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w); - [DllImport("opengl32", EntryPoint = "glRasterPos4fv")] + [DllImport("opengl32.dll", EntryPoint = "glRasterPos4fv")] public static extern void RasterPos4fv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glRasterPos4i")] + [DllImport("opengl32.dll", EntryPoint = "glRasterPos4i")] public static extern void RasterPos4i(GLint x, GLint y, GLint z, GLint w); - [DllImport("opengl32", EntryPoint = "glRasterPos4iv")] + [DllImport("opengl32.dll", EntryPoint = "glRasterPos4iv")] public static extern void RasterPos4iv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glRasterPos4s")] + [DllImport("opengl32.dll", EntryPoint = "glRasterPos4s")] public static extern void RasterPos4s(GLshort x, GLshort y, GLshort z, GLshort w); - [DllImport("opengl32", EntryPoint = "glRasterPos4sv")] + [DllImport("opengl32.dll", EntryPoint = "glRasterPos4sv")] public static extern void RasterPos4sv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glRectd")] + [DllImport("opengl32.dll", EntryPoint = "glRectd")] public static extern void Rectd(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2); - [DllImport("opengl32", EntryPoint = "glRectdv")] + [DllImport("opengl32.dll", EntryPoint = "glRectdv")] public static extern void Rectdv_(IntPtr v1, IntPtr v2); - [DllImport("opengl32", EntryPoint = "glRectf")] + [DllImport("opengl32.dll", EntryPoint = "glRectf")] public static extern void Rectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2); - [DllImport("opengl32", EntryPoint = "glRectfv")] + [DllImport("opengl32.dll", EntryPoint = "glRectfv")] public static extern void Rectfv_(IntPtr v1, IntPtr v2); - [DllImport("opengl32", EntryPoint = "glRecti")] + [DllImport("opengl32.dll", EntryPoint = "glRecti")] public static extern void Recti(GLint x1, GLint y1, GLint x2, GLint y2); - [DllImport("opengl32", EntryPoint = "glRectiv")] + [DllImport("opengl32.dll", EntryPoint = "glRectiv")] public static extern void Rectiv_(IntPtr v1, IntPtr v2); - [DllImport("opengl32", EntryPoint = "glRects")] + [DllImport("opengl32.dll", EntryPoint = "glRects")] public static extern void Rects(GLshort x1, GLshort y1, GLshort x2, GLshort y2); - [DllImport("opengl32", EntryPoint = "glRectsv")] + [DllImport("opengl32.dll", EntryPoint = "glRectsv")] public static extern void Rectsv_(IntPtr v1, IntPtr v2); - [DllImport("opengl32", EntryPoint = "glTexCoord1d")] + [DllImport("opengl32.dll", EntryPoint = "glTexCoord1d")] public static extern void TexCoord1d(GLdouble s); - [DllImport("opengl32", EntryPoint = "glTexCoord1dv")] + [DllImport("opengl32.dll", EntryPoint = "glTexCoord1dv")] public static extern void TexCoord1dv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glTexCoord1f")] + [DllImport("opengl32.dll", EntryPoint = "glTexCoord1f")] public static extern void TexCoord1f(GLfloat s); - [DllImport("opengl32", EntryPoint = "glTexCoord1fv")] + [DllImport("opengl32.dll", EntryPoint = "glTexCoord1fv")] public static extern void TexCoord1fv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glTexCoord1i")] + [DllImport("opengl32.dll", EntryPoint = "glTexCoord1i")] public static extern void TexCoord1i(GLint s); - [DllImport("opengl32", EntryPoint = "glTexCoord1iv")] + [DllImport("opengl32.dll", EntryPoint = "glTexCoord1iv")] public static extern void TexCoord1iv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glTexCoord1s")] + [DllImport("opengl32.dll", EntryPoint = "glTexCoord1s")] public static extern void TexCoord1s(GLshort s); - [DllImport("opengl32", EntryPoint = "glTexCoord1sv")] + [DllImport("opengl32.dll", EntryPoint = "glTexCoord1sv")] public static extern void TexCoord1sv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glTexCoord2d")] + [DllImport("opengl32.dll", EntryPoint = "glTexCoord2d")] public static extern void TexCoord2d(GLdouble s, GLdouble t); - [DllImport("opengl32", EntryPoint = "glTexCoord2dv")] + [DllImport("opengl32.dll", EntryPoint = "glTexCoord2dv")] public static extern void TexCoord2dv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glTexCoord2f")] + [DllImport("opengl32.dll", EntryPoint = "glTexCoord2f")] public static extern void TexCoord2f(GLfloat s, GLfloat t); - [DllImport("opengl32", EntryPoint = "glTexCoord2fv")] + [DllImport("opengl32.dll", EntryPoint = "glTexCoord2fv")] public static extern void TexCoord2fv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glTexCoord2i")] + [DllImport("opengl32.dll", EntryPoint = "glTexCoord2i")] public static extern void TexCoord2i(GLint s, GLint t); - [DllImport("opengl32", EntryPoint = "glTexCoord2iv")] + [DllImport("opengl32.dll", EntryPoint = "glTexCoord2iv")] public static extern void TexCoord2iv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glTexCoord2s")] + [DllImport("opengl32.dll", EntryPoint = "glTexCoord2s")] public static extern void TexCoord2s(GLshort s, GLshort t); - [DllImport("opengl32", EntryPoint = "glTexCoord2sv")] + [DllImport("opengl32.dll", EntryPoint = "glTexCoord2sv")] public static extern void TexCoord2sv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glTexCoord3d")] + [DllImport("opengl32.dll", EntryPoint = "glTexCoord3d")] public static extern void TexCoord3d(GLdouble s, GLdouble t, GLdouble r); - [DllImport("opengl32", EntryPoint = "glTexCoord3dv")] + [DllImport("opengl32.dll", EntryPoint = "glTexCoord3dv")] public static extern void TexCoord3dv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glTexCoord3f")] + [DllImport("opengl32.dll", EntryPoint = "glTexCoord3f")] public static extern void TexCoord3f(GLfloat s, GLfloat t, GLfloat r); - [DllImport("opengl32", EntryPoint = "glTexCoord3fv")] + [DllImport("opengl32.dll", EntryPoint = "glTexCoord3fv")] public static extern void TexCoord3fv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glTexCoord3i")] + [DllImport("opengl32.dll", EntryPoint = "glTexCoord3i")] public static extern void TexCoord3i(GLint s, GLint t, GLint r); - [DllImport("opengl32", EntryPoint = "glTexCoord3iv")] + [DllImport("opengl32.dll", EntryPoint = "glTexCoord3iv")] public static extern void TexCoord3iv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glTexCoord3s")] + [DllImport("opengl32.dll", EntryPoint = "glTexCoord3s")] public static extern void TexCoord3s(GLshort s, GLshort t, GLshort r); - [DllImport("opengl32", EntryPoint = "glTexCoord3sv")] + [DllImport("opengl32.dll", EntryPoint = "glTexCoord3sv")] public static extern void TexCoord3sv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glTexCoord4d")] + [DllImport("opengl32.dll", EntryPoint = "glTexCoord4d")] public static extern void TexCoord4d(GLdouble s, GLdouble t, GLdouble r, GLdouble q); - [DllImport("opengl32", EntryPoint = "glTexCoord4dv")] + [DllImport("opengl32.dll", EntryPoint = "glTexCoord4dv")] public static extern void TexCoord4dv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glTexCoord4f")] + [DllImport("opengl32.dll", EntryPoint = "glTexCoord4f")] public static extern void TexCoord4f(GLfloat s, GLfloat t, GLfloat r, GLfloat q); - [DllImport("opengl32", EntryPoint = "glTexCoord4fv")] + [DllImport("opengl32.dll", EntryPoint = "glTexCoord4fv")] public static extern void TexCoord4fv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glTexCoord4i")] + [DllImport("opengl32.dll", EntryPoint = "glTexCoord4i")] public static extern void TexCoord4i(GLint s, GLint t, GLint r, GLint q); - [DllImport("opengl32", EntryPoint = "glTexCoord4iv")] + [DllImport("opengl32.dll", EntryPoint = "glTexCoord4iv")] public static extern void TexCoord4iv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glTexCoord4s")] + [DllImport("opengl32.dll", EntryPoint = "glTexCoord4s")] public static extern void TexCoord4s(GLshort s, GLshort t, GLshort r, GLshort q); - [DllImport("opengl32", EntryPoint = "glTexCoord4sv")] + [DllImport("opengl32.dll", EntryPoint = "glTexCoord4sv")] public static extern void TexCoord4sv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glVertex2d")] + [DllImport("opengl32.dll", EntryPoint = "glVertex2d")] public static extern void Vertex2d(GLdouble x, GLdouble y); - [DllImport("opengl32", EntryPoint = "glVertex2dv")] + [DllImport("opengl32.dll", EntryPoint = "glVertex2dv")] public static extern void Vertex2dv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glVertex2f")] + [DllImport("opengl32.dll", EntryPoint = "glVertex2f")] public static extern void Vertex2f(GLfloat x, GLfloat y); - [DllImport("opengl32", EntryPoint = "glVertex2fv")] + [DllImport("opengl32.dll", EntryPoint = "glVertex2fv")] public static extern void Vertex2fv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glVertex2i")] + [DllImport("opengl32.dll", EntryPoint = "glVertex2i")] public static extern void Vertex2i(GLint x, GLint y); - [DllImport("opengl32", EntryPoint = "glVertex2iv")] + [DllImport("opengl32.dll", EntryPoint = "glVertex2iv")] public static extern void Vertex2iv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glVertex2s")] + [DllImport("opengl32.dll", EntryPoint = "glVertex2s")] public static extern void Vertex2s(GLshort x, GLshort y); - [DllImport("opengl32", EntryPoint = "glVertex2sv")] + [DllImport("opengl32.dll", EntryPoint = "glVertex2sv")] public static extern void Vertex2sv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glVertex3d")] + [DllImport("opengl32.dll", EntryPoint = "glVertex3d")] public static extern void Vertex3d(GLdouble x, GLdouble y, GLdouble z); - [DllImport("opengl32", EntryPoint = "glVertex3dv")] + [DllImport("opengl32.dll", EntryPoint = "glVertex3dv")] public static extern void Vertex3dv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glVertex3f")] + [DllImport("opengl32.dll", EntryPoint = "glVertex3f")] public static extern void Vertex3f(GLfloat x, GLfloat y, GLfloat z); - [DllImport("opengl32", EntryPoint = "glVertex3fv")] + [DllImport("opengl32.dll", EntryPoint = "glVertex3fv")] public static extern void Vertex3fv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glVertex3i")] + [DllImport("opengl32.dll", EntryPoint = "glVertex3i")] public static extern void Vertex3i(GLint x, GLint y, GLint z); - [DllImport("opengl32", EntryPoint = "glVertex3iv")] + [DllImport("opengl32.dll", EntryPoint = "glVertex3iv")] public static extern void Vertex3iv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glVertex3s")] + [DllImport("opengl32.dll", EntryPoint = "glVertex3s")] public static extern void Vertex3s(GLshort x, GLshort y, GLshort z); - [DllImport("opengl32", EntryPoint = "glVertex3sv")] + [DllImport("opengl32.dll", EntryPoint = "glVertex3sv")] public static extern void Vertex3sv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glVertex4d")] + [DllImport("opengl32.dll", EntryPoint = "glVertex4d")] public static extern void Vertex4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w); - [DllImport("opengl32", EntryPoint = "glVertex4dv")] + [DllImport("opengl32.dll", EntryPoint = "glVertex4dv")] public static extern void Vertex4dv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glVertex4f")] + [DllImport("opengl32.dll", EntryPoint = "glVertex4f")] public static extern void Vertex4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w); - [DllImport("opengl32", EntryPoint = "glVertex4fv")] + [DllImport("opengl32.dll", EntryPoint = "glVertex4fv")] public static extern void Vertex4fv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glVertex4i")] + [DllImport("opengl32.dll", EntryPoint = "glVertex4i")] public static extern void Vertex4i(GLint x, GLint y, GLint z, GLint w); - [DllImport("opengl32", EntryPoint = "glVertex4iv")] + [DllImport("opengl32.dll", EntryPoint = "glVertex4iv")] public static extern void Vertex4iv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glVertex4s")] + [DllImport("opengl32.dll", EntryPoint = "glVertex4s")] public static extern void Vertex4s(GLshort x, GLshort y, GLshort z, GLshort w); - [DllImport("opengl32", EntryPoint = "glVertex4sv")] + [DllImport("opengl32.dll", EntryPoint = "glVertex4sv")] public static extern void Vertex4sv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glClipPlane")] + [DllImport("opengl32.dll", EntryPoint = "glClipPlane")] public static extern void ClipPlane_(Enums.ClipPlaneName plane, IntPtr equation); - [DllImport("opengl32", EntryPoint = "glColorMaterial")] + [DllImport("opengl32.dll", EntryPoint = "glColorMaterial")] public static extern void ColorMaterial(Enums.MaterialFace face, Enums.ColorMaterialParameter mode); - [DllImport("opengl32", EntryPoint = "glCullFace")] + [DllImport("opengl32.dll", EntryPoint = "glCullFace")] public static extern void CullFace(Enums.CullFaceMode mode); - [DllImport("opengl32", EntryPoint = "glFogf")] + [DllImport("opengl32.dll", EntryPoint = "glFogf")] public static extern void Fogf(Enums.FogParameter pname, GLfloat param); - [DllImport("opengl32", EntryPoint = "glFogfv")] + [DllImport("opengl32.dll", EntryPoint = "glFogfv")] public static extern void Fogfv_(Enums.FogParameter pname, IntPtr parameters); - [DllImport("opengl32", EntryPoint = "glFogi")] + [DllImport("opengl32.dll", EntryPoint = "glFogi")] public static extern void Fogi(Enums.FogParameter pname, GLint param); - [DllImport("opengl32", EntryPoint = "glFogiv")] + [DllImport("opengl32.dll", EntryPoint = "glFogiv")] public static extern void Fogiv_(Enums.FogParameter pname, IntPtr parameters); - [DllImport("opengl32", EntryPoint = "glFrontFace")] + [DllImport("opengl32.dll", EntryPoint = "glFrontFace")] public static extern void FrontFace(Enums.FrontFaceDirection mode); - [DllImport("opengl32", EntryPoint = "glHint")] + [DllImport("opengl32.dll", EntryPoint = "glHint")] public static extern void Hint(Enums.HintTarget target, Enums.HintMode mode); - [DllImport("opengl32", EntryPoint = "glLightf")] + [DllImport("opengl32.dll", EntryPoint = "glLightf")] public static extern void Lightf(Enums.LightName light, Enums.LightParameter pname, GLfloat param); - [DllImport("opengl32", EntryPoint = "glLightfv")] + [DllImport("opengl32.dll", EntryPoint = "glLightfv")] public static extern void Lightfv_(Enums.LightName light, Enums.LightParameter pname, IntPtr parameters); - [DllImport("opengl32", EntryPoint = "glLighti")] + [DllImport("opengl32.dll", EntryPoint = "glLighti")] public static extern void Lighti(Enums.LightName light, Enums.LightParameter pname, GLint param); - [DllImport("opengl32", EntryPoint = "glLightiv")] + [DllImport("opengl32.dll", EntryPoint = "glLightiv")] public static extern void Lightiv_(Enums.LightName light, Enums.LightParameter pname, IntPtr parameters); - [DllImport("opengl32", EntryPoint = "glLightModelf")] + [DllImport("opengl32.dll", EntryPoint = "glLightModelf")] public static extern void LightModelf(Enums.LightModelParameter pname, GLfloat param); - [DllImport("opengl32", EntryPoint = "glLightModelfv")] + [DllImport("opengl32.dll", EntryPoint = "glLightModelfv")] public static extern void LightModelfv_(Enums.LightModelParameter pname, IntPtr parameters); - [DllImport("opengl32", EntryPoint = "glLightModeli")] + [DllImport("opengl32.dll", EntryPoint = "glLightModeli")] public static extern void LightModeli(Enums.LightModelParameter pname, GLint param); - [DllImport("opengl32", EntryPoint = "glLightModeliv")] + [DllImport("opengl32.dll", EntryPoint = "glLightModeliv")] public static extern void LightModeliv_(Enums.LightModelParameter pname, IntPtr parameters); - [DllImport("opengl32", EntryPoint = "glLineStipple")] + [DllImport("opengl32.dll", EntryPoint = "glLineStipple")] public static extern void LineStipple(GLint factor, GLushort pattern); - [DllImport("opengl32", EntryPoint = "glLineWidth")] + [DllImport("opengl32.dll", EntryPoint = "glLineWidth")] public static extern void LineWidth(GLfloat width); - [DllImport("opengl32", EntryPoint = "glMaterialf")] + [DllImport("opengl32.dll", EntryPoint = "glMaterialf")] public static extern void Materialf(Enums.MaterialFace face, Enums.MaterialParameter pname, GLfloat param); - [DllImport("opengl32", EntryPoint = "glMaterialfv")] + [DllImport("opengl32.dll", EntryPoint = "glMaterialfv")] public static extern void Materialfv_(Enums.MaterialFace face, Enums.MaterialParameter pname, IntPtr parameters); - [DllImport("opengl32", EntryPoint = "glMateriali")] + [DllImport("opengl32.dll", EntryPoint = "glMateriali")] public static extern void Materiali(Enums.MaterialFace face, Enums.MaterialParameter pname, GLint param); - [DllImport("opengl32", EntryPoint = "glMaterialiv")] + [DllImport("opengl32.dll", EntryPoint = "glMaterialiv")] public static extern void Materialiv_(Enums.MaterialFace face, Enums.MaterialParameter pname, IntPtr parameters); - [DllImport("opengl32", EntryPoint = "glPointSize")] + [DllImport("opengl32.dll", EntryPoint = "glPointSize")] public static extern void PointSize(GLfloat size); - [DllImport("opengl32", EntryPoint = "glPolygonMode")] + [DllImport("opengl32.dll", EntryPoint = "glPolygonMode")] public static extern void PolygonMode(Enums.MaterialFace face, Enums.PolygonMode mode); - [DllImport("opengl32", EntryPoint = "glPolygonStipple")] + [DllImport("opengl32.dll", EntryPoint = "glPolygonStipple")] public static extern void PolygonStipple_(IntPtr mask); - [DllImport("opengl32", EntryPoint = "glScissor")] + [DllImport("opengl32.dll", EntryPoint = "glScissor")] public static extern void Scissor(GLint x, GLint y, GLsizei width, GLsizei height); - [DllImport("opengl32", EntryPoint = "glShadeModel")] + [DllImport("opengl32.dll", EntryPoint = "glShadeModel")] public static extern void ShadeModel(Enums.ShadingModel mode); - [DllImport("opengl32", EntryPoint = "glTexParameterf")] + [DllImport("opengl32.dll", EntryPoint = "glTexParameterf")] public static extern void TexParameterf(Enums.TextureTarget target, Enums.TextureParameterName pname, GLfloat param); - [DllImport("opengl32", EntryPoint = "glTexParameterfv")] + [DllImport("opengl32.dll", EntryPoint = "glTexParameterfv")] public static extern void TexParameterfv_(Enums.TextureTarget target, Enums.TextureParameterName pname, IntPtr parameters); - [DllImport("opengl32", EntryPoint = "glTexParameteri")] + [DllImport("opengl32.dll", EntryPoint = "glTexParameteri")] public static extern void TexParameteri(Enums.TextureTarget target, Enums.TextureParameterName pname, GLint param); - [DllImport("opengl32", EntryPoint = "glTexParameteriv")] + [DllImport("opengl32.dll", EntryPoint = "glTexParameteriv")] public static extern void TexParameteriv_(Enums.TextureTarget target, Enums.TextureParameterName pname, IntPtr parameters); - [DllImport("opengl32", EntryPoint = "glTexImage1D")] + [DllImport("opengl32.dll", EntryPoint = "glTexImage1D")] public static extern void TexImage1D(Enums.TextureTarget target, GLint level, GLint internalformat, GLsizei width, GLint border, Enums.PixelFormat format, Enums.PixelType type, IntPtr pixels); - [DllImport("opengl32", EntryPoint = "glTexImage2D")] + [DllImport("opengl32.dll", EntryPoint = "glTexImage2D")] public static extern void TexImage2D(Enums.TextureTarget target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, Enums.PixelFormat format, Enums.PixelType type, IntPtr pixels); - [DllImport("opengl32", EntryPoint = "glTexEnvf")] + [DllImport("opengl32.dll", EntryPoint = "glTexEnvf")] public static extern void TexEnvf(Enums.TextureEnvTarget target, Enums.TextureEnvParameter pname, GLfloat param); - [DllImport("opengl32", EntryPoint = "glTexEnvfv")] + [DllImport("opengl32.dll", EntryPoint = "glTexEnvfv")] public static extern void TexEnvfv_(Enums.TextureEnvTarget target, Enums.TextureEnvParameter pname, IntPtr parameters); - [DllImport("opengl32", EntryPoint = "glTexEnvi")] + [DllImport("opengl32.dll", EntryPoint = "glTexEnvi")] public static extern void TexEnvi(Enums.TextureEnvTarget target, Enums.TextureEnvParameter pname, GLint param); - [DllImport("opengl32", EntryPoint = "glTexEnviv")] + [DllImport("opengl32.dll", EntryPoint = "glTexEnviv")] public static extern void TexEnviv_(Enums.TextureEnvTarget target, Enums.TextureEnvParameter pname, IntPtr parameters); - [DllImport("opengl32", EntryPoint = "glTexGend")] + [DllImport("opengl32.dll", EntryPoint = "glTexGend")] public static extern void TexGend(Enums.TextureCoordName coord, Enums.TextureGenParameter pname, GLdouble param); - [DllImport("opengl32", EntryPoint = "glTexGendv")] + [DllImport("opengl32.dll", EntryPoint = "glTexGendv")] public static extern void TexGendv_(Enums.TextureCoordName coord, Enums.TextureGenParameter pname, IntPtr parameters); - [DllImport("opengl32", EntryPoint = "glTexGenf")] + [DllImport("opengl32.dll", EntryPoint = "glTexGenf")] public static extern void TexGenf(Enums.TextureCoordName coord, Enums.TextureGenParameter pname, GLfloat param); - [DllImport("opengl32", EntryPoint = "glTexGenfv")] + [DllImport("opengl32.dll", EntryPoint = "glTexGenfv")] public static extern void TexGenfv_(Enums.TextureCoordName coord, Enums.TextureGenParameter pname, IntPtr parameters); - [DllImport("opengl32", EntryPoint = "glTexGeni")] + [DllImport("opengl32.dll", EntryPoint = "glTexGeni")] public static extern void TexGeni(Enums.TextureCoordName coord, Enums.TextureGenParameter pname, GLint param); - [DllImport("opengl32", EntryPoint = "glTexGeniv")] + [DllImport("opengl32.dll", EntryPoint = "glTexGeniv")] public static extern void TexGeniv_(Enums.TextureCoordName coord, Enums.TextureGenParameter pname, IntPtr parameters); - [DllImport("opengl32", EntryPoint = "glFeedbackBuffer")] + [DllImport("opengl32.dll", EntryPoint = "glFeedbackBuffer")] public static extern void FeedbackBuffer(GLsizei size, Enums.FeedbackType type, [MarshalAs(UnmanagedType.LPArray)] GLfloat[] buffer); - [DllImport("opengl32", EntryPoint = "glSelectBuffer")] + [DllImport("opengl32.dll", EntryPoint = "glSelectBuffer")] public static extern void SelectBuffer(GLsizei size, [MarshalAs(UnmanagedType.LPArray)] GLuint[] buffer); - [DllImport("opengl32", EntryPoint = "glRenderMode")] + [DllImport("opengl32.dll", EntryPoint = "glRenderMode")] public static extern GLint RenderMode(Enums.RenderingMode mode); - [DllImport("opengl32", EntryPoint = "glInitNames")] + [DllImport("opengl32.dll", EntryPoint = "glInitNames")] public static extern void InitNames(); - [DllImport("opengl32", EntryPoint = "glLoadName")] + [DllImport("opengl32.dll", EntryPoint = "glLoadName")] public static extern void LoadName(GLuint name); - [DllImport("opengl32", EntryPoint = "glPassThrough")] + [DllImport("opengl32.dll", EntryPoint = "glPassThrough")] public static extern void PassThrough(GLfloat token); - [DllImport("opengl32", EntryPoint = "glPopName")] + [DllImport("opengl32.dll", EntryPoint = "glPopName")] public static extern void PopName(); - [DllImport("opengl32", EntryPoint = "glPushName")] + [DllImport("opengl32.dll", EntryPoint = "glPushName")] public static extern void PushName(GLuint name); - [DllImport("opengl32", EntryPoint = "glDrawBuffer")] + [DllImport("opengl32.dll", EntryPoint = "glDrawBuffer")] public static extern void DrawBuffer(Enums.DrawBufferMode mode); - [DllImport("opengl32", EntryPoint = "glClear")] + [DllImport("opengl32.dll", EntryPoint = "glClear")] public static extern void Clear(Enums.ClearBufferMask mask); - [DllImport("opengl32", EntryPoint = "glClearAccum")] + [DllImport("opengl32.dll", EntryPoint = "glClearAccum")] public static extern void ClearAccum(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); - [DllImport("opengl32", EntryPoint = "glClearIndex")] + [DllImport("opengl32.dll", EntryPoint = "glClearIndex")] public static extern void ClearIndex(GLfloat c); - [DllImport("opengl32", EntryPoint = "glClearColor")] + [DllImport("opengl32.dll", EntryPoint = "glClearColor")] public static extern void ClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); - [DllImport("opengl32", EntryPoint = "glClearStencil")] + [DllImport("opengl32.dll", EntryPoint = "glClearStencil")] public static extern void ClearStencil(GLint s); - [DllImport("opengl32", EntryPoint = "glClearDepth")] + [DllImport("opengl32.dll", EntryPoint = "glClearDepth")] public static extern void ClearDepth(GLclampd depth); - [DllImport("opengl32", EntryPoint = "glStencilMask")] + [DllImport("opengl32.dll", EntryPoint = "glStencilMask")] public static extern void StencilMask(GLuint mask); - [DllImport("opengl32", EntryPoint = "glColorMask")] + [DllImport("opengl32.dll", EntryPoint = "glColorMask")] public static extern void ColorMask(Enums.Boolean red, Enums.Boolean green, Enums.Boolean blue, Enums.Boolean alpha); - [DllImport("opengl32", EntryPoint = "glDepthMask")] + [DllImport("opengl32.dll", EntryPoint = "glDepthMask")] public static extern void DepthMask(Enums.Boolean flag); - [DllImport("opengl32", EntryPoint = "glIndexMask")] + [DllImport("opengl32.dll", EntryPoint = "glIndexMask")] public static extern void IndexMask(GLuint mask); - [DllImport("opengl32", EntryPoint = "glAccum")] + [DllImport("opengl32.dll", EntryPoint = "glAccum")] public static extern void Accum(Enums.AccumOp op, GLfloat value); - [DllImport("opengl32", EntryPoint = "glDisable")] + [DllImport("opengl32.dll", EntryPoint = "glDisable")] public static extern void Disable(Enums.EnableCap cap); - [DllImport("opengl32", EntryPoint = "glEnable")] + [DllImport("opengl32.dll", EntryPoint = "glEnable")] public static extern void Enable(Enums.EnableCap cap); - [DllImport("opengl32", EntryPoint = "glFinish")] + [DllImport("opengl32.dll", EntryPoint = "glFinish")] public static extern void Finish(); - [DllImport("opengl32", EntryPoint = "glFlush")] + [DllImport("opengl32.dll", EntryPoint = "glFlush")] public static extern void Flush(); - [DllImport("opengl32", EntryPoint = "glPopAttrib")] + [DllImport("opengl32.dll", EntryPoint = "glPopAttrib")] public static extern void PopAttrib(); - [DllImport("opengl32", EntryPoint = "glPushAttrib")] + [DllImport("opengl32.dll", EntryPoint = "glPushAttrib")] public static extern void PushAttrib(Enums.AttribMask mask); - [DllImport("opengl32", EntryPoint = "glMap1d")] + [DllImport("opengl32.dll", EntryPoint = "glMap1d")] public static extern void Map1d_(Enums.MapTarget target, GLdouble u1, GLdouble u2, GLint stride, GLint order, IntPtr points); - [DllImport("opengl32", EntryPoint = "glMap1f")] + [DllImport("opengl32.dll", EntryPoint = "glMap1f")] public static extern void Map1f_(Enums.MapTarget target, GLfloat u1, GLfloat u2, GLint stride, GLint order, IntPtr points); - [DllImport("opengl32", EntryPoint = "glMap2d")] + [DllImport("opengl32.dll", EntryPoint = "glMap2d")] public static extern void Map2d_(Enums.MapTarget target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, IntPtr points); - [DllImport("opengl32", EntryPoint = "glMap2f")] + [DllImport("opengl32.dll", EntryPoint = "glMap2f")] public static extern void Map2f_(Enums.MapTarget target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, IntPtr points); - [DllImport("opengl32", EntryPoint = "glMapGrid1d")] + [DllImport("opengl32.dll", EntryPoint = "glMapGrid1d")] public static extern void MapGrid1d(GLint un, GLdouble u1, GLdouble u2); - [DllImport("opengl32", EntryPoint = "glMapGrid1f")] + [DllImport("opengl32.dll", EntryPoint = "glMapGrid1f")] public static extern void MapGrid1f(GLint un, GLfloat u1, GLfloat u2); - [DllImport("opengl32", EntryPoint = "glMapGrid2d")] + [DllImport("opengl32.dll", EntryPoint = "glMapGrid2d")] public static extern void MapGrid2d(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2); - [DllImport("opengl32", EntryPoint = "glMapGrid2f")] + [DllImport("opengl32.dll", EntryPoint = "glMapGrid2f")] public static extern void MapGrid2f(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2); - [DllImport("opengl32", EntryPoint = "glEvalCoord1d")] + [DllImport("opengl32.dll", EntryPoint = "glEvalCoord1d")] public static extern void EvalCoord1d(GLdouble u); - [DllImport("opengl32", EntryPoint = "glEvalCoord1dv")] + [DllImport("opengl32.dll", EntryPoint = "glEvalCoord1dv")] public static extern void EvalCoord1dv_(IntPtr u); - [DllImport("opengl32", EntryPoint = "glEvalCoord1f")] + [DllImport("opengl32.dll", EntryPoint = "glEvalCoord1f")] public static extern void EvalCoord1f(GLfloat u); - [DllImport("opengl32", EntryPoint = "glEvalCoord1fv")] + [DllImport("opengl32.dll", EntryPoint = "glEvalCoord1fv")] public static extern void EvalCoord1fv_(IntPtr u); - [DllImport("opengl32", EntryPoint = "glEvalCoord2d")] + [DllImport("opengl32.dll", EntryPoint = "glEvalCoord2d")] public static extern void EvalCoord2d(GLdouble u, GLdouble v); - [DllImport("opengl32", EntryPoint = "glEvalCoord2dv")] + [DllImport("opengl32.dll", EntryPoint = "glEvalCoord2dv")] public static extern void EvalCoord2dv_(IntPtr u); - [DllImport("opengl32", EntryPoint = "glEvalCoord2f")] + [DllImport("opengl32.dll", EntryPoint = "glEvalCoord2f")] public static extern void EvalCoord2f(GLfloat u, GLfloat v); - [DllImport("opengl32", EntryPoint = "glEvalCoord2fv")] + [DllImport("opengl32.dll", EntryPoint = "glEvalCoord2fv")] public static extern void EvalCoord2fv_(IntPtr u); - [DllImport("opengl32", EntryPoint = "glEvalMesh1")] + [DllImport("opengl32.dll", EntryPoint = "glEvalMesh1")] public static extern void EvalMesh1(Enums.MeshMode1 mode, GLint i1, GLint i2); - [DllImport("opengl32", EntryPoint = "glEvalPoint1")] + [DllImport("opengl32.dll", EntryPoint = "glEvalPoint1")] public static extern void EvalPoint1(GLint i); - [DllImport("opengl32", EntryPoint = "glEvalMesh2")] + [DllImport("opengl32.dll", EntryPoint = "glEvalMesh2")] public static extern void EvalMesh2(Enums.MeshMode2 mode, GLint i1, GLint i2, GLint j1, GLint j2); - [DllImport("opengl32", EntryPoint = "glEvalPoint2")] + [DllImport("opengl32.dll", EntryPoint = "glEvalPoint2")] public static extern void EvalPoint2(GLint i, GLint j); - [DllImport("opengl32", EntryPoint = "glAlphaFunc")] + [DllImport("opengl32.dll", EntryPoint = "glAlphaFunc")] public static extern void AlphaFunc(Enums.AlphaFunction func, GLclampf reference); - [DllImport("opengl32", EntryPoint = "glBlendFunc")] + [DllImport("opengl32.dll", EntryPoint = "glBlendFunc")] public static extern void BlendFunc(Enums.BlendingFactorSrc sfactor, Enums.BlendingFactorDest dfactor); - [DllImport("opengl32", EntryPoint = "glLogicOp")] + [DllImport("opengl32.dll", EntryPoint = "glLogicOp")] public static extern void LogicOp(Enums.LogicOp opcode); - [DllImport("opengl32", EntryPoint = "glStencilFunc")] + [DllImport("opengl32.dll", EntryPoint = "glStencilFunc")] public static extern void StencilFunc(Enums.StencilFunction func, GLint reference, GLuint mask); - [DllImport("opengl32", EntryPoint = "glStencilOp")] + [DllImport("opengl32.dll", EntryPoint = "glStencilOp")] public static extern void StencilOp(Enums.StencilOp fail, Enums.StencilOp zfail, Enums.StencilOp zpass); - [DllImport("opengl32", EntryPoint = "glDepthFunc")] + [DllImport("opengl32.dll", EntryPoint = "glDepthFunc")] public static extern void DepthFunc(Enums.DepthFunction func); - [DllImport("opengl32", EntryPoint = "glPixelZoom")] + [DllImport("opengl32.dll", EntryPoint = "glPixelZoom")] public static extern void PixelZoom(GLfloat xfactor, GLfloat yfactor); - [DllImport("opengl32", EntryPoint = "glPixelTransferf")] + [DllImport("opengl32.dll", EntryPoint = "glPixelTransferf")] public static extern void PixelTransferf(Enums.PixelTransferParameter pname, GLfloat param); - [DllImport("opengl32", EntryPoint = "glPixelTransferi")] + [DllImport("opengl32.dll", EntryPoint = "glPixelTransferi")] public static extern void PixelTransferi(Enums.PixelTransferParameter pname, GLint param); - [DllImport("opengl32", EntryPoint = "glPixelStoref")] + [DllImport("opengl32.dll", EntryPoint = "glPixelStoref")] public static extern void PixelStoref(Enums.PixelStoreParameter pname, GLfloat param); - [DllImport("opengl32", EntryPoint = "glPixelStorei")] + [DllImport("opengl32.dll", EntryPoint = "glPixelStorei")] public static extern void PixelStorei(Enums.PixelStoreParameter pname, GLint param); - [DllImport("opengl32", EntryPoint = "glPixelMapfv")] + [DllImport("opengl32.dll", EntryPoint = "glPixelMapfv")] public static extern void PixelMapfv_(Enums.PixelMap map, GLint mapsize, IntPtr values); - [DllImport("opengl32", EntryPoint = "glPixelMapuiv")] + [DllImport("opengl32.dll", EntryPoint = "glPixelMapuiv")] public static extern void PixelMapuiv_(Enums.PixelMap map, GLint mapsize, IntPtr values); - [DllImport("opengl32", EntryPoint = "glPixelMapusv")] + [DllImport("opengl32.dll", EntryPoint = "glPixelMapusv")] public static extern void PixelMapusv_(Enums.PixelMap map, GLint mapsize, IntPtr values); - [DllImport("opengl32", EntryPoint = "glReadBuffer")] + [DllImport("opengl32.dll", EntryPoint = "glReadBuffer")] public static extern void ReadBuffer(Enums.ReadBufferMode mode); - [DllImport("opengl32", EntryPoint = "glCopyPixels")] + [DllImport("opengl32.dll", EntryPoint = "glCopyPixels")] public static extern void CopyPixels(GLint x, GLint y, GLsizei width, GLsizei height, Enums.PixelCopyType type); - [DllImport("opengl32", EntryPoint = "glReadPixels")] + [DllImport("opengl32.dll", EntryPoint = "glReadPixels")] public static extern void ReadPixels_(GLint x, GLint y, GLsizei width, GLsizei height, Enums.PixelFormat format, Enums.PixelType type, IntPtr pixels); - [DllImport("opengl32", EntryPoint = "glDrawPixels")] + [DllImport("opengl32.dll", EntryPoint = "glDrawPixels")] public static extern void DrawPixels_(GLsizei width, GLsizei height, Enums.PixelFormat format, Enums.PixelType type, IntPtr pixels); - [DllImport("opengl32", EntryPoint = "glGetBooleanv")] + [DllImport("opengl32.dll", EntryPoint = "glGetBooleanv")] public static extern void GetBooleanv(Enums.GetPName pname, Enums.Boolean[] parameters); - [DllImport("opengl32", EntryPoint = "glGetClipPlane")] + [DllImport("opengl32.dll", EntryPoint = "glGetClipPlane")] public static extern void GetClipPlane(Enums.ClipPlaneName plane, [MarshalAs(UnmanagedType.LPArray)] GLdouble[] equation); - [DllImport("opengl32", EntryPoint = "glGetDoublev")] + [DllImport("opengl32.dll", EntryPoint = "glGetDoublev")] public static extern void GetDoublev(Enums.GetPName pname, [MarshalAs(UnmanagedType.LPArray)] GLdouble[] parameters); - [DllImport("opengl32", EntryPoint = "glGetError")] + [DllImport("opengl32.dll", EntryPoint = "glGetError")] public static extern GLenum GetError(); - [DllImport("opengl32", EntryPoint = "glGetFloatv")] + [DllImport("opengl32.dll", EntryPoint = "glGetFloatv")] public static extern void GetFloatv(Enums.GetPName pname, [MarshalAs(UnmanagedType.LPArray)] GLfloat[] parameters); - [DllImport("opengl32", EntryPoint = "glGetIntegerv")] + [DllImport("opengl32.dll", EntryPoint = "glGetIntegerv")] public static extern void GetIntegerv(Enums.GetPName pname, [MarshalAs(UnmanagedType.LPArray)] GLint[] parameters); - [DllImport("opengl32", EntryPoint = "glGetLightfv")] + [DllImport("opengl32.dll", EntryPoint = "glGetLightfv")] public static extern void GetLightfv(Enums.LightName light, Enums.LightParameter pname, [MarshalAs(UnmanagedType.LPArray)] GLfloat[] parameters); - [DllImport("opengl32", EntryPoint = "glGetLightiv")] + [DllImport("opengl32.dll", EntryPoint = "glGetLightiv")] public static extern void GetLightiv(Enums.LightName light, Enums.LightParameter pname, [MarshalAs(UnmanagedType.LPArray)] GLint[] parameters); - [DllImport("opengl32", EntryPoint = "glGetMapdv")] + [DllImport("opengl32.dll", EntryPoint = "glGetMapdv")] public static extern void GetMapdv(Enums.MapTarget target, Enums.GetMapQuery query, [MarshalAs(UnmanagedType.LPArray)] GLdouble[] v); - [DllImport("opengl32", EntryPoint = "glGetMapfv")] + [DllImport("opengl32.dll", EntryPoint = "glGetMapfv")] public static extern void GetMapfv(Enums.MapTarget target, Enums.GetMapQuery query, [MarshalAs(UnmanagedType.LPArray)] GLfloat[] v); - [DllImport("opengl32", EntryPoint = "glGetMapiv")] + [DllImport("opengl32.dll", EntryPoint = "glGetMapiv")] public static extern void GetMapiv(Enums.MapTarget target, Enums.GetMapQuery query, [MarshalAs(UnmanagedType.LPArray)] GLint[] v); - [DllImport("opengl32", EntryPoint = "glGetMaterialfv")] + [DllImport("opengl32.dll", EntryPoint = "glGetMaterialfv")] public static extern void GetMaterialfv(Enums.MaterialFace face, Enums.MaterialParameter pname, [MarshalAs(UnmanagedType.LPArray)] GLfloat[] parameters); - [DllImport("opengl32", EntryPoint = "glGetMaterialiv")] + [DllImport("opengl32.dll", EntryPoint = "glGetMaterialiv")] public static extern void GetMaterialiv(Enums.MaterialFace face, Enums.MaterialParameter pname, [MarshalAs(UnmanagedType.LPArray)] GLint[] parameters); - [DllImport("opengl32", EntryPoint = "glGetPixelMapfv")] + [DllImport("opengl32.dll", EntryPoint = "glGetPixelMapfv")] public static extern void GetPixelMapfv(Enums.PixelMap map, [MarshalAs(UnmanagedType.LPArray)] GLfloat[] values); - [DllImport("opengl32", EntryPoint = "glGetPixelMapuiv")] + [DllImport("opengl32.dll", EntryPoint = "glGetPixelMapuiv")] public static extern void GetPixelMapuiv(Enums.PixelMap map, [MarshalAs(UnmanagedType.LPArray)] GLuint[] values); - [DllImport("opengl32", EntryPoint = "glGetPixelMapusv")] + [DllImport("opengl32.dll", EntryPoint = "glGetPixelMapusv")] public static extern void GetPixelMapusv(Enums.PixelMap map, [MarshalAs(UnmanagedType.LPArray)] GLushort[] values); - [DllImport("opengl32", EntryPoint = "glGetPolygonStipple")] + [DllImport("opengl32.dll", EntryPoint = "glGetPolygonStipple")] public static extern void GetPolygonStipple([MarshalAs(UnmanagedType.LPArray)] GLubyte[] mask); - [DllImport("opengl32", EntryPoint = "glGetString")] + [DllImport("opengl32.dll", EntryPoint = "glGetString")] public static extern IntPtr GetString_(Enums.StringName name); - [DllImport("opengl32", EntryPoint = "glGetTexEnvfv")] + [DllImport("opengl32.dll", EntryPoint = "glGetTexEnvfv")] public static extern void GetTexEnvfv(Enums.TextureEnvTarget target, Enums.TextureEnvParameter pname, [MarshalAs(UnmanagedType.LPArray)] GLfloat[] parameters); - [DllImport("opengl32", EntryPoint = "glGetTexEnviv")] + [DllImport("opengl32.dll", EntryPoint = "glGetTexEnviv")] public static extern void GetTexEnviv(Enums.TextureEnvTarget target, Enums.TextureEnvParameter pname, [MarshalAs(UnmanagedType.LPArray)] GLint[] parameters); - [DllImport("opengl32", EntryPoint = "glGetTexGendv")] + [DllImport("opengl32.dll", EntryPoint = "glGetTexGendv")] public static extern void GetTexGendv(Enums.TextureCoordName coord, Enums.TextureGenParameter pname, [MarshalAs(UnmanagedType.LPArray)] GLdouble[] parameters); - [DllImport("opengl32", EntryPoint = "glGetTexGenfv")] + [DllImport("opengl32.dll", EntryPoint = "glGetTexGenfv")] public static extern void GetTexGenfv(Enums.TextureCoordName coord, Enums.TextureGenParameter pname, [MarshalAs(UnmanagedType.LPArray)] GLfloat[] parameters); - [DllImport("opengl32", EntryPoint = "glGetTexGeniv")] + [DllImport("opengl32.dll", EntryPoint = "glGetTexGeniv")] public static extern void GetTexGeniv(Enums.TextureCoordName coord, Enums.TextureGenParameter pname, [MarshalAs(UnmanagedType.LPArray)] GLint[] parameters); - [DllImport("opengl32", EntryPoint = "glGetTexImage")] + [DllImport("opengl32.dll", EntryPoint = "glGetTexImage")] public static extern void GetTexImage(Enums.TextureTarget target, GLint level, Enums.PixelFormat format, Enums.PixelType type, IntPtr pixels); - [DllImport("opengl32", EntryPoint = "glGetTexParameterfv")] + [DllImport("opengl32.dll", EntryPoint = "glGetTexParameterfv")] public static extern void GetTexParameterfv(Enums.TextureTarget target, Enums.GetTextureParameter pname, [MarshalAs(UnmanagedType.LPArray)] GLfloat[] parameters); - [DllImport("opengl32", EntryPoint = "glGetTexParameteriv")] + [DllImport("opengl32.dll", EntryPoint = "glGetTexParameteriv")] public static extern void GetTexParameteriv(Enums.TextureTarget target, Enums.GetTextureParameter pname, [MarshalAs(UnmanagedType.LPArray)] GLint[] parameters); - [DllImport("opengl32", EntryPoint = "glGetTexLevelParameterfv")] + [DllImport("opengl32.dll", EntryPoint = "glGetTexLevelParameterfv")] public static extern void GetTexLevelParameterfv(Enums.TextureTarget target, GLint level, Enums.GetTextureParameter pname, [MarshalAs(UnmanagedType.LPArray)] GLfloat[] parameters); - [DllImport("opengl32", EntryPoint = "glGetTexLevelParameteriv")] + [DllImport("opengl32.dll", EntryPoint = "glGetTexLevelParameteriv")] public static extern void GetTexLevelParameteriv(Enums.TextureTarget target, GLint level, Enums.GetTextureParameter pname, [MarshalAs(UnmanagedType.LPArray)] GLint[] parameters); - [DllImport("opengl32", EntryPoint = "glIsEnabled")] + [DllImport("opengl32.dll", EntryPoint = "glIsEnabled")] public static extern GLboolean IsEnabled(Enums.EnableCap cap); - [DllImport("opengl32", EntryPoint = "glIsList")] + [DllImport("opengl32.dll", EntryPoint = "glIsList")] public static extern GLboolean IsList(GLuint list); - [DllImport("opengl32", EntryPoint = "glDepthRange")] + [DllImport("opengl32.dll", EntryPoint = "glDepthRange")] public static extern void DepthRange(GLclampd near, GLclampd far); - [DllImport("opengl32", EntryPoint = "glFrustum")] + [DllImport("opengl32.dll", EntryPoint = "glFrustum")] public static extern void Frustum(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); - [DllImport("opengl32", EntryPoint = "glLoadIdentity")] + [DllImport("opengl32.dll", EntryPoint = "glLoadIdentity")] public static extern void LoadIdentity(); - [DllImport("opengl32", EntryPoint = "glLoadMatrixf")] + [DllImport("opengl32.dll", EntryPoint = "glLoadMatrixf")] public static extern void LoadMatrixf_(IntPtr m); - [DllImport("opengl32", EntryPoint = "glLoadMatrixd")] + [DllImport("opengl32.dll", EntryPoint = "glLoadMatrixd")] public static extern void LoadMatrixd_(IntPtr m); - [DllImport("opengl32", EntryPoint = "glMatrixMode")] + [DllImport("opengl32.dll", EntryPoint = "glMatrixMode")] public static extern void MatrixMode(Enums.MatrixMode mode); - [DllImport("opengl32", EntryPoint = "glMultMatrixf")] + [DllImport("opengl32.dll", EntryPoint = "glMultMatrixf")] public static extern void MultMatrixf_(IntPtr m); - [DllImport("opengl32", EntryPoint = "glMultMatrixd")] + [DllImport("opengl32.dll", EntryPoint = "glMultMatrixd")] public static extern void MultMatrixd_(IntPtr m); - [DllImport("opengl32", EntryPoint = "glOrtho")] + [DllImport("opengl32.dll", EntryPoint = "glOrtho")] public static extern void Ortho(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); - [DllImport("opengl32", EntryPoint = "glPopMatrix")] + [DllImport("opengl32.dll", EntryPoint = "glPopMatrix")] public static extern void PopMatrix(); - [DllImport("opengl32", EntryPoint = "glPushMatrix")] + [DllImport("opengl32.dll", EntryPoint = "glPushMatrix")] public static extern void PushMatrix(); - [DllImport("opengl32", EntryPoint = "glRotated")] + [DllImport("opengl32.dll", EntryPoint = "glRotated")] public static extern void Rotated(GLdouble angle, GLdouble x, GLdouble y, GLdouble z); - [DllImport("opengl32", EntryPoint = "glRotatef")] + [DllImport("opengl32.dll", EntryPoint = "glRotatef")] public static extern void Rotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z); - [DllImport("opengl32", EntryPoint = "glScaled")] + [DllImport("opengl32.dll", EntryPoint = "glScaled")] public static extern void Scaled(GLdouble x, GLdouble y, GLdouble z); - [DllImport("opengl32", EntryPoint = "glScalef")] + [DllImport("opengl32.dll", EntryPoint = "glScalef")] public static extern void Scalef(GLfloat x, GLfloat y, GLfloat z); - [DllImport("opengl32", EntryPoint = "glTranslated")] + [DllImport("opengl32.dll", EntryPoint = "glTranslated")] public static extern void Translated(GLdouble x, GLdouble y, GLdouble z); - [DllImport("opengl32", EntryPoint = "glTranslatef")] + [DllImport("opengl32.dll", EntryPoint = "glTranslatef")] public static extern void Translatef(GLfloat x, GLfloat y, GLfloat z); - [DllImport("opengl32", EntryPoint = "glViewport")] + [DllImport("opengl32.dll", EntryPoint = "glViewport")] public static extern void Viewport(GLint x, GLint y, GLsizei width, GLsizei height); - [DllImport("opengl32", EntryPoint = "glArrayElement")] + [DllImport("opengl32.dll", EntryPoint = "glArrayElement")] public static extern void ArrayElement(GLint i); - [DllImport("opengl32", EntryPoint = "glColorPointer")] + [DllImport("opengl32.dll", EntryPoint = "glColorPointer")] public static extern void ColorPointer_(GLint size, Enums.ColorPointerType type, GLsizei stride, IntPtr pointer); - [DllImport("opengl32", EntryPoint = "glDisableClientState")] + [DllImport("opengl32.dll", EntryPoint = "glDisableClientState")] public static extern void DisableClientState(Enums.EnableCap array); - [DllImport("opengl32", EntryPoint = "glDrawArrays")] + [DllImport("opengl32.dll", EntryPoint = "glDrawArrays")] public static extern void DrawArrays(Enums.BeginMode mode, GLint first, GLsizei count); - [DllImport("opengl32", EntryPoint = "glDrawElements")] + [DllImport("opengl32.dll", EntryPoint = "glDrawElements")] public static extern void DrawElements_(Enums.BeginMode mode, GLsizei count, GLenum type, IntPtr indices); - [DllImport("opengl32", EntryPoint = "glEdgeFlagPointer")] + [DllImport("opengl32.dll", EntryPoint = "glEdgeFlagPointer")] public static extern void EdgeFlagPointer_(GLsizei stride, IntPtr pointer); - [DllImport("opengl32", EntryPoint = "glEnableClientState")] + [DllImport("opengl32.dll", EntryPoint = "glEnableClientState")] public static extern void EnableClientState(Enums.EnableCap array); - [DllImport("opengl32", EntryPoint = "glGetPointerv")] + [DllImport("opengl32.dll", EntryPoint = "glGetPointerv")] public static extern void GetPointerv(Enums.GetPointervPName pname, [MarshalAs(UnmanagedType.LPArray)] IntPtr[] parameters); - [DllImport("opengl32", EntryPoint = "glIndexPointer")] + [DllImport("opengl32.dll", EntryPoint = "glIndexPointer")] public static extern void IndexPointer_(Enums.IndexPointerType type, GLsizei stride, IntPtr pointer); - [DllImport("opengl32", EntryPoint = "glInterleavedArrays")] + [DllImport("opengl32.dll", EntryPoint = "glInterleavedArrays")] public static extern void InterleavedArrays_(Enums.InterleavedArrayFormat format, GLsizei stride, IntPtr pointer); - [DllImport("opengl32", EntryPoint = "glNormalPointer")] + [DllImport("opengl32.dll", EntryPoint = "glNormalPointer")] public static extern void NormalPointer_(Enums.NormalPointerType type, GLsizei stride, IntPtr pointer); - [DllImport("opengl32", EntryPoint = "glTexCoordPointer")] + [DllImport("opengl32.dll", EntryPoint = "glTexCoordPointer")] public static extern void TexCoordPointer_(GLint size, Enums.TexCoordPointerType type, GLsizei stride, IntPtr pointer); - [DllImport("opengl32", EntryPoint = "glVertexPointer")] + [DllImport("opengl32.dll", EntryPoint = "glVertexPointer")] public static extern void VertexPointer_(GLint size, Enums.VertexPointerType type, GLsizei stride, IntPtr pointer); - [DllImport("opengl32", EntryPoint = "glPolygonOffset")] + [DllImport("opengl32.dll", EntryPoint = "glPolygonOffset")] public static extern void PolygonOffset(GLfloat factor, GLfloat units); - [DllImport("opengl32", EntryPoint = "glCopyTexImage1D")] + [DllImport("opengl32.dll", EntryPoint = "glCopyTexImage1D")] public static extern void CopyTexImage1D(Enums.TextureTarget target, GLint level, Enums.PixelInternalFormat internalformat, GLint x, GLint y, GLsizei width, GLint border); - [DllImport("opengl32", EntryPoint = "glCopyTexImage2D")] + [DllImport("opengl32.dll", EntryPoint = "glCopyTexImage2D")] public static extern void CopyTexImage2D(Enums.TextureTarget target, GLint level, Enums.PixelInternalFormat internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); - [DllImport("opengl32", EntryPoint = "glCopyTexSubImage1D")] + [DllImport("opengl32.dll", EntryPoint = "glCopyTexSubImage1D")] public static extern void CopyTexSubImage1D(Enums.TextureTarget target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); - [DllImport("opengl32", EntryPoint = "glCopyTexSubImage2D")] + [DllImport("opengl32.dll", EntryPoint = "glCopyTexSubImage2D")] public static extern void CopyTexSubImage2D(Enums.TextureTarget target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); - [DllImport("opengl32", EntryPoint = "glTexSubImage1D")] + [DllImport("opengl32.dll", EntryPoint = "glTexSubImage1D")] public static extern void TexSubImage1D(Enums.TextureTarget target, GLint level, GLint xoffset, GLsizei width, Enums.PixelFormat format, Enums.PixelType type, IntPtr pixels); - [DllImport("opengl32", EntryPoint = "glTexSubImage2D")] + [DllImport("opengl32.dll", EntryPoint = "glTexSubImage2D")] public static extern void TexSubImage2D(Enums.TextureTarget target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, Enums.PixelFormat format, Enums.PixelType type, IntPtr pixels); - [DllImport("opengl32", EntryPoint = "glAreTexturesResident")] + [DllImport("opengl32.dll", EntryPoint = "glAreTexturesResident")] public static extern GLboolean AreTexturesResident_(GLsizei n, IntPtr textures, Enums.Boolean[] residences); - [DllImport("opengl32", EntryPoint = "glBindTexture")] + [DllImport("opengl32.dll", EntryPoint = "glBindTexture")] public static extern void BindTexture(Enums.TextureTarget target, GLuint texture); - [DllImport("opengl32", EntryPoint = "glDeleteTextures")] + [DllImport("opengl32.dll", EntryPoint = "glDeleteTextures")] public static extern void DeleteTextures_(GLsizei n, IntPtr textures); - [DllImport("opengl32", EntryPoint = "glGenTextures")] + [DllImport("opengl32.dll", EntryPoint = "glGenTextures")] public static extern void GenTextures(GLsizei n, [MarshalAs(UnmanagedType.LPArray)] GLuint[] textures); - [DllImport("opengl32", EntryPoint = "glIsTexture")] + [DllImport("opengl32.dll", EntryPoint = "glIsTexture")] public static extern GLboolean IsTexture(GLuint texture); - [DllImport("opengl32", EntryPoint = "glPrioritizeTextures")] + [DllImport("opengl32.dll", EntryPoint = "glPrioritizeTextures")] public static extern void PrioritizeTextures_(GLsizei n, IntPtr textures, IntPtr priorities); - [DllImport("opengl32", EntryPoint = "glIndexub")] + [DllImport("opengl32.dll", EntryPoint = "glIndexub")] public static extern void Indexub(GLubyte c); - [DllImport("opengl32", EntryPoint = "glIndexubv")] + [DllImport("opengl32.dll", EntryPoint = "glIndexubv")] public static extern void Indexubv_(IntPtr c); - [DllImport("opengl32", EntryPoint = "glPopClientAttrib")] + [DllImport("opengl32.dll", EntryPoint = "glPopClientAttrib")] public static extern void PopClientAttrib(); - [DllImport("opengl32", EntryPoint = "glPushClientAttrib")] + [DllImport("opengl32.dll", EntryPoint = "glPushClientAttrib")] public static extern void PushClientAttrib(Enums.ClientAttribMask mask); - [DllImport("opengl32", EntryPoint = "glBlendColor")] + [DllImport("opengl32.dll", EntryPoint = "glBlendColor")] public static extern void BlendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); - [DllImport("opengl32", EntryPoint = "glBlendEquation")] + [DllImport("opengl32.dll", EntryPoint = "glBlendEquation")] public static extern void BlendEquation(GLenum mode); - [DllImport("opengl32", EntryPoint = "glDrawRangeElements")] + [DllImport("opengl32.dll", EntryPoint = "glDrawRangeElements")] public static extern void DrawRangeElements_(Enums.BeginMode mode, GLuint start, GLuint end, GLsizei count, GLenum type, IntPtr indices); - [DllImport("opengl32", EntryPoint = "glColorTable")] + [DllImport("opengl32.dll", EntryPoint = "glColorTable")] public static extern void ColorTable_(GLenum target, Enums.PixelInternalFormat internalformat, GLsizei width, Enums.PixelFormat format, Enums.PixelType type, IntPtr table); - [DllImport("opengl32", EntryPoint = "glColorTableParameterfv")] + [DllImport("opengl32.dll", EntryPoint = "glColorTableParameterfv")] public static extern void ColorTableParameterfv_(GLenum target, GLenum pname, IntPtr parameters); - [DllImport("opengl32", EntryPoint = "glColorTableParameteriv")] + [DllImport("opengl32.dll", EntryPoint = "glColorTableParameteriv")] public static extern void ColorTableParameteriv_(GLenum target, GLenum pname, IntPtr parameters); - [DllImport("opengl32", EntryPoint = "glCopyColorTable")] + [DllImport("opengl32.dll", EntryPoint = "glCopyColorTable")] public static extern void CopyColorTable(GLenum target, Enums.PixelInternalFormat internalformat, GLint x, GLint y, GLsizei width); - [DllImport("opengl32", EntryPoint = "glGetColorTable")] + [DllImport("opengl32.dll", EntryPoint = "glGetColorTable")] public static extern void GetColorTable_(GLenum target, Enums.PixelFormat format, Enums.PixelType type, IntPtr table); - [DllImport("opengl32", EntryPoint = "glGetColorTableParameterfv")] + [DllImport("opengl32.dll", EntryPoint = "glGetColorTableParameterfv")] public static extern void GetColorTableParameterfv(GLenum target, GLenum pname, [MarshalAs(UnmanagedType.LPArray)] GLfloat[] parameters); - [DllImport("opengl32", EntryPoint = "glGetColorTableParameteriv")] + [DllImport("opengl32.dll", EntryPoint = "glGetColorTableParameteriv")] public static extern void GetColorTableParameteriv(GLenum target, GLenum pname, [MarshalAs(UnmanagedType.LPArray)] GLint[] parameters); - [DllImport("opengl32", EntryPoint = "glColorSubTable")] + [DllImport("opengl32.dll", EntryPoint = "glColorSubTable")] public static extern void ColorSubTable_(GLenum target, GLsizei start, GLsizei count, Enums.PixelFormat format, Enums.PixelType type, IntPtr data); - [DllImport("opengl32", EntryPoint = "glCopyColorSubTable")] + [DllImport("opengl32.dll", EntryPoint = "glCopyColorSubTable")] public static extern void CopyColorSubTable(GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); - [DllImport("opengl32", EntryPoint = "glConvolutionFilter1D")] + [DllImport("opengl32.dll", EntryPoint = "glConvolutionFilter1D")] public static extern void ConvolutionFilter1D_(GLenum target, Enums.PixelInternalFormat internalformat, GLsizei width, Enums.PixelFormat format, Enums.PixelType type, IntPtr image); - [DllImport("opengl32", EntryPoint = "glConvolutionFilter2D")] + [DllImport("opengl32.dll", EntryPoint = "glConvolutionFilter2D")] public static extern void ConvolutionFilter2D_(GLenum target, Enums.PixelInternalFormat internalformat, GLsizei width, GLsizei height, Enums.PixelFormat format, Enums.PixelType type, IntPtr image); - [DllImport("opengl32", EntryPoint = "glConvolutionParameterf")] + [DllImport("opengl32.dll", EntryPoint = "glConvolutionParameterf")] public static extern void ConvolutionParameterf(GLenum target, GLenum pname, GLfloat parameters); - [DllImport("opengl32", EntryPoint = "glConvolutionParameterfv")] + [DllImport("opengl32.dll", EntryPoint = "glConvolutionParameterfv")] public static extern void ConvolutionParameterfv_(GLenum target, GLenum pname, IntPtr parameters); - [DllImport("opengl32", EntryPoint = "glConvolutionParameteri")] + [DllImport("opengl32.dll", EntryPoint = "glConvolutionParameteri")] public static extern void ConvolutionParameteri(GLenum target, GLenum pname, GLint parameters); - [DllImport("opengl32", EntryPoint = "glConvolutionParameteriv")] + [DllImport("opengl32.dll", EntryPoint = "glConvolutionParameteriv")] public static extern void ConvolutionParameteriv_(GLenum target, GLenum pname, IntPtr parameters); - [DllImport("opengl32", EntryPoint = "glCopyConvolutionFilter1D")] + [DllImport("opengl32.dll", EntryPoint = "glCopyConvolutionFilter1D")] public static extern void CopyConvolutionFilter1D(GLenum target, Enums.PixelInternalFormat internalformat, GLint x, GLint y, GLsizei width); - [DllImport("opengl32", EntryPoint = "glCopyConvolutionFilter2D")] + [DllImport("opengl32.dll", EntryPoint = "glCopyConvolutionFilter2D")] public static extern void CopyConvolutionFilter2D(GLenum target, Enums.PixelInternalFormat internalformat, GLint x, GLint y, GLsizei width, GLsizei height); - [DllImport("opengl32", EntryPoint = "glGetConvolutionFilter")] + [DllImport("opengl32.dll", EntryPoint = "glGetConvolutionFilter")] public static extern void GetConvolutionFilter_(GLenum target, Enums.PixelFormat format, Enums.PixelType type, IntPtr image); - [DllImport("opengl32", EntryPoint = "glGetConvolutionParameterfv")] + [DllImport("opengl32.dll", EntryPoint = "glGetConvolutionParameterfv")] public static extern void GetConvolutionParameterfv(GLenum target, GLenum pname, [MarshalAs(UnmanagedType.LPArray)] GLfloat[] parameters); - [DllImport("opengl32", EntryPoint = "glGetConvolutionParameteriv")] + [DllImport("opengl32.dll", EntryPoint = "glGetConvolutionParameteriv")] public static extern void GetConvolutionParameteriv(GLenum target, GLenum pname, [MarshalAs(UnmanagedType.LPArray)] GLint[] parameters); - [DllImport("opengl32", EntryPoint = "glGetSeparableFilter")] + [DllImport("opengl32.dll", EntryPoint = "glGetSeparableFilter")] public static extern void GetSeparableFilter_(GLenum target, Enums.PixelFormat format, Enums.PixelType type, IntPtr row, IntPtr column, IntPtr span); - [DllImport("opengl32", EntryPoint = "glSeparableFilter2D")] + [DllImport("opengl32.dll", EntryPoint = "glSeparableFilter2D")] public static extern void SeparableFilter2D_(GLenum target, Enums.PixelInternalFormat internalformat, GLsizei width, GLsizei height, Enums.PixelFormat format, Enums.PixelType type, IntPtr row, IntPtr column); - [DllImport("opengl32", EntryPoint = "glGetHistogram")] + [DllImport("opengl32.dll", EntryPoint = "glGetHistogram")] public static extern void GetHistogram_(GLenum target, Enums.Boolean reset, Enums.PixelFormat format, Enums.PixelType type, IntPtr values); - [DllImport("opengl32", EntryPoint = "glGetHistogramParameterfv")] + [DllImport("opengl32.dll", EntryPoint = "glGetHistogramParameterfv")] public static extern void GetHistogramParameterfv(GLenum target, GLenum pname, [MarshalAs(UnmanagedType.LPArray)] GLfloat[] parameters); - [DllImport("opengl32", EntryPoint = "glGetHistogramParameteriv")] + [DllImport("opengl32.dll", EntryPoint = "glGetHistogramParameteriv")] public static extern void GetHistogramParameteriv(GLenum target, GLenum pname, [MarshalAs(UnmanagedType.LPArray)] GLint[] parameters); - [DllImport("opengl32", EntryPoint = "glGetMinmax")] + [DllImport("opengl32.dll", EntryPoint = "glGetMinmax")] public static extern void GetMinmax_(GLenum target, Enums.Boolean reset, Enums.PixelFormat format, Enums.PixelType type, IntPtr values); - [DllImport("opengl32", EntryPoint = "glGetMinmaxParameterfv")] + [DllImport("opengl32.dll", EntryPoint = "glGetMinmaxParameterfv")] public static extern void GetMinmaxParameterfv(GLenum target, GLenum pname, [MarshalAs(UnmanagedType.LPArray)] GLfloat[] parameters); - [DllImport("opengl32", EntryPoint = "glGetMinmaxParameteriv")] + [DllImport("opengl32.dll", EntryPoint = "glGetMinmaxParameteriv")] public static extern void GetMinmaxParameteriv(GLenum target, GLenum pname, [MarshalAs(UnmanagedType.LPArray)] GLint[] parameters); - [DllImport("opengl32", EntryPoint = "glHistogram")] + [DllImport("opengl32.dll", EntryPoint = "glHistogram")] public static extern void Histogram(GLenum target, GLsizei width, Enums.PixelInternalFormat internalformat, Enums.Boolean sink); - [DllImport("opengl32", EntryPoint = "glMinmax")] + [DllImport("opengl32.dll", EntryPoint = "glMinmax")] public static extern void Minmax(GLenum target, Enums.PixelInternalFormat internalformat, Enums.Boolean sink); - [DllImport("opengl32", EntryPoint = "glResetHistogram")] + [DllImport("opengl32.dll", EntryPoint = "glResetHistogram")] public static extern void ResetHistogram(GLenum target); - [DllImport("opengl32", EntryPoint = "glResetMinmax")] + [DllImport("opengl32.dll", EntryPoint = "glResetMinmax")] public static extern void ResetMinmax(GLenum target); - [DllImport("opengl32", EntryPoint = "glTexImage3D")] + [DllImport("opengl32.dll", EntryPoint = "glTexImage3D")] public static extern void TexImage3D(Enums.TextureTarget target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, Enums.PixelFormat format, Enums.PixelType type, IntPtr pixels); - [DllImport("opengl32", EntryPoint = "glTexSubImage3D")] + [DllImport("opengl32.dll", EntryPoint = "glTexSubImage3D")] public static extern void TexSubImage3D(Enums.TextureTarget target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, Enums.PixelFormat format, Enums.PixelType type, IntPtr pixels); - [DllImport("opengl32", EntryPoint = "glCopyTexSubImage3D")] + [DllImport("opengl32.dll", EntryPoint = "glCopyTexSubImage3D")] public static extern void CopyTexSubImage3D(Enums.TextureTarget target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); - [DllImport("opengl32", EntryPoint = "glActiveTexture")] + [DllImport("opengl32.dll", EntryPoint = "glActiveTexture")] public static extern void ActiveTexture(GLenum texture); - [DllImport("opengl32", EntryPoint = "glClientActiveTexture")] + [DllImport("opengl32.dll", EntryPoint = "glClientActiveTexture")] public static extern void ClientActiveTexture(GLenum texture); - [DllImport("opengl32", EntryPoint = "glMultiTexCoord1d")] + [DllImport("opengl32.dll", EntryPoint = "glMultiTexCoord1d")] public static extern void MultiTexCoord1d(GLenum target, GLdouble s); - [DllImport("opengl32", EntryPoint = "glMultiTexCoord1dv")] + [DllImport("opengl32.dll", EntryPoint = "glMultiTexCoord1dv")] public static extern void MultiTexCoord1dv_(GLenum target, IntPtr v); - [DllImport("opengl32", EntryPoint = "glMultiTexCoord1f")] + [DllImport("opengl32.dll", EntryPoint = "glMultiTexCoord1f")] public static extern void MultiTexCoord1f(GLenum target, GLfloat s); - [DllImport("opengl32", EntryPoint = "glMultiTexCoord1fv")] + [DllImport("opengl32.dll", EntryPoint = "glMultiTexCoord1fv")] public static extern void MultiTexCoord1fv_(GLenum target, IntPtr v); - [DllImport("opengl32", EntryPoint = "glMultiTexCoord1i")] + [DllImport("opengl32.dll", EntryPoint = "glMultiTexCoord1i")] public static extern void MultiTexCoord1i(GLenum target, GLint s); - [DllImport("opengl32", EntryPoint = "glMultiTexCoord1iv")] + [DllImport("opengl32.dll", EntryPoint = "glMultiTexCoord1iv")] public static extern void MultiTexCoord1iv_(GLenum target, IntPtr v); - [DllImport("opengl32", EntryPoint = "glMultiTexCoord1s")] + [DllImport("opengl32.dll", EntryPoint = "glMultiTexCoord1s")] public static extern void MultiTexCoord1s(GLenum target, GLshort s); - [DllImport("opengl32", EntryPoint = "glMultiTexCoord1sv")] + [DllImport("opengl32.dll", EntryPoint = "glMultiTexCoord1sv")] public static extern void MultiTexCoord1sv_(GLenum target, IntPtr v); - [DllImport("opengl32", EntryPoint = "glMultiTexCoord2d")] + [DllImport("opengl32.dll", EntryPoint = "glMultiTexCoord2d")] public static extern void MultiTexCoord2d(GLenum target, GLdouble s, GLdouble t); - [DllImport("opengl32", EntryPoint = "glMultiTexCoord2dv")] + [DllImport("opengl32.dll", EntryPoint = "glMultiTexCoord2dv")] public static extern void MultiTexCoord2dv_(GLenum target, IntPtr v); - [DllImport("opengl32", EntryPoint = "glMultiTexCoord2f")] + [DllImport("opengl32.dll", EntryPoint = "glMultiTexCoord2f")] public static extern void MultiTexCoord2f(GLenum target, GLfloat s, GLfloat t); - [DllImport("opengl32", EntryPoint = "glMultiTexCoord2fv")] + [DllImport("opengl32.dll", EntryPoint = "glMultiTexCoord2fv")] public static extern void MultiTexCoord2fv_(GLenum target, IntPtr v); - [DllImport("opengl32", EntryPoint = "glMultiTexCoord2i")] + [DllImport("opengl32.dll", EntryPoint = "glMultiTexCoord2i")] public static extern void MultiTexCoord2i(GLenum target, GLint s, GLint t); - [DllImport("opengl32", EntryPoint = "glMultiTexCoord2iv")] + [DllImport("opengl32.dll", EntryPoint = "glMultiTexCoord2iv")] public static extern void MultiTexCoord2iv_(GLenum target, IntPtr v); - [DllImport("opengl32", EntryPoint = "glMultiTexCoord2s")] + [DllImport("opengl32.dll", EntryPoint = "glMultiTexCoord2s")] public static extern void MultiTexCoord2s(GLenum target, GLshort s, GLshort t); - [DllImport("opengl32", EntryPoint = "glMultiTexCoord2sv")] + [DllImport("opengl32.dll", EntryPoint = "glMultiTexCoord2sv")] public static extern void MultiTexCoord2sv_(GLenum target, IntPtr v); - [DllImport("opengl32", EntryPoint = "glMultiTexCoord3d")] + [DllImport("opengl32.dll", EntryPoint = "glMultiTexCoord3d")] public static extern void MultiTexCoord3d(GLenum target, GLdouble s, GLdouble t, GLdouble r); - [DllImport("opengl32", EntryPoint = "glMultiTexCoord3dv")] + [DllImport("opengl32.dll", EntryPoint = "glMultiTexCoord3dv")] public static extern void MultiTexCoord3dv_(GLenum target, IntPtr v); - [DllImport("opengl32", EntryPoint = "glMultiTexCoord3f")] + [DllImport("opengl32.dll", EntryPoint = "glMultiTexCoord3f")] public static extern void MultiTexCoord3f(GLenum target, GLfloat s, GLfloat t, GLfloat r); - [DllImport("opengl32", EntryPoint = "glMultiTexCoord3fv")] + [DllImport("opengl32.dll", EntryPoint = "glMultiTexCoord3fv")] public static extern void MultiTexCoord3fv_(GLenum target, IntPtr v); - [DllImport("opengl32", EntryPoint = "glMultiTexCoord3i")] + [DllImport("opengl32.dll", EntryPoint = "glMultiTexCoord3i")] public static extern void MultiTexCoord3i(GLenum target, GLint s, GLint t, GLint r); - [DllImport("opengl32", EntryPoint = "glMultiTexCoord3iv")] + [DllImport("opengl32.dll", EntryPoint = "glMultiTexCoord3iv")] public static extern void MultiTexCoord3iv_(GLenum target, IntPtr v); - [DllImport("opengl32", EntryPoint = "glMultiTexCoord3s")] + [DllImport("opengl32.dll", EntryPoint = "glMultiTexCoord3s")] public static extern void MultiTexCoord3s(GLenum target, GLshort s, GLshort t, GLshort r); - [DllImport("opengl32", EntryPoint = "glMultiTexCoord3sv")] + [DllImport("opengl32.dll", EntryPoint = "glMultiTexCoord3sv")] public static extern void MultiTexCoord3sv_(GLenum target, IntPtr v); - [DllImport("opengl32", EntryPoint = "glMultiTexCoord4d")] + [DllImport("opengl32.dll", EntryPoint = "glMultiTexCoord4d")] public static extern void MultiTexCoord4d(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); - [DllImport("opengl32", EntryPoint = "glMultiTexCoord4dv")] + [DllImport("opengl32.dll", EntryPoint = "glMultiTexCoord4dv")] public static extern void MultiTexCoord4dv_(GLenum target, IntPtr v); - [DllImport("opengl32", EntryPoint = "glMultiTexCoord4f")] + [DllImport("opengl32.dll", EntryPoint = "glMultiTexCoord4f")] public static extern void MultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); - [DllImport("opengl32", EntryPoint = "glMultiTexCoord4fv")] + [DllImport("opengl32.dll", EntryPoint = "glMultiTexCoord4fv")] public static extern void MultiTexCoord4fv_(GLenum target, IntPtr v); - [DllImport("opengl32", EntryPoint = "glMultiTexCoord4i")] + [DllImport("opengl32.dll", EntryPoint = "glMultiTexCoord4i")] public static extern void MultiTexCoord4i(GLenum target, GLint s, GLint t, GLint r, GLint q); - [DllImport("opengl32", EntryPoint = "glMultiTexCoord4iv")] + [DllImport("opengl32.dll", EntryPoint = "glMultiTexCoord4iv")] public static extern void MultiTexCoord4iv_(GLenum target, IntPtr v); - [DllImport("opengl32", EntryPoint = "glMultiTexCoord4s")] + [DllImport("opengl32.dll", EntryPoint = "glMultiTexCoord4s")] public static extern void MultiTexCoord4s(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); - [DllImport("opengl32", EntryPoint = "glMultiTexCoord4sv")] + [DllImport("opengl32.dll", EntryPoint = "glMultiTexCoord4sv")] public static extern void MultiTexCoord4sv_(GLenum target, IntPtr v); - [DllImport("opengl32", EntryPoint = "glLoadTransposeMatrixf")] + [DllImport("opengl32.dll", EntryPoint = "glLoadTransposeMatrixf")] public static extern void LoadTransposeMatrixf_(IntPtr m); - [DllImport("opengl32", EntryPoint = "glLoadTransposeMatrixd")] + [DllImport("opengl32.dll", EntryPoint = "glLoadTransposeMatrixd")] public static extern void LoadTransposeMatrixd_(IntPtr m); - [DllImport("opengl32", EntryPoint = "glMultTransposeMatrixf")] + [DllImport("opengl32.dll", EntryPoint = "glMultTransposeMatrixf")] public static extern void MultTransposeMatrixf_(IntPtr m); - [DllImport("opengl32", EntryPoint = "glMultTransposeMatrixd")] + [DllImport("opengl32.dll", EntryPoint = "glMultTransposeMatrixd")] public static extern void MultTransposeMatrixd_(IntPtr m); - [DllImport("opengl32", EntryPoint = "glSampleCoverage")] + [DllImport("opengl32.dll", EntryPoint = "glSampleCoverage")] public static extern void SampleCoverage(GLclampf value, Enums.Boolean invert); - [DllImport("opengl32", EntryPoint = "glCompressedTexImage3D")] + [DllImport("opengl32.dll", EntryPoint = "glCompressedTexImage3D")] public static extern void CompressedTexImage3D(Enums.TextureTarget target, GLint level, Enums.PixelInternalFormat internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, IntPtr data); - [DllImport("opengl32", EntryPoint = "glCompressedTexImage2D")] + [DllImport("opengl32.dll", EntryPoint = "glCompressedTexImage2D")] public static extern void CompressedTexImage2D(Enums.TextureTarget target, GLint level, Enums.PixelInternalFormat internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, IntPtr data); - [DllImport("opengl32", EntryPoint = "glCompressedTexImage1D")] + [DllImport("opengl32.dll", EntryPoint = "glCompressedTexImage1D")] public static extern void CompressedTexImage1D(Enums.TextureTarget target, GLint level, Enums.PixelInternalFormat internalformat, GLsizei width, GLint border, GLsizei imageSize, IntPtr data); - [DllImport("opengl32", EntryPoint = "glCompressedTexSubImage3D")] + [DllImport("opengl32.dll", EntryPoint = "glCompressedTexSubImage3D")] public static extern void CompressedTexSubImage3D(Enums.TextureTarget target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, Enums.PixelFormat format, GLsizei imageSize, IntPtr data); - [DllImport("opengl32", EntryPoint = "glCompressedTexSubImage2D")] + [DllImport("opengl32.dll", EntryPoint = "glCompressedTexSubImage2D")] public static extern void CompressedTexSubImage2D(Enums.TextureTarget target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, Enums.PixelFormat format, GLsizei imageSize, IntPtr data); - [DllImport("opengl32", EntryPoint = "glCompressedTexSubImage1D")] + [DllImport("opengl32.dll", EntryPoint = "glCompressedTexSubImage1D")] public static extern void CompressedTexSubImage1D(Enums.TextureTarget target, GLint level, GLint xoffset, GLsizei width, Enums.PixelFormat format, GLsizei imageSize, IntPtr data); - [DllImport("opengl32", EntryPoint = "glGetCompressedTexImage")] + [DllImport("opengl32.dll", EntryPoint = "glGetCompressedTexImage")] public static extern void GetCompressedTexImage(Enums.TextureTarget target, GLint level, IntPtr img); - [DllImport("opengl32", EntryPoint = "glBlendFuncSeparate")] + [DllImport("opengl32.dll", EntryPoint = "glBlendFuncSeparate")] public static extern void BlendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); - [DllImport("opengl32", EntryPoint = "glFogCoordf")] + [DllImport("opengl32.dll", EntryPoint = "glFogCoordf")] public static extern void FogCoordf(GLfloat coord); - [DllImport("opengl32", EntryPoint = "glFogCoordfv")] + [DllImport("opengl32.dll", EntryPoint = "glFogCoordfv")] public static extern void FogCoordfv_(IntPtr coord); - [DllImport("opengl32", EntryPoint = "glFogCoordd")] + [DllImport("opengl32.dll", EntryPoint = "glFogCoordd")] public static extern void FogCoordd(GLdouble coord); - [DllImport("opengl32", EntryPoint = "glFogCoorddv")] + [DllImport("opengl32.dll", EntryPoint = "glFogCoorddv")] public static extern void FogCoorddv_(IntPtr coord); - [DllImport("opengl32", EntryPoint = "glFogCoordPointer")] + [DllImport("opengl32.dll", EntryPoint = "glFogCoordPointer")] public static extern void FogCoordPointer_(GLenum type, GLsizei stride, IntPtr pointer); - [DllImport("opengl32", EntryPoint = "glMultiDrawArrays")] + [DllImport("opengl32.dll", EntryPoint = "glMultiDrawArrays")] public static extern void MultiDrawArrays(Enums.BeginMode mode, [MarshalAs(UnmanagedType.LPArray)] GLint[] first, [MarshalAs(UnmanagedType.LPArray)] GLsizei[] count, GLsizei primcount); - [DllImport("opengl32", EntryPoint = "glMultiDrawElements")] + [DllImport("opengl32.dll", EntryPoint = "glMultiDrawElements")] public static extern void MultiDrawElements_(Enums.BeginMode mode, IntPtr count, GLenum type, IntPtr indices, GLsizei primcount); - [DllImport("opengl32", EntryPoint = "glPointParameterf")] + [DllImport("opengl32.dll", EntryPoint = "glPointParameterf")] public static extern void PointParameterf(GLenum pname, GLfloat param); - [DllImport("opengl32", EntryPoint = "glPointParameterfv")] + [DllImport("opengl32.dll", EntryPoint = "glPointParameterfv")] public static extern void PointParameterfv_(GLenum pname, IntPtr parameters); - [DllImport("opengl32", EntryPoint = "glPointParameteri")] + [DllImport("opengl32.dll", EntryPoint = "glPointParameteri")] public static extern void PointParameteri(GLenum pname, GLint param); - [DllImport("opengl32", EntryPoint = "glPointParameteriv")] + [DllImport("opengl32.dll", EntryPoint = "glPointParameteriv")] public static extern void PointParameteriv_(GLenum pname, IntPtr parameters); - [DllImport("opengl32", EntryPoint = "glSecondaryColor3b")] + [DllImport("opengl32.dll", EntryPoint = "glSecondaryColor3b")] public static extern void SecondaryColor3b(GLbyte red, GLbyte green, GLbyte blue); - [DllImport("opengl32", EntryPoint = "glSecondaryColor3bv")] + [DllImport("opengl32.dll", EntryPoint = "glSecondaryColor3bv")] public static extern void SecondaryColor3bv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glSecondaryColor3d")] + [DllImport("opengl32.dll", EntryPoint = "glSecondaryColor3d")] public static extern void SecondaryColor3d(GLdouble red, GLdouble green, GLdouble blue); - [DllImport("opengl32", EntryPoint = "glSecondaryColor3dv")] + [DllImport("opengl32.dll", EntryPoint = "glSecondaryColor3dv")] public static extern void SecondaryColor3dv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glSecondaryColor3f")] + [DllImport("opengl32.dll", EntryPoint = "glSecondaryColor3f")] public static extern void SecondaryColor3f(GLfloat red, GLfloat green, GLfloat blue); - [DllImport("opengl32", EntryPoint = "glSecondaryColor3fv")] + [DllImport("opengl32.dll", EntryPoint = "glSecondaryColor3fv")] public static extern void SecondaryColor3fv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glSecondaryColor3i")] + [DllImport("opengl32.dll", EntryPoint = "glSecondaryColor3i")] public static extern void SecondaryColor3i(GLint red, GLint green, GLint blue); - [DllImport("opengl32", EntryPoint = "glSecondaryColor3iv")] + [DllImport("opengl32.dll", EntryPoint = "glSecondaryColor3iv")] public static extern void SecondaryColor3iv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glSecondaryColor3s")] + [DllImport("opengl32.dll", EntryPoint = "glSecondaryColor3s")] public static extern void SecondaryColor3s(GLshort red, GLshort green, GLshort blue); - [DllImport("opengl32", EntryPoint = "glSecondaryColor3sv")] + [DllImport("opengl32.dll", EntryPoint = "glSecondaryColor3sv")] public static extern void SecondaryColor3sv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glSecondaryColor3ub")] + [DllImport("opengl32.dll", EntryPoint = "glSecondaryColor3ub")] public static extern void SecondaryColor3ub(GLubyte red, GLubyte green, GLubyte blue); - [DllImport("opengl32", EntryPoint = "glSecondaryColor3ubv")] + [DllImport("opengl32.dll", EntryPoint = "glSecondaryColor3ubv")] public static extern void SecondaryColor3ubv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glSecondaryColor3ui")] + [DllImport("opengl32.dll", EntryPoint = "glSecondaryColor3ui")] public static extern void SecondaryColor3ui(GLuint red, GLuint green, GLuint blue); - [DllImport("opengl32", EntryPoint = "glSecondaryColor3uiv")] + [DllImport("opengl32.dll", EntryPoint = "glSecondaryColor3uiv")] public static extern void SecondaryColor3uiv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glSecondaryColor3us")] + [DllImport("opengl32.dll", EntryPoint = "glSecondaryColor3us")] public static extern void SecondaryColor3us(GLushort red, GLushort green, GLushort blue); - [DllImport("opengl32", EntryPoint = "glSecondaryColor3usv")] + [DllImport("opengl32.dll", EntryPoint = "glSecondaryColor3usv")] public static extern void SecondaryColor3usv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glSecondaryColorPointer")] + [DllImport("opengl32.dll", EntryPoint = "glSecondaryColorPointer")] public static extern void SecondaryColorPointer_(GLint size, Enums.ColorPointerType type, GLsizei stride, IntPtr pointer); - [DllImport("opengl32", EntryPoint = "glWindowPos2d")] + [DllImport("opengl32.dll", EntryPoint = "glWindowPos2d")] public static extern void WindowPos2d(GLdouble x, GLdouble y); - [DllImport("opengl32", EntryPoint = "glWindowPos2dv")] + [DllImport("opengl32.dll", EntryPoint = "glWindowPos2dv")] public static extern void WindowPos2dv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glWindowPos2f")] + [DllImport("opengl32.dll", EntryPoint = "glWindowPos2f")] public static extern void WindowPos2f(GLfloat x, GLfloat y); - [DllImport("opengl32", EntryPoint = "glWindowPos2fv")] + [DllImport("opengl32.dll", EntryPoint = "glWindowPos2fv")] public static extern void WindowPos2fv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glWindowPos2i")] + [DllImport("opengl32.dll", EntryPoint = "glWindowPos2i")] public static extern void WindowPos2i(GLint x, GLint y); - [DllImport("opengl32", EntryPoint = "glWindowPos2iv")] + [DllImport("opengl32.dll", EntryPoint = "glWindowPos2iv")] public static extern void WindowPos2iv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glWindowPos2s")] + [DllImport("opengl32.dll", EntryPoint = "glWindowPos2s")] public static extern void WindowPos2s(GLshort x, GLshort y); - [DllImport("opengl32", EntryPoint = "glWindowPos2sv")] + [DllImport("opengl32.dll", EntryPoint = "glWindowPos2sv")] public static extern void WindowPos2sv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glWindowPos3d")] + [DllImport("opengl32.dll", EntryPoint = "glWindowPos3d")] public static extern void WindowPos3d(GLdouble x, GLdouble y, GLdouble z); - [DllImport("opengl32", EntryPoint = "glWindowPos3dv")] + [DllImport("opengl32.dll", EntryPoint = "glWindowPos3dv")] public static extern void WindowPos3dv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glWindowPos3f")] + [DllImport("opengl32.dll", EntryPoint = "glWindowPos3f")] public static extern void WindowPos3f(GLfloat x, GLfloat y, GLfloat z); - [DllImport("opengl32", EntryPoint = "glWindowPos3fv")] + [DllImport("opengl32.dll", EntryPoint = "glWindowPos3fv")] public static extern void WindowPos3fv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glWindowPos3i")] + [DllImport("opengl32.dll", EntryPoint = "glWindowPos3i")] public static extern void WindowPos3i(GLint x, GLint y, GLint z); - [DllImport("opengl32", EntryPoint = "glWindowPos3iv")] + [DllImport("opengl32.dll", EntryPoint = "glWindowPos3iv")] public static extern void WindowPos3iv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glWindowPos3s")] + [DllImport("opengl32.dll", EntryPoint = "glWindowPos3s")] public static extern void WindowPos3s(GLshort x, GLshort y, GLshort z); - [DllImport("opengl32", EntryPoint = "glWindowPos3sv")] + [DllImport("opengl32.dll", EntryPoint = "glWindowPos3sv")] public static extern void WindowPos3sv_(IntPtr v); - [DllImport("opengl32", EntryPoint = "glGenQueries")] + [DllImport("opengl32.dll", EntryPoint = "glGenQueries")] public static extern void GenQueries(GLsizei n, [MarshalAs(UnmanagedType.LPArray)] GLuint[] ids); - [DllImport("opengl32", EntryPoint = "glDeleteQueries")] + [DllImport("opengl32.dll", EntryPoint = "glDeleteQueries")] public static extern void DeleteQueries_(GLsizei n, IntPtr ids); - [DllImport("opengl32", EntryPoint = "glIsQuery")] + [DllImport("opengl32.dll", EntryPoint = "glIsQuery")] public static extern GLboolean IsQuery(GLuint id); - [DllImport("opengl32", EntryPoint = "glBeginQuery")] + [DllImport("opengl32.dll", EntryPoint = "glBeginQuery")] public static extern void BeginQuery(Enums.VERSION_1_5 target, GLuint id); - [DllImport("opengl32", EntryPoint = "glEndQuery")] + [DllImport("opengl32.dll", EntryPoint = "glEndQuery")] public static extern void EndQuery(Enums.VERSION_1_5 target); - [DllImport("opengl32", EntryPoint = "glGetQueryiv")] + [DllImport("opengl32.dll", EntryPoint = "glGetQueryiv")] public static extern void GetQueryiv(Enums.VERSION_1_5 target, Enums.VERSION_1_5 pname, [MarshalAs(UnmanagedType.LPArray)] GLint[] parameters); - [DllImport("opengl32", EntryPoint = "glGetQueryObjectiv")] + [DllImport("opengl32.dll", EntryPoint = "glGetQueryObjectiv")] public static extern void GetQueryObjectiv(GLuint id, Enums.VERSION_1_5 pname, [MarshalAs(UnmanagedType.LPArray)] GLint[] parameters); - [DllImport("opengl32", EntryPoint = "glGetQueryObjectuiv")] + [DllImport("opengl32.dll", EntryPoint = "glGetQueryObjectuiv")] public static extern void GetQueryObjectuiv(GLuint id, Enums.VERSION_1_5 pname, [MarshalAs(UnmanagedType.LPArray)] GLuint[] parameters); - [DllImport("opengl32", EntryPoint = "glBindBuffer")] + [DllImport("opengl32.dll", EntryPoint = "glBindBuffer")] public static extern void BindBuffer(GLenum target, GLuint buffer); - [DllImport("opengl32", EntryPoint = "glDeleteBuffers")] + [DllImport("opengl32.dll", EntryPoint = "glDeleteBuffers")] public static extern void DeleteBuffers_(GLsizei n, IntPtr buffers); - [DllImport("opengl32", EntryPoint = "glGenBuffers")] + [DllImport("opengl32.dll", EntryPoint = "glGenBuffers")] public static extern void GenBuffers(GLsizei n, [MarshalAs(UnmanagedType.LPArray)] GLuint[] buffers); - [DllImport("opengl32", EntryPoint = "glIsBuffer")] + [DllImport("opengl32.dll", EntryPoint = "glIsBuffer")] public static extern GLboolean IsBuffer(GLuint buffer); - [DllImport("opengl32", EntryPoint = "glBufferData")] + [DllImport("opengl32.dll", EntryPoint = "glBufferData")] public static extern void BufferData_(GLenum target, GLsizeiptr size, IntPtr data, GLenum usage); - [DllImport("opengl32", EntryPoint = "glBufferSubData")] + [DllImport("opengl32.dll", EntryPoint = "glBufferSubData")] public static extern void BufferSubData_(GLenum target, GLintptr offset, GLsizeiptr size, IntPtr data); - [DllImport("opengl32", EntryPoint = "glGetBufferSubData")] + [DllImport("opengl32.dll", EntryPoint = "glGetBufferSubData")] public static extern void GetBufferSubData_(GLenum target, GLintptr offset, GLsizeiptr size, IntPtr data); - [DllImport("opengl32", EntryPoint = "glMapBuffer")] + [DllImport("opengl32.dll", EntryPoint = "glMapBuffer")] public static extern IntPtr MapBuffer(GLenum target, GLenum access); - [DllImport("opengl32", EntryPoint = "glUnmapBuffer")] + [DllImport("opengl32.dll", EntryPoint = "glUnmapBuffer")] public static extern GLboolean UnmapBuffer(GLenum target); - [DllImport("opengl32", EntryPoint = "glGetBufferParameteriv")] + [DllImport("opengl32.dll", EntryPoint = "glGetBufferParameteriv")] public static extern void GetBufferParameteriv(GLenum target, GLenum pname, [MarshalAs(UnmanagedType.LPArray)] GLint[] parameters); - [DllImport("opengl32", EntryPoint = "glGetBufferPointerv")] + [DllImport("opengl32.dll", EntryPoint = "glGetBufferPointerv")] public static extern void GetBufferPointerv(GLenum target, GLenum pname, [MarshalAs(UnmanagedType.LPArray)] IntPtr[] parameters); - [DllImport("opengl32", EntryPoint = "glBlendEquationSeparate")] + [DllImport("opengl32.dll", EntryPoint = "glBlendEquationSeparate")] public static extern void BlendEquationSeparate(Enums.BlendEquationModeEXT modeRGB, Enums.BlendEquationModeEXT modeAlpha); - [DllImport("opengl32", EntryPoint = "glDrawBuffers")] + [DllImport("opengl32.dll", EntryPoint = "glDrawBuffers")] public static extern void DrawBuffers_(GLsizei n, IntPtr bufs); - [DllImport("opengl32", EntryPoint = "glStencilOpSeparate")] + [DllImport("opengl32.dll", EntryPoint = "glStencilOpSeparate")] public static extern void StencilOpSeparate(GLenum face, Enums.StencilOp sfail, Enums.StencilOp dpfail, Enums.StencilOp dppass); - [DllImport("opengl32", EntryPoint = "glStencilFuncSeparate")] + [DllImport("opengl32.dll", EntryPoint = "glStencilFuncSeparate")] public static extern void StencilFuncSeparate(Enums.StencilFunction frontfunc, Enums.StencilFunction backfunc, GLint reference, GLuint mask); - [DllImport("opengl32", EntryPoint = "glStencilMaskSeparate")] + [DllImport("opengl32.dll", EntryPoint = "glStencilMaskSeparate")] public static extern void StencilMaskSeparate(GLenum face, GLuint mask); - [DllImport("opengl32", EntryPoint = "glAttachShader")] + [DllImport("opengl32.dll", EntryPoint = "glAttachShader")] public static extern void AttachShader(GLuint program, GLuint shader); - [DllImport("opengl32", EntryPoint = "glBindAttribLocation")] + [DllImport("opengl32.dll", EntryPoint = "glBindAttribLocation")] public static extern void BindAttribLocation_(GLuint program, GLuint index, IntPtr name); - [DllImport("opengl32", EntryPoint = "glCompileShader")] + [DllImport("opengl32.dll", EntryPoint = "glCompileShader")] public static extern void CompileShader(GLuint shader); - [DllImport("opengl32", EntryPoint = "glCreateProgram")] + [DllImport("opengl32.dll", EntryPoint = "glCreateProgram")] public static extern GLuint CreateProgram(); - [DllImport("opengl32", EntryPoint = "glCreateShader")] + [DllImport("opengl32.dll", EntryPoint = "glCreateShader")] public static extern GLuint CreateShader(Enums.VERSION_2_0 type); - [DllImport("opengl32", EntryPoint = "glDeleteProgram")] + [DllImport("opengl32.dll", EntryPoint = "glDeleteProgram")] public static extern void DeleteProgram(GLuint program); - [DllImport("opengl32", EntryPoint = "glDeleteShader")] + [DllImport("opengl32.dll", EntryPoint = "glDeleteShader")] public static extern void DeleteShader(GLuint shader); - [DllImport("opengl32", EntryPoint = "glDetachShader")] + [DllImport("opengl32.dll", EntryPoint = "glDetachShader")] public static extern void DetachShader(GLuint program, GLuint shader); - [DllImport("opengl32", EntryPoint = "glDisableVertexAttribArray")] + [DllImport("opengl32.dll", EntryPoint = "glDisableVertexAttribArray")] public static extern void DisableVertexAttribArray(GLuint index); - [DllImport("opengl32", EntryPoint = "glEnableVertexAttribArray")] + [DllImport("opengl32.dll", EntryPoint = "glEnableVertexAttribArray")] public static extern void EnableVertexAttribArray(GLuint index); - [DllImport("opengl32", EntryPoint = "glGetActiveAttrib")] + [DllImport("opengl32.dll", EntryPoint = "glGetActiveAttrib")] public static extern void GetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, [MarshalAs(UnmanagedType.LPArray)] GLsizei[] length, [MarshalAs(UnmanagedType.LPArray)] GLint[] size, [MarshalAs(UnmanagedType.LPArray)] Enums.VERSION_2_0[] type, [MarshalAs(UnmanagedType.LPArray)] GLchar[] name); - [DllImport("opengl32", EntryPoint = "glGetActiveUniform")] + [DllImport("opengl32.dll", EntryPoint = "glGetActiveUniform")] public static extern void GetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, [MarshalAs(UnmanagedType.LPArray)] GLsizei[] length, [MarshalAs(UnmanagedType.LPArray)] GLint[] size, [MarshalAs(UnmanagedType.LPArray)] Enums.VERSION_2_0[] type, [MarshalAs(UnmanagedType.LPArray)] GLchar[] name); - [DllImport("opengl32", EntryPoint = "glGetAttachedShaders")] + [DllImport("opengl32.dll", EntryPoint = "glGetAttachedShaders")] public static extern void GetAttachedShaders(GLuint program, GLsizei maxCount, [MarshalAs(UnmanagedType.LPArray)] GLsizei[] count, [MarshalAs(UnmanagedType.LPArray)] GLuint[] obj); - [DllImport("opengl32", EntryPoint = "glGetAttribLocation")] + [DllImport("opengl32.dll", EntryPoint = "glGetAttribLocation")] public static extern GLint GetAttribLocation_(GLuint program, IntPtr name); - [DllImport("opengl32", EntryPoint = "glGetProgramiv")] + [DllImport("opengl32.dll", EntryPoint = "glGetProgramiv")] public static extern void GetProgramiv(GLuint program, Enums.VERSION_2_0 pname, [MarshalAs(UnmanagedType.LPArray)] GLint[] parameters); - [DllImport("opengl32", EntryPoint = "glGetProgramInfoLog")] + [DllImport("opengl32.dll", EntryPoint = "glGetProgramInfoLog")] public static extern void GetProgramInfoLog(GLuint program, GLsizei bufSize, [MarshalAs(UnmanagedType.LPArray)] GLsizei[] length, [MarshalAs(UnmanagedType.LPArray)] GLchar[] infoLog); - [DllImport("opengl32", EntryPoint = "glGetShaderiv")] + [DllImport("opengl32.dll", EntryPoint = "glGetShaderiv")] public static extern void GetShaderiv(GLuint shader, Enums.VERSION_2_0 pname, [MarshalAs(UnmanagedType.LPArray)] GLint[] parameters); - [DllImport("opengl32", EntryPoint = "glGetShaderInfoLog")] + [DllImport("opengl32.dll", EntryPoint = "glGetShaderInfoLog")] public static extern void GetShaderInfoLog(GLuint shader, GLsizei bufSize, [MarshalAs(UnmanagedType.LPArray)] GLsizei[] length, [MarshalAs(UnmanagedType.LPArray)] GLchar[] infoLog); - [DllImport("opengl32", EntryPoint = "glGetShaderSource")] + [DllImport("opengl32.dll", EntryPoint = "glGetShaderSource")] public static extern void GetShaderSource(GLuint shader, GLsizei bufSize, [MarshalAs(UnmanagedType.LPArray)] GLsizei[] length, [MarshalAs(UnmanagedType.LPArray)] GLchar[] source); - [DllImport("opengl32", EntryPoint = "glGetUniformLocation")] + [DllImport("opengl32.dll", EntryPoint = "glGetUniformLocation")] public static extern GLint GetUniformLocation_(GLuint program, IntPtr name); - [DllImport("opengl32", EntryPoint = "glGetUniformfv")] + [DllImport("opengl32.dll", EntryPoint = "glGetUniformfv")] public static extern void GetUniformfv(GLuint program, GLint location, [MarshalAs(UnmanagedType.LPArray)] GLfloat[] parameters); - [DllImport("opengl32", EntryPoint = "glGetUniformiv")] + [DllImport("opengl32.dll", EntryPoint = "glGetUniformiv")] public static extern void GetUniformiv(GLuint program, GLint location, [MarshalAs(UnmanagedType.LPArray)] GLint[] parameters); - [DllImport("opengl32", EntryPoint = "glGetVertexAttribdv")] + [DllImport("opengl32.dll", EntryPoint = "glGetVertexAttribdv")] public static extern void GetVertexAttribdv(GLuint index, GLenum pname, [MarshalAs(UnmanagedType.LPArray)] GLdouble[] parameters); - [DllImport("opengl32", EntryPoint = "glGetVertexAttribfv")] + [DllImport("opengl32.dll", EntryPoint = "glGetVertexAttribfv")] public static extern void GetVertexAttribfv(GLuint index, GLenum pname, [MarshalAs(UnmanagedType.LPArray)] GLfloat[] parameters); - [DllImport("opengl32", EntryPoint = "glGetVertexAttribiv")] + [DllImport("opengl32.dll", EntryPoint = "glGetVertexAttribiv")] public static extern void GetVertexAttribiv(GLuint index, GLenum pname, [MarshalAs(UnmanagedType.LPArray)] GLint[] parameters); - [DllImport("opengl32", EntryPoint = "glGetVertexAttribPointerv")] + [DllImport("opengl32.dll", EntryPoint = "glGetVertexAttribPointerv")] public static extern void GetVertexAttribPointerv(GLuint index, GLenum pname, [MarshalAs(UnmanagedType.LPArray)] IntPtr[] pointer); - [DllImport("opengl32", EntryPoint = "glIsProgram")] + [DllImport("opengl32.dll", EntryPoint = "glIsProgram")] public static extern GLboolean IsProgram(GLuint program); - [DllImport("opengl32", EntryPoint = "glIsShader")] + [DllImport("opengl32.dll", EntryPoint = "glIsShader")] public static extern GLboolean IsShader(GLuint shader); - [DllImport("opengl32", EntryPoint = "glLinkProgram")] + [DllImport("opengl32.dll", EntryPoint = "glLinkProgram")] public static extern void LinkProgram(GLuint program); - [DllImport("opengl32", EntryPoint = "glShaderSource")] + [DllImport("opengl32.dll", EntryPoint = "glShaderSource")] public static extern void ShaderSource_(GLuint shader, GLsizei count, string[] @string, IntPtr length); - [DllImport("opengl32", EntryPoint = "glUseProgram")] + [DllImport("opengl32.dll", EntryPoint = "glUseProgram")] public static extern void UseProgram(GLuint program); - [DllImport("opengl32", EntryPoint = "glUniform1f")] + [DllImport("opengl32.dll", EntryPoint = "glUniform1f")] public static extern void Uniform1f(GLint location, GLfloat v0); - [DllImport("opengl32", EntryPoint = "glUniform2f")] + [DllImport("opengl32.dll", EntryPoint = "glUniform2f")] public static extern void Uniform2f(GLint location, GLfloat v0, GLfloat v1); - [DllImport("opengl32", EntryPoint = "glUniform3f")] + [DllImport("opengl32.dll", EntryPoint = "glUniform3f")] public static extern void Uniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2); - [DllImport("opengl32", EntryPoint = "glUniform4f")] + [DllImport("opengl32.dll", EntryPoint = "glUniform4f")] public static extern void Uniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); - [DllImport("opengl32", EntryPoint = "glUniform1i")] + [DllImport("opengl32.dll", EntryPoint = "glUniform1i")] public static extern void Uniform1i(GLint location, GLint v0); - [DllImport("opengl32", EntryPoint = "glUniform2i")] + [DllImport("opengl32.dll", EntryPoint = "glUniform2i")] public static extern void Uniform2i(GLint location, GLint v0, GLint v1); - [DllImport("opengl32", EntryPoint = "glUniform3i")] + [DllImport("opengl32.dll", EntryPoint = "glUniform3i")] public static extern void Uniform3i(GLint location, GLint v0, GLint v1, GLint v2); - [DllImport("opengl32", EntryPoint = "glUniform4i")] + [DllImport("opengl32.dll", EntryPoint = "glUniform4i")] public static extern void Uniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3); - [DllImport("opengl32", EntryPoint = "glUniform1fv")] + [DllImport("opengl32.dll", EntryPoint = "glUniform1fv")] public static extern void Uniform1fv_(GLint location, GLsizei count, IntPtr value); - [DllImport("opengl32", EntryPoint = "glUniform2fv")] + [DllImport("opengl32.dll", EntryPoint = "glUniform2fv")] public static extern void Uniform2fv_(GLint location, GLsizei count, IntPtr value); - [DllImport("opengl32", EntryPoint = "glUniform3fv")] + [DllImport("opengl32.dll", EntryPoint = "glUniform3fv")] public static extern void Uniform3fv_(GLint location, GLsizei count, IntPtr value); - [DllImport("opengl32", EntryPoint = "glUniform4fv")] + [DllImport("opengl32.dll", EntryPoint = "glUniform4fv")] public static extern void Uniform4fv_(GLint location, GLsizei count, IntPtr value); - [DllImport("opengl32", EntryPoint = "glUniform1iv")] + [DllImport("opengl32.dll", EntryPoint = "glUniform1iv")] public static extern void Uniform1iv_(GLint location, GLsizei count, IntPtr value); - [DllImport("opengl32", EntryPoint = "glUniform2iv")] + [DllImport("opengl32.dll", EntryPoint = "glUniform2iv")] public static extern void Uniform2iv_(GLint location, GLsizei count, IntPtr value); - [DllImport("opengl32", EntryPoint = "glUniform3iv")] + [DllImport("opengl32.dll", EntryPoint = "glUniform3iv")] public static extern void Uniform3iv_(GLint location, GLsizei count, IntPtr value); - [DllImport("opengl32", EntryPoint = "glUniform4iv")] + [DllImport("opengl32.dll", EntryPoint = "glUniform4iv")] public static extern void Uniform4iv_(GLint location, GLsizei count, IntPtr value); - [DllImport("opengl32", EntryPoint = "glUniformMatrix2fv")] + [DllImport("opengl32.dll", EntryPoint = "glUniformMatrix2fv")] public static extern void UniformMatrix2fv_(GLint location, GLsizei count, Enums.Boolean transpose, IntPtr value); - [DllImport("opengl32", EntryPoint = "glUniformMatrix3fv")] + [DllImport("opengl32.dll", EntryPoint = "glUniformMatrix3fv")] public static extern void UniformMatrix3fv_(GLint location, GLsizei count, Enums.Boolean transpose, IntPtr value); - [DllImport("opengl32", EntryPoint = "glUniformMatrix4fv")] + [DllImport("opengl32.dll", EntryPoint = "glUniformMatrix4fv")] public static extern void UniformMatrix4fv_(GLint location, GLsizei count, Enums.Boolean transpose, IntPtr value); - [DllImport("opengl32", EntryPoint = "glValidateProgram")] + [DllImport("opengl32.dll", EntryPoint = "glValidateProgram")] public static extern void ValidateProgram(GLuint program); - [DllImport("opengl32", EntryPoint = "glVertexAttrib1d")] + [DllImport("opengl32.dll", EntryPoint = "glVertexAttrib1d")] public static extern void VertexAttrib1d(GLuint index, GLdouble x); - [DllImport("opengl32", EntryPoint = "glVertexAttrib1dv")] + [DllImport("opengl32.dll", EntryPoint = "glVertexAttrib1dv")] public static extern void VertexAttrib1dv_(GLuint index, IntPtr v); - [DllImport("opengl32", EntryPoint = "glVertexAttrib1f")] + [DllImport("opengl32.dll", EntryPoint = "glVertexAttrib1f")] public static extern void VertexAttrib1f(GLuint index, GLfloat x); - [DllImport("opengl32", EntryPoint = "glVertexAttrib1fv")] + [DllImport("opengl32.dll", EntryPoint = "glVertexAttrib1fv")] public static extern void VertexAttrib1fv_(GLuint index, IntPtr v); - [DllImport("opengl32", EntryPoint = "glVertexAttrib1s")] + [DllImport("opengl32.dll", EntryPoint = "glVertexAttrib1s")] public static extern void VertexAttrib1s(GLuint index, GLshort x); - [DllImport("opengl32", EntryPoint = "glVertexAttrib1sv")] + [DllImport("opengl32.dll", EntryPoint = "glVertexAttrib1sv")] public static extern void VertexAttrib1sv_(GLuint index, IntPtr v); - [DllImport("opengl32", EntryPoint = "glVertexAttrib2d")] + [DllImport("opengl32.dll", EntryPoint = "glVertexAttrib2d")] public static extern void VertexAttrib2d(GLuint index, GLdouble x, GLdouble y); - [DllImport("opengl32", EntryPoint = "glVertexAttrib2dv")] + [DllImport("opengl32.dll", EntryPoint = "glVertexAttrib2dv")] public static extern void VertexAttrib2dv_(GLuint index, IntPtr v); - [DllImport("opengl32", EntryPoint = "glVertexAttrib2f")] + [DllImport("opengl32.dll", EntryPoint = "glVertexAttrib2f")] public static extern void VertexAttrib2f(GLuint index, GLfloat x, GLfloat y); - [DllImport("opengl32", EntryPoint = "glVertexAttrib2fv")] + [DllImport("opengl32.dll", EntryPoint = "glVertexAttrib2fv")] public static extern void VertexAttrib2fv_(GLuint index, IntPtr v); - [DllImport("opengl32", EntryPoint = "glVertexAttrib2s")] + [DllImport("opengl32.dll", EntryPoint = "glVertexAttrib2s")] public static extern void VertexAttrib2s(GLuint index, GLshort x, GLshort y); - [DllImport("opengl32", EntryPoint = "glVertexAttrib2sv")] + [DllImport("opengl32.dll", EntryPoint = "glVertexAttrib2sv")] public static extern void VertexAttrib2sv_(GLuint index, IntPtr v); - [DllImport("opengl32", EntryPoint = "glVertexAttrib3d")] + [DllImport("opengl32.dll", EntryPoint = "glVertexAttrib3d")] public static extern void VertexAttrib3d(GLuint index, GLdouble x, GLdouble y, GLdouble z); - [DllImport("opengl32", EntryPoint = "glVertexAttrib3dv")] + [DllImport("opengl32.dll", EntryPoint = "glVertexAttrib3dv")] public static extern void VertexAttrib3dv_(GLuint index, IntPtr v); - [DllImport("opengl32", EntryPoint = "glVertexAttrib3f")] + [DllImport("opengl32.dll", EntryPoint = "glVertexAttrib3f")] public static extern void VertexAttrib3f(GLuint index, GLfloat x, GLfloat y, GLfloat z); - [DllImport("opengl32", EntryPoint = "glVertexAttrib3fv")] + [DllImport("opengl32.dll", EntryPoint = "glVertexAttrib3fv")] public static extern void VertexAttrib3fv_(GLuint index, IntPtr v); - [DllImport("opengl32", EntryPoint = "glVertexAttrib3s")] + [DllImport("opengl32.dll", EntryPoint = "glVertexAttrib3s")] public static extern void VertexAttrib3s(GLuint index, GLshort x, GLshort y, GLshort z); - [DllImport("opengl32", EntryPoint = "glVertexAttrib3sv")] + [DllImport("opengl32.dll", EntryPoint = "glVertexAttrib3sv")] public static extern void VertexAttrib3sv_(GLuint index, IntPtr v); - [DllImport("opengl32", EntryPoint = "glVertexAttrib4Nbv")] + [DllImport("opengl32.dll", EntryPoint = "glVertexAttrib4Nbv")] public static extern void VertexAttrib4Nbv_(GLuint index, IntPtr v); - [DllImport("opengl32", EntryPoint = "glVertexAttrib4Niv")] + [DllImport("opengl32.dll", EntryPoint = "glVertexAttrib4Niv")] public static extern void VertexAttrib4Niv_(GLuint index, IntPtr v); - [DllImport("opengl32", EntryPoint = "glVertexAttrib4Nsv")] + [DllImport("opengl32.dll", EntryPoint = "glVertexAttrib4Nsv")] public static extern void VertexAttrib4Nsv_(GLuint index, IntPtr v); - [DllImport("opengl32", EntryPoint = "glVertexAttrib4Nub")] + [DllImport("opengl32.dll", EntryPoint = "glVertexAttrib4Nub")] public static extern void VertexAttrib4Nub(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); - [DllImport("opengl32", EntryPoint = "glVertexAttrib4Nubv")] + [DllImport("opengl32.dll", EntryPoint = "glVertexAttrib4Nubv")] public static extern void VertexAttrib4Nubv_(GLuint index, IntPtr v); - [DllImport("opengl32", EntryPoint = "glVertexAttrib4Nuiv")] + [DllImport("opengl32.dll", EntryPoint = "glVertexAttrib4Nuiv")] public static extern void VertexAttrib4Nuiv_(GLuint index, IntPtr v); - [DllImport("opengl32", EntryPoint = "glVertexAttrib4Nusv")] + [DllImport("opengl32.dll", EntryPoint = "glVertexAttrib4Nusv")] public static extern void VertexAttrib4Nusv_(GLuint index, IntPtr v); - [DllImport("opengl32", EntryPoint = "glVertexAttrib4bv")] + [DllImport("opengl32.dll", EntryPoint = "glVertexAttrib4bv")] public static extern void VertexAttrib4bv_(GLuint index, IntPtr v); - [DllImport("opengl32", EntryPoint = "glVertexAttrib4d")] + [DllImport("opengl32.dll", EntryPoint = "glVertexAttrib4d")] public static extern void VertexAttrib4d(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); - [DllImport("opengl32", EntryPoint = "glVertexAttrib4dv")] + [DllImport("opengl32.dll", EntryPoint = "glVertexAttrib4dv")] public static extern void VertexAttrib4dv_(GLuint index, IntPtr v); - [DllImport("opengl32", EntryPoint = "glVertexAttrib4f")] + [DllImport("opengl32.dll", EntryPoint = "glVertexAttrib4f")] public static extern void VertexAttrib4f(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); - [DllImport("opengl32", EntryPoint = "glVertexAttrib4fv")] + [DllImport("opengl32.dll", EntryPoint = "glVertexAttrib4fv")] public static extern void VertexAttrib4fv_(GLuint index, IntPtr v); - [DllImport("opengl32", EntryPoint = "glVertexAttrib4iv")] + [DllImport("opengl32.dll", EntryPoint = "glVertexAttrib4iv")] public static extern void VertexAttrib4iv_(GLuint index, IntPtr v); - [DllImport("opengl32", EntryPoint = "glVertexAttrib4s")] + [DllImport("opengl32.dll", EntryPoint = "glVertexAttrib4s")] public static extern void VertexAttrib4s(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); - [DllImport("opengl32", EntryPoint = "glVertexAttrib4sv")] + [DllImport("opengl32.dll", EntryPoint = "glVertexAttrib4sv")] public static extern void VertexAttrib4sv_(GLuint index, IntPtr v); - [DllImport("opengl32", EntryPoint = "glVertexAttrib4ubv")] + [DllImport("opengl32.dll", EntryPoint = "glVertexAttrib4ubv")] public static extern void VertexAttrib4ubv_(GLuint index, IntPtr v); - [DllImport("opengl32", EntryPoint = "glVertexAttrib4uiv")] + [DllImport("opengl32.dll", EntryPoint = "glVertexAttrib4uiv")] public static extern void VertexAttrib4uiv_(GLuint index, IntPtr v); - [DllImport("opengl32", EntryPoint = "glVertexAttrib4usv")] + [DllImport("opengl32.dll", EntryPoint = "glVertexAttrib4usv")] public static extern void VertexAttrib4usv_(GLuint index, IntPtr v); - [DllImport("opengl32", EntryPoint = "glVertexAttribPointer")] + [DllImport("opengl32.dll", EntryPoint = "glVertexAttribPointer")] public static extern void VertexAttribPointer_(GLuint index, GLint size, GLenum type, Enums.Boolean normalized, GLsizei stride, IntPtr pointer); } #endregion diff --git a/Source/OpenGL/OpenGL/Bindings/WindowsContextLoad.cs b/Source/OpenGL/OpenGL/Bindings/WindowsContextLoad.cs index e45cc5bf..7cedea64 100644 --- a/Source/OpenGL/OpenGL/Bindings/WindowsContextLoad.cs +++ b/Source/OpenGL/OpenGL/Bindings/WindowsContextLoad.cs @@ -1,3 +1,8 @@ +#region License +//Copyright (c) 2006 Stephen Apostolopoulos +//See license.txt for license info +#endregion + using System; using System.Runtime.InteropServices; diff --git a/Source/OpenGL/OpenGL/Bindings/WindowsVistaContextLoad.cs b/Source/OpenGL/OpenGL/Bindings/WindowsVistaContextLoad.cs index 507a6837..ce8c82eb 100644 --- a/Source/OpenGL/OpenGL/Bindings/WindowsVistaContextLoad.cs +++ b/Source/OpenGL/OpenGL/Bindings/WindowsVistaContextLoad.cs @@ -1,3 +1,8 @@ +#region License +//Copyright (c) 2006 Stephen Apostolopoulos +//See license.txt for license info +#endregion + using System; using System.Runtime.InteropServices; diff --git a/Source/OpenGL/OpenGL/Bindings/X11ContextLoad.cs b/Source/OpenGL/OpenGL/Bindings/X11ContextLoad.cs index e3b2b97d..5dbae1b3 100644 --- a/Source/OpenGL/OpenGL/Bindings/X11ContextLoad.cs +++ b/Source/OpenGL/OpenGL/Bindings/X11ContextLoad.cs @@ -1,3 +1,8 @@ +#region License +//Copyright (c) 2006 Stephen Apostolopoulos +//See license.txt for license info +#endregion + using System; using System.Runtime.InteropServices; diff --git a/Source/OpenGL/OpenGL/Contexts/Context.cs b/Source/OpenGL/OpenGL/Contexts/Context.cs deleted file mode 100644 index f0ae1080..00000000 --- a/Source/OpenGL/OpenGL/Contexts/Context.cs +++ /dev/null @@ -1,47 +0,0 @@ -/* Copyright (c) 2006 Stephen Apostolopoulos - * See license.txt for license info - */ - -using System; -using System.Collections.Generic; -using System.Text; -using System.Windows.Forms; -using OpenTK.OpenGL.Platform; - -namespace OpenTK.OpenGL -{ - public abstract partial class Context : IDisposable - { - public bool CoreLoaded = false; - public bool ExtensionsLoaded = false; - - public abstract void SwapBuffers(); - public abstract System.Delegate GetAddress(string function_string, Type function_type); - public abstract void MakeCurrent(); - - //public abstract void LoadExtensions(); - - public abstract void Dispose(); - - public static Context Create(Control c, int red, int green, int blue, int alpha, int depth, int stencil, bool fullscreen) - { - if (Environment.OSVersion.Platform == PlatformID.Win32NT && Environment.OSVersion.Version.Major < 6 || - Environment.OSVersion.Platform == PlatformID.Win32Windows) - { - return new WindowsContext(c, red, green, blue, alpha, depth, stencil, fullscreen); - } - else if (Environment.OSVersion.Platform == PlatformID.Win32NT && Environment.OSVersion.Version.Major >= 6) - { - return new WindowsVistaContext(c, red, green, blue, alpha, depth, stencil, fullscreen); - } - else if (Environment.OSVersion.Platform == PlatformID.Unix) - { - return new X11Context(c, red, green, blue, alpha, depth, stencil, fullscreen); - } - else - { - throw new PlatformNotSupportedException("The platform on which you are trying to run this program is not currently supported. Sorry for the inconvenience."); - } - } - } -} diff --git a/Source/OpenGL/OpenGL/Contexts/WindowsContext.cs b/Source/OpenGL/OpenGL/Contexts/WindowsContext.cs index 74036ced..d536fd63 100644 --- a/Source/OpenGL/OpenGL/Contexts/WindowsContext.cs +++ b/Source/OpenGL/OpenGL/Contexts/WindowsContext.cs @@ -11,7 +11,7 @@ using System.Runtime.InteropServices; namespace OpenTK.OpenGL.Platform { - public partial class WindowsContext : OpenTK.OpenGL.Context + public partial class WindowsContext : OpenTK.OpenGL.GLContext { const string _dll_name = "OPENGL32.DLL"; int _dll_handle; @@ -33,11 +33,11 @@ namespace OpenTK.OpenGL.Platform error_code = Marshal.GetLastWin32Error(); if (error_code != 0) { - System.Diagnostics.Debug.WriteLine("LoadLibrary({0}) set error code: {1}. Will not load extensions.", _dll_name, error_code); + //System.Diagnostics.Debug.WriteLine("LoadLibrary({0}) set error code: {1}. Will not load extensions.", _dll_name, error_code); } else { - System.Diagnostics.Debug.WriteLine("Loaded dll: {0}", _dll_name); + //System.Diagnostics.Debug.WriteLine("Loaded dll: {0}", _dll_name); load_extensions = true; } } diff --git a/Source/OpenGL/OpenGL/Contexts/WindowsVistaContext.cs b/Source/OpenGL/OpenGL/Contexts/WindowsVistaContext.cs index 92de4396..55118912 100644 --- a/Source/OpenGL/OpenGL/Contexts/WindowsVistaContext.cs +++ b/Source/OpenGL/OpenGL/Contexts/WindowsVistaContext.cs @@ -11,7 +11,7 @@ using OpenTK.OpenGL; namespace OpenTK.OpenGL.Platform { - public partial class WindowsVistaContext : OpenTK.OpenGL.Context + public partial class WindowsVistaContext : OpenTK.OpenGL.GLContext { const string _dll_name = "OPENGL32.DLL"; int _dll_handle; diff --git a/Source/OpenGL/OpenGL/Contexts/X11Context.cs b/Source/OpenGL/OpenGL/Contexts/X11Context.cs index ef1305ee..dfddb665 100644 --- a/Source/OpenGL/OpenGL/Contexts/X11Context.cs +++ b/Source/OpenGL/OpenGL/Contexts/X11Context.cs @@ -9,7 +9,7 @@ using System.Windows.Forms; namespace OpenTK.OpenGL.Platform { - public partial class X11Context : OpenTK.OpenGL.Context + public partial class X11Context : OpenTK.OpenGL.GLContext { public X11Context(Control c, int red, int green, int blue, int alpha, int depth, int stencil, bool fullscreen) { diff --git a/Source/OpenGL/OpenGL/MissingEnums.cs b/Source/OpenGL/OpenGL/MissingEnums.cs deleted file mode 100644 index 0de36033..00000000 --- a/Source/OpenGL/OpenGL/MissingEnums.cs +++ /dev/null @@ -1,10 +0,0 @@ -using System; - -namespace OpenTK.OpenGL -{ - //public partial class Enums - //{ - // const int VERTEX_SHADER = VERSION_2_0.VERTEX_SHADER; - // const int FRAGMENT_SHADER = VERSION_2_0.FRAGMENT_SHADER; - //} -} \ No newline at end of file diff --git a/Source/OpenGL/OpenGL/OpenTK.OpenGL.csproj b/Source/OpenGL/OpenGL/OpenTK.OpenGL.csproj index 0fcdef7f..25c7ef32 100644 --- a/Source/OpenGL/OpenGL/OpenTK.OpenGL.csproj +++ b/Source/OpenGL/OpenGL/OpenTK.OpenGL.csproj @@ -34,6 +34,7 @@ H:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Data.dll + H:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Windows.Forms.dll @@ -42,17 +43,19 @@ - + + + Form + - + - @@ -63,15 +66,4 @@ - - - - - \ No newline at end of file diff --git a/Source/Platform/Windows/OpenTK.Platform.Windows.csproj b/Source/Platform/Windows/OpenTK.Platform.Windows.csproj index de3541c4..29f50e08 100644 --- a/Source/Platform/Windows/OpenTK.Platform.Windows.csproj +++ b/Source/Platform/Windows/OpenTK.Platform.Windows.csproj @@ -38,11 +38,4 @@ - \ No newline at end of file diff --git a/changelog.txt b/changelog.txt index e681d0db..23b6c161 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,16 +1,12 @@ +OpenTK 0.3.2 -> 0.3.3 ++ OpenTK.OpenGL.Bind 0.7.5 -> 0.7.5.1 (see Bind changelog for more information) ++ Added the GLForm class. ++ Added the GLForm.Lesson01 example. + OpenTK 0.3.1 -> 0.3.2 + OpenTK.OpenGL.Glu: Eliminated the temporary IntPtr variable in the GetString and ErrorString functions. + Specifications.cs_types.txt: Changed types in order to be CLS compliant. + OpenTK.OpenGL.Bind 0.7.4 -> 0.7.5 -+ + Added wrappers for all functions that accept arrays. Permitted parameters for these are: an array of the original type (e.g. float[]), an IntPtr (if you manage memory yourself), or any blittable type (e.g. float[,,]). No type checking is done in the last case, so be careful! -+ + Updated the wrappers for all functions that accept or return void pointers. Permitted parameters for these are: an IntPtr or any blittable type (type checking is turned off, so be extra careful!) -+ + Aliased the GLbool type to int. It is hacky, but the examples bundled with Tao rely on this... -+ + Added a wrapper for glLineStipple. Now you can pass an int to it, but only the last 16 bits will be used for the stipple (as per the function specification). This was the only way to avoid aliasing the parameter to ushort (non-CLS compatible) or having the user write unchecked((short)0x....) every time he used the function. -+ + Added the WrapperType enum. Every function has a Property that indicates the wrapper it will need. This cleans up the WriteWrappers function somewhat. -+ + Added the PreviousType property to the Function class. This is used when generating wrappers for functions with type-checked arrays (e.g. float[] arrays etc). -+ + Corrected some type aliases in cs_types.txt -+ + Added the missing wrappers for glReadPixels! (this falls in the out void array). -+ + A missing enum now defaults to Enum.[Function category] (a new property was added to the Function class and the SpecReader.ReadFunctions function was modified). I should test this to see if it works ok. + Added the GLSL.Lesson01 example. OpenTK 0.3.0 -> 0.3.1 diff --git a/todo.txt b/todo.txt index 6ddf5910..9a153787 100644 --- a/todo.txt +++ b/todo.txt @@ -1,4 +1,5 @@ Todo: ++ Find out why many examples crash when compiled in release mode, but only when run outside the editor. + Add more examples (e.g. the GLSL example I wrote, some of kanato's examples etc). + + Change the hierarchy of the WindowsContext and WindowsVistaContext classes. The should have a common ancestor who manages the windows creation (it should be the same for both). + + Add more constructors to the WindowsContext classes. This probably needs updating of the WinAPI assembly.