Major update to OpenTK.OpenGL.Bind (0.7.5.2 -> 0.7.6). Cleaner code and correct wrappers (many were missing earlier).

This commit is contained in:
the_fiddler 2006-10-10 19:34:44 +00:00
parent 03508e3e23
commit 1ec16408f0
17 changed files with 51875 additions and 2619 deletions

View file

@ -15,6 +15,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Specifications", "Specifica
Specifications\enumext.spec = Specifications\enumext.spec
Specifications\gl.spec = Specifications\gl.spec
Specifications\gl_types.txt = Specifications\gl_types.txt
Specifications\try.spec = Specifications\try.spec
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Projects", "Projects", "{E9FF51BB-295E-4891-AA30-D1374F26DCE0}"

View file

@ -94,7 +94,6 @@ namespace OpenTK.OpenGL.Bind
Translation.TranslateEnums(enums);
SpecWriter.WriteSpecs(Settings.OutputPath, functions, wrappers, enums);
//SpecWriter.WriteWrappers(Properties.Bind.Default.OutputPath, wrappers);
ContextWriter.WriteMainContext(Settings.OutputPath, functions);
ContextWriter.WriteDerivedContext(Settings.OutputPath, "WindowsContext", functions, "1.0", "1.1");

View file

@ -53,13 +53,13 @@
<Compile Include="Structures\Enum.cs" />
<Compile Include="Structures\Function.cs" />
<Compile Include="Structures\Parameter.cs" />
<Compile Include="Structures\ParameterCollection.cs" />
<Compile Include="TranslateSpecs.cs" />
<Compile Include="WriteContexts.cs" />
<Compile Include="WriteSpecs.cs" />
</ItemGroup>
<ItemGroup>
<Content Include="changelog.txt" />
<Content Include="todo.txt" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
</Project>

View file

@ -15,6 +15,41 @@ namespace OpenTK.OpenGL.Bind
/// </summary>
public class Function
{
#region Constructors
public Function()
{
Parameters = new ParameterCollection();
Body = new FunctionBody();
}
public Function(Function f)
{
this.Body = new FunctionBody(f.Body);
this.Category = new string(f.Category.ToCharArray());
this.Extension = f.Extension;
this.Name = new string(f.Name.ToCharArray());
this.NeedsWrapper = f.NeedsWrapper;
this.Parameters = new ParameterCollection(f.Parameters);
this.ReturnValue = new string(f.ReturnValue.ToCharArray());
this.Version = new string(f.Version.ToCharArray());
this.WrapperType = f.WrapperType;
}
#endregion
#region Function body
FunctionBody _body;
public FunctionBody Body
{
get { return _body; }
set { _body = value; }
}
#endregion
#region Category property
private string _category;
@ -92,7 +127,7 @@ namespace OpenTK.OpenGL.Bind
#region Parameter collection property
ParameterCollection _parameters = new ParameterCollection();
ParameterCollection _parameters;
public ParameterCollection Parameters
{
@ -129,10 +164,28 @@ namespace OpenTK.OpenGL.Bind
#endregion
#region Constructor
#region Call function string
public Function()
public string CallString()
{
StringBuilder sb = new StringBuilder();
sb.Append(Name);
sb.Append("(");
foreach (Parameter p in Parameters)
{
if (p.Unchecked)
sb.Append("unchecked((" + p.Type + ")");
sb.Append(p.Name);
if (p.Unchecked)
sb.Append(")");
sb.Append(", ");
}
sb.Replace(", ", ")", sb.Length - 2, 2);
return sb.ToString();
}
#endregion
@ -145,30 +198,61 @@ namespace OpenTK.OpenGL.Bind
/// </summary>
override public string ToString()
{
StringBuilder sb = new StringBuilder();
sb.Append(ReturnValue + " " + Name + Parameters.ToString());
return sb.ToString();
return ToString("");
}
#endregion
#region Call function string
public string CallString()
public string ToString(string indentation)
{
StringBuilder sb = new StringBuilder();
sb.Append(Name);
sb.Append("(");
foreach (Parameter p in Parameters)
sb.Append(indentation + ReturnValue + " " + Name + Parameters.ToString());
if (Body.Count > 0)
{
sb.Append(p.Name);
sb.Append(", ");
sb.AppendLine();
sb.Append(Body.ToString(indentation));
}
sb.Replace(", ", ")", sb.Length - 2, 2);
return sb.ToString();
}
#endregion
}
public class FunctionBody : List<string>
{
public FunctionBody()
{
}
public FunctionBody(FunctionBody fb)
{
foreach (string s in fb)
{
this.Add(s);
}
}
public override string ToString()
{
return ToString("");
}
public string ToString(string indentation)
{
if (this.Count == 0)
return String.Empty;
StringBuilder sb = new StringBuilder(this.Count);
sb.AppendLine(indentation + "{");
foreach (string s in this)
{
sb.AppendLine(indentation + " " + s);
}
sb.AppendLine(indentation + "}");
return sb.ToString();
}
}
}

View file

@ -15,6 +15,33 @@ namespace OpenTK.OpenGL.Bind
/// </summary>
public class Parameter
{
#region Constructors
/// <summary>
/// Creates a new Parameter without type and name.
/// </summary>
public Parameter()
{
}
public Parameter(Parameter p)
{
if (p == null)
return;
this.Array = p.Array;
this.Flow = p.Flow;
this.Name = new string(p.Name.ToCharArray());
this.NeedsWrapper = p.NeedsWrapper;
this.PreviousType = new string(p.PreviousType.ToCharArray());
this.Type = new string(p.Type.ToCharArray());
this.Unchecked = p.Unchecked;
this.UnmanagedType = p.UnmanagedType;
this.WrapperType = p.WrapperType;
}
#endregion
#region Name property
string _name;
@ -113,13 +140,40 @@ namespace OpenTK.OpenGL.Bind
#endregion
#region Constructors
#region Unchecked property
/// <summary>
/// Creates a new Parameter without type and name.
/// </summary>
public Parameter() { }
private bool _unchecked;
public bool Unchecked
{
get { return _unchecked; }
set { _unchecked = value; }
}
#endregion
#region NeedsWrapper property
private bool _needs_wrapper;
public bool NeedsWrapper
{
get { return _needs_wrapper; }
set { _needs_wrapper = value; }
}
#endregion
#region WrapperType property
private WrapperTypes _wrapper_type = WrapperTypes.None;
public WrapperTypes WrapperType
{
get { return _wrapper_type; }
set { _wrapper_type = value; }
}
#endregion
#region ToString function
@ -133,10 +187,17 @@ namespace OpenTK.OpenGL.Bind
if (UnmanagedType == UnmanagedType.LPArray)
sb.Append("[MarshalAs(UnmanagedType.LPArray)] ");
if (Flow == FlowDirection.Out && !Array && !(Type == "IntPtr"))
sb.Append("out ");
//if (Flow == FlowDirection.Out && !Array && !(Type == "IntPtr"))
// sb.Append("out ");
//if (Unchecked)
// sb.Append("unchecked(");
sb.Append(Type);
//if (Unchecked)
// sb.Append(")");
if (Array)
sb.Append("[]");
@ -147,4 +208,125 @@ namespace OpenTK.OpenGL.Bind
}
#endregion
}
#region ParameterCollection class
public class ParameterCollection : List<Parameter>
{
#region Constructors
public ParameterCollection()
{
}
public ParameterCollection(ParameterCollection pc)
{
foreach (Parameter p in pc)
{
this.Add(new Parameter(p));
}
}
#endregion
override public string ToString()
{
StringBuilder sb = new StringBuilder();
sb.Append("(");
if (this.Count > 0)
{
foreach (Parameter p in this)
{
sb.Append(p.ToString());
sb.Append(", ");
}
sb.Replace(", ", ")", sb.Length - 2, 2);
}
else
sb.Append(")");
return sb.ToString();
}
public bool ContainsType(string type)
{
foreach (Parameter p in this)
if (p.Type == type)
return true;
return false;
}
/// <summary>
/// Replaces all parameters that match the old_param with the new_param.
/// </summary>
/// <param name="old_param"></param>
/// <param name="new_param"></param>
/// <returns></returns>
/// <remarks>The PreviousType property is ignored in parameter matching, and is set to the previous type in case of replacement.</remarks>
public ParameterCollection ReplaceAll(Parameter old_param, Parameter new_param)
{
if (old_param == null || new_param == null)
return null;
ParameterCollection pc = new ParameterCollection(this);
foreach (Parameter p in pc)
{
if (p.Array == old_param.Array &&
p.Flow == old_param.Flow &&
p.Name == old_param.Name &&
//p.PreviousType == old_param.PreviousType &&
p.Type == old_param.Type &&
p.UnmanagedType == old_param.UnmanagedType)
{
p.Array = new_param.Array;
p.Flow = new_param.Flow;
p.Name = new_param.Name;
p.PreviousType = p.Type;
p.Type = new_param.Type;
p.UnmanagedType = new_param.UnmanagedType;
}
}
return pc;
}
/// <summary>
/// Replaces the first parameter that matches old_param with new_param.
/// </summary>
/// <param name="old_param"></param>
/// <param name="new_param"></param>
/// <returns></returns>
/// <remarks>The PreviousType property is ignored in parameter matching, and is set to the previous type in case of replacement.</remarks>
public ParameterCollection Replace(Parameter old_param, Parameter new_param)
{
if (old_param == null || new_param == null)
return null;
ParameterCollection pc = new ParameterCollection(this);
foreach (Parameter p in pc)
{
if (p.Array == old_param.Array &&
p.Flow == old_param.Flow &&
p.Name == old_param.Name &&
//p.PreviousType == old_param.PreviousType &&
p.Type == old_param.Type &&
p.UnmanagedType == old_param.UnmanagedType)
{
p.Array = new_param.Array;
p.Flow = new_param.Flow;
p.Name = new_param.Name;
p.PreviousType = p.Type;
p.Type = new_param.Type;
p.UnmanagedType = new_param.UnmanagedType;
return pc;
}
}
return pc;
}
}
#endregion
}

View file

@ -1,49 +0,0 @@
#region License
//Copyright (c) 2006 Stephen Apostolopoulos
//See license.txt for license info
#endregion
using System;
using System.Collections.Generic;
using System.Text;
namespace OpenTK.OpenGL.Bind
{
public class ParameterCollection : List<Parameter>
{
#region Constructors
public ParameterCollection()
{
}
#endregion
override public string ToString()
{
StringBuilder sb = new StringBuilder();
sb.Append("(");
if (this.Count > 0)
{
foreach (Parameter p in this)
{
sb.Append(p.ToString());
sb.Append(", ");
}
sb.Replace(", ", ")", sb.Length - 2, 2);
}
else
sb.Append(")");
return sb.ToString();
}
public bool ContainsType(string type)
{
foreach (Parameter p in this)
if (p.Type == type)
return true;
return false;
}
}
}

View file

@ -16,8 +16,10 @@ namespace OpenTK.OpenGL.Bind
None,
VoidPointerIn,
VoidPointerOut,
VoidPointer,
ArrayOut,
ArrayIn,
Array,
UShortMaskParameter,
ReturnsString,
ReturnsVoidPointer,
@ -31,7 +33,6 @@ namespace OpenTK.OpenGL.Bind
#region Dictionaries
static Dictionary<string, string> parameter_names = new Dictionary<string, string>();
//static Dictionary<string, string> parameter_types = new Dictionary<string, string>();
private static Dictionary<string, string> _gl_types;
public static Dictionary<string, string> GLtypes
@ -61,147 +62,50 @@ namespace OpenTK.OpenGL.Bind
parameter_names.Add("ref", "reference");
parameter_names.Add("params", "parameters");
parameter_names.Add("in", "@in");
#region Commented out
//// Types
//parameter_types.Add("Boolean", "bool");
//parameter_types.Add("BooleanPointer", "bool[]");
//parameter_types.Add("Char", "char");
//parameter_types.Add("CharPointer", "string");
//parameter_types.Add("CheckedFloat32", "float");
//parameter_types.Add("CheckedInt32", "int");
//parameter_types.Add("ClampedColorF", "float");
//parameter_types.Add("ClampedFloat32", "float");
//parameter_types.Add("ClampedFloat64", "double");
//parameter_types.Add("ClampedStencilValue", "int");
//parameter_types.Add("ColorB", "byte");
//parameter_types.Add("ColorS", "short");
//parameter_types.Add("ColorI", "int");
//parameter_types.Add("ColorUB", "byte");
//parameter_types.Add("ColorUS", "ushort");
//parameter_types.Add("ColorUI", "uint");
//parameter_types.Add("ColorF", "float");
//parameter_types.Add("ColorD", "double");
//parameter_types.Add("ColorIndexValueD", "double");
//parameter_types.Add("ColorIndexValueF", "float");
//parameter_types.Add("ColorIndexValueI", "int");
//parameter_types.Add("ColorIndexValueS", "short");
//parameter_types.Add("ColorIndexValueUB", "byte");
//parameter_types.Add("CompressedTextureARB", "void");
//parameter_types.Add("ControlPointNV", "void");
//parameter_types.Add("CoordF", "float");
//parameter_types.Add("CoordD", "double");
//parameter_types.Add("CoordI", "int");
//parameter_types.Add("CoordS", "short");
//parameter_types.Add("FeedbackElement", "float");
//parameter_types.Add("FenceNV", "uint");
///////////////////////////////////////
//parameter_types.Add("Int8", "byte");
//parameter_types.Add("Int16", "short");
//parameter_types.Add("Int32", "int");
//parameter_types.Add("UInt8", "byte");
//parameter_types.Add("UInt16", "ushort");
//parameter_types.Add("UInt32", "uint");
//parameter_types.Add("Float32", "float");
//parameter_types.Add("Float64", "double");
//parameter_types.Add("ConstFloat32", "float");
//parameter_types.Add("ConstInt32", "double");
//parameter_types.Add("ConstUInt32", "uint");
//parameter_types.Add("ConstVoid", "void");
//parameter_types.Add("ConstVoidPointer", "void[]");
//parameter_types.Add("String", "string");
//parameter_types.Add("Void", "void");
//parameter_types.Add("VoidPointer", "void[]");
//parameter_types.Add("void", "void");
//parameter_types.Add("Float32Pointer", "float");
//parameter_types.Add("Float32Double", "double");
/////////////////////////////////////////
//parameter_types.Add("List", "uint");
//parameter_types.Add("SizeI", "int");
//parameter_types.Add("LineStipple", "ushort");
//parameter_types.Add("WinCoord", "int");
//parameter_types.Add("Texture", "uint");
//parameter_types.Add("TextureComponentCount", "int");
//parameter_types.Add("SelectName", "uint");
//parameter_types.Add("MaskedColorIndexValueF", "float");
//parameter_types.Add("MaskedColorIndexValueI", "uint");
//parameter_types.Add("MaskedStencilValue", "uint");
//parameter_types.Add("StencilValue", "int");
//parameter_types.Add("handleARB", "uint");
//parameter_types.Add("charARB", "char"); // Maybe this should be byte?
//parameter_types.Add("charPointerARB", "string");
//parameter_types.Add("GLenum", "uint");
//parameter_types.Add("VertexBufferSize", "IntPtr");
//parameter_types.Add("VertexBufferOffset", "IntPtr");
//parameter_types.Add("VertexBufferSizeARB", "IntPtr");
//parameter_types.Add("VertexBufferOffsetARB", "IntPtr");
//parameter_types.Add("IglooParameterSGIX", "IntPtr");
//parameter_types.Add("Half16NV", "ushort");
//parameter_types.Add("PixelDataRangeTargetNV", "uint");
#endregion
}
#endregion
#region Translate constants
public static List<Constant> TranslateConstants(List<Constant> constants)
{
uint value;
#region Translate enums
foreach (Constant c in constants)
public static void TranslateEnums(System.Collections.Hashtable enums)
{
foreach (Enum e in enums.Values)
{
c.Name = "GL_" + c.Name;
if (!Char.IsDigit(c.Value[0]) && !c.Value.StartsWith("GL_"))
c.Value = "GL_" + c.Value;
//if (String.CompareOrdinal(c.Value, "0x7FFFFFFF") > 0)
if (UInt32.TryParse(c.Value.Replace("0x", String.Empty), System.Globalization.NumberStyles.AllowHexSpecifier, null, out value))
if (value > 0x7FFFFFFF)
c.Value = "unchecked((int)" + c.Value + ")";
if (Char.IsDigit(e.Name[0]))
e.Name = e.Name.Insert(0, "_");
if (e.Name == "Boolean")
continue;
foreach (Constant c in e.ConstantCollection.Values)
{
if (Char.IsDigit(c.Name[0]))
c.Name = c.Name.Insert(0, "_");
if (c.Value.Contains(".") && Char.IsDigit(c.Value[c.Value.IndexOf('.') + 1]))
c.Value = c.Value.Insert(c.Value.IndexOf('.') + 1, "_");
}
}
return constants;
}
#endregion
#region Translate functions
public static void TranslateFunctions(List<Function> functions, Hashtable enums, out List<Function> wrappers)
{
wrappers = new List<Function>();
foreach (Function f in functions)
{
TranslateReturnValue(f, enums);
TranslateParameters(f, enums);
Function wrapper = GenerateWrapper(f);
if (wrapper != null)
wrappers.Add(wrapper);
if (f.NeedsWrapper)
f.Name = f.Name + "_";
}
wrappers = GenerateWrappers(functions);
}
#endregion
#region Translate return value
@ -233,6 +137,7 @@ namespace OpenTK.OpenGL.Bind
#endregion
#region Translate parameters
private static void TranslateParameters(Function f, Hashtable enums)
{
string s;
@ -240,13 +145,22 @@ namespace OpenTK.OpenGL.Bind
// Map parameters.
foreach (Parameter p in f.Parameters)
{
#region Default name translation
if (parameter_names.TryGetValue(p.Name, out s))
p.Name = s;
if (enums.ContainsKey(p.Type))
#endregion
#region Default type translation
if (p.Type.Contains("Boolean"))
{
p.Type = "GLboolean";
}
else if (enums.ContainsKey(p.Type))
{
p.Type = "Enums." + p.Type;
continue;
}
else if (p.Type == "GLenum")
{
@ -256,101 +170,254 @@ namespace OpenTK.OpenGL.Bind
else if (GLtypes.TryGetValue(p.Type, out s))
p.Type = s;
if (p.Array &&
!p.Type.Contains("void") &&
!p.Type.Contains("string") &&
(p.Flow == Parameter.FlowDirection.In || p.Flow == Parameter.FlowDirection.Undefined))
#endregion
#region Wrapper translations
if (p.Type.Contains("ushort") && f.Name.Contains("LineStipple"))
{
f.NeedsWrapper = true;
f.WrapperType = WrapperTypes.ArrayIn;
p.Type = "IntPtr";
p.Array = false;
//p.UnmanagedType = System.Runtime.InteropServices.UnmanagedType.LPArray;
}
if ( p.Array &&
!p.Type.Contains("void") &&
!p.Type.Contains("char") &&
(p.Flow == Parameter.FlowDirection.Out))
{
p.UnmanagedType = System.Runtime.InteropServices.UnmanagedType.LPArray;
//f.NeedsWrapper = true;
//f.WrapperType = WrapperTypes.ArrayOut;
//f.WrapperType = WrapperTypes.UShortMaskParameter;
p.NeedsWrapper = true;
p.WrapperType = WrapperTypes.UShortMaskParameter;
p.Unchecked = true;
}
else if (p.Array &&
p.Type.Contains("char") &&
(p.Flow == Parameter.FlowDirection.Out))
else if (p.Array && p.Type.Contains("string"))
{
p.Type = "StringBuilder";
p.NeedsWrapper = false;
p.WrapperType = WrapperTypes.None;
}
else if (p.Array && p.Type.Contains("char"))
{
if (p.Flow == Parameter.FlowDirection.Out)
p.Type = "StringBuilder";
else
p.Type = "string";
p.Array = false;
//f.Nee
}
else if (p.Array)
{
//f.NeedsWrapper = true;
p.NeedsWrapper = true;
if (p.Type.Contains("void"))
p.WrapperType = WrapperTypes.VoidPointer;
else
p.WrapperType = WrapperTypes.Array;
p.Type = "IntPtr";
p.Array = false;
p.Flow = Parameter.FlowDirection.Undefined;
}
else if (p.Array &&
p.Type.Contains("void") &&
(p.Flow == Parameter.FlowDirection.In || p.Flow == Parameter.FlowDirection.Undefined))
{
f.NeedsWrapper = true;
f.WrapperType = WrapperTypes.VoidPointerIn;
p.Array = false;
p.Type = "IntPtr";
}
else if (p.Array && p.Type.Contains("void") &&
(p.Flow == Parameter.FlowDirection.Out))
{
f.NeedsWrapper = true;
f.WrapperType = WrapperTypes.VoidPointerOut;
p.Array = false;
p.Type = "IntPtr";
}
//if (p.Flow == Parameter.FlowDirection.Out && p.Type.Contains("string"))
// p.Type.Replace("string", "StringBuilder");
//if (p.Type.Contains("[][]"))
//{
// p.Type = "ref " + p.Type.Replace("[][]", "[]");
//}
if (p.NeedsWrapper)
{
f.NeedsWrapper = true;
//f.WrapperType = WrapperTypes.Array;
f.WrapperType = p.WrapperType;
}
#endregion
}
}
#endregion
#region Generate wrappers
private static Function GenerateWrapper(Function f)
{
if (!f.NeedsWrapper)
return null;
// These do not need wrapping!
if (f.Name.Contains("TexImage") || f.Name.Contains("TexSubImage"))
private static List<Function> GenerateWrappers(List<Function> functions)
{
List<Function> wrappers = new List<Function>();
Function w;
foreach (Function f in functions)
{
f.NeedsWrapper = false;
return null;
if (f.NeedsWrapper)
{
if (f.WrapperType == WrapperTypes.UShortMaskParameter)
{
w = new Function(f);
w.Name = w.Name.TrimEnd('_');
// Search and replace ushort parameters with ints.
Predicate<Parameter> is_ushort_parameter = new Predicate<Parameter>(delegate(Parameter p) { return p.Type == "GLushort"; });
Parameter oldp = w.Parameters.Find(is_ushort_parameter);
Parameter newp = new Parameter(oldp);
newp.Type = "GLint";
w.Parameters = w.Parameters.ReplaceAll(oldp, newp);
// Call the low-level function wrapping (all parameters marked with Unchecked will automatically
// be decorated with the unchecked keyword).
w.Body.Add((f.ReturnValue.Contains("void") ? "" : "return ") + f.CallString() + ";");
// Add the wrapper.
wrappers.Add(w);
continue;
}
if (f.WrapperType == WrapperTypes.ReturnsString)
{
w = new Function(f);
w.Name = w.Name.TrimEnd('_');
// Replace the IntPtr return value with string.
w.ReturnValue = "string";
// Wrap the call to the low-level function (marshal the IntPtr to string).
w.Body.Add("return Marshal.PtrToStringAnsi(" + f.CallString() + ");");
// Add the wrapper.
wrappers.Add(w);
continue;
}
//if (
WrapPointers(f, wrappers);
count = 0;
}
}
return f;
return wrappers;
}
#endregion
#region Translate enums
public static void TranslateEnums(System.Collections.Hashtable enums)
static int count = 0;
private static void WrapPointers(Function f, List<Function> wrappers)
{
foreach (Enum e in enums.Values)
if (count == 0)
{
if (Char.IsDigit(e.Name[0]))
e.Name = e.Name.Insert(0, "_");
wrappers.Add(IntPtrToIntPtr(f));
}
if (e.Name == "Boolean")
continue;
foreach (Constant c in e.ConstantCollection.Values)
if (count >= 0 && count < f.Parameters.Count)
{
if (f.Parameters[count].NeedsWrapper)
{
if (Char.IsDigit(c.Name[0]))
c.Name = c.Name.Insert(0, "_");
++count;
WrapPointers(f, wrappers);
--count;
if (c.Value.Contains(".") && Char.IsDigit(c.Value[c.Value.IndexOf('.') + 1]))
c.Value = c.Value.Insert(c.Value.IndexOf('.') + 1, "_");
Function w = IntPtrToObject(f, count);
wrappers.Add(w);
++count;
WrapPointers(w, wrappers);
--count;
if (f.Parameters[count].WrapperType == WrapperTypes.Array)
{
w = IntPtrToArray(f, count);
wrappers.Add(w);
++count;
WrapPointers(w, wrappers);
--count;
}
}
else
{
++count;
WrapPointers(f, wrappers);
--count;
}
}
}
// IntPtr -> IntPtr wrapper.
private static Function IntPtrToIntPtr(Function f)
{
Function w = new Function(f);
w.Name = w.Name.TrimEnd('_');
w.Body.Add((f.ReturnValue.Contains("void") ? "" : "return ") + f.CallString() + ";");
return w;
}
// IntPtr -> object wrapper.
private static Function IntPtrToObject(Function f, int index)
{
Function w = new Function(f);
w.Name = w.Name.TrimEnd('_');
Parameter newp = new Parameter(f.Parameters[index]);
newp.Type = "object";
if (newp.Flow == Parameter.FlowDirection.Out)
newp.Flow = Parameter.FlowDirection.Undefined;
w.Parameters = w.Parameters.Replace(f.Parameters[index], newp);
// In the function body we should pin all objects in memory before calling the
// low-level function.
w.Body = GenerateBodyForPins(w);
return w;
}
// IntPtr -> GL[...] wrapper.
private static Function IntPtrToArray(Function f, int index)
{
Function w = new Function(f);
w.Name = w.Name.TrimEnd('_');
// Search and replace IntPtr parameters with the know parameter types:
Parameter newp = new Parameter(f.Parameters[index]);
newp.Type = f.Parameters[index].PreviousType;
newp.Array = true;
w.Parameters = w.Parameters.Replace(f.Parameters[index], newp);
// In the function body we should pin all objects in memory before calling the
// low-level function.
w.Body = GenerateBodyForPins(w);
return w;
}
private static FunctionBody GenerateBodyForPins(Function w)
{
FunctionBody body = new FunctionBody();
int i = 0;
StringBuilder sb = new StringBuilder();
sb.Append("(");
foreach (Parameter p in w.Parameters)
{
if (p.Type == "object" || p.Array && !p.Type.Contains("string")) // we should allow the default marshalling behavior for strings.
{
body.Add("GCHandle h" + i + " = GCHandle.Alloc(" + p.Name + ", GCHandleType.Pinned);");
sb.Append("h" + i + ".AddrOfPinnedObject()" + ", ");
i++;
}
else
{
sb.Append(p.Name + ", ");
}
}
sb.Replace(", ", ")", sb.Length - 2, 2);
body.Add("try");
body.Add("{");
body.Add(
" " +
(w.ReturnValue.Contains("void") ? "" : "return ") +
w.Name + "_" +
sb.ToString() +
";");
body.Add("}");
body.Add("finally");
body.Add("{");
while (i > 0)
{
body.Add(" h" + --i + ".Free();");
}
body.Add("}");
return body;
}
#endregion
#endregion
}
}

View file

@ -55,7 +55,7 @@ namespace OpenTK.OpenGL.Bind
}
#endregion
#region WriteDerivedContext
#region Write derived context
public static void WriteDerivedContext(string output_path, string class_name, List<Function> functions, params string[] import_list)
{
string filename = Path.Combine(output_path, class_name + "Load.cs");

View file

@ -45,7 +45,6 @@ namespace OpenTK.OpenGL.Bind
WriteDllImports(sw, functions);
WriteFunctions(sw, functions);
WriteWrappers(sw, wrappers);
//WriteConstructor(sw, functions);
sw.WriteLine(" }");
sw.WriteLine("}");
@ -196,6 +195,7 @@ namespace OpenTK.OpenGL.Bind
sw.WriteLine(" public static Delegates.{0} {0};", f.Name);
}
sw.WriteLine();
sw.WriteLine(" #endregion");
sw.WriteLine();
}
@ -207,197 +207,18 @@ namespace OpenTK.OpenGL.Bind
sw.WriteLine(" #region Wrappers");
sw.WriteLine();
foreach (Function f in wrappers)
foreach (Function w in wrappers)
{
// Hack! Should implement these in the future.
if (f.Extension)
continue;
sw.WriteLine(" #region {0}{1}", w.Name, w.Parameters.ToString());
sw.WriteLine();
if (f.Parameters.ToString().Contains("out IntPtr"))
continue;
if (f.Parameters.ToString().Contains("IntPtr[]"))
continue;
sw.WriteLine(" #region {0}", f.Name.TrimEnd('_'));
sw.WriteLine(" public static");
sw.WriteLine(w.ToString(" "));
if (f.WrapperType == WrapperTypes.ReturnsString)
{
sw.WriteLine(" public static {0} {1}{2}", "string", f.Name.TrimEnd('_'), f.Parameters.ToString());
sw.WriteLine(" {");
sw.WriteLine(" return Marshal.PtrToStringAnsi({0});", f.CallString());
sw.WriteLine(" }");
}
else if (f.Name.Contains("glLineStipple"))
{
sw.WriteLine(" public static {0} {1}{2}", f.ReturnValue, f.Name.TrimEnd('_'), f.Parameters.ToString().Replace("GLushort", "GLint"));
sw.WriteLine(" {");
sw.WriteLine(" glLineStipple_({0}, unchecked((GLushort){1}));", f.Parameters[0].Name, f.Parameters[1].Name);
sw.WriteLine(" }");
}
else if (f.WrapperType == WrapperTypes.VoidPointerIn || f.WrapperType == WrapperTypes.VoidPointerOut || f.WrapperType == WrapperTypes.ArrayIn)
{
// Add object overload (i.e. turn off type checking).
sw.WriteLine(" public static {0} {1}{2}", f.ReturnValue, f.Name.TrimEnd('_'), f.Parameters.ToString().Replace("IntPtr", "object"));
sw.WriteLine(" {");
int i = 0;
StringBuilder sb = new StringBuilder();
sb.Append("(");
foreach (Parameter p in f.Parameters)
{
if (p.Type == "IntPtr")
{
sw.WriteLine(" GCHandle h{0} = GCHandle.Alloc({1}, GCHandleType.Pinned);", i, p.Name);
sb.Append("h" + i + ".AddrOfPinnedObject()" + ", ");
i++;
}
else
{
sb.Append(p.Name + ", ");
}
}
sb.Replace(", ", ")", sb.Length - 2, 2);
sw.WriteLine(" try");
sw.WriteLine(" {");
if (f.ReturnValue == "void")
sw.WriteLine(" {0}{1};", f.Name, sb.ToString());
else
sw.WriteLine(" return {0}{1};", f.Name, sb.ToString());
sw.WriteLine(" }");
sw.WriteLine(" finally");
sw.WriteLine(" {");
while (i > 0)
{
sw.WriteLine(" h{0}.Free();", --i);
}
sw.WriteLine(" }");
sw.WriteLine(" }");
// Add IntPtr overload.
sw.WriteLine(" public static {0} {1}{2}", f.ReturnValue, f.Name.TrimEnd('_'), f.Parameters.ToString());
sw.WriteLine(" {");
sb.Replace(", ", ")", sb.Length - 2, 2);
if (f.ReturnValue == "void")
sw.WriteLine(" {0};", f.CallString());
else
sw.WriteLine(" return {0};", f.CallString());
sw.WriteLine(" }");
}
if (f.WrapperType == WrapperTypes.ArrayIn)
{
// Add overload for the case the normal type is used (e.g. float[], bool[] etc).
StringBuilder sb = new StringBuilder();
sb.Append("(");
foreach (Parameter p in f.Parameters)
{
if (p.Type == "IntPtr")
{
//sb.Append("[MarshalAs(UnmanagedType.LPArray)] ");
sb.Append(p.PreviousType);
sb.Append("[] ");
sb.Append(p.Name);
}
else
sb.Append(p.ToString());
sb.Append(", ");
}
sb.Replace(", ", ")", sb.Length - 2, 2);
sw.WriteLine(" public static {0} {1}{2}", f.ReturnValue, f.Name.TrimEnd('_'), sb.ToString());
sw.WriteLine(" {");
int i = 0;
sb = new StringBuilder();
sb.Append("(");
foreach (Parameter p in f.Parameters)
{
if (p.Type == "IntPtr")
{
sw.WriteLine(" GCHandle h{0} = GCHandle.Alloc({1}, GCHandleType.Pinned);", i, p.Name);
sb.Append("h" + i + ".AddrOfPinnedObject()" + ", ");
i++;
}
else
{
sb.Append(p.Name + ", ");
}
}
sb.Replace(", ", ")", sb.Length - 2, 2);
sw.WriteLine(" try");
sw.WriteLine(" {");
if (f.ReturnValue == "void")
sw.WriteLine(" {0}{1};", f.Name, sb.ToString());
else
sw.WriteLine(" return {0}{1};", f.Name, sb.ToString());
sw.WriteLine(" }");
sw.WriteLine(" finally");
sw.WriteLine(" {");
while (i > 0)
{
sw.WriteLine(" h{0}.Free();", --i);
}
sw.WriteLine(" }");
sw.WriteLine(" }");
}
sw.WriteLine(" #endregion");
sw.WriteLine();
}
sw.WriteLine(" #endregion");
sw.WriteLine();
// if (fw.Parameters.ContainsType("object"))
// {
// Function f = WeakNameLookup(fw.Name, FunctionCollection);
// sw.WriteLine(" public {0} {1}{2}", fw.ReturnValue, fw.Name, fw.Parameters.ToString());
// sw.WriteLine(" {");
// int i = 0;
// StringBuilder sb = new StringBuilder();
// sb.Append("(");
// foreach (Parameter p in fw.Parameters)
// {
// if (p.Type == "object")
// {
// sw.WriteLine(" GCHandle h{0} = GCHandle.Alloc({1}, GCHandleType.Pinned);", i, p.Name);
// sb.Append("h" + i + ".AddrOfPinnedObject()" + ", ");
// i++;
// }
// else
// {
// sb.Append(p.Name + ", ");
// }
// }
// sb.Replace(", ", ")", sb.Length - 2, 2);
// sw.WriteLine(" try");
// sw.WriteLine(" {");
// if (fw.ReturnValue == "void")
// sw.WriteLine(" {0}{1};", f.Name, sb.ToString());
// else
// sw.WriteLine(" return {0}{1};", f.Name, sb.ToString());
// sw.WriteLine(" }");
// sw.WriteLine(" finally");
// sw.WriteLine(" {");
// while (i > 0)
// {
// sw.WriteLine(" h{0}.Free();", --i);
// }
// sw.WriteLine(" }");
// sw.WriteLine(" }");
// sw.WriteLine();
// }
//sw.WriteLine(" #endregion");
//sw.WriteLine(" }");
//sw.WriteLine("}");
//sw.Flush();
//sw.Close();
sw.WriteLine(" #endregion");
}
#endregion
}

View file

@ -1,12 +1,28 @@
OpenTK.OpenGL.Bind 0.7.5.1 -> 0.7.5.2
OpenTK.OpenGL.Bind 0.7.6
0.7.5.2 -> 0.7.6
+ Added NeedWrapper and WrapperType properties to each parameter (needed for more fince grained control on wrapper generation).
+ Added Function, Parameter, ParameterCollection (deep) copy constructors. This allows simpler code in many places (since we can now create new Functions without fear of affecting the old ones, for example).
+ Merged the ParameterCollection.cs with Parameter.cs
+ Added the FunctionBody class which contains the contents of a function as a list of strings. It is mainly intended for wrappers (allows cleaner code, too).
+ The wrapper generation now happens in TranlateSpecs.cs instead of WriteSpecs.cs. (Translations and generations should only happen during the translation phase, not while reading or writing. Allow for cleaner code).
+ Revamped the wrapper generator code. Now it handles correctly the cases where a function has more than one parameter that needs wrapping (i.e. it generates all permutations correctly). This is handled by recursively generating the needed permutations (it was a hell to implement).
+ Added some comments (many more to follow).
+ Removed some commented-out regions and some obsolete functions.
0.7.5.1 -> 0.7.5.2
+ Added translation for out char[] parameters (they are treated as StringBuilders, as specified in MSDN).
+ Added System.Text using directive.
OpenTK.OpenGL.Bind 0.7.5 -> 0.7.5.1
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
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...

View file

@ -0,0 +1,5 @@
OpenTK.OpenGL.Bind 0.7.6 todos:
+ Clean up the reader.
+ Add more settings to Settings.cs (the name of the files to read).
+ Comment the code.

File diff suppressed because it is too large Load diff

View file

@ -56,7 +56,7 @@ namespace OpenTK.OpenGL
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.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_));
@ -181,7 +181,7 @@ namespace OpenTK.OpenGL
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.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_));
@ -196,8 +196,8 @@ namespace OpenTK.OpenGL
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.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));
@ -208,8 +208,8 @@ namespace OpenTK.OpenGL
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.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));
@ -272,34 +272,34 @@ namespace OpenTK.OpenGL
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.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.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.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));
@ -327,7 +327,7 @@ namespace OpenTK.OpenGL
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.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_));
@ -338,12 +338,12 @@ namespace OpenTK.OpenGL
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.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.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));
@ -358,8 +358,8 @@ namespace OpenTK.OpenGL
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.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_));
@ -371,22 +371,22 @@ namespace OpenTK.OpenGL
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.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.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.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.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));
@ -427,20 +427,20 @@ namespace OpenTK.OpenGL
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.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.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_));
@ -479,32 +479,32 @@ namespace OpenTK.OpenGL
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.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.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.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.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.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));
@ -513,22 +513,22 @@ namespace OpenTK.OpenGL
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.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));
@ -630,13 +630,13 @@ namespace OpenTK.OpenGL
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.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_));
@ -712,7 +712,7 @@ namespace OpenTK.OpenGL
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.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));
@ -721,36 +721,36 @@ namespace OpenTK.OpenGL
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.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.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.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.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.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));
@ -781,39 +781,39 @@ namespace OpenTK.OpenGL
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.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.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.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.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.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));
@ -827,8 +827,8 @@ namespace OpenTK.OpenGL
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.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_));
@ -836,34 +836,34 @@ namespace OpenTK.OpenGL
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.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.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.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.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.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.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_));
@ -878,8 +878,8 @@ namespace OpenTK.OpenGL
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.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));
@ -892,22 +892,22 @@ namespace OpenTK.OpenGL
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.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.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.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));
@ -916,8 +916,8 @@ namespace OpenTK.OpenGL
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.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_));
@ -931,18 +931,18 @@ namespace OpenTK.OpenGL
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.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.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));
@ -972,7 +972,7 @@ namespace OpenTK.OpenGL
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.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_));
@ -1071,12 +1071,12 @@ namespace OpenTK.OpenGL
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.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_));
@ -1118,37 +1118,37 @@ namespace OpenTK.OpenGL
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.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.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.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.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.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));
@ -1201,8 +1201,8 @@ namespace OpenTK.OpenGL
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.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));
@ -1222,15 +1222,15 @@ namespace OpenTK.OpenGL
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.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.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.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));
@ -1263,16 +1263,16 @@ namespace OpenTK.OpenGL
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.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));
@ -1322,13 +1322,13 @@ namespace OpenTK.OpenGL
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.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.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));
@ -1337,7 +1337,7 @@ namespace OpenTK.OpenGL
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.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));
@ -1414,26 +1414,26 @@ namespace OpenTK.OpenGL
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.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.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.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.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.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_));
}

View file

@ -57,7 +57,7 @@ namespace OpenTK.OpenGL.Platform
GL.Color4us = new GL.Delegates.Color4us(GL.Imports.Color4us);
GL.Color4usv_ = new GL.Delegates.Color4usv_(GL.Imports.Color4usv_);
GL.EdgeFlag = new GL.Delegates.EdgeFlag(GL.Imports.EdgeFlag);
GL.EdgeFlagv = new GL.Delegates.EdgeFlagv(GL.Imports.EdgeFlagv);
GL.EdgeFlagv_ = new GL.Delegates.EdgeFlagv_(GL.Imports.EdgeFlagv_);
GL.End = new GL.Delegates.End(GL.Imports.End);
GL.Indexd = new GL.Delegates.Indexd(GL.Imports.Indexd);
GL.Indexdv_ = new GL.Delegates.Indexdv_(GL.Imports.Indexdv_);
@ -182,7 +182,7 @@ namespace OpenTK.OpenGL.Platform
GL.LightModelfv_ = new GL.Delegates.LightModelfv_(GL.Imports.LightModelfv_);
GL.LightModeli = new GL.Delegates.LightModeli(GL.Imports.LightModeli);
GL.LightModeliv_ = new GL.Delegates.LightModeliv_(GL.Imports.LightModeliv_);
GL.LineStipple = new GL.Delegates.LineStipple(GL.Imports.LineStipple);
GL.LineStipple_ = new GL.Delegates.LineStipple_(GL.Imports.LineStipple_);
GL.LineWidth = new GL.Delegates.LineWidth(GL.Imports.LineWidth);
GL.Materialf = new GL.Delegates.Materialf(GL.Imports.Materialf);
GL.Materialfv_ = new GL.Delegates.Materialfv_(GL.Imports.Materialfv_);
@ -197,8 +197,8 @@ namespace OpenTK.OpenGL.Platform
GL.TexParameterfv_ = new GL.Delegates.TexParameterfv_(GL.Imports.TexParameterfv_);
GL.TexParameteri = new GL.Delegates.TexParameteri(GL.Imports.TexParameteri);
GL.TexParameteriv_ = new GL.Delegates.TexParameteriv_(GL.Imports.TexParameteriv_);
GL.TexImage1D = new GL.Delegates.TexImage1D(GL.Imports.TexImage1D);
GL.TexImage2D = new GL.Delegates.TexImage2D(GL.Imports.TexImage2D);
GL.TexImage1D_ = new GL.Delegates.TexImage1D_(GL.Imports.TexImage1D_);
GL.TexImage2D_ = new GL.Delegates.TexImage2D_(GL.Imports.TexImage2D_);
GL.TexEnvf = new GL.Delegates.TexEnvf(GL.Imports.TexEnvf);
GL.TexEnvfv_ = new GL.Delegates.TexEnvfv_(GL.Imports.TexEnvfv_);
GL.TexEnvi = new GL.Delegates.TexEnvi(GL.Imports.TexEnvi);
@ -209,8 +209,8 @@ namespace OpenTK.OpenGL.Platform
GL.TexGenfv_ = new GL.Delegates.TexGenfv_(GL.Imports.TexGenfv_);
GL.TexGeni = new GL.Delegates.TexGeni(GL.Imports.TexGeni);
GL.TexGeniv_ = new GL.Delegates.TexGeniv_(GL.Imports.TexGeniv_);
GL.FeedbackBuffer = new GL.Delegates.FeedbackBuffer(GL.Imports.FeedbackBuffer);
GL.SelectBuffer = new GL.Delegates.SelectBuffer(GL.Imports.SelectBuffer);
GL.FeedbackBuffer_ = new GL.Delegates.FeedbackBuffer_(GL.Imports.FeedbackBuffer_);
GL.SelectBuffer_ = new GL.Delegates.SelectBuffer_(GL.Imports.SelectBuffer_);
GL.RenderMode = new GL.Delegates.RenderMode(GL.Imports.RenderMode);
GL.InitNames = new GL.Delegates.InitNames(GL.Imports.InitNames);
GL.LoadName = new GL.Delegates.LoadName(GL.Imports.LoadName);
@ -273,34 +273,34 @@ namespace OpenTK.OpenGL.Platform
GL.CopyPixels = new GL.Delegates.CopyPixels(GL.Imports.CopyPixels);
GL.ReadPixels_ = new GL.Delegates.ReadPixels_(GL.Imports.ReadPixels_);
GL.DrawPixels_ = new GL.Delegates.DrawPixels_(GL.Imports.DrawPixels_);
GL.GetBooleanv = new GL.Delegates.GetBooleanv(GL.Imports.GetBooleanv);
GL.GetClipPlane = new GL.Delegates.GetClipPlane(GL.Imports.GetClipPlane);
GL.GetDoublev = new GL.Delegates.GetDoublev(GL.Imports.GetDoublev);
GL.GetBooleanv_ = new GL.Delegates.GetBooleanv_(GL.Imports.GetBooleanv_);
GL.GetClipPlane_ = new GL.Delegates.GetClipPlane_(GL.Imports.GetClipPlane_);
GL.GetDoublev_ = new GL.Delegates.GetDoublev_(GL.Imports.GetDoublev_);
GL.GetError = new GL.Delegates.GetError(GL.Imports.GetError);
GL.GetFloatv = new GL.Delegates.GetFloatv(GL.Imports.GetFloatv);
GL.GetIntegerv = new GL.Delegates.GetIntegerv(GL.Imports.GetIntegerv);
GL.GetLightfv = new GL.Delegates.GetLightfv(GL.Imports.GetLightfv);
GL.GetLightiv = new GL.Delegates.GetLightiv(GL.Imports.GetLightiv);
GL.GetMapdv = new GL.Delegates.GetMapdv(GL.Imports.GetMapdv);
GL.GetMapfv = new GL.Delegates.GetMapfv(GL.Imports.GetMapfv);
GL.GetMapiv = new GL.Delegates.GetMapiv(GL.Imports.GetMapiv);
GL.GetMaterialfv = new GL.Delegates.GetMaterialfv(GL.Imports.GetMaterialfv);
GL.GetMaterialiv = new GL.Delegates.GetMaterialiv(GL.Imports.GetMaterialiv);
GL.GetPixelMapfv = new GL.Delegates.GetPixelMapfv(GL.Imports.GetPixelMapfv);
GL.GetPixelMapuiv = new GL.Delegates.GetPixelMapuiv(GL.Imports.GetPixelMapuiv);
GL.GetPixelMapusv = new GL.Delegates.GetPixelMapusv(GL.Imports.GetPixelMapusv);
GL.GetPolygonStipple = new GL.Delegates.GetPolygonStipple(GL.Imports.GetPolygonStipple);
GL.GetFloatv_ = new GL.Delegates.GetFloatv_(GL.Imports.GetFloatv_);
GL.GetIntegerv_ = new GL.Delegates.GetIntegerv_(GL.Imports.GetIntegerv_);
GL.GetLightfv_ = new GL.Delegates.GetLightfv_(GL.Imports.GetLightfv_);
GL.GetLightiv_ = new GL.Delegates.GetLightiv_(GL.Imports.GetLightiv_);
GL.GetMapdv_ = new GL.Delegates.GetMapdv_(GL.Imports.GetMapdv_);
GL.GetMapfv_ = new GL.Delegates.GetMapfv_(GL.Imports.GetMapfv_);
GL.GetMapiv_ = new GL.Delegates.GetMapiv_(GL.Imports.GetMapiv_);
GL.GetMaterialfv_ = new GL.Delegates.GetMaterialfv_(GL.Imports.GetMaterialfv_);
GL.GetMaterialiv_ = new GL.Delegates.GetMaterialiv_(GL.Imports.GetMaterialiv_);
GL.GetPixelMapfv_ = new GL.Delegates.GetPixelMapfv_(GL.Imports.GetPixelMapfv_);
GL.GetPixelMapuiv_ = new GL.Delegates.GetPixelMapuiv_(GL.Imports.GetPixelMapuiv_);
GL.GetPixelMapusv_ = new GL.Delegates.GetPixelMapusv_(GL.Imports.GetPixelMapusv_);
GL.GetPolygonStipple_ = new GL.Delegates.GetPolygonStipple_(GL.Imports.GetPolygonStipple_);
GL.GetString_ = new GL.Delegates.GetString_(GL.Imports.GetString_);
GL.GetTexEnvfv = new GL.Delegates.GetTexEnvfv(GL.Imports.GetTexEnvfv);
GL.GetTexEnviv = new GL.Delegates.GetTexEnviv(GL.Imports.GetTexEnviv);
GL.GetTexGendv = new GL.Delegates.GetTexGendv(GL.Imports.GetTexGendv);
GL.GetTexGenfv = new GL.Delegates.GetTexGenfv(GL.Imports.GetTexGenfv);
GL.GetTexGeniv = new GL.Delegates.GetTexGeniv(GL.Imports.GetTexGeniv);
GL.GetTexImage = new GL.Delegates.GetTexImage(GL.Imports.GetTexImage);
GL.GetTexParameterfv = new GL.Delegates.GetTexParameterfv(GL.Imports.GetTexParameterfv);
GL.GetTexParameteriv = new GL.Delegates.GetTexParameteriv(GL.Imports.GetTexParameteriv);
GL.GetTexLevelParameterfv = new GL.Delegates.GetTexLevelParameterfv(GL.Imports.GetTexLevelParameterfv);
GL.GetTexLevelParameteriv = new GL.Delegates.GetTexLevelParameteriv(GL.Imports.GetTexLevelParameteriv);
GL.GetTexEnvfv_ = new GL.Delegates.GetTexEnvfv_(GL.Imports.GetTexEnvfv_);
GL.GetTexEnviv_ = new GL.Delegates.GetTexEnviv_(GL.Imports.GetTexEnviv_);
GL.GetTexGendv_ = new GL.Delegates.GetTexGendv_(GL.Imports.GetTexGendv_);
GL.GetTexGenfv_ = new GL.Delegates.GetTexGenfv_(GL.Imports.GetTexGenfv_);
GL.GetTexGeniv_ = new GL.Delegates.GetTexGeniv_(GL.Imports.GetTexGeniv_);
GL.GetTexImage_ = new GL.Delegates.GetTexImage_(GL.Imports.GetTexImage_);
GL.GetTexParameterfv_ = new GL.Delegates.GetTexParameterfv_(GL.Imports.GetTexParameterfv_);
GL.GetTexParameteriv_ = new GL.Delegates.GetTexParameteriv_(GL.Imports.GetTexParameteriv_);
GL.GetTexLevelParameterfv_ = new GL.Delegates.GetTexLevelParameterfv_(GL.Imports.GetTexLevelParameterfv_);
GL.GetTexLevelParameteriv_ = new GL.Delegates.GetTexLevelParameteriv_(GL.Imports.GetTexLevelParameteriv_);
GL.IsEnabled = new GL.Delegates.IsEnabled(GL.Imports.IsEnabled);
GL.IsList = new GL.Delegates.IsList(GL.Imports.IsList);
GL.DepthRange = new GL.Delegates.DepthRange(GL.Imports.DepthRange);
@ -328,7 +328,7 @@ namespace OpenTK.OpenGL.Platform
GL.DrawElements_ = new GL.Delegates.DrawElements_(GL.Imports.DrawElements_);
GL.EdgeFlagPointer_ = new GL.Delegates.EdgeFlagPointer_(GL.Imports.EdgeFlagPointer_);
GL.EnableClientState = new GL.Delegates.EnableClientState(GL.Imports.EnableClientState);
GL.GetPointerv = new GL.Delegates.GetPointerv(GL.Imports.GetPointerv);
GL.GetPointerv_ = new GL.Delegates.GetPointerv_(GL.Imports.GetPointerv_);
GL.IndexPointer_ = new GL.Delegates.IndexPointer_(GL.Imports.IndexPointer_);
GL.InterleavedArrays_ = new GL.Delegates.InterleavedArrays_(GL.Imports.InterleavedArrays_);
GL.NormalPointer_ = new GL.Delegates.NormalPointer_(GL.Imports.NormalPointer_);
@ -339,12 +339,12 @@ namespace OpenTK.OpenGL.Platform
GL.CopyTexImage2D = new GL.Delegates.CopyTexImage2D(GL.Imports.CopyTexImage2D);
GL.CopyTexSubImage1D = new GL.Delegates.CopyTexSubImage1D(GL.Imports.CopyTexSubImage1D);
GL.CopyTexSubImage2D = new GL.Delegates.CopyTexSubImage2D(GL.Imports.CopyTexSubImage2D);
GL.TexSubImage1D = new GL.Delegates.TexSubImage1D(GL.Imports.TexSubImage1D);
GL.TexSubImage2D = new GL.Delegates.TexSubImage2D(GL.Imports.TexSubImage2D);
GL.TexSubImage1D_ = new GL.Delegates.TexSubImage1D_(GL.Imports.TexSubImage1D_);
GL.TexSubImage2D_ = new GL.Delegates.TexSubImage2D_(GL.Imports.TexSubImage2D_);
GL.AreTexturesResident_ = new GL.Delegates.AreTexturesResident_(GL.Imports.AreTexturesResident_);
GL.BindTexture = new GL.Delegates.BindTexture(GL.Imports.BindTexture);
GL.DeleteTextures_ = new GL.Delegates.DeleteTextures_(GL.Imports.DeleteTextures_);
GL.GenTextures = new GL.Delegates.GenTextures(GL.Imports.GenTextures);
GL.GenTextures_ = new GL.Delegates.GenTextures_(GL.Imports.GenTextures_);
GL.IsTexture = new GL.Delegates.IsTexture(GL.Imports.IsTexture);
GL.PrioritizeTextures_ = new GL.Delegates.PrioritizeTextures_(GL.Imports.PrioritizeTextures_);
GL.Indexub = new GL.Delegates.Indexub(GL.Imports.Indexub);

View file

@ -57,7 +57,7 @@ namespace OpenTK.OpenGL.Platform
GL.Color4us = new GL.Delegates.Color4us(GL.Imports.Color4us);
GL.Color4usv_ = new GL.Delegates.Color4usv_(GL.Imports.Color4usv_);
GL.EdgeFlag = new GL.Delegates.EdgeFlag(GL.Imports.EdgeFlag);
GL.EdgeFlagv = new GL.Delegates.EdgeFlagv(GL.Imports.EdgeFlagv);
GL.EdgeFlagv_ = new GL.Delegates.EdgeFlagv_(GL.Imports.EdgeFlagv_);
GL.End = new GL.Delegates.End(GL.Imports.End);
GL.Indexd = new GL.Delegates.Indexd(GL.Imports.Indexd);
GL.Indexdv_ = new GL.Delegates.Indexdv_(GL.Imports.Indexdv_);
@ -182,7 +182,7 @@ namespace OpenTK.OpenGL.Platform
GL.LightModelfv_ = new GL.Delegates.LightModelfv_(GL.Imports.LightModelfv_);
GL.LightModeli = new GL.Delegates.LightModeli(GL.Imports.LightModeli);
GL.LightModeliv_ = new GL.Delegates.LightModeliv_(GL.Imports.LightModeliv_);
GL.LineStipple = new GL.Delegates.LineStipple(GL.Imports.LineStipple);
GL.LineStipple_ = new GL.Delegates.LineStipple_(GL.Imports.LineStipple_);
GL.LineWidth = new GL.Delegates.LineWidth(GL.Imports.LineWidth);
GL.Materialf = new GL.Delegates.Materialf(GL.Imports.Materialf);
GL.Materialfv_ = new GL.Delegates.Materialfv_(GL.Imports.Materialfv_);
@ -197,8 +197,8 @@ namespace OpenTK.OpenGL.Platform
GL.TexParameterfv_ = new GL.Delegates.TexParameterfv_(GL.Imports.TexParameterfv_);
GL.TexParameteri = new GL.Delegates.TexParameteri(GL.Imports.TexParameteri);
GL.TexParameteriv_ = new GL.Delegates.TexParameteriv_(GL.Imports.TexParameteriv_);
GL.TexImage1D = new GL.Delegates.TexImage1D(GL.Imports.TexImage1D);
GL.TexImage2D = new GL.Delegates.TexImage2D(GL.Imports.TexImage2D);
GL.TexImage1D_ = new GL.Delegates.TexImage1D_(GL.Imports.TexImage1D_);
GL.TexImage2D_ = new GL.Delegates.TexImage2D_(GL.Imports.TexImage2D_);
GL.TexEnvf = new GL.Delegates.TexEnvf(GL.Imports.TexEnvf);
GL.TexEnvfv_ = new GL.Delegates.TexEnvfv_(GL.Imports.TexEnvfv_);
GL.TexEnvi = new GL.Delegates.TexEnvi(GL.Imports.TexEnvi);
@ -209,8 +209,8 @@ namespace OpenTK.OpenGL.Platform
GL.TexGenfv_ = new GL.Delegates.TexGenfv_(GL.Imports.TexGenfv_);
GL.TexGeni = new GL.Delegates.TexGeni(GL.Imports.TexGeni);
GL.TexGeniv_ = new GL.Delegates.TexGeniv_(GL.Imports.TexGeniv_);
GL.FeedbackBuffer = new GL.Delegates.FeedbackBuffer(GL.Imports.FeedbackBuffer);
GL.SelectBuffer = new GL.Delegates.SelectBuffer(GL.Imports.SelectBuffer);
GL.FeedbackBuffer_ = new GL.Delegates.FeedbackBuffer_(GL.Imports.FeedbackBuffer_);
GL.SelectBuffer_ = new GL.Delegates.SelectBuffer_(GL.Imports.SelectBuffer_);
GL.RenderMode = new GL.Delegates.RenderMode(GL.Imports.RenderMode);
GL.InitNames = new GL.Delegates.InitNames(GL.Imports.InitNames);
GL.LoadName = new GL.Delegates.LoadName(GL.Imports.LoadName);
@ -273,34 +273,34 @@ namespace OpenTK.OpenGL.Platform
GL.CopyPixels = new GL.Delegates.CopyPixels(GL.Imports.CopyPixels);
GL.ReadPixels_ = new GL.Delegates.ReadPixels_(GL.Imports.ReadPixels_);
GL.DrawPixels_ = new GL.Delegates.DrawPixels_(GL.Imports.DrawPixels_);
GL.GetBooleanv = new GL.Delegates.GetBooleanv(GL.Imports.GetBooleanv);
GL.GetClipPlane = new GL.Delegates.GetClipPlane(GL.Imports.GetClipPlane);
GL.GetDoublev = new GL.Delegates.GetDoublev(GL.Imports.GetDoublev);
GL.GetBooleanv_ = new GL.Delegates.GetBooleanv_(GL.Imports.GetBooleanv_);
GL.GetClipPlane_ = new GL.Delegates.GetClipPlane_(GL.Imports.GetClipPlane_);
GL.GetDoublev_ = new GL.Delegates.GetDoublev_(GL.Imports.GetDoublev_);
GL.GetError = new GL.Delegates.GetError(GL.Imports.GetError);
GL.GetFloatv = new GL.Delegates.GetFloatv(GL.Imports.GetFloatv);
GL.GetIntegerv = new GL.Delegates.GetIntegerv(GL.Imports.GetIntegerv);
GL.GetLightfv = new GL.Delegates.GetLightfv(GL.Imports.GetLightfv);
GL.GetLightiv = new GL.Delegates.GetLightiv(GL.Imports.GetLightiv);
GL.GetMapdv = new GL.Delegates.GetMapdv(GL.Imports.GetMapdv);
GL.GetMapfv = new GL.Delegates.GetMapfv(GL.Imports.GetMapfv);
GL.GetMapiv = new GL.Delegates.GetMapiv(GL.Imports.GetMapiv);
GL.GetMaterialfv = new GL.Delegates.GetMaterialfv(GL.Imports.GetMaterialfv);
GL.GetMaterialiv = new GL.Delegates.GetMaterialiv(GL.Imports.GetMaterialiv);
GL.GetPixelMapfv = new GL.Delegates.GetPixelMapfv(GL.Imports.GetPixelMapfv);
GL.GetPixelMapuiv = new GL.Delegates.GetPixelMapuiv(GL.Imports.GetPixelMapuiv);
GL.GetPixelMapusv = new GL.Delegates.GetPixelMapusv(GL.Imports.GetPixelMapusv);
GL.GetPolygonStipple = new GL.Delegates.GetPolygonStipple(GL.Imports.GetPolygonStipple);
GL.GetFloatv_ = new GL.Delegates.GetFloatv_(GL.Imports.GetFloatv_);
GL.GetIntegerv_ = new GL.Delegates.GetIntegerv_(GL.Imports.GetIntegerv_);
GL.GetLightfv_ = new GL.Delegates.GetLightfv_(GL.Imports.GetLightfv_);
GL.GetLightiv_ = new GL.Delegates.GetLightiv_(GL.Imports.GetLightiv_);
GL.GetMapdv_ = new GL.Delegates.GetMapdv_(GL.Imports.GetMapdv_);
GL.GetMapfv_ = new GL.Delegates.GetMapfv_(GL.Imports.GetMapfv_);
GL.GetMapiv_ = new GL.Delegates.GetMapiv_(GL.Imports.GetMapiv_);
GL.GetMaterialfv_ = new GL.Delegates.GetMaterialfv_(GL.Imports.GetMaterialfv_);
GL.GetMaterialiv_ = new GL.Delegates.GetMaterialiv_(GL.Imports.GetMaterialiv_);
GL.GetPixelMapfv_ = new GL.Delegates.GetPixelMapfv_(GL.Imports.GetPixelMapfv_);
GL.GetPixelMapuiv_ = new GL.Delegates.GetPixelMapuiv_(GL.Imports.GetPixelMapuiv_);
GL.GetPixelMapusv_ = new GL.Delegates.GetPixelMapusv_(GL.Imports.GetPixelMapusv_);
GL.GetPolygonStipple_ = new GL.Delegates.GetPolygonStipple_(GL.Imports.GetPolygonStipple_);
GL.GetString_ = new GL.Delegates.GetString_(GL.Imports.GetString_);
GL.GetTexEnvfv = new GL.Delegates.GetTexEnvfv(GL.Imports.GetTexEnvfv);
GL.GetTexEnviv = new GL.Delegates.GetTexEnviv(GL.Imports.GetTexEnviv);
GL.GetTexGendv = new GL.Delegates.GetTexGendv(GL.Imports.GetTexGendv);
GL.GetTexGenfv = new GL.Delegates.GetTexGenfv(GL.Imports.GetTexGenfv);
GL.GetTexGeniv = new GL.Delegates.GetTexGeniv(GL.Imports.GetTexGeniv);
GL.GetTexImage = new GL.Delegates.GetTexImage(GL.Imports.GetTexImage);
GL.GetTexParameterfv = new GL.Delegates.GetTexParameterfv(GL.Imports.GetTexParameterfv);
GL.GetTexParameteriv = new GL.Delegates.GetTexParameteriv(GL.Imports.GetTexParameteriv);
GL.GetTexLevelParameterfv = new GL.Delegates.GetTexLevelParameterfv(GL.Imports.GetTexLevelParameterfv);
GL.GetTexLevelParameteriv = new GL.Delegates.GetTexLevelParameteriv(GL.Imports.GetTexLevelParameteriv);
GL.GetTexEnvfv_ = new GL.Delegates.GetTexEnvfv_(GL.Imports.GetTexEnvfv_);
GL.GetTexEnviv_ = new GL.Delegates.GetTexEnviv_(GL.Imports.GetTexEnviv_);
GL.GetTexGendv_ = new GL.Delegates.GetTexGendv_(GL.Imports.GetTexGendv_);
GL.GetTexGenfv_ = new GL.Delegates.GetTexGenfv_(GL.Imports.GetTexGenfv_);
GL.GetTexGeniv_ = new GL.Delegates.GetTexGeniv_(GL.Imports.GetTexGeniv_);
GL.GetTexImage_ = new GL.Delegates.GetTexImage_(GL.Imports.GetTexImage_);
GL.GetTexParameterfv_ = new GL.Delegates.GetTexParameterfv_(GL.Imports.GetTexParameterfv_);
GL.GetTexParameteriv_ = new GL.Delegates.GetTexParameteriv_(GL.Imports.GetTexParameteriv_);
GL.GetTexLevelParameterfv_ = new GL.Delegates.GetTexLevelParameterfv_(GL.Imports.GetTexLevelParameterfv_);
GL.GetTexLevelParameteriv_ = new GL.Delegates.GetTexLevelParameteriv_(GL.Imports.GetTexLevelParameteriv_);
GL.IsEnabled = new GL.Delegates.IsEnabled(GL.Imports.IsEnabled);
GL.IsList = new GL.Delegates.IsList(GL.Imports.IsList);
GL.DepthRange = new GL.Delegates.DepthRange(GL.Imports.DepthRange);
@ -328,7 +328,7 @@ namespace OpenTK.OpenGL.Platform
GL.DrawElements_ = new GL.Delegates.DrawElements_(GL.Imports.DrawElements_);
GL.EdgeFlagPointer_ = new GL.Delegates.EdgeFlagPointer_(GL.Imports.EdgeFlagPointer_);
GL.EnableClientState = new GL.Delegates.EnableClientState(GL.Imports.EnableClientState);
GL.GetPointerv = new GL.Delegates.GetPointerv(GL.Imports.GetPointerv);
GL.GetPointerv_ = new GL.Delegates.GetPointerv_(GL.Imports.GetPointerv_);
GL.IndexPointer_ = new GL.Delegates.IndexPointer_(GL.Imports.IndexPointer_);
GL.InterleavedArrays_ = new GL.Delegates.InterleavedArrays_(GL.Imports.InterleavedArrays_);
GL.NormalPointer_ = new GL.Delegates.NormalPointer_(GL.Imports.NormalPointer_);
@ -339,12 +339,12 @@ namespace OpenTK.OpenGL.Platform
GL.CopyTexImage2D = new GL.Delegates.CopyTexImage2D(GL.Imports.CopyTexImage2D);
GL.CopyTexSubImage1D = new GL.Delegates.CopyTexSubImage1D(GL.Imports.CopyTexSubImage1D);
GL.CopyTexSubImage2D = new GL.Delegates.CopyTexSubImage2D(GL.Imports.CopyTexSubImage2D);
GL.TexSubImage1D = new GL.Delegates.TexSubImage1D(GL.Imports.TexSubImage1D);
GL.TexSubImage2D = new GL.Delegates.TexSubImage2D(GL.Imports.TexSubImage2D);
GL.TexSubImage1D_ = new GL.Delegates.TexSubImage1D_(GL.Imports.TexSubImage1D_);
GL.TexSubImage2D_ = new GL.Delegates.TexSubImage2D_(GL.Imports.TexSubImage2D_);
GL.AreTexturesResident_ = new GL.Delegates.AreTexturesResident_(GL.Imports.AreTexturesResident_);
GL.BindTexture = new GL.Delegates.BindTexture(GL.Imports.BindTexture);
GL.DeleteTextures_ = new GL.Delegates.DeleteTextures_(GL.Imports.DeleteTextures_);
GL.GenTextures = new GL.Delegates.GenTextures(GL.Imports.GenTextures);
GL.GenTextures_ = new GL.Delegates.GenTextures_(GL.Imports.GenTextures_);
GL.IsTexture = new GL.Delegates.IsTexture(GL.Imports.IsTexture);
GL.PrioritizeTextures_ = new GL.Delegates.PrioritizeTextures_(GL.Imports.PrioritizeTextures_);
GL.Indexub = new GL.Delegates.Indexub(GL.Imports.Indexub);
@ -359,8 +359,8 @@ namespace OpenTK.OpenGL.Platform
GL.ColorTableParameteriv_ = new GL.Delegates.ColorTableParameteriv_(GL.Imports.ColorTableParameteriv_);
GL.CopyColorTable = new GL.Delegates.CopyColorTable(GL.Imports.CopyColorTable);
GL.GetColorTable_ = new GL.Delegates.GetColorTable_(GL.Imports.GetColorTable_);
GL.GetColorTableParameterfv = new GL.Delegates.GetColorTableParameterfv(GL.Imports.GetColorTableParameterfv);
GL.GetColorTableParameteriv = new GL.Delegates.GetColorTableParameteriv(GL.Imports.GetColorTableParameteriv);
GL.GetColorTableParameterfv_ = new GL.Delegates.GetColorTableParameterfv_(GL.Imports.GetColorTableParameterfv_);
GL.GetColorTableParameteriv_ = new GL.Delegates.GetColorTableParameteriv_(GL.Imports.GetColorTableParameteriv_);
GL.ColorSubTable_ = new GL.Delegates.ColorSubTable_(GL.Imports.ColorSubTable_);
GL.CopyColorSubTable = new GL.Delegates.CopyColorSubTable(GL.Imports.CopyColorSubTable);
GL.ConvolutionFilter1D_ = new GL.Delegates.ConvolutionFilter1D_(GL.Imports.ConvolutionFilter1D_);
@ -372,22 +372,22 @@ namespace OpenTK.OpenGL.Platform
GL.CopyConvolutionFilter1D = new GL.Delegates.CopyConvolutionFilter1D(GL.Imports.CopyConvolutionFilter1D);
GL.CopyConvolutionFilter2D = new GL.Delegates.CopyConvolutionFilter2D(GL.Imports.CopyConvolutionFilter2D);
GL.GetConvolutionFilter_ = new GL.Delegates.GetConvolutionFilter_(GL.Imports.GetConvolutionFilter_);
GL.GetConvolutionParameterfv = new GL.Delegates.GetConvolutionParameterfv(GL.Imports.GetConvolutionParameterfv);
GL.GetConvolutionParameteriv = new GL.Delegates.GetConvolutionParameteriv(GL.Imports.GetConvolutionParameteriv);
GL.GetConvolutionParameterfv_ = new GL.Delegates.GetConvolutionParameterfv_(GL.Imports.GetConvolutionParameterfv_);
GL.GetConvolutionParameteriv_ = new GL.Delegates.GetConvolutionParameteriv_(GL.Imports.GetConvolutionParameteriv_);
GL.GetSeparableFilter_ = new GL.Delegates.GetSeparableFilter_(GL.Imports.GetSeparableFilter_);
GL.SeparableFilter2D_ = new GL.Delegates.SeparableFilter2D_(GL.Imports.SeparableFilter2D_);
GL.GetHistogram_ = new GL.Delegates.GetHistogram_(GL.Imports.GetHistogram_);
GL.GetHistogramParameterfv = new GL.Delegates.GetHistogramParameterfv(GL.Imports.GetHistogramParameterfv);
GL.GetHistogramParameteriv = new GL.Delegates.GetHistogramParameteriv(GL.Imports.GetHistogramParameteriv);
GL.GetHistogramParameterfv_ = new GL.Delegates.GetHistogramParameterfv_(GL.Imports.GetHistogramParameterfv_);
GL.GetHistogramParameteriv_ = new GL.Delegates.GetHistogramParameteriv_(GL.Imports.GetHistogramParameteriv_);
GL.GetMinmax_ = new GL.Delegates.GetMinmax_(GL.Imports.GetMinmax_);
GL.GetMinmaxParameterfv = new GL.Delegates.GetMinmaxParameterfv(GL.Imports.GetMinmaxParameterfv);
GL.GetMinmaxParameteriv = new GL.Delegates.GetMinmaxParameteriv(GL.Imports.GetMinmaxParameteriv);
GL.GetMinmaxParameterfv_ = new GL.Delegates.GetMinmaxParameterfv_(GL.Imports.GetMinmaxParameterfv_);
GL.GetMinmaxParameteriv_ = new GL.Delegates.GetMinmaxParameteriv_(GL.Imports.GetMinmaxParameteriv_);
GL.Histogram = new GL.Delegates.Histogram(GL.Imports.Histogram);
GL.Minmax = new GL.Delegates.Minmax(GL.Imports.Minmax);
GL.ResetHistogram = new GL.Delegates.ResetHistogram(GL.Imports.ResetHistogram);
GL.ResetMinmax = new GL.Delegates.ResetMinmax(GL.Imports.ResetMinmax);
GL.TexImage3D = new GL.Delegates.TexImage3D(GL.Imports.TexImage3D);
GL.TexSubImage3D = new GL.Delegates.TexSubImage3D(GL.Imports.TexSubImage3D);
GL.TexImage3D_ = new GL.Delegates.TexImage3D_(GL.Imports.TexImage3D_);
GL.TexSubImage3D_ = new GL.Delegates.TexSubImage3D_(GL.Imports.TexSubImage3D_);
GL.CopyTexSubImage3D = new GL.Delegates.CopyTexSubImage3D(GL.Imports.CopyTexSubImage3D);
GL.ActiveTexture = new GL.Delegates.ActiveTexture(GL.Imports.ActiveTexture);
GL.ClientActiveTexture = new GL.Delegates.ClientActiveTexture(GL.Imports.ClientActiveTexture);
@ -428,20 +428,20 @@ namespace OpenTK.OpenGL.Platform
GL.MultTransposeMatrixf_ = new GL.Delegates.MultTransposeMatrixf_(GL.Imports.MultTransposeMatrixf_);
GL.MultTransposeMatrixd_ = new GL.Delegates.MultTransposeMatrixd_(GL.Imports.MultTransposeMatrixd_);
GL.SampleCoverage = new GL.Delegates.SampleCoverage(GL.Imports.SampleCoverage);
GL.CompressedTexImage3D = new GL.Delegates.CompressedTexImage3D(GL.Imports.CompressedTexImage3D);
GL.CompressedTexImage2D = new GL.Delegates.CompressedTexImage2D(GL.Imports.CompressedTexImage2D);
GL.CompressedTexImage1D = new GL.Delegates.CompressedTexImage1D(GL.Imports.CompressedTexImage1D);
GL.CompressedTexSubImage3D = new GL.Delegates.CompressedTexSubImage3D(GL.Imports.CompressedTexSubImage3D);
GL.CompressedTexSubImage2D = new GL.Delegates.CompressedTexSubImage2D(GL.Imports.CompressedTexSubImage2D);
GL.CompressedTexSubImage1D = new GL.Delegates.CompressedTexSubImage1D(GL.Imports.CompressedTexSubImage1D);
GL.GetCompressedTexImage = new GL.Delegates.GetCompressedTexImage(GL.Imports.GetCompressedTexImage);
GL.CompressedTexImage3D_ = new GL.Delegates.CompressedTexImage3D_(GL.Imports.CompressedTexImage3D_);
GL.CompressedTexImage2D_ = new GL.Delegates.CompressedTexImage2D_(GL.Imports.CompressedTexImage2D_);
GL.CompressedTexImage1D_ = new GL.Delegates.CompressedTexImage1D_(GL.Imports.CompressedTexImage1D_);
GL.CompressedTexSubImage3D_ = new GL.Delegates.CompressedTexSubImage3D_(GL.Imports.CompressedTexSubImage3D_);
GL.CompressedTexSubImage2D_ = new GL.Delegates.CompressedTexSubImage2D_(GL.Imports.CompressedTexSubImage2D_);
GL.CompressedTexSubImage1D_ = new GL.Delegates.CompressedTexSubImage1D_(GL.Imports.CompressedTexSubImage1D_);
GL.GetCompressedTexImage_ = new GL.Delegates.GetCompressedTexImage_(GL.Imports.GetCompressedTexImage_);
GL.BlendFuncSeparate = new GL.Delegates.BlendFuncSeparate(GL.Imports.BlendFuncSeparate);
GL.FogCoordf = new GL.Delegates.FogCoordf(GL.Imports.FogCoordf);
GL.FogCoordfv_ = new GL.Delegates.FogCoordfv_(GL.Imports.FogCoordfv_);
GL.FogCoordd = new GL.Delegates.FogCoordd(GL.Imports.FogCoordd);
GL.FogCoorddv_ = new GL.Delegates.FogCoorddv_(GL.Imports.FogCoorddv_);
GL.FogCoordPointer_ = new GL.Delegates.FogCoordPointer_(GL.Imports.FogCoordPointer_);
GL.MultiDrawArrays = new GL.Delegates.MultiDrawArrays(GL.Imports.MultiDrawArrays);
GL.MultiDrawArrays_ = new GL.Delegates.MultiDrawArrays_(GL.Imports.MultiDrawArrays_);
GL.MultiDrawElements_ = new GL.Delegates.MultiDrawElements_(GL.Imports.MultiDrawElements_);
GL.PointParameterf = new GL.Delegates.PointParameterf(GL.Imports.PointParameterf);
GL.PointParameterfv_ = new GL.Delegates.PointParameterfv_(GL.Imports.PointParameterfv_);

View file

@ -57,7 +57,7 @@ namespace OpenTK.OpenGL.Platform
GL.Color4us = new GL.Delegates.Color4us(GL.Imports.Color4us);
GL.Color4usv_ = new GL.Delegates.Color4usv_(GL.Imports.Color4usv_);
GL.EdgeFlag = new GL.Delegates.EdgeFlag(GL.Imports.EdgeFlag);
GL.EdgeFlagv = new GL.Delegates.EdgeFlagv(GL.Imports.EdgeFlagv);
GL.EdgeFlagv_ = new GL.Delegates.EdgeFlagv_(GL.Imports.EdgeFlagv_);
GL.End = new GL.Delegates.End(GL.Imports.End);
GL.Indexd = new GL.Delegates.Indexd(GL.Imports.Indexd);
GL.Indexdv_ = new GL.Delegates.Indexdv_(GL.Imports.Indexdv_);
@ -182,7 +182,7 @@ namespace OpenTK.OpenGL.Platform
GL.LightModelfv_ = new GL.Delegates.LightModelfv_(GL.Imports.LightModelfv_);
GL.LightModeli = new GL.Delegates.LightModeli(GL.Imports.LightModeli);
GL.LightModeliv_ = new GL.Delegates.LightModeliv_(GL.Imports.LightModeliv_);
GL.LineStipple = new GL.Delegates.LineStipple(GL.Imports.LineStipple);
GL.LineStipple_ = new GL.Delegates.LineStipple_(GL.Imports.LineStipple_);
GL.LineWidth = new GL.Delegates.LineWidth(GL.Imports.LineWidth);
GL.Materialf = new GL.Delegates.Materialf(GL.Imports.Materialf);
GL.Materialfv_ = new GL.Delegates.Materialfv_(GL.Imports.Materialfv_);
@ -197,8 +197,8 @@ namespace OpenTK.OpenGL.Platform
GL.TexParameterfv_ = new GL.Delegates.TexParameterfv_(GL.Imports.TexParameterfv_);
GL.TexParameteri = new GL.Delegates.TexParameteri(GL.Imports.TexParameteri);
GL.TexParameteriv_ = new GL.Delegates.TexParameteriv_(GL.Imports.TexParameteriv_);
GL.TexImage1D = new GL.Delegates.TexImage1D(GL.Imports.TexImage1D);
GL.TexImage2D = new GL.Delegates.TexImage2D(GL.Imports.TexImage2D);
GL.TexImage1D_ = new GL.Delegates.TexImage1D_(GL.Imports.TexImage1D_);
GL.TexImage2D_ = new GL.Delegates.TexImage2D_(GL.Imports.TexImage2D_);
GL.TexEnvf = new GL.Delegates.TexEnvf(GL.Imports.TexEnvf);
GL.TexEnvfv_ = new GL.Delegates.TexEnvfv_(GL.Imports.TexEnvfv_);
GL.TexEnvi = new GL.Delegates.TexEnvi(GL.Imports.TexEnvi);
@ -209,8 +209,8 @@ namespace OpenTK.OpenGL.Platform
GL.TexGenfv_ = new GL.Delegates.TexGenfv_(GL.Imports.TexGenfv_);
GL.TexGeni = new GL.Delegates.TexGeni(GL.Imports.TexGeni);
GL.TexGeniv_ = new GL.Delegates.TexGeniv_(GL.Imports.TexGeniv_);
GL.FeedbackBuffer = new GL.Delegates.FeedbackBuffer(GL.Imports.FeedbackBuffer);
GL.SelectBuffer = new GL.Delegates.SelectBuffer(GL.Imports.SelectBuffer);
GL.FeedbackBuffer_ = new GL.Delegates.FeedbackBuffer_(GL.Imports.FeedbackBuffer_);
GL.SelectBuffer_ = new GL.Delegates.SelectBuffer_(GL.Imports.SelectBuffer_);
GL.RenderMode = new GL.Delegates.RenderMode(GL.Imports.RenderMode);
GL.InitNames = new GL.Delegates.InitNames(GL.Imports.InitNames);
GL.LoadName = new GL.Delegates.LoadName(GL.Imports.LoadName);
@ -273,34 +273,34 @@ namespace OpenTK.OpenGL.Platform
GL.CopyPixels = new GL.Delegates.CopyPixels(GL.Imports.CopyPixels);
GL.ReadPixels_ = new GL.Delegates.ReadPixels_(GL.Imports.ReadPixels_);
GL.DrawPixels_ = new GL.Delegates.DrawPixels_(GL.Imports.DrawPixels_);
GL.GetBooleanv = new GL.Delegates.GetBooleanv(GL.Imports.GetBooleanv);
GL.GetClipPlane = new GL.Delegates.GetClipPlane(GL.Imports.GetClipPlane);
GL.GetDoublev = new GL.Delegates.GetDoublev(GL.Imports.GetDoublev);
GL.GetBooleanv_ = new GL.Delegates.GetBooleanv_(GL.Imports.GetBooleanv_);
GL.GetClipPlane_ = new GL.Delegates.GetClipPlane_(GL.Imports.GetClipPlane_);
GL.GetDoublev_ = new GL.Delegates.GetDoublev_(GL.Imports.GetDoublev_);
GL.GetError = new GL.Delegates.GetError(GL.Imports.GetError);
GL.GetFloatv = new GL.Delegates.GetFloatv(GL.Imports.GetFloatv);
GL.GetIntegerv = new GL.Delegates.GetIntegerv(GL.Imports.GetIntegerv);
GL.GetLightfv = new GL.Delegates.GetLightfv(GL.Imports.GetLightfv);
GL.GetLightiv = new GL.Delegates.GetLightiv(GL.Imports.GetLightiv);
GL.GetMapdv = new GL.Delegates.GetMapdv(GL.Imports.GetMapdv);
GL.GetMapfv = new GL.Delegates.GetMapfv(GL.Imports.GetMapfv);
GL.GetMapiv = new GL.Delegates.GetMapiv(GL.Imports.GetMapiv);
GL.GetMaterialfv = new GL.Delegates.GetMaterialfv(GL.Imports.GetMaterialfv);
GL.GetMaterialiv = new GL.Delegates.GetMaterialiv(GL.Imports.GetMaterialiv);
GL.GetPixelMapfv = new GL.Delegates.GetPixelMapfv(GL.Imports.GetPixelMapfv);
GL.GetPixelMapuiv = new GL.Delegates.GetPixelMapuiv(GL.Imports.GetPixelMapuiv);
GL.GetPixelMapusv = new GL.Delegates.GetPixelMapusv(GL.Imports.GetPixelMapusv);
GL.GetPolygonStipple = new GL.Delegates.GetPolygonStipple(GL.Imports.GetPolygonStipple);
GL.GetFloatv_ = new GL.Delegates.GetFloatv_(GL.Imports.GetFloatv_);
GL.GetIntegerv_ = new GL.Delegates.GetIntegerv_(GL.Imports.GetIntegerv_);
GL.GetLightfv_ = new GL.Delegates.GetLightfv_(GL.Imports.GetLightfv_);
GL.GetLightiv_ = new GL.Delegates.GetLightiv_(GL.Imports.GetLightiv_);
GL.GetMapdv_ = new GL.Delegates.GetMapdv_(GL.Imports.GetMapdv_);
GL.GetMapfv_ = new GL.Delegates.GetMapfv_(GL.Imports.GetMapfv_);
GL.GetMapiv_ = new GL.Delegates.GetMapiv_(GL.Imports.GetMapiv_);
GL.GetMaterialfv_ = new GL.Delegates.GetMaterialfv_(GL.Imports.GetMaterialfv_);
GL.GetMaterialiv_ = new GL.Delegates.GetMaterialiv_(GL.Imports.GetMaterialiv_);
GL.GetPixelMapfv_ = new GL.Delegates.GetPixelMapfv_(GL.Imports.GetPixelMapfv_);
GL.GetPixelMapuiv_ = new GL.Delegates.GetPixelMapuiv_(GL.Imports.GetPixelMapuiv_);
GL.GetPixelMapusv_ = new GL.Delegates.GetPixelMapusv_(GL.Imports.GetPixelMapusv_);
GL.GetPolygonStipple_ = new GL.Delegates.GetPolygonStipple_(GL.Imports.GetPolygonStipple_);
GL.GetString_ = new GL.Delegates.GetString_(GL.Imports.GetString_);
GL.GetTexEnvfv = new GL.Delegates.GetTexEnvfv(GL.Imports.GetTexEnvfv);
GL.GetTexEnviv = new GL.Delegates.GetTexEnviv(GL.Imports.GetTexEnviv);
GL.GetTexGendv = new GL.Delegates.GetTexGendv(GL.Imports.GetTexGendv);
GL.GetTexGenfv = new GL.Delegates.GetTexGenfv(GL.Imports.GetTexGenfv);
GL.GetTexGeniv = new GL.Delegates.GetTexGeniv(GL.Imports.GetTexGeniv);
GL.GetTexImage = new GL.Delegates.GetTexImage(GL.Imports.GetTexImage);
GL.GetTexParameterfv = new GL.Delegates.GetTexParameterfv(GL.Imports.GetTexParameterfv);
GL.GetTexParameteriv = new GL.Delegates.GetTexParameteriv(GL.Imports.GetTexParameteriv);
GL.GetTexLevelParameterfv = new GL.Delegates.GetTexLevelParameterfv(GL.Imports.GetTexLevelParameterfv);
GL.GetTexLevelParameteriv = new GL.Delegates.GetTexLevelParameteriv(GL.Imports.GetTexLevelParameteriv);
GL.GetTexEnvfv_ = new GL.Delegates.GetTexEnvfv_(GL.Imports.GetTexEnvfv_);
GL.GetTexEnviv_ = new GL.Delegates.GetTexEnviv_(GL.Imports.GetTexEnviv_);
GL.GetTexGendv_ = new GL.Delegates.GetTexGendv_(GL.Imports.GetTexGendv_);
GL.GetTexGenfv_ = new GL.Delegates.GetTexGenfv_(GL.Imports.GetTexGenfv_);
GL.GetTexGeniv_ = new GL.Delegates.GetTexGeniv_(GL.Imports.GetTexGeniv_);
GL.GetTexImage_ = new GL.Delegates.GetTexImage_(GL.Imports.GetTexImage_);
GL.GetTexParameterfv_ = new GL.Delegates.GetTexParameterfv_(GL.Imports.GetTexParameterfv_);
GL.GetTexParameteriv_ = new GL.Delegates.GetTexParameteriv_(GL.Imports.GetTexParameteriv_);
GL.GetTexLevelParameterfv_ = new GL.Delegates.GetTexLevelParameterfv_(GL.Imports.GetTexLevelParameterfv_);
GL.GetTexLevelParameteriv_ = new GL.Delegates.GetTexLevelParameteriv_(GL.Imports.GetTexLevelParameteriv_);
GL.IsEnabled = new GL.Delegates.IsEnabled(GL.Imports.IsEnabled);
GL.IsList = new GL.Delegates.IsList(GL.Imports.IsList);
GL.DepthRange = new GL.Delegates.DepthRange(GL.Imports.DepthRange);
@ -328,7 +328,7 @@ namespace OpenTK.OpenGL.Platform
GL.DrawElements_ = new GL.Delegates.DrawElements_(GL.Imports.DrawElements_);
GL.EdgeFlagPointer_ = new GL.Delegates.EdgeFlagPointer_(GL.Imports.EdgeFlagPointer_);
GL.EnableClientState = new GL.Delegates.EnableClientState(GL.Imports.EnableClientState);
GL.GetPointerv = new GL.Delegates.GetPointerv(GL.Imports.GetPointerv);
GL.GetPointerv_ = new GL.Delegates.GetPointerv_(GL.Imports.GetPointerv_);
GL.IndexPointer_ = new GL.Delegates.IndexPointer_(GL.Imports.IndexPointer_);
GL.InterleavedArrays_ = new GL.Delegates.InterleavedArrays_(GL.Imports.InterleavedArrays_);
GL.NormalPointer_ = new GL.Delegates.NormalPointer_(GL.Imports.NormalPointer_);
@ -339,12 +339,12 @@ namespace OpenTK.OpenGL.Platform
GL.CopyTexImage2D = new GL.Delegates.CopyTexImage2D(GL.Imports.CopyTexImage2D);
GL.CopyTexSubImage1D = new GL.Delegates.CopyTexSubImage1D(GL.Imports.CopyTexSubImage1D);
GL.CopyTexSubImage2D = new GL.Delegates.CopyTexSubImage2D(GL.Imports.CopyTexSubImage2D);
GL.TexSubImage1D = new GL.Delegates.TexSubImage1D(GL.Imports.TexSubImage1D);
GL.TexSubImage2D = new GL.Delegates.TexSubImage2D(GL.Imports.TexSubImage2D);
GL.TexSubImage1D_ = new GL.Delegates.TexSubImage1D_(GL.Imports.TexSubImage1D_);
GL.TexSubImage2D_ = new GL.Delegates.TexSubImage2D_(GL.Imports.TexSubImage2D_);
GL.AreTexturesResident_ = new GL.Delegates.AreTexturesResident_(GL.Imports.AreTexturesResident_);
GL.BindTexture = new GL.Delegates.BindTexture(GL.Imports.BindTexture);
GL.DeleteTextures_ = new GL.Delegates.DeleteTextures_(GL.Imports.DeleteTextures_);
GL.GenTextures = new GL.Delegates.GenTextures(GL.Imports.GenTextures);
GL.GenTextures_ = new GL.Delegates.GenTextures_(GL.Imports.GenTextures_);
GL.IsTexture = new GL.Delegates.IsTexture(GL.Imports.IsTexture);
GL.PrioritizeTextures_ = new GL.Delegates.PrioritizeTextures_(GL.Imports.PrioritizeTextures_);
GL.Indexub = new GL.Delegates.Indexub(GL.Imports.Indexub);
@ -359,8 +359,8 @@ namespace OpenTK.OpenGL.Platform
GL.ColorTableParameteriv_ = new GL.Delegates.ColorTableParameteriv_(GL.Imports.ColorTableParameteriv_);
GL.CopyColorTable = new GL.Delegates.CopyColorTable(GL.Imports.CopyColorTable);
GL.GetColorTable_ = new GL.Delegates.GetColorTable_(GL.Imports.GetColorTable_);
GL.GetColorTableParameterfv = new GL.Delegates.GetColorTableParameterfv(GL.Imports.GetColorTableParameterfv);
GL.GetColorTableParameteriv = new GL.Delegates.GetColorTableParameteriv(GL.Imports.GetColorTableParameteriv);
GL.GetColorTableParameterfv_ = new GL.Delegates.GetColorTableParameterfv_(GL.Imports.GetColorTableParameterfv_);
GL.GetColorTableParameteriv_ = new GL.Delegates.GetColorTableParameteriv_(GL.Imports.GetColorTableParameteriv_);
GL.ColorSubTable_ = new GL.Delegates.ColorSubTable_(GL.Imports.ColorSubTable_);
GL.CopyColorSubTable = new GL.Delegates.CopyColorSubTable(GL.Imports.CopyColorSubTable);
GL.ConvolutionFilter1D_ = new GL.Delegates.ConvolutionFilter1D_(GL.Imports.ConvolutionFilter1D_);
@ -372,22 +372,22 @@ namespace OpenTK.OpenGL.Platform
GL.CopyConvolutionFilter1D = new GL.Delegates.CopyConvolutionFilter1D(GL.Imports.CopyConvolutionFilter1D);
GL.CopyConvolutionFilter2D = new GL.Delegates.CopyConvolutionFilter2D(GL.Imports.CopyConvolutionFilter2D);
GL.GetConvolutionFilter_ = new GL.Delegates.GetConvolutionFilter_(GL.Imports.GetConvolutionFilter_);
GL.GetConvolutionParameterfv = new GL.Delegates.GetConvolutionParameterfv(GL.Imports.GetConvolutionParameterfv);
GL.GetConvolutionParameteriv = new GL.Delegates.GetConvolutionParameteriv(GL.Imports.GetConvolutionParameteriv);
GL.GetConvolutionParameterfv_ = new GL.Delegates.GetConvolutionParameterfv_(GL.Imports.GetConvolutionParameterfv_);
GL.GetConvolutionParameteriv_ = new GL.Delegates.GetConvolutionParameteriv_(GL.Imports.GetConvolutionParameteriv_);
GL.GetSeparableFilter_ = new GL.Delegates.GetSeparableFilter_(GL.Imports.GetSeparableFilter_);
GL.SeparableFilter2D_ = new GL.Delegates.SeparableFilter2D_(GL.Imports.SeparableFilter2D_);
GL.GetHistogram_ = new GL.Delegates.GetHistogram_(GL.Imports.GetHistogram_);
GL.GetHistogramParameterfv = new GL.Delegates.GetHistogramParameterfv(GL.Imports.GetHistogramParameterfv);
GL.GetHistogramParameteriv = new GL.Delegates.GetHistogramParameteriv(GL.Imports.GetHistogramParameteriv);
GL.GetHistogramParameterfv_ = new GL.Delegates.GetHistogramParameterfv_(GL.Imports.GetHistogramParameterfv_);
GL.GetHistogramParameteriv_ = new GL.Delegates.GetHistogramParameteriv_(GL.Imports.GetHistogramParameteriv_);
GL.GetMinmax_ = new GL.Delegates.GetMinmax_(GL.Imports.GetMinmax_);
GL.GetMinmaxParameterfv = new GL.Delegates.GetMinmaxParameterfv(GL.Imports.GetMinmaxParameterfv);
GL.GetMinmaxParameteriv = new GL.Delegates.GetMinmaxParameteriv(GL.Imports.GetMinmaxParameteriv);
GL.GetMinmaxParameterfv_ = new GL.Delegates.GetMinmaxParameterfv_(GL.Imports.GetMinmaxParameterfv_);
GL.GetMinmaxParameteriv_ = new GL.Delegates.GetMinmaxParameteriv_(GL.Imports.GetMinmaxParameteriv_);
GL.Histogram = new GL.Delegates.Histogram(GL.Imports.Histogram);
GL.Minmax = new GL.Delegates.Minmax(GL.Imports.Minmax);
GL.ResetHistogram = new GL.Delegates.ResetHistogram(GL.Imports.ResetHistogram);
GL.ResetMinmax = new GL.Delegates.ResetMinmax(GL.Imports.ResetMinmax);
GL.TexImage3D = new GL.Delegates.TexImage3D(GL.Imports.TexImage3D);
GL.TexSubImage3D = new GL.Delegates.TexSubImage3D(GL.Imports.TexSubImage3D);
GL.TexImage3D_ = new GL.Delegates.TexImage3D_(GL.Imports.TexImage3D_);
GL.TexSubImage3D_ = new GL.Delegates.TexSubImage3D_(GL.Imports.TexSubImage3D_);
GL.CopyTexSubImage3D = new GL.Delegates.CopyTexSubImage3D(GL.Imports.CopyTexSubImage3D);
GL.ActiveTexture = new GL.Delegates.ActiveTexture(GL.Imports.ActiveTexture);
GL.ClientActiveTexture = new GL.Delegates.ClientActiveTexture(GL.Imports.ClientActiveTexture);
@ -428,20 +428,20 @@ namespace OpenTK.OpenGL.Platform
GL.MultTransposeMatrixf_ = new GL.Delegates.MultTransposeMatrixf_(GL.Imports.MultTransposeMatrixf_);
GL.MultTransposeMatrixd_ = new GL.Delegates.MultTransposeMatrixd_(GL.Imports.MultTransposeMatrixd_);
GL.SampleCoverage = new GL.Delegates.SampleCoverage(GL.Imports.SampleCoverage);
GL.CompressedTexImage3D = new GL.Delegates.CompressedTexImage3D(GL.Imports.CompressedTexImage3D);
GL.CompressedTexImage2D = new GL.Delegates.CompressedTexImage2D(GL.Imports.CompressedTexImage2D);
GL.CompressedTexImage1D = new GL.Delegates.CompressedTexImage1D(GL.Imports.CompressedTexImage1D);
GL.CompressedTexSubImage3D = new GL.Delegates.CompressedTexSubImage3D(GL.Imports.CompressedTexSubImage3D);
GL.CompressedTexSubImage2D = new GL.Delegates.CompressedTexSubImage2D(GL.Imports.CompressedTexSubImage2D);
GL.CompressedTexSubImage1D = new GL.Delegates.CompressedTexSubImage1D(GL.Imports.CompressedTexSubImage1D);
GL.GetCompressedTexImage = new GL.Delegates.GetCompressedTexImage(GL.Imports.GetCompressedTexImage);
GL.CompressedTexImage3D_ = new GL.Delegates.CompressedTexImage3D_(GL.Imports.CompressedTexImage3D_);
GL.CompressedTexImage2D_ = new GL.Delegates.CompressedTexImage2D_(GL.Imports.CompressedTexImage2D_);
GL.CompressedTexImage1D_ = new GL.Delegates.CompressedTexImage1D_(GL.Imports.CompressedTexImage1D_);
GL.CompressedTexSubImage3D_ = new GL.Delegates.CompressedTexSubImage3D_(GL.Imports.CompressedTexSubImage3D_);
GL.CompressedTexSubImage2D_ = new GL.Delegates.CompressedTexSubImage2D_(GL.Imports.CompressedTexSubImage2D_);
GL.CompressedTexSubImage1D_ = new GL.Delegates.CompressedTexSubImage1D_(GL.Imports.CompressedTexSubImage1D_);
GL.GetCompressedTexImage_ = new GL.Delegates.GetCompressedTexImage_(GL.Imports.GetCompressedTexImage_);
GL.BlendFuncSeparate = new GL.Delegates.BlendFuncSeparate(GL.Imports.BlendFuncSeparate);
GL.FogCoordf = new GL.Delegates.FogCoordf(GL.Imports.FogCoordf);
GL.FogCoordfv_ = new GL.Delegates.FogCoordfv_(GL.Imports.FogCoordfv_);
GL.FogCoordd = new GL.Delegates.FogCoordd(GL.Imports.FogCoordd);
GL.FogCoorddv_ = new GL.Delegates.FogCoorddv_(GL.Imports.FogCoorddv_);
GL.FogCoordPointer_ = new GL.Delegates.FogCoordPointer_(GL.Imports.FogCoordPointer_);
GL.MultiDrawArrays = new GL.Delegates.MultiDrawArrays(GL.Imports.MultiDrawArrays);
GL.MultiDrawArrays_ = new GL.Delegates.MultiDrawArrays_(GL.Imports.MultiDrawArrays_);
GL.MultiDrawElements_ = new GL.Delegates.MultiDrawElements_(GL.Imports.MultiDrawElements_);
GL.PointParameterf = new GL.Delegates.PointParameterf(GL.Imports.PointParameterf);
GL.PointParameterfv_ = new GL.Delegates.PointParameterfv_(GL.Imports.PointParameterfv_);
@ -480,32 +480,32 @@ namespace OpenTK.OpenGL.Platform
GL.WindowPos3iv_ = new GL.Delegates.WindowPos3iv_(GL.Imports.WindowPos3iv_);
GL.WindowPos3s = new GL.Delegates.WindowPos3s(GL.Imports.WindowPos3s);
GL.WindowPos3sv_ = new GL.Delegates.WindowPos3sv_(GL.Imports.WindowPos3sv_);
GL.GenQueries = new GL.Delegates.GenQueries(GL.Imports.GenQueries);
GL.GenQueries_ = new GL.Delegates.GenQueries_(GL.Imports.GenQueries_);
GL.DeleteQueries_ = new GL.Delegates.DeleteQueries_(GL.Imports.DeleteQueries_);
GL.IsQuery = new GL.Delegates.IsQuery(GL.Imports.IsQuery);
GL.BeginQuery = new GL.Delegates.BeginQuery(GL.Imports.BeginQuery);
GL.EndQuery = new GL.Delegates.EndQuery(GL.Imports.EndQuery);
GL.GetQueryiv = new GL.Delegates.GetQueryiv(GL.Imports.GetQueryiv);
GL.GetQueryObjectiv = new GL.Delegates.GetQueryObjectiv(GL.Imports.GetQueryObjectiv);
GL.GetQueryObjectuiv = new GL.Delegates.GetQueryObjectuiv(GL.Imports.GetQueryObjectuiv);
GL.GetQueryiv_ = new GL.Delegates.GetQueryiv_(GL.Imports.GetQueryiv_);
GL.GetQueryObjectiv_ = new GL.Delegates.GetQueryObjectiv_(GL.Imports.GetQueryObjectiv_);
GL.GetQueryObjectuiv_ = new GL.Delegates.GetQueryObjectuiv_(GL.Imports.GetQueryObjectuiv_);
GL.BindBuffer = new GL.Delegates.BindBuffer(GL.Imports.BindBuffer);
GL.DeleteBuffers_ = new GL.Delegates.DeleteBuffers_(GL.Imports.DeleteBuffers_);
GL.GenBuffers = new GL.Delegates.GenBuffers(GL.Imports.GenBuffers);
GL.GenBuffers_ = new GL.Delegates.GenBuffers_(GL.Imports.GenBuffers_);
GL.IsBuffer = new GL.Delegates.IsBuffer(GL.Imports.IsBuffer);
GL.BufferData_ = new GL.Delegates.BufferData_(GL.Imports.BufferData_);
GL.BufferSubData_ = new GL.Delegates.BufferSubData_(GL.Imports.BufferSubData_);
GL.GetBufferSubData_ = new GL.Delegates.GetBufferSubData_(GL.Imports.GetBufferSubData_);
GL.MapBuffer = new GL.Delegates.MapBuffer(GL.Imports.MapBuffer);
GL.UnmapBuffer = new GL.Delegates.UnmapBuffer(GL.Imports.UnmapBuffer);
GL.GetBufferParameteriv = new GL.Delegates.GetBufferParameteriv(GL.Imports.GetBufferParameteriv);
GL.GetBufferPointerv = new GL.Delegates.GetBufferPointerv(GL.Imports.GetBufferPointerv);
GL.GetBufferParameteriv_ = new GL.Delegates.GetBufferParameteriv_(GL.Imports.GetBufferParameteriv_);
GL.GetBufferPointerv_ = new GL.Delegates.GetBufferPointerv_(GL.Imports.GetBufferPointerv_);
GL.BlendEquationSeparate = new GL.Delegates.BlendEquationSeparate(GL.Imports.BlendEquationSeparate);
GL.DrawBuffers_ = new GL.Delegates.DrawBuffers_(GL.Imports.DrawBuffers_);
GL.StencilOpSeparate = new GL.Delegates.StencilOpSeparate(GL.Imports.StencilOpSeparate);
GL.StencilFuncSeparate = new GL.Delegates.StencilFuncSeparate(GL.Imports.StencilFuncSeparate);
GL.StencilMaskSeparate = new GL.Delegates.StencilMaskSeparate(GL.Imports.StencilMaskSeparate);
GL.AttachShader = new GL.Delegates.AttachShader(GL.Imports.AttachShader);
GL.BindAttribLocation_ = new GL.Delegates.BindAttribLocation_(GL.Imports.BindAttribLocation_);
GL.BindAttribLocation = new GL.Delegates.BindAttribLocation(GL.Imports.BindAttribLocation);
GL.CompileShader = new GL.Delegates.CompileShader(GL.Imports.CompileShader);
GL.CreateProgram = new GL.Delegates.CreateProgram(GL.Imports.CreateProgram);
GL.CreateShader = new GL.Delegates.CreateShader(GL.Imports.CreateShader);
@ -514,22 +514,22 @@ namespace OpenTK.OpenGL.Platform
GL.DetachShader = new GL.Delegates.DetachShader(GL.Imports.DetachShader);
GL.DisableVertexAttribArray = new GL.Delegates.DisableVertexAttribArray(GL.Imports.DisableVertexAttribArray);
GL.EnableVertexAttribArray = new GL.Delegates.EnableVertexAttribArray(GL.Imports.EnableVertexAttribArray);
GL.GetActiveAttrib = new GL.Delegates.GetActiveAttrib(GL.Imports.GetActiveAttrib);
GL.GetActiveUniform = new GL.Delegates.GetActiveUniform(GL.Imports.GetActiveUniform);
GL.GetAttachedShaders = new GL.Delegates.GetAttachedShaders(GL.Imports.GetAttachedShaders);
GL.GetAttribLocation_ = new GL.Delegates.GetAttribLocation_(GL.Imports.GetAttribLocation_);
GL.GetProgramiv = new GL.Delegates.GetProgramiv(GL.Imports.GetProgramiv);
GL.GetProgramInfoLog = new GL.Delegates.GetProgramInfoLog(GL.Imports.GetProgramInfoLog);
GL.GetShaderiv = new GL.Delegates.GetShaderiv(GL.Imports.GetShaderiv);
GL.GetShaderInfoLog = new GL.Delegates.GetShaderInfoLog(GL.Imports.GetShaderInfoLog);
GL.GetShaderSource = new GL.Delegates.GetShaderSource(GL.Imports.GetShaderSource);
GL.GetUniformLocation_ = new GL.Delegates.GetUniformLocation_(GL.Imports.GetUniformLocation_);
GL.GetUniformfv = new GL.Delegates.GetUniformfv(GL.Imports.GetUniformfv);
GL.GetUniformiv = new GL.Delegates.GetUniformiv(GL.Imports.GetUniformiv);
GL.GetVertexAttribdv = new GL.Delegates.GetVertexAttribdv(GL.Imports.GetVertexAttribdv);
GL.GetVertexAttribfv = new GL.Delegates.GetVertexAttribfv(GL.Imports.GetVertexAttribfv);
GL.GetVertexAttribiv = new GL.Delegates.GetVertexAttribiv(GL.Imports.GetVertexAttribiv);
GL.GetVertexAttribPointerv = new GL.Delegates.GetVertexAttribPointerv(GL.Imports.GetVertexAttribPointerv);
GL.GetActiveAttrib_ = new GL.Delegates.GetActiveAttrib_(GL.Imports.GetActiveAttrib_);
GL.GetActiveUniform_ = new GL.Delegates.GetActiveUniform_(GL.Imports.GetActiveUniform_);
GL.GetAttachedShaders_ = new GL.Delegates.GetAttachedShaders_(GL.Imports.GetAttachedShaders_);
GL.GetAttribLocation = new GL.Delegates.GetAttribLocation(GL.Imports.GetAttribLocation);
GL.GetProgramiv_ = new GL.Delegates.GetProgramiv_(GL.Imports.GetProgramiv_);
GL.GetProgramInfoLog_ = new GL.Delegates.GetProgramInfoLog_(GL.Imports.GetProgramInfoLog_);
GL.GetShaderiv_ = new GL.Delegates.GetShaderiv_(GL.Imports.GetShaderiv_);
GL.GetShaderInfoLog_ = new GL.Delegates.GetShaderInfoLog_(GL.Imports.GetShaderInfoLog_);
GL.GetShaderSource_ = new GL.Delegates.GetShaderSource_(GL.Imports.GetShaderSource_);
GL.GetUniformLocation = new GL.Delegates.GetUniformLocation(GL.Imports.GetUniformLocation);
GL.GetUniformfv_ = new GL.Delegates.GetUniformfv_(GL.Imports.GetUniformfv_);
GL.GetUniformiv_ = new GL.Delegates.GetUniformiv_(GL.Imports.GetUniformiv_);
GL.GetVertexAttribdv_ = new GL.Delegates.GetVertexAttribdv_(GL.Imports.GetVertexAttribdv_);
GL.GetVertexAttribfv_ = new GL.Delegates.GetVertexAttribfv_(GL.Imports.GetVertexAttribfv_);
GL.GetVertexAttribiv_ = new GL.Delegates.GetVertexAttribiv_(GL.Imports.GetVertexAttribiv_);
GL.GetVertexAttribPointerv_ = new GL.Delegates.GetVertexAttribPointerv_(GL.Imports.GetVertexAttribPointerv_);
GL.IsProgram = new GL.Delegates.IsProgram(GL.Imports.IsProgram);
GL.IsShader = new GL.Delegates.IsShader(GL.Imports.IsShader);
GL.LinkProgram = new GL.Delegates.LinkProgram(GL.Imports.LinkProgram);

View file

@ -1,3 +1,6 @@
OpenTK 0.3.4 -> 0.3.5
+ Major update to OpenTK.OpenGL.Bind (cleaner code, new functions, comments and many new wrappers).
OpenTK 0.3.3 -> 0.3.4
+ Corrected the crash error in Release mode (it was caused by trying to Marshal the System.Windows.Forms.Message struct to PeekMessage - adding my own Message struct corrected the issue).
+ Corrected the call to glShaderSource GLSL.Lesson01. Now the correct number is passed to the count parameter, while the null parameter was changed to IntPtr.Zero (Mono now no longers fails in this call).