diff --git a/Source/Bind/GL2/Generator.cs b/Source/Bind/GL2/Generator.cs index 6263761a..b0c7829e 100644 --- a/Source/Bind/GL2/Generator.cs +++ b/Source/Bind/GL2/Generator.cs @@ -29,20 +29,23 @@ namespace Bind.GL2 protected static string enumsFile = "GLEnums.cs"; protected static string wrappersFile = "GL.cs"; - protected static string className = Settings.GLClass; protected static string loadAllFuncName = "LoadAll"; - protected static string functionPrefix = "gl"; - public string FunctionPrefix { get { return functionPrefix; } } - - protected string specFolder; #endregion #region --- Constructors --- - public Generator(string folder) + public Generator() { - specFolder = folder; + if (Settings.Compatibility == Settings.Legacy.Tao) + { + Settings.OutputNamespace = "Tao.OpenGl"; + Settings.OutputClass = "Gl"; + } + else + { + // Defaults + } } #endregion @@ -146,6 +149,8 @@ namespace Bind.GL2 #region ISpecReader Members + #region public virtual DelegateCollection ReadDelegates(StreamReader specFile) + public virtual DelegateCollection ReadDelegates(StreamReader specFile) { Console.WriteLine("Reading function specs."); @@ -168,7 +173,7 @@ namespace Bind.GL2 // Get function name: d.Name = line.Split(Utilities.Separators, StringSplitOptions.RemoveEmptyEntries)[0]; - if (d.Name.Contains("MultiTexCoord1")) + if (d.Name.Contains("UseFontOutlinesA")) { } @@ -196,7 +201,7 @@ namespace Bind.GL2 p.Name = Utilities.Keywords.Contains(words[1]) ? "@" + words[1] : words[1]; p.CurrentType = words[2]; - p.Pointer = words[4] == "array" ? true : false; + p.Pointer = words[4] == "array" ? true : words[4] == "reference" ? true : false; p.Flow = words[3] == "in" ? Parameter.FlowDirection.In : Parameter.FlowDirection.Out; d.Parameters.Add(p); @@ -224,17 +229,21 @@ namespace Bind.GL2 return delegates; } + #endregion + + #region public virtual EnumCollection ReadEnums(StreamReader specFile) + public virtual EnumCollection ReadEnums(StreamReader specFile) { + Trace.WriteLine("Reading opengl enumerant specs."); + Trace.Indent(); + EnumCollection enums = new EnumCollection(); // complete_enum contains all opengl enumerants. Bind.Structures.Enum complete_enum = new Bind.Structures.Enum(); complete_enum.Name = Settings.CompleteEnumName; - Trace.WriteLine(String.Format("Reading opengl enumerant specs")); - Trace.Indent(); - do { string line = NextValidLine(specFile); @@ -252,7 +261,7 @@ namespace Bind.GL2 // Declare a new enumerant Bind.Structures.Enum e = new Bind.Structures.Enum(); - e.Name = Char.IsDigit(words[0][0]) ? "GL_" + words[0] : words[0]; + e.Name = Char.IsDigit(words[0][0]) ? Settings.ConstantPrefix + words[0] : words[0]; // And fill in the values for this enumerant do @@ -275,12 +284,18 @@ namespace Bind.GL2 Constant c = new Constant(); if (line.Contains("=")) { - // Trim the "GL_" from the start of the string. - if (words[0].StartsWith("GL_")) - words[0] = words[0].Substring(3); + // Trim the name's prefix, but only if not in Tao compat mode. + if (Settings.Compatibility == Settings.Legacy.Tao) + { + } + else + { + if (words[0].StartsWith(Settings.ConstantPrefix)) + words[0] = words[0].Substring(Settings.ConstantPrefix.Length); - if (Char.IsDigit(words[0][0])) - words[0] = "GL_" + words[0]; + if (Char.IsDigit(words[0][0])) + words[0] = Settings.ConstantPrefix + words[0]; + } c.Name = words[0]; @@ -295,30 +310,29 @@ namespace Bind.GL2 } else { - // The value is not a number. - // Strip the "GL_" from the start of the string. - if (words[2].StartsWith("GL_")) - words[2] = words[2].Substring(3); + // The value is not a number. Strip the prefix. + if (words[2].StartsWith(Settings.ConstantPrefix)) + words[2] = words[2].Substring(Settings.ConstantPrefix.Length); // If the name now starts with a digit (doesn't matter whether we // stripped "GL_" above), add a "GL_" prefix. // (e.g. GL_4_BYTES). if (Char.IsDigit(words[2][0])) - words[2] = "GL_" + words[2]; + words[2] = Settings.ConstantPrefix + words[2]; } c.Value = words[2]; } else if (words[0] == "use") { - // Trim the "GL_" from the start of the string. - if (words[2].StartsWith("GL_")) - words[2] = words[2].Substring(3); + // Trim the prefix. + if (words[2].StartsWith(Settings.ConstantPrefix)) + words[2] = words[2].Substring(Settings.ConstantPrefix.Length); // If the remaining string starts with a digit, we were wrong above. // Re-add the "GL_" if (Char.IsDigit(words[2][0])) - words[2] = "GL_" + words[2]; + words[2] = Settings.ConstantPrefix + words[2]; c.Name = words[2]; @@ -395,6 +409,10 @@ namespace Bind.GL2 return enums; } + #endregion + + #region public virtual Dictionary ReadTypeMap(StreamReader specFile) + public virtual Dictionary ReadTypeMap(StreamReader specFile) { Console.WriteLine("Reading opengl types."); @@ -441,6 +459,10 @@ namespace Bind.GL2 return GLTypes; } + #endregion + + #region public virtual Dictionary ReadCSTypeMap(StreamReader specFile) + public virtual Dictionary ReadCSTypeMap(StreamReader specFile) { Dictionary CSTypes = new Dictionary(); @@ -461,7 +483,9 @@ namespace Bind.GL2 return CSTypes; } - + + #endregion + #region private string NextValidLine(StreamReader sr) private string NextValidLine(System.IO.StreamReader sr) @@ -510,18 +534,18 @@ namespace Bind.GL2 #region void WriteBindings - public void WriteBindings( - DelegateCollection delegates, FunctionCollection functions, - EnumCollection enums) + public void WriteBindings(DelegateCollection delegates, FunctionCollection functions, EnumCollection enums) { - // Write + if (!Directory.Exists(Settings.OutputPath)) + Directory.CreateDirectory(Settings.OutputPath); + using (BindStreamWriter sw = new BindStreamWriter(Path.Combine(Settings.OutputPath, enumsFile))) { sw.WriteLine("namespace {0}", Settings.OutputNamespace); sw.WriteLine("{"); sw.Indent(); - sw.WriteLine("public static partial class {0}", className); + sw.WriteLine("public static partial class {0}", Settings.OutputClass); sw.WriteLine("{"); sw.Indent(); @@ -586,7 +610,7 @@ namespace Bind.GL2 Trace.WriteLine(String.Format("Writing delegates to {0}.{1}", Settings.OutputNamespace, Settings.DelegatesClass)); sw.WriteLine(); - sw.WriteLine("partial class {0}", className); + sw.WriteLine("partial class {0}", Settings.OutputClass); sw.WriteLine("{"); sw.Indent(); sw.WriteLine(); @@ -598,9 +622,9 @@ namespace Bind.GL2 sw.WriteLine("static {0}()", Settings.DelegatesClass); sw.WriteLine("{"); // --- Workaround for mono gmcs 1.2.4 issue, where static initalization fails. --- - sw.Indent(); - sw.WriteLine("{0}.{1}();", className, loadAllFuncName); - sw.Unindent(); + //sw.Indent(); + //sw.WriteLine("{0}.{1}();", Settings.OutputClass, loadAllFuncName); + //sw.Unindent(); // --- End workaround --- sw.WriteLine("}"); sw.WriteLine(); @@ -613,7 +637,7 @@ namespace Bind.GL2 "internal {0}static {1} {2}{1} = null;", d.Unsafe ? "unsafe " : "", d.Name, - functionPrefix); + Settings.FunctionPrefix); // --- End workaround ---s } sw.Unindent(); @@ -631,7 +655,7 @@ namespace Bind.GL2 Trace.WriteLine(String.Format("Writing imports to {0}.{1}", Settings.OutputNamespace, Settings.ImportsClass)); sw.WriteLine(); - sw.WriteLine("partial class {0}", className); + sw.WriteLine("partial class {0}", Settings.OutputClass); sw.WriteLine("{"); sw.Indent(); sw.WriteLine(); @@ -647,10 +671,11 @@ namespace Bind.GL2 { sw.WriteLine("[System.Security.SuppressUnmanagedCodeSecurity()]"); sw.WriteLine( - "[System.Runtime.InteropServices.DllImport({0}.Library, EntryPoint = \"{1}{2}\", ExactSpelling = true)]", - className, - functionPrefix, - d.Name + "[System.Runtime.InteropServices.DllImport({0}.Library, EntryPoint = \"{1}{2}\"{3})]", + Settings.OutputClass, + Settings.FunctionPrefix, + d.Name, + d.Name.EndsWith("W") || d.Name.EndsWith("A") ? ", CharSet = CharSet.Auto" : ", ExactSpelling = true" ); sw.WriteLine("internal extern static {0};", d.DeclarationString()); } @@ -667,10 +692,10 @@ namespace Bind.GL2 public void WriteWrappers(BindStreamWriter sw, FunctionCollection wrappers, Dictionary CSTypes) { - Trace.WriteLine(String.Format("Writing wrappers to {0}.{1}", Settings.OutputNamespace, className)); + Trace.WriteLine(String.Format("Writing wrappers to {0}.{1}", Settings.OutputNamespace, Settings.OutputClass)); sw.WriteLine(); - sw.WriteLine("public static partial class {0}", className); + sw.WriteLine("public static partial class {0}", Settings.OutputClass); sw.WriteLine("{"); sw.Indent(); @@ -687,7 +712,7 @@ namespace Bind.GL2 else { // Identifiers cannot start with a number: - sw.WriteLine("public static class GL_{0}", key); + sw.WriteLine("public static class {0}{1}", Settings.FunctionPrefix, key); } sw.WriteLine("{"); sw.Indent(); @@ -735,7 +760,7 @@ namespace Bind.GL2 public void WriteEnums(BindStreamWriter sw, EnumCollection enums) { - Trace.WriteLine(String.Format("Writing enums to {0}.{1}", Settings.OutputNamespace, className)); + Trace.WriteLine(String.Format("Writing enums to {0}.{1}", Settings.OutputNamespace, Settings.OutputClass)); if (Settings.Compatibility == Settings.Legacy.None) { @@ -762,8 +787,8 @@ namespace Bind.GL2 { sw.WriteLine(String.Format( "public const int {0} = {2}((int){1});", - c.Name.StartsWith("GL_") ? c.Name : "GL_" + c.Name, - Char.IsDigit(c.Value[0]) ? c.Value : c.Value.StartsWith("GL_") ? c.Value : "GL_" + c.Value, + c.Name.StartsWith(Settings.ConstantPrefix) ? c.Name : Settings.ConstantPrefix + c.Name, + Char.IsDigit(c.Value[0]) ? c.Value : c.Value.StartsWith(Settings.ConstantPrefix) ? c.Value : Settings.ConstantPrefix + c.Value, c.Unchecked ? "unchecked" : "")); } else diff --git a/Source/Bind/IBind.cs b/Source/Bind/IBind.cs index 23539861..ae91d82a 100644 --- a/Source/Bind/IBind.cs +++ b/Source/Bind/IBind.cs @@ -12,9 +12,6 @@ namespace Bind { interface IBind : ISpecReader, ISpecWriter { - //ISpecReader SpecReader { get; } void Process(); - - string FunctionPrefix { get; } } } diff --git a/Source/Bind/Main.cs b/Source/Bind/Main.cs index 1b41e027..6e8c097c 100644 --- a/Source/Bind/Main.cs +++ b/Source/Bind/Main.cs @@ -46,8 +46,6 @@ namespace Bind //Console.WriteLine(" - the OpenTK team ;-)"); Console.WriteLine(); - #region Handle Arguments - try { foreach (string a in arguments) @@ -80,19 +78,17 @@ namespace Bind case "ns": Settings.OutputNamespace = b[1]; break; - case "gl": - Settings.GLClass = b[1]; - break; - case "glu": - Settings.GluClass = b[1]; - break; + //case "gl": + // Settings.OutputClass = b[1]; + // break; + //case "glu": + // Settings.OutputClass = b[1]; + // break; case "legacy": Settings.Compatibility = b[1].ToLower() == "tao" ? Settings.Legacy.Tao : Settings.Legacy.None; - Settings.OutputNamespace = "Tao.OpenGl"; - Settings.GLClass = "Gl"; break; case "class": - Settings.GLClass = b[1]; + Settings.OutputClass = b[1]; break; default: throw new ArgumentException( @@ -113,8 +109,6 @@ namespace Bind return; } - #endregion - try { long ticks = System.DateTime.Now.Ticks; @@ -122,7 +116,7 @@ namespace Bind switch (mode) { case GeneratorMode.GL2: - Generator = new Bind.GL2.Generator(Settings.InputPath); + Generator = new Bind.GL2.Generator(); break; case GeneratorMode.Wgl: @@ -134,7 +128,7 @@ namespace Bind { Settings.OutputNamespace = "OpenTK.Platform.Windows"; } - Generator = new Bind.Wgl.Generator(Settings.InputPath); + Generator = new Bind.Wgl.Generator(); break; default: diff --git a/Source/Bind/Properties/AssemblyInfo.cs b/Source/Bind/Properties/AssemblyInfo.cs index 11aad317..bafd5597 100644 --- a/Source/Bind/Properties/AssemblyInfo.cs +++ b/Source/Bind/Properties/AssemblyInfo.cs @@ -29,5 +29,5 @@ using System.Runtime.InteropServices; // Build Number // Revision // -[assembly: AssemblyVersion("0.9.7.3")] -[assembly: AssemblyFileVersion("0.9.7.3")] +[assembly: AssemblyVersion("0.9.7.4")] +[assembly: AssemblyFileVersion("0.9.7.4")] diff --git a/Source/Bind/Settings.cs b/Source/Bind/Settings.cs index 9bf4bd67..ae5bde25 100644 --- a/Source/Bind/Settings.cs +++ b/Source/Bind/Settings.cs @@ -20,19 +20,20 @@ namespace Bind public readonly static string DefaultOutputPath = "..\\..\\..\\Source\\OpenTK\\OpenGL\\Bindings"; public readonly static string DefaultOutputNamespace = "OpenTK.OpenGL"; - public static string GLClass = "GL"; + public static string OutputClass = "GL"; + public static string FunctionPrefix = "gl"; + public static string ConstantPrefix = "GL_"; + private static string enumsClass = "Enums"; public static string GLEnumsClass { - get { return GLClass + "." + enumsClass; } + get { return OutputClass + "." + enumsClass; } set { enumsClass = value; } } public static string DelegatesClass = "Delegates"; public static string ImportsClass = "Imports"; - public static string WglClass = "Wgl"; - public static string GlxClass = "Glx"; - public static string GluClass = "Glu"; + public static Legacy Compatibility = Legacy.None; public readonly static string DefaultWglOutputPath = "..\\..\\..\\Source\\OpenTK\\Platform\\Windows\\Bindings"; @@ -48,6 +49,6 @@ namespace Bind Tao, } - public static string WindowsPlatform = "OpenTK.Platform.Windows.API"; + public static string WindowsGDI = "OpenTK.Platform.Windows.API"; } } diff --git a/Source/Bind/Specifications/Wgl/wgl.spec b/Source/Bind/Specifications/Wgl/wgl.spec index 28ab0352..4a019352 100644 --- a/Source/Bind/Specifications/Wgl/wgl.spec +++ b/Source/Bind/Specifications/Wgl/wgl.spec @@ -185,3 +185,53 @@ UseFontBitmapsW( hDC, first, count, listBase ) category wgl dlflags notlistable +# Added by hand. Where can we find an updated spec? + +#UseFontBitmaps( hDC, first, count, listBase ) +# return BOOL +# param hDC HDC in value +# param first DWORD in value +# param count DWORD in value +# param listBase DWORD in value +# category wgl +# dlflags notlistable + +UseFontOutlinesA( hDC, first, count, listBase ) + return BOOL + param hDC HDC in value + param first DWORD in value + param count DWORD in value + param listBase DWORD in value + param thickness float in value + param deviation float in value + param fontMode DWORD in value + param glyphMetrics GLYPHMETRICSFLOAT in array + category wgl + dlflags notlistable + +UseFontOutlinesW( hDC, first, count, listBase ) + return BOOL + param hDC HDC in value + param first DWORD in value + param count DWORD in value + param listBase DWORD in value + param thickness float in value + param deviation float in value + param fontMode DWORD in value + param glyphMetrics GLYPHMETRICSFLOAT in array + category wgl + dlflags notlistable + +#UseFontOutlines( hDC, first, count, listBase ) +# return BOOL +# param hDC HDC in value +# param first DWORD in value +# param count DWORD in value +# param listBase DWORD in value +# param thickness float in value +# param deviation float in value +# param fontMode DWORD in value +# param glyphMetrics GLYPHMETRICSFLOAT in array +# category wgl +# dlflags notlistable + diff --git a/Source/Bind/Specifications/Wgl/wgl.tm b/Source/Bind/Specifications/Wgl/wgl.tm index 58822c38..f2ef716c 100644 --- a/Source/Bind/Specifications/Wgl/wgl.tm +++ b/Source/Bind/Specifications/Wgl/wgl.tm @@ -22,3 +22,8 @@ VoidPointer,*,*, void*,*,* float,*,*, float,*,* int,*,*, int,*,* #void,*,*, *,*,* +PIXELFORMATDESCRIPTOR PIXELFORMATDESCRIPTOR +LAYERPLANEDESCRIPTOR LAYERPLANEDESCRIPTOR +GLYPHMETRICSFLOAT GLYPHMETRICSFLOAT +COLORREF Int32 +LPCSTR String \ No newline at end of file diff --git a/Source/Bind/Specifications/Wgl/wglenum.spec b/Source/Bind/Specifications/Wgl/wglenum.spec index c2b28eff..26906d9f 100644 --- a/Source/Bind/Specifications/Wgl/wglenum.spec +++ b/Source/Bind/Specifications/Wgl/wglenum.spec @@ -357,3 +357,8 @@ WGL_ATI_pixel_format_float enum: ############################################################################### # Any_vendor_future_use: 0x21C0-0xFFFF + +# Added by hand: +WGL_font_type enum: + WGL_FONT_LINES = 0 + WGL_FONT_POLYGONS = 1 diff --git a/Source/Bind/Structures/Delegate.cs b/Source/Bind/Structures/Delegate.cs index f1621009..a7a283f8 100644 --- a/Source/Bind/Structures/Delegate.cs +++ b/Source/Bind/Structures/Delegate.cs @@ -270,9 +270,9 @@ namespace Bind.Structures sb.Append(Settings.DelegatesClass); sb.Append("."); - sb.Append(Bind.MainClass.Generator.FunctionPrefix); + sb.Append(Settings.FunctionPrefix); sb.Append(Name); - sb.Append(Parameters.CallString()); + sb.Append(Parameters.CallString(Settings.Compatibility == Settings.Legacy.Tao)); return sb.ToString(); } @@ -338,9 +338,9 @@ namespace Bind.Structures #region public IEnumerable CreateWrappers() - public IEnumerable CreateWrappers() + public void CreateWrappers() { - if (this.Name.Contains("GetString")) + if (this.Name.Contains("GenBuffers")) { } @@ -361,11 +361,44 @@ namespace Bind.Structures { Function f = WrapReturnType(); - WrapParameters(new Function((Function)f ?? this), wrappers); } - return wrappers; + // If the function is not CLS-compliant (e.g. it contains unsigned parameters) + // we need to create a CLS-Compliant overload. However, we should only do this + // iff the opengl function does not contain unsigned/signed overloads itself + // to avoid redefinitions. + foreach (Function f in wrappers) + { + Bind.Structures.Function.Wrappers.AddChecked(f); + //Bind.Structures.Function.Wrappers.Add(f); + + if (!f.CLSCompliant) + { + Function cls = new Function(f); + + cls.Body.Clear(); + if (!cls.NeedsWrapper) + { + cls.Body.Add((f.ReturnType.CurrentType != "void" ? "return " + this.CallString() : this.CallString()) + ";"); + } + else + { + cls.Body.AddRange(this.CreateBody(cls, true)); + } + + bool somethingChanged = false; + for (int i = 0; i < f.Parameters.Count; i++) + { + cls.Parameters[i].CurrentType = cls.Parameters[i].GetCLSCompliantType(); + if (cls.Parameters[i].CurrentType != f.Parameters[i].CurrentType) + somethingChanged = true; + } + + if (somethingChanged) + Bind.Structures.Function.Wrappers.AddChecked(cls); + } + } } #endregion @@ -432,13 +465,9 @@ namespace Bind.Structures /// protected void WrapParameters(Function function, List wrappers) { - if (function.Name == "GetString") - { - } - if (index == 0) { - bool containsPointerParameters = false; + bool containsPointerParameters = false, containsReferenceParameters = false; // Check if there are any IntPtr parameters (we may have come here from a ReturnType wrapper // such as glGetString, which contains no IntPtr parameters) foreach (Parameter p in function.Parameters) @@ -448,12 +477,20 @@ namespace Bind.Structures containsPointerParameters = true; break; } + else if (p.Reference) + { + containsReferenceParameters = true; + break; + } } if (containsPointerParameters) { wrappers.Add(DefaultWrapper(function)); } + else if (containsReferenceParameters) + { + } else { if (function.Body.Count == 0) @@ -485,8 +522,17 @@ namespace Bind.Structures WrapParameters(function, wrappers); --index; + if (function.Name == "UseFontOutlinesA") + { + } + // On stack rewind, create array wrappers - f = ArrayWrapper(new Function(function), index); + f = new Function(function); + f.Parameters[index].Reference = false; + f.Parameters[index].Array = 1; + f.Parameters[index].Pointer = false; + f.Body = CreateBody(f, false); + //f = ReferenceWrapper(new Function(function), index); wrappers.Add(f); // Recurse to the last parameter again, keeping the Array wrappers @@ -494,8 +540,12 @@ namespace Bind.Structures WrapParameters(f, wrappers); --index; - // On stack rewind, create Ref wrappers. - f = ReferenceWrapper(new Function(function), index); + f = new Function(function); + f.Parameters[index].Reference = true; + f.Parameters[index].Array = 0; + f.Parameters[index].Pointer = false; + f.Body = CreateBody(f, false); + //f = ReferenceWrapper(new Function(function), index); wrappers.Add(f); // Keeping the current Ref wrapper, visit all other parameters once more @@ -512,7 +562,36 @@ namespace Bind.Structures --index; // On stack rewind, create array wrappers - f = GenericWrapper(new Function(function), index); + f = new Function(function); + f.Parameters[index].Reference = false; + f.Parameters[index].Array = 0; + f.Parameters[index].Pointer = false; + f.Parameters[index].CurrentType = "object"; + f.Parameters[index].Flow = Parameter.FlowDirection.Undefined; + + f.Body = CreateBody(f, false); + wrappers.Add(f); + + // Keeping the current Object wrapper, visit all other parameters once more + ++index; + WrapParameters(f, wrappers); + --index; + + break; + + case WrapperTypes.ReferenceParameter: + // Recurse to the last parameter + ++index; + WrapParameters(function, wrappers); + --index; + + // On stack rewind, create reference wrappers + f = new Function(function); + f.Parameters[index].Reference = true; + f.Parameters[index].Array = 0; + f.Parameters[index].Pointer = false; + f.Body = CreateBody(f, false); + //f = ReferenceWrapper(new Function(function), index); wrappers.Add(f); // Keeping the current Object wrapper, visit all other parameters once more @@ -528,66 +607,6 @@ namespace Bind.Structures #endregion - #region protected Function GenericWrapper(Function function, int index) - - protected Function GenericWrapper(Function function, int index) - { - // Search and replace IntPtr parameters with the known parameter types: - function.Parameters[index].Reference = false; - function.Parameters[index].Array = 0; - function.Parameters[index].Pointer = false; - function.Parameters[index].CurrentType = "object"; - function.Parameters[index].Flow = Parameter.FlowDirection.Undefined; - - // In the function body we should pin all objects in memory before calling the - // low-level function. - function.Body.Clear(); - //function.Body.AddRange(GetBodyWithFixedPins(function)); - function.Body.AddRange(function.GetBodyWithPins(false)); - - return function; - } - - #endregion - - #region protected Function ReferenceWrapper(Function function, int index) - - protected Function ReferenceWrapper(Function function, int index) - { - // Search and replace IntPtr parameters with the known parameter types: - function.Parameters[index].Reference = true; - function.Parameters[index].Array = 0; - function.Parameters[index].Pointer = false; - - // In the function body we should pin all objects in memory before calling the - // low-level function. - function.Body.Clear(); - function.Body.AddRange(function.GetBodyWithPins(false)); - - return function; - } - - #endregion - - #region protected Function ArrayWrapper(Function function, int index) - - protected Function ArrayWrapper(Function function, int index) - { - // Search and replace IntPtr parameters with the known parameter types: - function.Parameters[index].Array = 1; - function.Parameters[index].Pointer = false; - function.Parameters[index].Flow = Parameter.FlowDirection.Undefined; - - // In the function body we should pin all objects in memory before calling the - // low-level function. - function.Body.Clear(); - function.Body.AddRange(function.GetBodyWithPins(false)); - - return function; - } - - #endregion - #region protected Function DefaultWrapper(Function f) protected Function DefaultWrapper(Function f) @@ -607,53 +626,28 @@ namespace Bind.Structures #endregion - #region protected FunctionBody GetBodyWithPins(bool wantCLSCompliance) + #region protected FunctionBody CreateBody(Function fun, bool wantCLSCompliance) - /// - /// Generates a body which calls the specified function, pinning all needed parameters. - /// - /// - protected FunctionBody GetBodyWithPins(bool wantCLSCompliance) + static List handle_statements = new List(); + static List fixed_statements = new List(); + static List assign_statements = new List(); + static string function_call_statement; + + protected FunctionBody CreateBody(Function fun, bool wantCLSCompliance) { - // We'll make changes, but we want the original intact. - //Function function = this as Function ?? new Function(this); - //Function f = new Function(function); - Function f = new Function(this); + Function f = new Function(fun); + f.Body.Clear(); - // Unsafe only if - //function.Unsafe = false; + handle_statements.Clear(); + fixed_statements.Clear(); + assign_statements.Clear(); - // Add default initliazers for out parameters: - foreach (Parameter p in this.Parameters) - { - if (p.Flow == Parameter.FlowDirection.Out) - { - f.Body.Add( - String.Format( - "{0} = default({1});", - p.Name, - p.GetFullType(Bind.Structures.Type.CSTypes, wantCLSCompliance) - ) - ); - } + if (f.Name == "LoadDisplayColorTableEXT") + { } - // All GCHandles statements will go here. This will allow to place only one opening '{' - // on fixed statements. - int handleStart = f.Body.Count; - - // Indicates the index where the last GCHandle statement is. Used to add an unsafe stamement - // (if needed) at exactl that spot, i.e. after the GCHandles but before the fixed statements. - int handleEnd = f.Body.Count; - - // True if at least on GCHandle is allocated. Used to remove the try { } finally { } - // block if no handle has been allocated. - bool handleAllocated = false; - - // True if function body contains at least one fixed statement. Add a statement-level - // unsafe block if true (and the function is not unsafe at the function-level). - bool fixedAllocated = false; // Obtain pointers by pinning the parameters + int param = 0; foreach (Parameter p in f.Parameters) { if (p.NeedsPin) @@ -662,119 +656,114 @@ namespace Bind.Structures // This is because fixed can only take the address of fields, not managed objects. if (p.WrapperType == WrapperTypes.GenericParameter) { - f.Body.Insert( - handleStart, - String.Format( - "{0} {1} = {0}.Alloc({2}, System.Runtime.InteropServices.GCHandleType.Pinned);", - "System.Runtime.InteropServices.GCHandle", - p.Name + "_ptr", - p.Name - ) - ); + handle_statements.Add(String.Format( + "{0} {1} = {0}.Alloc({2}, System.Runtime.InteropServices.GCHandleType.Pinned);", + "System.Runtime.InteropServices.GCHandle", p.Name + "_ptr", p.Name)); + + if (p.Flow == Parameter.FlowDirection.Out) + { + assign_statements.Add(String.Format( + " {0} = ({1}){2}.Target;", + p.Name, p.CurrentType, p.Name + "_ptr")); + } + // Note! The following line modifies f.Parameters, *not* function.Parameters p.Name = "(void*)" + p.Name + "_ptr.AddrOfPinnedObject()"; + } + else if (p.WrapperType == WrapperTypes.PointerParameter || + p.WrapperType == WrapperTypes.ArrayParameter || + p.WrapperType == WrapperTypes.ReferenceParameter) + { + fixed_statements.Add(String.Format( + "fixed ({0}* {1} = {2})", + wantCLSCompliance && !p.CLSCompliant ? p.GetCLSCompliantType() : p.CurrentType, + p.Name + "_ptr", + p.Array > 0 ? p.Name : "&" + p.Name)); - handleAllocated = true; + if (p.Flow == Parameter.FlowDirection.Out && p.Array == 0) // Fixed Arrays of blittable types don't need explicit assignment. + { + assign_statements.Add(String.Format(" {0} = *{0}_ptr;", p.Name)); + } - handleEnd++; + p.Name = p.Name + "_ptr"; } else { - f.Body.Add( - String.Format( - " fixed ({0}* {1} = {2})", - wantCLSCompliance && !p.CLSCompliant ? - p.GetCLSCompliantType() : - p.CurrentType, - p.Name + "_ptr", - p.Array > 0 ? p.Name : "&" + p.Name - ) - ); - p.Name = p.Name + "_ptr"; - - fixedAllocated = true; + throw new ApplicationException("Unknown parameter type"); } } } - if (!this.Unsafe) + //if (!f.Unsafe && (fixed_statements.Count > 0 || fixed_statements.Count > 0)) { - f.Body.Insert(handleEnd, "unsafe"); - f.Body.Insert(handleEnd + 1, "{"); + f.Body.Add("unsafe"); + f.Body.Add("{"); + f.Body.Indent(); } - if (handleAllocated) + if (fixed_statements.Count > 0) { - f.Body.Add(" try"); + f.Body.AddRange(fixed_statements); + f.Body.Add("{"); + f.Body.Indent(); + } + + if (handle_statements.Count > 0) + { + f.Body.AddRange(handle_statements); + f.Body.Add("try"); + f.Body.Add("{"); + f.Body.Indent(); } - f.Body.Add(" {"); - // Add delegate call: if (f.ReturnType.CurrentType.ToLower().Contains("void")) - f.Body.Add(String.Format(" {0};", f.CallString())); - else - f.Body.Add(String.Format(" {0} {1} = {2};", f.ReturnType.CurrentType, "retval", f.CallString())); - - // Assign out parameters: - foreach (Parameter p in this.Parameters) { - if (p.Flow == Parameter.FlowDirection.Out) - { - // Check each out parameter. If it has been pinned, get the Target of the GCHandle. - // Otherwise, nothing needs be done. - if (p.NeedsPin) - { - if (p.WrapperType == WrapperTypes.GenericParameter) - { - f.Body.Add( - String.Format( - " {0} = ({1}){2}.Target;", - p.Name, - p.CurrentType, - p.Name + "_ptr" - ) - ); - } - else - { - f.Body.Add( - String.Format( - " {0} = *{0}_ptr;", - p.Name - ) - ); - } - } - } + f.Body.Add(String.Format("{0};", f.CallString())); + } + else + { + f.Body.Add(String.Format("{0} {1} = {2};", f.ReturnType.CurrentType, "retval", f.CallString())); + } + + if (assign_statements.Count > 0) + { + f.Body.AddRange(assign_statements); } // Return: if (!f.ReturnType.CurrentType.ToLower().Contains("void")) { - f.Body.Add(" return retval;"); + f.Body.Add("return retval;"); } - if (handleAllocated) + if (handle_statements.Count > 0) { - f.Body.Add(" }"); - f.Body.Add(" finally"); - f.Body.Add(" {"); + f.Body.Unindent(); + f.Body.Add("}"); + f.Body.Add("finally"); + f.Body.Add("{"); + f.Body.Indent(); + // Free all allocated GCHandles foreach (Parameter p in this.Parameters) { - // Free all allocated GCHandles - if (p.NeedsPin) + if (p.NeedsPin && p.WrapperType == WrapperTypes.GenericParameter) { - if (p.WrapperType == WrapperTypes.GenericParameter) - f.Body.Add(String.Format(" {0}_ptr.Free();", p.Name)); - //else - // f.Body.Add("}"); + f.Body.Add(String.Format(" {0}_ptr.Free();", p.Name)); } } + f.Body.Unindent(); + f.Body.Add("}"); } - f.Body.Add(" }"); - if (!this.Unsafe) + if (fixed_statements.Count > 0) { + f.Body.Unindent(); + f.Body.Add("}"); + } + + //if (!f.Unsafe && (fixed_statements.Count > 0 || fixed_statements.Count > 0)) + { + f.Body.Unindent(); f.Body.Add("}"); } @@ -785,6 +774,8 @@ namespace Bind.Structures #endregion + #region Translate + /// /// Translates the opengl return type to the equivalent C# type. /// @@ -836,11 +827,16 @@ namespace Bind.Structures if (ReturnType.CurrentType.ToLower().Contains("bool")) { + // TODO: Is the translation to 'int' needed 100%? It breaks WGL. + /* if (Settings.Compatibility == Settings.Legacy.Tao) + { ReturnType.CurrentType = "int"; + } else { } + */ //ReturnType.WrapperType = WrapperTypes.ReturnsBool; } @@ -871,24 +867,6 @@ namespace Bind.Structures //IsPointer = true; Parameters[i].Array = 1; } - - if (Parameters[i].CurrentType == "PIXELFORMATDESCRIPTOR") - { - Parameters[i].CurrentType = Settings.WindowsPlatform + ".PixelFormatDescriptor"; - } - else if (Parameters[i].CurrentType == "LAYERPLANEDESCRIPTOR") - { - Parameters[i].CurrentType = Settings.WindowsPlatform + ".LayerPlaneDescriptor"; - } - else if (Parameters[i].CurrentType == "LPCSTR") - { - // TODO: Why doesn't the cs typemap work for LPCSTR and COLORREF? - Parameters[i].CurrentType = "String"; - } - else if (Parameters[i].CurrentType == "COLORREF") - { - Parameters[i].CurrentType = "Int32"; - } } } @@ -897,36 +875,10 @@ namespace Bind.Structures TranslateReturnType(); TranslateParameters(); - List wrappers = (List)CreateWrappers(); - - // If the function is not CLS-compliant (e.g. it contains unsigned parameters) - // we need to create a CLS-Compliant overload. However, we should only do this - // iff the opengl function does not contain unsigned/signed overloads itself - // to avoid redefinitions. - foreach (Function f in wrappers) - { - Bind.Structures.Function.Wrappers.AddChecked(f); - - if (this.Name.Contains("Bitmap")) - { - } - - bool createCLS = !f.CLSCompliant; - - /*string nameWithoutExtension = Utilities.StripGL2Extension(f.Name).TrimEnd('v'); - createCLS &= - String.IsNullOrEmpty(f.TrimmedName) || - nameWithoutExtension.Substring(nameWithoutExtension.Length - 3).Contains("u") && - !nameWithoutExtension.Substring(nameWithoutExtension.Length - 3).Contains("b");*/ - - if (createCLS) - { - Function clsFunction = f.GetCLSCompliantFunction(); - if (clsFunction != null) - Bind.Structures.Function.Wrappers.AddChecked(clsFunction); - } - } + CreateWrappers(); } + + #endregion } #region class DelegateCollection : Dictionary diff --git a/Source/Bind/Structures/Function.cs b/Source/Bind/Structures/Function.cs index c0bd1fdc..01c2bbd3 100644 --- a/Source/Bind/Structures/Function.cs +++ b/Source/Bind/Structures/Function.cs @@ -12,7 +12,7 @@ using System.Diagnostics; namespace Bind.Structures { - public class Function : Delegate + public class Function : Delegate, IEquatable { internal static FunctionCollection Wrappers; @@ -138,9 +138,13 @@ namespace Bind.Structures // remove the Extension and the overload information from the name // (Extension == "ARB", "EXT", etc, overload == [u][bsidf][v]) // TODO: Use some regex's here, to reduce clutter. - if (Settings.Compatibility != Settings.Legacy.Tao) + TrimmedName = value; + + if (Settings.Compatibility == Settings.Legacy.Tao) + { + } + else { - TrimmedName = value; TrimmedName = Utilities.StripGL2Extension(value); //if (TrimmedName.Contains("Uniform2iv")) @@ -194,7 +198,7 @@ namespace Bind.Structures sb.Append(" "); if (Settings.Compatibility == Settings.Legacy.Tao) { - sb.Append("gl"); + sb.Append(Settings.FunctionPrefix); } sb.Append(!String.IsNullOrEmpty(TrimmedName) ? TrimmedName : Name); sb.Append(Parameters.ToString(true)); @@ -209,38 +213,13 @@ namespace Bind.Structures #endregion - #region public Function GetCLSCompliantFunction(Dictionary CSTypes) + #region IEquatable Members - public Function GetCLSCompliantFunction() + public bool Equals(Function other) { - Function f = new Function(this); - - bool somethingChanged = false; - for (int i = 0; i < f.Parameters.Count; i++) - { - f.Parameters[i].CurrentType = f.Parameters[i].GetCLSCompliantType(); - if (f.Parameters[i].CurrentType != this.Parameters[i].CurrentType) - somethingChanged = true; - } - - if (!somethingChanged) - return null; - - f.Body.Clear(); - if (!f.NeedsWrapper) - { - f.Body.Add((f.ReturnType.CurrentType != "void" ? "return " + this.CallString() : this.CallString()) + ";"); - } - else - { - f.Body.AddRange(this.GetBodyWithPins(true)); - } - - // The type system cannot differentiate between functions with the same parameters - // but different return types. Tough, only CLS-Compliant function in that case. - //f.ReturnType.Type = f.ReturnType.GetCLSCompliantType(CSTypes); - - return f; + return !String.IsNullOrEmpty(this.TrimmedName) && !String.IsNullOrEmpty(other.TrimmedName) && + this.TrimmedName == other.TrimmedName && + this.Parameters.ToString(true) == other.Parameters.ToString(true); } #endregion @@ -262,6 +241,32 @@ namespace Bind.Structures } } + private string indent = ""; + + public void Indent() + { + indent += " "; + } + + public void Unindent() + { + if (indent.Length >= 4) + indent = indent.Substring(4); + } + + new public void Add(string s) + { + base.Add(indent + s); + } + + new public void AddRange(IEnumerable collection) + { + foreach (string t in collection) + { + this.Add(t); + } + } + public override string ToString() { if (this.Count == 0) @@ -286,6 +291,8 @@ namespace Bind.Structures class FunctionCollection : Dictionary> { + Regex unsignedFunctions = new Regex(@".+(u[dfisb]v?)", RegexOptions.Compiled); + public void Add(Function f) { if (!this.ContainsKey(f.Extension)) @@ -314,28 +321,28 @@ namespace Bind.Structures /// The Function to add. public void AddChecked(Function f) { - bool exists = false; if (Bind.Structures.Function.Wrappers.ContainsKey(f.Extension)) { - Function fun = Bind.Structures.Function.Wrappers[f.Extension] - .Find(delegate(Function target) - { - return - !String.IsNullOrEmpty(target.TrimmedName) && - target.TrimmedName == f.TrimmedName && - target.Parameters.ToString(true) == f.Parameters.ToString(true); - }); - if (fun != null) + int index = Bind.Structures.Function.Wrappers[f.Extension].IndexOf(f); + if (index == -1) { - exists = true; - /*Debug.WriteLine("Function redefinition:"); - Debug.WriteLine(fun.ToString()); - Debug.WriteLine(f.ToString());*/ + Bind.Structures.Function.Wrappers.Add(f); + } + else + { + if (unsignedFunctions.IsMatch(Utilities.StripGL2Extension(f.Name)))// && + //!unsignedFunctions.IsMatch( + // Utilities.StripGL2Extension(Bind.Structures.Function.Wrappers[f.Extension][index].Name))) + { + Bind.Structures.Function.Wrappers[f.Extension].RemoveAt(index); + Bind.Structures.Function.Wrappers[f.Extension].Add(f); + } } } - - if (!exists) + else + { Bind.Structures.Function.Wrappers.Add(f); + } } } diff --git a/Source/Bind/Structures/Parameter.cs b/Source/Bind/Structures/Parameter.cs index c28d9654..6c053ec5 100644 --- a/Source/Bind/Structures/Parameter.cs +++ b/Source/Bind/Structures/Parameter.cs @@ -104,10 +104,11 @@ namespace Bind.Structures public bool NeedsPin { - get { return - (Array > 0 || Reference || CurrentType == "object") && - !CurrentType.ToLower().Contains("string"); - } + get + { + return (Array > 0 || Reference || CurrentType == "object") && + !CurrentType.ToLower().Contains("string"); + } } #endregion @@ -235,7 +236,27 @@ namespace Bind.Structures else { // This is not enum, default translation: - p.CurrentType = s; + if (p.CurrentType == "PIXELFORMATDESCRIPTOR" || p.CurrentType == "LAYERPLANEDESCRIPTOR" || + p.CurrentType == "GLYPHMETRICSFLOAT") + { + if (Settings.Compatibility == Settings.Legacy.Tao) + { + p.CurrentType = p.CurrentType.Insert(0, "Gdi."); + } + else + { + if (p.CurrentType == "PIXELFORMATDESCRIPTOR") + p.CurrentType ="API.PixelFormatDescriptor"; + else if (p.CurrentType == "LAYERPLANEDESCRIPTOR") + p.CurrentType = "API.LayerPlaneDescriptor"; + else if (p.CurrentType == "GLYPHMETRICSFLOAT") + p.CurrentType = "API.GlyphMetricsFloat"; + } + } + else + { + p.CurrentType = s; + } p.CurrentType = Bind.Structures.Type.CSTypes.ContainsKey(p.CurrentType) ? Bind.Structures.Type.CSTypes[p.CurrentType] : p.CurrentType; @@ -267,6 +288,11 @@ namespace Bind.Structures } } + if (p.Reference) + { + p.WrapperType = WrapperTypes.ReferenceParameter; + } + if (p.CurrentType.ToLower().Contains("bool")) { // Is this actually used anywhere? @@ -375,18 +401,23 @@ namespace Bind.Structures { if (p.CurrentType.ToLower().Contains("string")) { - sb.Append(String.Format( - "({0}{1})", - p.CurrentType, - (p.Array > 0) ? "[]" : "")); + sb.Append(String.Format("({0}{1})", + p.CurrentType, (p.Array > 0) ? "[]" : "")); } + else if (p.Pointer || p.Array > 0 || p.Reference) + { + sb.Append(String.Format("({0}*)", + p.CurrentType /*, (p.Pointer || p.Array > 0) ? "*" : ""*/)); + } + //else if (p.Reference) + //{ + // sb.Append(String.Format("{0} ({1})", + // p.Flow == Parameter.FlowDirection.Out ? "out" : "ref", p.CurrentType)); + //} else { - sb.Append(String.Format( - "({0}{1})", - p.CurrentType, - (p.Pointer || p.Array > 0 || p.Reference) ? "*" : "")); + sb.Append(String.Format("({0})", p.CurrentType)); } } diff --git a/Source/Bind/Structures/Type.cs b/Source/Bind/Structures/Type.cs index 95cdb336..806e994d 100644 --- a/Source/Bind/Structures/Type.cs +++ b/Source/Bind/Structures/Type.cs @@ -216,12 +216,16 @@ namespace Bind.Structures switch (CurrentType) { case "UInt16": + case "ushort": return "Int16"; case "UInt32": + case "uint": return "Int32"; case "UInt64": + case "ulong": return "Int64"; case "SByte": + case "sbyte": return "Byte"; } } diff --git a/Source/Bind/Utilities.cs b/Source/Bind/Utilities.cs index 41eb8e81..2c462bd5 100644 --- a/Source/Bind/Utilities.cs +++ b/Source/Bind/Utilities.cs @@ -44,6 +44,10 @@ namespace Bind /// PointerParameter, /// + /// Function that takes a reference to a struct. + /// + ReferenceParameter, + /// /// Function returns string - needs manual marshalling through IntPtr to prevent the managed GC /// from freeing memory allocated on the unmanaged side (e.g. glGetString). /// diff --git a/Source/Bind/Wgl/Generator.cs b/Source/Bind/Wgl/Generator.cs index e71af80f..1f87ea39 100644 --- a/Source/Bind/Wgl/Generator.cs +++ b/Source/Bind/Wgl/Generator.cs @@ -15,8 +15,8 @@ namespace Bind.Wgl { #region --- Constructors --- - public Generator(string path) - : base(path) + public Generator() + : base() { glTypemap = "Wgl\\wgl.tm"; csTypemap = "csharp.tm"; @@ -29,10 +29,20 @@ namespace Bind.Wgl delegatesFile = "WglDelegates.cs"; enumsFile = "WglEnums.cs"; wrappersFile = "Wgl.cs"; - - className = "Wgl"; - functionPrefix = "wgl"; + Settings.OutputClass = "Wgl"; + Settings.FunctionPrefix = "wgl"; + Settings.ConstantPrefix = "WGL_"; + + if (Settings.Compatibility == Settings.Legacy.Tao) + { + Settings.OutputNamespace = "Tao.Platform.Windows"; + Settings.WindowsGDI = "Tao.Platform.Windows.Gdi"; + } + else + { + Settings.OutputNamespace = "OpenTK.Platform.Windows"; + } } #endregion diff --git a/Source/Examples/ExampleLauncher.Designer.cs b/Source/Examples/ExampleLauncher.Designer.cs index ee0f4a99..19951d03 100644 --- a/Source/Examples/ExampleLauncher.Designer.cs +++ b/Source/Examples/ExampleLauncher.Designer.cs @@ -28,26 +28,44 @@ /// private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); this.listBox1 = new System.Windows.Forms.ListBox(); + this.runButton = new System.Windows.Forms.Button(); this.SuspendLayout(); // // listBox1 // - this.listBox1.Dock = System.Windows.Forms.DockStyle.Fill; + this.listBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); this.listBox1.FormattingEnabled = true; this.listBox1.Location = new System.Drawing.Point(0, 0); + this.listBox1.Margin = new System.Windows.Forms.Padding(1); this.listBox1.Name = "listBox1"; this.listBox1.Size = new System.Drawing.Size(284, 264); this.listBox1.TabIndex = 0; this.listBox1.DoubleClick += new System.EventHandler(this.listBox1_DoubleClick); + this.listBox1.KeyUp += new System.Windows.Forms.KeyEventHandler(this.listBox1_KeyUp); + // + // runButton + // + this.runButton.Dock = System.Windows.Forms.DockStyle.Bottom; + this.runButton.Location = new System.Drawing.Point(0, 220); + this.runButton.Margin = new System.Windows.Forms.Padding(1); + this.runButton.Name = "runButton"; + this.runButton.Size = new System.Drawing.Size(284, 44); + this.runButton.TabIndex = 0; + this.runButton.Text = "Run Example"; + this.runButton.UseVisualStyleBackColor = true; + this.runButton.Click += new System.EventHandler(this.runButton_Click); // // ExampleLauncher // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(284, 264); + this.Controls.Add(this.runButton); this.Controls.Add(this.listBox1); + this.MinimumSize = new System.Drawing.Size(300, 300); this.Name = "ExampleLauncher"; this.Text = "OpenTK Example Launcher"; this.Load += new System.EventHandler(this.ExampleLauncher_Load); @@ -58,5 +76,7 @@ #endregion private System.Windows.Forms.ListBox listBox1; + private System.Windows.Forms.Button runButton; + } } \ No newline at end of file diff --git a/Source/Examples/ExampleLauncher.cs b/Source/Examples/ExampleLauncher.cs index d78a1472..8b9f291b 100644 --- a/Source/Examples/ExampleLauncher.cs +++ b/Source/Examples/ExampleLauncher.cs @@ -45,8 +45,10 @@ namespace Examples MessageBox.Show("Could not access debug.log", e.ToString()); } + Debug.Listeners.Clear(); Debug.Listeners.Add(new TextWriterTraceListener("debug.log")); Debug.Listeners.Add(new ConsoleTraceListener()); + Debug.AutoFlush = true; try { @@ -70,7 +72,45 @@ namespace Examples InitializeComponent(); } - private void listBox1_DoubleClick(object sender, EventArgs e) + void Launch(object example) + { + Type ex = example as Type; + try + { + (ex.GetConstructor(Type.EmptyTypes).Invoke(null) as IExample).Launch(); + } + catch (Exception expt) + { + MessageBox.Show(String.Format("Stacktrace:{0}{1}{0}{0}Inner exception:{0}{2}", + System.Environment.NewLine, expt.StackTrace, expt.InnerException), expt.Message); + } + } + + public void ExampleLauncher_Load(object sender, EventArgs e) + { + SortedList sl = new SortedList(); + + // Get all examples + Type[] types = Assembly.GetExecutingAssembly().GetTypes(); + foreach (Type type in types) + { + if (type.GetInterface("IExample") != null) + { + sl.Add((type.Namespace.Replace("Examples.", String.Empty) + ": " + type.Name).Replace('_', ' '), null); + } + } + + foreach (string s in sl.Keys) + listBox1.Items.Add(s); + + // Select first item + if (listBox1.Items.Count > 0) + { + this.listBox1.SelectedIndex = 0; + } + } + + private void RunExample() { if (listBox1.SelectedItem != null) { @@ -79,7 +119,7 @@ namespace Examples "Examples." + listBox1.SelectedItem.ToString().Replace(": ", ".").Replace(' ', '_'), true, true); - + Debug.Print("Launching example: {0}", example.ToString()); if (example.BaseType == typeof(GameWindow)) @@ -111,51 +151,24 @@ namespace Examples } } - void Launch(object example) + private void listBox1_DoubleClick(object sender, EventArgs e) { - Type ex = example as Type; - try + RunExample(); + } + + private void listBox1_KeyUp(object sender, KeyEventArgs e) + { + switch (e.KeyCode) { - (ex.GetConstructor(Type.EmptyTypes).Invoke(null) as IExample).Launch(); - } - catch (Exception expt) - { - MessageBox.Show( - String.Format( - "Stacktrace:{0}{1}{0}{0}Inner exception:{0}{2}", - System.Environment.NewLine, - expt.StackTrace, - expt.InnerException - ), - expt.Message); + case Keys.Enter: + RunExample(); + break; } } - public void ExampleLauncher_Load(object sender, EventArgs e) + private void runButton_Click(object sender, EventArgs e) { - SortedList sl = new SortedList(); - - // Get all examples - Type[] types = Assembly.GetExecutingAssembly().GetTypes(); - foreach (Type type in types) - { - if (type.GetInterface("IExample") != null) - { - sl.Add( - (type.Namespace.Replace("Examples.", String.Empty) + ": " + type.Name).Replace('_', ' '), - null - ); - } - } - - foreach (string s in sl.Keys) - listBox1.Items.Add(s); - - // Select first item - if (listBox1.Items.Count > 0) - { - this.listBox1.SelectedIndex = 0; - } + RunExample(); } } } diff --git a/Source/Examples/ExampleLauncher.resx b/Source/Examples/ExampleLauncher.resx index 0841fd36..ff31a6db 100644 --- a/Source/Examples/ExampleLauncher.resx +++ b/Source/Examples/ExampleLauncher.resx @@ -117,10 +117,4 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 17, 17 - - - 243, 17 - \ No newline at end of file diff --git a/Source/Examples/WinForms/Cube.cs b/Source/Examples/WinForms/Cube.cs index fa8970f2..8e62ba55 100644 --- a/Source/Examples/WinForms/Cube.cs +++ b/Source/Examples/WinForms/Cube.cs @@ -67,7 +67,7 @@ namespace Examples.WinForms #region private void Render() private void Render() - { + { GL.MatrixMode(GL.Enums.MatrixMode.MODELVIEW); GL.LoadIdentity(); Glu.LookAt( @@ -171,37 +171,38 @@ namespace Examples.WinForms { GL.Begin(GL.Enums.BeginMode.QUADS); - GL.Color3(1.0f, 0.0f, 0.0f); + GL.Color3((byte)Color.Silver.R, (byte)Color.Silver.G, (byte)Color.Silver.B); GL.Vertex3(-1.0f, -1.0f, -1.0f); GL.Vertex3(-1.0f, 1.0f, -1.0f); GL.Vertex3(1.0f, 1.0f, -1.0f); GL.Vertex3(1.0f, -1.0f, -1.0f); - GL.Color3(1.0f, 1.0f, 0.0f); + GL.Color3((byte)Color.Honeydew.R, (byte)Color.Honeydew.G, (byte)Color.Honeydew.B); GL.Vertex3(-1.0f, -1.0f, -1.0f); GL.Vertex3(1.0f, -1.0f, -1.0f); GL.Vertex3(1.0f, -1.0f, 1.0f); GL.Vertex3(-1.0f, -1.0f, 1.0f); - GL.Color3(1.0f, 0.0f, 1.0f); + GL.Color3((byte)Color.Moccasin.R, (byte)Color.Moccasin.G, (byte)Color.Moccasin.B); + GL.Vertex3(-1.0f, -1.0f, -1.0f); GL.Vertex3(-1.0f, -1.0f, 1.0f); GL.Vertex3(-1.0f, 1.0f, 1.0f); GL.Vertex3(-1.0f, 1.0f, -1.0f); - GL.Color3(0.0f, 1.0f, 0.0f); + GL.Color3((byte)Color.IndianRed.R, (byte)Color.IndianRed.G, (byte)Color.IndianRed.B); GL.Vertex3(-1.0f, -1.0f, 1.0f); GL.Vertex3(1.0f, -1.0f, 1.0f); GL.Vertex3(1.0f, 1.0f, 1.0f); GL.Vertex3(-1.0f, 1.0f, 1.0f); - GL.Color3(0.0f, 0.0f, 1.0f); + GL.Color3((byte)Color.PaleVioletRed.R, (byte)Color.PaleVioletRed.G, (byte)Color.PaleVioletRed.B); GL.Vertex3(-1.0f, 1.0f, -1.0f); GL.Vertex3(-1.0f, 1.0f, 1.0f); GL.Vertex3(1.0f, 1.0f, 1.0f); GL.Vertex3(1.0f, 1.0f, -1.0f); - GL.Color3(0.0f, 1.0f, 1.0f); + GL.Color3((byte)Color.ForestGreen.R, (byte)Color.ForestGreen.G, (byte)Color.ForestGreen.B); GL.Vertex3(1.0f, -1.0f, -1.0f); GL.Vertex3(1.0f, 1.0f, -1.0f); GL.Vertex3(1.0f, 1.0f, 1.0f); diff --git a/Source/Examples/WinForms/W01_First_Window.cs b/Source/Examples/WinForms/W01_First_Window.cs index fd3428b5..38065cfa 100644 --- a/Source/Examples/WinForms/W01_First_Window.cs +++ b/Source/Examples/WinForms/W01_First_Window.cs @@ -30,41 +30,43 @@ namespace Examples.WinForms this.ShowDialog(); } - protected override void OnHandleCreated(EventArgs e) + protected override void OnLoad(EventArgs e) { - base.OnHandleCreated(e); + base.OnLoad(e); + + glControl1.CreateContext(); } private void redButton_Click(object sender, EventArgs e) { - GL.ClearColor(0.7f, 0.0f, 0.0f, 0.0f); - glControl1.Invalidate(); + //GL.ClearColor(0.7f, 0.0f, 0.0f, 0.0f); + //glControl1.Invalidate(); } private void greenButton_Click(object sender, EventArgs e) { - GL.ClearColor(0.0f, 0.5f, 0.0f, 0.0f); - glControl1.Invalidate(); + //GL.ClearColor(0.0f, 0.5f, 0.0f, 0.0f); + //glControl1.Invalidate(); } private void blueButton_Click(object sender, EventArgs e) { - GL.ClearColor(0.0f, 0.0f, 0.7f, 0.0f); - glControl1.Invalidate(); + //GL.ClearColor(0.0f, 0.0f, 0.7f, 0.0f); + //glControl1.Invalidate(); } private void glControl1_Paint(object sender, PaintEventArgs e) { - GL.Clear(GL.Enums.ClearBufferMask.COLOR_BUFFER_BIT); - glControl1.Context.SwapBuffers(); + //GL.Clear(GL.Enums.ClearBufferMask.COLOR_BUFFER_BIT); + //glControl1.SwapBuffers(); } private void glControl1_Resize(object sender, OpenTK.Platform.ResizeEventArgs e) { - if (glControl1.ClientSize.Height == 0) - glControl1.ClientSize = new System.Drawing.Size(glControl1.ClientSize.Width, 1); + //if (glControl1.ClientSize.Height == 0) + // glControl1.ClientSize = new System.Drawing.Size(glControl1.ClientSize.Width, 1); - GL.Viewport(0, 0, glControl1.ClientSize.Width, glControl1.ClientSize.Height); + //GL.Viewport(0, 0, glControl1.ClientSize.Width, glControl1.ClientSize.Height); } private void glControl1_KeyDown(object sender, KeyEventArgs e) diff --git a/Source/OpenTK/GLControl.cs b/Source/OpenTK/GLControl.cs index 38040f11..223bfb87 100644 --- a/Source/OpenTK/GLControl.cs +++ b/Source/OpenTK/GLControl.cs @@ -47,6 +47,7 @@ namespace OpenTK { InitializeComponent(); + this.Visible = false; this.Fullscreen = mode.Fullscreen; this.SetStyle(ControlStyles.UserPaint, true); diff --git a/Source/OpenTK/GameWindow.cs b/Source/OpenTK/GameWindow.cs index a7229840..a373565e 100644 --- a/Source/OpenTK/GameWindow.cs +++ b/Source/OpenTK/GameWindow.cs @@ -204,6 +204,7 @@ namespace OpenTK if (!Exists) { glWindow.CreateWindow(mode); + OpenTK.OpenGL.GL.LoadAll(); } else { diff --git a/Source/OpenTK/OpenGL/Bindings/GL.cs b/Source/OpenTK/OpenGL/Bindings/GL.cs index 5de6653a..654f2b41 100644 --- a/Source/OpenTK/OpenGL/Bindings/GL.cs +++ b/Source/OpenTK/OpenGL/Bindings/GL.cs @@ -48,16 +48,15 @@ namespace OpenTK.OpenGL public static void CallLists(Int32 n, GL.Enums.ListNameType type, [In, Out] object lists) { - System.Runtime.InteropServices.GCHandle lists_ptr = System.Runtime.InteropServices.GCHandle.Alloc(lists, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle lists_ptr = System.Runtime.InteropServices.GCHandle.Alloc(lists, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glCallLists((Int32)n, (GL.Enums.ListNameType)type, (void*)lists_ptr.AddrOfPinnedObject()); } finally { - lists_ptr.Free(); } } } @@ -108,7 +107,7 @@ namespace OpenTK.OpenGL } public static - void Bitmap(Int32 width, Int32 height, Single xorig, Single yorig, Single xmove, Single ymove, [In, Out] Byte[] bitmap) + void Bitmap(Int32 width, Int32 height, Single xorig, Single yorig, Single xmove, Single ymove, Byte[] bitmap) { unsafe { @@ -138,12 +137,6 @@ namespace OpenTK.OpenGL Delegates.glColor3b((SByte)red, (SByte)green, (SByte)blue); } - public static - void Color3(Byte red, Byte green, Byte blue) - { - Delegates.glColor3b((SByte)red, (SByte)green, (SByte)blue); - } - [System.CLSCompliant(false)] public static unsafe void Color3(SByte* v) @@ -153,16 +146,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Color3(Byte* v) - { - { - Delegates.glColor3bv((SByte*)v); - } - } - - [System.CLSCompliant(false)] - public static - void Color3([In, Out] SByte[] v) + void Color3(SByte[] v) { unsafe { @@ -173,18 +157,6 @@ namespace OpenTK.OpenGL } } - public static - void Color3([In, Out] Byte[] v) - { - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glColor3bv((SByte*)v_ptr); - } - } - } - [System.CLSCompliant(false)] public static void Color3(ref SByte v) @@ -198,18 +170,6 @@ namespace OpenTK.OpenGL } } - public static - void Color3(ref Byte v) - { - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glColor3bv((SByte*)v_ptr); - } - } - } - public static void Color3(Double red, Double green, Double blue) { @@ -224,7 +184,7 @@ namespace OpenTK.OpenGL } public static - void Color3([In, Out] Double[] v) + void Color3(Double[] v) { unsafe { @@ -261,7 +221,7 @@ namespace OpenTK.OpenGL } public static - void Color3([In, Out] Single[] v) + void Color3(Single[] v) { unsafe { @@ -285,75 +245,38 @@ namespace OpenTK.OpenGL } public static - void Color3(Int32 red, Int32 green, Int32 blue) + void Color3(Byte red, Byte green, Byte blue) { - Delegates.glColor3i((Int32)red, (Int32)green, (Int32)blue); + Delegates.glColor3ub((Byte)red, (Byte)green, (Byte)blue); } [System.CLSCompliant(false)] public static - unsafe void Color3(Int32* v) + unsafe void Color3(Byte* v) { - unsafe { Delegates.glColor3iv((Int32*)v); } + unsafe { Delegates.glColor3ubv((Byte*)v); } } public static - void Color3([In, Out] Int32[] v) + void Color3(Byte[] v) { unsafe { - fixed (Int32* v_ptr = v) + fixed (Byte* v_ptr = v) { - Delegates.glColor3iv((Int32*)v_ptr); + Delegates.glColor3ubv((Byte*)v_ptr); } } } public static - void Color3(ref Int32 v) + void Color3(ref Byte v) { unsafe { - fixed (Int32* v_ptr = &v) + fixed (Byte* v_ptr = &v) { - Delegates.glColor3iv((Int32*)v_ptr); - } - } - } - - public static - void Color3(Int16 red, Int16 green, Int16 blue) - { - Delegates.glColor3s((Int16)red, (Int16)green, (Int16)blue); - } - - [System.CLSCompliant(false)] - public static - unsafe void Color3(Int16* v) - { - unsafe { Delegates.glColor3sv((Int16*)v); } - } - - public static - void Color3([In, Out] Int16[] v) - { - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glColor3sv((Int16*)v_ptr); - } - } - } - - public static - void Color3(ref Int16 v) - { - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glColor3sv((Int16*)v_ptr); + Delegates.glColor3ubv((Byte*)v_ptr); } } } @@ -365,6 +288,12 @@ namespace OpenTK.OpenGL Delegates.glColor3ui((UInt32)red, (UInt32)green, (UInt32)blue); } + public static + void Color3(Int32 red, Int32 green, Int32 blue) + { + Delegates.glColor3ui((UInt32)red, (UInt32)green, (UInt32)blue); + } + [System.CLSCompliant(false)] public static unsafe void Color3(UInt32* v) @@ -374,7 +303,17 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void Color3([In, Out] UInt32[] v) + unsafe void Color3(Int32* v) + { + unsafe + { + Delegates.glColor3uiv((UInt32*)v); + } + } + + [System.CLSCompliant(false)] + public static + void Color3(UInt32[] v) { unsafe { @@ -385,6 +324,18 @@ namespace OpenTK.OpenGL } } + public static + void Color3(Int32[] v) + { + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glColor3uiv((UInt32*)v_ptr); + } + } + } + [System.CLSCompliant(false)] public static void Color3(ref UInt32 v) @@ -398,6 +349,18 @@ namespace OpenTK.OpenGL } } + public static + void Color3(ref Int32 v) + { + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glColor3uiv((UInt32*)v_ptr); + } + } + } + [System.CLSCompliant(false)] public static void Color3(UInt16 red, UInt16 green, UInt16 blue) @@ -405,6 +368,12 @@ namespace OpenTK.OpenGL Delegates.glColor3us((UInt16)red, (UInt16)green, (UInt16)blue); } + public static + void Color3(Int16 red, Int16 green, Int16 blue) + { + Delegates.glColor3us((UInt16)red, (UInt16)green, (UInt16)blue); + } + [System.CLSCompliant(false)] public static unsafe void Color3(UInt16* v) @@ -414,7 +383,17 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void Color3([In, Out] UInt16[] v) + unsafe void Color3(Int16* v) + { + unsafe + { + Delegates.glColor3usv((UInt16*)v); + } + } + + [System.CLSCompliant(false)] + public static + void Color3(UInt16[] v) { unsafe { @@ -425,6 +404,18 @@ namespace OpenTK.OpenGL } } + public static + void Color3(Int16[] v) + { + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glColor3usv((UInt16*)v_ptr); + } + } + } + [System.CLSCompliant(false)] public static void Color3(ref UInt16 v) @@ -438,6 +429,18 @@ namespace OpenTK.OpenGL } } + public static + void Color3(ref Int16 v) + { + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glColor3usv((UInt16*)v_ptr); + } + } + } + [System.CLSCompliant(false)] public static void Color4(SByte red, SByte green, SByte blue, SByte alpha) @@ -445,12 +448,6 @@ namespace OpenTK.OpenGL Delegates.glColor4b((SByte)red, (SByte)green, (SByte)blue, (SByte)alpha); } - public static - void Color4(Byte red, Byte green, Byte blue, Byte alpha) - { - Delegates.glColor4b((SByte)red, (SByte)green, (SByte)blue, (SByte)alpha); - } - [System.CLSCompliant(false)] public static unsafe void Color4(SByte* v) @@ -460,16 +457,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Color4(Byte* v) - { - { - Delegates.glColor4bv((SByte*)v); - } - } - - [System.CLSCompliant(false)] - public static - void Color4([In, Out] SByte[] v) + void Color4(SByte[] v) { unsafe { @@ -480,18 +468,6 @@ namespace OpenTK.OpenGL } } - public static - void Color4([In, Out] Byte[] v) - { - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glColor4bv((SByte*)v_ptr); - } - } - } - [System.CLSCompliant(false)] public static void Color4(ref SByte v) @@ -505,18 +481,6 @@ namespace OpenTK.OpenGL } } - public static - void Color4(ref Byte v) - { - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glColor4bv((SByte*)v_ptr); - } - } - } - public static void Color4(Double red, Double green, Double blue, Double alpha) { @@ -531,7 +495,7 @@ namespace OpenTK.OpenGL } public static - void Color4([In, Out] Double[] v) + void Color4(Double[] v) { unsafe { @@ -568,7 +532,7 @@ namespace OpenTK.OpenGL } public static - void Color4([In, Out] Single[] v) + void Color4(Single[] v) { unsafe { @@ -592,75 +556,38 @@ namespace OpenTK.OpenGL } public static - void Color4(Int32 red, Int32 green, Int32 blue, Int32 alpha) + void Color4(Byte red, Byte green, Byte blue, Byte alpha) { - Delegates.glColor4i((Int32)red, (Int32)green, (Int32)blue, (Int32)alpha); + Delegates.glColor4ub((Byte)red, (Byte)green, (Byte)blue, (Byte)alpha); } [System.CLSCompliant(false)] public static - unsafe void Color4(Int32* v) + unsafe void Color4(Byte* v) { - unsafe { Delegates.glColor4iv((Int32*)v); } + unsafe { Delegates.glColor4ubv((Byte*)v); } } public static - void Color4([In, Out] Int32[] v) + void Color4(Byte[] v) { unsafe { - fixed (Int32* v_ptr = v) + fixed (Byte* v_ptr = v) { - Delegates.glColor4iv((Int32*)v_ptr); + Delegates.glColor4ubv((Byte*)v_ptr); } } } public static - void Color4(ref Int32 v) + void Color4(ref Byte v) { unsafe { - fixed (Int32* v_ptr = &v) + fixed (Byte* v_ptr = &v) { - Delegates.glColor4iv((Int32*)v_ptr); - } - } - } - - public static - void Color4(Int16 red, Int16 green, Int16 blue, Int16 alpha) - { - Delegates.glColor4s((Int16)red, (Int16)green, (Int16)blue, (Int16)alpha); - } - - [System.CLSCompliant(false)] - public static - unsafe void Color4(Int16* v) - { - unsafe { Delegates.glColor4sv((Int16*)v); } - } - - public static - void Color4([In, Out] Int16[] v) - { - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glColor4sv((Int16*)v_ptr); - } - } - } - - public static - void Color4(ref Int16 v) - { - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glColor4sv((Int16*)v_ptr); + Delegates.glColor4ubv((Byte*)v_ptr); } } } @@ -672,6 +599,12 @@ namespace OpenTK.OpenGL Delegates.glColor4ui((UInt32)red, (UInt32)green, (UInt32)blue, (UInt32)alpha); } + public static + void Color4(Int32 red, Int32 green, Int32 blue, Int32 alpha) + { + Delegates.glColor4ui((UInt32)red, (UInt32)green, (UInt32)blue, (UInt32)alpha); + } + [System.CLSCompliant(false)] public static unsafe void Color4(UInt32* v) @@ -681,7 +614,17 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void Color4([In, Out] UInt32[] v) + unsafe void Color4(Int32* v) + { + unsafe + { + Delegates.glColor4uiv((UInt32*)v); + } + } + + [System.CLSCompliant(false)] + public static + void Color4(UInt32[] v) { unsafe { @@ -692,6 +635,18 @@ namespace OpenTK.OpenGL } } + public static + void Color4(Int32[] v) + { + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glColor4uiv((UInt32*)v_ptr); + } + } + } + [System.CLSCompliant(false)] public static void Color4(ref UInt32 v) @@ -705,6 +660,18 @@ namespace OpenTK.OpenGL } } + public static + void Color4(ref Int32 v) + { + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glColor4uiv((UInt32*)v_ptr); + } + } + } + [System.CLSCompliant(false)] public static void Color4(UInt16 red, UInt16 green, UInt16 blue, UInt16 alpha) @@ -712,6 +679,12 @@ namespace OpenTK.OpenGL Delegates.glColor4us((UInt16)red, (UInt16)green, (UInt16)blue, (UInt16)alpha); } + public static + void Color4(Int16 red, Int16 green, Int16 blue, Int16 alpha) + { + Delegates.glColor4us((UInt16)red, (UInt16)green, (UInt16)blue, (UInt16)alpha); + } + [System.CLSCompliant(false)] public static unsafe void Color4(UInt16* v) @@ -721,7 +694,17 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void Color4([In, Out] UInt16[] v) + unsafe void Color4(Int16* v) + { + unsafe + { + Delegates.glColor4usv((UInt16*)v); + } + } + + [System.CLSCompliant(false)] + public static + void Color4(UInt16[] v) { unsafe { @@ -732,6 +715,18 @@ namespace OpenTK.OpenGL } } + public static + void Color4(Int16[] v) + { + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glColor4usv((UInt16*)v_ptr); + } + } + } + [System.CLSCompliant(false)] public static void Color4(ref UInt16 v) @@ -745,6 +740,18 @@ namespace OpenTK.OpenGL } } + public static + void Color4(ref Int16 v) + { + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glColor4usv((UInt16*)v_ptr); + } + } + } + public static void EdgeFlag(GL.Enums.Boolean flag) { @@ -778,7 +785,7 @@ namespace OpenTK.OpenGL } public static - void Indexv([In, Out] Double[] c) + void Indexv(Double[] c) { unsafe { @@ -815,7 +822,7 @@ namespace OpenTK.OpenGL } public static - void Indexv([In, Out] Single[] c) + void Indexv(Single[] c) { unsafe { @@ -852,7 +859,7 @@ namespace OpenTK.OpenGL } public static - void Indexv([In, Out] Int32[] c) + void Indexv(Int32[] c) { unsafe { @@ -889,7 +896,7 @@ namespace OpenTK.OpenGL } public static - void Indexv([In, Out] Int16[] c) + void Indexv(Int16[] c) { unsafe { @@ -936,14 +943,15 @@ namespace OpenTK.OpenGL public static unsafe void Normal3(Byte* v) { - { - Delegates.glNormal3bv((SByte*)v); - } + unsafe + { + Delegates.glNormal3bv((SByte*)v); + } } [System.CLSCompliant(false)] public static - void Normal3([In, Out] SByte[] v) + void Normal3(SByte[] v) { unsafe { @@ -955,7 +963,7 @@ namespace OpenTK.OpenGL } public static - void Normal3([In, Out] Byte[] v) + void Normal3(Byte[] v) { unsafe { @@ -1005,7 +1013,7 @@ namespace OpenTK.OpenGL } public static - void Normal3([In, Out] Double[] v) + void Normal3(Double[] v) { unsafe { @@ -1042,7 +1050,7 @@ namespace OpenTK.OpenGL } public static - void Normal3([In, Out] Single[] v) + void Normal3(Single[] v) { unsafe { @@ -1079,7 +1087,7 @@ namespace OpenTK.OpenGL } public static - void Normal3([In, Out] Int32[] v) + void Normal3(Int32[] v) { unsafe { @@ -1116,7 +1124,7 @@ namespace OpenTK.OpenGL } public static - void Normal3([In, Out] Int16[] v) + void Normal3(Int16[] v) { unsafe { @@ -1153,7 +1161,7 @@ namespace OpenTK.OpenGL } public static - void RasterPos2([In, Out] Double[] v) + void RasterPos2(Double[] v) { unsafe { @@ -1190,7 +1198,7 @@ namespace OpenTK.OpenGL } public static - void RasterPos2([In, Out] Single[] v) + void RasterPos2(Single[] v) { unsafe { @@ -1227,7 +1235,7 @@ namespace OpenTK.OpenGL } public static - void RasterPos2([In, Out] Int32[] v) + void RasterPos2(Int32[] v) { unsafe { @@ -1264,7 +1272,7 @@ namespace OpenTK.OpenGL } public static - void RasterPos2([In, Out] Int16[] v) + void RasterPos2(Int16[] v) { unsafe { @@ -1301,7 +1309,7 @@ namespace OpenTK.OpenGL } public static - void RasterPos3([In, Out] Double[] v) + void RasterPos3(Double[] v) { unsafe { @@ -1338,7 +1346,7 @@ namespace OpenTK.OpenGL } public static - void RasterPos3([In, Out] Single[] v) + void RasterPos3(Single[] v) { unsafe { @@ -1375,7 +1383,7 @@ namespace OpenTK.OpenGL } public static - void RasterPos3([In, Out] Int32[] v) + void RasterPos3(Int32[] v) { unsafe { @@ -1412,7 +1420,7 @@ namespace OpenTK.OpenGL } public static - void RasterPos3([In, Out] Int16[] v) + void RasterPos3(Int16[] v) { unsafe { @@ -1449,7 +1457,7 @@ namespace OpenTK.OpenGL } public static - void RasterPos4([In, Out] Double[] v) + void RasterPos4(Double[] v) { unsafe { @@ -1486,7 +1494,7 @@ namespace OpenTK.OpenGL } public static - void RasterPos4([In, Out] Single[] v) + void RasterPos4(Single[] v) { unsafe { @@ -1523,7 +1531,7 @@ namespace OpenTK.OpenGL } public static - void RasterPos4([In, Out] Int32[] v) + void RasterPos4(Int32[] v) { unsafe { @@ -1560,7 +1568,7 @@ namespace OpenTK.OpenGL } public static - void RasterPos4([In, Out] Int16[] v) + void RasterPos4(Int16[] v) { unsafe { @@ -1598,36 +1606,45 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Rectv(Double* v1, [In, Out] Double[] v2) + unsafe void Rectv(Double* v1, Double[] v2) { + unsafe + { fixed (Double* v2_ptr = v2) { Delegates.glRectdv((Double*)v1, (Double*)v2_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void Rectv(Double* v1, ref Double v2) { + unsafe + { fixed (Double* v2_ptr = &v2) { Delegates.glRectdv((Double*)v1, (Double*)v2_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void Rectv([In, Out] Double[] v1, Double* v2) + unsafe void Rectv(Double[] v1, Double* v2) { + unsafe + { fixed (Double* v1_ptr = v1) { Delegates.glRectdv((Double*)v1_ptr, (Double*)v2); } + } } public static - void Rectv([In, Out] Double[] v1, [In, Out] Double[] v2) + void Rectv(Double[] v1, Double[] v2) { unsafe { @@ -1640,7 +1657,7 @@ namespace OpenTK.OpenGL } public static - void Rectv([In, Out] Double[] v1, ref Double v2) + void Rectv(Double[] v1, ref Double v2) { unsafe { @@ -1656,14 +1673,17 @@ namespace OpenTK.OpenGL public static unsafe void Rectv(ref Double v1, Double* v2) { + unsafe + { fixed (Double* v1_ptr = &v1) { Delegates.glRectdv((Double*)v1_ptr, (Double*)v2); } + } } public static - void Rectv(ref Double v1, [In, Out] Double[] v2) + void Rectv(ref Double v1, Double[] v2) { unsafe { @@ -1703,36 +1723,45 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Rectv(Single* v1, [In, Out] Single[] v2) + unsafe void Rectv(Single* v1, Single[] v2) { + unsafe + { fixed (Single* v2_ptr = v2) { Delegates.glRectfv((Single*)v1, (Single*)v2_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void Rectv(Single* v1, ref Single v2) { + unsafe + { fixed (Single* v2_ptr = &v2) { Delegates.glRectfv((Single*)v1, (Single*)v2_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void Rectv([In, Out] Single[] v1, Single* v2) + unsafe void Rectv(Single[] v1, Single* v2) { + unsafe + { fixed (Single* v1_ptr = v1) { Delegates.glRectfv((Single*)v1_ptr, (Single*)v2); } + } } public static - void Rectv([In, Out] Single[] v1, [In, Out] Single[] v2) + void Rectv(Single[] v1, Single[] v2) { unsafe { @@ -1745,7 +1774,7 @@ namespace OpenTK.OpenGL } public static - void Rectv([In, Out] Single[] v1, ref Single v2) + void Rectv(Single[] v1, ref Single v2) { unsafe { @@ -1761,14 +1790,17 @@ namespace OpenTK.OpenGL public static unsafe void Rectv(ref Single v1, Single* v2) { + unsafe + { fixed (Single* v1_ptr = &v1) { Delegates.glRectfv((Single*)v1_ptr, (Single*)v2); } + } } public static - void Rectv(ref Single v1, [In, Out] Single[] v2) + void Rectv(ref Single v1, Single[] v2) { unsafe { @@ -1808,36 +1840,45 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Rectv(Int32* v1, [In, Out] Int32[] v2) + unsafe void Rectv(Int32* v1, Int32[] v2) { + unsafe + { fixed (Int32* v2_ptr = v2) { Delegates.glRectiv((Int32*)v1, (Int32*)v2_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void Rectv(Int32* v1, ref Int32 v2) { + unsafe + { fixed (Int32* v2_ptr = &v2) { Delegates.glRectiv((Int32*)v1, (Int32*)v2_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void Rectv([In, Out] Int32[] v1, Int32* v2) + unsafe void Rectv(Int32[] v1, Int32* v2) { + unsafe + { fixed (Int32* v1_ptr = v1) { Delegates.glRectiv((Int32*)v1_ptr, (Int32*)v2); } + } } public static - void Rectv([In, Out] Int32[] v1, [In, Out] Int32[] v2) + void Rectv(Int32[] v1, Int32[] v2) { unsafe { @@ -1850,7 +1891,7 @@ namespace OpenTK.OpenGL } public static - void Rectv([In, Out] Int32[] v1, ref Int32 v2) + void Rectv(Int32[] v1, ref Int32 v2) { unsafe { @@ -1866,14 +1907,17 @@ namespace OpenTK.OpenGL public static unsafe void Rectv(ref Int32 v1, Int32* v2) { + unsafe + { fixed (Int32* v1_ptr = &v1) { Delegates.glRectiv((Int32*)v1_ptr, (Int32*)v2); } + } } public static - void Rectv(ref Int32 v1, [In, Out] Int32[] v2) + void Rectv(ref Int32 v1, Int32[] v2) { unsafe { @@ -1913,36 +1957,45 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Rectv(Int16* v1, [In, Out] Int16[] v2) + unsafe void Rectv(Int16* v1, Int16[] v2) { + unsafe + { fixed (Int16* v2_ptr = v2) { Delegates.glRectsv((Int16*)v1, (Int16*)v2_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void Rectv(Int16* v1, ref Int16 v2) { + unsafe + { fixed (Int16* v2_ptr = &v2) { Delegates.glRectsv((Int16*)v1, (Int16*)v2_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void Rectv([In, Out] Int16[] v1, Int16* v2) + unsafe void Rectv(Int16[] v1, Int16* v2) { + unsafe + { fixed (Int16* v1_ptr = v1) { Delegates.glRectsv((Int16*)v1_ptr, (Int16*)v2); } + } } public static - void Rectv([In, Out] Int16[] v1, [In, Out] Int16[] v2) + void Rectv(Int16[] v1, Int16[] v2) { unsafe { @@ -1955,7 +2008,7 @@ namespace OpenTK.OpenGL } public static - void Rectv([In, Out] Int16[] v1, ref Int16 v2) + void Rectv(Int16[] v1, ref Int16 v2) { unsafe { @@ -1971,14 +2024,17 @@ namespace OpenTK.OpenGL public static unsafe void Rectv(ref Int16 v1, Int16* v2) { + unsafe + { fixed (Int16* v1_ptr = &v1) { Delegates.glRectsv((Int16*)v1_ptr, (Int16*)v2); } + } } public static - void Rectv(ref Int16 v1, [In, Out] Int16[] v2) + void Rectv(ref Int16 v1, Int16[] v2) { unsafe { @@ -2017,7 +2073,7 @@ namespace OpenTK.OpenGL } public static - void TexCoord1dv([In, Out] Double[] v) + void TexCoord1dv(Double[] v) { unsafe { @@ -2054,7 +2110,7 @@ namespace OpenTK.OpenGL } public static - void TexCoord1fv([In, Out] Single[] v) + void TexCoord1fv(Single[] v) { unsafe { @@ -2091,7 +2147,7 @@ namespace OpenTK.OpenGL } public static - void TexCoord1iv([In, Out] Int32[] v) + void TexCoord1iv(Int32[] v) { unsafe { @@ -2128,7 +2184,7 @@ namespace OpenTK.OpenGL } public static - void TexCoord1sv([In, Out] Int16[] v) + void TexCoord1sv(Int16[] v) { unsafe { @@ -2165,7 +2221,7 @@ namespace OpenTK.OpenGL } public static - void TexCoord2([In, Out] Double[] v) + void TexCoord2(Double[] v) { unsafe { @@ -2202,7 +2258,7 @@ namespace OpenTK.OpenGL } public static - void TexCoord2([In, Out] Single[] v) + void TexCoord2(Single[] v) { unsafe { @@ -2239,7 +2295,7 @@ namespace OpenTK.OpenGL } public static - void TexCoord2([In, Out] Int32[] v) + void TexCoord2(Int32[] v) { unsafe { @@ -2276,7 +2332,7 @@ namespace OpenTK.OpenGL } public static - void TexCoord2([In, Out] Int16[] v) + void TexCoord2(Int16[] v) { unsafe { @@ -2313,7 +2369,7 @@ namespace OpenTK.OpenGL } public static - void TexCoord3([In, Out] Double[] v) + void TexCoord3(Double[] v) { unsafe { @@ -2350,7 +2406,7 @@ namespace OpenTK.OpenGL } public static - void TexCoord3([In, Out] Single[] v) + void TexCoord3(Single[] v) { unsafe { @@ -2387,7 +2443,7 @@ namespace OpenTK.OpenGL } public static - void TexCoord3([In, Out] Int32[] v) + void TexCoord3(Int32[] v) { unsafe { @@ -2424,7 +2480,7 @@ namespace OpenTK.OpenGL } public static - void TexCoord3([In, Out] Int16[] v) + void TexCoord3(Int16[] v) { unsafe { @@ -2461,7 +2517,7 @@ namespace OpenTK.OpenGL } public static - void TexCoord4([In, Out] Double[] v) + void TexCoord4(Double[] v) { unsafe { @@ -2498,7 +2554,7 @@ namespace OpenTK.OpenGL } public static - void TexCoord4([In, Out] Single[] v) + void TexCoord4(Single[] v) { unsafe { @@ -2535,7 +2591,7 @@ namespace OpenTK.OpenGL } public static - void TexCoord4([In, Out] Int32[] v) + void TexCoord4(Int32[] v) { unsafe { @@ -2572,7 +2628,7 @@ namespace OpenTK.OpenGL } public static - void TexCoord4([In, Out] Int16[] v) + void TexCoord4(Int16[] v) { unsafe { @@ -2609,7 +2665,7 @@ namespace OpenTK.OpenGL } public static - void Vertex2([In, Out] Double[] v) + void Vertex2(Double[] v) { unsafe { @@ -2646,7 +2702,7 @@ namespace OpenTK.OpenGL } public static - void Vertex2([In, Out] Single[] v) + void Vertex2(Single[] v) { unsafe { @@ -2683,7 +2739,7 @@ namespace OpenTK.OpenGL } public static - void Vertex2([In, Out] Int32[] v) + void Vertex2(Int32[] v) { unsafe { @@ -2720,7 +2776,7 @@ namespace OpenTK.OpenGL } public static - void Vertex2([In, Out] Int16[] v) + void Vertex2(Int16[] v) { unsafe { @@ -2757,7 +2813,7 @@ namespace OpenTK.OpenGL } public static - void Vertex3([In, Out] Double[] v) + void Vertex3(Double[] v) { unsafe { @@ -2794,7 +2850,7 @@ namespace OpenTK.OpenGL } public static - void Vertex3([In, Out] Single[] v) + void Vertex3(Single[] v) { unsafe { @@ -2831,7 +2887,7 @@ namespace OpenTK.OpenGL } public static - void Vertex3([In, Out] Int32[] v) + void Vertex3(Int32[] v) { unsafe { @@ -2868,7 +2924,7 @@ namespace OpenTK.OpenGL } public static - void Vertex3([In, Out] Int16[] v) + void Vertex3(Int16[] v) { unsafe { @@ -2905,7 +2961,7 @@ namespace OpenTK.OpenGL } public static - void Vertex4([In, Out] Double[] v) + void Vertex4(Double[] v) { unsafe { @@ -2942,7 +2998,7 @@ namespace OpenTK.OpenGL } public static - void Vertex4([In, Out] Single[] v) + void Vertex4(Single[] v) { unsafe { @@ -2979,7 +3035,7 @@ namespace OpenTK.OpenGL } public static - void Vertex4([In, Out] Int32[] v) + void Vertex4(Int32[] v) { unsafe { @@ -3016,7 +3072,7 @@ namespace OpenTK.OpenGL } public static - void Vertex4([In, Out] Int16[] v) + void Vertex4(Int16[] v) { unsafe { @@ -3047,7 +3103,7 @@ namespace OpenTK.OpenGL } public static - void ClipPlane(GL.Enums.ClipPlaneName plane, [In, Out] Double[] equation) + void ClipPlane(GL.Enums.ClipPlaneName plane, Double[] equation) { unsafe { @@ -3096,7 +3152,7 @@ namespace OpenTK.OpenGL } public static - void Fogv(GL.Enums.FogParameter pname, [In, Out] Single[] @params) + void Fogv(GL.Enums.FogParameter pname, Single[] @params) { unsafe { @@ -3133,7 +3189,7 @@ namespace OpenTK.OpenGL } public static - void Fogv(GL.Enums.FogParameter pname, [In, Out] Int32[] @params) + void Fogv(GL.Enums.FogParameter pname, Int32[] @params) { unsafe { @@ -3182,7 +3238,7 @@ namespace OpenTK.OpenGL } public static - void Lightv(GL.Enums.LightName light, GL.Enums.LightParameter pname, [In, Out] Single[] @params) + void Lightv(GL.Enums.LightName light, GL.Enums.LightParameter pname, Single[] @params) { unsafe { @@ -3219,7 +3275,7 @@ namespace OpenTK.OpenGL } public static - void Lightv(GL.Enums.LightName light, GL.Enums.LightParameter pname, [In, Out] Int32[] @params) + void Lightv(GL.Enums.LightName light, GL.Enums.LightParameter pname, Int32[] @params) { unsafe { @@ -3256,7 +3312,7 @@ namespace OpenTK.OpenGL } public static - void LightModelv(GL.Enums.LightModelParameter pname, [In, Out] Single[] @params) + void LightModelv(GL.Enums.LightModelParameter pname, Single[] @params) { unsafe { @@ -3293,7 +3349,7 @@ namespace OpenTK.OpenGL } public static - void LightModelv(GL.Enums.LightModelParameter pname, [In, Out] Int32[] @params) + void LightModelv(GL.Enums.LightModelParameter pname, Int32[] @params) { unsafe { @@ -3328,9 +3384,7 @@ namespace OpenTK.OpenGL { unsafe { - { - Delegates.glLineStipple((Int32)factor, (UInt16)pattern); - } + Delegates.glLineStipple((Int32)factor, (UInt16)pattern); } } @@ -3354,7 +3408,7 @@ namespace OpenTK.OpenGL } public static - void Materialv(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter pname, [In, Out] Single[] @params) + void Materialv(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter pname, Single[] @params) { unsafe { @@ -3391,7 +3445,7 @@ namespace OpenTK.OpenGL } public static - void Materialv(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter pname, [In, Out] Int32[] @params) + void Materialv(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter pname, Int32[] @params) { unsafe { @@ -3434,7 +3488,7 @@ namespace OpenTK.OpenGL } public static - void PolygonStipple([In, Out] Byte[] mask) + void PolygonStipple(Byte[] mask) { unsafe { @@ -3483,7 +3537,7 @@ namespace OpenTK.OpenGL } public static - void TexParameterv(GL.Enums.TextureTarget target, GL.Enums.TextureParameterName pname, [In, Out] Single[] @params) + void TexParameterv(GL.Enums.TextureTarget target, GL.Enums.TextureParameterName pname, Single[] @params) { unsafe { @@ -3520,7 +3574,7 @@ namespace OpenTK.OpenGL } public static - void TexParameterv(GL.Enums.TextureTarget target, GL.Enums.TextureParameterName pname, [In, Out] Int32[] @params) + void TexParameterv(GL.Enums.TextureTarget target, GL.Enums.TextureParameterName pname, Int32[] @params) { unsafe { @@ -3553,16 +3607,15 @@ namespace OpenTK.OpenGL public static void TexImage1D(GL.Enums.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 border, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object pixels) { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glTexImage1D((GL.Enums.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (void*)pixels_ptr.AddrOfPinnedObject()); } finally { - pixels_ptr.Free(); } } } @@ -3577,16 +3630,15 @@ namespace OpenTK.OpenGL public static void TexImage2D(GL.Enums.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object pixels) { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glTexImage2D((GL.Enums.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (void*)pixels_ptr.AddrOfPinnedObject()); } finally { - pixels_ptr.Free(); } } } @@ -3605,7 +3657,7 @@ namespace OpenTK.OpenGL } public static - void TexEnvv(GL.Enums.TextureEnvTarget target, GL.Enums.TextureEnvParameter pname, [In, Out] Single[] @params) + void TexEnvv(GL.Enums.TextureEnvTarget target, GL.Enums.TextureEnvParameter pname, Single[] @params) { unsafe { @@ -3642,7 +3694,7 @@ namespace OpenTK.OpenGL } public static - void TexEnvv(GL.Enums.TextureEnvTarget target, GL.Enums.TextureEnvParameter pname, [In, Out] Int32[] @params) + void TexEnvv(GL.Enums.TextureEnvTarget target, GL.Enums.TextureEnvParameter pname, Int32[] @params) { unsafe { @@ -3679,7 +3731,7 @@ namespace OpenTK.OpenGL } public static - void TexGenv(GL.Enums.TextureCoordName coord, GL.Enums.TextureGenParameter pname, [In, Out] Double[] @params) + void TexGenv(GL.Enums.TextureCoordName coord, GL.Enums.TextureGenParameter pname, Double[] @params) { unsafe { @@ -3716,7 +3768,7 @@ namespace OpenTK.OpenGL } public static - void TexGenv(GL.Enums.TextureCoordName coord, GL.Enums.TextureGenParameter pname, [In, Out] Single[] @params) + void TexGenv(GL.Enums.TextureCoordName coord, GL.Enums.TextureGenParameter pname, Single[] @params) { unsafe { @@ -3753,7 +3805,7 @@ namespace OpenTK.OpenGL } public static - void TexGenv(GL.Enums.TextureCoordName coord, GL.Enums.TextureGenParameter pname, [In, Out] Int32[] @params) + void TexGenv(GL.Enums.TextureCoordName coord, GL.Enums.TextureGenParameter pname, Int32[] @params) { unsafe { @@ -3784,7 +3836,7 @@ namespace OpenTK.OpenGL } public static - void FeedbackBuffer(Int32 size, GL.Enums.FeedbackType type, [In, Out] Single[] buffer) + void FeedbackBuffer(Int32 size, GL.Enums.FeedbackType type, [Out] Single[] buffer) { unsafe { @@ -3798,13 +3850,12 @@ namespace OpenTK.OpenGL public static void FeedbackBuffer(Int32 size, GL.Enums.FeedbackType type, [Out] out Single buffer) { - buffer = default(Single); unsafe { fixed (Single* buffer_ptr = &buffer) { Delegates.glFeedbackBuffer((Int32)size, (GL.Enums.FeedbackType)type, (Single*)buffer_ptr); - buffer = *buffer_ptr; + buffer = *buffer_ptr; } } } @@ -3820,15 +3871,15 @@ namespace OpenTK.OpenGL public static unsafe void SelectBuffer(Int32 size, [Out] Int32* buffer) { - buffer = default(Int32*); - { - Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer); - } + unsafe + { + Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer); + } } [System.CLSCompliant(false)] public static - void SelectBuffer(Int32 size, [In, Out] UInt32[] buffer) + void SelectBuffer(Int32 size, [Out] UInt32[] buffer) { unsafe { @@ -3840,7 +3891,7 @@ namespace OpenTK.OpenGL } public static - void SelectBuffer(Int32 size, [In, Out] Int32[] buffer) + void SelectBuffer(Int32 size, [Out] Int32[] buffer) { unsafe { @@ -3855,13 +3906,12 @@ namespace OpenTK.OpenGL public static void SelectBuffer(Int32 size, [Out] out UInt32 buffer) { - buffer = default(UInt32); unsafe { fixed (UInt32* buffer_ptr = &buffer) { Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer_ptr); - buffer = *buffer_ptr; + buffer = *buffer_ptr; } } } @@ -3869,13 +3919,12 @@ namespace OpenTK.OpenGL public static void SelectBuffer(Int32 size, [Out] out Int32 buffer) { - buffer = default(Int32); unsafe { fixed (Int32* buffer_ptr = &buffer) { Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer_ptr); - buffer = *buffer_ptr; + buffer = *buffer_ptr; } } } @@ -4060,7 +4109,7 @@ namespace OpenTK.OpenGL } public static - void Map1(GL.Enums.MapTarget target, Double u1, Double u2, Int32 stride, Int32 order, [In, Out] Double[] points) + void Map1(GL.Enums.MapTarget target, Double u1, Double u2, Int32 stride, Int32 order, Double[] points) { unsafe { @@ -4091,7 +4140,7 @@ namespace OpenTK.OpenGL } public static - void Map1(GL.Enums.MapTarget target, Single u1, Single u2, Int32 stride, Int32 order, [In, Out] Single[] points) + void Map1(GL.Enums.MapTarget target, Single u1, Single u2, Int32 stride, Int32 order, Single[] points) { unsafe { @@ -4122,7 +4171,7 @@ namespace OpenTK.OpenGL } public static - void Map2(GL.Enums.MapTarget target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, [In, Out] Double[] points) + void Map2(GL.Enums.MapTarget target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double[] points) { unsafe { @@ -4153,7 +4202,7 @@ namespace OpenTK.OpenGL } public static - void Map2(GL.Enums.MapTarget target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, [In, Out] Single[] points) + void Map2(GL.Enums.MapTarget target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single[] points) { unsafe { @@ -4214,7 +4263,7 @@ namespace OpenTK.OpenGL } public static - void EvalCoord1dv([In, Out] Double[] u) + void EvalCoord1dv(Double[] u) { unsafe { @@ -4251,7 +4300,7 @@ namespace OpenTK.OpenGL } public static - void EvalCoord1fv([In, Out] Single[] u) + void EvalCoord1fv(Single[] u) { unsafe { @@ -4288,7 +4337,7 @@ namespace OpenTK.OpenGL } public static - void EvalCoord2([In, Out] Double[] u) + void EvalCoord2(Double[] u) { unsafe { @@ -4325,7 +4374,7 @@ namespace OpenTK.OpenGL } public static - void EvalCoord2([In, Out] Single[] u) + void EvalCoord2(Single[] u) { unsafe { @@ -4453,7 +4502,7 @@ namespace OpenTK.OpenGL } public static - void PixelMapv(GL.Enums.PixelMap map, Int32 mapsize, [In, Out] Single[] values) + void PixelMapv(GL.Enums.PixelMap map, Int32 mapsize, Single[] values) { unsafe { @@ -4487,14 +4536,15 @@ namespace OpenTK.OpenGL public static unsafe void PixelMapv(GL.Enums.PixelMap map, Int32 mapsize, Int32* values) { - { - Delegates.glPixelMapuiv((GL.Enums.PixelMap)map, (Int32)mapsize, (UInt32*)values); - } + unsafe + { + Delegates.glPixelMapuiv((GL.Enums.PixelMap)map, (Int32)mapsize, (UInt32*)values); + } } [System.CLSCompliant(false)] public static - void PixelMapv(GL.Enums.PixelMap map, Int32 mapsize, [In, Out] UInt32[] values) + void PixelMapv(GL.Enums.PixelMap map, Int32 mapsize, UInt32[] values) { unsafe { @@ -4506,7 +4556,7 @@ namespace OpenTK.OpenGL } public static - void PixelMapv(GL.Enums.PixelMap map, Int32 mapsize, [In, Out] Int32[] values) + void PixelMapv(GL.Enums.PixelMap map, Int32 mapsize, Int32[] values) { unsafe { @@ -4553,14 +4603,15 @@ namespace OpenTK.OpenGL public static unsafe void PixelMapv(GL.Enums.PixelMap map, Int32 mapsize, Int16* values) { - { - Delegates.glPixelMapusv((GL.Enums.PixelMap)map, (Int32)mapsize, (UInt16*)values); - } + unsafe + { + Delegates.glPixelMapusv((GL.Enums.PixelMap)map, (Int32)mapsize, (UInt16*)values); + } } [System.CLSCompliant(false)] public static - void PixelMapv(GL.Enums.PixelMap map, Int32 mapsize, [In, Out] UInt16[] values) + void PixelMapv(GL.Enums.PixelMap map, Int32 mapsize, UInt16[] values) { unsafe { @@ -4572,7 +4623,7 @@ namespace OpenTK.OpenGL } public static - void PixelMapv(GL.Enums.PixelMap map, Int32 mapsize, [In, Out] Int16[] values) + void PixelMapv(GL.Enums.PixelMap map, Int32 mapsize, Int16[] values) { unsafe { @@ -4630,16 +4681,15 @@ namespace OpenTK.OpenGL public static void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object pixels) { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (void*)pixels_ptr.AddrOfPinnedObject()); } finally { - pixels_ptr.Free(); } } } @@ -4654,16 +4704,15 @@ namespace OpenTK.OpenGL public static void DrawPixels(Int32 width, Int32 height, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object pixels) { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glDrawPixels((Int32)width, (Int32)height, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (void*)pixels_ptr.AddrOfPinnedObject()); } finally { - pixels_ptr.Free(); } } } @@ -4683,7 +4732,7 @@ namespace OpenTK.OpenGL } public static - void GetClipPlane(GL.Enums.ClipPlaneName plane, [In, Out] Double[] equation) + void GetClipPlane(GL.Enums.ClipPlaneName plane, [Out] Double[] equation) { unsafe { @@ -4697,13 +4746,12 @@ namespace OpenTK.OpenGL public static void GetClipPlane(GL.Enums.ClipPlaneName plane, [Out] out Double equation) { - equation = default(Double); unsafe { fixed (Double* equation_ptr = &equation) { Delegates.glGetClipPlane((GL.Enums.ClipPlaneName)plane, (Double*)equation_ptr); - equation = *equation_ptr; + equation = *equation_ptr; } } } @@ -4716,7 +4764,7 @@ namespace OpenTK.OpenGL } public static - void GetDoublev(GL.Enums.GetPName pname, [In, Out] Double[] @params) + void GetDoublev(GL.Enums.GetPName pname, [Out] Double[] @params) { unsafe { @@ -4730,13 +4778,12 @@ namespace OpenTK.OpenGL public static void GetDoublev(GL.Enums.GetPName pname, [Out] out Double @params) { - @params = default(Double); unsafe { fixed (Double* @params_ptr = &@params) { Delegates.glGetDoublev((GL.Enums.GetPName)pname, (Double*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -4755,7 +4802,7 @@ namespace OpenTK.OpenGL } public static - void GetFloatv(GL.Enums.GetPName pname, [In, Out] Single[] @params) + void GetFloatv(GL.Enums.GetPName pname, [Out] Single[] @params) { unsafe { @@ -4769,13 +4816,12 @@ namespace OpenTK.OpenGL public static void GetFloatv(GL.Enums.GetPName pname, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetFloatv((GL.Enums.GetPName)pname, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -4788,7 +4834,7 @@ namespace OpenTK.OpenGL } public static - void GetIntegerv(GL.Enums.GetPName pname, [In, Out] Int32[] @params) + void GetIntegerv(GL.Enums.GetPName pname, [Out] Int32[] @params) { unsafe { @@ -4802,13 +4848,12 @@ namespace OpenTK.OpenGL public static void GetIntegerv(GL.Enums.GetPName pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetIntegerv((GL.Enums.GetPName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -4821,7 +4866,7 @@ namespace OpenTK.OpenGL } public static - void GetLightv(GL.Enums.LightName light, GL.Enums.LightParameter pname, [In, Out] Single[] @params) + void GetLightv(GL.Enums.LightName light, GL.Enums.LightParameter pname, [Out] Single[] @params) { unsafe { @@ -4835,13 +4880,12 @@ namespace OpenTK.OpenGL public static void GetLightv(GL.Enums.LightName light, GL.Enums.LightParameter pname, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetLightfv((GL.Enums.LightName)light, (GL.Enums.LightParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -4854,7 +4898,7 @@ namespace OpenTK.OpenGL } public static - void GetLightv(GL.Enums.LightName light, GL.Enums.LightParameter pname, [In, Out] Int32[] @params) + void GetLightv(GL.Enums.LightName light, GL.Enums.LightParameter pname, [Out] Int32[] @params) { unsafe { @@ -4868,13 +4912,12 @@ namespace OpenTK.OpenGL public static void GetLightv(GL.Enums.LightName light, GL.Enums.LightParameter pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetLightiv((GL.Enums.LightName)light, (GL.Enums.LightParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -4887,7 +4930,7 @@ namespace OpenTK.OpenGL } public static - void GetMapv(GL.Enums.MapTarget target, GL.Enums.GetMapQuery query, [In, Out] Double[] v) + void GetMapv(GL.Enums.MapTarget target, GL.Enums.GetMapQuery query, [Out] Double[] v) { unsafe { @@ -4901,13 +4944,12 @@ namespace OpenTK.OpenGL public static void GetMapv(GL.Enums.MapTarget target, GL.Enums.GetMapQuery query, [Out] out Double v) { - v = default(Double); unsafe { fixed (Double* v_ptr = &v) { Delegates.glGetMapdv((GL.Enums.MapTarget)target, (GL.Enums.GetMapQuery)query, (Double*)v_ptr); - v = *v_ptr; + v = *v_ptr; } } } @@ -4920,7 +4962,7 @@ namespace OpenTK.OpenGL } public static - void GetMapv(GL.Enums.MapTarget target, GL.Enums.GetMapQuery query, [In, Out] Single[] v) + void GetMapv(GL.Enums.MapTarget target, GL.Enums.GetMapQuery query, [Out] Single[] v) { unsafe { @@ -4934,13 +4976,12 @@ namespace OpenTK.OpenGL public static void GetMapv(GL.Enums.MapTarget target, GL.Enums.GetMapQuery query, [Out] out Single v) { - v = default(Single); unsafe { fixed (Single* v_ptr = &v) { Delegates.glGetMapfv((GL.Enums.MapTarget)target, (GL.Enums.GetMapQuery)query, (Single*)v_ptr); - v = *v_ptr; + v = *v_ptr; } } } @@ -4953,7 +4994,7 @@ namespace OpenTK.OpenGL } public static - void GetMapv(GL.Enums.MapTarget target, GL.Enums.GetMapQuery query, [In, Out] Int32[] v) + void GetMapv(GL.Enums.MapTarget target, GL.Enums.GetMapQuery query, [Out] Int32[] v) { unsafe { @@ -4967,13 +5008,12 @@ namespace OpenTK.OpenGL public static void GetMapv(GL.Enums.MapTarget target, GL.Enums.GetMapQuery query, [Out] out Int32 v) { - v = default(Int32); unsafe { fixed (Int32* v_ptr = &v) { Delegates.glGetMapiv((GL.Enums.MapTarget)target, (GL.Enums.GetMapQuery)query, (Int32*)v_ptr); - v = *v_ptr; + v = *v_ptr; } } } @@ -4986,7 +5026,7 @@ namespace OpenTK.OpenGL } public static - void GetMaterialv(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter pname, [In, Out] Single[] @params) + void GetMaterialv(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter pname, [Out] Single[] @params) { unsafe { @@ -5000,13 +5040,12 @@ namespace OpenTK.OpenGL public static void GetMaterialv(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter pname, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetMaterialfv((GL.Enums.MaterialFace)face, (GL.Enums.MaterialParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -5019,7 +5058,7 @@ namespace OpenTK.OpenGL } public static - void GetMaterialv(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter pname, [In, Out] Int32[] @params) + void GetMaterialv(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter pname, [Out] Int32[] @params) { unsafe { @@ -5033,13 +5072,12 @@ namespace OpenTK.OpenGL public static void GetMaterialv(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetMaterialiv((GL.Enums.MaterialFace)face, (GL.Enums.MaterialParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -5052,7 +5090,7 @@ namespace OpenTK.OpenGL } public static - void GetPixelMapv(GL.Enums.PixelMap map, [In, Out] Single[] values) + void GetPixelMapv(GL.Enums.PixelMap map, [Out] Single[] values) { unsafe { @@ -5066,13 +5104,12 @@ namespace OpenTK.OpenGL public static void GetPixelMapv(GL.Enums.PixelMap map, [Out] out Single values) { - values = default(Single); unsafe { fixed (Single* values_ptr = &values) { Delegates.glGetPixelMapfv((GL.Enums.PixelMap)map, (Single*)values_ptr); - values = *values_ptr; + values = *values_ptr; } } } @@ -5088,15 +5125,15 @@ namespace OpenTK.OpenGL public static unsafe void GetPixelMapv(GL.Enums.PixelMap map, [Out] Int32* values) { - values = default(Int32*); - { - Delegates.glGetPixelMapuiv((GL.Enums.PixelMap)map, (UInt32*)values); - } + unsafe + { + Delegates.glGetPixelMapuiv((GL.Enums.PixelMap)map, (UInt32*)values); + } } [System.CLSCompliant(false)] public static - void GetPixelMapv(GL.Enums.PixelMap map, [In, Out] UInt32[] values) + void GetPixelMapv(GL.Enums.PixelMap map, [Out] UInt32[] values) { unsafe { @@ -5108,7 +5145,7 @@ namespace OpenTK.OpenGL } public static - void GetPixelMapv(GL.Enums.PixelMap map, [In, Out] Int32[] values) + void GetPixelMapv(GL.Enums.PixelMap map, [Out] Int32[] values) { unsafe { @@ -5123,13 +5160,12 @@ namespace OpenTK.OpenGL public static void GetPixelMapv(GL.Enums.PixelMap map, [Out] out UInt32 values) { - values = default(UInt32); unsafe { fixed (UInt32* values_ptr = &values) { Delegates.glGetPixelMapuiv((GL.Enums.PixelMap)map, (UInt32*)values_ptr); - values = *values_ptr; + values = *values_ptr; } } } @@ -5137,13 +5173,12 @@ namespace OpenTK.OpenGL public static void GetPixelMapv(GL.Enums.PixelMap map, [Out] out Int32 values) { - values = default(Int32); unsafe { fixed (Int32* values_ptr = &values) { Delegates.glGetPixelMapuiv((GL.Enums.PixelMap)map, (UInt32*)values_ptr); - values = *values_ptr; + values = *values_ptr; } } } @@ -5159,15 +5194,15 @@ namespace OpenTK.OpenGL public static unsafe void GetPixelMapv(GL.Enums.PixelMap map, [Out] Int16* values) { - values = default(Int16*); - { - Delegates.glGetPixelMapusv((GL.Enums.PixelMap)map, (UInt16*)values); - } + unsafe + { + Delegates.glGetPixelMapusv((GL.Enums.PixelMap)map, (UInt16*)values); + } } [System.CLSCompliant(false)] public static - void GetPixelMapv(GL.Enums.PixelMap map, [In, Out] UInt16[] values) + void GetPixelMapv(GL.Enums.PixelMap map, [Out] UInt16[] values) { unsafe { @@ -5179,7 +5214,7 @@ namespace OpenTK.OpenGL } public static - void GetPixelMapv(GL.Enums.PixelMap map, [In, Out] Int16[] values) + void GetPixelMapv(GL.Enums.PixelMap map, [Out] Int16[] values) { unsafe { @@ -5194,13 +5229,12 @@ namespace OpenTK.OpenGL public static void GetPixelMapv(GL.Enums.PixelMap map, [Out] out UInt16 values) { - values = default(UInt16); unsafe { fixed (UInt16* values_ptr = &values) { Delegates.glGetPixelMapusv((GL.Enums.PixelMap)map, (UInt16*)values_ptr); - values = *values_ptr; + values = *values_ptr; } } } @@ -5208,13 +5242,12 @@ namespace OpenTK.OpenGL public static void GetPixelMapv(GL.Enums.PixelMap map, [Out] out Int16 values) { - values = default(Int16); unsafe { fixed (Int16* values_ptr = &values) { Delegates.glGetPixelMapusv((GL.Enums.PixelMap)map, (UInt16*)values_ptr); - values = *values_ptr; + values = *values_ptr; } } } @@ -5227,7 +5260,7 @@ namespace OpenTK.OpenGL } public static - void GetPolygonStipple([In, Out] Byte[] mask) + void GetPolygonStipple([Out] Byte[] mask) { unsafe { @@ -5241,13 +5274,12 @@ namespace OpenTK.OpenGL public static void GetPolygonStipple([Out] out Byte mask) { - mask = default(Byte); unsafe { fixed (Byte* mask_ptr = &mask) { Delegates.glGetPolygonStipple((Byte*)mask_ptr); - mask = *mask_ptr; + mask = *mask_ptr; } } } @@ -5266,7 +5298,7 @@ namespace OpenTK.OpenGL } public static - void GetTexEnvv(GL.Enums.TextureEnvTarget target, GL.Enums.TextureEnvParameter pname, [In, Out] Single[] @params) + void GetTexEnvv(GL.Enums.TextureEnvTarget target, GL.Enums.TextureEnvParameter pname, [Out] Single[] @params) { unsafe { @@ -5280,13 +5312,12 @@ namespace OpenTK.OpenGL public static void GetTexEnvv(GL.Enums.TextureEnvTarget target, GL.Enums.TextureEnvParameter pname, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetTexEnvfv((GL.Enums.TextureEnvTarget)target, (GL.Enums.TextureEnvParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -5299,7 +5330,7 @@ namespace OpenTK.OpenGL } public static - void GetTexEnvv(GL.Enums.TextureEnvTarget target, GL.Enums.TextureEnvParameter pname, [In, Out] Int32[] @params) + void GetTexEnvv(GL.Enums.TextureEnvTarget target, GL.Enums.TextureEnvParameter pname, [Out] Int32[] @params) { unsafe { @@ -5313,13 +5344,12 @@ namespace OpenTK.OpenGL public static void GetTexEnvv(GL.Enums.TextureEnvTarget target, GL.Enums.TextureEnvParameter pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetTexEnviv((GL.Enums.TextureEnvTarget)target, (GL.Enums.TextureEnvParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -5332,7 +5362,7 @@ namespace OpenTK.OpenGL } public static - void GetTexGenv(GL.Enums.TextureCoordName coord, GL.Enums.TextureGenParameter pname, [In, Out] Double[] @params) + void GetTexGenv(GL.Enums.TextureCoordName coord, GL.Enums.TextureGenParameter pname, [Out] Double[] @params) { unsafe { @@ -5346,13 +5376,12 @@ namespace OpenTK.OpenGL public static void GetTexGenv(GL.Enums.TextureCoordName coord, GL.Enums.TextureGenParameter pname, [Out] out Double @params) { - @params = default(Double); unsafe { fixed (Double* @params_ptr = &@params) { Delegates.glGetTexGendv((GL.Enums.TextureCoordName)coord, (GL.Enums.TextureGenParameter)pname, (Double*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -5365,7 +5394,7 @@ namespace OpenTK.OpenGL } public static - void GetTexGenv(GL.Enums.TextureCoordName coord, GL.Enums.TextureGenParameter pname, [In, Out] Single[] @params) + void GetTexGenv(GL.Enums.TextureCoordName coord, GL.Enums.TextureGenParameter pname, [Out] Single[] @params) { unsafe { @@ -5379,13 +5408,12 @@ namespace OpenTK.OpenGL public static void GetTexGenv(GL.Enums.TextureCoordName coord, GL.Enums.TextureGenParameter pname, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetTexGenfv((GL.Enums.TextureCoordName)coord, (GL.Enums.TextureGenParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -5398,7 +5426,7 @@ namespace OpenTK.OpenGL } public static - void GetTexGenv(GL.Enums.TextureCoordName coord, GL.Enums.TextureGenParameter pname, [In, Out] Int32[] @params) + void GetTexGenv(GL.Enums.TextureCoordName coord, GL.Enums.TextureGenParameter pname, [Out] Int32[] @params) { unsafe { @@ -5412,13 +5440,12 @@ namespace OpenTK.OpenGL public static void GetTexGenv(GL.Enums.TextureCoordName coord, GL.Enums.TextureGenParameter pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetTexGeniv((GL.Enums.TextureCoordName)coord, (GL.Enums.TextureGenParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -5433,16 +5460,15 @@ namespace OpenTK.OpenGL public static void GetTexImage(GL.Enums.TextureTarget target, Int32 level, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object pixels) { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glGetTexImage((GL.Enums.TextureTarget)target, (Int32)level, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (void*)pixels_ptr.AddrOfPinnedObject()); } finally { - pixels_ptr.Free(); } } } @@ -5455,7 +5481,7 @@ namespace OpenTK.OpenGL } public static - void GetTexParameterv(GL.Enums.TextureTarget target, GL.Enums.GetTextureParameter pname, [In, Out] Single[] @params) + void GetTexParameterv(GL.Enums.TextureTarget target, GL.Enums.GetTextureParameter pname, [Out] Single[] @params) { unsafe { @@ -5469,13 +5495,12 @@ namespace OpenTK.OpenGL public static void GetTexParameterv(GL.Enums.TextureTarget target, GL.Enums.GetTextureParameter pname, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetTexParameterfv((GL.Enums.TextureTarget)target, (GL.Enums.GetTextureParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -5488,7 +5513,7 @@ namespace OpenTK.OpenGL } public static - void GetTexParameterv(GL.Enums.TextureTarget target, GL.Enums.GetTextureParameter pname, [In, Out] Int32[] @params) + void GetTexParameterv(GL.Enums.TextureTarget target, GL.Enums.GetTextureParameter pname, [Out] Int32[] @params) { unsafe { @@ -5502,13 +5527,12 @@ namespace OpenTK.OpenGL public static void GetTexParameterv(GL.Enums.TextureTarget target, GL.Enums.GetTextureParameter pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetTexParameteriv((GL.Enums.TextureTarget)target, (GL.Enums.GetTextureParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -5521,7 +5545,7 @@ namespace OpenTK.OpenGL } public static - void GetTexLevelParameterv(GL.Enums.TextureTarget target, Int32 level, GL.Enums.GetTextureParameter pname, [In, Out] Single[] @params) + void GetTexLevelParameterv(GL.Enums.TextureTarget target, Int32 level, GL.Enums.GetTextureParameter pname, [Out] Single[] @params) { unsafe { @@ -5535,13 +5559,12 @@ namespace OpenTK.OpenGL public static void GetTexLevelParameterv(GL.Enums.TextureTarget target, Int32 level, GL.Enums.GetTextureParameter pname, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetTexLevelParameterfv((GL.Enums.TextureTarget)target, (Int32)level, (GL.Enums.GetTextureParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -5554,7 +5577,7 @@ namespace OpenTK.OpenGL } public static - void GetTexLevelParameterv(GL.Enums.TextureTarget target, Int32 level, GL.Enums.GetTextureParameter pname, [In, Out] Int32[] @params) + void GetTexLevelParameterv(GL.Enums.TextureTarget target, Int32 level, GL.Enums.GetTextureParameter pname, [Out] Int32[] @params) { unsafe { @@ -5568,13 +5591,12 @@ namespace OpenTK.OpenGL public static void GetTexLevelParameterv(GL.Enums.TextureTarget target, Int32 level, GL.Enums.GetTextureParameter pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetTexLevelParameteriv((GL.Enums.TextureTarget)target, (Int32)level, (GL.Enums.GetTextureParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -5624,7 +5646,7 @@ namespace OpenTK.OpenGL } public static - void LoadMatrixf([In, Out] Single[] m) + void LoadMatrixf(Single[] m) { unsafe { @@ -5655,7 +5677,7 @@ namespace OpenTK.OpenGL } public static - void LoadMatrixd([In, Out] Double[] m) + void LoadMatrixd(Double[] m) { unsafe { @@ -5692,7 +5714,7 @@ namespace OpenTK.OpenGL } public static - void MultMatrixf([In, Out] Single[] m) + void MultMatrixf(Single[] m) { unsafe { @@ -5723,7 +5745,7 @@ namespace OpenTK.OpenGL } public static - void MultMatrixd([In, Out] Double[] m) + void MultMatrixd(Double[] m) { unsafe { @@ -5822,16 +5844,15 @@ namespace OpenTK.OpenGL public static void ColorPointer(Int32 size, GL.Enums.ColorPointerType type, Int32 stride, [In, Out] object pointer) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glColorPointer((Int32)size, (GL.Enums.ColorPointerType)type, (Int32)stride, (void*)pointer_ptr.AddrOfPinnedObject()); } finally { - pointer_ptr.Free(); } } } @@ -5858,16 +5879,15 @@ namespace OpenTK.OpenGL public static void DrawElements(GL.Enums.BeginMode mode, Int32 count, GL.Enums.All type, [In, Out] object indices) { - System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glDrawElements((GL.Enums.BeginMode)mode, (Int32)count, (GL.Enums.All)type, (void*)indices_ptr.AddrOfPinnedObject()); } finally { - indices_ptr.Free(); } } } @@ -5882,16 +5902,15 @@ namespace OpenTK.OpenGL public static void EdgeFlagPointer(Int32 stride, [In, Out] object pointer) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glEdgeFlagPointer((Int32)stride, (void*)pointer_ptr.AddrOfPinnedObject()); } finally { - pointer_ptr.Free(); } } } @@ -5912,16 +5931,15 @@ namespace OpenTK.OpenGL public static void GetPointerv(GL.Enums.GetPointervPName pname, [In, Out] object @params) { - System.Runtime.InteropServices.GCHandle @params_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@params, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle @params_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@params, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glGetPointerv((GL.Enums.GetPointervPName)pname, (void*)@params_ptr.AddrOfPinnedObject()); } finally { - @params_ptr.Free(); } } } @@ -5936,16 +5954,15 @@ namespace OpenTK.OpenGL public static void IndexPointer(GL.Enums.IndexPointerType type, Int32 stride, [In, Out] object pointer) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glIndexPointer((GL.Enums.IndexPointerType)type, (Int32)stride, (void*)pointer_ptr.AddrOfPinnedObject()); } finally { - pointer_ptr.Free(); } } } @@ -5960,16 +5977,15 @@ namespace OpenTK.OpenGL public static void InterleavedArrays(GL.Enums.InterleavedArrayFormat format, Int32 stride, [In, Out] object pointer) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glInterleavedArrays((GL.Enums.InterleavedArrayFormat)format, (Int32)stride, (void*)pointer_ptr.AddrOfPinnedObject()); } finally { - pointer_ptr.Free(); } } } @@ -5984,16 +6000,15 @@ namespace OpenTK.OpenGL public static void NormalPointer(GL.Enums.NormalPointerType type, Int32 stride, [In, Out] object pointer) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glNormalPointer((GL.Enums.NormalPointerType)type, (Int32)stride, (void*)pointer_ptr.AddrOfPinnedObject()); } finally { - pointer_ptr.Free(); } } } @@ -6008,16 +6023,15 @@ namespace OpenTK.OpenGL public static void TexCoordPointer(Int32 size, GL.Enums.TexCoordPointerType type, Int32 stride, [In, Out] object pointer) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glTexCoordPointer((Int32)size, (GL.Enums.TexCoordPointerType)type, (Int32)stride, (void*)pointer_ptr.AddrOfPinnedObject()); } finally { - pointer_ptr.Free(); } } } @@ -6032,16 +6046,15 @@ namespace OpenTK.OpenGL public static void VertexPointer(Int32 size, GL.Enums.VertexPointerType type, Int32 stride, [In, Out] object pointer) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glVertexPointer((Int32)size, (GL.Enums.VertexPointerType)type, (Int32)stride, (void*)pointer_ptr.AddrOfPinnedObject()); } finally { - pointer_ptr.Free(); } } } @@ -6086,16 +6099,15 @@ namespace OpenTK.OpenGL public static void TexSubImage1D(GL.Enums.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object pixels) { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glTexSubImage1D((GL.Enums.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (void*)pixels_ptr.AddrOfPinnedObject()); } finally { - pixels_ptr.Free(); } } } @@ -6110,16 +6122,15 @@ namespace OpenTK.OpenGL public static void TexSubImage2D(GL.Enums.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object pixels) { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glTexSubImage2D((GL.Enums.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (void*)pixels_ptr.AddrOfPinnedObject()); } finally { - pixels_ptr.Free(); } } } @@ -6135,59 +6146,67 @@ namespace OpenTK.OpenGL public static unsafe Boolean AreTexturesResident(Int32 n, Int32* textures, [Out] GL.Enums.Boolean* residences) { - residences = default(GL.Enums.Boolean*); - { - Boolean retval = Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures, (GL.Enums.Boolean*)residences); - return retval; - } + unsafe + { + Boolean retval = Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures, (GL.Enums.Boolean*)residences); + return retval; + } } [System.CLSCompliant(false)] public static - unsafe Boolean AreTexturesResident(Int32 n, [In, Out] UInt32[] textures, [Out] GL.Enums.Boolean* residences) + unsafe Boolean AreTexturesResident(Int32 n, UInt32[] textures, [Out] GL.Enums.Boolean* residences) { - residences = default(GL.Enums.Boolean*); + unsafe + { fixed (UInt32* textures_ptr = textures) { Boolean retval = Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures_ptr, (GL.Enums.Boolean*)residences); return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean AreTexturesResident(Int32 n, [In, Out] Int32[] textures, [Out] GL.Enums.Boolean* residences) + unsafe Boolean AreTexturesResident(Int32 n, Int32[] textures, [Out] GL.Enums.Boolean* residences) { - residences = default(GL.Enums.Boolean*); + unsafe + { fixed (Int32* textures_ptr = textures) { Boolean retval = Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures_ptr, (GL.Enums.Boolean*)residences); return retval; } + } } [System.CLSCompliant(false)] public static unsafe Boolean AreTexturesResident(Int32 n, ref UInt32 textures, [Out] GL.Enums.Boolean* residences) { - residences = default(GL.Enums.Boolean*); + unsafe + { fixed (UInt32* textures_ptr = &textures) { Boolean retval = Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures_ptr, (GL.Enums.Boolean*)residences); return retval; } + } } [System.CLSCompliant(false)] public static unsafe Boolean AreTexturesResident(Int32 n, ref Int32 textures, [Out] GL.Enums.Boolean* residences) { - residences = default(GL.Enums.Boolean*); + unsafe + { fixed (Int32* textures_ptr = &textures) { Boolean retval = Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures_ptr, (GL.Enums.Boolean*)residences); return retval; } + } } [System.CLSCompliant(false)] @@ -6214,14 +6233,15 @@ namespace OpenTK.OpenGL public static unsafe void DeleteTextures(Int32 n, Int32* textures) { - { - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures); - } + unsafe + { + Delegates.glDeleteTextures((Int32)n, (UInt32*)textures); + } } [System.CLSCompliant(false)] public static - void DeleteTextures(Int32 n, [In, Out] UInt32[] textures) + void DeleteTextures(Int32 n, UInt32[] textures) { unsafe { @@ -6233,7 +6253,7 @@ namespace OpenTK.OpenGL } public static - void DeleteTextures(Int32 n, [In, Out] Int32[] textures) + void DeleteTextures(Int32 n, Int32[] textures) { unsafe { @@ -6280,15 +6300,15 @@ namespace OpenTK.OpenGL public static unsafe void GenTextures(Int32 n, [Out] Int32* textures) { - textures = default(Int32*); - { - Delegates.glGenTextures((Int32)n, (UInt32*)textures); - } + unsafe + { + Delegates.glGenTextures((Int32)n, (UInt32*)textures); + } } [System.CLSCompliant(false)] public static - void GenTextures(Int32 n, [In, Out] UInt32[] textures) + void GenTextures(Int32 n, [Out] UInt32[] textures) { unsafe { @@ -6300,7 +6320,7 @@ namespace OpenTK.OpenGL } public static - void GenTextures(Int32 n, [In, Out] Int32[] textures) + void GenTextures(Int32 n, [Out] Int32[] textures) { unsafe { @@ -6315,13 +6335,12 @@ namespace OpenTK.OpenGL public static void GenTextures(Int32 n, [Out] out UInt32 textures) { - textures = default(UInt32); unsafe { fixed (UInt32* textures_ptr = &textures) { Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); - textures = *textures_ptr; + textures = *textures_ptr; } } } @@ -6329,13 +6348,12 @@ namespace OpenTK.OpenGL public static void GenTextures(Int32 n, [Out] out Int32 textures) { - textures = default(Int32); unsafe { fixed (Int32* textures_ptr = &textures) { Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); - textures = *textures_ptr; + textures = *textures_ptr; } } } @@ -6364,74 +6382,93 @@ namespace OpenTK.OpenGL public static unsafe void PrioritizeTextures(Int32 n, Int32* textures, Single* priorities) { - { - Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures, (Single*)priorities); - } + unsafe + { + Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures, (Single*)priorities); + } } [System.CLSCompliant(false)] public static - unsafe void PrioritizeTextures(Int32 n, UInt32* textures, [In, Out] Single[] priorities) + unsafe void PrioritizeTextures(Int32 n, UInt32* textures, Single[] priorities) { + unsafe + { fixed (Single* priorities_ptr = priorities) { Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures, (Single*)priorities_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void PrioritizeTextures(Int32 n, Int32* textures, [In, Out] Single[] priorities) + unsafe void PrioritizeTextures(Int32 n, Int32* textures, Single[] priorities) { + unsafe + { fixed (Single* priorities_ptr = priorities) { Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures, (Single*)priorities_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void PrioritizeTextures(Int32 n, UInt32* textures, ref Single priorities) { + unsafe + { fixed (Single* priorities_ptr = &priorities) { Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures, (Single*)priorities_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void PrioritizeTextures(Int32 n, Int32* textures, ref Single priorities) { + unsafe + { fixed (Single* priorities_ptr = &priorities) { Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures, (Single*)priorities_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void PrioritizeTextures(Int32 n, [In, Out] UInt32[] textures, Single* priorities) + unsafe void PrioritizeTextures(Int32 n, UInt32[] textures, Single* priorities) { + unsafe + { fixed (UInt32* textures_ptr = textures) { Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures_ptr, (Single*)priorities); } + } } [System.CLSCompliant(false)] public static - unsafe void PrioritizeTextures(Int32 n, [In, Out] Int32[] textures, Single* priorities) + unsafe void PrioritizeTextures(Int32 n, Int32[] textures, Single* priorities) { + unsafe + { fixed (Int32* textures_ptr = textures) { Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures_ptr, (Single*)priorities); } + } } [System.CLSCompliant(false)] public static - void PrioritizeTextures(Int32 n, [In, Out] UInt32[] textures, [In, Out] Single[] priorities) + void PrioritizeTextures(Int32 n, UInt32[] textures, Single[] priorities) { unsafe { @@ -6444,7 +6481,7 @@ namespace OpenTK.OpenGL } public static - void PrioritizeTextures(Int32 n, [In, Out] Int32[] textures, [In, Out] Single[] priorities) + void PrioritizeTextures(Int32 n, Int32[] textures, Single[] priorities) { unsafe { @@ -6458,7 +6495,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void PrioritizeTextures(Int32 n, [In, Out] UInt32[] textures, ref Single priorities) + void PrioritizeTextures(Int32 n, UInt32[] textures, ref Single priorities) { unsafe { @@ -6471,7 +6508,7 @@ namespace OpenTK.OpenGL } public static - void PrioritizeTextures(Int32 n, [In, Out] Int32[] textures, ref Single priorities) + void PrioritizeTextures(Int32 n, Int32[] textures, ref Single priorities) { unsafe { @@ -6487,25 +6524,31 @@ namespace OpenTK.OpenGL public static unsafe void PrioritizeTextures(Int32 n, ref UInt32 textures, Single* priorities) { + unsafe + { fixed (UInt32* textures_ptr = &textures) { Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures_ptr, (Single*)priorities); } + } } [System.CLSCompliant(false)] public static unsafe void PrioritizeTextures(Int32 n, ref Int32 textures, Single* priorities) { + unsafe + { fixed (Int32* textures_ptr = &textures) { Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures_ptr, (Single*)priorities); } + } } [System.CLSCompliant(false)] public static - void PrioritizeTextures(Int32 n, ref UInt32 textures, [In, Out] Single[] priorities) + void PrioritizeTextures(Int32 n, ref UInt32 textures, Single[] priorities) { unsafe { @@ -6518,7 +6561,7 @@ namespace OpenTK.OpenGL } public static - void PrioritizeTextures(Int32 n, ref Int32 textures, [In, Out] Single[] priorities) + void PrioritizeTextures(Int32 n, ref Int32 textures, Single[] priorities) { unsafe { @@ -6571,7 +6614,7 @@ namespace OpenTK.OpenGL } public static - void Indexv([In, Out] Byte[] c) + void Indexv(Byte[] c) { unsafe { @@ -6629,25 +6672,25 @@ namespace OpenTK.OpenGL public static unsafe void DrawRangeElements(GL.Enums.BeginMode mode, Int32 start, Int32 end, Int32 count, GL.Enums.VERSION_1_2 type, void* indices) { - { - Delegates.glDrawRangeElements((GL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (GL.Enums.VERSION_1_2)type, (void*)indices); - } + unsafe + { + Delegates.glDrawRangeElements((GL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (GL.Enums.VERSION_1_2)type, (void*)indices); + } } [System.CLSCompliant(false)] public static void DrawRangeElements(GL.Enums.BeginMode mode, UInt32 start, UInt32 end, Int32 count, GL.Enums.VERSION_1_2 type, [In, Out] object indices) { - System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glDrawRangeElements((GL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (GL.Enums.VERSION_1_2)type, (void*)indices_ptr.AddrOfPinnedObject()); } finally { - indices_ptr.Free(); } } } @@ -6655,16 +6698,15 @@ namespace OpenTK.OpenGL public static void DrawRangeElements(GL.Enums.BeginMode mode, Int32 start, Int32 end, Int32 count, GL.Enums.VERSION_1_2 type, [In, Out] object indices) { - System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glDrawRangeElements((GL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (GL.Enums.VERSION_1_2)type, (void*)indices_ptr.AddrOfPinnedObject()); } finally { - indices_ptr.Free(); } } } @@ -6679,16 +6721,15 @@ namespace OpenTK.OpenGL public static void ColorTable(GL.Enums.VERSION_1_2 target, GL.Enums.PixelInternalFormat internalformat, Int32 width, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object table) { - System.Runtime.InteropServices.GCHandle table_ptr = System.Runtime.InteropServices.GCHandle.Alloc(table, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle table_ptr = System.Runtime.InteropServices.GCHandle.Alloc(table, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glColorTable((GL.Enums.VERSION_1_2)target, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (void*)table_ptr.AddrOfPinnedObject()); } finally { - table_ptr.Free(); } } } @@ -6701,7 +6742,7 @@ namespace OpenTK.OpenGL } public static - void ColorTableParameterv(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [In, Out] Single[] @params) + void ColorTableParameterv(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, Single[] @params) { unsafe { @@ -6732,7 +6773,7 @@ namespace OpenTK.OpenGL } public static - void ColorTableParameterv(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [In, Out] Int32[] @params) + void ColorTableParameterv(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, Int32[] @params) { unsafe { @@ -6771,16 +6812,15 @@ namespace OpenTK.OpenGL public static void GetColorTable(GL.Enums.VERSION_1_2 target, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object table) { - System.Runtime.InteropServices.GCHandle table_ptr = System.Runtime.InteropServices.GCHandle.Alloc(table, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle table_ptr = System.Runtime.InteropServices.GCHandle.Alloc(table, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glGetColorTable((GL.Enums.VERSION_1_2)target, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (void*)table_ptr.AddrOfPinnedObject()); } finally { - table_ptr.Free(); } } } @@ -6793,7 +6833,7 @@ namespace OpenTK.OpenGL } public static - void GetColorTableParameterv(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [In, Out] Single[] @params) + void GetColorTableParameterv(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [Out] Single[] @params) { unsafe { @@ -6807,13 +6847,12 @@ namespace OpenTK.OpenGL public static void GetColorTableParameterv(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetColorTableParameterfv((GL.Enums.VERSION_1_2)target, (GL.Enums.VERSION_1_2)pname, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -6826,7 +6865,7 @@ namespace OpenTK.OpenGL } public static - void GetColorTableParameterv(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [In, Out] Int32[] @params) + void GetColorTableParameterv(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [Out] Int32[] @params) { unsafe { @@ -6840,13 +6879,12 @@ namespace OpenTK.OpenGL public static void GetColorTableParameterv(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetColorTableParameteriv((GL.Enums.VERSION_1_2)target, (GL.Enums.VERSION_1_2)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -6861,16 +6899,15 @@ namespace OpenTK.OpenGL public static void ColorSubTable(GL.Enums.VERSION_1_2 target, Int32 start, Int32 count, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object data) { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glColorSubTable((GL.Enums.VERSION_1_2)target, (Int32)start, (Int32)count, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (void*)data_ptr.AddrOfPinnedObject()); } finally { - data_ptr.Free(); } } } @@ -6891,16 +6928,15 @@ namespace OpenTK.OpenGL public static void ConvolutionFilter1D(GL.Enums.VERSION_1_2 target, GL.Enums.PixelInternalFormat internalformat, Int32 width, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object image) { - System.Runtime.InteropServices.GCHandle image_ptr = System.Runtime.InteropServices.GCHandle.Alloc(image, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle image_ptr = System.Runtime.InteropServices.GCHandle.Alloc(image, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glConvolutionFilter1D((GL.Enums.VERSION_1_2)target, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (void*)image_ptr.AddrOfPinnedObject()); } finally { - image_ptr.Free(); } } } @@ -6915,16 +6951,15 @@ namespace OpenTK.OpenGL public static void ConvolutionFilter2D(GL.Enums.VERSION_1_2 target, GL.Enums.PixelInternalFormat internalformat, Int32 width, Int32 height, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object image) { - System.Runtime.InteropServices.GCHandle image_ptr = System.Runtime.InteropServices.GCHandle.Alloc(image, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle image_ptr = System.Runtime.InteropServices.GCHandle.Alloc(image, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glConvolutionFilter2D((GL.Enums.VERSION_1_2)target, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (void*)image_ptr.AddrOfPinnedObject()); } finally { - image_ptr.Free(); } } } @@ -6943,7 +6978,7 @@ namespace OpenTK.OpenGL } public static - void ConvolutionParameterv(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [In, Out] Single[] @params) + void ConvolutionParameterv(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, Single[] @params) { unsafe { @@ -6980,7 +7015,7 @@ namespace OpenTK.OpenGL } public static - void ConvolutionParameterv(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [In, Out] Int32[] @params) + void ConvolutionParameterv(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, Int32[] @params) { unsafe { @@ -7025,16 +7060,15 @@ namespace OpenTK.OpenGL public static void GetConvolutionFilter(GL.Enums.VERSION_1_2 target, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object image) { - System.Runtime.InteropServices.GCHandle image_ptr = System.Runtime.InteropServices.GCHandle.Alloc(image, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle image_ptr = System.Runtime.InteropServices.GCHandle.Alloc(image, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glGetConvolutionFilter((GL.Enums.VERSION_1_2)target, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (void*)image_ptr.AddrOfPinnedObject()); } finally { - image_ptr.Free(); } } } @@ -7047,7 +7081,7 @@ namespace OpenTK.OpenGL } public static - void GetConvolutionParameterv(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [In, Out] Single[] @params) + void GetConvolutionParameterv(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [Out] Single[] @params) { unsafe { @@ -7061,13 +7095,12 @@ namespace OpenTK.OpenGL public static void GetConvolutionParameterv(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetConvolutionParameterfv((GL.Enums.VERSION_1_2)target, (GL.Enums.VERSION_1_2)pname, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -7080,7 +7113,7 @@ namespace OpenTK.OpenGL } public static - void GetConvolutionParameterv(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [In, Out] Int32[] @params) + void GetConvolutionParameterv(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [Out] Int32[] @params) { unsafe { @@ -7094,13 +7127,12 @@ namespace OpenTK.OpenGL public static void GetConvolutionParameterv(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetConvolutionParameteriv((GL.Enums.VERSION_1_2)target, (GL.Enums.VERSION_1_2)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -7116,124 +7148,121 @@ namespace OpenTK.OpenGL public static unsafe void GetSeparableFilter(GL.Enums.VERSION_1_2 target, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [Out] void* row, [Out] void* column, [In, Out] object span) { - row = default(void*); - column = default(void*); - System.Runtime.InteropServices.GCHandle span_ptr = System.Runtime.InteropServices.GCHandle.Alloc(span, System.Runtime.InteropServices.GCHandleType.Pinned); + unsafe + { + System.Runtime.InteropServices.GCHandle span_ptr = System.Runtime.InteropServices.GCHandle.Alloc(span, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glGetSeparableFilter((GL.Enums.VERSION_1_2)target, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (void*)row, (void*)column, (void*)span_ptr.AddrOfPinnedObject()); } finally { - span_ptr.Free(); } + } } [System.CLSCompliant(false)] public static unsafe void GetSeparableFilter(GL.Enums.VERSION_1_2 target, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [Out] void* row, [In, Out] object column, [Out] void* span) { - row = default(void*); - span = default(void*); - System.Runtime.InteropServices.GCHandle column_ptr = System.Runtime.InteropServices.GCHandle.Alloc(column, System.Runtime.InteropServices.GCHandleType.Pinned); + unsafe + { + System.Runtime.InteropServices.GCHandle column_ptr = System.Runtime.InteropServices.GCHandle.Alloc(column, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glGetSeparableFilter((GL.Enums.VERSION_1_2)target, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (void*)row, (void*)column_ptr.AddrOfPinnedObject(), (void*)span); } finally { - column_ptr.Free(); } + } } [System.CLSCompliant(false)] public static unsafe void GetSeparableFilter(GL.Enums.VERSION_1_2 target, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [Out] void* row, [In, Out] object column, [In, Out] object span) { - row = default(void*); - System.Runtime.InteropServices.GCHandle span_ptr = System.Runtime.InteropServices.GCHandle.Alloc(span, System.Runtime.InteropServices.GCHandleType.Pinned); - System.Runtime.InteropServices.GCHandle column_ptr = System.Runtime.InteropServices.GCHandle.Alloc(column, System.Runtime.InteropServices.GCHandleType.Pinned); + unsafe + { + System.Runtime.InteropServices.GCHandle column_ptr = System.Runtime.InteropServices.GCHandle.Alloc(column, System.Runtime.InteropServices.GCHandleType.Pinned); + System.Runtime.InteropServices.GCHandle span_ptr = System.Runtime.InteropServices.GCHandle.Alloc(span, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glGetSeparableFilter((GL.Enums.VERSION_1_2)target, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (void*)row, (void*)column_ptr.AddrOfPinnedObject(), (void*)span_ptr.AddrOfPinnedObject()); } finally { - column_ptr.Free(); - span_ptr.Free(); } + } } [System.CLSCompliant(false)] public static unsafe void GetSeparableFilter(GL.Enums.VERSION_1_2 target, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object row, [Out] void* column, [Out] void* span) { - column = default(void*); - span = default(void*); - System.Runtime.InteropServices.GCHandle row_ptr = System.Runtime.InteropServices.GCHandle.Alloc(row, System.Runtime.InteropServices.GCHandleType.Pinned); + unsafe + { + System.Runtime.InteropServices.GCHandle row_ptr = System.Runtime.InteropServices.GCHandle.Alloc(row, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glGetSeparableFilter((GL.Enums.VERSION_1_2)target, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (void*)row_ptr.AddrOfPinnedObject(), (void*)column, (void*)span); } finally { - row_ptr.Free(); } + } } [System.CLSCompliant(false)] public static unsafe void GetSeparableFilter(GL.Enums.VERSION_1_2 target, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object row, [Out] void* column, [In, Out] object span) { - column = default(void*); - System.Runtime.InteropServices.GCHandle span_ptr = System.Runtime.InteropServices.GCHandle.Alloc(span, System.Runtime.InteropServices.GCHandleType.Pinned); - System.Runtime.InteropServices.GCHandle row_ptr = System.Runtime.InteropServices.GCHandle.Alloc(row, System.Runtime.InteropServices.GCHandleType.Pinned); + unsafe + { + System.Runtime.InteropServices.GCHandle row_ptr = System.Runtime.InteropServices.GCHandle.Alloc(row, System.Runtime.InteropServices.GCHandleType.Pinned); + System.Runtime.InteropServices.GCHandle span_ptr = System.Runtime.InteropServices.GCHandle.Alloc(span, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glGetSeparableFilter((GL.Enums.VERSION_1_2)target, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (void*)row_ptr.AddrOfPinnedObject(), (void*)column, (void*)span_ptr.AddrOfPinnedObject()); } finally { - row_ptr.Free(); - span_ptr.Free(); } + } } [System.CLSCompliant(false)] public static unsafe void GetSeparableFilter(GL.Enums.VERSION_1_2 target, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object row, [In, Out] object column, [Out] void* span) { - span = default(void*); - System.Runtime.InteropServices.GCHandle column_ptr = System.Runtime.InteropServices.GCHandle.Alloc(column, System.Runtime.InteropServices.GCHandleType.Pinned); - System.Runtime.InteropServices.GCHandle row_ptr = System.Runtime.InteropServices.GCHandle.Alloc(row, System.Runtime.InteropServices.GCHandleType.Pinned); + unsafe + { + System.Runtime.InteropServices.GCHandle row_ptr = System.Runtime.InteropServices.GCHandle.Alloc(row, System.Runtime.InteropServices.GCHandleType.Pinned); + System.Runtime.InteropServices.GCHandle column_ptr = System.Runtime.InteropServices.GCHandle.Alloc(column, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glGetSeparableFilter((GL.Enums.VERSION_1_2)target, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (void*)row_ptr.AddrOfPinnedObject(), (void*)column_ptr.AddrOfPinnedObject(), (void*)span); } finally { - row_ptr.Free(); - column_ptr.Free(); } + } } public static void GetSeparableFilter(GL.Enums.VERSION_1_2 target, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object row, [In, Out] object column, [In, Out] object span) { - System.Runtime.InteropServices.GCHandle span_ptr = System.Runtime.InteropServices.GCHandle.Alloc(span, System.Runtime.InteropServices.GCHandleType.Pinned); - System.Runtime.InteropServices.GCHandle column_ptr = System.Runtime.InteropServices.GCHandle.Alloc(column, System.Runtime.InteropServices.GCHandleType.Pinned); - System.Runtime.InteropServices.GCHandle row_ptr = System.Runtime.InteropServices.GCHandle.Alloc(row, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle row_ptr = System.Runtime.InteropServices.GCHandle.Alloc(row, System.Runtime.InteropServices.GCHandleType.Pinned); + System.Runtime.InteropServices.GCHandle column_ptr = System.Runtime.InteropServices.GCHandle.Alloc(column, System.Runtime.InteropServices.GCHandleType.Pinned); + System.Runtime.InteropServices.GCHandle span_ptr = System.Runtime.InteropServices.GCHandle.Alloc(span, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glGetSeparableFilter((GL.Enums.VERSION_1_2)target, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (void*)row_ptr.AddrOfPinnedObject(), (void*)column_ptr.AddrOfPinnedObject(), (void*)span_ptr.AddrOfPinnedObject()); } finally { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); } } } @@ -7249,47 +7278,49 @@ namespace OpenTK.OpenGL public static unsafe void SeparableFilter2D(GL.Enums.VERSION_1_2 target, GL.Enums.PixelInternalFormat internalformat, Int32 width, Int32 height, GL.Enums.PixelFormat format, GL.Enums.PixelType type, void* row, [In, Out] object column) { - System.Runtime.InteropServices.GCHandle column_ptr = System.Runtime.InteropServices.GCHandle.Alloc(column, System.Runtime.InteropServices.GCHandleType.Pinned); + unsafe + { + System.Runtime.InteropServices.GCHandle column_ptr = System.Runtime.InteropServices.GCHandle.Alloc(column, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glSeparableFilter2D((GL.Enums.VERSION_1_2)target, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (void*)row, (void*)column_ptr.AddrOfPinnedObject()); } finally { - column_ptr.Free(); } + } } [System.CLSCompliant(false)] public static unsafe void SeparableFilter2D(GL.Enums.VERSION_1_2 target, GL.Enums.PixelInternalFormat internalformat, Int32 width, Int32 height, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object row, void* column) { - System.Runtime.InteropServices.GCHandle row_ptr = System.Runtime.InteropServices.GCHandle.Alloc(row, System.Runtime.InteropServices.GCHandleType.Pinned); + unsafe + { + System.Runtime.InteropServices.GCHandle row_ptr = System.Runtime.InteropServices.GCHandle.Alloc(row, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glSeparableFilter2D((GL.Enums.VERSION_1_2)target, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (void*)row_ptr.AddrOfPinnedObject(), (void*)column); } finally { - row_ptr.Free(); } + } } public static void SeparableFilter2D(GL.Enums.VERSION_1_2 target, GL.Enums.PixelInternalFormat internalformat, Int32 width, Int32 height, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object row, [In, Out] object column) { - System.Runtime.InteropServices.GCHandle column_ptr = System.Runtime.InteropServices.GCHandle.Alloc(column, System.Runtime.InteropServices.GCHandleType.Pinned); - System.Runtime.InteropServices.GCHandle row_ptr = System.Runtime.InteropServices.GCHandle.Alloc(row, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle row_ptr = System.Runtime.InteropServices.GCHandle.Alloc(row, System.Runtime.InteropServices.GCHandleType.Pinned); + System.Runtime.InteropServices.GCHandle column_ptr = System.Runtime.InteropServices.GCHandle.Alloc(column, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glSeparableFilter2D((GL.Enums.VERSION_1_2)target, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (void*)row_ptr.AddrOfPinnedObject(), (void*)column_ptr.AddrOfPinnedObject()); } finally { - row_ptr.Free(); - column_ptr.Free(); } } } @@ -7309,7 +7340,7 @@ namespace OpenTK.OpenGL } public static - void GetHistogramParameterv(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [In, Out] Single[] @params) + void GetHistogramParameterv(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [Out] Single[] @params) { unsafe { @@ -7323,13 +7354,12 @@ namespace OpenTK.OpenGL public static void GetHistogramParameterv(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetHistogramParameterfv((GL.Enums.VERSION_1_2)target, (GL.Enums.VERSION_1_2)pname, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -7342,7 +7372,7 @@ namespace OpenTK.OpenGL } public static - void GetHistogramParameterv(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [In, Out] Int32[] @params) + void GetHistogramParameterv(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [Out] Int32[] @params) { unsafe { @@ -7356,13 +7386,12 @@ namespace OpenTK.OpenGL public static void GetHistogramParameterv(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetHistogramParameteriv((GL.Enums.VERSION_1_2)target, (GL.Enums.VERSION_1_2)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -7382,7 +7411,7 @@ namespace OpenTK.OpenGL } public static - void GetMinmaxParameterv(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [In, Out] Single[] @params) + void GetMinmaxParameterv(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [Out] Single[] @params) { unsafe { @@ -7396,13 +7425,12 @@ namespace OpenTK.OpenGL public static void GetMinmaxParameterv(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetMinmaxParameterfv((GL.Enums.VERSION_1_2)target, (GL.Enums.VERSION_1_2)pname, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -7415,7 +7443,7 @@ namespace OpenTK.OpenGL } public static - void GetMinmaxParameterv(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [In, Out] Int32[] @params) + void GetMinmaxParameterv(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [Out] Int32[] @params) { unsafe { @@ -7429,13 +7457,12 @@ namespace OpenTK.OpenGL public static void GetMinmaxParameterv(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetMinmaxParameteriv((GL.Enums.VERSION_1_2)target, (GL.Enums.VERSION_1_2)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -7474,16 +7501,15 @@ namespace OpenTK.OpenGL public static void TexImage3D(GL.Enums.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object pixels) { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glTexImage3D((GL.Enums.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (void*)pixels_ptr.AddrOfPinnedObject()); } finally { - pixels_ptr.Free(); } } } @@ -7498,16 +7524,15 @@ namespace OpenTK.OpenGL public static void TexSubImage3D(GL.Enums.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object pixels) { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glTexSubImage3D((GL.Enums.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (void*)pixels_ptr.AddrOfPinnedObject()); } finally { - pixels_ptr.Free(); } } } @@ -7544,7 +7569,7 @@ namespace OpenTK.OpenGL } public static - void MultiTexCoord1dv(GL.Enums.VERSION_1_3 target, [In, Out] Double[] v) + void MultiTexCoord1dv(GL.Enums.VERSION_1_3 target, Double[] v) { unsafe { @@ -7581,7 +7606,7 @@ namespace OpenTK.OpenGL } public static - void MultiTexCoord1fv(GL.Enums.VERSION_1_3 target, [In, Out] Single[] v) + void MultiTexCoord1fv(GL.Enums.VERSION_1_3 target, Single[] v) { unsafe { @@ -7618,7 +7643,7 @@ namespace OpenTK.OpenGL } public static - void MultiTexCoord1iv(GL.Enums.VERSION_1_3 target, [In, Out] Int32[] v) + void MultiTexCoord1iv(GL.Enums.VERSION_1_3 target, Int32[] v) { unsafe { @@ -7655,7 +7680,7 @@ namespace OpenTK.OpenGL } public static - void MultiTexCoord1sv(GL.Enums.VERSION_1_3 target, [In, Out] Int16[] v) + void MultiTexCoord1sv(GL.Enums.VERSION_1_3 target, Int16[] v) { unsafe { @@ -7692,7 +7717,7 @@ namespace OpenTK.OpenGL } public static - void MultiTexCoord2(GL.Enums.VERSION_1_3 target, [In, Out] Double[] v) + void MultiTexCoord2(GL.Enums.VERSION_1_3 target, Double[] v) { unsafe { @@ -7729,7 +7754,7 @@ namespace OpenTK.OpenGL } public static - void MultiTexCoord2(GL.Enums.VERSION_1_3 target, [In, Out] Single[] v) + void MultiTexCoord2(GL.Enums.VERSION_1_3 target, Single[] v) { unsafe { @@ -7766,7 +7791,7 @@ namespace OpenTK.OpenGL } public static - void MultiTexCoord2(GL.Enums.VERSION_1_3 target, [In, Out] Int32[] v) + void MultiTexCoord2(GL.Enums.VERSION_1_3 target, Int32[] v) { unsafe { @@ -7803,7 +7828,7 @@ namespace OpenTK.OpenGL } public static - void MultiTexCoord2(GL.Enums.VERSION_1_3 target, [In, Out] Int16[] v) + void MultiTexCoord2(GL.Enums.VERSION_1_3 target, Int16[] v) { unsafe { @@ -7840,7 +7865,7 @@ namespace OpenTK.OpenGL } public static - void MultiTexCoord3(GL.Enums.VERSION_1_3 target, [In, Out] Double[] v) + void MultiTexCoord3(GL.Enums.VERSION_1_3 target, Double[] v) { unsafe { @@ -7877,7 +7902,7 @@ namespace OpenTK.OpenGL } public static - void MultiTexCoord3(GL.Enums.VERSION_1_3 target, [In, Out] Single[] v) + void MultiTexCoord3(GL.Enums.VERSION_1_3 target, Single[] v) { unsafe { @@ -7914,7 +7939,7 @@ namespace OpenTK.OpenGL } public static - void MultiTexCoord3(GL.Enums.VERSION_1_3 target, [In, Out] Int32[] v) + void MultiTexCoord3(GL.Enums.VERSION_1_3 target, Int32[] v) { unsafe { @@ -7951,7 +7976,7 @@ namespace OpenTK.OpenGL } public static - void MultiTexCoord3(GL.Enums.VERSION_1_3 target, [In, Out] Int16[] v) + void MultiTexCoord3(GL.Enums.VERSION_1_3 target, Int16[] v) { unsafe { @@ -7988,7 +8013,7 @@ namespace OpenTK.OpenGL } public static - void MultiTexCoord4(GL.Enums.VERSION_1_3 target, [In, Out] Double[] v) + void MultiTexCoord4(GL.Enums.VERSION_1_3 target, Double[] v) { unsafe { @@ -8025,7 +8050,7 @@ namespace OpenTK.OpenGL } public static - void MultiTexCoord4(GL.Enums.VERSION_1_3 target, [In, Out] Single[] v) + void MultiTexCoord4(GL.Enums.VERSION_1_3 target, Single[] v) { unsafe { @@ -8062,7 +8087,7 @@ namespace OpenTK.OpenGL } public static - void MultiTexCoord4(GL.Enums.VERSION_1_3 target, [In, Out] Int32[] v) + void MultiTexCoord4(GL.Enums.VERSION_1_3 target, Int32[] v) { unsafe { @@ -8099,7 +8124,7 @@ namespace OpenTK.OpenGL } public static - void MultiTexCoord4(GL.Enums.VERSION_1_3 target, [In, Out] Int16[] v) + void MultiTexCoord4(GL.Enums.VERSION_1_3 target, Int16[] v) { unsafe { @@ -8130,7 +8155,7 @@ namespace OpenTK.OpenGL } public static - void LoadTransposeMatrixf([In, Out] Single[] m) + void LoadTransposeMatrixf(Single[] m) { unsafe { @@ -8161,7 +8186,7 @@ namespace OpenTK.OpenGL } public static - void LoadTransposeMatrixd([In, Out] Double[] m) + void LoadTransposeMatrixd(Double[] m) { unsafe { @@ -8192,7 +8217,7 @@ namespace OpenTK.OpenGL } public static - void MultTransposeMatrixf([In, Out] Single[] m) + void MultTransposeMatrixf(Single[] m) { unsafe { @@ -8223,7 +8248,7 @@ namespace OpenTK.OpenGL } public static - void MultTransposeMatrixd([In, Out] Double[] m) + void MultTransposeMatrixd(Double[] m) { unsafe { @@ -8262,16 +8287,15 @@ namespace OpenTK.OpenGL public static void CompressedTexImage3D(GL.Enums.TextureTarget target, Int32 level, GL.Enums.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] object data) { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glCompressedTexImage3D((GL.Enums.TextureTarget)target, (Int32)level, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (void*)data_ptr.AddrOfPinnedObject()); } finally { - data_ptr.Free(); } } } @@ -8286,16 +8310,15 @@ namespace OpenTK.OpenGL public static void CompressedTexImage2D(GL.Enums.TextureTarget target, Int32 level, GL.Enums.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] object data) { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glCompressedTexImage2D((GL.Enums.TextureTarget)target, (Int32)level, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (void*)data_ptr.AddrOfPinnedObject()); } finally { - data_ptr.Free(); } } } @@ -8310,16 +8333,15 @@ namespace OpenTK.OpenGL public static void CompressedTexImage1D(GL.Enums.TextureTarget target, Int32 level, GL.Enums.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] object data) { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glCompressedTexImage1D((GL.Enums.TextureTarget)target, (Int32)level, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (void*)data_ptr.AddrOfPinnedObject()); } finally { - data_ptr.Free(); } } } @@ -8334,16 +8356,15 @@ namespace OpenTK.OpenGL public static void CompressedTexSubImage3D(GL.Enums.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, GL.Enums.PixelFormat format, Int32 imageSize, [In, Out] object data) { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glCompressedTexSubImage3D((GL.Enums.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (GL.Enums.PixelFormat)format, (Int32)imageSize, (void*)data_ptr.AddrOfPinnedObject()); } finally { - data_ptr.Free(); } } } @@ -8358,16 +8379,15 @@ namespace OpenTK.OpenGL public static void CompressedTexSubImage2D(GL.Enums.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, GL.Enums.PixelFormat format, Int32 imageSize, [In, Out] object data) { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glCompressedTexSubImage2D((GL.Enums.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (GL.Enums.PixelFormat)format, (Int32)imageSize, (void*)data_ptr.AddrOfPinnedObject()); } finally { - data_ptr.Free(); } } } @@ -8382,16 +8402,15 @@ namespace OpenTK.OpenGL public static void CompressedTexSubImage1D(GL.Enums.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, GL.Enums.PixelFormat format, Int32 imageSize, [In, Out] object data) { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glCompressedTexSubImage1D((GL.Enums.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (GL.Enums.PixelFormat)format, (Int32)imageSize, (void*)data_ptr.AddrOfPinnedObject()); } finally { - data_ptr.Free(); } } } @@ -8406,16 +8425,15 @@ namespace OpenTK.OpenGL public static void GetCompressedTexImage(GL.Enums.TextureTarget target, Int32 level, [In, Out] object img) { - System.Runtime.InteropServices.GCHandle img_ptr = System.Runtime.InteropServices.GCHandle.Alloc(img, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle img_ptr = System.Runtime.InteropServices.GCHandle.Alloc(img, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glGetCompressedTexImage((GL.Enums.TextureTarget)target, (Int32)level, (void*)img_ptr.AddrOfPinnedObject()); } finally { - img_ptr.Free(); } } } @@ -8440,7 +8458,7 @@ namespace OpenTK.OpenGL } public static - void FogCoordv([In, Out] Single[] coord) + void FogCoordv(Single[] coord) { unsafe { @@ -8477,7 +8495,7 @@ namespace OpenTK.OpenGL } public static - void FogCoordv([In, Out] Double[] coord) + void FogCoordv(Double[] coord) { unsafe { @@ -8510,16 +8528,15 @@ namespace OpenTK.OpenGL public static void FogCoordPointer(GL.Enums.VERSION_1_4 type, Int32 stride, [In, Out] object pointer) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glFogCoordPointer((GL.Enums.VERSION_1_4)type, (Int32)stride, (void*)pointer_ptr.AddrOfPinnedObject()); } finally { - pointer_ptr.Free(); } } } @@ -8533,41 +8550,46 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void MultiDrawArrays(GL.Enums.BeginMode mode, [Out] Int32* first, [In, Out] Int32[] count, Int32 primcount) + unsafe void MultiDrawArrays(GL.Enums.BeginMode mode, [Out] Int32* first, [Out] Int32[] count, Int32 primcount) { - first = default(Int32*); + unsafe + { fixed (Int32* count_ptr = count) { Delegates.glMultiDrawArrays((GL.Enums.BeginMode)mode, (Int32*)first, (Int32*)count_ptr, (Int32)primcount); } + } } [System.CLSCompliant(false)] public static unsafe void MultiDrawArrays(GL.Enums.BeginMode mode, [Out] Int32* first, [Out] out Int32 count, Int32 primcount) { - first = default(Int32*); - count = default(Int32); + unsafe + { fixed (Int32* count_ptr = &count) { Delegates.glMultiDrawArrays((GL.Enums.BeginMode)mode, (Int32*)first, (Int32*)count_ptr, (Int32)primcount); - count = *count_ptr; + count = *count_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void MultiDrawArrays(GL.Enums.BeginMode mode, [In, Out] Int32[] first, [Out] Int32* count, Int32 primcount) + unsafe void MultiDrawArrays(GL.Enums.BeginMode mode, [Out] Int32[] first, [Out] Int32* count, Int32 primcount) { - count = default(Int32*); + unsafe + { fixed (Int32* first_ptr = first) { Delegates.glMultiDrawArrays((GL.Enums.BeginMode)mode, (Int32*)first_ptr, (Int32*)count, (Int32)primcount); } + } } public static - void MultiDrawArrays(GL.Enums.BeginMode mode, [In, Out] Int32[] first, [In, Out] Int32[] count, Int32 primcount) + void MultiDrawArrays(GL.Enums.BeginMode mode, [Out] Int32[] first, [Out] Int32[] count, Int32 primcount) { unsafe { @@ -8580,16 +8602,15 @@ namespace OpenTK.OpenGL } public static - void MultiDrawArrays(GL.Enums.BeginMode mode, [In, Out] Int32[] first, [Out] out Int32 count, Int32 primcount) + void MultiDrawArrays(GL.Enums.BeginMode mode, [Out] Int32[] first, [Out] out Int32 count, Int32 primcount) { - count = default(Int32); unsafe { fixed (Int32* first_ptr = first) fixed (Int32* count_ptr = &count) { Delegates.glMultiDrawArrays((GL.Enums.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); - count = *count_ptr; + count = *count_ptr; } } } @@ -8598,26 +8619,26 @@ namespace OpenTK.OpenGL public static unsafe void MultiDrawArrays(GL.Enums.BeginMode mode, [Out] out Int32 first, [Out] Int32* count, Int32 primcount) { - first = default(Int32); - count = default(Int32*); + unsafe + { fixed (Int32* first_ptr = &first) { Delegates.glMultiDrawArrays((GL.Enums.BeginMode)mode, (Int32*)first_ptr, (Int32*)count, (Int32)primcount); - first = *first_ptr; + first = *first_ptr; } + } } public static - void MultiDrawArrays(GL.Enums.BeginMode mode, [Out] out Int32 first, [In, Out] Int32[] count, Int32 primcount) + void MultiDrawArrays(GL.Enums.BeginMode mode, [Out] out Int32 first, [Out] Int32[] count, Int32 primcount) { - first = default(Int32); unsafe { fixed (Int32* first_ptr = &first) fixed (Int32* count_ptr = count) { Delegates.glMultiDrawArrays((GL.Enums.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); - first = *first_ptr; + first = *first_ptr; } } } @@ -8625,16 +8646,14 @@ namespace OpenTK.OpenGL public static void MultiDrawArrays(GL.Enums.BeginMode mode, [Out] out Int32 first, [Out] out Int32 count, Int32 primcount) { - first = default(Int32); - count = default(Int32); unsafe { fixed (Int32* first_ptr = &first) fixed (Int32* count_ptr = &count) { Delegates.glMultiDrawArrays((GL.Enums.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); - first = *first_ptr; - count = *count_ptr; + first = *first_ptr; + count = *count_ptr; } } } @@ -8650,41 +8669,47 @@ namespace OpenTK.OpenGL public static unsafe void MultiDrawElements(GL.Enums.BeginMode mode, Int32* count, GL.Enums.VERSION_1_4 type, [In, Out] object indices, Int32 primcount) { - System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); + unsafe + { + System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glMultiDrawElements((GL.Enums.BeginMode)mode, (Int32*)count, (GL.Enums.VERSION_1_4)type, (void*)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); } finally { - indices_ptr.Free(); } + } } [System.CLSCompliant(false)] public static - unsafe void MultiDrawElements(GL.Enums.BeginMode mode, [In, Out] Int32[] count, GL.Enums.VERSION_1_4 type, void* indices, Int32 primcount) + unsafe void MultiDrawElements(GL.Enums.BeginMode mode, Int32[] count, GL.Enums.VERSION_1_4 type, void* indices, Int32 primcount) { + unsafe + { fixed (Int32* count_ptr = count) { Delegates.glMultiDrawElements((GL.Enums.BeginMode)mode, (Int32*)count_ptr, (GL.Enums.VERSION_1_4)type, (void*)indices, (Int32)primcount); } + } } public static - void MultiDrawElements(GL.Enums.BeginMode mode, [In, Out] Int32[] count, GL.Enums.VERSION_1_4 type, [In, Out] object indices, Int32 primcount) + void MultiDrawElements(GL.Enums.BeginMode mode, Int32[] count, GL.Enums.VERSION_1_4 type, [In, Out] object indices, Int32 primcount) { - System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { fixed (Int32* count_ptr = count) - try { - Delegates.glMultiDrawElements((GL.Enums.BeginMode)mode, (Int32*)count_ptr, (GL.Enums.VERSION_1_4)type, (void*)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); + System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElements((GL.Enums.BeginMode)mode, (Int32*)count_ptr, (GL.Enums.VERSION_1_4)type, (void*)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + } } } } @@ -8693,26 +8718,30 @@ namespace OpenTK.OpenGL public static unsafe void MultiDrawElements(GL.Enums.BeginMode mode, ref Int32 count, GL.Enums.VERSION_1_4 type, void* indices, Int32 primcount) { + unsafe + { fixed (Int32* count_ptr = &count) { Delegates.glMultiDrawElements((GL.Enums.BeginMode)mode, (Int32*)count_ptr, (GL.Enums.VERSION_1_4)type, (void*)indices, (Int32)primcount); } + } } public static void MultiDrawElements(GL.Enums.BeginMode mode, ref Int32 count, GL.Enums.VERSION_1_4 type, [In, Out] object indices, Int32 primcount) { - System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { fixed (Int32* count_ptr = &count) - try { - Delegates.glMultiDrawElements((GL.Enums.BeginMode)mode, (Int32*)count_ptr, (GL.Enums.VERSION_1_4)type, (void*)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); + System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElements((GL.Enums.BeginMode)mode, (Int32*)count_ptr, (GL.Enums.VERSION_1_4)type, (void*)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + } } } } @@ -8731,7 +8760,7 @@ namespace OpenTK.OpenGL } public static - void PointParameterv(GL.Enums.VERSION_1_4 pname, [In, Out] Single[] @params) + void PointParameterv(GL.Enums.VERSION_1_4 pname, Single[] @params) { unsafe { @@ -8768,7 +8797,7 @@ namespace OpenTK.OpenGL } public static - void PointParameterv(GL.Enums.VERSION_1_4 pname, [In, Out] Int32[] @params) + void PointParameterv(GL.Enums.VERSION_1_4 pname, Int32[] @params) { unsafe { @@ -8798,12 +8827,6 @@ namespace OpenTK.OpenGL Delegates.glSecondaryColor3b((SByte)red, (SByte)green, (SByte)blue); } - public static - void SecondaryColor3(Byte red, Byte green, Byte blue) - { - Delegates.glSecondaryColor3b((SByte)red, (SByte)green, (SByte)blue); - } - [System.CLSCompliant(false)] public static unsafe void SecondaryColor3(SByte* v) @@ -8813,16 +8836,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void SecondaryColor3(Byte* v) - { - { - Delegates.glSecondaryColor3bv((SByte*)v); - } - } - - [System.CLSCompliant(false)] - public static - void SecondaryColor3([In, Out] SByte[] v) + void SecondaryColor3(SByte[] v) { unsafe { @@ -8833,18 +8847,6 @@ namespace OpenTK.OpenGL } } - public static - void SecondaryColor3([In, Out] Byte[] v) - { - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glSecondaryColor3bv((SByte*)v_ptr); - } - } - } - [System.CLSCompliant(false)] public static void SecondaryColor3(ref SByte v) @@ -8858,18 +8860,6 @@ namespace OpenTK.OpenGL } } - public static - void SecondaryColor3(ref Byte v) - { - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glSecondaryColor3bv((SByte*)v_ptr); - } - } - } - public static void SecondaryColor3(Double red, Double green, Double blue) { @@ -8884,7 +8874,7 @@ namespace OpenTK.OpenGL } public static - void SecondaryColor3([In, Out] Double[] v) + void SecondaryColor3(Double[] v) { unsafe { @@ -8921,7 +8911,7 @@ namespace OpenTK.OpenGL } public static - void SecondaryColor3([In, Out] Single[] v) + void SecondaryColor3(Single[] v) { unsafe { @@ -8945,75 +8935,38 @@ namespace OpenTK.OpenGL } public static - void SecondaryColor3(Int32 red, Int32 green, Int32 blue) + void SecondaryColor3(Byte red, Byte green, Byte blue) { - Delegates.glSecondaryColor3i((Int32)red, (Int32)green, (Int32)blue); + Delegates.glSecondaryColor3ub((Byte)red, (Byte)green, (Byte)blue); } [System.CLSCompliant(false)] public static - unsafe void SecondaryColor3(Int32* v) + unsafe void SecondaryColor3(Byte* v) { - unsafe { Delegates.glSecondaryColor3iv((Int32*)v); } + unsafe { Delegates.glSecondaryColor3ubv((Byte*)v); } } public static - void SecondaryColor3([In, Out] Int32[] v) + void SecondaryColor3(Byte[] v) { unsafe { - fixed (Int32* v_ptr = v) + fixed (Byte* v_ptr = v) { - Delegates.glSecondaryColor3iv((Int32*)v_ptr); + Delegates.glSecondaryColor3ubv((Byte*)v_ptr); } } } public static - void SecondaryColor3(ref Int32 v) + void SecondaryColor3(ref Byte v) { unsafe { - fixed (Int32* v_ptr = &v) + fixed (Byte* v_ptr = &v) { - Delegates.glSecondaryColor3iv((Int32*)v_ptr); - } - } - } - - public static - void SecondaryColor3(Int16 red, Int16 green, Int16 blue) - { - Delegates.glSecondaryColor3s((Int16)red, (Int16)green, (Int16)blue); - } - - [System.CLSCompliant(false)] - public static - unsafe void SecondaryColor3(Int16* v) - { - unsafe { Delegates.glSecondaryColor3sv((Int16*)v); } - } - - public static - void SecondaryColor3([In, Out] Int16[] v) - { - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glSecondaryColor3sv((Int16*)v_ptr); - } - } - } - - public static - void SecondaryColor3(ref Int16 v) - { - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glSecondaryColor3sv((Int16*)v_ptr); + Delegates.glSecondaryColor3ubv((Byte*)v_ptr); } } } @@ -9025,6 +8978,12 @@ namespace OpenTK.OpenGL Delegates.glSecondaryColor3ui((UInt32)red, (UInt32)green, (UInt32)blue); } + public static + void SecondaryColor3(Int32 red, Int32 green, Int32 blue) + { + Delegates.glSecondaryColor3ui((UInt32)red, (UInt32)green, (UInt32)blue); + } + [System.CLSCompliant(false)] public static unsafe void SecondaryColor3(UInt32* v) @@ -9034,7 +8993,17 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void SecondaryColor3([In, Out] UInt32[] v) + unsafe void SecondaryColor3(Int32* v) + { + unsafe + { + Delegates.glSecondaryColor3uiv((UInt32*)v); + } + } + + [System.CLSCompliant(false)] + public static + void SecondaryColor3(UInt32[] v) { unsafe { @@ -9045,6 +9014,18 @@ namespace OpenTK.OpenGL } } + public static + void SecondaryColor3(Int32[] v) + { + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glSecondaryColor3uiv((UInt32*)v_ptr); + } + } + } + [System.CLSCompliant(false)] public static void SecondaryColor3(ref UInt32 v) @@ -9058,6 +9039,18 @@ namespace OpenTK.OpenGL } } + public static + void SecondaryColor3(ref Int32 v) + { + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glSecondaryColor3uiv((UInt32*)v_ptr); + } + } + } + [System.CLSCompliant(false)] public static void SecondaryColor3(UInt16 red, UInt16 green, UInt16 blue) @@ -9065,6 +9058,12 @@ namespace OpenTK.OpenGL Delegates.glSecondaryColor3us((UInt16)red, (UInt16)green, (UInt16)blue); } + public static + void SecondaryColor3(Int16 red, Int16 green, Int16 blue) + { + Delegates.glSecondaryColor3us((UInt16)red, (UInt16)green, (UInt16)blue); + } + [System.CLSCompliant(false)] public static unsafe void SecondaryColor3(UInt16* v) @@ -9074,7 +9073,17 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void SecondaryColor3([In, Out] UInt16[] v) + unsafe void SecondaryColor3(Int16* v) + { + unsafe + { + Delegates.glSecondaryColor3usv((UInt16*)v); + } + } + + [System.CLSCompliant(false)] + public static + void SecondaryColor3(UInt16[] v) { unsafe { @@ -9085,6 +9094,18 @@ namespace OpenTK.OpenGL } } + public static + void SecondaryColor3(Int16[] v) + { + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glSecondaryColor3usv((UInt16*)v_ptr); + } + } + } + [System.CLSCompliant(false)] public static void SecondaryColor3(ref UInt16 v) @@ -9098,6 +9119,18 @@ namespace OpenTK.OpenGL } } + public static + void SecondaryColor3(ref Int16 v) + { + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glSecondaryColor3usv((UInt16*)v_ptr); + } + } + } + [System.CLSCompliant(false)] public static unsafe void SecondaryColorPointer(Int32 size, GL.Enums.ColorPointerType type, Int32 stride, void* pointer) @@ -9108,16 +9141,15 @@ namespace OpenTK.OpenGL public static void SecondaryColorPointer(Int32 size, GL.Enums.ColorPointerType type, Int32 stride, [In, Out] object pointer) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glSecondaryColorPointer((Int32)size, (GL.Enums.ColorPointerType)type, (Int32)stride, (void*)pointer_ptr.AddrOfPinnedObject()); } finally { - pointer_ptr.Free(); } } } @@ -9136,7 +9168,7 @@ namespace OpenTK.OpenGL } public static - void WindowPos2([In, Out] Double[] v) + void WindowPos2(Double[] v) { unsafe { @@ -9173,7 +9205,7 @@ namespace OpenTK.OpenGL } public static - void WindowPos2([In, Out] Single[] v) + void WindowPos2(Single[] v) { unsafe { @@ -9210,7 +9242,7 @@ namespace OpenTK.OpenGL } public static - void WindowPos2([In, Out] Int32[] v) + void WindowPos2(Int32[] v) { unsafe { @@ -9247,7 +9279,7 @@ namespace OpenTK.OpenGL } public static - void WindowPos2([In, Out] Int16[] v) + void WindowPos2(Int16[] v) { unsafe { @@ -9284,7 +9316,7 @@ namespace OpenTK.OpenGL } public static - void WindowPos3([In, Out] Double[] v) + void WindowPos3(Double[] v) { unsafe { @@ -9321,7 +9353,7 @@ namespace OpenTK.OpenGL } public static - void WindowPos3([In, Out] Single[] v) + void WindowPos3(Single[] v) { unsafe { @@ -9358,7 +9390,7 @@ namespace OpenTK.OpenGL } public static - void WindowPos3([In, Out] Int32[] v) + void WindowPos3(Int32[] v) { unsafe { @@ -9395,7 +9427,7 @@ namespace OpenTK.OpenGL } public static - void WindowPos3([In, Out] Int16[] v) + void WindowPos3(Int16[] v) { unsafe { @@ -9429,15 +9461,15 @@ namespace OpenTK.OpenGL public static unsafe void GenQueries(Int32 n, [Out] Int32* ids) { - ids = default(Int32*); - { - Delegates.glGenQueries((Int32)n, (UInt32*)ids); - } + unsafe + { + Delegates.glGenQueries((Int32)n, (UInt32*)ids); + } } [System.CLSCompliant(false)] public static - void GenQueries(Int32 n, [In, Out] UInt32[] ids) + void GenQueries(Int32 n, [Out] UInt32[] ids) { unsafe { @@ -9449,7 +9481,7 @@ namespace OpenTK.OpenGL } public static - void GenQueries(Int32 n, [In, Out] Int32[] ids) + void GenQueries(Int32 n, [Out] Int32[] ids) { unsafe { @@ -9464,13 +9496,12 @@ namespace OpenTK.OpenGL public static void GenQueries(Int32 n, [Out] out UInt32 ids) { - ids = default(UInt32); unsafe { fixed (UInt32* ids_ptr = &ids) { Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr); - ids = *ids_ptr; + ids = *ids_ptr; } } } @@ -9478,13 +9509,12 @@ namespace OpenTK.OpenGL public static void GenQueries(Int32 n, [Out] out Int32 ids) { - ids = default(Int32); unsafe { fixed (Int32* ids_ptr = &ids) { Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr); - ids = *ids_ptr; + ids = *ids_ptr; } } } @@ -9500,14 +9530,15 @@ namespace OpenTK.OpenGL public static unsafe void DeleteQueries(Int32 n, Int32* ids) { - { - Delegates.glDeleteQueries((Int32)n, (UInt32*)ids); - } + unsafe + { + Delegates.glDeleteQueries((Int32)n, (UInt32*)ids); + } } [System.CLSCompliant(false)] public static - void DeleteQueries(Int32 n, [In, Out] UInt32[] ids) + void DeleteQueries(Int32 n, UInt32[] ids) { unsafe { @@ -9519,7 +9550,7 @@ namespace OpenTK.OpenGL } public static - void DeleteQueries(Int32 n, [In, Out] Int32[] ids) + void DeleteQueries(Int32 n, Int32[] ids) { unsafe { @@ -9595,7 +9626,7 @@ namespace OpenTK.OpenGL } public static - void GetQueryv(GL.Enums.VERSION_1_5 target, GL.Enums.VERSION_1_5 pname, [In, Out] Int32[] @params) + void GetQueryv(GL.Enums.VERSION_1_5 target, GL.Enums.VERSION_1_5 pname, [Out] Int32[] @params) { unsafe { @@ -9609,13 +9640,12 @@ namespace OpenTK.OpenGL public static void GetQueryv(GL.Enums.VERSION_1_5 target, GL.Enums.VERSION_1_5 pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetQueryiv((GL.Enums.VERSION_1_5)target, (GL.Enums.VERSION_1_5)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -9629,29 +9659,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetQueryObjectv(Int32 id, GL.Enums.VERSION_1_5 pname, [Out] Int32* @params) - { - @params = default(Int32*); - { - Delegates.glGetQueryObjectiv((UInt32)id, (GL.Enums.VERSION_1_5)pname, (Int32*)@params); - } - } - - [System.CLSCompliant(false)] - public static - void GetQueryObjectv(UInt32 id, GL.Enums.VERSION_1_5 pname, [In, Out] Int32[] @params) - { - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetQueryObjectiv((UInt32)id, (GL.Enums.VERSION_1_5)pname, (Int32*)@params_ptr); - } - } - } - - public static - void GetQueryObjectv(Int32 id, GL.Enums.VERSION_1_5 pname, [In, Out] Int32[] @params) + void GetQueryObjectv(UInt32 id, GL.Enums.VERSION_1_5 pname, [Out] Int32[] @params) { unsafe { @@ -9666,27 +9674,12 @@ namespace OpenTK.OpenGL public static void GetQueryObjectv(UInt32 id, GL.Enums.VERSION_1_5 pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetQueryObjectiv((UInt32)id, (GL.Enums.VERSION_1_5)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - } - - public static - void GetQueryObjectv(Int32 id, GL.Enums.VERSION_1_5 pname, [Out] out Int32 @params) - { - @params = default(Int32); - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetQueryObjectiv((UInt32)id, (GL.Enums.VERSION_1_5)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -9700,7 +9693,17 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void GetQueryObjectv(UInt32 id, GL.Enums.VERSION_1_5 pname, [In, Out] UInt32[] @params) + unsafe void GetQueryObjectv(Int32 id, GL.Enums.VERSION_1_5 pname, [Out] Int32* @params) + { + unsafe + { + Delegates.glGetQueryObjectuiv((UInt32)id, (GL.Enums.VERSION_1_5)pname, (UInt32*)@params); + } + } + + [System.CLSCompliant(false)] + public static + void GetQueryObjectv(UInt32 id, GL.Enums.VERSION_1_5 pname, [Out] UInt32[] @params) { unsafe { @@ -9711,17 +9714,41 @@ namespace OpenTK.OpenGL } } + public static + void GetQueryObjectv(Int32 id, GL.Enums.VERSION_1_5 pname, [Out] Int32[] @params) + { + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetQueryObjectuiv((UInt32)id, (GL.Enums.VERSION_1_5)pname, (UInt32*)@params_ptr); + } + } + } + [System.CLSCompliant(false)] public static void GetQueryObjectv(UInt32 id, GL.Enums.VERSION_1_5 pname, [Out] out UInt32 @params) { - @params = default(UInt32); unsafe { fixed (UInt32* @params_ptr = &@params) { Delegates.glGetQueryObjectuiv((UInt32)id, (GL.Enums.VERSION_1_5)pname, (UInt32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; + } + } + } + + public static + void GetQueryObjectv(Int32 id, GL.Enums.VERSION_1_5 pname, [Out] out Int32 @params) + { + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetQueryObjectuiv((UInt32)id, (GL.Enums.VERSION_1_5)pname, (UInt32*)@params_ptr); + @params = *@params_ptr; } } } @@ -9750,14 +9777,15 @@ namespace OpenTK.OpenGL public static unsafe void DeleteBuffers(Int32 n, Int32* buffers) { - { - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers); - } + unsafe + { + Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers); + } } [System.CLSCompliant(false)] public static - void DeleteBuffers(Int32 n, [In, Out] UInt32[] buffers) + void DeleteBuffers(Int32 n, UInt32[] buffers) { unsafe { @@ -9769,7 +9797,7 @@ namespace OpenTK.OpenGL } public static - void DeleteBuffers(Int32 n, [In, Out] Int32[] buffers) + void DeleteBuffers(Int32 n, Int32[] buffers) { unsafe { @@ -9816,15 +9844,15 @@ namespace OpenTK.OpenGL public static unsafe void GenBuffers(Int32 n, [Out] Int32* buffers) { - buffers = default(Int32*); - { - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers); - } + unsafe + { + Delegates.glGenBuffers((Int32)n, (UInt32*)buffers); + } } [System.CLSCompliant(false)] public static - void GenBuffers(Int32 n, [In, Out] UInt32[] buffers) + void GenBuffers(Int32 n, [Out] UInt32[] buffers) { unsafe { @@ -9836,7 +9864,7 @@ namespace OpenTK.OpenGL } public static - void GenBuffers(Int32 n, [In, Out] Int32[] buffers) + void GenBuffers(Int32 n, [Out] Int32[] buffers) { unsafe { @@ -9851,13 +9879,12 @@ namespace OpenTK.OpenGL public static void GenBuffers(Int32 n, [Out] out UInt32 buffers) { - buffers = default(UInt32); unsafe { fixed (UInt32* buffers_ptr = &buffers) { Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); - buffers = *buffers_ptr; + buffers = *buffers_ptr; } } } @@ -9865,13 +9892,12 @@ namespace OpenTK.OpenGL public static void GenBuffers(Int32 n, [Out] out Int32 buffers) { - buffers = default(Int32); unsafe { fixed (Int32* buffers_ptr = &buffers) { Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); - buffers = *buffers_ptr; + buffers = *buffers_ptr; } } } @@ -9899,16 +9925,15 @@ namespace OpenTK.OpenGL public static void BufferData(GL.Enums.VERSION_1_5 target, IntPtr size, [In, Out] object data, GL.Enums.VERSION_1_5 usage) { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glBufferData((GL.Enums.VERSION_1_5)target, (IntPtr)size, (void*)data_ptr.AddrOfPinnedObject(), (GL.Enums.VERSION_1_5)usage); } finally { - data_ptr.Free(); } } } @@ -9923,16 +9948,15 @@ namespace OpenTK.OpenGL public static void BufferSubData(GL.Enums.VERSION_1_5 target, IntPtr offset, IntPtr size, [In, Out] object data) { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glBufferSubData((GL.Enums.VERSION_1_5)target, (IntPtr)offset, (IntPtr)size, (void*)data_ptr.AddrOfPinnedObject()); } finally { - data_ptr.Free(); } } } @@ -9947,16 +9971,15 @@ namespace OpenTK.OpenGL public static void GetBufferSubData(GL.Enums.VERSION_1_5 target, IntPtr offset, IntPtr size, [In, Out] object data) { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glGetBufferSubData((GL.Enums.VERSION_1_5)target, (IntPtr)offset, (IntPtr)size, (void*)data_ptr.AddrOfPinnedObject()); } finally { - data_ptr.Free(); } } } @@ -9981,7 +10004,7 @@ namespace OpenTK.OpenGL } public static - void GetBufferParameterv(GL.Enums.VERSION_1_5 target, GL.Enums.VERSION_1_5 pname, [In, Out] Int32[] @params) + void GetBufferParameterv(GL.Enums.VERSION_1_5 target, GL.Enums.VERSION_1_5 pname, [Out] Int32[] @params) { unsafe { @@ -9995,13 +10018,12 @@ namespace OpenTK.OpenGL public static void GetBufferParameterv(GL.Enums.VERSION_1_5 target, GL.Enums.VERSION_1_5 pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetBufferParameteriv((GL.Enums.VERSION_1_5)target, (GL.Enums.VERSION_1_5)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -10016,16 +10038,15 @@ namespace OpenTK.OpenGL public static void GetBufferPointerv(GL.Enums.VERSION_1_5 target, GL.Enums.VERSION_1_5 pname, [In, Out] object @params) { - System.Runtime.InteropServices.GCHandle @params_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@params, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle @params_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@params, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glGetBufferPointerv((GL.Enums.VERSION_1_5)target, (GL.Enums.VERSION_1_5)pname, (void*)@params_ptr.AddrOfPinnedObject()); } finally { - @params_ptr.Free(); } } } @@ -10044,7 +10065,7 @@ namespace OpenTK.OpenGL } public static - void DrawBuffers(Int32 n, [In, Out] GL.Enums.VERSION_2_0[] bufs) + void DrawBuffers(Int32 n, GL.Enums.VERSION_2_0[] bufs) { unsafe { @@ -10226,360 +10247,356 @@ namespace OpenTK.OpenGL public static unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32*); - type = default(GL.Enums.VERSION_2_0*); - name = default(System.Text.StringBuilder); - { - Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (GL.Enums.VERSION_2_0*)type, (System.Text.StringBuilder)name); - } + unsafe + { + Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (GL.Enums.VERSION_2_0*)type, (System.Text.StringBuilder)name); + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [In, Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (GL.Enums.VERSION_2_0* type_ptr = type) { Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [In, Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (GL.Enums.VERSION_2_0* type_ptr = type) { Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32*); - type = default(GL.Enums.VERSION_2_0); - name = default(System.Text.StringBuilder); + unsafe + { fixed (GL.Enums.VERSION_2_0* type_ptr = &type) { Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - type = *type_ptr; + type = *type_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32*); - type = default(GL.Enums.VERSION_2_0); - name = default(System.Text.StringBuilder); + unsafe + { fixed (GL.Enums.VERSION_2_0* type_ptr = &type) { Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - type = *type_ptr; + type = *type_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [In, Out] Int32[] size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32[] size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - type = default(GL.Enums.VERSION_2_0*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = size) { Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [In, Out] Int32[] size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32[] size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - type = default(GL.Enums.VERSION_2_0*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = size) { Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [In, Out] Int32[] size, [In, Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32[] size, [Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = size) fixed (GL.Enums.VERSION_2_0* type_ptr = type) { Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [In, Out] Int32[] size, [In, Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32[] size, [Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = size) fixed (GL.Enums.VERSION_2_0* type_ptr = type) { Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [In, Out] Int32[] size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32[] size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - type = default(GL.Enums.VERSION_2_0); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = size) fixed (GL.Enums.VERSION_2_0* type_ptr = &type) { Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - type = *type_ptr; + type = *type_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [In, Out] Int32[] size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32[] size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - type = default(GL.Enums.VERSION_2_0); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = size) fixed (GL.Enums.VERSION_2_0* type_ptr = &type) { Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - type = *type_ptr; + type = *type_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] out Int32 size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32); - type = default(GL.Enums.VERSION_2_0*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = &size) { Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type, (System.Text.StringBuilder)name); - size = *size_ptr; + size = *size_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] out Int32 size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32); - type = default(GL.Enums.VERSION_2_0*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = &size) { Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type, (System.Text.StringBuilder)name); - size = *size_ptr; + size = *size_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] out Int32 size, [In, Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] out Int32 size, [Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = &size) fixed (GL.Enums.VERSION_2_0* type_ptr = type) { Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - size = *size_ptr; + size = *size_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] out Int32 size, [In, Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] out Int32 size, [Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = &size) fixed (GL.Enums.VERSION_2_0* type_ptr = type) { Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - size = *size_ptr; + size = *size_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] out Int32 size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32); - type = default(GL.Enums.VERSION_2_0); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = &size) fixed (GL.Enums.VERSION_2_0* type_ptr = &type) { Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - size = *size_ptr; - type = *type_ptr; + size = *size_ptr; + type = *type_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] out Int32 size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32); - type = default(GL.Enums.VERSION_2_0); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = &size) fixed (GL.Enums.VERSION_2_0* type_ptr = &type) { Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - size = *size_ptr; - type = *type_ptr; + size = *size_ptr; + type = *type_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [In, Out] Int32[] length, [Out] Int32* size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32* size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) { - size = default(Int32*); - type = default(GL.Enums.VERSION_2_0*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = length) { Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (GL.Enums.VERSION_2_0*)type, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [In, Out] Int32[] length, [Out] Int32* size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32* size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) { - size = default(Int32*); - type = default(GL.Enums.VERSION_2_0*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = length) { Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (GL.Enums.VERSION_2_0*)type, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [In, Out] Int32[] length, [Out] Int32* size, [In, Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32* size, [Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) { - size = default(Int32*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = length) fixed (GL.Enums.VERSION_2_0* type_ptr = type) { Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [In, Out] Int32[] length, [Out] Int32* size, [In, Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32* size, [Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) { - size = default(Int32*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = length) fixed (GL.Enums.VERSION_2_0* type_ptr = type) { Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [In, Out] Int32[] length, [Out] Int32* size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32* size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) { - size = default(Int32*); - type = default(GL.Enums.VERSION_2_0); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = length) fixed (GL.Enums.VERSION_2_0* type_ptr = &type) { Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - type = *type_ptr; + type = *type_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [In, Out] Int32[] length, [Out] Int32* size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32* size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) { - size = default(Int32*); - type = default(GL.Enums.VERSION_2_0); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = length) fixed (GL.Enums.VERSION_2_0* type_ptr = &type) { Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - type = *type_ptr; + type = *type_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [In, Out] Int32[] length, [In, Out] Int32[] size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32[] size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) { - type = default(GL.Enums.VERSION_2_0*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = length) fixed (Int32* size_ptr = size) { Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [In, Out] Int32[] length, [In, Out] Int32[] size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32[] size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) { - type = default(GL.Enums.VERSION_2_0*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = length) fixed (Int32* size_ptr = size) { Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [In, Out] Int32[] length, [In, Out] Int32[] size, [In, Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) + void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32[] size, [Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) { - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = length) @@ -10592,9 +10609,8 @@ namespace OpenTK.OpenGL } public static - void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [In, Out] Int32[] length, [In, Out] Int32[] size, [In, Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) + void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32[] size, [Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) { - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = length) @@ -10608,10 +10624,8 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [In, Out] Int32[] length, [In, Out] Int32[] size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) + void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32[] size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) { - type = default(GL.Enums.VERSION_2_0); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = length) @@ -10619,16 +10633,14 @@ namespace OpenTK.OpenGL fixed (GL.Enums.VERSION_2_0* type_ptr = &type) { Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - type = *type_ptr; + type = *type_ptr; } } } public static - void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [In, Out] Int32[] length, [In, Out] Int32[] size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) + void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32[] size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) { - type = default(GL.Enums.VERSION_2_0); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = length) @@ -10636,47 +10648,45 @@ namespace OpenTK.OpenGL fixed (GL.Enums.VERSION_2_0* type_ptr = &type) { Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - type = *type_ptr; + type = *type_ptr; } } } [System.CLSCompliant(false)] public static - unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [In, Out] Int32[] length, [Out] out Int32 size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] out Int32 size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) { - size = default(Int32); - type = default(GL.Enums.VERSION_2_0*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = length) fixed (Int32* size_ptr = &size) { Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type, (System.Text.StringBuilder)name); - size = *size_ptr; + size = *size_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [In, Out] Int32[] length, [Out] out Int32 size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] out Int32 size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) { - size = default(Int32); - type = default(GL.Enums.VERSION_2_0*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = length) fixed (Int32* size_ptr = &size) { Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type, (System.Text.StringBuilder)name); - size = *size_ptr; + size = *size_ptr; } + } } [System.CLSCompliant(false)] public static - void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [In, Out] Int32[] length, [Out] out Int32 size, [In, Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) + void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] out Int32 size, [Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) { - size = default(Int32); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = length) @@ -10684,16 +10694,14 @@ namespace OpenTK.OpenGL fixed (GL.Enums.VERSION_2_0* type_ptr = type) { Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - size = *size_ptr; + size = *size_ptr; } } } public static - void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [In, Out] Int32[] length, [Out] out Int32 size, [In, Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) + void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] out Int32 size, [Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) { - size = default(Int32); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = length) @@ -10701,18 +10709,15 @@ namespace OpenTK.OpenGL fixed (GL.Enums.VERSION_2_0* type_ptr = type) { Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - size = *size_ptr; + size = *size_ptr; } } } [System.CLSCompliant(false)] public static - void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [In, Out] Int32[] length, [Out] out Int32 size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) + void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] out Int32 size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) { - size = default(Int32); - type = default(GL.Enums.VERSION_2_0); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = length) @@ -10720,18 +10725,15 @@ namespace OpenTK.OpenGL fixed (GL.Enums.VERSION_2_0* type_ptr = &type) { Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - size = *size_ptr; - type = *type_ptr; + size = *size_ptr; + type = *type_ptr; } } } public static - void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [In, Out] Int32[] length, [Out] out Int32 size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) + void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] out Int32 size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) { - size = default(Int32); - type = default(GL.Enums.VERSION_2_0); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = length) @@ -10739,8 +10741,8 @@ namespace OpenTK.OpenGL fixed (GL.Enums.VERSION_2_0* type_ptr = &type) { Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - size = *size_ptr; - type = *type_ptr; + size = *size_ptr; + type = *type_ptr; } } } @@ -10749,132 +10751,126 @@ namespace OpenTK.OpenGL public static unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32* size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32*); - type = default(GL.Enums.VERSION_2_0*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = &length) { Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (GL.Enums.VERSION_2_0*)type, (System.Text.StringBuilder)name); - length = *length_ptr; + length = *length_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32* size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32*); - type = default(GL.Enums.VERSION_2_0*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = &length) { Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (GL.Enums.VERSION_2_0*)type, (System.Text.StringBuilder)name); - length = *length_ptr; + length = *length_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32* size, [In, Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32* size, [Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = &length) fixed (GL.Enums.VERSION_2_0* type_ptr = type) { Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; + length = *length_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32* size, [In, Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32* size, [Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = &length) fixed (GL.Enums.VERSION_2_0* type_ptr = type) { Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; + length = *length_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32* size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32*); - type = default(GL.Enums.VERSION_2_0); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = &length) fixed (GL.Enums.VERSION_2_0* type_ptr = &type) { Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - type = *type_ptr; + length = *length_ptr; + type = *type_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32* size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32*); - type = default(GL.Enums.VERSION_2_0); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = &length) fixed (GL.Enums.VERSION_2_0* type_ptr = &type) { Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - type = *type_ptr; + length = *length_ptr; + type = *type_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [In, Out] Int32[] size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32[] size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - type = default(GL.Enums.VERSION_2_0*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = &length) fixed (Int32* size_ptr = size) { Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type, (System.Text.StringBuilder)name); - length = *length_ptr; + length = *length_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [In, Out] Int32[] size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32[] size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - type = default(GL.Enums.VERSION_2_0*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = &length) fixed (Int32* size_ptr = size) { Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type, (System.Text.StringBuilder)name); - length = *length_ptr; + length = *length_ptr; } + } } [System.CLSCompliant(false)] public static - void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [In, Out] Int32[] size, [In, Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) + void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32[] size, [Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = &length) @@ -10882,16 +10878,14 @@ namespace OpenTK.OpenGL fixed (GL.Enums.VERSION_2_0* type_ptr = type) { Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; + length = *length_ptr; } } } public static - void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [In, Out] Int32[] size, [In, Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) + void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32[] size, [Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = &length) @@ -10899,18 +10893,15 @@ namespace OpenTK.OpenGL fixed (GL.Enums.VERSION_2_0* type_ptr = type) { Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; + length = *length_ptr; } } } [System.CLSCompliant(false)] public static - void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [In, Out] Int32[] size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) + void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32[] size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - type = default(GL.Enums.VERSION_2_0); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = &length) @@ -10918,18 +10909,15 @@ namespace OpenTK.OpenGL fixed (GL.Enums.VERSION_2_0* type_ptr = &type) { Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - type = *type_ptr; + length = *length_ptr; + type = *type_ptr; } } } public static - void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [In, Out] Int32[] size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) + void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32[] size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - type = default(GL.Enums.VERSION_2_0); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = &length) @@ -10937,8 +10925,8 @@ namespace OpenTK.OpenGL fixed (GL.Enums.VERSION_2_0* type_ptr = &type) { Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - type = *type_ptr; + length = *length_ptr; + type = *type_ptr; } } } @@ -10947,43 +10935,38 @@ namespace OpenTK.OpenGL public static unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32); - type = default(GL.Enums.VERSION_2_0*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = &length) fixed (Int32* size_ptr = &size) { Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; + length = *length_ptr; + size = *size_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32); - type = default(GL.Enums.VERSION_2_0*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = &length) fixed (Int32* size_ptr = &size) { Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; + length = *length_ptr; + size = *size_ptr; } + } } [System.CLSCompliant(false)] public static - void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [In, Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) + void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = &length) @@ -10991,18 +10974,15 @@ namespace OpenTK.OpenGL fixed (GL.Enums.VERSION_2_0* type_ptr = type) { Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; + length = *length_ptr; + size = *size_ptr; } } } public static - void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [In, Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) + void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = &length) @@ -11010,8 +10990,8 @@ namespace OpenTK.OpenGL fixed (GL.Enums.VERSION_2_0* type_ptr = type) { Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; + length = *length_ptr; + size = *size_ptr; } } } @@ -11020,10 +11000,6 @@ namespace OpenTK.OpenGL public static void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32); - type = default(GL.Enums.VERSION_2_0); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = &length) @@ -11031,9 +11007,9 @@ namespace OpenTK.OpenGL fixed (GL.Enums.VERSION_2_0* type_ptr = &type) { Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; } } } @@ -11041,10 +11017,6 @@ namespace OpenTK.OpenGL public static void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32); - type = default(GL.Enums.VERSION_2_0); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = &length) @@ -11052,9 +11024,9 @@ namespace OpenTK.OpenGL fixed (GL.Enums.VERSION_2_0* type_ptr = &type) { Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; } } } @@ -11070,360 +11042,356 @@ namespace OpenTK.OpenGL public static unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32*); - type = default(GL.Enums.VERSION_2_0*); - name = default(System.Text.StringBuilder); - { - Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (GL.Enums.VERSION_2_0*)type, (System.Text.StringBuilder)name); - } + unsafe + { + Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (GL.Enums.VERSION_2_0*)type, (System.Text.StringBuilder)name); + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [In, Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (GL.Enums.VERSION_2_0* type_ptr = type) { Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [In, Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (GL.Enums.VERSION_2_0* type_ptr = type) { Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32*); - type = default(GL.Enums.VERSION_2_0); - name = default(System.Text.StringBuilder); + unsafe + { fixed (GL.Enums.VERSION_2_0* type_ptr = &type) { Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - type = *type_ptr; + type = *type_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32*); - type = default(GL.Enums.VERSION_2_0); - name = default(System.Text.StringBuilder); + unsafe + { fixed (GL.Enums.VERSION_2_0* type_ptr = &type) { Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - type = *type_ptr; + type = *type_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [In, Out] Int32[] size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32[] size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - type = default(GL.Enums.VERSION_2_0*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = size) { Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [In, Out] Int32[] size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32[] size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - type = default(GL.Enums.VERSION_2_0*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = size) { Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [In, Out] Int32[] size, [In, Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32[] size, [Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = size) fixed (GL.Enums.VERSION_2_0* type_ptr = type) { Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [In, Out] Int32[] size, [In, Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32[] size, [Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = size) fixed (GL.Enums.VERSION_2_0* type_ptr = type) { Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [In, Out] Int32[] size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32[] size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - type = default(GL.Enums.VERSION_2_0); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = size) fixed (GL.Enums.VERSION_2_0* type_ptr = &type) { Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - type = *type_ptr; + type = *type_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [In, Out] Int32[] size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32[] size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - type = default(GL.Enums.VERSION_2_0); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = size) fixed (GL.Enums.VERSION_2_0* type_ptr = &type) { Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - type = *type_ptr; + type = *type_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] out Int32 size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32); - type = default(GL.Enums.VERSION_2_0*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = &size) { Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type, (System.Text.StringBuilder)name); - size = *size_ptr; + size = *size_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] out Int32 size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32); - type = default(GL.Enums.VERSION_2_0*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = &size) { Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type, (System.Text.StringBuilder)name); - size = *size_ptr; + size = *size_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] out Int32 size, [In, Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] out Int32 size, [Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = &size) fixed (GL.Enums.VERSION_2_0* type_ptr = type) { Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - size = *size_ptr; + size = *size_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] out Int32 size, [In, Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] out Int32 size, [Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = &size) fixed (GL.Enums.VERSION_2_0* type_ptr = type) { Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - size = *size_ptr; + size = *size_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] out Int32 size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32); - type = default(GL.Enums.VERSION_2_0); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = &size) fixed (GL.Enums.VERSION_2_0* type_ptr = &type) { Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - size = *size_ptr; - type = *type_ptr; + size = *size_ptr; + type = *type_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] out Int32 size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32); - type = default(GL.Enums.VERSION_2_0); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = &size) fixed (GL.Enums.VERSION_2_0* type_ptr = &type) { Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - size = *size_ptr; - type = *type_ptr; + size = *size_ptr; + type = *type_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [In, Out] Int32[] length, [Out] Int32* size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32* size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) { - size = default(Int32*); - type = default(GL.Enums.VERSION_2_0*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = length) { Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (GL.Enums.VERSION_2_0*)type, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [In, Out] Int32[] length, [Out] Int32* size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32* size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) { - size = default(Int32*); - type = default(GL.Enums.VERSION_2_0*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = length) { Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (GL.Enums.VERSION_2_0*)type, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [In, Out] Int32[] length, [Out] Int32* size, [In, Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32* size, [Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) { - size = default(Int32*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = length) fixed (GL.Enums.VERSION_2_0* type_ptr = type) { Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [In, Out] Int32[] length, [Out] Int32* size, [In, Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32* size, [Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) { - size = default(Int32*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = length) fixed (GL.Enums.VERSION_2_0* type_ptr = type) { Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [In, Out] Int32[] length, [Out] Int32* size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32* size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) { - size = default(Int32*); - type = default(GL.Enums.VERSION_2_0); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = length) fixed (GL.Enums.VERSION_2_0* type_ptr = &type) { Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - type = *type_ptr; + type = *type_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [In, Out] Int32[] length, [Out] Int32* size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32* size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) { - size = default(Int32*); - type = default(GL.Enums.VERSION_2_0); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = length) fixed (GL.Enums.VERSION_2_0* type_ptr = &type) { Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - type = *type_ptr; + type = *type_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [In, Out] Int32[] length, [In, Out] Int32[] size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32[] size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) { - type = default(GL.Enums.VERSION_2_0*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = length) fixed (Int32* size_ptr = size) { Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [In, Out] Int32[] length, [In, Out] Int32[] size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32[] size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) { - type = default(GL.Enums.VERSION_2_0*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = length) fixed (Int32* size_ptr = size) { Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [In, Out] Int32[] length, [In, Out] Int32[] size, [In, Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) + void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32[] size, [Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) { - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = length) @@ -11436,9 +11404,8 @@ namespace OpenTK.OpenGL } public static - void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [In, Out] Int32[] length, [In, Out] Int32[] size, [In, Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) + void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32[] size, [Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) { - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = length) @@ -11452,10 +11419,8 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [In, Out] Int32[] length, [In, Out] Int32[] size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) + void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32[] size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) { - type = default(GL.Enums.VERSION_2_0); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = length) @@ -11463,16 +11428,14 @@ namespace OpenTK.OpenGL fixed (GL.Enums.VERSION_2_0* type_ptr = &type) { Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - type = *type_ptr; + type = *type_ptr; } } } public static - void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [In, Out] Int32[] length, [In, Out] Int32[] size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) + void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32[] size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) { - type = default(GL.Enums.VERSION_2_0); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = length) @@ -11480,47 +11443,45 @@ namespace OpenTK.OpenGL fixed (GL.Enums.VERSION_2_0* type_ptr = &type) { Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - type = *type_ptr; + type = *type_ptr; } } } [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [In, Out] Int32[] length, [Out] out Int32 size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] out Int32 size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) { - size = default(Int32); - type = default(GL.Enums.VERSION_2_0*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = length) fixed (Int32* size_ptr = &size) { Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type, (System.Text.StringBuilder)name); - size = *size_ptr; + size = *size_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [In, Out] Int32[] length, [Out] out Int32 size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] out Int32 size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) { - size = default(Int32); - type = default(GL.Enums.VERSION_2_0*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = length) fixed (Int32* size_ptr = &size) { Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type, (System.Text.StringBuilder)name); - size = *size_ptr; + size = *size_ptr; } + } } [System.CLSCompliant(false)] public static - void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [In, Out] Int32[] length, [Out] out Int32 size, [In, Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) + void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] out Int32 size, [Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) { - size = default(Int32); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = length) @@ -11528,16 +11489,14 @@ namespace OpenTK.OpenGL fixed (GL.Enums.VERSION_2_0* type_ptr = type) { Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - size = *size_ptr; + size = *size_ptr; } } } public static - void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [In, Out] Int32[] length, [Out] out Int32 size, [In, Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) + void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] out Int32 size, [Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) { - size = default(Int32); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = length) @@ -11545,18 +11504,15 @@ namespace OpenTK.OpenGL fixed (GL.Enums.VERSION_2_0* type_ptr = type) { Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - size = *size_ptr; + size = *size_ptr; } } } [System.CLSCompliant(false)] public static - void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [In, Out] Int32[] length, [Out] out Int32 size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) + void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] out Int32 size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) { - size = default(Int32); - type = default(GL.Enums.VERSION_2_0); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = length) @@ -11564,18 +11520,15 @@ namespace OpenTK.OpenGL fixed (GL.Enums.VERSION_2_0* type_ptr = &type) { Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - size = *size_ptr; - type = *type_ptr; + size = *size_ptr; + type = *type_ptr; } } } public static - void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [In, Out] Int32[] length, [Out] out Int32 size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) + void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] out Int32 size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) { - size = default(Int32); - type = default(GL.Enums.VERSION_2_0); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = length) @@ -11583,8 +11536,8 @@ namespace OpenTK.OpenGL fixed (GL.Enums.VERSION_2_0* type_ptr = &type) { Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - size = *size_ptr; - type = *type_ptr; + size = *size_ptr; + type = *type_ptr; } } } @@ -11593,132 +11546,126 @@ namespace OpenTK.OpenGL public static unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32* size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32*); - type = default(GL.Enums.VERSION_2_0*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = &length) { Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (GL.Enums.VERSION_2_0*)type, (System.Text.StringBuilder)name); - length = *length_ptr; + length = *length_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32* size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32*); - type = default(GL.Enums.VERSION_2_0*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = &length) { Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (GL.Enums.VERSION_2_0*)type, (System.Text.StringBuilder)name); - length = *length_ptr; + length = *length_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32* size, [In, Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32* size, [Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = &length) fixed (GL.Enums.VERSION_2_0* type_ptr = type) { Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; + length = *length_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32* size, [In, Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32* size, [Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = &length) fixed (GL.Enums.VERSION_2_0* type_ptr = type) { Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; + length = *length_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32* size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32*); - type = default(GL.Enums.VERSION_2_0); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = &length) fixed (GL.Enums.VERSION_2_0* type_ptr = &type) { Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - type = *type_ptr; + length = *length_ptr; + type = *type_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32* size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32*); - type = default(GL.Enums.VERSION_2_0); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = &length) fixed (GL.Enums.VERSION_2_0* type_ptr = &type) { Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - type = *type_ptr; + length = *length_ptr; + type = *type_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [In, Out] Int32[] size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32[] size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - type = default(GL.Enums.VERSION_2_0*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = &length) fixed (Int32* size_ptr = size) { Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type, (System.Text.StringBuilder)name); - length = *length_ptr; + length = *length_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [In, Out] Int32[] size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32[] size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - type = default(GL.Enums.VERSION_2_0*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = &length) fixed (Int32* size_ptr = size) { Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type, (System.Text.StringBuilder)name); - length = *length_ptr; + length = *length_ptr; } + } } [System.CLSCompliant(false)] public static - void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [In, Out] Int32[] size, [In, Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) + void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32[] size, [Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = &length) @@ -11726,16 +11673,14 @@ namespace OpenTK.OpenGL fixed (GL.Enums.VERSION_2_0* type_ptr = type) { Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; + length = *length_ptr; } } } public static - void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [In, Out] Int32[] size, [In, Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) + void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32[] size, [Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = &length) @@ -11743,18 +11688,15 @@ namespace OpenTK.OpenGL fixed (GL.Enums.VERSION_2_0* type_ptr = type) { Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; + length = *length_ptr; } } } [System.CLSCompliant(false)] public static - void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [In, Out] Int32[] size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) + void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32[] size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - type = default(GL.Enums.VERSION_2_0); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = &length) @@ -11762,18 +11704,15 @@ namespace OpenTK.OpenGL fixed (GL.Enums.VERSION_2_0* type_ptr = &type) { Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - type = *type_ptr; + length = *length_ptr; + type = *type_ptr; } } } public static - void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [In, Out] Int32[] size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) + void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32[] size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - type = default(GL.Enums.VERSION_2_0); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = &length) @@ -11781,8 +11720,8 @@ namespace OpenTK.OpenGL fixed (GL.Enums.VERSION_2_0* type_ptr = &type) { Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - type = *type_ptr; + length = *length_ptr; + type = *type_ptr; } } } @@ -11791,43 +11730,38 @@ namespace OpenTK.OpenGL public static unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32); - type = default(GL.Enums.VERSION_2_0*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = &length) fixed (Int32* size_ptr = &size) { Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; + length = *length_ptr; + size = *size_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32); - type = default(GL.Enums.VERSION_2_0*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = &length) fixed (Int32* size_ptr = &size) { Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; + length = *length_ptr; + size = *size_ptr; } + } } [System.CLSCompliant(false)] public static - void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [In, Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) + void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = &length) @@ -11835,18 +11769,15 @@ namespace OpenTK.OpenGL fixed (GL.Enums.VERSION_2_0* type_ptr = type) { Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; + length = *length_ptr; + size = *size_ptr; } } } public static - void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [In, Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) + void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = &length) @@ -11854,8 +11785,8 @@ namespace OpenTK.OpenGL fixed (GL.Enums.VERSION_2_0* type_ptr = type) { Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; + length = *length_ptr; + size = *size_ptr; } } } @@ -11864,10 +11795,6 @@ namespace OpenTK.OpenGL public static void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32); - type = default(GL.Enums.VERSION_2_0); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = &length) @@ -11875,9 +11802,9 @@ namespace OpenTK.OpenGL fixed (GL.Enums.VERSION_2_0* type_ptr = &type) { Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; } } } @@ -11885,10 +11812,6 @@ namespace OpenTK.OpenGL public static void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32); - type = default(GL.Enums.VERSION_2_0); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = &length) @@ -11896,9 +11819,9 @@ namespace OpenTK.OpenGL fixed (GL.Enums.VERSION_2_0* type_ptr = &type) { Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; } } } @@ -11914,86 +11837,95 @@ namespace OpenTK.OpenGL public static unsafe void GetAttachedShaders(Int32 program, Int32 maxCount, [Out] Int32* count, [Out] Int32* obj) { - count = default(Int32*); - obj = default(Int32*); - { - Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)obj); - } + unsafe + { + Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)obj); + } } [System.CLSCompliant(false)] public static - unsafe void GetAttachedShaders(UInt32 program, Int32 maxCount, [Out] Int32* count, [In, Out] UInt32[] obj) + unsafe void GetAttachedShaders(UInt32 program, Int32 maxCount, [Out] Int32* count, [Out] UInt32[] obj) { - count = default(Int32*); + unsafe + { fixed (UInt32* obj_ptr = obj) { Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)obj_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void GetAttachedShaders(Int32 program, Int32 maxCount, [Out] Int32* count, [In, Out] Int32[] obj) + unsafe void GetAttachedShaders(Int32 program, Int32 maxCount, [Out] Int32* count, [Out] Int32[] obj) { - count = default(Int32*); + unsafe + { fixed (Int32* obj_ptr = obj) { Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)obj_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void GetAttachedShaders(UInt32 program, Int32 maxCount, [Out] Int32* count, [Out] out UInt32 obj) { - count = default(Int32*); - obj = default(UInt32); + unsafe + { fixed (UInt32* obj_ptr = &obj) { Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)obj_ptr); - obj = *obj_ptr; + obj = *obj_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetAttachedShaders(Int32 program, Int32 maxCount, [Out] Int32* count, [Out] out Int32 obj) { - count = default(Int32*); - obj = default(Int32); + unsafe + { fixed (Int32* obj_ptr = &obj) { Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)obj_ptr); - obj = *obj_ptr; + obj = *obj_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetAttachedShaders(UInt32 program, Int32 maxCount, [In, Out] Int32[] count, [Out] UInt32* obj) + unsafe void GetAttachedShaders(UInt32 program, Int32 maxCount, [Out] Int32[] count, [Out] UInt32* obj) { - obj = default(UInt32*); + unsafe + { fixed (Int32* count_ptr = count) { Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj); } + } } [System.CLSCompliant(false)] public static - unsafe void GetAttachedShaders(Int32 program, Int32 maxCount, [In, Out] Int32[] count, [Out] Int32* obj) + unsafe void GetAttachedShaders(Int32 program, Int32 maxCount, [Out] Int32[] count, [Out] Int32* obj) { - obj = default(Int32*); + unsafe + { fixed (Int32* count_ptr = count) { Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj); } + } } [System.CLSCompliant(false)] public static - void GetAttachedShaders(UInt32 program, Int32 maxCount, [In, Out] Int32[] count, [In, Out] UInt32[] obj) + void GetAttachedShaders(UInt32 program, Int32 maxCount, [Out] Int32[] count, [Out] UInt32[] obj) { unsafe { @@ -12006,7 +11938,7 @@ namespace OpenTK.OpenGL } public static - void GetAttachedShaders(Int32 program, Int32 maxCount, [In, Out] Int32[] count, [In, Out] Int32[] obj) + void GetAttachedShaders(Int32 program, Int32 maxCount, [Out] Int32[] count, [Out] Int32[] obj) { unsafe { @@ -12020,31 +11952,29 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void GetAttachedShaders(UInt32 program, Int32 maxCount, [In, Out] Int32[] count, [Out] out UInt32 obj) + void GetAttachedShaders(UInt32 program, Int32 maxCount, [Out] Int32[] count, [Out] out UInt32 obj) { - obj = default(UInt32); unsafe { fixed (Int32* count_ptr = count) fixed (UInt32* obj_ptr = &obj) { Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr); - obj = *obj_ptr; + obj = *obj_ptr; } } } public static - void GetAttachedShaders(Int32 program, Int32 maxCount, [In, Out] Int32[] count, [Out] out Int32 obj) + void GetAttachedShaders(Int32 program, Int32 maxCount, [Out] Int32[] count, [Out] out Int32 obj) { - obj = default(Int32); unsafe { fixed (Int32* count_ptr = count) fixed (Int32* obj_ptr = &obj) { Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr); - obj = *obj_ptr; + obj = *obj_ptr; } } } @@ -12053,55 +11983,55 @@ namespace OpenTK.OpenGL public static unsafe void GetAttachedShaders(UInt32 program, Int32 maxCount, [Out] out Int32 count, [Out] UInt32* obj) { - count = default(Int32); - obj = default(UInt32*); + unsafe + { fixed (Int32* count_ptr = &count) { Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj); - count = *count_ptr; + count = *count_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetAttachedShaders(Int32 program, Int32 maxCount, [Out] out Int32 count, [Out] Int32* obj) { - count = default(Int32); - obj = default(Int32*); + unsafe + { fixed (Int32* count_ptr = &count) { Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj); - count = *count_ptr; + count = *count_ptr; } + } } [System.CLSCompliant(false)] public static - void GetAttachedShaders(UInt32 program, Int32 maxCount, [Out] out Int32 count, [In, Out] UInt32[] obj) + void GetAttachedShaders(UInt32 program, Int32 maxCount, [Out] out Int32 count, [Out] UInt32[] obj) { - count = default(Int32); unsafe { fixed (Int32* count_ptr = &count) fixed (UInt32* obj_ptr = obj) { Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr); - count = *count_ptr; + count = *count_ptr; } } } public static - void GetAttachedShaders(Int32 program, Int32 maxCount, [Out] out Int32 count, [In, Out] Int32[] obj) + void GetAttachedShaders(Int32 program, Int32 maxCount, [Out] out Int32 count, [Out] Int32[] obj) { - count = default(Int32); unsafe { fixed (Int32* count_ptr = &count) fixed (Int32* obj_ptr = obj) { Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr); - count = *count_ptr; + count = *count_ptr; } } } @@ -12110,16 +12040,14 @@ namespace OpenTK.OpenGL public static void GetAttachedShaders(UInt32 program, Int32 maxCount, [Out] out Int32 count, [Out] out UInt32 obj) { - count = default(Int32); - obj = default(UInt32); unsafe { fixed (Int32* count_ptr = &count) fixed (UInt32* obj_ptr = &obj) { Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr); - count = *count_ptr; - obj = *obj_ptr; + count = *count_ptr; + obj = *obj_ptr; } } } @@ -12127,16 +12055,14 @@ namespace OpenTK.OpenGL public static void GetAttachedShaders(Int32 program, Int32 maxCount, [Out] out Int32 count, [Out] out Int32 obj) { - count = default(Int32); - obj = default(Int32); unsafe { fixed (Int32* count_ptr = &count) fixed (Int32* obj_ptr = &obj) { Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr); - count = *count_ptr; - obj = *obj_ptr; + count = *count_ptr; + obj = *obj_ptr; } } } @@ -12165,15 +12091,15 @@ namespace OpenTK.OpenGL public static unsafe void GetProgramv(Int32 program, GL.Enums.VERSION_2_0 pname, [Out] Int32* @params) { - @params = default(Int32*); - { - Delegates.glGetProgramiv((UInt32)program, (GL.Enums.VERSION_2_0)pname, (Int32*)@params); - } + unsafe + { + Delegates.glGetProgramiv((UInt32)program, (GL.Enums.VERSION_2_0)pname, (Int32*)@params); + } } [System.CLSCompliant(false)] public static - void GetProgramv(UInt32 program, GL.Enums.VERSION_2_0 pname, [In, Out] Int32[] @params) + void GetProgramv(UInt32 program, GL.Enums.VERSION_2_0 pname, [Out] Int32[] @params) { unsafe { @@ -12185,7 +12111,7 @@ namespace OpenTK.OpenGL } public static - void GetProgramv(Int32 program, GL.Enums.VERSION_2_0 pname, [In, Out] Int32[] @params) + void GetProgramv(Int32 program, GL.Enums.VERSION_2_0 pname, [Out] Int32[] @params) { unsafe { @@ -12200,13 +12126,12 @@ namespace OpenTK.OpenGL public static void GetProgramv(UInt32 program, GL.Enums.VERSION_2_0 pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetProgramiv((UInt32)program, (GL.Enums.VERSION_2_0)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -12214,13 +12139,12 @@ namespace OpenTK.OpenGL public static void GetProgramv(Int32 program, GL.Enums.VERSION_2_0 pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetProgramiv((UInt32)program, (GL.Enums.VERSION_2_0)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -12236,18 +12160,16 @@ namespace OpenTK.OpenGL public static unsafe void GetProgramInfoLog(Int32 program, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog) { - length = default(Int32*); - infoLog = default(System.Text.StringBuilder); - { - Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)infoLog); - } + unsafe + { + Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)infoLog); + } } [System.CLSCompliant(false)] public static - void GetProgramInfoLog(UInt32 program, Int32 bufSize, [In, Out] Int32[] length, [Out] System.Text.StringBuilder infoLog) + void GetProgramInfoLog(UInt32 program, Int32 bufSize, [Out] Int32[] length, [Out] System.Text.StringBuilder infoLog) { - infoLog = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = length) @@ -12258,9 +12180,8 @@ namespace OpenTK.OpenGL } public static - void GetProgramInfoLog(Int32 program, Int32 bufSize, [In, Out] Int32[] length, [Out] System.Text.StringBuilder infoLog) + void GetProgramInfoLog(Int32 program, Int32 bufSize, [Out] Int32[] length, [Out] System.Text.StringBuilder infoLog) { - infoLog = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = length) @@ -12274,14 +12195,12 @@ namespace OpenTK.OpenGL public static void GetProgramInfoLog(UInt32 program, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder infoLog) { - length = default(Int32); - infoLog = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = &length) { Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog); - length = *length_ptr; + length = *length_ptr; } } } @@ -12289,14 +12208,12 @@ namespace OpenTK.OpenGL public static void GetProgramInfoLog(Int32 program, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder infoLog) { - length = default(Int32); - infoLog = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = &length) { Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog); - length = *length_ptr; + length = *length_ptr; } } } @@ -12312,15 +12229,15 @@ namespace OpenTK.OpenGL public static unsafe void GetShaderv(Int32 shader, GL.Enums.VERSION_2_0 pname, [Out] Int32* @params) { - @params = default(Int32*); - { - Delegates.glGetShaderiv((UInt32)shader, (GL.Enums.VERSION_2_0)pname, (Int32*)@params); - } + unsafe + { + Delegates.glGetShaderiv((UInt32)shader, (GL.Enums.VERSION_2_0)pname, (Int32*)@params); + } } [System.CLSCompliant(false)] public static - void GetShaderv(UInt32 shader, GL.Enums.VERSION_2_0 pname, [In, Out] Int32[] @params) + void GetShaderv(UInt32 shader, GL.Enums.VERSION_2_0 pname, [Out] Int32[] @params) { unsafe { @@ -12332,7 +12249,7 @@ namespace OpenTK.OpenGL } public static - void GetShaderv(Int32 shader, GL.Enums.VERSION_2_0 pname, [In, Out] Int32[] @params) + void GetShaderv(Int32 shader, GL.Enums.VERSION_2_0 pname, [Out] Int32[] @params) { unsafe { @@ -12347,13 +12264,12 @@ namespace OpenTK.OpenGL public static void GetShaderv(UInt32 shader, GL.Enums.VERSION_2_0 pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetShaderiv((UInt32)shader, (GL.Enums.VERSION_2_0)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -12361,13 +12277,12 @@ namespace OpenTK.OpenGL public static void GetShaderv(Int32 shader, GL.Enums.VERSION_2_0 pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetShaderiv((UInt32)shader, (GL.Enums.VERSION_2_0)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -12383,18 +12298,16 @@ namespace OpenTK.OpenGL public static unsafe void GetShaderInfoLog(Int32 shader, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog) { - length = default(Int32*); - infoLog = default(System.Text.StringBuilder); - { - Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)infoLog); - } + unsafe + { + Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)infoLog); + } } [System.CLSCompliant(false)] public static - void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [In, Out] Int32[] length, [Out] System.Text.StringBuilder infoLog) + void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [Out] Int32[] length, [Out] System.Text.StringBuilder infoLog) { - infoLog = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = length) @@ -12405,9 +12318,8 @@ namespace OpenTK.OpenGL } public static - void GetShaderInfoLog(Int32 shader, Int32 bufSize, [In, Out] Int32[] length, [Out] System.Text.StringBuilder infoLog) + void GetShaderInfoLog(Int32 shader, Int32 bufSize, [Out] Int32[] length, [Out] System.Text.StringBuilder infoLog) { - infoLog = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = length) @@ -12421,14 +12333,12 @@ namespace OpenTK.OpenGL public static void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder infoLog) { - length = default(Int32); - infoLog = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = &length) { Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog); - length = *length_ptr; + length = *length_ptr; } } } @@ -12436,14 +12346,12 @@ namespace OpenTK.OpenGL public static void GetShaderInfoLog(Int32 shader, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder infoLog) { - length = default(Int32); - infoLog = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = &length) { Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog); - length = *length_ptr; + length = *length_ptr; } } } @@ -12459,18 +12367,16 @@ namespace OpenTK.OpenGL public static unsafe void GetShaderSource(Int32 shader, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder[] source) { - length = default(Int32*); - source = default(System.Text.StringBuilder[]); - { - Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder[])source); - } + unsafe + { + Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder[])source); + } } [System.CLSCompliant(false)] public static - void GetShaderSource(UInt32 shader, Int32 bufSize, [In, Out] Int32[] length, [Out] System.Text.StringBuilder[] source) + void GetShaderSource(UInt32 shader, Int32 bufSize, [Out] Int32[] length, [Out] System.Text.StringBuilder[] source) { - source = default(System.Text.StringBuilder[]); unsafe { fixed (Int32* length_ptr = length) @@ -12481,9 +12387,8 @@ namespace OpenTK.OpenGL } public static - void GetShaderSource(Int32 shader, Int32 bufSize, [In, Out] Int32[] length, [Out] System.Text.StringBuilder[] source) + void GetShaderSource(Int32 shader, Int32 bufSize, [Out] Int32[] length, [Out] System.Text.StringBuilder[] source) { - source = default(System.Text.StringBuilder[]); unsafe { fixed (Int32* length_ptr = length) @@ -12497,14 +12402,12 @@ namespace OpenTK.OpenGL public static void GetShaderSource(UInt32 shader, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder[] source) { - length = default(Int32); - source = default(System.Text.StringBuilder[]); unsafe { fixed (Int32* length_ptr = &length) { Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder[])source); - length = *length_ptr; + length = *length_ptr; } } } @@ -12512,14 +12415,12 @@ namespace OpenTK.OpenGL public static void GetShaderSource(Int32 shader, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder[] source) { - length = default(Int32); - source = default(System.Text.StringBuilder[]); unsafe { fixed (Int32* length_ptr = &length) { Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder[])source); - length = *length_ptr; + length = *length_ptr; } } } @@ -12548,15 +12449,15 @@ namespace OpenTK.OpenGL public static unsafe void GetUniformv(Int32 program, Int32 location, [Out] Single* @params) { - @params = default(Single*); - { - Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params); - } + unsafe + { + Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params); + } } [System.CLSCompliant(false)] public static - void GetUniformv(UInt32 program, Int32 location, [In, Out] Single[] @params) + void GetUniformv(UInt32 program, Int32 location, [Out] Single[] @params) { unsafe { @@ -12568,7 +12469,7 @@ namespace OpenTK.OpenGL } public static - void GetUniformv(Int32 program, Int32 location, [In, Out] Single[] @params) + void GetUniformv(Int32 program, Int32 location, [Out] Single[] @params) { unsafe { @@ -12583,13 +12484,12 @@ namespace OpenTK.OpenGL public static void GetUniformv(UInt32 program, Int32 location, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -12597,13 +12497,12 @@ namespace OpenTK.OpenGL public static void GetUniformv(Int32 program, Int32 location, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -12619,15 +12518,15 @@ namespace OpenTK.OpenGL public static unsafe void GetUniformv(Int32 program, Int32 location, [Out] Int32* @params) { - @params = default(Int32*); - { - Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params); - } + unsafe + { + Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params); + } } [System.CLSCompliant(false)] public static - void GetUniformv(UInt32 program, Int32 location, [In, Out] Int32[] @params) + void GetUniformv(UInt32 program, Int32 location, [Out] Int32[] @params) { unsafe { @@ -12639,7 +12538,7 @@ namespace OpenTK.OpenGL } public static - void GetUniformv(Int32 program, Int32 location, [In, Out] Int32[] @params) + void GetUniformv(Int32 program, Int32 location, [Out] Int32[] @params) { unsafe { @@ -12654,13 +12553,12 @@ namespace OpenTK.OpenGL public static void GetUniformv(UInt32 program, Int32 location, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -12668,13 +12566,12 @@ namespace OpenTK.OpenGL public static void GetUniformv(Int32 program, Int32 location, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -12690,15 +12587,15 @@ namespace OpenTK.OpenGL public static unsafe void GetVertexAttribv(Int32 index, GL.Enums.VERSION_2_0 pname, [Out] Double* @params) { - @params = default(Double*); - { - Delegates.glGetVertexAttribdv((UInt32)index, (GL.Enums.VERSION_2_0)pname, (Double*)@params); - } + unsafe + { + Delegates.glGetVertexAttribdv((UInt32)index, (GL.Enums.VERSION_2_0)pname, (Double*)@params); + } } [System.CLSCompliant(false)] public static - void GetVertexAttribv(UInt32 index, GL.Enums.VERSION_2_0 pname, [In, Out] Double[] @params) + void GetVertexAttribv(UInt32 index, GL.Enums.VERSION_2_0 pname, [Out] Double[] @params) { unsafe { @@ -12710,7 +12607,7 @@ namespace OpenTK.OpenGL } public static - void GetVertexAttribv(Int32 index, GL.Enums.VERSION_2_0 pname, [In, Out] Double[] @params) + void GetVertexAttribv(Int32 index, GL.Enums.VERSION_2_0 pname, [Out] Double[] @params) { unsafe { @@ -12725,13 +12622,12 @@ namespace OpenTK.OpenGL public static void GetVertexAttribv(UInt32 index, GL.Enums.VERSION_2_0 pname, [Out] out Double @params) { - @params = default(Double); unsafe { fixed (Double* @params_ptr = &@params) { Delegates.glGetVertexAttribdv((UInt32)index, (GL.Enums.VERSION_2_0)pname, (Double*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -12739,13 +12635,12 @@ namespace OpenTK.OpenGL public static void GetVertexAttribv(Int32 index, GL.Enums.VERSION_2_0 pname, [Out] out Double @params) { - @params = default(Double); unsafe { fixed (Double* @params_ptr = &@params) { Delegates.glGetVertexAttribdv((UInt32)index, (GL.Enums.VERSION_2_0)pname, (Double*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -12761,15 +12656,15 @@ namespace OpenTK.OpenGL public static unsafe void GetVertexAttribv(Int32 index, GL.Enums.VERSION_2_0 pname, [Out] Single* @params) { - @params = default(Single*); - { - Delegates.glGetVertexAttribfv((UInt32)index, (GL.Enums.VERSION_2_0)pname, (Single*)@params); - } + unsafe + { + Delegates.glGetVertexAttribfv((UInt32)index, (GL.Enums.VERSION_2_0)pname, (Single*)@params); + } } [System.CLSCompliant(false)] public static - void GetVertexAttribv(UInt32 index, GL.Enums.VERSION_2_0 pname, [In, Out] Single[] @params) + void GetVertexAttribv(UInt32 index, GL.Enums.VERSION_2_0 pname, [Out] Single[] @params) { unsafe { @@ -12781,7 +12676,7 @@ namespace OpenTK.OpenGL } public static - void GetVertexAttribv(Int32 index, GL.Enums.VERSION_2_0 pname, [In, Out] Single[] @params) + void GetVertexAttribv(Int32 index, GL.Enums.VERSION_2_0 pname, [Out] Single[] @params) { unsafe { @@ -12796,13 +12691,12 @@ namespace OpenTK.OpenGL public static void GetVertexAttribv(UInt32 index, GL.Enums.VERSION_2_0 pname, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetVertexAttribfv((UInt32)index, (GL.Enums.VERSION_2_0)pname, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -12810,13 +12704,12 @@ namespace OpenTK.OpenGL public static void GetVertexAttribv(Int32 index, GL.Enums.VERSION_2_0 pname, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetVertexAttribfv((UInt32)index, (GL.Enums.VERSION_2_0)pname, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -12832,15 +12725,15 @@ namespace OpenTK.OpenGL public static unsafe void GetVertexAttribv(Int32 index, GL.Enums.VERSION_2_0 pname, [Out] Int32* @params) { - @params = default(Int32*); - { - Delegates.glGetVertexAttribiv((UInt32)index, (GL.Enums.VERSION_2_0)pname, (Int32*)@params); - } + unsafe + { + Delegates.glGetVertexAttribiv((UInt32)index, (GL.Enums.VERSION_2_0)pname, (Int32*)@params); + } } [System.CLSCompliant(false)] public static - void GetVertexAttribv(UInt32 index, GL.Enums.VERSION_2_0 pname, [In, Out] Int32[] @params) + void GetVertexAttribv(UInt32 index, GL.Enums.VERSION_2_0 pname, [Out] Int32[] @params) { unsafe { @@ -12852,7 +12745,7 @@ namespace OpenTK.OpenGL } public static - void GetVertexAttribv(Int32 index, GL.Enums.VERSION_2_0 pname, [In, Out] Int32[] @params) + void GetVertexAttribv(Int32 index, GL.Enums.VERSION_2_0 pname, [Out] Int32[] @params) { unsafe { @@ -12867,13 +12760,12 @@ namespace OpenTK.OpenGL public static void GetVertexAttribv(UInt32 index, GL.Enums.VERSION_2_0 pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetVertexAttribiv((UInt32)index, (GL.Enums.VERSION_2_0)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -12881,13 +12773,12 @@ namespace OpenTK.OpenGL public static void GetVertexAttribv(Int32 index, GL.Enums.VERSION_2_0 pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetVertexAttribiv((UInt32)index, (GL.Enums.VERSION_2_0)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -12903,26 +12794,25 @@ namespace OpenTK.OpenGL public static unsafe void GetVertexAttribPointerv(Int32 index, GL.Enums.VERSION_2_0 pname, [Out] void* pointer) { - pointer = default(void*); - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (GL.Enums.VERSION_2_0)pname, (void*)pointer); - } + unsafe + { + Delegates.glGetVertexAttribPointerv((UInt32)index, (GL.Enums.VERSION_2_0)pname, (void*)pointer); + } } [System.CLSCompliant(false)] public static void GetVertexAttribPointerv(UInt32 index, GL.Enums.VERSION_2_0 pname, [In, Out] object pointer) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glGetVertexAttribPointerv((UInt32)index, (GL.Enums.VERSION_2_0)pname, (void*)pointer_ptr.AddrOfPinnedObject()); } finally { - pointer_ptr.Free(); } } } @@ -12930,16 +12820,15 @@ namespace OpenTK.OpenGL public static void GetVertexAttribPointerv(Int32 index, GL.Enums.VERSION_2_0 pname, [In, Out] object pointer) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glGetVertexAttribPointerv((UInt32)index, (GL.Enums.VERSION_2_0)pname, (void*)pointer_ptr.AddrOfPinnedObject()); } finally { - pointer_ptr.Free(); } } } @@ -12994,14 +12883,15 @@ namespace OpenTK.OpenGL public static unsafe void ShaderSource(Int32 shader, Int32 count, System.String[] @string, Int32* length) { - { - Delegates.glShaderSource((UInt32)shader, (Int32)count, (System.String[])@string, (Int32*)length); - } + unsafe + { + Delegates.glShaderSource((UInt32)shader, (Int32)count, (System.String[])@string, (Int32*)length); + } } [System.CLSCompliant(false)] public static - void ShaderSource(UInt32 shader, Int32 count, System.String[] @string, [In, Out] Int32[] length) + void ShaderSource(UInt32 shader, Int32 count, System.String[] @string, Int32[] length) { unsafe { @@ -13013,7 +12903,7 @@ namespace OpenTK.OpenGL } public static - void ShaderSource(Int32 shader, Int32 count, System.String[] @string, [In, Out] Int32[] length) + void ShaderSource(Int32 shader, Int32 count, System.String[] @string, Int32[] length) { unsafe { @@ -13118,7 +13008,7 @@ namespace OpenTK.OpenGL } public static - void Uniform1(Int32 location, Int32 count, [In, Out] Single[] value) + void Uniform1(Int32 location, Int32 count, Single[] value) { unsafe { @@ -13149,7 +13039,7 @@ namespace OpenTK.OpenGL } public static - void Uniform2fv(Int32 location, Int32 count, [In, Out] Single[] value) + void Uniform2fv(Int32 location, Int32 count, Single[] value) { unsafe { @@ -13180,7 +13070,7 @@ namespace OpenTK.OpenGL } public static - void Uniform3(Int32 location, Int32 count, [In, Out] Single[] value) + void Uniform3(Int32 location, Int32 count, Single[] value) { unsafe { @@ -13211,7 +13101,7 @@ namespace OpenTK.OpenGL } public static - void Uniform4(Int32 location, Int32 count, [In, Out] Single[] value) + void Uniform4(Int32 location, Int32 count, Single[] value) { unsafe { @@ -13242,7 +13132,7 @@ namespace OpenTK.OpenGL } public static - void Uniform1(Int32 location, Int32 count, [In, Out] Int32[] value) + void Uniform1(Int32 location, Int32 count, Int32[] value) { unsafe { @@ -13273,7 +13163,7 @@ namespace OpenTK.OpenGL } public static - void Uniform2iv(Int32 location, Int32 count, [In, Out] Int32[] value) + void Uniform2iv(Int32 location, Int32 count, Int32[] value) { unsafe { @@ -13304,7 +13194,7 @@ namespace OpenTK.OpenGL } public static - void Uniform3(Int32 location, Int32 count, [In, Out] Int32[] value) + void Uniform3(Int32 location, Int32 count, Int32[] value) { unsafe { @@ -13335,7 +13225,7 @@ namespace OpenTK.OpenGL } public static - void Uniform4(Int32 location, Int32 count, [In, Out] Int32[] value) + void Uniform4(Int32 location, Int32 count, Int32[] value) { unsafe { @@ -13416,14 +13306,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttrib1dv(Int32 index, Double* v) { - { - Delegates.glVertexAttrib1dv((UInt32)index, (Double*)v); - } + unsafe + { + Delegates.glVertexAttrib1dv((UInt32)index, (Double*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttrib1dv(UInt32 index, [In, Out] Double[] v) + void VertexAttrib1dv(UInt32 index, Double[] v) { unsafe { @@ -13435,7 +13326,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttrib1dv(Int32 index, [In, Out] Double[] v) + void VertexAttrib1dv(Int32 index, Double[] v) { unsafe { @@ -13495,14 +13386,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttrib1fv(Int32 index, Single* v) { - { - Delegates.glVertexAttrib1fv((UInt32)index, (Single*)v); - } + unsafe + { + Delegates.glVertexAttrib1fv((UInt32)index, (Single*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttrib1fv(UInt32 index, [In, Out] Single[] v) + void VertexAttrib1fv(UInt32 index, Single[] v) { unsafe { @@ -13514,7 +13406,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttrib1fv(Int32 index, [In, Out] Single[] v) + void VertexAttrib1fv(Int32 index, Single[] v) { unsafe { @@ -13574,14 +13466,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttrib1sv(Int32 index, Int16* v) { - { - Delegates.glVertexAttrib1sv((UInt32)index, (Int16*)v); - } + unsafe + { + Delegates.glVertexAttrib1sv((UInt32)index, (Int16*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttrib1sv(UInt32 index, [In, Out] Int16[] v) + void VertexAttrib1sv(UInt32 index, Int16[] v) { unsafe { @@ -13593,7 +13486,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttrib1sv(Int32 index, [In, Out] Int16[] v) + void VertexAttrib1sv(Int32 index, Int16[] v) { unsafe { @@ -13653,14 +13546,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttrib2(Int32 index, Double* v) { - { - Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v); - } + unsafe + { + Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttrib2(UInt32 index, [In, Out] Double[] v) + void VertexAttrib2(UInt32 index, Double[] v) { unsafe { @@ -13672,7 +13566,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttrib2(Int32 index, [In, Out] Double[] v) + void VertexAttrib2(Int32 index, Double[] v) { unsafe { @@ -13732,14 +13626,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttrib2(Int32 index, Single* v) { - { - Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v); - } + unsafe + { + Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttrib2(UInt32 index, [In, Out] Single[] v) + void VertexAttrib2(UInt32 index, Single[] v) { unsafe { @@ -13751,7 +13646,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttrib2(Int32 index, [In, Out] Single[] v) + void VertexAttrib2(Int32 index, Single[] v) { unsafe { @@ -13811,14 +13706,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttrib2(Int32 index, Int16* v) { - { - Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v); - } + unsafe + { + Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttrib2(UInt32 index, [In, Out] Int16[] v) + void VertexAttrib2(UInt32 index, Int16[] v) { unsafe { @@ -13830,7 +13726,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttrib2(Int32 index, [In, Out] Int16[] v) + void VertexAttrib2(Int32 index, Int16[] v) { unsafe { @@ -13890,14 +13786,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttrib3(Int32 index, Double* v) { - { - Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v); - } + unsafe + { + Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttrib3(UInt32 index, [In, Out] Double[] v) + void VertexAttrib3(UInt32 index, Double[] v) { unsafe { @@ -13909,7 +13806,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttrib3(Int32 index, [In, Out] Double[] v) + void VertexAttrib3(Int32 index, Double[] v) { unsafe { @@ -13969,14 +13866,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttrib3(Int32 index, Single* v) { - { - Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v); - } + unsafe + { + Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttrib3(UInt32 index, [In, Out] Single[] v) + void VertexAttrib3(UInt32 index, Single[] v) { unsafe { @@ -13988,7 +13886,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttrib3(Int32 index, [In, Out] Single[] v) + void VertexAttrib3(Int32 index, Single[] v) { unsafe { @@ -14048,14 +13946,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttrib3(Int32 index, Int16* v) { - { - Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v); - } + unsafe + { + Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttrib3(UInt32 index, [In, Out] Int16[] v) + void VertexAttrib3(UInt32 index, Int16[] v) { unsafe { @@ -14067,7 +13966,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttrib3(Int32 index, [In, Out] Int16[] v) + void VertexAttrib3(Int32 index, Int16[] v) { unsafe { @@ -14112,16 +14011,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttrib4Nv(Int32 index, Byte* v) - { - { - Delegates.glVertexAttrib4Nbv((UInt32)index, (SByte*)v); - } - } - - [System.CLSCompliant(false)] - public static - void VertexAttrib4Nv(UInt32 index, [In, Out] SByte[] v) + void VertexAttrib4Nv(UInt32 index, SByte[] v) { unsafe { @@ -14132,18 +14022,6 @@ namespace OpenTK.OpenGL } } - public static - void VertexAttrib4Nv(Int32 index, [In, Out] Byte[] v) - { - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glVertexAttrib4Nbv((UInt32)index, (SByte*)v_ptr); - } - } - } - [System.CLSCompliant(false)] public static void VertexAttrib4Nv(UInt32 index, ref SByte v) @@ -14157,18 +14035,6 @@ namespace OpenTK.OpenGL } } - public static - void VertexAttrib4Nv(Int32 index, ref Byte v) - { - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glVertexAttrib4Nbv((UInt32)index, (SByte*)v_ptr); - } - } - } - [System.CLSCompliant(false)] public static unsafe void VertexAttrib4Nv(UInt32 index, Int32* v) @@ -14178,28 +14044,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttrib4Nv(Int32 index, Int32* v) - { - { - Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v); - } - } - - [System.CLSCompliant(false)] - public static - void VertexAttrib4Nv(UInt32 index, [In, Out] Int32[] v) - { - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v_ptr); - } - } - } - - public static - void VertexAttrib4Nv(Int32 index, [In, Out] Int32[] v) + void VertexAttrib4Nv(UInt32 index, Int32[] v) { unsafe { @@ -14223,18 +14068,6 @@ namespace OpenTK.OpenGL } } - public static - void VertexAttrib4Nv(Int32 index, ref Int32 v) - { - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v_ptr); - } - } - } - [System.CLSCompliant(false)] public static unsafe void VertexAttrib4Nv(UInt32 index, Int16* v) @@ -14244,28 +14077,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttrib4Nv(Int32 index, Int16* v) - { - { - Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v); - } - } - - [System.CLSCompliant(false)] - public static - void VertexAttrib4Nv(UInt32 index, [In, Out] Int16[] v) - { - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v_ptr); - } - } - } - - public static - void VertexAttrib4Nv(Int32 index, [In, Out] Int16[] v) + void VertexAttrib4Nv(UInt32 index, Int16[] v) { unsafe { @@ -14289,18 +14101,6 @@ namespace OpenTK.OpenGL } } - public static - void VertexAttrib4Nv(Int32 index, ref Int16 v) - { - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v_ptr); - } - } - } - [System.CLSCompliant(false)] public static void VertexAttrib4Nub(UInt32 index, Byte x, Byte y, Byte z, Byte w) @@ -14323,7 +14123,29 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void VertexAttrib4Nv(UInt32 index, [In, Out] Byte[] v) + unsafe void VertexAttrib4Nv(Int32 index, Byte* v) + { + unsafe + { + Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v); + } + } + + [System.CLSCompliant(false)] + public static + void VertexAttrib4Nv(UInt32 index, Byte[] v) + { + unsafe + { + fixed (Byte* v_ptr = v) + { + Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v_ptr); + } + } + } + + public static + void VertexAttrib4Nv(Int32 index, Byte[] v) { unsafe { @@ -14347,6 +14169,18 @@ namespace OpenTK.OpenGL } } + public static + void VertexAttrib4Nv(Int32 index, ref Byte v) + { + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v_ptr); + } + } + } + [System.CLSCompliant(false)] public static unsafe void VertexAttrib4Nv(UInt32 index, UInt32* v) @@ -14356,7 +14190,17 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void VertexAttrib4Nv(UInt32 index, [In, Out] UInt32[] v) + unsafe void VertexAttrib4Nv(Int32 index, Int32* v) + { + unsafe + { + Delegates.glVertexAttrib4Nuiv((UInt32)index, (UInt32*)v); + } + } + + [System.CLSCompliant(false)] + public static + void VertexAttrib4Nv(UInt32 index, UInt32[] v) { unsafe { @@ -14367,6 +14211,18 @@ namespace OpenTK.OpenGL } } + public static + void VertexAttrib4Nv(Int32 index, Int32[] v) + { + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttrib4Nuiv((UInt32)index, (UInt32*)v_ptr); + } + } + } + [System.CLSCompliant(false)] public static void VertexAttrib4Nv(UInt32 index, ref UInt32 v) @@ -14380,6 +14236,18 @@ namespace OpenTK.OpenGL } } + public static + void VertexAttrib4Nv(Int32 index, ref Int32 v) + { + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttrib4Nuiv((UInt32)index, (UInt32*)v_ptr); + } + } + } + [System.CLSCompliant(false)] public static unsafe void VertexAttrib4Nv(UInt32 index, UInt16* v) @@ -14389,7 +14257,17 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void VertexAttrib4Nv(UInt32 index, [In, Out] UInt16[] v) + unsafe void VertexAttrib4Nv(Int32 index, Int16* v) + { + unsafe + { + Delegates.glVertexAttrib4Nusv((UInt32)index, (UInt16*)v); + } + } + + [System.CLSCompliant(false)] + public static + void VertexAttrib4Nv(UInt32 index, UInt16[] v) { unsafe { @@ -14400,6 +14278,18 @@ namespace OpenTK.OpenGL } } + public static + void VertexAttrib4Nv(Int32 index, Int16[] v) + { + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttrib4Nusv((UInt32)index, (UInt16*)v_ptr); + } + } + } + [System.CLSCompliant(false)] public static void VertexAttrib4Nv(UInt32 index, ref UInt16 v) @@ -14413,6 +14303,18 @@ namespace OpenTK.OpenGL } } + public static + void VertexAttrib4Nv(Int32 index, ref Int16 v) + { + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttrib4Nusv((UInt32)index, (UInt16*)v_ptr); + } + } + } + [System.CLSCompliant(false)] public static unsafe void VertexAttrib4(UInt32 index, SByte* v) @@ -14422,16 +14324,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttrib4(Int32 index, Byte* v) - { - { - Delegates.glVertexAttrib4bv((UInt32)index, (SByte*)v); - } - } - - [System.CLSCompliant(false)] - public static - void VertexAttrib4(UInt32 index, [In, Out] SByte[] v) + void VertexAttrib4(UInt32 index, SByte[] v) { unsafe { @@ -14442,18 +14335,6 @@ namespace OpenTK.OpenGL } } - public static - void VertexAttrib4(Int32 index, [In, Out] Byte[] v) - { - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glVertexAttrib4bv((UInt32)index, (SByte*)v_ptr); - } - } - } - [System.CLSCompliant(false)] public static void VertexAttrib4(UInt32 index, ref SByte v) @@ -14467,18 +14348,6 @@ namespace OpenTK.OpenGL } } - public static - void VertexAttrib4(Int32 index, ref Byte v) - { - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glVertexAttrib4bv((UInt32)index, (SByte*)v_ptr); - } - } - } - [System.CLSCompliant(false)] public static void VertexAttrib4(UInt32 index, Double x, Double y, Double z, Double w) @@ -14503,14 +14372,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttrib4(Int32 index, Double* v) { - { - Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v); - } + unsafe + { + Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttrib4(UInt32 index, [In, Out] Double[] v) + void VertexAttrib4(UInt32 index, Double[] v) { unsafe { @@ -14522,7 +14392,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttrib4(Int32 index, [In, Out] Double[] v) + void VertexAttrib4(Int32 index, Double[] v) { unsafe { @@ -14582,14 +14452,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttrib4(Int32 index, Single* v) { - { - Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v); - } + unsafe + { + Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttrib4(UInt32 index, [In, Out] Single[] v) + void VertexAttrib4(UInt32 index, Single[] v) { unsafe { @@ -14601,7 +14472,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttrib4(Int32 index, [In, Out] Single[] v) + void VertexAttrib4(Int32 index, Single[] v) { unsafe { @@ -14646,28 +14517,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttrib4(Int32 index, Int32* v) - { - { - Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v); - } - } - - [System.CLSCompliant(false)] - public static - void VertexAttrib4(UInt32 index, [In, Out] Int32[] v) - { - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v_ptr); - } - } - } - - public static - void VertexAttrib4(Int32 index, [In, Out] Int32[] v) + void VertexAttrib4(UInt32 index, Int32[] v) { unsafe { @@ -14691,18 +14541,6 @@ namespace OpenTK.OpenGL } } - public static - void VertexAttrib4(Int32 index, ref Int32 v) - { - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v_ptr); - } - } - } - [System.CLSCompliant(false)] public static void VertexAttrib4(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w) @@ -14725,28 +14563,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttrib4(Int32 index, Int16* v) - { - { - Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v); - } - } - - [System.CLSCompliant(false)] - public static - void VertexAttrib4(UInt32 index, [In, Out] Int16[] v) - { - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v_ptr); - } - } - } - - public static - void VertexAttrib4(Int32 index, [In, Out] Int16[] v) + void VertexAttrib4(UInt32 index, Int16[] v) { unsafe { @@ -14770,18 +14587,6 @@ namespace OpenTK.OpenGL } } - public static - void VertexAttrib4(Int32 index, ref Int16 v) - { - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v_ptr); - } - } - } - [System.CLSCompliant(false)] public static unsafe void VertexAttrib4(UInt32 index, Byte* v) @@ -14791,7 +14596,29 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void VertexAttrib4(UInt32 index, [In, Out] Byte[] v) + unsafe void VertexAttrib4(Int32 index, Byte* v) + { + unsafe + { + Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v); + } + } + + [System.CLSCompliant(false)] + public static + void VertexAttrib4(UInt32 index, Byte[] v) + { + unsafe + { + fixed (Byte* v_ptr = v) + { + Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v_ptr); + } + } + } + + public static + void VertexAttrib4(Int32 index, Byte[] v) { unsafe { @@ -14815,6 +14642,18 @@ namespace OpenTK.OpenGL } } + public static + void VertexAttrib4(Int32 index, ref Byte v) + { + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v_ptr); + } + } + } + [System.CLSCompliant(false)] public static unsafe void VertexAttrib4(UInt32 index, UInt32* v) @@ -14824,7 +14663,17 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void VertexAttrib4(UInt32 index, [In, Out] UInt32[] v) + unsafe void VertexAttrib4(Int32 index, Int32* v) + { + unsafe + { + Delegates.glVertexAttrib4uiv((UInt32)index, (UInt32*)v); + } + } + + [System.CLSCompliant(false)] + public static + void VertexAttrib4(UInt32 index, UInt32[] v) { unsafe { @@ -14835,6 +14684,18 @@ namespace OpenTK.OpenGL } } + public static + void VertexAttrib4(Int32 index, Int32[] v) + { + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttrib4uiv((UInt32)index, (UInt32*)v_ptr); + } + } + } + [System.CLSCompliant(false)] public static void VertexAttrib4(UInt32 index, ref UInt32 v) @@ -14848,6 +14709,18 @@ namespace OpenTK.OpenGL } } + public static + void VertexAttrib4(Int32 index, ref Int32 v) + { + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttrib4uiv((UInt32)index, (UInt32*)v_ptr); + } + } + } + [System.CLSCompliant(false)] public static unsafe void VertexAttrib4(UInt32 index, UInt16* v) @@ -14857,7 +14730,17 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void VertexAttrib4(UInt32 index, [In, Out] UInt16[] v) + unsafe void VertexAttrib4(Int32 index, Int16* v) + { + unsafe + { + Delegates.glVertexAttrib4usv((UInt32)index, (UInt16*)v); + } + } + + [System.CLSCompliant(false)] + public static + void VertexAttrib4(UInt32 index, UInt16[] v) { unsafe { @@ -14868,6 +14751,18 @@ namespace OpenTK.OpenGL } } + public static + void VertexAttrib4(Int32 index, Int16[] v) + { + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttrib4usv((UInt32)index, (UInt16*)v_ptr); + } + } + } + [System.CLSCompliant(false)] public static void VertexAttrib4(UInt32 index, ref UInt16 v) @@ -14881,6 +14776,18 @@ namespace OpenTK.OpenGL } } + public static + void VertexAttrib4(Int32 index, ref Int16 v) + { + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttrib4usv((UInt32)index, (UInt16*)v_ptr); + } + } + } + [System.CLSCompliant(false)] public static unsafe void VertexAttribPointer(UInt32 index, Int32 size, GL.Enums.VERSION_2_0 type, GL.Enums.Boolean normalized, Int32 stride, void* pointer) @@ -14892,9 +14799,10 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttribPointer(Int32 index, Int32 size, GL.Enums.VERSION_2_0 type, GL.Enums.Boolean normalized, Int32 stride, void* pointer) { - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (GL.Enums.VERSION_2_0)type, (GL.Enums.Boolean)normalized, (Int32)stride, (void*)pointer); - } + unsafe + { + Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (GL.Enums.VERSION_2_0)type, (GL.Enums.Boolean)normalized, (Int32)stride, (void*)pointer); + } } [System.CLSCompliant(false)] @@ -14967,7 +14875,7 @@ namespace OpenTK.OpenGL } public static - void MultiTexCoord1dv(GL.Enums.ARB_multitexture target, [In, Out] Double[] v) + void MultiTexCoord1dv(GL.Enums.ARB_multitexture target, Double[] v) { unsafe { @@ -15004,7 +14912,7 @@ namespace OpenTK.OpenGL } public static - void MultiTexCoord1fv(GL.Enums.ARB_multitexture target, [In, Out] Single[] v) + void MultiTexCoord1fv(GL.Enums.ARB_multitexture target, Single[] v) { unsafe { @@ -15041,7 +14949,7 @@ namespace OpenTK.OpenGL } public static - void MultiTexCoord1iv(GL.Enums.ARB_multitexture target, [In, Out] Int32[] v) + void MultiTexCoord1iv(GL.Enums.ARB_multitexture target, Int32[] v) { unsafe { @@ -15078,7 +14986,7 @@ namespace OpenTK.OpenGL } public static - void MultiTexCoord1sv(GL.Enums.ARB_multitexture target, [In, Out] Int16[] v) + void MultiTexCoord1sv(GL.Enums.ARB_multitexture target, Int16[] v) { unsafe { @@ -15115,7 +15023,7 @@ namespace OpenTK.OpenGL } public static - void MultiTexCoord2(GL.Enums.ARB_multitexture target, [In, Out] Double[] v) + void MultiTexCoord2(GL.Enums.ARB_multitexture target, Double[] v) { unsafe { @@ -15152,7 +15060,7 @@ namespace OpenTK.OpenGL } public static - void MultiTexCoord2(GL.Enums.ARB_multitexture target, [In, Out] Single[] v) + void MultiTexCoord2(GL.Enums.ARB_multitexture target, Single[] v) { unsafe { @@ -15189,7 +15097,7 @@ namespace OpenTK.OpenGL } public static - void MultiTexCoord2(GL.Enums.ARB_multitexture target, [In, Out] Int32[] v) + void MultiTexCoord2(GL.Enums.ARB_multitexture target, Int32[] v) { unsafe { @@ -15226,7 +15134,7 @@ namespace OpenTK.OpenGL } public static - void MultiTexCoord2(GL.Enums.ARB_multitexture target, [In, Out] Int16[] v) + void MultiTexCoord2(GL.Enums.ARB_multitexture target, Int16[] v) { unsafe { @@ -15263,7 +15171,7 @@ namespace OpenTK.OpenGL } public static - void MultiTexCoord3(GL.Enums.ARB_multitexture target, [In, Out] Double[] v) + void MultiTexCoord3(GL.Enums.ARB_multitexture target, Double[] v) { unsafe { @@ -15300,7 +15208,7 @@ namespace OpenTK.OpenGL } public static - void MultiTexCoord3(GL.Enums.ARB_multitexture target, [In, Out] Single[] v) + void MultiTexCoord3(GL.Enums.ARB_multitexture target, Single[] v) { unsafe { @@ -15337,7 +15245,7 @@ namespace OpenTK.OpenGL } public static - void MultiTexCoord3(GL.Enums.ARB_multitexture target, [In, Out] Int32[] v) + void MultiTexCoord3(GL.Enums.ARB_multitexture target, Int32[] v) { unsafe { @@ -15374,7 +15282,7 @@ namespace OpenTK.OpenGL } public static - void MultiTexCoord3(GL.Enums.ARB_multitexture target, [In, Out] Int16[] v) + void MultiTexCoord3(GL.Enums.ARB_multitexture target, Int16[] v) { unsafe { @@ -15411,7 +15319,7 @@ namespace OpenTK.OpenGL } public static - void MultiTexCoord4(GL.Enums.ARB_multitexture target, [In, Out] Double[] v) + void MultiTexCoord4(GL.Enums.ARB_multitexture target, Double[] v) { unsafe { @@ -15448,7 +15356,7 @@ namespace OpenTK.OpenGL } public static - void MultiTexCoord4(GL.Enums.ARB_multitexture target, [In, Out] Single[] v) + void MultiTexCoord4(GL.Enums.ARB_multitexture target, Single[] v) { unsafe { @@ -15485,7 +15393,7 @@ namespace OpenTK.OpenGL } public static - void MultiTexCoord4(GL.Enums.ARB_multitexture target, [In, Out] Int32[] v) + void MultiTexCoord4(GL.Enums.ARB_multitexture target, Int32[] v) { unsafe { @@ -15522,7 +15430,7 @@ namespace OpenTK.OpenGL } public static - void MultiTexCoord4(GL.Enums.ARB_multitexture target, [In, Out] Int16[] v) + void MultiTexCoord4(GL.Enums.ARB_multitexture target, Int16[] v) { unsafe { @@ -15553,7 +15461,7 @@ namespace OpenTK.OpenGL } public static - void LoadTransposeMatrixf([In, Out] Single[] m) + void LoadTransposeMatrixf(Single[] m) { unsafe { @@ -15584,7 +15492,7 @@ namespace OpenTK.OpenGL } public static - void LoadTransposeMatrixd([In, Out] Double[] m) + void LoadTransposeMatrixd(Double[] m) { unsafe { @@ -15615,7 +15523,7 @@ namespace OpenTK.OpenGL } public static - void MultTransposeMatrixf([In, Out] Single[] m) + void MultTransposeMatrixf(Single[] m) { unsafe { @@ -15646,7 +15554,7 @@ namespace OpenTK.OpenGL } public static - void MultTransposeMatrixd([In, Out] Double[] m) + void MultTransposeMatrixd(Double[] m) { unsafe { @@ -15685,16 +15593,15 @@ namespace OpenTK.OpenGL public static void CompressedTexImage3D(GL.Enums.TextureTarget target, Int32 level, GL.Enums.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] object data) { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glCompressedTexImage3DARB((GL.Enums.TextureTarget)target, (Int32)level, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (void*)data_ptr.AddrOfPinnedObject()); } finally { - data_ptr.Free(); } } } @@ -15709,16 +15616,15 @@ namespace OpenTK.OpenGL public static void CompressedTexImage2D(GL.Enums.TextureTarget target, Int32 level, GL.Enums.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] object data) { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glCompressedTexImage2DARB((GL.Enums.TextureTarget)target, (Int32)level, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (void*)data_ptr.AddrOfPinnedObject()); } finally { - data_ptr.Free(); } } } @@ -15733,16 +15639,15 @@ namespace OpenTK.OpenGL public static void CompressedTexImage1D(GL.Enums.TextureTarget target, Int32 level, GL.Enums.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] object data) { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glCompressedTexImage1DARB((GL.Enums.TextureTarget)target, (Int32)level, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (void*)data_ptr.AddrOfPinnedObject()); } finally { - data_ptr.Free(); } } } @@ -15757,16 +15662,15 @@ namespace OpenTK.OpenGL public static void CompressedTexSubImage3D(GL.Enums.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, GL.Enums.PixelFormat format, Int32 imageSize, [In, Out] object data) { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glCompressedTexSubImage3DARB((GL.Enums.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (GL.Enums.PixelFormat)format, (Int32)imageSize, (void*)data_ptr.AddrOfPinnedObject()); } finally { - data_ptr.Free(); } } } @@ -15781,16 +15685,15 @@ namespace OpenTK.OpenGL public static void CompressedTexSubImage2D(GL.Enums.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, GL.Enums.PixelFormat format, Int32 imageSize, [In, Out] object data) { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glCompressedTexSubImage2DARB((GL.Enums.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (GL.Enums.PixelFormat)format, (Int32)imageSize, (void*)data_ptr.AddrOfPinnedObject()); } finally { - data_ptr.Free(); } } } @@ -15805,16 +15708,15 @@ namespace OpenTK.OpenGL public static void CompressedTexSubImage1D(GL.Enums.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, GL.Enums.PixelFormat format, Int32 imageSize, [In, Out] object data) { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glCompressedTexSubImage1DARB((GL.Enums.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (GL.Enums.PixelFormat)format, (Int32)imageSize, (void*)data_ptr.AddrOfPinnedObject()); } finally { - data_ptr.Free(); } } } @@ -15829,16 +15731,15 @@ namespace OpenTK.OpenGL public static void GetCompressedTexImage(GL.Enums.TextureTarget target, Int32 level, [In, Out] object img) { - System.Runtime.InteropServices.GCHandle img_ptr = System.Runtime.InteropServices.GCHandle.Alloc(img, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle img_ptr = System.Runtime.InteropServices.GCHandle.Alloc(img, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glGetCompressedTexImageARB((GL.Enums.TextureTarget)target, (Int32)level, (void*)img_ptr.AddrOfPinnedObject()); } finally { - img_ptr.Free(); } } } @@ -15857,7 +15758,7 @@ namespace OpenTK.OpenGL } public static - void PointParameterv(GL.Enums.ARB_point_parameters pname, [In, Out] Single[] @params) + void PointParameterv(GL.Enums.ARB_point_parameters pname, Single[] @params) { unsafe { @@ -15889,16 +15790,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Weightv(Int32 size, Byte* weights) - { - { - Delegates.glWeightbvARB((Int32)size, (SByte*)weights); - } - } - - [System.CLSCompliant(false)] - public static - void Weightv(Int32 size, [In, Out] SByte[] weights) + void Weightv(Int32 size, SByte[] weights) { unsafe { @@ -15909,18 +15801,6 @@ namespace OpenTK.OpenGL } } - public static - void Weightv(Int32 size, [In, Out] Byte[] weights) - { - unsafe - { - fixed (Byte* weights_ptr = weights) - { - Delegates.glWeightbvARB((Int32)size, (SByte*)weights_ptr); - } - } - } - [System.CLSCompliant(false)] public static void Weightv(Int32 size, ref SByte weights) @@ -15934,80 +15814,6 @@ namespace OpenTK.OpenGL } } - public static - void Weightv(Int32 size, ref Byte weights) - { - unsafe - { - fixed (Byte* weights_ptr = &weights) - { - Delegates.glWeightbvARB((Int32)size, (SByte*)weights_ptr); - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe void Weightv(Int32 size, Int16* weights) - { - unsafe { Delegates.glWeightsvARB((Int32)size, (Int16*)weights); } - } - - public static - void Weightv(Int32 size, [In, Out] Int16[] weights) - { - unsafe - { - fixed (Int16* weights_ptr = weights) - { - Delegates.glWeightsvARB((Int32)size, (Int16*)weights_ptr); - } - } - } - - public static - void Weightv(Int32 size, ref Int16 weights) - { - unsafe - { - fixed (Int16* weights_ptr = &weights) - { - Delegates.glWeightsvARB((Int32)size, (Int16*)weights_ptr); - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe void Weightv(Int32 size, Int32* weights) - { - unsafe { Delegates.glWeightivARB((Int32)size, (Int32*)weights); } - } - - public static - void Weightv(Int32 size, [In, Out] Int32[] weights) - { - unsafe - { - fixed (Int32* weights_ptr = weights) - { - Delegates.glWeightivARB((Int32)size, (Int32*)weights_ptr); - } - } - } - - public static - void Weightv(Int32 size, ref Int32 weights) - { - unsafe - { - fixed (Int32* weights_ptr = &weights) - { - Delegates.glWeightivARB((Int32)size, (Int32*)weights_ptr); - } - } - } - [System.CLSCompliant(false)] public static unsafe void Weightv(Int32 size, Single* weights) @@ -16016,7 +15822,7 @@ namespace OpenTK.OpenGL } public static - void Weightv(Int32 size, [In, Out] Single[] weights) + void Weightv(Int32 size, Single[] weights) { unsafe { @@ -16047,7 +15853,7 @@ namespace OpenTK.OpenGL } public static - void Weightv(Int32 size, [In, Out] Double[] weights) + void Weightv(Int32 size, Double[] weights) { unsafe { @@ -16070,6 +15876,37 @@ namespace OpenTK.OpenGL } } + [System.CLSCompliant(false)] + public static + unsafe void Weightv(Int32 size, Byte* weights) + { + unsafe { Delegates.glWeightubvARB((Int32)size, (Byte*)weights); } + } + + public static + void Weightv(Int32 size, Byte[] weights) + { + unsafe + { + fixed (Byte* weights_ptr = weights) + { + Delegates.glWeightubvARB((Int32)size, (Byte*)weights_ptr); + } + } + } + + public static + void Weightv(Int32 size, ref Byte weights) + { + unsafe + { + fixed (Byte* weights_ptr = &weights) + { + Delegates.glWeightubvARB((Int32)size, (Byte*)weights_ptr); + } + } + } + [System.CLSCompliant(false)] public static unsafe void Weightv(Int32 size, UInt16* weights) @@ -16079,7 +15916,17 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void Weightv(Int32 size, [In, Out] UInt16[] weights) + unsafe void Weightv(Int32 size, Int16* weights) + { + unsafe + { + Delegates.glWeightusvARB((Int32)size, (UInt16*)weights); + } + } + + [System.CLSCompliant(false)] + public static + void Weightv(Int32 size, UInt16[] weights) { unsafe { @@ -16090,6 +15937,18 @@ namespace OpenTK.OpenGL } } + public static + void Weightv(Int32 size, Int16[] weights) + { + unsafe + { + fixed (Int16* weights_ptr = weights) + { + Delegates.glWeightusvARB((Int32)size, (UInt16*)weights_ptr); + } + } + } + [System.CLSCompliant(false)] public static void Weightv(Int32 size, ref UInt16 weights) @@ -16103,6 +15962,18 @@ namespace OpenTK.OpenGL } } + public static + void Weightv(Int32 size, ref Int16 weights) + { + unsafe + { + fixed (Int16* weights_ptr = &weights) + { + Delegates.glWeightusvARB((Int32)size, (UInt16*)weights_ptr); + } + } + } + [System.CLSCompliant(false)] public static unsafe void Weightv(Int32 size, UInt32* weights) @@ -16112,7 +15983,17 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void Weightv(Int32 size, [In, Out] UInt32[] weights) + unsafe void Weightv(Int32 size, Int32* weights) + { + unsafe + { + Delegates.glWeightuivARB((Int32)size, (UInt32*)weights); + } + } + + [System.CLSCompliant(false)] + public static + void Weightv(Int32 size, UInt32[] weights) { unsafe { @@ -16123,6 +16004,18 @@ namespace OpenTK.OpenGL } } + public static + void Weightv(Int32 size, Int32[] weights) + { + unsafe + { + fixed (Int32* weights_ptr = weights) + { + Delegates.glWeightuivARB((Int32)size, (UInt32*)weights_ptr); + } + } + } + [System.CLSCompliant(false)] public static void Weightv(Int32 size, ref UInt32 weights) @@ -16136,6 +16029,18 @@ namespace OpenTK.OpenGL } } + public static + void Weightv(Int32 size, ref Int32 weights) + { + unsafe + { + fixed (Int32* weights_ptr = &weights) + { + Delegates.glWeightuivARB((Int32)size, (UInt32*)weights_ptr); + } + } + } + [System.CLSCompliant(false)] public static unsafe void WeightPointer(Int32 size, GL.Enums.ARB_vertex_blend type, Int32 stride, void* pointer) @@ -16146,16 +16051,15 @@ namespace OpenTK.OpenGL public static void WeightPointer(Int32 size, GL.Enums.ARB_vertex_blend type, Int32 stride, [In, Out] object pointer) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glWeightPointerARB((Int32)size, (GL.Enums.ARB_vertex_blend)type, (Int32)stride, (void*)pointer_ptr.AddrOfPinnedObject()); } finally { - pointer_ptr.Free(); } } } @@ -16180,7 +16084,7 @@ namespace OpenTK.OpenGL } public static - void MatrixIndexv(Int32 size, [In, Out] Byte[] indices) + void MatrixIndexv(Int32 size, Byte[] indices) { unsafe { @@ -16214,14 +16118,15 @@ namespace OpenTK.OpenGL public static unsafe void MatrixIndexv(Int32 size, Int16* indices) { - { - Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices); - } + unsafe + { + Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices); + } } [System.CLSCompliant(false)] public static - void MatrixIndexv(Int32 size, [In, Out] UInt16[] indices) + void MatrixIndexv(Int32 size, UInt16[] indices) { unsafe { @@ -16233,7 +16138,7 @@ namespace OpenTK.OpenGL } public static - void MatrixIndexv(Int32 size, [In, Out] Int16[] indices) + void MatrixIndexv(Int32 size, Int16[] indices) { unsafe { @@ -16280,14 +16185,15 @@ namespace OpenTK.OpenGL public static unsafe void MatrixIndexv(Int32 size, Int32* indices) { - { - Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices); - } + unsafe + { + Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices); + } } [System.CLSCompliant(false)] public static - void MatrixIndexv(Int32 size, [In, Out] UInt32[] indices) + void MatrixIndexv(Int32 size, UInt32[] indices) { unsafe { @@ -16299,7 +16205,7 @@ namespace OpenTK.OpenGL } public static - void MatrixIndexv(Int32 size, [In, Out] Int32[] indices) + void MatrixIndexv(Int32 size, Int32[] indices) { unsafe { @@ -16345,16 +16251,15 @@ namespace OpenTK.OpenGL public static void MatrixIndexPointer(Int32 size, GL.Enums.ARB_matrix_palette type, Int32 stride, [In, Out] object pointer) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glMatrixIndexPointerARB((Int32)size, (GL.Enums.ARB_matrix_palette)type, (Int32)stride, (void*)pointer_ptr.AddrOfPinnedObject()); } finally { - pointer_ptr.Free(); } } } @@ -16373,7 +16278,7 @@ namespace OpenTK.OpenGL } public static - void WindowPos2([In, Out] Double[] v) + void WindowPos2(Double[] v) { unsafe { @@ -16410,7 +16315,7 @@ namespace OpenTK.OpenGL } public static - void WindowPos2([In, Out] Single[] v) + void WindowPos2(Single[] v) { unsafe { @@ -16447,7 +16352,7 @@ namespace OpenTK.OpenGL } public static - void WindowPos2([In, Out] Int32[] v) + void WindowPos2(Int32[] v) { unsafe { @@ -16484,7 +16389,7 @@ namespace OpenTK.OpenGL } public static - void WindowPos2([In, Out] Int16[] v) + void WindowPos2(Int16[] v) { unsafe { @@ -16521,7 +16426,7 @@ namespace OpenTK.OpenGL } public static - void WindowPos3([In, Out] Double[] v) + void WindowPos3(Double[] v) { unsafe { @@ -16558,7 +16463,7 @@ namespace OpenTK.OpenGL } public static - void WindowPos3([In, Out] Single[] v) + void WindowPos3(Single[] v) { unsafe { @@ -16595,7 +16500,7 @@ namespace OpenTK.OpenGL } public static - void WindowPos3([In, Out] Int32[] v) + void WindowPos3(Int32[] v) { unsafe { @@ -16632,7 +16537,7 @@ namespace OpenTK.OpenGL } public static - void WindowPos3([In, Out] Int16[] v) + void WindowPos3(Int16[] v) { unsafe { @@ -16679,14 +16584,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttrib1dv(Int32 index, Double* v) { - { - Delegates.glVertexAttrib1dvARB((UInt32)index, (Double*)v); - } + unsafe + { + Delegates.glVertexAttrib1dvARB((UInt32)index, (Double*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttrib1dv(UInt32 index, [In, Out] Double[] v) + void VertexAttrib1dv(UInt32 index, Double[] v) { unsafe { @@ -16698,7 +16604,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttrib1dv(Int32 index, [In, Out] Double[] v) + void VertexAttrib1dv(Int32 index, Double[] v) { unsafe { @@ -16758,14 +16664,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttrib1fv(Int32 index, Single* v) { - { - Delegates.glVertexAttrib1fvARB((UInt32)index, (Single*)v); - } + unsafe + { + Delegates.glVertexAttrib1fvARB((UInt32)index, (Single*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttrib1fv(UInt32 index, [In, Out] Single[] v) + void VertexAttrib1fv(UInt32 index, Single[] v) { unsafe { @@ -16777,7 +16684,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttrib1fv(Int32 index, [In, Out] Single[] v) + void VertexAttrib1fv(Int32 index, Single[] v) { unsafe { @@ -16837,14 +16744,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttrib1sv(Int32 index, Int16* v) { - { - Delegates.glVertexAttrib1svARB((UInt32)index, (Int16*)v); - } + unsafe + { + Delegates.glVertexAttrib1svARB((UInt32)index, (Int16*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttrib1sv(UInt32 index, [In, Out] Int16[] v) + void VertexAttrib1sv(UInt32 index, Int16[] v) { unsafe { @@ -16856,7 +16764,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttrib1sv(Int32 index, [In, Out] Int16[] v) + void VertexAttrib1sv(Int32 index, Int16[] v) { unsafe { @@ -16916,14 +16824,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttrib2(Int32 index, Double* v) { - { - Delegates.glVertexAttrib2dvARB((UInt32)index, (Double*)v); - } + unsafe + { + Delegates.glVertexAttrib2dvARB((UInt32)index, (Double*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttrib2(UInt32 index, [In, Out] Double[] v) + void VertexAttrib2(UInt32 index, Double[] v) { unsafe { @@ -16935,7 +16844,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttrib2(Int32 index, [In, Out] Double[] v) + void VertexAttrib2(Int32 index, Double[] v) { unsafe { @@ -16995,14 +16904,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttrib2(Int32 index, Single* v) { - { - Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v); - } + unsafe + { + Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttrib2(UInt32 index, [In, Out] Single[] v) + void VertexAttrib2(UInt32 index, Single[] v) { unsafe { @@ -17014,7 +16924,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttrib2(Int32 index, [In, Out] Single[] v) + void VertexAttrib2(Int32 index, Single[] v) { unsafe { @@ -17074,14 +16984,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttrib2(Int32 index, Int16* v) { - { - Delegates.glVertexAttrib2svARB((UInt32)index, (Int16*)v); - } + unsafe + { + Delegates.glVertexAttrib2svARB((UInt32)index, (Int16*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttrib2(UInt32 index, [In, Out] Int16[] v) + void VertexAttrib2(UInt32 index, Int16[] v) { unsafe { @@ -17093,7 +17004,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttrib2(Int32 index, [In, Out] Int16[] v) + void VertexAttrib2(Int32 index, Int16[] v) { unsafe { @@ -17153,14 +17064,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttrib3(Int32 index, Double* v) { - { - Delegates.glVertexAttrib3dvARB((UInt32)index, (Double*)v); - } + unsafe + { + Delegates.glVertexAttrib3dvARB((UInt32)index, (Double*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttrib3(UInt32 index, [In, Out] Double[] v) + void VertexAttrib3(UInt32 index, Double[] v) { unsafe { @@ -17172,7 +17084,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttrib3(Int32 index, [In, Out] Double[] v) + void VertexAttrib3(Int32 index, Double[] v) { unsafe { @@ -17232,14 +17144,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttrib3(Int32 index, Single* v) { - { - Delegates.glVertexAttrib3fvARB((UInt32)index, (Single*)v); - } + unsafe + { + Delegates.glVertexAttrib3fvARB((UInt32)index, (Single*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttrib3(UInt32 index, [In, Out] Single[] v) + void VertexAttrib3(UInt32 index, Single[] v) { unsafe { @@ -17251,7 +17164,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttrib3(Int32 index, [In, Out] Single[] v) + void VertexAttrib3(Int32 index, Single[] v) { unsafe { @@ -17311,14 +17224,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttrib3(Int32 index, Int16* v) { - { - Delegates.glVertexAttrib3svARB((UInt32)index, (Int16*)v); - } + unsafe + { + Delegates.glVertexAttrib3svARB((UInt32)index, (Int16*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttrib3(UInt32 index, [In, Out] Int16[] v) + void VertexAttrib3(UInt32 index, Int16[] v) { unsafe { @@ -17330,7 +17244,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttrib3(Int32 index, [In, Out] Int16[] v) + void VertexAttrib3(Int32 index, Int16[] v) { unsafe { @@ -17375,16 +17289,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttrib4Nv(Int32 index, Byte* v) - { - { - Delegates.glVertexAttrib4NbvARB((UInt32)index, (SByte*)v); - } - } - - [System.CLSCompliant(false)] - public static - void VertexAttrib4Nv(UInt32 index, [In, Out] SByte[] v) + void VertexAttrib4Nv(UInt32 index, SByte[] v) { unsafe { @@ -17395,18 +17300,6 @@ namespace OpenTK.OpenGL } } - public static - void VertexAttrib4Nv(Int32 index, [In, Out] Byte[] v) - { - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glVertexAttrib4NbvARB((UInt32)index, (SByte*)v_ptr); - } - } - } - [System.CLSCompliant(false)] public static void VertexAttrib4Nv(UInt32 index, ref SByte v) @@ -17420,18 +17313,6 @@ namespace OpenTK.OpenGL } } - public static - void VertexAttrib4Nv(Int32 index, ref Byte v) - { - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glVertexAttrib4NbvARB((UInt32)index, (SByte*)v_ptr); - } - } - } - [System.CLSCompliant(false)] public static unsafe void VertexAttrib4Nv(UInt32 index, Int32* v) @@ -17441,28 +17322,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttrib4Nv(Int32 index, Int32* v) - { - { - Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v); - } - } - - [System.CLSCompliant(false)] - public static - void VertexAttrib4Nv(UInt32 index, [In, Out] Int32[] v) - { - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v_ptr); - } - } - } - - public static - void VertexAttrib4Nv(Int32 index, [In, Out] Int32[] v) + void VertexAttrib4Nv(UInt32 index, Int32[] v) { unsafe { @@ -17486,18 +17346,6 @@ namespace OpenTK.OpenGL } } - public static - void VertexAttrib4Nv(Int32 index, ref Int32 v) - { - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v_ptr); - } - } - } - [System.CLSCompliant(false)] public static unsafe void VertexAttrib4Nv(UInt32 index, Int16* v) @@ -17507,28 +17355,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttrib4Nv(Int32 index, Int16* v) - { - { - Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v); - } - } - - [System.CLSCompliant(false)] - public static - void VertexAttrib4Nv(UInt32 index, [In, Out] Int16[] v) - { - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v_ptr); - } - } - } - - public static - void VertexAttrib4Nv(Int32 index, [In, Out] Int16[] v) + void VertexAttrib4Nv(UInt32 index, Int16[] v) { unsafe { @@ -17552,18 +17379,6 @@ namespace OpenTK.OpenGL } } - public static - void VertexAttrib4Nv(Int32 index, ref Int16 v) - { - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v_ptr); - } - } - } - [System.CLSCompliant(false)] public static void VertexAttrib4Nub(UInt32 index, Byte x, Byte y, Byte z, Byte w) @@ -17586,7 +17401,29 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void VertexAttrib4Nv(UInt32 index, [In, Out] Byte[] v) + unsafe void VertexAttrib4Nv(Int32 index, Byte* v) + { + unsafe + { + Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v); + } + } + + [System.CLSCompliant(false)] + public static + void VertexAttrib4Nv(UInt32 index, Byte[] v) + { + unsafe + { + fixed (Byte* v_ptr = v) + { + Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v_ptr); + } + } + } + + public static + void VertexAttrib4Nv(Int32 index, Byte[] v) { unsafe { @@ -17610,6 +17447,18 @@ namespace OpenTK.OpenGL } } + public static + void VertexAttrib4Nv(Int32 index, ref Byte v) + { + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v_ptr); + } + } + } + [System.CLSCompliant(false)] public static unsafe void VertexAttrib4Nv(UInt32 index, UInt32* v) @@ -17619,7 +17468,17 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void VertexAttrib4Nv(UInt32 index, [In, Out] UInt32[] v) + unsafe void VertexAttrib4Nv(Int32 index, Int32* v) + { + unsafe + { + Delegates.glVertexAttrib4NuivARB((UInt32)index, (UInt32*)v); + } + } + + [System.CLSCompliant(false)] + public static + void VertexAttrib4Nv(UInt32 index, UInt32[] v) { unsafe { @@ -17630,6 +17489,18 @@ namespace OpenTK.OpenGL } } + public static + void VertexAttrib4Nv(Int32 index, Int32[] v) + { + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttrib4NuivARB((UInt32)index, (UInt32*)v_ptr); + } + } + } + [System.CLSCompliant(false)] public static void VertexAttrib4Nv(UInt32 index, ref UInt32 v) @@ -17643,6 +17514,18 @@ namespace OpenTK.OpenGL } } + public static + void VertexAttrib4Nv(Int32 index, ref Int32 v) + { + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttrib4NuivARB((UInt32)index, (UInt32*)v_ptr); + } + } + } + [System.CLSCompliant(false)] public static unsafe void VertexAttrib4Nv(UInt32 index, UInt16* v) @@ -17652,7 +17535,17 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void VertexAttrib4Nv(UInt32 index, [In, Out] UInt16[] v) + unsafe void VertexAttrib4Nv(Int32 index, Int16* v) + { + unsafe + { + Delegates.glVertexAttrib4NusvARB((UInt32)index, (UInt16*)v); + } + } + + [System.CLSCompliant(false)] + public static + void VertexAttrib4Nv(UInt32 index, UInt16[] v) { unsafe { @@ -17663,6 +17556,18 @@ namespace OpenTK.OpenGL } } + public static + void VertexAttrib4Nv(Int32 index, Int16[] v) + { + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttrib4NusvARB((UInt32)index, (UInt16*)v_ptr); + } + } + } + [System.CLSCompliant(false)] public static void VertexAttrib4Nv(UInt32 index, ref UInt16 v) @@ -17676,6 +17581,18 @@ namespace OpenTK.OpenGL } } + public static + void VertexAttrib4Nv(Int32 index, ref Int16 v) + { + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttrib4NusvARB((UInt32)index, (UInt16*)v_ptr); + } + } + } + [System.CLSCompliant(false)] public static unsafe void VertexAttrib4(UInt32 index, SByte* v) @@ -17685,16 +17602,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttrib4(Int32 index, Byte* v) - { - { - Delegates.glVertexAttrib4bvARB((UInt32)index, (SByte*)v); - } - } - - [System.CLSCompliant(false)] - public static - void VertexAttrib4(UInt32 index, [In, Out] SByte[] v) + void VertexAttrib4(UInt32 index, SByte[] v) { unsafe { @@ -17705,18 +17613,6 @@ namespace OpenTK.OpenGL } } - public static - void VertexAttrib4(Int32 index, [In, Out] Byte[] v) - { - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glVertexAttrib4bvARB((UInt32)index, (SByte*)v_ptr); - } - } - } - [System.CLSCompliant(false)] public static void VertexAttrib4(UInt32 index, ref SByte v) @@ -17730,18 +17626,6 @@ namespace OpenTK.OpenGL } } - public static - void VertexAttrib4(Int32 index, ref Byte v) - { - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glVertexAttrib4bvARB((UInt32)index, (SByte*)v_ptr); - } - } - } - [System.CLSCompliant(false)] public static void VertexAttrib4(UInt32 index, Double x, Double y, Double z, Double w) @@ -17766,14 +17650,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttrib4(Int32 index, Double* v) { - { - Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v); - } + unsafe + { + Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttrib4(UInt32 index, [In, Out] Double[] v) + void VertexAttrib4(UInt32 index, Double[] v) { unsafe { @@ -17785,7 +17670,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttrib4(Int32 index, [In, Out] Double[] v) + void VertexAttrib4(Int32 index, Double[] v) { unsafe { @@ -17845,14 +17730,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttrib4(Int32 index, Single* v) { - { - Delegates.glVertexAttrib4fvARB((UInt32)index, (Single*)v); - } + unsafe + { + Delegates.glVertexAttrib4fvARB((UInt32)index, (Single*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttrib4(UInt32 index, [In, Out] Single[] v) + void VertexAttrib4(UInt32 index, Single[] v) { unsafe { @@ -17864,7 +17750,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttrib4(Int32 index, [In, Out] Single[] v) + void VertexAttrib4(Int32 index, Single[] v) { unsafe { @@ -17909,28 +17795,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttrib4(Int32 index, Int32* v) - { - { - Delegates.glVertexAttrib4ivARB((UInt32)index, (Int32*)v); - } - } - - [System.CLSCompliant(false)] - public static - void VertexAttrib4(UInt32 index, [In, Out] Int32[] v) - { - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttrib4ivARB((UInt32)index, (Int32*)v_ptr); - } - } - } - - public static - void VertexAttrib4(Int32 index, [In, Out] Int32[] v) + void VertexAttrib4(UInt32 index, Int32[] v) { unsafe { @@ -17954,18 +17819,6 @@ namespace OpenTK.OpenGL } } - public static - void VertexAttrib4(Int32 index, ref Int32 v) - { - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttrib4ivARB((UInt32)index, (Int32*)v_ptr); - } - } - } - [System.CLSCompliant(false)] public static void VertexAttrib4(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w) @@ -17988,28 +17841,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttrib4(Int32 index, Int16* v) - { - { - Delegates.glVertexAttrib4svARB((UInt32)index, (Int16*)v); - } - } - - [System.CLSCompliant(false)] - public static - void VertexAttrib4(UInt32 index, [In, Out] Int16[] v) - { - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib4svARB((UInt32)index, (Int16*)v_ptr); - } - } - } - - public static - void VertexAttrib4(Int32 index, [In, Out] Int16[] v) + void VertexAttrib4(UInt32 index, Int16[] v) { unsafe { @@ -18033,18 +17865,6 @@ namespace OpenTK.OpenGL } } - public static - void VertexAttrib4(Int32 index, ref Int16 v) - { - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib4svARB((UInt32)index, (Int16*)v_ptr); - } - } - } - [System.CLSCompliant(false)] public static unsafe void VertexAttrib4(UInt32 index, Byte* v) @@ -18054,7 +17874,29 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void VertexAttrib4(UInt32 index, [In, Out] Byte[] v) + unsafe void VertexAttrib4(Int32 index, Byte* v) + { + unsafe + { + Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v); + } + } + + [System.CLSCompliant(false)] + public static + void VertexAttrib4(UInt32 index, Byte[] v) + { + unsafe + { + fixed (Byte* v_ptr = v) + { + Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v_ptr); + } + } + } + + public static + void VertexAttrib4(Int32 index, Byte[] v) { unsafe { @@ -18078,6 +17920,18 @@ namespace OpenTK.OpenGL } } + public static + void VertexAttrib4(Int32 index, ref Byte v) + { + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v_ptr); + } + } + } + [System.CLSCompliant(false)] public static unsafe void VertexAttrib4(UInt32 index, UInt32* v) @@ -18087,7 +17941,17 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void VertexAttrib4(UInt32 index, [In, Out] UInt32[] v) + unsafe void VertexAttrib4(Int32 index, Int32* v) + { + unsafe + { + Delegates.glVertexAttrib4uivARB((UInt32)index, (UInt32*)v); + } + } + + [System.CLSCompliant(false)] + public static + void VertexAttrib4(UInt32 index, UInt32[] v) { unsafe { @@ -18098,6 +17962,18 @@ namespace OpenTK.OpenGL } } + public static + void VertexAttrib4(Int32 index, Int32[] v) + { + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttrib4uivARB((UInt32)index, (UInt32*)v_ptr); + } + } + } + [System.CLSCompliant(false)] public static void VertexAttrib4(UInt32 index, ref UInt32 v) @@ -18111,6 +17987,18 @@ namespace OpenTK.OpenGL } } + public static + void VertexAttrib4(Int32 index, ref Int32 v) + { + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttrib4uivARB((UInt32)index, (UInt32*)v_ptr); + } + } + } + [System.CLSCompliant(false)] public static unsafe void VertexAttrib4(UInt32 index, UInt16* v) @@ -18120,7 +18008,17 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void VertexAttrib4(UInt32 index, [In, Out] UInt16[] v) + unsafe void VertexAttrib4(Int32 index, Int16* v) + { + unsafe + { + Delegates.glVertexAttrib4usvARB((UInt32)index, (UInt16*)v); + } + } + + [System.CLSCompliant(false)] + public static + void VertexAttrib4(UInt32 index, UInt16[] v) { unsafe { @@ -18131,6 +18029,18 @@ namespace OpenTK.OpenGL } } + public static + void VertexAttrib4(Int32 index, Int16[] v) + { + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttrib4usvARB((UInt32)index, (UInt16*)v_ptr); + } + } + } + [System.CLSCompliant(false)] public static void VertexAttrib4(UInt32 index, ref UInt16 v) @@ -18144,6 +18054,18 @@ namespace OpenTK.OpenGL } } + public static + void VertexAttrib4(Int32 index, ref Int16 v) + { + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttrib4usvARB((UInt32)index, (UInt16*)v_ptr); + } + } + } + [System.CLSCompliant(false)] public static unsafe void VertexAttribPointer(UInt32 index, Int32 size, GL.Enums.ARB_vertex_program type, GL.Enums.Boolean normalized, Int32 stride, void* pointer) @@ -18155,9 +18077,10 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttribPointer(Int32 index, Int32 size, GL.Enums.ARB_vertex_program type, GL.Enums.Boolean normalized, Int32 stride, void* pointer) { - { - Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (GL.Enums.ARB_vertex_program)type, (GL.Enums.Boolean)normalized, (Int32)stride, (void*)pointer); - } + unsafe + { + Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (GL.Enums.ARB_vertex_program)type, (GL.Enums.Boolean)normalized, (Int32)stride, (void*)pointer); + } } [System.CLSCompliant(false)] @@ -18196,16 +18119,15 @@ namespace OpenTK.OpenGL public static void ProgramString(GL.Enums.ARB_vertex_program target, GL.Enums.ARB_vertex_program format, Int32 len, [In, Out] object @string) { - System.Runtime.InteropServices.GCHandle @string_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@string, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle @string_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@string, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glProgramStringARB((GL.Enums.ARB_vertex_program)target, (GL.Enums.ARB_vertex_program)format, (Int32)len, (void*)@string_ptr.AddrOfPinnedObject()); } finally { - @string_ptr.Free(); } } } @@ -18234,14 +18156,15 @@ namespace OpenTK.OpenGL public static unsafe void DeletePrograms(Int32 n, Int32* programs) { - { - Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs); - } + unsafe + { + Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs); + } } [System.CLSCompliant(false)] public static - void DeletePrograms(Int32 n, [In, Out] UInt32[] programs) + void DeletePrograms(Int32 n, UInt32[] programs) { unsafe { @@ -18253,7 +18176,7 @@ namespace OpenTK.OpenGL } public static - void DeletePrograms(Int32 n, [In, Out] Int32[] programs) + void DeletePrograms(Int32 n, Int32[] programs) { unsafe { @@ -18300,15 +18223,15 @@ namespace OpenTK.OpenGL public static unsafe void GenPrograms(Int32 n, [Out] Int32* programs) { - programs = default(Int32*); - { - Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs); - } + unsafe + { + Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs); + } } [System.CLSCompliant(false)] public static - void GenPrograms(Int32 n, [In, Out] UInt32[] programs) + void GenPrograms(Int32 n, [Out] UInt32[] programs) { unsafe { @@ -18320,7 +18243,7 @@ namespace OpenTK.OpenGL } public static - void GenPrograms(Int32 n, [In, Out] Int32[] programs) + void GenPrograms(Int32 n, [Out] Int32[] programs) { unsafe { @@ -18335,13 +18258,12 @@ namespace OpenTK.OpenGL public static void GenPrograms(Int32 n, [Out] out UInt32 programs) { - programs = default(UInt32); unsafe { fixed (UInt32* programs_ptr = &programs) { Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs_ptr); - programs = *programs_ptr; + programs = *programs_ptr; } } } @@ -18349,13 +18271,12 @@ namespace OpenTK.OpenGL public static void GenPrograms(Int32 n, [Out] out Int32 programs) { - programs = default(Int32); unsafe { fixed (Int32* programs_ptr = &programs) { Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs_ptr); - programs = *programs_ptr; + programs = *programs_ptr; } } } @@ -18384,14 +18305,15 @@ namespace OpenTK.OpenGL public static unsafe void ProgramEnvParameter4(GL.Enums.ARB_vertex_program target, Int32 index, Double* @params) { - { - Delegates.glProgramEnvParameter4dvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Double*)@params); - } + unsafe + { + Delegates.glProgramEnvParameter4dvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Double*)@params); + } } [System.CLSCompliant(false)] public static - void ProgramEnvParameter4(GL.Enums.ARB_vertex_program target, UInt32 index, [In, Out] Double[] @params) + void ProgramEnvParameter4(GL.Enums.ARB_vertex_program target, UInt32 index, Double[] @params) { unsafe { @@ -18403,7 +18325,7 @@ namespace OpenTK.OpenGL } public static - void ProgramEnvParameter4(GL.Enums.ARB_vertex_program target, Int32 index, [In, Out] Double[] @params) + void ProgramEnvParameter4(GL.Enums.ARB_vertex_program target, Int32 index, Double[] @params) { unsafe { @@ -18463,14 +18385,15 @@ namespace OpenTK.OpenGL public static unsafe void ProgramEnvParameter4(GL.Enums.ARB_vertex_program target, Int32 index, Single* @params) { - { - Delegates.glProgramEnvParameter4fvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Single*)@params); - } + unsafe + { + Delegates.glProgramEnvParameter4fvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Single*)@params); + } } [System.CLSCompliant(false)] public static - void ProgramEnvParameter4(GL.Enums.ARB_vertex_program target, UInt32 index, [In, Out] Single[] @params) + void ProgramEnvParameter4(GL.Enums.ARB_vertex_program target, UInt32 index, Single[] @params) { unsafe { @@ -18482,7 +18405,7 @@ namespace OpenTK.OpenGL } public static - void ProgramEnvParameter4(GL.Enums.ARB_vertex_program target, Int32 index, [In, Out] Single[] @params) + void ProgramEnvParameter4(GL.Enums.ARB_vertex_program target, Int32 index, Single[] @params) { unsafe { @@ -18542,14 +18465,15 @@ namespace OpenTK.OpenGL public static unsafe void ProgramLocalParameter4(GL.Enums.ARB_vertex_program target, Int32 index, Double* @params) { - { - Delegates.glProgramLocalParameter4dvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Double*)@params); - } + unsafe + { + Delegates.glProgramLocalParameter4dvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Double*)@params); + } } [System.CLSCompliant(false)] public static - void ProgramLocalParameter4(GL.Enums.ARB_vertex_program target, UInt32 index, [In, Out] Double[] @params) + void ProgramLocalParameter4(GL.Enums.ARB_vertex_program target, UInt32 index, Double[] @params) { unsafe { @@ -18561,7 +18485,7 @@ namespace OpenTK.OpenGL } public static - void ProgramLocalParameter4(GL.Enums.ARB_vertex_program target, Int32 index, [In, Out] Double[] @params) + void ProgramLocalParameter4(GL.Enums.ARB_vertex_program target, Int32 index, Double[] @params) { unsafe { @@ -18621,14 +18545,15 @@ namespace OpenTK.OpenGL public static unsafe void ProgramLocalParameter4(GL.Enums.ARB_vertex_program target, Int32 index, Single* @params) { - { - Delegates.glProgramLocalParameter4fvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Single*)@params); - } + unsafe + { + Delegates.glProgramLocalParameter4fvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Single*)@params); + } } [System.CLSCompliant(false)] public static - void ProgramLocalParameter4(GL.Enums.ARB_vertex_program target, UInt32 index, [In, Out] Single[] @params) + void ProgramLocalParameter4(GL.Enums.ARB_vertex_program target, UInt32 index, Single[] @params) { unsafe { @@ -18640,7 +18565,7 @@ namespace OpenTK.OpenGL } public static - void ProgramLocalParameter4(GL.Enums.ARB_vertex_program target, Int32 index, [In, Out] Single[] @params) + void ProgramLocalParameter4(GL.Enums.ARB_vertex_program target, Int32 index, Single[] @params) { unsafe { @@ -18687,15 +18612,15 @@ namespace OpenTK.OpenGL public static unsafe void GetProgramEnvParameterv(GL.Enums.ARB_vertex_program target, Int32 index, [Out] Double* @params) { - @params = default(Double*); - { - Delegates.glGetProgramEnvParameterdvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Double*)@params); - } + unsafe + { + Delegates.glGetProgramEnvParameterdvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Double*)@params); + } } [System.CLSCompliant(false)] public static - void GetProgramEnvParameterv(GL.Enums.ARB_vertex_program target, UInt32 index, [In, Out] Double[] @params) + void GetProgramEnvParameterv(GL.Enums.ARB_vertex_program target, UInt32 index, [Out] Double[] @params) { unsafe { @@ -18707,7 +18632,7 @@ namespace OpenTK.OpenGL } public static - void GetProgramEnvParameterv(GL.Enums.ARB_vertex_program target, Int32 index, [In, Out] Double[] @params) + void GetProgramEnvParameterv(GL.Enums.ARB_vertex_program target, Int32 index, [Out] Double[] @params) { unsafe { @@ -18722,13 +18647,12 @@ namespace OpenTK.OpenGL public static void GetProgramEnvParameterv(GL.Enums.ARB_vertex_program target, UInt32 index, [Out] out Double @params) { - @params = default(Double); unsafe { fixed (Double* @params_ptr = &@params) { Delegates.glGetProgramEnvParameterdvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Double*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -18736,13 +18660,12 @@ namespace OpenTK.OpenGL public static void GetProgramEnvParameterv(GL.Enums.ARB_vertex_program target, Int32 index, [Out] out Double @params) { - @params = default(Double); unsafe { fixed (Double* @params_ptr = &@params) { Delegates.glGetProgramEnvParameterdvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Double*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -18758,15 +18681,15 @@ namespace OpenTK.OpenGL public static unsafe void GetProgramEnvParameterv(GL.Enums.ARB_vertex_program target, Int32 index, [Out] Single* @params) { - @params = default(Single*); - { - Delegates.glGetProgramEnvParameterfvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Single*)@params); - } + unsafe + { + Delegates.glGetProgramEnvParameterfvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Single*)@params); + } } [System.CLSCompliant(false)] public static - void GetProgramEnvParameterv(GL.Enums.ARB_vertex_program target, UInt32 index, [In, Out] Single[] @params) + void GetProgramEnvParameterv(GL.Enums.ARB_vertex_program target, UInt32 index, [Out] Single[] @params) { unsafe { @@ -18778,7 +18701,7 @@ namespace OpenTK.OpenGL } public static - void GetProgramEnvParameterv(GL.Enums.ARB_vertex_program target, Int32 index, [In, Out] Single[] @params) + void GetProgramEnvParameterv(GL.Enums.ARB_vertex_program target, Int32 index, [Out] Single[] @params) { unsafe { @@ -18793,13 +18716,12 @@ namespace OpenTK.OpenGL public static void GetProgramEnvParameterv(GL.Enums.ARB_vertex_program target, UInt32 index, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetProgramEnvParameterfvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -18807,13 +18729,12 @@ namespace OpenTK.OpenGL public static void GetProgramEnvParameterv(GL.Enums.ARB_vertex_program target, Int32 index, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetProgramEnvParameterfvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -18829,15 +18750,15 @@ namespace OpenTK.OpenGL public static unsafe void GetProgramLocalParameterv(GL.Enums.ARB_vertex_program target, Int32 index, [Out] Double* @params) { - @params = default(Double*); - { - Delegates.glGetProgramLocalParameterdvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Double*)@params); - } + unsafe + { + Delegates.glGetProgramLocalParameterdvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Double*)@params); + } } [System.CLSCompliant(false)] public static - void GetProgramLocalParameterv(GL.Enums.ARB_vertex_program target, UInt32 index, [In, Out] Double[] @params) + void GetProgramLocalParameterv(GL.Enums.ARB_vertex_program target, UInt32 index, [Out] Double[] @params) { unsafe { @@ -18849,7 +18770,7 @@ namespace OpenTK.OpenGL } public static - void GetProgramLocalParameterv(GL.Enums.ARB_vertex_program target, Int32 index, [In, Out] Double[] @params) + void GetProgramLocalParameterv(GL.Enums.ARB_vertex_program target, Int32 index, [Out] Double[] @params) { unsafe { @@ -18864,13 +18785,12 @@ namespace OpenTK.OpenGL public static void GetProgramLocalParameterv(GL.Enums.ARB_vertex_program target, UInt32 index, [Out] out Double @params) { - @params = default(Double); unsafe { fixed (Double* @params_ptr = &@params) { Delegates.glGetProgramLocalParameterdvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Double*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -18878,13 +18798,12 @@ namespace OpenTK.OpenGL public static void GetProgramLocalParameterv(GL.Enums.ARB_vertex_program target, Int32 index, [Out] out Double @params) { - @params = default(Double); unsafe { fixed (Double* @params_ptr = &@params) { Delegates.glGetProgramLocalParameterdvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Double*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -18900,15 +18819,15 @@ namespace OpenTK.OpenGL public static unsafe void GetProgramLocalParameterv(GL.Enums.ARB_vertex_program target, Int32 index, [Out] Single* @params) { - @params = default(Single*); - { - Delegates.glGetProgramLocalParameterfvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Single*)@params); - } + unsafe + { + Delegates.glGetProgramLocalParameterfvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Single*)@params); + } } [System.CLSCompliant(false)] public static - void GetProgramLocalParameterv(GL.Enums.ARB_vertex_program target, UInt32 index, [In, Out] Single[] @params) + void GetProgramLocalParameterv(GL.Enums.ARB_vertex_program target, UInt32 index, [Out] Single[] @params) { unsafe { @@ -18920,7 +18839,7 @@ namespace OpenTK.OpenGL } public static - void GetProgramLocalParameterv(GL.Enums.ARB_vertex_program target, Int32 index, [In, Out] Single[] @params) + void GetProgramLocalParameterv(GL.Enums.ARB_vertex_program target, Int32 index, [Out] Single[] @params) { unsafe { @@ -18935,13 +18854,12 @@ namespace OpenTK.OpenGL public static void GetProgramLocalParameterv(GL.Enums.ARB_vertex_program target, UInt32 index, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetProgramLocalParameterfvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -18949,13 +18867,12 @@ namespace OpenTK.OpenGL public static void GetProgramLocalParameterv(GL.Enums.ARB_vertex_program target, Int32 index, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetProgramLocalParameterfvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -18968,7 +18885,7 @@ namespace OpenTK.OpenGL } public static - void GetProgramv(GL.Enums.ARB_vertex_program target, GL.Enums.ARB_vertex_program pname, [In, Out] Int32[] @params) + void GetProgramv(GL.Enums.ARB_vertex_program target, GL.Enums.ARB_vertex_program pname, [Out] Int32[] @params) { unsafe { @@ -18982,13 +18899,12 @@ namespace OpenTK.OpenGL public static void GetProgramv(GL.Enums.ARB_vertex_program target, GL.Enums.ARB_vertex_program pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetProgramivARB((GL.Enums.ARB_vertex_program)target, (GL.Enums.ARB_vertex_program)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -19003,16 +18919,15 @@ namespace OpenTK.OpenGL public static void GetProgramString(GL.Enums.ARB_vertex_program target, GL.Enums.ARB_vertex_program pname, [In, Out] object @string) { - System.Runtime.InteropServices.GCHandle @string_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@string, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle @string_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@string, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glGetProgramStringARB((GL.Enums.ARB_vertex_program)target, (GL.Enums.ARB_vertex_program)pname, (void*)@string_ptr.AddrOfPinnedObject()); } finally { - @string_ptr.Free(); } } } @@ -19028,15 +18943,15 @@ namespace OpenTK.OpenGL public static unsafe void GetVertexAttribv(Int32 index, GL.Enums.ARB_vertex_program pname, [Out] Double* @params) { - @params = default(Double*); - { - Delegates.glGetVertexAttribdvARB((UInt32)index, (GL.Enums.ARB_vertex_program)pname, (Double*)@params); - } + unsafe + { + Delegates.glGetVertexAttribdvARB((UInt32)index, (GL.Enums.ARB_vertex_program)pname, (Double*)@params); + } } [System.CLSCompliant(false)] public static - void GetVertexAttribv(UInt32 index, GL.Enums.ARB_vertex_program pname, [In, Out] Double[] @params) + void GetVertexAttribv(UInt32 index, GL.Enums.ARB_vertex_program pname, [Out] Double[] @params) { unsafe { @@ -19048,7 +18963,7 @@ namespace OpenTK.OpenGL } public static - void GetVertexAttribv(Int32 index, GL.Enums.ARB_vertex_program pname, [In, Out] Double[] @params) + void GetVertexAttribv(Int32 index, GL.Enums.ARB_vertex_program pname, [Out] Double[] @params) { unsafe { @@ -19063,13 +18978,12 @@ namespace OpenTK.OpenGL public static void GetVertexAttribv(UInt32 index, GL.Enums.ARB_vertex_program pname, [Out] out Double @params) { - @params = default(Double); unsafe { fixed (Double* @params_ptr = &@params) { Delegates.glGetVertexAttribdvARB((UInt32)index, (GL.Enums.ARB_vertex_program)pname, (Double*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -19077,13 +18991,12 @@ namespace OpenTK.OpenGL public static void GetVertexAttribv(Int32 index, GL.Enums.ARB_vertex_program pname, [Out] out Double @params) { - @params = default(Double); unsafe { fixed (Double* @params_ptr = &@params) { Delegates.glGetVertexAttribdvARB((UInt32)index, (GL.Enums.ARB_vertex_program)pname, (Double*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -19099,15 +19012,15 @@ namespace OpenTK.OpenGL public static unsafe void GetVertexAttribv(Int32 index, GL.Enums.ARB_vertex_program pname, [Out] Single* @params) { - @params = default(Single*); - { - Delegates.glGetVertexAttribfvARB((UInt32)index, (GL.Enums.ARB_vertex_program)pname, (Single*)@params); - } + unsafe + { + Delegates.glGetVertexAttribfvARB((UInt32)index, (GL.Enums.ARB_vertex_program)pname, (Single*)@params); + } } [System.CLSCompliant(false)] public static - void GetVertexAttribv(UInt32 index, GL.Enums.ARB_vertex_program pname, [In, Out] Single[] @params) + void GetVertexAttribv(UInt32 index, GL.Enums.ARB_vertex_program pname, [Out] Single[] @params) { unsafe { @@ -19119,7 +19032,7 @@ namespace OpenTK.OpenGL } public static - void GetVertexAttribv(Int32 index, GL.Enums.ARB_vertex_program pname, [In, Out] Single[] @params) + void GetVertexAttribv(Int32 index, GL.Enums.ARB_vertex_program pname, [Out] Single[] @params) { unsafe { @@ -19134,13 +19047,12 @@ namespace OpenTK.OpenGL public static void GetVertexAttribv(UInt32 index, GL.Enums.ARB_vertex_program pname, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetVertexAttribfvARB((UInt32)index, (GL.Enums.ARB_vertex_program)pname, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -19148,13 +19060,12 @@ namespace OpenTK.OpenGL public static void GetVertexAttribv(Int32 index, GL.Enums.ARB_vertex_program pname, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetVertexAttribfvARB((UInt32)index, (GL.Enums.ARB_vertex_program)pname, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -19170,15 +19081,15 @@ namespace OpenTK.OpenGL public static unsafe void GetVertexAttribv(Int32 index, GL.Enums.ARB_vertex_program pname, [Out] Int32* @params) { - @params = default(Int32*); - { - Delegates.glGetVertexAttribivARB((UInt32)index, (GL.Enums.ARB_vertex_program)pname, (Int32*)@params); - } + unsafe + { + Delegates.glGetVertexAttribivARB((UInt32)index, (GL.Enums.ARB_vertex_program)pname, (Int32*)@params); + } } [System.CLSCompliant(false)] public static - void GetVertexAttribv(UInt32 index, GL.Enums.ARB_vertex_program pname, [In, Out] Int32[] @params) + void GetVertexAttribv(UInt32 index, GL.Enums.ARB_vertex_program pname, [Out] Int32[] @params) { unsafe { @@ -19190,7 +19101,7 @@ namespace OpenTK.OpenGL } public static - void GetVertexAttribv(Int32 index, GL.Enums.ARB_vertex_program pname, [In, Out] Int32[] @params) + void GetVertexAttribv(Int32 index, GL.Enums.ARB_vertex_program pname, [Out] Int32[] @params) { unsafe { @@ -19205,13 +19116,12 @@ namespace OpenTK.OpenGL public static void GetVertexAttribv(UInt32 index, GL.Enums.ARB_vertex_program pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetVertexAttribivARB((UInt32)index, (GL.Enums.ARB_vertex_program)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -19219,13 +19129,12 @@ namespace OpenTK.OpenGL public static void GetVertexAttribv(Int32 index, GL.Enums.ARB_vertex_program pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetVertexAttribivARB((UInt32)index, (GL.Enums.ARB_vertex_program)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -19241,26 +19150,25 @@ namespace OpenTK.OpenGL public static unsafe void GetVertexAttribPointerv(Int32 index, GL.Enums.ARB_vertex_program pname, [Out] void* pointer) { - pointer = default(void*); - { - Delegates.glGetVertexAttribPointervARB((UInt32)index, (GL.Enums.ARB_vertex_program)pname, (void*)pointer); - } + unsafe + { + Delegates.glGetVertexAttribPointervARB((UInt32)index, (GL.Enums.ARB_vertex_program)pname, (void*)pointer); + } } [System.CLSCompliant(false)] public static void GetVertexAttribPointerv(UInt32 index, GL.Enums.ARB_vertex_program pname, [In, Out] object pointer) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glGetVertexAttribPointervARB((UInt32)index, (GL.Enums.ARB_vertex_program)pname, (void*)pointer_ptr.AddrOfPinnedObject()); } finally { - pointer_ptr.Free(); } } } @@ -19268,16 +19176,15 @@ namespace OpenTK.OpenGL public static void GetVertexAttribPointerv(Int32 index, GL.Enums.ARB_vertex_program pname, [In, Out] object pointer) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glGetVertexAttribPointervARB((UInt32)index, (GL.Enums.ARB_vertex_program)pname, (void*)pointer_ptr.AddrOfPinnedObject()); } finally { - pointer_ptr.Free(); } } } @@ -19319,14 +19226,15 @@ namespace OpenTK.OpenGL public static unsafe void DeleteBuffers(Int32 n, Int32* buffers) { - { - Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers); - } + unsafe + { + Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers); + } } [System.CLSCompliant(false)] public static - void DeleteBuffers(Int32 n, [In, Out] UInt32[] buffers) + void DeleteBuffers(Int32 n, UInt32[] buffers) { unsafe { @@ -19338,7 +19246,7 @@ namespace OpenTK.OpenGL } public static - void DeleteBuffers(Int32 n, [In, Out] Int32[] buffers) + void DeleteBuffers(Int32 n, Int32[] buffers) { unsafe { @@ -19385,15 +19293,15 @@ namespace OpenTK.OpenGL public static unsafe void GenBuffers(Int32 n, [Out] Int32* buffers) { - buffers = default(Int32*); - { - Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers); - } + unsafe + { + Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers); + } } [System.CLSCompliant(false)] public static - void GenBuffers(Int32 n, [In, Out] UInt32[] buffers) + void GenBuffers(Int32 n, [Out] UInt32[] buffers) { unsafe { @@ -19405,7 +19313,7 @@ namespace OpenTK.OpenGL } public static - void GenBuffers(Int32 n, [In, Out] Int32[] buffers) + void GenBuffers(Int32 n, [Out] Int32[] buffers) { unsafe { @@ -19420,13 +19328,12 @@ namespace OpenTK.OpenGL public static void GenBuffers(Int32 n, [Out] out UInt32 buffers) { - buffers = default(UInt32); unsafe { fixed (UInt32* buffers_ptr = &buffers) { Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers_ptr); - buffers = *buffers_ptr; + buffers = *buffers_ptr; } } } @@ -19434,13 +19341,12 @@ namespace OpenTK.OpenGL public static void GenBuffers(Int32 n, [Out] out Int32 buffers) { - buffers = default(Int32); unsafe { fixed (Int32* buffers_ptr = &buffers) { Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers_ptr); - buffers = *buffers_ptr; + buffers = *buffers_ptr; } } } @@ -19468,16 +19374,15 @@ namespace OpenTK.OpenGL public static void BufferData(GL.Enums.ARB_vertex_buffer_object target, IntPtr size, [In, Out] object data, GL.Enums.ARB_vertex_buffer_object usage) { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glBufferDataARB((GL.Enums.ARB_vertex_buffer_object)target, (IntPtr)size, (void*)data_ptr.AddrOfPinnedObject(), (GL.Enums.ARB_vertex_buffer_object)usage); } finally { - data_ptr.Free(); } } } @@ -19492,16 +19397,15 @@ namespace OpenTK.OpenGL public static void BufferSubData(GL.Enums.ARB_vertex_buffer_object target, IntPtr offset, IntPtr size, [In, Out] object data) { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glBufferSubDataARB((GL.Enums.ARB_vertex_buffer_object)target, (IntPtr)offset, (IntPtr)size, (void*)data_ptr.AddrOfPinnedObject()); } finally { - data_ptr.Free(); } } } @@ -19516,16 +19420,15 @@ namespace OpenTK.OpenGL public static void GetBufferSubData(GL.Enums.ARB_vertex_buffer_object target, IntPtr offset, IntPtr size, [In, Out] object data) { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glGetBufferSubDataARB((GL.Enums.ARB_vertex_buffer_object)target, (IntPtr)offset, (IntPtr)size, (void*)data_ptr.AddrOfPinnedObject()); } finally { - data_ptr.Free(); } } } @@ -19550,7 +19453,7 @@ namespace OpenTK.OpenGL } public static - void GetBufferParameterv(GL.Enums.ARB_vertex_buffer_object target, GL.Enums.ARB_vertex_buffer_object pname, [In, Out] Int32[] @params) + void GetBufferParameterv(GL.Enums.ARB_vertex_buffer_object target, GL.Enums.ARB_vertex_buffer_object pname, [Out] Int32[] @params) { unsafe { @@ -19564,13 +19467,12 @@ namespace OpenTK.OpenGL public static void GetBufferParameterv(GL.Enums.ARB_vertex_buffer_object target, GL.Enums.ARB_vertex_buffer_object pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetBufferParameterivARB((GL.Enums.ARB_vertex_buffer_object)target, (GL.Enums.ARB_vertex_buffer_object)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -19585,16 +19487,15 @@ namespace OpenTK.OpenGL public static void GetBufferPointerv(GL.Enums.ARB_vertex_buffer_object target, GL.Enums.ARB_vertex_buffer_object pname, [In, Out] object @params) { - System.Runtime.InteropServices.GCHandle @params_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@params, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle @params_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@params, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glGetBufferPointervARB((GL.Enums.ARB_vertex_buffer_object)target, (GL.Enums.ARB_vertex_buffer_object)pname, (void*)@params_ptr.AddrOfPinnedObject()); } finally { - @params_ptr.Free(); } } } @@ -19610,15 +19511,15 @@ namespace OpenTK.OpenGL public static unsafe void GenQueries(Int32 n, [Out] Int32* ids) { - ids = default(Int32*); - { - Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids); - } + unsafe + { + Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids); + } } [System.CLSCompliant(false)] public static - void GenQueries(Int32 n, [In, Out] UInt32[] ids) + void GenQueries(Int32 n, [Out] UInt32[] ids) { unsafe { @@ -19630,7 +19531,7 @@ namespace OpenTK.OpenGL } public static - void GenQueries(Int32 n, [In, Out] Int32[] ids) + void GenQueries(Int32 n, [Out] Int32[] ids) { unsafe { @@ -19645,13 +19546,12 @@ namespace OpenTK.OpenGL public static void GenQueries(Int32 n, [Out] out UInt32 ids) { - ids = default(UInt32); unsafe { fixed (UInt32* ids_ptr = &ids) { Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids_ptr); - ids = *ids_ptr; + ids = *ids_ptr; } } } @@ -19659,13 +19559,12 @@ namespace OpenTK.OpenGL public static void GenQueries(Int32 n, [Out] out Int32 ids) { - ids = default(Int32); unsafe { fixed (Int32* ids_ptr = &ids) { Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids_ptr); - ids = *ids_ptr; + ids = *ids_ptr; } } } @@ -19681,14 +19580,15 @@ namespace OpenTK.OpenGL public static unsafe void DeleteQueries(Int32 n, Int32* ids) { - { - Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids); - } + unsafe + { + Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids); + } } [System.CLSCompliant(false)] public static - void DeleteQueries(Int32 n, [In, Out] UInt32[] ids) + void DeleteQueries(Int32 n, UInt32[] ids) { unsafe { @@ -19700,7 +19600,7 @@ namespace OpenTK.OpenGL } public static - void DeleteQueries(Int32 n, [In, Out] Int32[] ids) + void DeleteQueries(Int32 n, Int32[] ids) { unsafe { @@ -19776,7 +19676,7 @@ namespace OpenTK.OpenGL } public static - void GetQueryv(GL.Enums.ARB_occlusion_query target, GL.Enums.ARB_occlusion_query pname, [In, Out] Int32[] @params) + void GetQueryv(GL.Enums.ARB_occlusion_query target, GL.Enums.ARB_occlusion_query pname, [Out] Int32[] @params) { unsafe { @@ -19790,13 +19690,12 @@ namespace OpenTK.OpenGL public static void GetQueryv(GL.Enums.ARB_occlusion_query target, GL.Enums.ARB_occlusion_query pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetQueryivARB((GL.Enums.ARB_occlusion_query)target, (GL.Enums.ARB_occlusion_query)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -19810,29 +19709,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetQueryObjectv(Int32 id, GL.Enums.ARB_occlusion_query pname, [Out] Int32* @params) - { - @params = default(Int32*); - { - Delegates.glGetQueryObjectivARB((UInt32)id, (GL.Enums.ARB_occlusion_query)pname, (Int32*)@params); - } - } - - [System.CLSCompliant(false)] - public static - void GetQueryObjectv(UInt32 id, GL.Enums.ARB_occlusion_query pname, [In, Out] Int32[] @params) - { - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetQueryObjectivARB((UInt32)id, (GL.Enums.ARB_occlusion_query)pname, (Int32*)@params_ptr); - } - } - } - - public static - void GetQueryObjectv(Int32 id, GL.Enums.ARB_occlusion_query pname, [In, Out] Int32[] @params) + void GetQueryObjectv(UInt32 id, GL.Enums.ARB_occlusion_query pname, [Out] Int32[] @params) { unsafe { @@ -19847,27 +19724,12 @@ namespace OpenTK.OpenGL public static void GetQueryObjectv(UInt32 id, GL.Enums.ARB_occlusion_query pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetQueryObjectivARB((UInt32)id, (GL.Enums.ARB_occlusion_query)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - } - - public static - void GetQueryObjectv(Int32 id, GL.Enums.ARB_occlusion_query pname, [Out] out Int32 @params) - { - @params = default(Int32); - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetQueryObjectivARB((UInt32)id, (GL.Enums.ARB_occlusion_query)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -19881,7 +19743,17 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void GetQueryObjectv(UInt32 id, GL.Enums.ARB_occlusion_query pname, [In, Out] UInt32[] @params) + unsafe void GetQueryObjectv(Int32 id, GL.Enums.ARB_occlusion_query pname, [Out] Int32* @params) + { + unsafe + { + Delegates.glGetQueryObjectuivARB((UInt32)id, (GL.Enums.ARB_occlusion_query)pname, (UInt32*)@params); + } + } + + [System.CLSCompliant(false)] + public static + void GetQueryObjectv(UInt32 id, GL.Enums.ARB_occlusion_query pname, [Out] UInt32[] @params) { unsafe { @@ -19892,17 +19764,41 @@ namespace OpenTK.OpenGL } } + public static + void GetQueryObjectv(Int32 id, GL.Enums.ARB_occlusion_query pname, [Out] Int32[] @params) + { + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetQueryObjectuivARB((UInt32)id, (GL.Enums.ARB_occlusion_query)pname, (UInt32*)@params_ptr); + } + } + } + [System.CLSCompliant(false)] public static void GetQueryObjectv(UInt32 id, GL.Enums.ARB_occlusion_query pname, [Out] out UInt32 @params) { - @params = default(UInt32); unsafe { fixed (UInt32* @params_ptr = &@params) { Delegates.glGetQueryObjectuivARB((UInt32)id, (GL.Enums.ARB_occlusion_query)pname, (UInt32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; + } + } + } + + public static + void GetQueryObjectv(Int32 id, GL.Enums.ARB_occlusion_query pname, [Out] out Int32 @params) + { + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetQueryObjectuivARB((UInt32)id, (GL.Enums.ARB_occlusion_query)pname, (UInt32*)@params_ptr); + @params = *@params_ptr; } } } @@ -19956,14 +19852,15 @@ namespace OpenTK.OpenGL public static unsafe void ShaderSource(Int32 shaderObj, Int32 count, System.String[] @string, Int32* length) { - { - Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (System.String[])@string, (Int32*)length); - } + unsafe + { + Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (System.String[])@string, (Int32*)length); + } } [System.CLSCompliant(false)] public static - void ShaderSource(UInt32 shaderObj, Int32 count, System.String[] @string, [In, Out] Int32[] length) + void ShaderSource(UInt32 shaderObj, Int32 count, System.String[] @string, Int32[] length) { unsafe { @@ -19975,7 +19872,7 @@ namespace OpenTK.OpenGL } public static - void ShaderSource(Int32 shaderObj, Int32 count, System.String[] @string, [In, Out] Int32[] length) + void ShaderSource(Int32 shaderObj, Int32 count, System.String[] @string, Int32[] length) { unsafe { @@ -20138,7 +20035,7 @@ namespace OpenTK.OpenGL } public static - void Uniform1(Int32 location, Int32 count, [In, Out] Single[] value) + void Uniform1(Int32 location, Int32 count, Single[] value) { unsafe { @@ -20169,7 +20066,7 @@ namespace OpenTK.OpenGL } public static - void Uniform2fv(Int32 location, Int32 count, [In, Out] Single[] value) + void Uniform2fv(Int32 location, Int32 count, Single[] value) { unsafe { @@ -20200,7 +20097,7 @@ namespace OpenTK.OpenGL } public static - void Uniform3(Int32 location, Int32 count, [In, Out] Single[] value) + void Uniform3(Int32 location, Int32 count, Single[] value) { unsafe { @@ -20231,7 +20128,7 @@ namespace OpenTK.OpenGL } public static - void Uniform4(Int32 location, Int32 count, [In, Out] Single[] value) + void Uniform4(Int32 location, Int32 count, Single[] value) { unsafe { @@ -20262,7 +20159,7 @@ namespace OpenTK.OpenGL } public static - void Uniform1(Int32 location, Int32 count, [In, Out] Int32[] value) + void Uniform1(Int32 location, Int32 count, Int32[] value) { unsafe { @@ -20293,7 +20190,7 @@ namespace OpenTK.OpenGL } public static - void Uniform2iv(Int32 location, Int32 count, [In, Out] Int32[] value) + void Uniform2iv(Int32 location, Int32 count, Int32[] value) { unsafe { @@ -20324,7 +20221,7 @@ namespace OpenTK.OpenGL } public static - void Uniform3(Int32 location, Int32 count, [In, Out] Int32[] value) + void Uniform3(Int32 location, Int32 count, Int32[] value) { unsafe { @@ -20355,7 +20252,7 @@ namespace OpenTK.OpenGL } public static - void Uniform4(Int32 location, Int32 count, [In, Out] Int32[] value) + void Uniform4(Int32 location, Int32 count, Int32[] value) { unsafe { @@ -20410,15 +20307,15 @@ namespace OpenTK.OpenGL public static unsafe void GetObjectParameterv(Int32 obj, GL.Enums.ARB_shader_objects pname, [Out] Single* @params) { - @params = default(Single*); - { - Delegates.glGetObjectParameterfvARB((UInt32)obj, (GL.Enums.ARB_shader_objects)pname, (Single*)@params); - } + unsafe + { + Delegates.glGetObjectParameterfvARB((UInt32)obj, (GL.Enums.ARB_shader_objects)pname, (Single*)@params); + } } [System.CLSCompliant(false)] public static - void GetObjectParameterv(UInt32 obj, GL.Enums.ARB_shader_objects pname, [In, Out] Single[] @params) + void GetObjectParameterv(UInt32 obj, GL.Enums.ARB_shader_objects pname, [Out] Single[] @params) { unsafe { @@ -20430,7 +20327,7 @@ namespace OpenTK.OpenGL } public static - void GetObjectParameterv(Int32 obj, GL.Enums.ARB_shader_objects pname, [In, Out] Single[] @params) + void GetObjectParameterv(Int32 obj, GL.Enums.ARB_shader_objects pname, [Out] Single[] @params) { unsafe { @@ -20445,13 +20342,12 @@ namespace OpenTK.OpenGL public static void GetObjectParameterv(UInt32 obj, GL.Enums.ARB_shader_objects pname, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetObjectParameterfvARB((UInt32)obj, (GL.Enums.ARB_shader_objects)pname, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -20459,13 +20355,12 @@ namespace OpenTK.OpenGL public static void GetObjectParameterv(Int32 obj, GL.Enums.ARB_shader_objects pname, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetObjectParameterfvARB((UInt32)obj, (GL.Enums.ARB_shader_objects)pname, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -20481,15 +20376,15 @@ namespace OpenTK.OpenGL public static unsafe void GetObjectParameterv(Int32 obj, GL.Enums.ARB_shader_objects pname, [Out] Int32* @params) { - @params = default(Int32*); - { - Delegates.glGetObjectParameterivARB((UInt32)obj, (GL.Enums.ARB_shader_objects)pname, (Int32*)@params); - } + unsafe + { + Delegates.glGetObjectParameterivARB((UInt32)obj, (GL.Enums.ARB_shader_objects)pname, (Int32*)@params); + } } [System.CLSCompliant(false)] public static - void GetObjectParameterv(UInt32 obj, GL.Enums.ARB_shader_objects pname, [In, Out] Int32[] @params) + void GetObjectParameterv(UInt32 obj, GL.Enums.ARB_shader_objects pname, [Out] Int32[] @params) { unsafe { @@ -20501,7 +20396,7 @@ namespace OpenTK.OpenGL } public static - void GetObjectParameterv(Int32 obj, GL.Enums.ARB_shader_objects pname, [In, Out] Int32[] @params) + void GetObjectParameterv(Int32 obj, GL.Enums.ARB_shader_objects pname, [Out] Int32[] @params) { unsafe { @@ -20516,13 +20411,12 @@ namespace OpenTK.OpenGL public static void GetObjectParameterv(UInt32 obj, GL.Enums.ARB_shader_objects pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetObjectParameterivARB((UInt32)obj, (GL.Enums.ARB_shader_objects)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -20530,13 +20424,12 @@ namespace OpenTK.OpenGL public static void GetObjectParameterv(Int32 obj, GL.Enums.ARB_shader_objects pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetObjectParameterivARB((UInt32)obj, (GL.Enums.ARB_shader_objects)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -20552,18 +20445,16 @@ namespace OpenTK.OpenGL public static unsafe void GetInfoLog(Int32 obj, Int32 maxLength, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog) { - length = default(Int32*); - infoLog = default(System.Text.StringBuilder); - { - Delegates.glGetInfoLogARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (System.Text.StringBuilder)infoLog); - } + unsafe + { + Delegates.glGetInfoLogARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (System.Text.StringBuilder)infoLog); + } } [System.CLSCompliant(false)] public static - void GetInfoLog(UInt32 obj, Int32 maxLength, [In, Out] Int32[] length, [Out] System.Text.StringBuilder infoLog) + void GetInfoLog(UInt32 obj, Int32 maxLength, [Out] Int32[] length, [Out] System.Text.StringBuilder infoLog) { - infoLog = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = length) @@ -20574,9 +20465,8 @@ namespace OpenTK.OpenGL } public static - void GetInfoLog(Int32 obj, Int32 maxLength, [In, Out] Int32[] length, [Out] System.Text.StringBuilder infoLog) + void GetInfoLog(Int32 obj, Int32 maxLength, [Out] Int32[] length, [Out] System.Text.StringBuilder infoLog) { - infoLog = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = length) @@ -20590,14 +20480,12 @@ namespace OpenTK.OpenGL public static void GetInfoLog(UInt32 obj, Int32 maxLength, [Out] out Int32 length, [Out] System.Text.StringBuilder infoLog) { - length = default(Int32); - infoLog = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = &length) { Delegates.glGetInfoLogARB((UInt32)obj, (Int32)maxLength, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog); - length = *length_ptr; + length = *length_ptr; } } } @@ -20605,14 +20493,12 @@ namespace OpenTK.OpenGL public static void GetInfoLog(Int32 obj, Int32 maxLength, [Out] out Int32 length, [Out] System.Text.StringBuilder infoLog) { - length = default(Int32); - infoLog = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = &length) { Delegates.glGetInfoLogARB((UInt32)obj, (Int32)maxLength, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog); - length = *length_ptr; + length = *length_ptr; } } } @@ -20628,86 +20514,95 @@ namespace OpenTK.OpenGL public static unsafe void GetAttachedObjects(Int32 containerObj, Int32 maxCount, [Out] Int32* count, [Out] Int32* obj) { - count = default(Int32*); - obj = default(Int32*); - { - Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj); - } + unsafe + { + Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj); + } } [System.CLSCompliant(false)] public static - unsafe void GetAttachedObjects(UInt32 containerObj, Int32 maxCount, [Out] Int32* count, [In, Out] UInt32[] obj) + unsafe void GetAttachedObjects(UInt32 containerObj, Int32 maxCount, [Out] Int32* count, [Out] UInt32[] obj) { - count = default(Int32*); + unsafe + { fixed (UInt32* obj_ptr = obj) { Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void GetAttachedObjects(Int32 containerObj, Int32 maxCount, [Out] Int32* count, [In, Out] Int32[] obj) + unsafe void GetAttachedObjects(Int32 containerObj, Int32 maxCount, [Out] Int32* count, [Out] Int32[] obj) { - count = default(Int32*); + unsafe + { fixed (Int32* obj_ptr = obj) { Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void GetAttachedObjects(UInt32 containerObj, Int32 maxCount, [Out] Int32* count, [Out] out UInt32 obj) { - count = default(Int32*); - obj = default(UInt32); + unsafe + { fixed (UInt32* obj_ptr = &obj) { Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj_ptr); - obj = *obj_ptr; + obj = *obj_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetAttachedObjects(Int32 containerObj, Int32 maxCount, [Out] Int32* count, [Out] out Int32 obj) { - count = default(Int32*); - obj = default(Int32); + unsafe + { fixed (Int32* obj_ptr = &obj) { Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj_ptr); - obj = *obj_ptr; + obj = *obj_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetAttachedObjects(UInt32 containerObj, Int32 maxCount, [In, Out] Int32[] count, [Out] UInt32* obj) + unsafe void GetAttachedObjects(UInt32 containerObj, Int32 maxCount, [Out] Int32[] count, [Out] UInt32* obj) { - obj = default(UInt32*); + unsafe + { fixed (Int32* count_ptr = count) { Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj); } + } } [System.CLSCompliant(false)] public static - unsafe void GetAttachedObjects(Int32 containerObj, Int32 maxCount, [In, Out] Int32[] count, [Out] Int32* obj) + unsafe void GetAttachedObjects(Int32 containerObj, Int32 maxCount, [Out] Int32[] count, [Out] Int32* obj) { - obj = default(Int32*); + unsafe + { fixed (Int32* count_ptr = count) { Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj); } + } } [System.CLSCompliant(false)] public static - void GetAttachedObjects(UInt32 containerObj, Int32 maxCount, [In, Out] Int32[] count, [In, Out] UInt32[] obj) + void GetAttachedObjects(UInt32 containerObj, Int32 maxCount, [Out] Int32[] count, [Out] UInt32[] obj) { unsafe { @@ -20720,7 +20615,7 @@ namespace OpenTK.OpenGL } public static - void GetAttachedObjects(Int32 containerObj, Int32 maxCount, [In, Out] Int32[] count, [In, Out] Int32[] obj) + void GetAttachedObjects(Int32 containerObj, Int32 maxCount, [Out] Int32[] count, [Out] Int32[] obj) { unsafe { @@ -20734,31 +20629,29 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void GetAttachedObjects(UInt32 containerObj, Int32 maxCount, [In, Out] Int32[] count, [Out] out UInt32 obj) + void GetAttachedObjects(UInt32 containerObj, Int32 maxCount, [Out] Int32[] count, [Out] out UInt32 obj) { - obj = default(UInt32); unsafe { fixed (Int32* count_ptr = count) fixed (UInt32* obj_ptr = &obj) { Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr); - obj = *obj_ptr; + obj = *obj_ptr; } } } public static - void GetAttachedObjects(Int32 containerObj, Int32 maxCount, [In, Out] Int32[] count, [Out] out Int32 obj) + void GetAttachedObjects(Int32 containerObj, Int32 maxCount, [Out] Int32[] count, [Out] out Int32 obj) { - obj = default(Int32); unsafe { fixed (Int32* count_ptr = count) fixed (Int32* obj_ptr = &obj) { Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr); - obj = *obj_ptr; + obj = *obj_ptr; } } } @@ -20767,55 +20660,55 @@ namespace OpenTK.OpenGL public static unsafe void GetAttachedObjects(UInt32 containerObj, Int32 maxCount, [Out] out Int32 count, [Out] UInt32* obj) { - count = default(Int32); - obj = default(UInt32*); + unsafe + { fixed (Int32* count_ptr = &count) { Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj); - count = *count_ptr; + count = *count_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetAttachedObjects(Int32 containerObj, Int32 maxCount, [Out] out Int32 count, [Out] Int32* obj) { - count = default(Int32); - obj = default(Int32*); + unsafe + { fixed (Int32* count_ptr = &count) { Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj); - count = *count_ptr; + count = *count_ptr; } + } } [System.CLSCompliant(false)] public static - void GetAttachedObjects(UInt32 containerObj, Int32 maxCount, [Out] out Int32 count, [In, Out] UInt32[] obj) + void GetAttachedObjects(UInt32 containerObj, Int32 maxCount, [Out] out Int32 count, [Out] UInt32[] obj) { - count = default(Int32); unsafe { fixed (Int32* count_ptr = &count) fixed (UInt32* obj_ptr = obj) { Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr); - count = *count_ptr; + count = *count_ptr; } } } public static - void GetAttachedObjects(Int32 containerObj, Int32 maxCount, [Out] out Int32 count, [In, Out] Int32[] obj) + void GetAttachedObjects(Int32 containerObj, Int32 maxCount, [Out] out Int32 count, [Out] Int32[] obj) { - count = default(Int32); unsafe { fixed (Int32* count_ptr = &count) fixed (Int32* obj_ptr = obj) { Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr); - count = *count_ptr; + count = *count_ptr; } } } @@ -20824,16 +20717,14 @@ namespace OpenTK.OpenGL public static void GetAttachedObjects(UInt32 containerObj, Int32 maxCount, [Out] out Int32 count, [Out] out UInt32 obj) { - count = default(Int32); - obj = default(UInt32); unsafe { fixed (Int32* count_ptr = &count) fixed (UInt32* obj_ptr = &obj) { Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr); - count = *count_ptr; - obj = *obj_ptr; + count = *count_ptr; + obj = *obj_ptr; } } } @@ -20841,16 +20732,14 @@ namespace OpenTK.OpenGL public static void GetAttachedObjects(Int32 containerObj, Int32 maxCount, [Out] out Int32 count, [Out] out Int32 obj) { - count = default(Int32); - obj = default(Int32); unsafe { fixed (Int32* count_ptr = &count) fixed (Int32* obj_ptr = &obj) { Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr); - count = *count_ptr; - obj = *obj_ptr; + count = *count_ptr; + obj = *obj_ptr; } } } @@ -20879,360 +20768,356 @@ namespace OpenTK.OpenGL public static unsafe void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] GL.Enums.ARB_shader_objects* type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32*); - type = default(GL.Enums.ARB_shader_objects*); - name = default(System.Text.StringBuilder); - { - Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (GL.Enums.ARB_shader_objects*)type, (System.Text.StringBuilder)name); - } + unsafe + { + Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (GL.Enums.ARB_shader_objects*)type, (System.Text.StringBuilder)name); + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [In, Out] GL.Enums.ARB_shader_objects[] type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] GL.Enums.ARB_shader_objects[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (GL.Enums.ARB_shader_objects* type_ptr = type) { Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (GL.Enums.ARB_shader_objects*)type_ptr, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [In, Out] GL.Enums.ARB_shader_objects[] type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] GL.Enums.ARB_shader_objects[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (GL.Enums.ARB_shader_objects* type_ptr = type) { Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (GL.Enums.ARB_shader_objects*)type_ptr, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static unsafe void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] out GL.Enums.ARB_shader_objects type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32*); - type = default(GL.Enums.ARB_shader_objects); - name = default(System.Text.StringBuilder); + unsafe + { fixed (GL.Enums.ARB_shader_objects* type_ptr = &type) { Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (GL.Enums.ARB_shader_objects*)type_ptr, (System.Text.StringBuilder)name); - type = *type_ptr; + type = *type_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] out GL.Enums.ARB_shader_objects type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32*); - type = default(GL.Enums.ARB_shader_objects); - name = default(System.Text.StringBuilder); + unsafe + { fixed (GL.Enums.ARB_shader_objects* type_ptr = &type) { Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (GL.Enums.ARB_shader_objects*)type_ptr, (System.Text.StringBuilder)name); - type = *type_ptr; + type = *type_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [In, Out] Int32[] size, [Out] GL.Enums.ARB_shader_objects* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32[] size, [Out] GL.Enums.ARB_shader_objects* type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - type = default(GL.Enums.ARB_shader_objects*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = size) { Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size_ptr, (GL.Enums.ARB_shader_objects*)type, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32* length, [In, Out] Int32[] size, [Out] GL.Enums.ARB_shader_objects* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32[] size, [Out] GL.Enums.ARB_shader_objects* type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - type = default(GL.Enums.ARB_shader_objects*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = size) { Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size_ptr, (GL.Enums.ARB_shader_objects*)type, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [In, Out] Int32[] size, [In, Out] GL.Enums.ARB_shader_objects[] type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32[] size, [Out] GL.Enums.ARB_shader_objects[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = size) fixed (GL.Enums.ARB_shader_objects* type_ptr = type) { Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size_ptr, (GL.Enums.ARB_shader_objects*)type_ptr, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32* length, [In, Out] Int32[] size, [In, Out] GL.Enums.ARB_shader_objects[] type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32[] size, [Out] GL.Enums.ARB_shader_objects[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = size) fixed (GL.Enums.ARB_shader_objects* type_ptr = type) { Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size_ptr, (GL.Enums.ARB_shader_objects*)type_ptr, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [In, Out] Int32[] size, [Out] out GL.Enums.ARB_shader_objects type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32[] size, [Out] out GL.Enums.ARB_shader_objects type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - type = default(GL.Enums.ARB_shader_objects); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = size) fixed (GL.Enums.ARB_shader_objects* type_ptr = &type) { Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size_ptr, (GL.Enums.ARB_shader_objects*)type_ptr, (System.Text.StringBuilder)name); - type = *type_ptr; + type = *type_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32* length, [In, Out] Int32[] size, [Out] out GL.Enums.ARB_shader_objects type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32[] size, [Out] out GL.Enums.ARB_shader_objects type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - type = default(GL.Enums.ARB_shader_objects); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = size) fixed (GL.Enums.ARB_shader_objects* type_ptr = &type) { Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size_ptr, (GL.Enums.ARB_shader_objects*)type_ptr, (System.Text.StringBuilder)name); - type = *type_ptr; + type = *type_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] out Int32 size, [Out] GL.Enums.ARB_shader_objects* type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32); - type = default(GL.Enums.ARB_shader_objects*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = &size) { Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size_ptr, (GL.Enums.ARB_shader_objects*)type, (System.Text.StringBuilder)name); - size = *size_ptr; + size = *size_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32* length, [Out] out Int32 size, [Out] GL.Enums.ARB_shader_objects* type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32); - type = default(GL.Enums.ARB_shader_objects*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = &size) { Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size_ptr, (GL.Enums.ARB_shader_objects*)type, (System.Text.StringBuilder)name); - size = *size_ptr; + size = *size_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] out Int32 size, [In, Out] GL.Enums.ARB_shader_objects[] type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] out Int32 size, [Out] GL.Enums.ARB_shader_objects[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = &size) fixed (GL.Enums.ARB_shader_objects* type_ptr = type) { Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size_ptr, (GL.Enums.ARB_shader_objects*)type_ptr, (System.Text.StringBuilder)name); - size = *size_ptr; + size = *size_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32* length, [Out] out Int32 size, [In, Out] GL.Enums.ARB_shader_objects[] type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32* length, [Out] out Int32 size, [Out] GL.Enums.ARB_shader_objects[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = &size) fixed (GL.Enums.ARB_shader_objects* type_ptr = type) { Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size_ptr, (GL.Enums.ARB_shader_objects*)type_ptr, (System.Text.StringBuilder)name); - size = *size_ptr; + size = *size_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] out Int32 size, [Out] out GL.Enums.ARB_shader_objects type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32); - type = default(GL.Enums.ARB_shader_objects); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = &size) fixed (GL.Enums.ARB_shader_objects* type_ptr = &type) { Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size_ptr, (GL.Enums.ARB_shader_objects*)type_ptr, (System.Text.StringBuilder)name); - size = *size_ptr; - type = *type_ptr; + size = *size_ptr; + type = *type_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32* length, [Out] out Int32 size, [Out] out GL.Enums.ARB_shader_objects type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32); - type = default(GL.Enums.ARB_shader_objects); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = &size) fixed (GL.Enums.ARB_shader_objects* type_ptr = &type) { Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size_ptr, (GL.Enums.ARB_shader_objects*)type_ptr, (System.Text.StringBuilder)name); - size = *size_ptr; - type = *type_ptr; + size = *size_ptr; + type = *type_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [In, Out] Int32[] length, [Out] Int32* size, [Out] GL.Enums.ARB_shader_objects* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32[] length, [Out] Int32* size, [Out] GL.Enums.ARB_shader_objects* type, [Out] System.Text.StringBuilder name) { - size = default(Int32*); - type = default(GL.Enums.ARB_shader_objects*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = length) { Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size, (GL.Enums.ARB_shader_objects*)type, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [In, Out] Int32[] length, [Out] Int32* size, [Out] GL.Enums.ARB_shader_objects* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32[] length, [Out] Int32* size, [Out] GL.Enums.ARB_shader_objects* type, [Out] System.Text.StringBuilder name) { - size = default(Int32*); - type = default(GL.Enums.ARB_shader_objects*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = length) { Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size, (GL.Enums.ARB_shader_objects*)type, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [In, Out] Int32[] length, [Out] Int32* size, [In, Out] GL.Enums.ARB_shader_objects[] type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32[] length, [Out] Int32* size, [Out] GL.Enums.ARB_shader_objects[] type, [Out] System.Text.StringBuilder name) { - size = default(Int32*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = length) fixed (GL.Enums.ARB_shader_objects* type_ptr = type) { Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size, (GL.Enums.ARB_shader_objects*)type_ptr, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [In, Out] Int32[] length, [Out] Int32* size, [In, Out] GL.Enums.ARB_shader_objects[] type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32[] length, [Out] Int32* size, [Out] GL.Enums.ARB_shader_objects[] type, [Out] System.Text.StringBuilder name) { - size = default(Int32*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = length) fixed (GL.Enums.ARB_shader_objects* type_ptr = type) { Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size, (GL.Enums.ARB_shader_objects*)type_ptr, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [In, Out] Int32[] length, [Out] Int32* size, [Out] out GL.Enums.ARB_shader_objects type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32[] length, [Out] Int32* size, [Out] out GL.Enums.ARB_shader_objects type, [Out] System.Text.StringBuilder name) { - size = default(Int32*); - type = default(GL.Enums.ARB_shader_objects); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = length) fixed (GL.Enums.ARB_shader_objects* type_ptr = &type) { Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size, (GL.Enums.ARB_shader_objects*)type_ptr, (System.Text.StringBuilder)name); - type = *type_ptr; + type = *type_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [In, Out] Int32[] length, [Out] Int32* size, [Out] out GL.Enums.ARB_shader_objects type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32[] length, [Out] Int32* size, [Out] out GL.Enums.ARB_shader_objects type, [Out] System.Text.StringBuilder name) { - size = default(Int32*); - type = default(GL.Enums.ARB_shader_objects); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = length) fixed (GL.Enums.ARB_shader_objects* type_ptr = &type) { Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size, (GL.Enums.ARB_shader_objects*)type_ptr, (System.Text.StringBuilder)name); - type = *type_ptr; + type = *type_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [In, Out] Int32[] length, [In, Out] Int32[] size, [Out] GL.Enums.ARB_shader_objects* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32[] length, [Out] Int32[] size, [Out] GL.Enums.ARB_shader_objects* type, [Out] System.Text.StringBuilder name) { - type = default(GL.Enums.ARB_shader_objects*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = length) fixed (Int32* size_ptr = size) { Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_shader_objects*)type, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [In, Out] Int32[] length, [In, Out] Int32[] size, [Out] GL.Enums.ARB_shader_objects* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32[] length, [Out] Int32[] size, [Out] GL.Enums.ARB_shader_objects* type, [Out] System.Text.StringBuilder name) { - type = default(GL.Enums.ARB_shader_objects*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = length) fixed (Int32* size_ptr = size) { Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_shader_objects*)type, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [In, Out] Int32[] length, [In, Out] Int32[] size, [In, Out] GL.Enums.ARB_shader_objects[] type, [Out] System.Text.StringBuilder name) + void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32[] length, [Out] Int32[] size, [Out] GL.Enums.ARB_shader_objects[] type, [Out] System.Text.StringBuilder name) { - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = length) @@ -21245,9 +21130,8 @@ namespace OpenTK.OpenGL } public static - void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [In, Out] Int32[] length, [In, Out] Int32[] size, [In, Out] GL.Enums.ARB_shader_objects[] type, [Out] System.Text.StringBuilder name) + void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32[] length, [Out] Int32[] size, [Out] GL.Enums.ARB_shader_objects[] type, [Out] System.Text.StringBuilder name) { - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = length) @@ -21261,10 +21145,8 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [In, Out] Int32[] length, [In, Out] Int32[] size, [Out] out GL.Enums.ARB_shader_objects type, [Out] System.Text.StringBuilder name) + void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32[] length, [Out] Int32[] size, [Out] out GL.Enums.ARB_shader_objects type, [Out] System.Text.StringBuilder name) { - type = default(GL.Enums.ARB_shader_objects); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = length) @@ -21272,16 +21154,14 @@ namespace OpenTK.OpenGL fixed (GL.Enums.ARB_shader_objects* type_ptr = &type) { Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_shader_objects*)type_ptr, (System.Text.StringBuilder)name); - type = *type_ptr; + type = *type_ptr; } } } public static - void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [In, Out] Int32[] length, [In, Out] Int32[] size, [Out] out GL.Enums.ARB_shader_objects type, [Out] System.Text.StringBuilder name) + void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32[] length, [Out] Int32[] size, [Out] out GL.Enums.ARB_shader_objects type, [Out] System.Text.StringBuilder name) { - type = default(GL.Enums.ARB_shader_objects); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = length) @@ -21289,47 +21169,45 @@ namespace OpenTK.OpenGL fixed (GL.Enums.ARB_shader_objects* type_ptr = &type) { Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_shader_objects*)type_ptr, (System.Text.StringBuilder)name); - type = *type_ptr; + type = *type_ptr; } } } [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [In, Out] Int32[] length, [Out] out Int32 size, [Out] GL.Enums.ARB_shader_objects* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32[] length, [Out] out Int32 size, [Out] GL.Enums.ARB_shader_objects* type, [Out] System.Text.StringBuilder name) { - size = default(Int32); - type = default(GL.Enums.ARB_shader_objects*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = length) fixed (Int32* size_ptr = &size) { Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_shader_objects*)type, (System.Text.StringBuilder)name); - size = *size_ptr; + size = *size_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [In, Out] Int32[] length, [Out] out Int32 size, [Out] GL.Enums.ARB_shader_objects* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32[] length, [Out] out Int32 size, [Out] GL.Enums.ARB_shader_objects* type, [Out] System.Text.StringBuilder name) { - size = default(Int32); - type = default(GL.Enums.ARB_shader_objects*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = length) fixed (Int32* size_ptr = &size) { Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_shader_objects*)type, (System.Text.StringBuilder)name); - size = *size_ptr; + size = *size_ptr; } + } } [System.CLSCompliant(false)] public static - void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [In, Out] Int32[] length, [Out] out Int32 size, [In, Out] GL.Enums.ARB_shader_objects[] type, [Out] System.Text.StringBuilder name) + void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32[] length, [Out] out Int32 size, [Out] GL.Enums.ARB_shader_objects[] type, [Out] System.Text.StringBuilder name) { - size = default(Int32); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = length) @@ -21337,16 +21215,14 @@ namespace OpenTK.OpenGL fixed (GL.Enums.ARB_shader_objects* type_ptr = type) { Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_shader_objects*)type_ptr, (System.Text.StringBuilder)name); - size = *size_ptr; + size = *size_ptr; } } } public static - void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [In, Out] Int32[] length, [Out] out Int32 size, [In, Out] GL.Enums.ARB_shader_objects[] type, [Out] System.Text.StringBuilder name) + void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32[] length, [Out] out Int32 size, [Out] GL.Enums.ARB_shader_objects[] type, [Out] System.Text.StringBuilder name) { - size = default(Int32); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = length) @@ -21354,18 +21230,15 @@ namespace OpenTK.OpenGL fixed (GL.Enums.ARB_shader_objects* type_ptr = type) { Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_shader_objects*)type_ptr, (System.Text.StringBuilder)name); - size = *size_ptr; + size = *size_ptr; } } } [System.CLSCompliant(false)] public static - void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [In, Out] Int32[] length, [Out] out Int32 size, [Out] out GL.Enums.ARB_shader_objects type, [Out] System.Text.StringBuilder name) + void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32[] length, [Out] out Int32 size, [Out] out GL.Enums.ARB_shader_objects type, [Out] System.Text.StringBuilder name) { - size = default(Int32); - type = default(GL.Enums.ARB_shader_objects); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = length) @@ -21373,18 +21246,15 @@ namespace OpenTK.OpenGL fixed (GL.Enums.ARB_shader_objects* type_ptr = &type) { Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_shader_objects*)type_ptr, (System.Text.StringBuilder)name); - size = *size_ptr; - type = *type_ptr; + size = *size_ptr; + type = *type_ptr; } } } public static - void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [In, Out] Int32[] length, [Out] out Int32 size, [Out] out GL.Enums.ARB_shader_objects type, [Out] System.Text.StringBuilder name) + void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32[] length, [Out] out Int32 size, [Out] out GL.Enums.ARB_shader_objects type, [Out] System.Text.StringBuilder name) { - size = default(Int32); - type = default(GL.Enums.ARB_shader_objects); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = length) @@ -21392,8 +21262,8 @@ namespace OpenTK.OpenGL fixed (GL.Enums.ARB_shader_objects* type_ptr = &type) { Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_shader_objects*)type_ptr, (System.Text.StringBuilder)name); - size = *size_ptr; - type = *type_ptr; + size = *size_ptr; + type = *type_ptr; } } } @@ -21402,132 +21272,126 @@ namespace OpenTK.OpenGL public static unsafe void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] Int32* size, [Out] GL.Enums.ARB_shader_objects* type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32*); - type = default(GL.Enums.ARB_shader_objects*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = &length) { Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size, (GL.Enums.ARB_shader_objects*)type, (System.Text.StringBuilder)name); - length = *length_ptr; + length = *length_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] Int32* size, [Out] GL.Enums.ARB_shader_objects* type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32*); - type = default(GL.Enums.ARB_shader_objects*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = &length) { Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size, (GL.Enums.ARB_shader_objects*)type, (System.Text.StringBuilder)name); - length = *length_ptr; + length = *length_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] Int32* size, [In, Out] GL.Enums.ARB_shader_objects[] type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] Int32* size, [Out] GL.Enums.ARB_shader_objects[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = &length) fixed (GL.Enums.ARB_shader_objects* type_ptr = type) { Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size, (GL.Enums.ARB_shader_objects*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; + length = *length_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] Int32* size, [In, Out] GL.Enums.ARB_shader_objects[] type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] Int32* size, [Out] GL.Enums.ARB_shader_objects[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = &length) fixed (GL.Enums.ARB_shader_objects* type_ptr = type) { Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size, (GL.Enums.ARB_shader_objects*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; + length = *length_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] Int32* size, [Out] out GL.Enums.ARB_shader_objects type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32*); - type = default(GL.Enums.ARB_shader_objects); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = &length) fixed (GL.Enums.ARB_shader_objects* type_ptr = &type) { Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size, (GL.Enums.ARB_shader_objects*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - type = *type_ptr; + length = *length_ptr; + type = *type_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] Int32* size, [Out] out GL.Enums.ARB_shader_objects type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32*); - type = default(GL.Enums.ARB_shader_objects); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = &length) fixed (GL.Enums.ARB_shader_objects* type_ptr = &type) { Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size, (GL.Enums.ARB_shader_objects*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - type = *type_ptr; + length = *length_ptr; + type = *type_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [In, Out] Int32[] size, [Out] GL.Enums.ARB_shader_objects* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] Int32[] size, [Out] GL.Enums.ARB_shader_objects* type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - type = default(GL.Enums.ARB_shader_objects*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = &length) fixed (Int32* size_ptr = size) { Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_shader_objects*)type, (System.Text.StringBuilder)name); - length = *length_ptr; + length = *length_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [In, Out] Int32[] size, [Out] GL.Enums.ARB_shader_objects* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] Int32[] size, [Out] GL.Enums.ARB_shader_objects* type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - type = default(GL.Enums.ARB_shader_objects*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = &length) fixed (Int32* size_ptr = size) { Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_shader_objects*)type, (System.Text.StringBuilder)name); - length = *length_ptr; + length = *length_ptr; } + } } [System.CLSCompliant(false)] public static - void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [In, Out] Int32[] size, [In, Out] GL.Enums.ARB_shader_objects[] type, [Out] System.Text.StringBuilder name) + void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] Int32[] size, [Out] GL.Enums.ARB_shader_objects[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = &length) @@ -21535,16 +21399,14 @@ namespace OpenTK.OpenGL fixed (GL.Enums.ARB_shader_objects* type_ptr = type) { Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_shader_objects*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; + length = *length_ptr; } } } public static - void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [In, Out] Int32[] size, [In, Out] GL.Enums.ARB_shader_objects[] type, [Out] System.Text.StringBuilder name) + void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] Int32[] size, [Out] GL.Enums.ARB_shader_objects[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = &length) @@ -21552,18 +21414,15 @@ namespace OpenTK.OpenGL fixed (GL.Enums.ARB_shader_objects* type_ptr = type) { Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_shader_objects*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; + length = *length_ptr; } } } [System.CLSCompliant(false)] public static - void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [In, Out] Int32[] size, [Out] out GL.Enums.ARB_shader_objects type, [Out] System.Text.StringBuilder name) + void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] Int32[] size, [Out] out GL.Enums.ARB_shader_objects type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - type = default(GL.Enums.ARB_shader_objects); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = &length) @@ -21571,18 +21430,15 @@ namespace OpenTK.OpenGL fixed (GL.Enums.ARB_shader_objects* type_ptr = &type) { Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_shader_objects*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - type = *type_ptr; + length = *length_ptr; + type = *type_ptr; } } } public static - void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [In, Out] Int32[] size, [Out] out GL.Enums.ARB_shader_objects type, [Out] System.Text.StringBuilder name) + void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] Int32[] size, [Out] out GL.Enums.ARB_shader_objects type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - type = default(GL.Enums.ARB_shader_objects); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = &length) @@ -21590,8 +21446,8 @@ namespace OpenTK.OpenGL fixed (GL.Enums.ARB_shader_objects* type_ptr = &type) { Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_shader_objects*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - type = *type_ptr; + length = *length_ptr; + type = *type_ptr; } } } @@ -21600,43 +21456,38 @@ namespace OpenTK.OpenGL public static unsafe void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] GL.Enums.ARB_shader_objects* type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32); - type = default(GL.Enums.ARB_shader_objects*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = &length) fixed (Int32* size_ptr = &size) { Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_shader_objects*)type, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; + length = *length_ptr; + size = *size_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] GL.Enums.ARB_shader_objects* type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32); - type = default(GL.Enums.ARB_shader_objects*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = &length) fixed (Int32* size_ptr = &size) { Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_shader_objects*)type, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; + length = *length_ptr; + size = *size_ptr; } + } } [System.CLSCompliant(false)] public static - void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [In, Out] GL.Enums.ARB_shader_objects[] type, [Out] System.Text.StringBuilder name) + void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] GL.Enums.ARB_shader_objects[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = &length) @@ -21644,18 +21495,15 @@ namespace OpenTK.OpenGL fixed (GL.Enums.ARB_shader_objects* type_ptr = type) { Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_shader_objects*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; + length = *length_ptr; + size = *size_ptr; } } } public static - void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [In, Out] GL.Enums.ARB_shader_objects[] type, [Out] System.Text.StringBuilder name) + void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] GL.Enums.ARB_shader_objects[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = &length) @@ -21663,8 +21511,8 @@ namespace OpenTK.OpenGL fixed (GL.Enums.ARB_shader_objects* type_ptr = type) { Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_shader_objects*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; + length = *length_ptr; + size = *size_ptr; } } } @@ -21673,10 +21521,6 @@ namespace OpenTK.OpenGL public static void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] out GL.Enums.ARB_shader_objects type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32); - type = default(GL.Enums.ARB_shader_objects); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = &length) @@ -21684,9 +21528,9 @@ namespace OpenTK.OpenGL fixed (GL.Enums.ARB_shader_objects* type_ptr = &type) { Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_shader_objects*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; } } } @@ -21694,10 +21538,6 @@ namespace OpenTK.OpenGL public static void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] out GL.Enums.ARB_shader_objects type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32); - type = default(GL.Enums.ARB_shader_objects); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = &length) @@ -21705,9 +21545,9 @@ namespace OpenTK.OpenGL fixed (GL.Enums.ARB_shader_objects* type_ptr = &type) { Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_shader_objects*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; } } } @@ -21723,15 +21563,15 @@ namespace OpenTK.OpenGL public static unsafe void GetUniformv(Int32 programObj, Int32 location, [Out] Single* @params) { - @params = default(Single*); - { - Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params); - } + unsafe + { + Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params); + } } [System.CLSCompliant(false)] public static - void GetUniformv(UInt32 programObj, Int32 location, [In, Out] Single[] @params) + void GetUniformv(UInt32 programObj, Int32 location, [Out] Single[] @params) { unsafe { @@ -21743,7 +21583,7 @@ namespace OpenTK.OpenGL } public static - void GetUniformv(Int32 programObj, Int32 location, [In, Out] Single[] @params) + void GetUniformv(Int32 programObj, Int32 location, [Out] Single[] @params) { unsafe { @@ -21758,13 +21598,12 @@ namespace OpenTK.OpenGL public static void GetUniformv(UInt32 programObj, Int32 location, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -21772,13 +21611,12 @@ namespace OpenTK.OpenGL public static void GetUniformv(Int32 programObj, Int32 location, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -21794,15 +21632,15 @@ namespace OpenTK.OpenGL public static unsafe void GetUniformv(Int32 programObj, Int32 location, [Out] Int32* @params) { - @params = default(Int32*); - { - Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params); - } + unsafe + { + Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params); + } } [System.CLSCompliant(false)] public static - void GetUniformv(UInt32 programObj, Int32 location, [In, Out] Int32[] @params) + void GetUniformv(UInt32 programObj, Int32 location, [Out] Int32[] @params) { unsafe { @@ -21814,7 +21652,7 @@ namespace OpenTK.OpenGL } public static - void GetUniformv(Int32 programObj, Int32 location, [In, Out] Int32[] @params) + void GetUniformv(Int32 programObj, Int32 location, [Out] Int32[] @params) { unsafe { @@ -21829,13 +21667,12 @@ namespace OpenTK.OpenGL public static void GetUniformv(UInt32 programObj, Int32 location, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -21843,13 +21680,12 @@ namespace OpenTK.OpenGL public static void GetUniformv(Int32 programObj, Int32 location, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -21865,18 +21701,16 @@ namespace OpenTK.OpenGL public static unsafe void GetShaderSource(Int32 obj, Int32 maxLength, [Out] Int32* length, [Out] System.Text.StringBuilder[] source) { - length = default(Int32*); - source = default(System.Text.StringBuilder[]); - { - Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (System.Text.StringBuilder[])source); - } + unsafe + { + Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (System.Text.StringBuilder[])source); + } } [System.CLSCompliant(false)] public static - void GetShaderSource(UInt32 obj, Int32 maxLength, [In, Out] Int32[] length, [Out] System.Text.StringBuilder[] source) + void GetShaderSource(UInt32 obj, Int32 maxLength, [Out] Int32[] length, [Out] System.Text.StringBuilder[] source) { - source = default(System.Text.StringBuilder[]); unsafe { fixed (Int32* length_ptr = length) @@ -21887,9 +21721,8 @@ namespace OpenTK.OpenGL } public static - void GetShaderSource(Int32 obj, Int32 maxLength, [In, Out] Int32[] length, [Out] System.Text.StringBuilder[] source) + void GetShaderSource(Int32 obj, Int32 maxLength, [Out] Int32[] length, [Out] System.Text.StringBuilder[] source) { - source = default(System.Text.StringBuilder[]); unsafe { fixed (Int32* length_ptr = length) @@ -21903,14 +21736,12 @@ namespace OpenTK.OpenGL public static void GetShaderSource(UInt32 obj, Int32 maxLength, [Out] out Int32 length, [Out] System.Text.StringBuilder[] source) { - length = default(Int32); - source = default(System.Text.StringBuilder[]); unsafe { fixed (Int32* length_ptr = &length) { Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length_ptr, (System.Text.StringBuilder[])source); - length = *length_ptr; + length = *length_ptr; } } } @@ -21918,14 +21749,12 @@ namespace OpenTK.OpenGL public static void GetShaderSource(Int32 obj, Int32 maxLength, [Out] out Int32 length, [Out] System.Text.StringBuilder[] source) { - length = default(Int32); - source = default(System.Text.StringBuilder[]); unsafe { fixed (Int32* length_ptr = &length) { Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length_ptr, (System.Text.StringBuilder[])source); - length = *length_ptr; + length = *length_ptr; } } } @@ -21954,360 +21783,356 @@ namespace OpenTK.OpenGL public static unsafe void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] GL.Enums.ARB_vertex_shader* type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32*); - type = default(GL.Enums.ARB_vertex_shader*); - name = default(System.Text.StringBuilder); - { - Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (GL.Enums.ARB_vertex_shader*)type, (System.Text.StringBuilder)name); - } + unsafe + { + Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (GL.Enums.ARB_vertex_shader*)type, (System.Text.StringBuilder)name); + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [In, Out] GL.Enums.ARB_vertex_shader[] type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] GL.Enums.ARB_vertex_shader[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (GL.Enums.ARB_vertex_shader* type_ptr = type) { Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (GL.Enums.ARB_vertex_shader*)type_ptr, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [In, Out] GL.Enums.ARB_vertex_shader[] type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] GL.Enums.ARB_vertex_shader[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (GL.Enums.ARB_vertex_shader* type_ptr = type) { Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (GL.Enums.ARB_vertex_shader*)type_ptr, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static unsafe void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] out GL.Enums.ARB_vertex_shader type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32*); - type = default(GL.Enums.ARB_vertex_shader); - name = default(System.Text.StringBuilder); + unsafe + { fixed (GL.Enums.ARB_vertex_shader* type_ptr = &type) { Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (GL.Enums.ARB_vertex_shader*)type_ptr, (System.Text.StringBuilder)name); - type = *type_ptr; + type = *type_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] out GL.Enums.ARB_vertex_shader type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32*); - type = default(GL.Enums.ARB_vertex_shader); - name = default(System.Text.StringBuilder); + unsafe + { fixed (GL.Enums.ARB_vertex_shader* type_ptr = &type) { Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (GL.Enums.ARB_vertex_shader*)type_ptr, (System.Text.StringBuilder)name); - type = *type_ptr; + type = *type_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [In, Out] Int32[] size, [Out] GL.Enums.ARB_vertex_shader* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32[] size, [Out] GL.Enums.ARB_vertex_shader* type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - type = default(GL.Enums.ARB_vertex_shader*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = size) { Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size_ptr, (GL.Enums.ARB_vertex_shader*)type, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32* length, [In, Out] Int32[] size, [Out] GL.Enums.ARB_vertex_shader* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32[] size, [Out] GL.Enums.ARB_vertex_shader* type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - type = default(GL.Enums.ARB_vertex_shader*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = size) { Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size_ptr, (GL.Enums.ARB_vertex_shader*)type, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [In, Out] Int32[] size, [In, Out] GL.Enums.ARB_vertex_shader[] type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32[] size, [Out] GL.Enums.ARB_vertex_shader[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = size) fixed (GL.Enums.ARB_vertex_shader* type_ptr = type) { Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size_ptr, (GL.Enums.ARB_vertex_shader*)type_ptr, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32* length, [In, Out] Int32[] size, [In, Out] GL.Enums.ARB_vertex_shader[] type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32[] size, [Out] GL.Enums.ARB_vertex_shader[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = size) fixed (GL.Enums.ARB_vertex_shader* type_ptr = type) { Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size_ptr, (GL.Enums.ARB_vertex_shader*)type_ptr, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [In, Out] Int32[] size, [Out] out GL.Enums.ARB_vertex_shader type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32[] size, [Out] out GL.Enums.ARB_vertex_shader type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - type = default(GL.Enums.ARB_vertex_shader); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = size) fixed (GL.Enums.ARB_vertex_shader* type_ptr = &type) { Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size_ptr, (GL.Enums.ARB_vertex_shader*)type_ptr, (System.Text.StringBuilder)name); - type = *type_ptr; + type = *type_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32* length, [In, Out] Int32[] size, [Out] out GL.Enums.ARB_vertex_shader type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32[] size, [Out] out GL.Enums.ARB_vertex_shader type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - type = default(GL.Enums.ARB_vertex_shader); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = size) fixed (GL.Enums.ARB_vertex_shader* type_ptr = &type) { Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size_ptr, (GL.Enums.ARB_vertex_shader*)type_ptr, (System.Text.StringBuilder)name); - type = *type_ptr; + type = *type_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] out Int32 size, [Out] GL.Enums.ARB_vertex_shader* type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32); - type = default(GL.Enums.ARB_vertex_shader*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = &size) { Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size_ptr, (GL.Enums.ARB_vertex_shader*)type, (System.Text.StringBuilder)name); - size = *size_ptr; + size = *size_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32* length, [Out] out Int32 size, [Out] GL.Enums.ARB_vertex_shader* type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32); - type = default(GL.Enums.ARB_vertex_shader*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = &size) { Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size_ptr, (GL.Enums.ARB_vertex_shader*)type, (System.Text.StringBuilder)name); - size = *size_ptr; + size = *size_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] out Int32 size, [In, Out] GL.Enums.ARB_vertex_shader[] type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] out Int32 size, [Out] GL.Enums.ARB_vertex_shader[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = &size) fixed (GL.Enums.ARB_vertex_shader* type_ptr = type) { Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size_ptr, (GL.Enums.ARB_vertex_shader*)type_ptr, (System.Text.StringBuilder)name); - size = *size_ptr; + size = *size_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32* length, [Out] out Int32 size, [In, Out] GL.Enums.ARB_vertex_shader[] type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32* length, [Out] out Int32 size, [Out] GL.Enums.ARB_vertex_shader[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = &size) fixed (GL.Enums.ARB_vertex_shader* type_ptr = type) { Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size_ptr, (GL.Enums.ARB_vertex_shader*)type_ptr, (System.Text.StringBuilder)name); - size = *size_ptr; + size = *size_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] out Int32 size, [Out] out GL.Enums.ARB_vertex_shader type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32); - type = default(GL.Enums.ARB_vertex_shader); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = &size) fixed (GL.Enums.ARB_vertex_shader* type_ptr = &type) { Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size_ptr, (GL.Enums.ARB_vertex_shader*)type_ptr, (System.Text.StringBuilder)name); - size = *size_ptr; - type = *type_ptr; + size = *size_ptr; + type = *type_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32* length, [Out] out Int32 size, [Out] out GL.Enums.ARB_vertex_shader type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32); - type = default(GL.Enums.ARB_vertex_shader); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = &size) fixed (GL.Enums.ARB_vertex_shader* type_ptr = &type) { Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size_ptr, (GL.Enums.ARB_vertex_shader*)type_ptr, (System.Text.StringBuilder)name); - size = *size_ptr; - type = *type_ptr; + size = *size_ptr; + type = *type_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [In, Out] Int32[] length, [Out] Int32* size, [Out] GL.Enums.ARB_vertex_shader* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32[] length, [Out] Int32* size, [Out] GL.Enums.ARB_vertex_shader* type, [Out] System.Text.StringBuilder name) { - size = default(Int32*); - type = default(GL.Enums.ARB_vertex_shader*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = length) { Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size, (GL.Enums.ARB_vertex_shader*)type, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [In, Out] Int32[] length, [Out] Int32* size, [Out] GL.Enums.ARB_vertex_shader* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32[] length, [Out] Int32* size, [Out] GL.Enums.ARB_vertex_shader* type, [Out] System.Text.StringBuilder name) { - size = default(Int32*); - type = default(GL.Enums.ARB_vertex_shader*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = length) { Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size, (GL.Enums.ARB_vertex_shader*)type, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [In, Out] Int32[] length, [Out] Int32* size, [In, Out] GL.Enums.ARB_vertex_shader[] type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32[] length, [Out] Int32* size, [Out] GL.Enums.ARB_vertex_shader[] type, [Out] System.Text.StringBuilder name) { - size = default(Int32*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = length) fixed (GL.Enums.ARB_vertex_shader* type_ptr = type) { Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size, (GL.Enums.ARB_vertex_shader*)type_ptr, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [In, Out] Int32[] length, [Out] Int32* size, [In, Out] GL.Enums.ARB_vertex_shader[] type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32[] length, [Out] Int32* size, [Out] GL.Enums.ARB_vertex_shader[] type, [Out] System.Text.StringBuilder name) { - size = default(Int32*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = length) fixed (GL.Enums.ARB_vertex_shader* type_ptr = type) { Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size, (GL.Enums.ARB_vertex_shader*)type_ptr, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [In, Out] Int32[] length, [Out] Int32* size, [Out] out GL.Enums.ARB_vertex_shader type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32[] length, [Out] Int32* size, [Out] out GL.Enums.ARB_vertex_shader type, [Out] System.Text.StringBuilder name) { - size = default(Int32*); - type = default(GL.Enums.ARB_vertex_shader); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = length) fixed (GL.Enums.ARB_vertex_shader* type_ptr = &type) { Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size, (GL.Enums.ARB_vertex_shader*)type_ptr, (System.Text.StringBuilder)name); - type = *type_ptr; + type = *type_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [In, Out] Int32[] length, [Out] Int32* size, [Out] out GL.Enums.ARB_vertex_shader type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32[] length, [Out] Int32* size, [Out] out GL.Enums.ARB_vertex_shader type, [Out] System.Text.StringBuilder name) { - size = default(Int32*); - type = default(GL.Enums.ARB_vertex_shader); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = length) fixed (GL.Enums.ARB_vertex_shader* type_ptr = &type) { Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size, (GL.Enums.ARB_vertex_shader*)type_ptr, (System.Text.StringBuilder)name); - type = *type_ptr; + type = *type_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [In, Out] Int32[] length, [In, Out] Int32[] size, [Out] GL.Enums.ARB_vertex_shader* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32[] length, [Out] Int32[] size, [Out] GL.Enums.ARB_vertex_shader* type, [Out] System.Text.StringBuilder name) { - type = default(GL.Enums.ARB_vertex_shader*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = length) fixed (Int32* size_ptr = size) { Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_vertex_shader*)type, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [In, Out] Int32[] length, [In, Out] Int32[] size, [Out] GL.Enums.ARB_vertex_shader* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32[] length, [Out] Int32[] size, [Out] GL.Enums.ARB_vertex_shader* type, [Out] System.Text.StringBuilder name) { - type = default(GL.Enums.ARB_vertex_shader*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = length) fixed (Int32* size_ptr = size) { Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_vertex_shader*)type, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [In, Out] Int32[] length, [In, Out] Int32[] size, [In, Out] GL.Enums.ARB_vertex_shader[] type, [Out] System.Text.StringBuilder name) + void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32[] length, [Out] Int32[] size, [Out] GL.Enums.ARB_vertex_shader[] type, [Out] System.Text.StringBuilder name) { - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = length) @@ -22320,9 +22145,8 @@ namespace OpenTK.OpenGL } public static - void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [In, Out] Int32[] length, [In, Out] Int32[] size, [In, Out] GL.Enums.ARB_vertex_shader[] type, [Out] System.Text.StringBuilder name) + void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32[] length, [Out] Int32[] size, [Out] GL.Enums.ARB_vertex_shader[] type, [Out] System.Text.StringBuilder name) { - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = length) @@ -22336,10 +22160,8 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [In, Out] Int32[] length, [In, Out] Int32[] size, [Out] out GL.Enums.ARB_vertex_shader type, [Out] System.Text.StringBuilder name) + void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32[] length, [Out] Int32[] size, [Out] out GL.Enums.ARB_vertex_shader type, [Out] System.Text.StringBuilder name) { - type = default(GL.Enums.ARB_vertex_shader); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = length) @@ -22347,16 +22169,14 @@ namespace OpenTK.OpenGL fixed (GL.Enums.ARB_vertex_shader* type_ptr = &type) { Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_vertex_shader*)type_ptr, (System.Text.StringBuilder)name); - type = *type_ptr; + type = *type_ptr; } } } public static - void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [In, Out] Int32[] length, [In, Out] Int32[] size, [Out] out GL.Enums.ARB_vertex_shader type, [Out] System.Text.StringBuilder name) + void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32[] length, [Out] Int32[] size, [Out] out GL.Enums.ARB_vertex_shader type, [Out] System.Text.StringBuilder name) { - type = default(GL.Enums.ARB_vertex_shader); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = length) @@ -22364,47 +22184,45 @@ namespace OpenTK.OpenGL fixed (GL.Enums.ARB_vertex_shader* type_ptr = &type) { Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_vertex_shader*)type_ptr, (System.Text.StringBuilder)name); - type = *type_ptr; + type = *type_ptr; } } } [System.CLSCompliant(false)] public static - unsafe void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [In, Out] Int32[] length, [Out] out Int32 size, [Out] GL.Enums.ARB_vertex_shader* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32[] length, [Out] out Int32 size, [Out] GL.Enums.ARB_vertex_shader* type, [Out] System.Text.StringBuilder name) { - size = default(Int32); - type = default(GL.Enums.ARB_vertex_shader*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = length) fixed (Int32* size_ptr = &size) { Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_vertex_shader*)type, (System.Text.StringBuilder)name); - size = *size_ptr; + size = *size_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [In, Out] Int32[] length, [Out] out Int32 size, [Out] GL.Enums.ARB_vertex_shader* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32[] length, [Out] out Int32 size, [Out] GL.Enums.ARB_vertex_shader* type, [Out] System.Text.StringBuilder name) { - size = default(Int32); - type = default(GL.Enums.ARB_vertex_shader*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = length) fixed (Int32* size_ptr = &size) { Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_vertex_shader*)type, (System.Text.StringBuilder)name); - size = *size_ptr; + size = *size_ptr; } + } } [System.CLSCompliant(false)] public static - void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [In, Out] Int32[] length, [Out] out Int32 size, [In, Out] GL.Enums.ARB_vertex_shader[] type, [Out] System.Text.StringBuilder name) + void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32[] length, [Out] out Int32 size, [Out] GL.Enums.ARB_vertex_shader[] type, [Out] System.Text.StringBuilder name) { - size = default(Int32); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = length) @@ -22412,16 +22230,14 @@ namespace OpenTK.OpenGL fixed (GL.Enums.ARB_vertex_shader* type_ptr = type) { Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_vertex_shader*)type_ptr, (System.Text.StringBuilder)name); - size = *size_ptr; + size = *size_ptr; } } } public static - void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [In, Out] Int32[] length, [Out] out Int32 size, [In, Out] GL.Enums.ARB_vertex_shader[] type, [Out] System.Text.StringBuilder name) + void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32[] length, [Out] out Int32 size, [Out] GL.Enums.ARB_vertex_shader[] type, [Out] System.Text.StringBuilder name) { - size = default(Int32); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = length) @@ -22429,18 +22245,15 @@ namespace OpenTK.OpenGL fixed (GL.Enums.ARB_vertex_shader* type_ptr = type) { Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_vertex_shader*)type_ptr, (System.Text.StringBuilder)name); - size = *size_ptr; + size = *size_ptr; } } } [System.CLSCompliant(false)] public static - void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [In, Out] Int32[] length, [Out] out Int32 size, [Out] out GL.Enums.ARB_vertex_shader type, [Out] System.Text.StringBuilder name) + void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32[] length, [Out] out Int32 size, [Out] out GL.Enums.ARB_vertex_shader type, [Out] System.Text.StringBuilder name) { - size = default(Int32); - type = default(GL.Enums.ARB_vertex_shader); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = length) @@ -22448,18 +22261,15 @@ namespace OpenTK.OpenGL fixed (GL.Enums.ARB_vertex_shader* type_ptr = &type) { Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_vertex_shader*)type_ptr, (System.Text.StringBuilder)name); - size = *size_ptr; - type = *type_ptr; + size = *size_ptr; + type = *type_ptr; } } } public static - void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [In, Out] Int32[] length, [Out] out Int32 size, [Out] out GL.Enums.ARB_vertex_shader type, [Out] System.Text.StringBuilder name) + void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32[] length, [Out] out Int32 size, [Out] out GL.Enums.ARB_vertex_shader type, [Out] System.Text.StringBuilder name) { - size = default(Int32); - type = default(GL.Enums.ARB_vertex_shader); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = length) @@ -22467,8 +22277,8 @@ namespace OpenTK.OpenGL fixed (GL.Enums.ARB_vertex_shader* type_ptr = &type) { Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_vertex_shader*)type_ptr, (System.Text.StringBuilder)name); - size = *size_ptr; - type = *type_ptr; + size = *size_ptr; + type = *type_ptr; } } } @@ -22477,132 +22287,126 @@ namespace OpenTK.OpenGL public static unsafe void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] Int32* size, [Out] GL.Enums.ARB_vertex_shader* type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32*); - type = default(GL.Enums.ARB_vertex_shader*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = &length) { Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size, (GL.Enums.ARB_vertex_shader*)type, (System.Text.StringBuilder)name); - length = *length_ptr; + length = *length_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] Int32* size, [Out] GL.Enums.ARB_vertex_shader* type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32*); - type = default(GL.Enums.ARB_vertex_shader*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = &length) { Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size, (GL.Enums.ARB_vertex_shader*)type, (System.Text.StringBuilder)name); - length = *length_ptr; + length = *length_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] Int32* size, [In, Out] GL.Enums.ARB_vertex_shader[] type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] Int32* size, [Out] GL.Enums.ARB_vertex_shader[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = &length) fixed (GL.Enums.ARB_vertex_shader* type_ptr = type) { Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size, (GL.Enums.ARB_vertex_shader*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; + length = *length_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] Int32* size, [In, Out] GL.Enums.ARB_vertex_shader[] type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] Int32* size, [Out] GL.Enums.ARB_vertex_shader[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = &length) fixed (GL.Enums.ARB_vertex_shader* type_ptr = type) { Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size, (GL.Enums.ARB_vertex_shader*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; + length = *length_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] Int32* size, [Out] out GL.Enums.ARB_vertex_shader type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32*); - type = default(GL.Enums.ARB_vertex_shader); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = &length) fixed (GL.Enums.ARB_vertex_shader* type_ptr = &type) { Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size, (GL.Enums.ARB_vertex_shader*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - type = *type_ptr; + length = *length_ptr; + type = *type_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] Int32* size, [Out] out GL.Enums.ARB_vertex_shader type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32*); - type = default(GL.Enums.ARB_vertex_shader); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = &length) fixed (GL.Enums.ARB_vertex_shader* type_ptr = &type) { Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size, (GL.Enums.ARB_vertex_shader*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - type = *type_ptr; + length = *length_ptr; + type = *type_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [In, Out] Int32[] size, [Out] GL.Enums.ARB_vertex_shader* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] Int32[] size, [Out] GL.Enums.ARB_vertex_shader* type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - type = default(GL.Enums.ARB_vertex_shader*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = &length) fixed (Int32* size_ptr = size) { Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_vertex_shader*)type, (System.Text.StringBuilder)name); - length = *length_ptr; + length = *length_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [In, Out] Int32[] size, [Out] GL.Enums.ARB_vertex_shader* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] Int32[] size, [Out] GL.Enums.ARB_vertex_shader* type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - type = default(GL.Enums.ARB_vertex_shader*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = &length) fixed (Int32* size_ptr = size) { Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_vertex_shader*)type, (System.Text.StringBuilder)name); - length = *length_ptr; + length = *length_ptr; } + } } [System.CLSCompliant(false)] public static - void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [In, Out] Int32[] size, [In, Out] GL.Enums.ARB_vertex_shader[] type, [Out] System.Text.StringBuilder name) + void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] Int32[] size, [Out] GL.Enums.ARB_vertex_shader[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = &length) @@ -22610,16 +22414,14 @@ namespace OpenTK.OpenGL fixed (GL.Enums.ARB_vertex_shader* type_ptr = type) { Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_vertex_shader*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; + length = *length_ptr; } } } public static - void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [In, Out] Int32[] size, [In, Out] GL.Enums.ARB_vertex_shader[] type, [Out] System.Text.StringBuilder name) + void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] Int32[] size, [Out] GL.Enums.ARB_vertex_shader[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = &length) @@ -22627,18 +22429,15 @@ namespace OpenTK.OpenGL fixed (GL.Enums.ARB_vertex_shader* type_ptr = type) { Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_vertex_shader*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; + length = *length_ptr; } } } [System.CLSCompliant(false)] public static - void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [In, Out] Int32[] size, [Out] out GL.Enums.ARB_vertex_shader type, [Out] System.Text.StringBuilder name) + void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] Int32[] size, [Out] out GL.Enums.ARB_vertex_shader type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - type = default(GL.Enums.ARB_vertex_shader); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = &length) @@ -22646,18 +22445,15 @@ namespace OpenTK.OpenGL fixed (GL.Enums.ARB_vertex_shader* type_ptr = &type) { Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_vertex_shader*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - type = *type_ptr; + length = *length_ptr; + type = *type_ptr; } } } public static - void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [In, Out] Int32[] size, [Out] out GL.Enums.ARB_vertex_shader type, [Out] System.Text.StringBuilder name) + void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] Int32[] size, [Out] out GL.Enums.ARB_vertex_shader type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - type = default(GL.Enums.ARB_vertex_shader); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = &length) @@ -22665,8 +22461,8 @@ namespace OpenTK.OpenGL fixed (GL.Enums.ARB_vertex_shader* type_ptr = &type) { Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_vertex_shader*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - type = *type_ptr; + length = *length_ptr; + type = *type_ptr; } } } @@ -22675,43 +22471,38 @@ namespace OpenTK.OpenGL public static unsafe void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] GL.Enums.ARB_vertex_shader* type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32); - type = default(GL.Enums.ARB_vertex_shader*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = &length) fixed (Int32* size_ptr = &size) { Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_vertex_shader*)type, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; + length = *length_ptr; + size = *size_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] GL.Enums.ARB_vertex_shader* type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32); - type = default(GL.Enums.ARB_vertex_shader*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = &length) fixed (Int32* size_ptr = &size) { Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_vertex_shader*)type, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; + length = *length_ptr; + size = *size_ptr; } + } } [System.CLSCompliant(false)] public static - void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [In, Out] GL.Enums.ARB_vertex_shader[] type, [Out] System.Text.StringBuilder name) + void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] GL.Enums.ARB_vertex_shader[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = &length) @@ -22719,18 +22510,15 @@ namespace OpenTK.OpenGL fixed (GL.Enums.ARB_vertex_shader* type_ptr = type) { Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_vertex_shader*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; + length = *length_ptr; + size = *size_ptr; } } } public static - void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [In, Out] GL.Enums.ARB_vertex_shader[] type, [Out] System.Text.StringBuilder name) + void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] GL.Enums.ARB_vertex_shader[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = &length) @@ -22738,8 +22526,8 @@ namespace OpenTK.OpenGL fixed (GL.Enums.ARB_vertex_shader* type_ptr = type) { Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_vertex_shader*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; + length = *length_ptr; + size = *size_ptr; } } } @@ -22748,10 +22536,6 @@ namespace OpenTK.OpenGL public static void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] out GL.Enums.ARB_vertex_shader type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32); - type = default(GL.Enums.ARB_vertex_shader); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = &length) @@ -22759,9 +22543,9 @@ namespace OpenTK.OpenGL fixed (GL.Enums.ARB_vertex_shader* type_ptr = &type) { Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_vertex_shader*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; } } } @@ -22769,10 +22553,6 @@ namespace OpenTK.OpenGL public static void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] out GL.Enums.ARB_vertex_shader type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32); - type = default(GL.Enums.ARB_vertex_shader); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = &length) @@ -22780,9 +22560,9 @@ namespace OpenTK.OpenGL fixed (GL.Enums.ARB_vertex_shader* type_ptr = &type) { Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_vertex_shader*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; } } } @@ -22808,7 +22588,7 @@ namespace OpenTK.OpenGL } public static - void DrawBuffers(Int32 n, [In, Out] GL.Enums.ARB_draw_buffers[] bufs) + void DrawBuffers(Int32 n, GL.Enums.ARB_draw_buffers[] bufs) { unsafe { @@ -22863,16 +22643,15 @@ namespace OpenTK.OpenGL public static void TexImage3D(GL.Enums.TextureTarget target, Int32 level, GL.Enums.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object pixels) { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glTexImage3DEXT((GL.Enums.TextureTarget)target, (Int32)level, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (void*)pixels_ptr.AddrOfPinnedObject()); } finally { - pixels_ptr.Free(); } } } @@ -22887,16 +22666,15 @@ namespace OpenTK.OpenGL public static void TexSubImage3D(GL.Enums.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object pixels) { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glTexSubImage3DEXT((GL.Enums.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (void*)pixels_ptr.AddrOfPinnedObject()); } finally { - pixels_ptr.Free(); } } } @@ -22911,16 +22689,15 @@ namespace OpenTK.OpenGL public static void TexSubImage1D(GL.Enums.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object pixels) { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glTexSubImage1DEXT((GL.Enums.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (void*)pixels_ptr.AddrOfPinnedObject()); } finally { - pixels_ptr.Free(); } } } @@ -22935,16 +22712,15 @@ namespace OpenTK.OpenGL public static void TexSubImage2D(GL.Enums.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object pixels) { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glTexSubImage2DEXT((GL.Enums.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (void*)pixels_ptr.AddrOfPinnedObject()); } finally { - pixels_ptr.Free(); } } } @@ -22994,7 +22770,7 @@ namespace OpenTK.OpenGL } public static - void GetHistogramParameterv(GL.Enums.HistogramTargetEXT target, GL.Enums.GetHistogramParameterPNameEXT pname, [In, Out] Single[] @params) + void GetHistogramParameterv(GL.Enums.HistogramTargetEXT target, GL.Enums.GetHistogramParameterPNameEXT pname, [Out] Single[] @params) { unsafe { @@ -23008,13 +22784,12 @@ namespace OpenTK.OpenGL public static void GetHistogramParameterv(GL.Enums.HistogramTargetEXT target, GL.Enums.GetHistogramParameterPNameEXT pname, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetHistogramParameterfvEXT((GL.Enums.HistogramTargetEXT)target, (GL.Enums.GetHistogramParameterPNameEXT)pname, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -23027,7 +22802,7 @@ namespace OpenTK.OpenGL } public static - void GetHistogramParameterv(GL.Enums.HistogramTargetEXT target, GL.Enums.GetHistogramParameterPNameEXT pname, [In, Out] Int32[] @params) + void GetHistogramParameterv(GL.Enums.HistogramTargetEXT target, GL.Enums.GetHistogramParameterPNameEXT pname, [Out] Int32[] @params) { unsafe { @@ -23041,13 +22816,12 @@ namespace OpenTK.OpenGL public static void GetHistogramParameterv(GL.Enums.HistogramTargetEXT target, GL.Enums.GetHistogramParameterPNameEXT pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetHistogramParameterivEXT((GL.Enums.HistogramTargetEXT)target, (GL.Enums.GetHistogramParameterPNameEXT)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -23067,7 +22841,7 @@ namespace OpenTK.OpenGL } public static - void GetMinmaxParameterv(GL.Enums.MinmaxTargetEXT target, GL.Enums.GetMinmaxParameterPNameEXT pname, [In, Out] Single[] @params) + void GetMinmaxParameterv(GL.Enums.MinmaxTargetEXT target, GL.Enums.GetMinmaxParameterPNameEXT pname, [Out] Single[] @params) { unsafe { @@ -23081,13 +22855,12 @@ namespace OpenTK.OpenGL public static void GetMinmaxParameterv(GL.Enums.MinmaxTargetEXT target, GL.Enums.GetMinmaxParameterPNameEXT pname, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetMinmaxParameterfvEXT((GL.Enums.MinmaxTargetEXT)target, (GL.Enums.GetMinmaxParameterPNameEXT)pname, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -23100,7 +22873,7 @@ namespace OpenTK.OpenGL } public static - void GetMinmaxParameterv(GL.Enums.MinmaxTargetEXT target, GL.Enums.GetMinmaxParameterPNameEXT pname, [In, Out] Int32[] @params) + void GetMinmaxParameterv(GL.Enums.MinmaxTargetEXT target, GL.Enums.GetMinmaxParameterPNameEXT pname, [Out] Int32[] @params) { unsafe { @@ -23114,13 +22887,12 @@ namespace OpenTK.OpenGL public static void GetMinmaxParameterv(GL.Enums.MinmaxTargetEXT target, GL.Enums.GetMinmaxParameterPNameEXT pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetMinmaxParameterivEXT((GL.Enums.MinmaxTargetEXT)target, (GL.Enums.GetMinmaxParameterPNameEXT)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -23159,16 +22931,15 @@ namespace OpenTK.OpenGL public static void ConvolutionFilter1D(GL.Enums.ConvolutionTargetEXT target, GL.Enums.PixelInternalFormat internalformat, Int32 width, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object image) { - System.Runtime.InteropServices.GCHandle image_ptr = System.Runtime.InteropServices.GCHandle.Alloc(image, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle image_ptr = System.Runtime.InteropServices.GCHandle.Alloc(image, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glConvolutionFilter1DEXT((GL.Enums.ConvolutionTargetEXT)target, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (void*)image_ptr.AddrOfPinnedObject()); } finally { - image_ptr.Free(); } } } @@ -23183,16 +22954,15 @@ namespace OpenTK.OpenGL public static void ConvolutionFilter2D(GL.Enums.ConvolutionTargetEXT target, GL.Enums.PixelInternalFormat internalformat, Int32 width, Int32 height, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object image) { - System.Runtime.InteropServices.GCHandle image_ptr = System.Runtime.InteropServices.GCHandle.Alloc(image, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle image_ptr = System.Runtime.InteropServices.GCHandle.Alloc(image, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glConvolutionFilter2DEXT((GL.Enums.ConvolutionTargetEXT)target, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (void*)image_ptr.AddrOfPinnedObject()); } finally { - image_ptr.Free(); } } } @@ -23211,7 +22981,7 @@ namespace OpenTK.OpenGL } public static - void ConvolutionParameterv(GL.Enums.ConvolutionTargetEXT target, GL.Enums.ConvolutionParameterEXT pname, [In, Out] Single[] @params) + void ConvolutionParameterv(GL.Enums.ConvolutionTargetEXT target, GL.Enums.ConvolutionParameterEXT pname, Single[] @params) { unsafe { @@ -23248,7 +23018,7 @@ namespace OpenTK.OpenGL } public static - void ConvolutionParameterv(GL.Enums.ConvolutionTargetEXT target, GL.Enums.ConvolutionParameterEXT pname, [In, Out] Int32[] @params) + void ConvolutionParameterv(GL.Enums.ConvolutionTargetEXT target, GL.Enums.ConvolutionParameterEXT pname, Int32[] @params) { unsafe { @@ -23293,16 +23063,15 @@ namespace OpenTK.OpenGL public static void GetConvolutionFilter(GL.Enums.ConvolutionTargetEXT target, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object image) { - System.Runtime.InteropServices.GCHandle image_ptr = System.Runtime.InteropServices.GCHandle.Alloc(image, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle image_ptr = System.Runtime.InteropServices.GCHandle.Alloc(image, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glGetConvolutionFilterEXT((GL.Enums.ConvolutionTargetEXT)target, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (void*)image_ptr.AddrOfPinnedObject()); } finally { - image_ptr.Free(); } } } @@ -23315,7 +23084,7 @@ namespace OpenTK.OpenGL } public static - void GetConvolutionParameterv(GL.Enums.ConvolutionTargetEXT target, GL.Enums.ConvolutionParameterEXT pname, [In, Out] Single[] @params) + void GetConvolutionParameterv(GL.Enums.ConvolutionTargetEXT target, GL.Enums.ConvolutionParameterEXT pname, [Out] Single[] @params) { unsafe { @@ -23329,13 +23098,12 @@ namespace OpenTK.OpenGL public static void GetConvolutionParameterv(GL.Enums.ConvolutionTargetEXT target, GL.Enums.ConvolutionParameterEXT pname, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetConvolutionParameterfvEXT((GL.Enums.ConvolutionTargetEXT)target, (GL.Enums.ConvolutionParameterEXT)pname, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -23348,7 +23116,7 @@ namespace OpenTK.OpenGL } public static - void GetConvolutionParameterv(GL.Enums.ConvolutionTargetEXT target, GL.Enums.ConvolutionParameterEXT pname, [In, Out] Int32[] @params) + void GetConvolutionParameterv(GL.Enums.ConvolutionTargetEXT target, GL.Enums.ConvolutionParameterEXT pname, [Out] Int32[] @params) { unsafe { @@ -23362,13 +23130,12 @@ namespace OpenTK.OpenGL public static void GetConvolutionParameterv(GL.Enums.ConvolutionTargetEXT target, GL.Enums.ConvolutionParameterEXT pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetConvolutionParameterivEXT((GL.Enums.ConvolutionTargetEXT)target, (GL.Enums.ConvolutionParameterEXT)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -23384,124 +23151,121 @@ namespace OpenTK.OpenGL public static unsafe void GetSeparableFilter(GL.Enums.SeparableTargetEXT target, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [Out] void* row, [Out] void* column, [In, Out] object span) { - row = default(void*); - column = default(void*); - System.Runtime.InteropServices.GCHandle span_ptr = System.Runtime.InteropServices.GCHandle.Alloc(span, System.Runtime.InteropServices.GCHandleType.Pinned); + unsafe + { + System.Runtime.InteropServices.GCHandle span_ptr = System.Runtime.InteropServices.GCHandle.Alloc(span, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glGetSeparableFilterEXT((GL.Enums.SeparableTargetEXT)target, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (void*)row, (void*)column, (void*)span_ptr.AddrOfPinnedObject()); } finally { - span_ptr.Free(); } + } } [System.CLSCompliant(false)] public static unsafe void GetSeparableFilter(GL.Enums.SeparableTargetEXT target, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [Out] void* row, [In, Out] object column, [Out] void* span) { - row = default(void*); - span = default(void*); - System.Runtime.InteropServices.GCHandle column_ptr = System.Runtime.InteropServices.GCHandle.Alloc(column, System.Runtime.InteropServices.GCHandleType.Pinned); + unsafe + { + System.Runtime.InteropServices.GCHandle column_ptr = System.Runtime.InteropServices.GCHandle.Alloc(column, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glGetSeparableFilterEXT((GL.Enums.SeparableTargetEXT)target, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (void*)row, (void*)column_ptr.AddrOfPinnedObject(), (void*)span); } finally { - column_ptr.Free(); } + } } [System.CLSCompliant(false)] public static unsafe void GetSeparableFilter(GL.Enums.SeparableTargetEXT target, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [Out] void* row, [In, Out] object column, [In, Out] object span) { - row = default(void*); - System.Runtime.InteropServices.GCHandle span_ptr = System.Runtime.InteropServices.GCHandle.Alloc(span, System.Runtime.InteropServices.GCHandleType.Pinned); - System.Runtime.InteropServices.GCHandle column_ptr = System.Runtime.InteropServices.GCHandle.Alloc(column, System.Runtime.InteropServices.GCHandleType.Pinned); + unsafe + { + System.Runtime.InteropServices.GCHandle column_ptr = System.Runtime.InteropServices.GCHandle.Alloc(column, System.Runtime.InteropServices.GCHandleType.Pinned); + System.Runtime.InteropServices.GCHandle span_ptr = System.Runtime.InteropServices.GCHandle.Alloc(span, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glGetSeparableFilterEXT((GL.Enums.SeparableTargetEXT)target, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (void*)row, (void*)column_ptr.AddrOfPinnedObject(), (void*)span_ptr.AddrOfPinnedObject()); } finally { - column_ptr.Free(); - span_ptr.Free(); } + } } [System.CLSCompliant(false)] public static unsafe void GetSeparableFilter(GL.Enums.SeparableTargetEXT target, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object row, [Out] void* column, [Out] void* span) { - column = default(void*); - span = default(void*); - System.Runtime.InteropServices.GCHandle row_ptr = System.Runtime.InteropServices.GCHandle.Alloc(row, System.Runtime.InteropServices.GCHandleType.Pinned); + unsafe + { + System.Runtime.InteropServices.GCHandle row_ptr = System.Runtime.InteropServices.GCHandle.Alloc(row, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glGetSeparableFilterEXT((GL.Enums.SeparableTargetEXT)target, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (void*)row_ptr.AddrOfPinnedObject(), (void*)column, (void*)span); } finally { - row_ptr.Free(); } + } } [System.CLSCompliant(false)] public static unsafe void GetSeparableFilter(GL.Enums.SeparableTargetEXT target, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object row, [Out] void* column, [In, Out] object span) { - column = default(void*); - System.Runtime.InteropServices.GCHandle span_ptr = System.Runtime.InteropServices.GCHandle.Alloc(span, System.Runtime.InteropServices.GCHandleType.Pinned); - System.Runtime.InteropServices.GCHandle row_ptr = System.Runtime.InteropServices.GCHandle.Alloc(row, System.Runtime.InteropServices.GCHandleType.Pinned); + unsafe + { + System.Runtime.InteropServices.GCHandle row_ptr = System.Runtime.InteropServices.GCHandle.Alloc(row, System.Runtime.InteropServices.GCHandleType.Pinned); + System.Runtime.InteropServices.GCHandle span_ptr = System.Runtime.InteropServices.GCHandle.Alloc(span, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glGetSeparableFilterEXT((GL.Enums.SeparableTargetEXT)target, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (void*)row_ptr.AddrOfPinnedObject(), (void*)column, (void*)span_ptr.AddrOfPinnedObject()); } finally { - row_ptr.Free(); - span_ptr.Free(); } + } } [System.CLSCompliant(false)] public static unsafe void GetSeparableFilter(GL.Enums.SeparableTargetEXT target, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object row, [In, Out] object column, [Out] void* span) { - span = default(void*); - System.Runtime.InteropServices.GCHandle column_ptr = System.Runtime.InteropServices.GCHandle.Alloc(column, System.Runtime.InteropServices.GCHandleType.Pinned); - System.Runtime.InteropServices.GCHandle row_ptr = System.Runtime.InteropServices.GCHandle.Alloc(row, System.Runtime.InteropServices.GCHandleType.Pinned); + unsafe + { + System.Runtime.InteropServices.GCHandle row_ptr = System.Runtime.InteropServices.GCHandle.Alloc(row, System.Runtime.InteropServices.GCHandleType.Pinned); + System.Runtime.InteropServices.GCHandle column_ptr = System.Runtime.InteropServices.GCHandle.Alloc(column, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glGetSeparableFilterEXT((GL.Enums.SeparableTargetEXT)target, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (void*)row_ptr.AddrOfPinnedObject(), (void*)column_ptr.AddrOfPinnedObject(), (void*)span); } finally { - row_ptr.Free(); - column_ptr.Free(); } + } } public static void GetSeparableFilter(GL.Enums.SeparableTargetEXT target, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object row, [In, Out] object column, [In, Out] object span) { - System.Runtime.InteropServices.GCHandle span_ptr = System.Runtime.InteropServices.GCHandle.Alloc(span, System.Runtime.InteropServices.GCHandleType.Pinned); - System.Runtime.InteropServices.GCHandle column_ptr = System.Runtime.InteropServices.GCHandle.Alloc(column, System.Runtime.InteropServices.GCHandleType.Pinned); - System.Runtime.InteropServices.GCHandle row_ptr = System.Runtime.InteropServices.GCHandle.Alloc(row, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle row_ptr = System.Runtime.InteropServices.GCHandle.Alloc(row, System.Runtime.InteropServices.GCHandleType.Pinned); + System.Runtime.InteropServices.GCHandle column_ptr = System.Runtime.InteropServices.GCHandle.Alloc(column, System.Runtime.InteropServices.GCHandleType.Pinned); + System.Runtime.InteropServices.GCHandle span_ptr = System.Runtime.InteropServices.GCHandle.Alloc(span, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glGetSeparableFilterEXT((GL.Enums.SeparableTargetEXT)target, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (void*)row_ptr.AddrOfPinnedObject(), (void*)column_ptr.AddrOfPinnedObject(), (void*)span_ptr.AddrOfPinnedObject()); } finally { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); } } } @@ -23517,47 +23281,49 @@ namespace OpenTK.OpenGL public static unsafe void SeparableFilter2D(GL.Enums.SeparableTargetEXT target, GL.Enums.PixelInternalFormat internalformat, Int32 width, Int32 height, GL.Enums.PixelFormat format, GL.Enums.PixelType type, void* row, [In, Out] object column) { - System.Runtime.InteropServices.GCHandle column_ptr = System.Runtime.InteropServices.GCHandle.Alloc(column, System.Runtime.InteropServices.GCHandleType.Pinned); + unsafe + { + System.Runtime.InteropServices.GCHandle column_ptr = System.Runtime.InteropServices.GCHandle.Alloc(column, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glSeparableFilter2DEXT((GL.Enums.SeparableTargetEXT)target, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (void*)row, (void*)column_ptr.AddrOfPinnedObject()); } finally { - column_ptr.Free(); } + } } [System.CLSCompliant(false)] public static unsafe void SeparableFilter2D(GL.Enums.SeparableTargetEXT target, GL.Enums.PixelInternalFormat internalformat, Int32 width, Int32 height, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object row, void* column) { - System.Runtime.InteropServices.GCHandle row_ptr = System.Runtime.InteropServices.GCHandle.Alloc(row, System.Runtime.InteropServices.GCHandleType.Pinned); + unsafe + { + System.Runtime.InteropServices.GCHandle row_ptr = System.Runtime.InteropServices.GCHandle.Alloc(row, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glSeparableFilter2DEXT((GL.Enums.SeparableTargetEXT)target, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (void*)row_ptr.AddrOfPinnedObject(), (void*)column); } finally { - row_ptr.Free(); } + } } public static void SeparableFilter2D(GL.Enums.SeparableTargetEXT target, GL.Enums.PixelInternalFormat internalformat, Int32 width, Int32 height, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object row, [In, Out] object column) { - System.Runtime.InteropServices.GCHandle column_ptr = System.Runtime.InteropServices.GCHandle.Alloc(column, System.Runtime.InteropServices.GCHandleType.Pinned); - System.Runtime.InteropServices.GCHandle row_ptr = System.Runtime.InteropServices.GCHandle.Alloc(row, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle row_ptr = System.Runtime.InteropServices.GCHandle.Alloc(row, System.Runtime.InteropServices.GCHandleType.Pinned); + System.Runtime.InteropServices.GCHandle column_ptr = System.Runtime.InteropServices.GCHandle.Alloc(column, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glSeparableFilter2DEXT((GL.Enums.SeparableTargetEXT)target, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (void*)row_ptr.AddrOfPinnedObject(), (void*)column_ptr.AddrOfPinnedObject()); } finally { - row_ptr.Free(); - column_ptr.Free(); } } } @@ -23573,59 +23339,67 @@ namespace OpenTK.OpenGL public static unsafe Boolean AreTexturesResident(Int32 n, Int32* textures, [Out] GL.Enums.Boolean* residences) { - residences = default(GL.Enums.Boolean*); - { - Boolean retval = Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures, (GL.Enums.Boolean*)residences); - return retval; - } + unsafe + { + Boolean retval = Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures, (GL.Enums.Boolean*)residences); + return retval; + } } [System.CLSCompliant(false)] public static - unsafe Boolean AreTexturesResident(Int32 n, [In, Out] UInt32[] textures, [Out] GL.Enums.Boolean* residences) + unsafe Boolean AreTexturesResident(Int32 n, UInt32[] textures, [Out] GL.Enums.Boolean* residences) { - residences = default(GL.Enums.Boolean*); + unsafe + { fixed (UInt32* textures_ptr = textures) { Boolean retval = Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures_ptr, (GL.Enums.Boolean*)residences); return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean AreTexturesResident(Int32 n, [In, Out] Int32[] textures, [Out] GL.Enums.Boolean* residences) + unsafe Boolean AreTexturesResident(Int32 n, Int32[] textures, [Out] GL.Enums.Boolean* residences) { - residences = default(GL.Enums.Boolean*); + unsafe + { fixed (Int32* textures_ptr = textures) { Boolean retval = Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures_ptr, (GL.Enums.Boolean*)residences); return retval; } + } } [System.CLSCompliant(false)] public static unsafe Boolean AreTexturesResident(Int32 n, ref UInt32 textures, [Out] GL.Enums.Boolean* residences) { - residences = default(GL.Enums.Boolean*); + unsafe + { fixed (UInt32* textures_ptr = &textures) { Boolean retval = Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures_ptr, (GL.Enums.Boolean*)residences); return retval; } + } } [System.CLSCompliant(false)] public static unsafe Boolean AreTexturesResident(Int32 n, ref Int32 textures, [Out] GL.Enums.Boolean* residences) { - residences = default(GL.Enums.Boolean*); + unsafe + { fixed (Int32* textures_ptr = &textures) { Boolean retval = Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures_ptr, (GL.Enums.Boolean*)residences); return retval; } + } } [System.CLSCompliant(false)] @@ -23652,14 +23426,15 @@ namespace OpenTK.OpenGL public static unsafe void DeleteTextures(Int32 n, Int32* textures) { - { - Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures); - } + unsafe + { + Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures); + } } [System.CLSCompliant(false)] public static - void DeleteTextures(Int32 n, [In, Out] UInt32[] textures) + void DeleteTextures(Int32 n, UInt32[] textures) { unsafe { @@ -23671,7 +23446,7 @@ namespace OpenTK.OpenGL } public static - void DeleteTextures(Int32 n, [In, Out] Int32[] textures) + void DeleteTextures(Int32 n, Int32[] textures) { unsafe { @@ -23718,15 +23493,15 @@ namespace OpenTK.OpenGL public static unsafe void GenTextures(Int32 n, [Out] Int32* textures) { - textures = default(Int32*); - { - Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures); - } + unsafe + { + Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures); + } } [System.CLSCompliant(false)] public static - void GenTextures(Int32 n, [In, Out] UInt32[] textures) + void GenTextures(Int32 n, [Out] UInt32[] textures) { unsafe { @@ -23738,7 +23513,7 @@ namespace OpenTK.OpenGL } public static - void GenTextures(Int32 n, [In, Out] Int32[] textures) + void GenTextures(Int32 n, [Out] Int32[] textures) { unsafe { @@ -23753,13 +23528,12 @@ namespace OpenTK.OpenGL public static void GenTextures(Int32 n, [Out] out UInt32 textures) { - textures = default(UInt32); unsafe { fixed (UInt32* textures_ptr = &textures) { Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures_ptr); - textures = *textures_ptr; + textures = *textures_ptr; } } } @@ -23767,13 +23541,12 @@ namespace OpenTK.OpenGL public static void GenTextures(Int32 n, [Out] out Int32 textures) { - textures = default(Int32); unsafe { fixed (Int32* textures_ptr = &textures) { Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures_ptr); - textures = *textures_ptr; + textures = *textures_ptr; } } } @@ -23802,74 +23575,93 @@ namespace OpenTK.OpenGL public static unsafe void PrioritizeTextures(Int32 n, Int32* textures, Single* priorities) { - { - Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures, (Single*)priorities); - } + unsafe + { + Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures, (Single*)priorities); + } } [System.CLSCompliant(false)] public static - unsafe void PrioritizeTextures(Int32 n, UInt32* textures, [In, Out] Single[] priorities) + unsafe void PrioritizeTextures(Int32 n, UInt32* textures, Single[] priorities) { + unsafe + { fixed (Single* priorities_ptr = priorities) { Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures, (Single*)priorities_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void PrioritizeTextures(Int32 n, Int32* textures, [In, Out] Single[] priorities) + unsafe void PrioritizeTextures(Int32 n, Int32* textures, Single[] priorities) { + unsafe + { fixed (Single* priorities_ptr = priorities) { Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures, (Single*)priorities_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void PrioritizeTextures(Int32 n, UInt32* textures, ref Single priorities) { + unsafe + { fixed (Single* priorities_ptr = &priorities) { Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures, (Single*)priorities_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void PrioritizeTextures(Int32 n, Int32* textures, ref Single priorities) { + unsafe + { fixed (Single* priorities_ptr = &priorities) { Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures, (Single*)priorities_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void PrioritizeTextures(Int32 n, [In, Out] UInt32[] textures, Single* priorities) + unsafe void PrioritizeTextures(Int32 n, UInt32[] textures, Single* priorities) { + unsafe + { fixed (UInt32* textures_ptr = textures) { Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures_ptr, (Single*)priorities); } + } } [System.CLSCompliant(false)] public static - unsafe void PrioritizeTextures(Int32 n, [In, Out] Int32[] textures, Single* priorities) + unsafe void PrioritizeTextures(Int32 n, Int32[] textures, Single* priorities) { + unsafe + { fixed (Int32* textures_ptr = textures) { Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures_ptr, (Single*)priorities); } + } } [System.CLSCompliant(false)] public static - void PrioritizeTextures(Int32 n, [In, Out] UInt32[] textures, [In, Out] Single[] priorities) + void PrioritizeTextures(Int32 n, UInt32[] textures, Single[] priorities) { unsafe { @@ -23882,7 +23674,7 @@ namespace OpenTK.OpenGL } public static - void PrioritizeTextures(Int32 n, [In, Out] Int32[] textures, [In, Out] Single[] priorities) + void PrioritizeTextures(Int32 n, Int32[] textures, Single[] priorities) { unsafe { @@ -23896,7 +23688,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void PrioritizeTextures(Int32 n, [In, Out] UInt32[] textures, ref Single priorities) + void PrioritizeTextures(Int32 n, UInt32[] textures, ref Single priorities) { unsafe { @@ -23909,7 +23701,7 @@ namespace OpenTK.OpenGL } public static - void PrioritizeTextures(Int32 n, [In, Out] Int32[] textures, ref Single priorities) + void PrioritizeTextures(Int32 n, Int32[] textures, ref Single priorities) { unsafe { @@ -23925,25 +23717,31 @@ namespace OpenTK.OpenGL public static unsafe void PrioritizeTextures(Int32 n, ref UInt32 textures, Single* priorities) { + unsafe + { fixed (UInt32* textures_ptr = &textures) { Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures_ptr, (Single*)priorities); } + } } [System.CLSCompliant(false)] public static unsafe void PrioritizeTextures(Int32 n, ref Int32 textures, Single* priorities) { + unsafe + { fixed (Int32* textures_ptr = &textures) { Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures_ptr, (Single*)priorities); } + } } [System.CLSCompliant(false)] public static - void PrioritizeTextures(Int32 n, ref UInt32 textures, [In, Out] Single[] priorities) + void PrioritizeTextures(Int32 n, ref UInt32 textures, Single[] priorities) { unsafe { @@ -23956,7 +23754,7 @@ namespace OpenTK.OpenGL } public static - void PrioritizeTextures(Int32 n, ref Int32 textures, [In, Out] Single[] priorities) + void PrioritizeTextures(Int32 n, ref Int32 textures, Single[] priorities) { unsafe { @@ -24011,16 +23809,15 @@ namespace OpenTK.OpenGL public static void ColorPointer(Int32 size, GL.Enums.ColorPointerType type, Int32 stride, Int32 count, [In, Out] object pointer) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glColorPointerEXT((Int32)size, (GL.Enums.ColorPointerType)type, (Int32)stride, (Int32)count, (void*)pointer_ptr.AddrOfPinnedObject()); } finally { - pointer_ptr.Free(); } } } @@ -24048,16 +23845,15 @@ namespace OpenTK.OpenGL public static void GetPointerv(GL.Enums.GetPointervPName pname, [In, Out] object @params) { - System.Runtime.InteropServices.GCHandle @params_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@params, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle @params_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@params, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glGetPointervEXT((GL.Enums.GetPointervPName)pname, (void*)@params_ptr.AddrOfPinnedObject()); } finally { - @params_ptr.Free(); } } } @@ -24072,16 +23868,15 @@ namespace OpenTK.OpenGL public static void IndexPointer(GL.Enums.IndexPointerType type, Int32 stride, Int32 count, [In, Out] object pointer) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glIndexPointerEXT((GL.Enums.IndexPointerType)type, (Int32)stride, (Int32)count, (void*)pointer_ptr.AddrOfPinnedObject()); } finally { - pointer_ptr.Free(); } } } @@ -24096,16 +23891,15 @@ namespace OpenTK.OpenGL public static void NormalPointer(GL.Enums.NormalPointerType type, Int32 stride, Int32 count, [In, Out] object pointer) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glNormalPointerEXT((GL.Enums.NormalPointerType)type, (Int32)stride, (Int32)count, (void*)pointer_ptr.AddrOfPinnedObject()); } finally { - pointer_ptr.Free(); } } } @@ -24120,16 +23914,15 @@ namespace OpenTK.OpenGL public static void TexCoordPointer(Int32 size, GL.Enums.TexCoordPointerType type, Int32 stride, Int32 count, [In, Out] object pointer) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glTexCoordPointerEXT((Int32)size, (GL.Enums.TexCoordPointerType)type, (Int32)stride, (Int32)count, (void*)pointer_ptr.AddrOfPinnedObject()); } finally { - pointer_ptr.Free(); } } } @@ -24144,16 +23937,15 @@ namespace OpenTK.OpenGL public static void VertexPointer(Int32 size, GL.Enums.VertexPointerType type, Int32 stride, Int32 count, [In, Out] object pointer) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glVertexPointerEXT((Int32)size, (GL.Enums.VertexPointerType)type, (Int32)stride, (Int32)count, (void*)pointer_ptr.AddrOfPinnedObject()); } finally { - pointer_ptr.Free(); } } } @@ -24178,7 +23970,7 @@ namespace OpenTK.OpenGL } public static - void PointParameterv(GL.Enums.EXT_point_parameters pname, [In, Out] Single[] @params) + void PointParameterv(GL.Enums.EXT_point_parameters pname, Single[] @params) { unsafe { @@ -24211,16 +24003,15 @@ namespace OpenTK.OpenGL public static void ColorSubTable(GL.Enums.EXT_color_subtable target, Int32 start, Int32 count, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object data) { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glColorSubTableEXT((GL.Enums.EXT_color_subtable)target, (Int32)start, (Int32)count, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (void*)data_ptr.AddrOfPinnedObject()); } finally { - data_ptr.Free(); } } } @@ -24241,16 +24032,15 @@ namespace OpenTK.OpenGL public static void ColorTable(GL.Enums.EXT_paletted_texture target, GL.Enums.PixelInternalFormat internalFormat, Int32 width, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object table) { - System.Runtime.InteropServices.GCHandle table_ptr = System.Runtime.InteropServices.GCHandle.Alloc(table, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle table_ptr = System.Runtime.InteropServices.GCHandle.Alloc(table, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glColorTableEXT((GL.Enums.EXT_paletted_texture)target, (GL.Enums.PixelInternalFormat)internalFormat, (Int32)width, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (void*)table_ptr.AddrOfPinnedObject()); } finally { - table_ptr.Free(); } } } @@ -24265,16 +24055,15 @@ namespace OpenTK.OpenGL public static void GetColorTable(GL.Enums.EXT_paletted_texture target, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object data) { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glGetColorTableEXT((GL.Enums.EXT_paletted_texture)target, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (void*)data_ptr.AddrOfPinnedObject()); } finally { - data_ptr.Free(); } } } @@ -24287,7 +24076,7 @@ namespace OpenTK.OpenGL } public static - void GetColorTableParameterv(GL.Enums.EXT_paletted_texture target, GL.Enums.EXT_paletted_texture pname, [In, Out] Int32[] @params) + void GetColorTableParameterv(GL.Enums.EXT_paletted_texture target, GL.Enums.EXT_paletted_texture pname, [Out] Int32[] @params) { unsafe { @@ -24301,13 +24090,12 @@ namespace OpenTK.OpenGL public static void GetColorTableParameterv(GL.Enums.EXT_paletted_texture target, GL.Enums.EXT_paletted_texture pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetColorTableParameterivEXT((GL.Enums.EXT_paletted_texture)target, (GL.Enums.EXT_paletted_texture)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -24320,7 +24108,7 @@ namespace OpenTK.OpenGL } public static - void GetColorTableParameterv(GL.Enums.EXT_paletted_texture target, GL.Enums.EXT_paletted_texture pname, [In, Out] Single[] @params) + void GetColorTableParameterv(GL.Enums.EXT_paletted_texture target, GL.Enums.EXT_paletted_texture pname, [Out] Single[] @params) { unsafe { @@ -24334,13 +24122,12 @@ namespace OpenTK.OpenGL public static void GetColorTableParameterv(GL.Enums.EXT_paletted_texture target, GL.Enums.EXT_paletted_texture pname, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetColorTableParameterfvEXT((GL.Enums.EXT_paletted_texture)target, (GL.Enums.EXT_paletted_texture)pname, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -24377,7 +24164,7 @@ namespace OpenTK.OpenGL } public static - void CullParameterv(GL.Enums.EXT_cull_vertex pname, [In, Out] Double[] @params) + void CullParameterv(GL.Enums.EXT_cull_vertex pname, [Out] Double[] @params) { unsafe { @@ -24391,13 +24178,12 @@ namespace OpenTK.OpenGL public static void CullParameterv(GL.Enums.EXT_cull_vertex pname, [Out] out Double @params) { - @params = default(Double); unsafe { fixed (Double* @params_ptr = &@params) { Delegates.glCullParameterdvEXT((GL.Enums.EXT_cull_vertex)pname, (Double*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -24410,7 +24196,7 @@ namespace OpenTK.OpenGL } public static - void CullParameterv(GL.Enums.EXT_cull_vertex pname, [In, Out] Single[] @params) + void CullParameterv(GL.Enums.EXT_cull_vertex pname, [Out] Single[] @params) { unsafe { @@ -24424,13 +24210,12 @@ namespace OpenTK.OpenGL public static void CullParameterv(GL.Enums.EXT_cull_vertex pname, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glCullParameterfvEXT((GL.Enums.EXT_cull_vertex)pname, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -24446,25 +24231,25 @@ namespace OpenTK.OpenGL public static unsafe void DrawRangeElements(GL.Enums.BeginMode mode, Int32 start, Int32 end, Int32 count, GL.Enums.EXT_draw_range_elements type, void* indices) { - { - Delegates.glDrawRangeElementsEXT((GL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (GL.Enums.EXT_draw_range_elements)type, (void*)indices); - } + unsafe + { + Delegates.glDrawRangeElementsEXT((GL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (GL.Enums.EXT_draw_range_elements)type, (void*)indices); + } } [System.CLSCompliant(false)] public static void DrawRangeElements(GL.Enums.BeginMode mode, UInt32 start, UInt32 end, Int32 count, GL.Enums.EXT_draw_range_elements type, [In, Out] object indices) { - System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glDrawRangeElementsEXT((GL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (GL.Enums.EXT_draw_range_elements)type, (void*)indices_ptr.AddrOfPinnedObject()); } finally { - indices_ptr.Free(); } } } @@ -24472,16 +24257,15 @@ namespace OpenTK.OpenGL public static void DrawRangeElements(GL.Enums.BeginMode mode, Int32 start, Int32 end, Int32 count, GL.Enums.EXT_draw_range_elements type, [In, Out] object indices) { - System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glDrawRangeElementsEXT((GL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (GL.Enums.EXT_draw_range_elements)type, (void*)indices_ptr.AddrOfPinnedObject()); } finally { - indices_ptr.Free(); } } } @@ -24524,7 +24308,7 @@ namespace OpenTK.OpenGL } public static - void PixelTransformParameterv(GL.Enums.EXT_pixel_transform target, GL.Enums.EXT_pixel_transform pname, [In, Out] Int32[] @params) + void PixelTransformParameterv(GL.Enums.EXT_pixel_transform target, GL.Enums.EXT_pixel_transform pname, Int32[] @params) { unsafe { @@ -24555,7 +24339,7 @@ namespace OpenTK.OpenGL } public static - void PixelTransformParameterv(GL.Enums.EXT_pixel_transform target, GL.Enums.EXT_pixel_transform pname, [In, Out] Single[] @params) + void PixelTransformParameterv(GL.Enums.EXT_pixel_transform target, GL.Enums.EXT_pixel_transform pname, Single[] @params) { unsafe { @@ -24585,12 +24369,6 @@ namespace OpenTK.OpenGL Delegates.glSecondaryColor3bEXT((SByte)red, (SByte)green, (SByte)blue); } - public static - void SecondaryColor3(Byte red, Byte green, Byte blue) - { - Delegates.glSecondaryColor3bEXT((SByte)red, (SByte)green, (SByte)blue); - } - [System.CLSCompliant(false)] public static unsafe void SecondaryColor3(SByte* v) @@ -24600,16 +24378,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void SecondaryColor3(Byte* v) - { - { - Delegates.glSecondaryColor3bvEXT((SByte*)v); - } - } - - [System.CLSCompliant(false)] - public static - void SecondaryColor3([In, Out] SByte[] v) + void SecondaryColor3(SByte[] v) { unsafe { @@ -24620,18 +24389,6 @@ namespace OpenTK.OpenGL } } - public static - void SecondaryColor3([In, Out] Byte[] v) - { - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glSecondaryColor3bvEXT((SByte*)v_ptr); - } - } - } - [System.CLSCompliant(false)] public static void SecondaryColor3(ref SByte v) @@ -24645,18 +24402,6 @@ namespace OpenTK.OpenGL } } - public static - void SecondaryColor3(ref Byte v) - { - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glSecondaryColor3bvEXT((SByte*)v_ptr); - } - } - } - public static void SecondaryColor3(Double red, Double green, Double blue) { @@ -24671,7 +24416,7 @@ namespace OpenTK.OpenGL } public static - void SecondaryColor3([In, Out] Double[] v) + void SecondaryColor3(Double[] v) { unsafe { @@ -24708,7 +24453,7 @@ namespace OpenTK.OpenGL } public static - void SecondaryColor3([In, Out] Single[] v) + void SecondaryColor3(Single[] v) { unsafe { @@ -24732,75 +24477,38 @@ namespace OpenTK.OpenGL } public static - void SecondaryColor3(Int32 red, Int32 green, Int32 blue) + void SecondaryColor3(Byte red, Byte green, Byte blue) { - Delegates.glSecondaryColor3iEXT((Int32)red, (Int32)green, (Int32)blue); + Delegates.glSecondaryColor3ubEXT((Byte)red, (Byte)green, (Byte)blue); } [System.CLSCompliant(false)] public static - unsafe void SecondaryColor3(Int32* v) + unsafe void SecondaryColor3(Byte* v) { - unsafe { Delegates.glSecondaryColor3ivEXT((Int32*)v); } + unsafe { Delegates.glSecondaryColor3ubvEXT((Byte*)v); } } public static - void SecondaryColor3([In, Out] Int32[] v) + void SecondaryColor3(Byte[] v) { unsafe { - fixed (Int32* v_ptr = v) + fixed (Byte* v_ptr = v) { - Delegates.glSecondaryColor3ivEXT((Int32*)v_ptr); + Delegates.glSecondaryColor3ubvEXT((Byte*)v_ptr); } } } public static - void SecondaryColor3(ref Int32 v) + void SecondaryColor3(ref Byte v) { unsafe { - fixed (Int32* v_ptr = &v) + fixed (Byte* v_ptr = &v) { - Delegates.glSecondaryColor3ivEXT((Int32*)v_ptr); - } - } - } - - public static - void SecondaryColor3(Int16 red, Int16 green, Int16 blue) - { - Delegates.glSecondaryColor3sEXT((Int16)red, (Int16)green, (Int16)blue); - } - - [System.CLSCompliant(false)] - public static - unsafe void SecondaryColor3(Int16* v) - { - unsafe { Delegates.glSecondaryColor3svEXT((Int16*)v); } - } - - public static - void SecondaryColor3([In, Out] Int16[] v) - { - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glSecondaryColor3svEXT((Int16*)v_ptr); - } - } - } - - public static - void SecondaryColor3(ref Int16 v) - { - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glSecondaryColor3svEXT((Int16*)v_ptr); + Delegates.glSecondaryColor3ubvEXT((Byte*)v_ptr); } } } @@ -24812,6 +24520,12 @@ namespace OpenTK.OpenGL Delegates.glSecondaryColor3uiEXT((UInt32)red, (UInt32)green, (UInt32)blue); } + public static + void SecondaryColor3(Int32 red, Int32 green, Int32 blue) + { + Delegates.glSecondaryColor3uiEXT((UInt32)red, (UInt32)green, (UInt32)blue); + } + [System.CLSCompliant(false)] public static unsafe void SecondaryColor3(UInt32* v) @@ -24821,7 +24535,17 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void SecondaryColor3([In, Out] UInt32[] v) + unsafe void SecondaryColor3(Int32* v) + { + unsafe + { + Delegates.glSecondaryColor3uivEXT((UInt32*)v); + } + } + + [System.CLSCompliant(false)] + public static + void SecondaryColor3(UInt32[] v) { unsafe { @@ -24832,6 +24556,18 @@ namespace OpenTK.OpenGL } } + public static + void SecondaryColor3(Int32[] v) + { + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glSecondaryColor3uivEXT((UInt32*)v_ptr); + } + } + } + [System.CLSCompliant(false)] public static void SecondaryColor3(ref UInt32 v) @@ -24845,6 +24581,18 @@ namespace OpenTK.OpenGL } } + public static + void SecondaryColor3(ref Int32 v) + { + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glSecondaryColor3uivEXT((UInt32*)v_ptr); + } + } + } + [System.CLSCompliant(false)] public static void SecondaryColor3(UInt16 red, UInt16 green, UInt16 blue) @@ -24852,6 +24600,12 @@ namespace OpenTK.OpenGL Delegates.glSecondaryColor3usEXT((UInt16)red, (UInt16)green, (UInt16)blue); } + public static + void SecondaryColor3(Int16 red, Int16 green, Int16 blue) + { + Delegates.glSecondaryColor3usEXT((UInt16)red, (UInt16)green, (UInt16)blue); + } + [System.CLSCompliant(false)] public static unsafe void SecondaryColor3(UInt16* v) @@ -24861,7 +24615,17 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void SecondaryColor3([In, Out] UInt16[] v) + unsafe void SecondaryColor3(Int16* v) + { + unsafe + { + Delegates.glSecondaryColor3usvEXT((UInt16*)v); + } + } + + [System.CLSCompliant(false)] + public static + void SecondaryColor3(UInt16[] v) { unsafe { @@ -24872,6 +24636,18 @@ namespace OpenTK.OpenGL } } + public static + void SecondaryColor3(Int16[] v) + { + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glSecondaryColor3usvEXT((UInt16*)v_ptr); + } + } + } + [System.CLSCompliant(false)] public static void SecondaryColor3(ref UInt16 v) @@ -24885,6 +24661,18 @@ namespace OpenTK.OpenGL } } + public static + void SecondaryColor3(ref Int16 v) + { + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glSecondaryColor3usvEXT((UInt16*)v_ptr); + } + } + } + [System.CLSCompliant(false)] public static unsafe void SecondaryColorPointer(Int32 size, GL.Enums.ColorPointerType type, Int32 stride, void* pointer) @@ -24895,16 +24683,15 @@ namespace OpenTK.OpenGL public static void SecondaryColorPointer(Int32 size, GL.Enums.ColorPointerType type, Int32 stride, [In, Out] object pointer) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glSecondaryColorPointerEXT((Int32)size, (GL.Enums.ColorPointerType)type, (Int32)stride, (void*)pointer_ptr.AddrOfPinnedObject()); } finally { - pointer_ptr.Free(); } } } @@ -24924,41 +24711,46 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void MultiDrawArrays(GL.Enums.BeginMode mode, [Out] Int32* first, [In, Out] Int32[] count, Int32 primcount) + unsafe void MultiDrawArrays(GL.Enums.BeginMode mode, [Out] Int32* first, [Out] Int32[] count, Int32 primcount) { - first = default(Int32*); + unsafe + { fixed (Int32* count_ptr = count) { Delegates.glMultiDrawArraysEXT((GL.Enums.BeginMode)mode, (Int32*)first, (Int32*)count_ptr, (Int32)primcount); } + } } [System.CLSCompliant(false)] public static unsafe void MultiDrawArrays(GL.Enums.BeginMode mode, [Out] Int32* first, [Out] out Int32 count, Int32 primcount) { - first = default(Int32*); - count = default(Int32); + unsafe + { fixed (Int32* count_ptr = &count) { Delegates.glMultiDrawArraysEXT((GL.Enums.BeginMode)mode, (Int32*)first, (Int32*)count_ptr, (Int32)primcount); - count = *count_ptr; + count = *count_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void MultiDrawArrays(GL.Enums.BeginMode mode, [In, Out] Int32[] first, [Out] Int32* count, Int32 primcount) + unsafe void MultiDrawArrays(GL.Enums.BeginMode mode, [Out] Int32[] first, [Out] Int32* count, Int32 primcount) { - count = default(Int32*); + unsafe + { fixed (Int32* first_ptr = first) { Delegates.glMultiDrawArraysEXT((GL.Enums.BeginMode)mode, (Int32*)first_ptr, (Int32*)count, (Int32)primcount); } + } } public static - void MultiDrawArrays(GL.Enums.BeginMode mode, [In, Out] Int32[] first, [In, Out] Int32[] count, Int32 primcount) + void MultiDrawArrays(GL.Enums.BeginMode mode, [Out] Int32[] first, [Out] Int32[] count, Int32 primcount) { unsafe { @@ -24971,16 +24763,15 @@ namespace OpenTK.OpenGL } public static - void MultiDrawArrays(GL.Enums.BeginMode mode, [In, Out] Int32[] first, [Out] out Int32 count, Int32 primcount) + void MultiDrawArrays(GL.Enums.BeginMode mode, [Out] Int32[] first, [Out] out Int32 count, Int32 primcount) { - count = default(Int32); unsafe { fixed (Int32* first_ptr = first) fixed (Int32* count_ptr = &count) { Delegates.glMultiDrawArraysEXT((GL.Enums.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); - count = *count_ptr; + count = *count_ptr; } } } @@ -24989,26 +24780,26 @@ namespace OpenTK.OpenGL public static unsafe void MultiDrawArrays(GL.Enums.BeginMode mode, [Out] out Int32 first, [Out] Int32* count, Int32 primcount) { - first = default(Int32); - count = default(Int32*); + unsafe + { fixed (Int32* first_ptr = &first) { Delegates.glMultiDrawArraysEXT((GL.Enums.BeginMode)mode, (Int32*)first_ptr, (Int32*)count, (Int32)primcount); - first = *first_ptr; + first = *first_ptr; } + } } public static - void MultiDrawArrays(GL.Enums.BeginMode mode, [Out] out Int32 first, [In, Out] Int32[] count, Int32 primcount) + void MultiDrawArrays(GL.Enums.BeginMode mode, [Out] out Int32 first, [Out] Int32[] count, Int32 primcount) { - first = default(Int32); unsafe { fixed (Int32* first_ptr = &first) fixed (Int32* count_ptr = count) { Delegates.glMultiDrawArraysEXT((GL.Enums.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); - first = *first_ptr; + first = *first_ptr; } } } @@ -25016,16 +24807,14 @@ namespace OpenTK.OpenGL public static void MultiDrawArrays(GL.Enums.BeginMode mode, [Out] out Int32 first, [Out] out Int32 count, Int32 primcount) { - first = default(Int32); - count = default(Int32); unsafe { fixed (Int32* first_ptr = &first) fixed (Int32* count_ptr = &count) { Delegates.glMultiDrawArraysEXT((GL.Enums.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); - first = *first_ptr; - count = *count_ptr; + first = *first_ptr; + count = *count_ptr; } } } @@ -25041,41 +24830,47 @@ namespace OpenTK.OpenGL public static unsafe void MultiDrawElements(GL.Enums.BeginMode mode, Int32* count, GL.Enums.EXT_multi_draw_arrays type, [In, Out] object indices, Int32 primcount) { - System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); + unsafe + { + System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glMultiDrawElementsEXT((GL.Enums.BeginMode)mode, (Int32*)count, (GL.Enums.EXT_multi_draw_arrays)type, (void*)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); } finally { - indices_ptr.Free(); } + } } [System.CLSCompliant(false)] public static - unsafe void MultiDrawElements(GL.Enums.BeginMode mode, [In, Out] Int32[] count, GL.Enums.EXT_multi_draw_arrays type, void* indices, Int32 primcount) + unsafe void MultiDrawElements(GL.Enums.BeginMode mode, Int32[] count, GL.Enums.EXT_multi_draw_arrays type, void* indices, Int32 primcount) { + unsafe + { fixed (Int32* count_ptr = count) { Delegates.glMultiDrawElementsEXT((GL.Enums.BeginMode)mode, (Int32*)count_ptr, (GL.Enums.EXT_multi_draw_arrays)type, (void*)indices, (Int32)primcount); } + } } public static - void MultiDrawElements(GL.Enums.BeginMode mode, [In, Out] Int32[] count, GL.Enums.EXT_multi_draw_arrays type, [In, Out] object indices, Int32 primcount) + void MultiDrawElements(GL.Enums.BeginMode mode, Int32[] count, GL.Enums.EXT_multi_draw_arrays type, [In, Out] object indices, Int32 primcount) { - System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { fixed (Int32* count_ptr = count) - try { - Delegates.glMultiDrawElementsEXT((GL.Enums.BeginMode)mode, (Int32*)count_ptr, (GL.Enums.EXT_multi_draw_arrays)type, (void*)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); + System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((GL.Enums.BeginMode)mode, (Int32*)count_ptr, (GL.Enums.EXT_multi_draw_arrays)type, (void*)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + } } } } @@ -25084,26 +24879,30 @@ namespace OpenTK.OpenGL public static unsafe void MultiDrawElements(GL.Enums.BeginMode mode, ref Int32 count, GL.Enums.EXT_multi_draw_arrays type, void* indices, Int32 primcount) { + unsafe + { fixed (Int32* count_ptr = &count) { Delegates.glMultiDrawElementsEXT((GL.Enums.BeginMode)mode, (Int32*)count_ptr, (GL.Enums.EXT_multi_draw_arrays)type, (void*)indices, (Int32)primcount); } + } } public static void MultiDrawElements(GL.Enums.BeginMode mode, ref Int32 count, GL.Enums.EXT_multi_draw_arrays type, [In, Out] object indices, Int32 primcount) { - System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { fixed (Int32* count_ptr = &count) - try { - Delegates.glMultiDrawElementsEXT((GL.Enums.BeginMode)mode, (Int32*)count_ptr, (GL.Enums.EXT_multi_draw_arrays)type, (void*)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); + System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((GL.Enums.BeginMode)mode, (Int32*)count_ptr, (GL.Enums.EXT_multi_draw_arrays)type, (void*)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + } } } } @@ -25122,7 +24921,7 @@ namespace OpenTK.OpenGL } public static - void FogCoordv([In, Out] Single[] coord) + void FogCoordv(Single[] coord) { unsafe { @@ -25159,7 +24958,7 @@ namespace OpenTK.OpenGL } public static - void FogCoordv([In, Out] Double[] coord) + void FogCoordv(Double[] coord) { unsafe { @@ -25192,16 +24991,15 @@ namespace OpenTK.OpenGL public static void FogCoordPointer(GL.Enums.EXT_fog_coord type, Int32 stride, [In, Out] object pointer) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glFogCoordPointerEXT((GL.Enums.EXT_fog_coord)type, (Int32)stride, (void*)pointer_ptr.AddrOfPinnedObject()); } finally { - pointer_ptr.Free(); } } } @@ -25230,14 +25028,15 @@ namespace OpenTK.OpenGL public static unsafe void Tangent3(Byte* v) { - { - Delegates.glTangent3bvEXT((SByte*)v); - } + unsafe + { + Delegates.glTangent3bvEXT((SByte*)v); + } } [System.CLSCompliant(false)] public static - void Tangent3([In, Out] SByte[] v) + void Tangent3(SByte[] v) { unsafe { @@ -25249,7 +25048,7 @@ namespace OpenTK.OpenGL } public static - void Tangent3([In, Out] Byte[] v) + void Tangent3(Byte[] v) { unsafe { @@ -25299,7 +25098,7 @@ namespace OpenTK.OpenGL } public static - void Tangent3([In, Out] Double[] v) + void Tangent3(Double[] v) { unsafe { @@ -25336,7 +25135,7 @@ namespace OpenTK.OpenGL } public static - void Tangent3([In, Out] Single[] v) + void Tangent3(Single[] v) { unsafe { @@ -25373,7 +25172,7 @@ namespace OpenTK.OpenGL } public static - void Tangent3([In, Out] Int32[] v) + void Tangent3(Int32[] v) { unsafe { @@ -25410,7 +25209,7 @@ namespace OpenTK.OpenGL } public static - void Tangent3([In, Out] Int16[] v) + void Tangent3(Int16[] v) { unsafe { @@ -25457,14 +25256,15 @@ namespace OpenTK.OpenGL public static unsafe void Binormal3(Byte* v) { - { - Delegates.glBinormal3bvEXT((SByte*)v); - } + unsafe + { + Delegates.glBinormal3bvEXT((SByte*)v); + } } [System.CLSCompliant(false)] public static - void Binormal3([In, Out] SByte[] v) + void Binormal3(SByte[] v) { unsafe { @@ -25476,7 +25276,7 @@ namespace OpenTK.OpenGL } public static - void Binormal3([In, Out] Byte[] v) + void Binormal3(Byte[] v) { unsafe { @@ -25526,7 +25326,7 @@ namespace OpenTK.OpenGL } public static - void Binormal3([In, Out] Double[] v) + void Binormal3(Double[] v) { unsafe { @@ -25563,7 +25363,7 @@ namespace OpenTK.OpenGL } public static - void Binormal3([In, Out] Single[] v) + void Binormal3(Single[] v) { unsafe { @@ -25600,7 +25400,7 @@ namespace OpenTK.OpenGL } public static - void Binormal3([In, Out] Int32[] v) + void Binormal3(Int32[] v) { unsafe { @@ -25637,7 +25437,7 @@ namespace OpenTK.OpenGL } public static - void Binormal3([In, Out] Int16[] v) + void Binormal3(Int16[] v) { unsafe { @@ -25670,16 +25470,15 @@ namespace OpenTK.OpenGL public static void TangentPointer(GL.Enums.EXT_coordinate_frame type, Int32 stride, [In, Out] object pointer) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glTangentPointerEXT((GL.Enums.EXT_coordinate_frame)type, (Int32)stride, (void*)pointer_ptr.AddrOfPinnedObject()); } finally { - pointer_ptr.Free(); } } } @@ -25694,16 +25493,15 @@ namespace OpenTK.OpenGL public static void BinormalPointer(GL.Enums.EXT_coordinate_frame type, Int32 stride, [In, Out] object pointer) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glBinormalPointerEXT((GL.Enums.EXT_coordinate_frame)type, (Int32)stride, (void*)pointer_ptr.AddrOfPinnedObject()); } finally { - pointer_ptr.Free(); } } } @@ -25728,7 +25526,7 @@ namespace OpenTK.OpenGL } public static - void VertexWeightv([In, Out] Single[] weight) + void VertexWeightv(Single[] weight) { unsafe { @@ -25761,16 +25559,15 @@ namespace OpenTK.OpenGL public static void VertexWeightPointer(Int32 size, GL.Enums.EXT_vertex_weighting type, Int32 stride, [In, Out] object pointer) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glVertexWeightPointerEXT((Int32)size, (GL.Enums.EXT_vertex_weighting)type, (Int32)stride, (void*)pointer_ptr.AddrOfPinnedObject()); } finally { - pointer_ptr.Free(); } } } @@ -25953,25 +25750,25 @@ namespace OpenTK.OpenGL public static unsafe void SetInvariant(Int32 id, GL.Enums.EXT_vertex_shader type, void* addr) { - { - Delegates.glSetInvariantEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)type, (void*)addr); - } + unsafe + { + Delegates.glSetInvariantEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)type, (void*)addr); + } } [System.CLSCompliant(false)] public static void SetInvariant(UInt32 id, GL.Enums.EXT_vertex_shader type, [In, Out] object addr) { - System.Runtime.InteropServices.GCHandle addr_ptr = System.Runtime.InteropServices.GCHandle.Alloc(addr, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle addr_ptr = System.Runtime.InteropServices.GCHandle.Alloc(addr, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glSetInvariantEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)type, (void*)addr_ptr.AddrOfPinnedObject()); } finally { - addr_ptr.Free(); } } } @@ -25979,16 +25776,15 @@ namespace OpenTK.OpenGL public static void SetInvariant(Int32 id, GL.Enums.EXT_vertex_shader type, [In, Out] object addr) { - System.Runtime.InteropServices.GCHandle addr_ptr = System.Runtime.InteropServices.GCHandle.Alloc(addr, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle addr_ptr = System.Runtime.InteropServices.GCHandle.Alloc(addr, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glSetInvariantEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)type, (void*)addr_ptr.AddrOfPinnedObject()); } finally { - addr_ptr.Free(); } } } @@ -26004,25 +25800,25 @@ namespace OpenTK.OpenGL public static unsafe void SetLocalConstant(Int32 id, GL.Enums.EXT_vertex_shader type, void* addr) { - { - Delegates.glSetLocalConstantEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)type, (void*)addr); - } + unsafe + { + Delegates.glSetLocalConstantEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)type, (void*)addr); + } } [System.CLSCompliant(false)] public static void SetLocalConstant(UInt32 id, GL.Enums.EXT_vertex_shader type, [In, Out] object addr) { - System.Runtime.InteropServices.GCHandle addr_ptr = System.Runtime.InteropServices.GCHandle.Alloc(addr, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle addr_ptr = System.Runtime.InteropServices.GCHandle.Alloc(addr, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glSetLocalConstantEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)type, (void*)addr_ptr.AddrOfPinnedObject()); } finally { - addr_ptr.Free(); } } } @@ -26030,16 +25826,15 @@ namespace OpenTK.OpenGL public static void SetLocalConstant(Int32 id, GL.Enums.EXT_vertex_shader type, [In, Out] object addr) { - System.Runtime.InteropServices.GCHandle addr_ptr = System.Runtime.InteropServices.GCHandle.Alloc(addr, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle addr_ptr = System.Runtime.InteropServices.GCHandle.Alloc(addr, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glSetLocalConstantEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)type, (void*)addr_ptr.AddrOfPinnedObject()); } finally { - addr_ptr.Free(); } } } @@ -26053,16 +25848,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Variantv(Int32 id, Byte* addr) - { - { - Delegates.glVariantbvEXT((UInt32)id, (SByte*)addr); - } - } - - [System.CLSCompliant(false)] - public static - void Variantv(UInt32 id, [In, Out] SByte[] addr) + void Variantv(UInt32 id, SByte[] addr) { unsafe { @@ -26073,18 +25859,6 @@ namespace OpenTK.OpenGL } } - public static - void Variantv(Int32 id, [In, Out] Byte[] addr) - { - unsafe - { - fixed (Byte* addr_ptr = addr) - { - Delegates.glVariantbvEXT((UInt32)id, (SByte*)addr_ptr); - } - } - } - [System.CLSCompliant(false)] public static void Variantv(UInt32 id, ref SByte addr) @@ -26098,18 +25872,6 @@ namespace OpenTK.OpenGL } } - public static - void Variantv(Int32 id, ref Byte addr) - { - unsafe - { - fixed (Byte* addr_ptr = &addr) - { - Delegates.glVariantbvEXT((UInt32)id, (SByte*)addr_ptr); - } - } - } - [System.CLSCompliant(false)] public static unsafe void Variantv(UInt32 id, Int16* addr) @@ -26119,28 +25881,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Variantv(Int32 id, Int16* addr) - { - { - Delegates.glVariantsvEXT((UInt32)id, (Int16*)addr); - } - } - - [System.CLSCompliant(false)] - public static - void Variantv(UInt32 id, [In, Out] Int16[] addr) - { - unsafe - { - fixed (Int16* addr_ptr = addr) - { - Delegates.glVariantsvEXT((UInt32)id, (Int16*)addr_ptr); - } - } - } - - public static - void Variantv(Int32 id, [In, Out] Int16[] addr) + void Variantv(UInt32 id, Int16[] addr) { unsafe { @@ -26164,18 +25905,6 @@ namespace OpenTK.OpenGL } } - public static - void Variantv(Int32 id, ref Int16 addr) - { - unsafe - { - fixed (Int16* addr_ptr = &addr) - { - Delegates.glVariantsvEXT((UInt32)id, (Int16*)addr_ptr); - } - } - } - [System.CLSCompliant(false)] public static unsafe void Variantv(UInt32 id, Int32* addr) @@ -26185,28 +25914,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Variantv(Int32 id, Int32* addr) - { - { - Delegates.glVariantivEXT((UInt32)id, (Int32*)addr); - } - } - - [System.CLSCompliant(false)] - public static - void Variantv(UInt32 id, [In, Out] Int32[] addr) - { - unsafe - { - fixed (Int32* addr_ptr = addr) - { - Delegates.glVariantivEXT((UInt32)id, (Int32*)addr_ptr); - } - } - } - - public static - void Variantv(Int32 id, [In, Out] Int32[] addr) + void Variantv(UInt32 id, Int32[] addr) { unsafe { @@ -26230,18 +25938,6 @@ namespace OpenTK.OpenGL } } - public static - void Variantv(Int32 id, ref Int32 addr) - { - unsafe - { - fixed (Int32* addr_ptr = &addr) - { - Delegates.glVariantivEXT((UInt32)id, (Int32*)addr_ptr); - } - } - } - [System.CLSCompliant(false)] public static unsafe void Variantv(UInt32 id, Single* addr) @@ -26253,14 +25949,15 @@ namespace OpenTK.OpenGL public static unsafe void Variantv(Int32 id, Single* addr) { - { - Delegates.glVariantfvEXT((UInt32)id, (Single*)addr); - } + unsafe + { + Delegates.glVariantfvEXT((UInt32)id, (Single*)addr); + } } [System.CLSCompliant(false)] public static - void Variantv(UInt32 id, [In, Out] Single[] addr) + void Variantv(UInt32 id, Single[] addr) { unsafe { @@ -26272,7 +25969,7 @@ namespace OpenTK.OpenGL } public static - void Variantv(Int32 id, [In, Out] Single[] addr) + void Variantv(Int32 id, Single[] addr) { unsafe { @@ -26319,14 +26016,15 @@ namespace OpenTK.OpenGL public static unsafe void Variantv(Int32 id, Double* addr) { - { - Delegates.glVariantdvEXT((UInt32)id, (Double*)addr); - } + unsafe + { + Delegates.glVariantdvEXT((UInt32)id, (Double*)addr); + } } [System.CLSCompliant(false)] public static - void Variantv(UInt32 id, [In, Out] Double[] addr) + void Variantv(UInt32 id, Double[] addr) { unsafe { @@ -26338,7 +26036,7 @@ namespace OpenTK.OpenGL } public static - void Variantv(Int32 id, [In, Out] Double[] addr) + void Variantv(Int32 id, Double[] addr) { unsafe { @@ -26383,7 +26081,29 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void Variantv(UInt32 id, [In, Out] Byte[] addr) + unsafe void Variantv(Int32 id, Byte* addr) + { + unsafe + { + Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr); + } + } + + [System.CLSCompliant(false)] + public static + void Variantv(UInt32 id, Byte[] addr) + { + unsafe + { + fixed (Byte* addr_ptr = addr) + { + Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr_ptr); + } + } + } + + public static + void Variantv(Int32 id, Byte[] addr) { unsafe { @@ -26407,6 +26127,18 @@ namespace OpenTK.OpenGL } } + public static + void Variantv(Int32 id, ref Byte addr) + { + unsafe + { + fixed (Byte* addr_ptr = &addr) + { + Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr_ptr); + } + } + } + [System.CLSCompliant(false)] public static unsafe void Variantv(UInt32 id, UInt16* addr) @@ -26416,7 +26148,17 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void Variantv(UInt32 id, [In, Out] UInt16[] addr) + unsafe void Variantv(Int32 id, Int16* addr) + { + unsafe + { + Delegates.glVariantusvEXT((UInt32)id, (UInt16*)addr); + } + } + + [System.CLSCompliant(false)] + public static + void Variantv(UInt32 id, UInt16[] addr) { unsafe { @@ -26427,6 +26169,18 @@ namespace OpenTK.OpenGL } } + public static + void Variantv(Int32 id, Int16[] addr) + { + unsafe + { + fixed (Int16* addr_ptr = addr) + { + Delegates.glVariantusvEXT((UInt32)id, (UInt16*)addr_ptr); + } + } + } + [System.CLSCompliant(false)] public static void Variantv(UInt32 id, ref UInt16 addr) @@ -26440,6 +26194,18 @@ namespace OpenTK.OpenGL } } + public static + void Variantv(Int32 id, ref Int16 addr) + { + unsafe + { + fixed (Int16* addr_ptr = &addr) + { + Delegates.glVariantusvEXT((UInt32)id, (UInt16*)addr_ptr); + } + } + } + [System.CLSCompliant(false)] public static unsafe void Variantv(UInt32 id, UInt32* addr) @@ -26449,7 +26215,17 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void Variantv(UInt32 id, [In, Out] UInt32[] addr) + unsafe void Variantv(Int32 id, Int32* addr) + { + unsafe + { + Delegates.glVariantuivEXT((UInt32)id, (UInt32*)addr); + } + } + + [System.CLSCompliant(false)] + public static + void Variantv(UInt32 id, UInt32[] addr) { unsafe { @@ -26460,6 +26236,18 @@ namespace OpenTK.OpenGL } } + public static + void Variantv(Int32 id, Int32[] addr) + { + unsafe + { + fixed (Int32* addr_ptr = addr) + { + Delegates.glVariantuivEXT((UInt32)id, (UInt32*)addr_ptr); + } + } + } + [System.CLSCompliant(false)] public static void Variantv(UInt32 id, ref UInt32 addr) @@ -26473,6 +26261,18 @@ namespace OpenTK.OpenGL } } + public static + void Variantv(Int32 id, ref Int32 addr) + { + unsafe + { + fixed (Int32* addr_ptr = &addr) + { + Delegates.glVariantuivEXT((UInt32)id, (UInt32*)addr_ptr); + } + } + } + [System.CLSCompliant(false)] public static unsafe void VariantPointer(UInt32 id, GL.Enums.EXT_vertex_shader type, UInt32 stride, void* addr) @@ -26484,25 +26284,25 @@ namespace OpenTK.OpenGL public static unsafe void VariantPointer(Int32 id, GL.Enums.EXT_vertex_shader type, Int32 stride, void* addr) { - { - Delegates.glVariantPointerEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)type, (UInt32)stride, (void*)addr); - } + unsafe + { + Delegates.glVariantPointerEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)type, (UInt32)stride, (void*)addr); + } } [System.CLSCompliant(false)] public static void VariantPointer(UInt32 id, GL.Enums.EXT_vertex_shader type, UInt32 stride, [In, Out] object addr) { - System.Runtime.InteropServices.GCHandle addr_ptr = System.Runtime.InteropServices.GCHandle.Alloc(addr, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle addr_ptr = System.Runtime.InteropServices.GCHandle.Alloc(addr, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glVariantPointerEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)type, (UInt32)stride, (void*)addr_ptr.AddrOfPinnedObject()); } finally { - addr_ptr.Free(); } } } @@ -26510,16 +26310,15 @@ namespace OpenTK.OpenGL public static void VariantPointer(Int32 id, GL.Enums.EXT_vertex_shader type, Int32 stride, [In, Out] object addr) { - System.Runtime.InteropServices.GCHandle addr_ptr = System.Runtime.InteropServices.GCHandle.Alloc(addr, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle addr_ptr = System.Runtime.InteropServices.GCHandle.Alloc(addr, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glVariantPointerEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)type, (UInt32)stride, (void*)addr_ptr.AddrOfPinnedObject()); } finally { - addr_ptr.Free(); } } } @@ -26604,10 +26403,10 @@ namespace OpenTK.OpenGL public static unsafe void GetVariantBooleanv(Int32 id, GL.Enums.EXT_vertex_shader value, [Out] GL.Enums.Boolean* data) { - data = default(GL.Enums.Boolean*); - { - Delegates.glGetVariantBooleanvEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (GL.Enums.Boolean*)data); - } + unsafe + { + Delegates.glGetVariantBooleanvEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (GL.Enums.Boolean*)data); + } } [System.CLSCompliant(false)] @@ -26621,15 +26420,15 @@ namespace OpenTK.OpenGL public static unsafe void GetVariantIntegerv(Int32 id, GL.Enums.EXT_vertex_shader value, [Out] Int32* data) { - data = default(Int32*); - { - Delegates.glGetVariantIntegervEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Int32*)data); - } + unsafe + { + Delegates.glGetVariantIntegervEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Int32*)data); + } } [System.CLSCompliant(false)] public static - void GetVariantIntegerv(UInt32 id, GL.Enums.EXT_vertex_shader value, [In, Out] Int32[] data) + void GetVariantIntegerv(UInt32 id, GL.Enums.EXT_vertex_shader value, [Out] Int32[] data) { unsafe { @@ -26641,7 +26440,7 @@ namespace OpenTK.OpenGL } public static - void GetVariantIntegerv(Int32 id, GL.Enums.EXT_vertex_shader value, [In, Out] Int32[] data) + void GetVariantIntegerv(Int32 id, GL.Enums.EXT_vertex_shader value, [Out] Int32[] data) { unsafe { @@ -26656,13 +26455,12 @@ namespace OpenTK.OpenGL public static void GetVariantIntegerv(UInt32 id, GL.Enums.EXT_vertex_shader value, [Out] out Int32 data) { - data = default(Int32); unsafe { fixed (Int32* data_ptr = &data) { Delegates.glGetVariantIntegervEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Int32*)data_ptr); - data = *data_ptr; + data = *data_ptr; } } } @@ -26670,13 +26468,12 @@ namespace OpenTK.OpenGL public static void GetVariantIntegerv(Int32 id, GL.Enums.EXT_vertex_shader value, [Out] out Int32 data) { - data = default(Int32); unsafe { fixed (Int32* data_ptr = &data) { Delegates.glGetVariantIntegervEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Int32*)data_ptr); - data = *data_ptr; + data = *data_ptr; } } } @@ -26692,15 +26489,15 @@ namespace OpenTK.OpenGL public static unsafe void GetVariantFloatv(Int32 id, GL.Enums.EXT_vertex_shader value, [Out] Single* data) { - data = default(Single*); - { - Delegates.glGetVariantFloatvEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Single*)data); - } + unsafe + { + Delegates.glGetVariantFloatvEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Single*)data); + } } [System.CLSCompliant(false)] public static - void GetVariantFloatv(UInt32 id, GL.Enums.EXT_vertex_shader value, [In, Out] Single[] data) + void GetVariantFloatv(UInt32 id, GL.Enums.EXT_vertex_shader value, [Out] Single[] data) { unsafe { @@ -26712,7 +26509,7 @@ namespace OpenTK.OpenGL } public static - void GetVariantFloatv(Int32 id, GL.Enums.EXT_vertex_shader value, [In, Out] Single[] data) + void GetVariantFloatv(Int32 id, GL.Enums.EXT_vertex_shader value, [Out] Single[] data) { unsafe { @@ -26727,13 +26524,12 @@ namespace OpenTK.OpenGL public static void GetVariantFloatv(UInt32 id, GL.Enums.EXT_vertex_shader value, [Out] out Single data) { - data = default(Single); unsafe { fixed (Single* data_ptr = &data) { Delegates.glGetVariantFloatvEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Single*)data_ptr); - data = *data_ptr; + data = *data_ptr; } } } @@ -26741,13 +26537,12 @@ namespace OpenTK.OpenGL public static void GetVariantFloatv(Int32 id, GL.Enums.EXT_vertex_shader value, [Out] out Single data) { - data = default(Single); unsafe { fixed (Single* data_ptr = &data) { Delegates.glGetVariantFloatvEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Single*)data_ptr); - data = *data_ptr; + data = *data_ptr; } } } @@ -26763,26 +26558,25 @@ namespace OpenTK.OpenGL public static unsafe void GetVariantPointerv(Int32 id, GL.Enums.EXT_vertex_shader value, [Out] void* data) { - data = default(void*); - { - Delegates.glGetVariantPointervEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (void*)data); - } + unsafe + { + Delegates.glGetVariantPointervEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (void*)data); + } } [System.CLSCompliant(false)] public static void GetVariantPointerv(UInt32 id, GL.Enums.EXT_vertex_shader value, [In, Out] object data) { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glGetVariantPointervEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (void*)data_ptr.AddrOfPinnedObject()); } finally { - data_ptr.Free(); } } } @@ -26790,16 +26584,15 @@ namespace OpenTK.OpenGL public static void GetVariantPointerv(Int32 id, GL.Enums.EXT_vertex_shader value, [In, Out] object data) { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glGetVariantPointervEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (void*)data_ptr.AddrOfPinnedObject()); } finally { - data_ptr.Free(); } } } @@ -26815,10 +26608,10 @@ namespace OpenTK.OpenGL public static unsafe void GetInvariantBooleanv(Int32 id, GL.Enums.EXT_vertex_shader value, [Out] GL.Enums.Boolean* data) { - data = default(GL.Enums.Boolean*); - { - Delegates.glGetInvariantBooleanvEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (GL.Enums.Boolean*)data); - } + unsafe + { + Delegates.glGetInvariantBooleanvEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (GL.Enums.Boolean*)data); + } } [System.CLSCompliant(false)] @@ -26832,15 +26625,15 @@ namespace OpenTK.OpenGL public static unsafe void GetInvariantIntegerv(Int32 id, GL.Enums.EXT_vertex_shader value, [Out] Int32* data) { - data = default(Int32*); - { - Delegates.glGetInvariantIntegervEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Int32*)data); - } + unsafe + { + Delegates.glGetInvariantIntegervEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Int32*)data); + } } [System.CLSCompliant(false)] public static - void GetInvariantIntegerv(UInt32 id, GL.Enums.EXT_vertex_shader value, [In, Out] Int32[] data) + void GetInvariantIntegerv(UInt32 id, GL.Enums.EXT_vertex_shader value, [Out] Int32[] data) { unsafe { @@ -26852,7 +26645,7 @@ namespace OpenTK.OpenGL } public static - void GetInvariantIntegerv(Int32 id, GL.Enums.EXT_vertex_shader value, [In, Out] Int32[] data) + void GetInvariantIntegerv(Int32 id, GL.Enums.EXT_vertex_shader value, [Out] Int32[] data) { unsafe { @@ -26867,13 +26660,12 @@ namespace OpenTK.OpenGL public static void GetInvariantIntegerv(UInt32 id, GL.Enums.EXT_vertex_shader value, [Out] out Int32 data) { - data = default(Int32); unsafe { fixed (Int32* data_ptr = &data) { Delegates.glGetInvariantIntegervEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Int32*)data_ptr); - data = *data_ptr; + data = *data_ptr; } } } @@ -26881,13 +26673,12 @@ namespace OpenTK.OpenGL public static void GetInvariantIntegerv(Int32 id, GL.Enums.EXT_vertex_shader value, [Out] out Int32 data) { - data = default(Int32); unsafe { fixed (Int32* data_ptr = &data) { Delegates.glGetInvariantIntegervEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Int32*)data_ptr); - data = *data_ptr; + data = *data_ptr; } } } @@ -26903,15 +26694,15 @@ namespace OpenTK.OpenGL public static unsafe void GetInvariantFloatv(Int32 id, GL.Enums.EXT_vertex_shader value, [Out] Single* data) { - data = default(Single*); - { - Delegates.glGetInvariantFloatvEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Single*)data); - } + unsafe + { + Delegates.glGetInvariantFloatvEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Single*)data); + } } [System.CLSCompliant(false)] public static - void GetInvariantFloatv(UInt32 id, GL.Enums.EXT_vertex_shader value, [In, Out] Single[] data) + void GetInvariantFloatv(UInt32 id, GL.Enums.EXT_vertex_shader value, [Out] Single[] data) { unsafe { @@ -26923,7 +26714,7 @@ namespace OpenTK.OpenGL } public static - void GetInvariantFloatv(Int32 id, GL.Enums.EXT_vertex_shader value, [In, Out] Single[] data) + void GetInvariantFloatv(Int32 id, GL.Enums.EXT_vertex_shader value, [Out] Single[] data) { unsafe { @@ -26938,13 +26729,12 @@ namespace OpenTK.OpenGL public static void GetInvariantFloatv(UInt32 id, GL.Enums.EXT_vertex_shader value, [Out] out Single data) { - data = default(Single); unsafe { fixed (Single* data_ptr = &data) { Delegates.glGetInvariantFloatvEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Single*)data_ptr); - data = *data_ptr; + data = *data_ptr; } } } @@ -26952,13 +26742,12 @@ namespace OpenTK.OpenGL public static void GetInvariantFloatv(Int32 id, GL.Enums.EXT_vertex_shader value, [Out] out Single data) { - data = default(Single); unsafe { fixed (Single* data_ptr = &data) { Delegates.glGetInvariantFloatvEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Single*)data_ptr); - data = *data_ptr; + data = *data_ptr; } } } @@ -26974,10 +26763,10 @@ namespace OpenTK.OpenGL public static unsafe void GetLocalConstantBooleanv(Int32 id, GL.Enums.EXT_vertex_shader value, [Out] GL.Enums.Boolean* data) { - data = default(GL.Enums.Boolean*); - { - Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (GL.Enums.Boolean*)data); - } + unsafe + { + Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (GL.Enums.Boolean*)data); + } } [System.CLSCompliant(false)] @@ -26991,15 +26780,15 @@ namespace OpenTK.OpenGL public static unsafe void GetLocalConstantIntegerv(Int32 id, GL.Enums.EXT_vertex_shader value, [Out] Int32* data) { - data = default(Int32*); - { - Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Int32*)data); - } + unsafe + { + Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Int32*)data); + } } [System.CLSCompliant(false)] public static - void GetLocalConstantIntegerv(UInt32 id, GL.Enums.EXT_vertex_shader value, [In, Out] Int32[] data) + void GetLocalConstantIntegerv(UInt32 id, GL.Enums.EXT_vertex_shader value, [Out] Int32[] data) { unsafe { @@ -27011,7 +26800,7 @@ namespace OpenTK.OpenGL } public static - void GetLocalConstantIntegerv(Int32 id, GL.Enums.EXT_vertex_shader value, [In, Out] Int32[] data) + void GetLocalConstantIntegerv(Int32 id, GL.Enums.EXT_vertex_shader value, [Out] Int32[] data) { unsafe { @@ -27026,13 +26815,12 @@ namespace OpenTK.OpenGL public static void GetLocalConstantIntegerv(UInt32 id, GL.Enums.EXT_vertex_shader value, [Out] out Int32 data) { - data = default(Int32); unsafe { fixed (Int32* data_ptr = &data) { Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Int32*)data_ptr); - data = *data_ptr; + data = *data_ptr; } } } @@ -27040,13 +26828,12 @@ namespace OpenTK.OpenGL public static void GetLocalConstantIntegerv(Int32 id, GL.Enums.EXT_vertex_shader value, [Out] out Int32 data) { - data = default(Int32); unsafe { fixed (Int32* data_ptr = &data) { Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Int32*)data_ptr); - data = *data_ptr; + data = *data_ptr; } } } @@ -27062,15 +26849,15 @@ namespace OpenTK.OpenGL public static unsafe void GetLocalConstantFloatv(Int32 id, GL.Enums.EXT_vertex_shader value, [Out] Single* data) { - data = default(Single*); - { - Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Single*)data); - } + unsafe + { + Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Single*)data); + } } [System.CLSCompliant(false)] public static - void GetLocalConstantFloatv(UInt32 id, GL.Enums.EXT_vertex_shader value, [In, Out] Single[] data) + void GetLocalConstantFloatv(UInt32 id, GL.Enums.EXT_vertex_shader value, [Out] Single[] data) { unsafe { @@ -27082,7 +26869,7 @@ namespace OpenTK.OpenGL } public static - void GetLocalConstantFloatv(Int32 id, GL.Enums.EXT_vertex_shader value, [In, Out] Single[] data) + void GetLocalConstantFloatv(Int32 id, GL.Enums.EXT_vertex_shader value, [Out] Single[] data) { unsafe { @@ -27097,13 +26884,12 @@ namespace OpenTK.OpenGL public static void GetLocalConstantFloatv(UInt32 id, GL.Enums.EXT_vertex_shader value, [Out] out Single data) { - data = default(Single); unsafe { fixed (Single* data_ptr = &data) { Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Single*)data_ptr); - data = *data_ptr; + data = *data_ptr; } } } @@ -27111,13 +26897,12 @@ namespace OpenTK.OpenGL public static void GetLocalConstantFloatv(Int32 id, GL.Enums.EXT_vertex_shader value, [Out] out Single data) { - data = default(Single); unsafe { fixed (Single* data_ptr = &data) { Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Single*)data_ptr); - data = *data_ptr; + data = *data_ptr; } } } @@ -27177,14 +26962,15 @@ namespace OpenTK.OpenGL public static unsafe void DeleteRenderbuffers(Int32 n, Int32* renderbuffers) { - { - Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers); - } + unsafe + { + Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers); + } } [System.CLSCompliant(false)] public static - void DeleteRenderbuffers(Int32 n, [In, Out] UInt32[] renderbuffers) + void DeleteRenderbuffers(Int32 n, UInt32[] renderbuffers) { unsafe { @@ -27196,7 +26982,7 @@ namespace OpenTK.OpenGL } public static - void DeleteRenderbuffers(Int32 n, [In, Out] Int32[] renderbuffers) + void DeleteRenderbuffers(Int32 n, Int32[] renderbuffers) { unsafe { @@ -27243,15 +27029,15 @@ namespace OpenTK.OpenGL public static unsafe void GenRenderbuffers(Int32 n, [Out] Int32* renderbuffers) { - renderbuffers = default(Int32*); - { - Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers); - } + unsafe + { + Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers); + } } [System.CLSCompliant(false)] public static - void GenRenderbuffers(Int32 n, [In, Out] UInt32[] renderbuffers) + void GenRenderbuffers(Int32 n, [Out] UInt32[] renderbuffers) { unsafe { @@ -27263,7 +27049,7 @@ namespace OpenTK.OpenGL } public static - void GenRenderbuffers(Int32 n, [In, Out] Int32[] renderbuffers) + void GenRenderbuffers(Int32 n, [Out] Int32[] renderbuffers) { unsafe { @@ -27278,13 +27064,12 @@ namespace OpenTK.OpenGL public static void GenRenderbuffers(Int32 n, [Out] out UInt32 renderbuffers) { - renderbuffers = default(UInt32); unsafe { fixed (UInt32* renderbuffers_ptr = &renderbuffers) { Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr); - renderbuffers = *renderbuffers_ptr; + renderbuffers = *renderbuffers_ptr; } } } @@ -27292,13 +27077,12 @@ namespace OpenTK.OpenGL public static void GenRenderbuffers(Int32 n, [Out] out Int32 renderbuffers) { - renderbuffers = default(Int32); unsafe { fixed (Int32* renderbuffers_ptr = &renderbuffers) { Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr); - renderbuffers = *renderbuffers_ptr; + renderbuffers = *renderbuffers_ptr; } } } @@ -27317,7 +27101,7 @@ namespace OpenTK.OpenGL } public static - void GetRenderbufferParameterv(GL.Enums.EXT_framebuffer_object target, GL.Enums.EXT_framebuffer_object pname, [In, Out] Int32[] @params) + void GetRenderbufferParameterv(GL.Enums.EXT_framebuffer_object target, GL.Enums.EXT_framebuffer_object pname, [Out] Int32[] @params) { unsafe { @@ -27331,13 +27115,12 @@ namespace OpenTK.OpenGL public static void GetRenderbufferParameterv(GL.Enums.EXT_framebuffer_object target, GL.Enums.EXT_framebuffer_object pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetRenderbufferParameterivEXT((GL.Enums.EXT_framebuffer_object)target, (GL.Enums.EXT_framebuffer_object)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -27379,14 +27162,15 @@ namespace OpenTK.OpenGL public static unsafe void DeleteFramebuffers(Int32 n, Int32* framebuffers) { - { - Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers); - } + unsafe + { + Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers); + } } [System.CLSCompliant(false)] public static - void DeleteFramebuffers(Int32 n, [In, Out] UInt32[] framebuffers) + void DeleteFramebuffers(Int32 n, UInt32[] framebuffers) { unsafe { @@ -27398,7 +27182,7 @@ namespace OpenTK.OpenGL } public static - void DeleteFramebuffers(Int32 n, [In, Out] Int32[] framebuffers) + void DeleteFramebuffers(Int32 n, Int32[] framebuffers) { unsafe { @@ -27445,15 +27229,15 @@ namespace OpenTK.OpenGL public static unsafe void GenFramebuffers(Int32 n, [Out] Int32* framebuffers) { - framebuffers = default(Int32*); - { - Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers); - } + unsafe + { + Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers); + } } [System.CLSCompliant(false)] public static - void GenFramebuffers(Int32 n, [In, Out] UInt32[] framebuffers) + void GenFramebuffers(Int32 n, [Out] UInt32[] framebuffers) { unsafe { @@ -27465,7 +27249,7 @@ namespace OpenTK.OpenGL } public static - void GenFramebuffers(Int32 n, [In, Out] Int32[] framebuffers) + void GenFramebuffers(Int32 n, [Out] Int32[] framebuffers) { unsafe { @@ -27480,13 +27264,12 @@ namespace OpenTK.OpenGL public static void GenFramebuffers(Int32 n, [Out] out UInt32 framebuffers) { - framebuffers = default(UInt32); unsafe { fixed (UInt32* framebuffers_ptr = &framebuffers) { Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); - framebuffers = *framebuffers_ptr; + framebuffers = *framebuffers_ptr; } } } @@ -27494,13 +27277,12 @@ namespace OpenTK.OpenGL public static void GenFramebuffers(Int32 n, [Out] out Int32 framebuffers) { - framebuffers = default(Int32); unsafe { fixed (Int32* framebuffers_ptr = &framebuffers) { Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); - framebuffers = *framebuffers_ptr; + framebuffers = *framebuffers_ptr; } } } @@ -27571,7 +27353,7 @@ namespace OpenTK.OpenGL } public static - void GetFramebufferAttachmentParameterv(GL.Enums.EXT_framebuffer_object target, GL.Enums.EXT_framebuffer_object attachment, GL.Enums.EXT_framebuffer_object pname, [In, Out] Int32[] @params) + void GetFramebufferAttachmentParameterv(GL.Enums.EXT_framebuffer_object target, GL.Enums.EXT_framebuffer_object attachment, GL.Enums.EXT_framebuffer_object pname, [Out] Int32[] @params) { unsafe { @@ -27585,13 +27367,12 @@ namespace OpenTK.OpenGL public static void GetFramebufferAttachmentParameterv(GL.Enums.EXT_framebuffer_object target, GL.Enums.EXT_framebuffer_object attachment, GL.Enums.EXT_framebuffer_object pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetFramebufferAttachmentParameterivEXT((GL.Enums.EXT_framebuffer_object)target, (GL.Enums.EXT_framebuffer_object)attachment, (GL.Enums.EXT_framebuffer_object)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -27638,15 +27419,15 @@ namespace OpenTK.OpenGL public static unsafe void GetQueryObjecti64v(Int32 id, GL.Enums.EXT_timer_query pname, [Out] Int64* @params) { - @params = default(Int64*); - { - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (GL.Enums.EXT_timer_query)pname, (Int64*)@params); - } + unsafe + { + Delegates.glGetQueryObjecti64vEXT((UInt32)id, (GL.Enums.EXT_timer_query)pname, (Int64*)@params); + } } [System.CLSCompliant(false)] public static - void GetQueryObjecti64v(UInt32 id, GL.Enums.EXT_timer_query pname, [In, Out] Int64[] @params) + void GetQueryObjecti64v(UInt32 id, GL.Enums.EXT_timer_query pname, [Out] Int64[] @params) { unsafe { @@ -27658,7 +27439,7 @@ namespace OpenTK.OpenGL } public static - void GetQueryObjecti64v(Int32 id, GL.Enums.EXT_timer_query pname, [In, Out] Int64[] @params) + void GetQueryObjecti64v(Int32 id, GL.Enums.EXT_timer_query pname, [Out] Int64[] @params) { unsafe { @@ -27673,13 +27454,12 @@ namespace OpenTK.OpenGL public static void GetQueryObjecti64v(UInt32 id, GL.Enums.EXT_timer_query pname, [Out] out Int64 @params) { - @params = default(Int64); unsafe { fixed (Int64* @params_ptr = &@params) { Delegates.glGetQueryObjecti64vEXT((UInt32)id, (GL.Enums.EXT_timer_query)pname, (Int64*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -27687,13 +27467,12 @@ namespace OpenTK.OpenGL public static void GetQueryObjecti64v(Int32 id, GL.Enums.EXT_timer_query pname, [Out] out Int64 @params) { - @params = default(Int64); unsafe { fixed (Int64* @params_ptr = &@params) { Delegates.glGetQueryObjecti64vEXT((UInt32)id, (GL.Enums.EXT_timer_query)pname, (Int64*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -27709,15 +27488,15 @@ namespace OpenTK.OpenGL public static unsafe void GetQueryObjectui64v(Int32 id, GL.Enums.EXT_timer_query pname, [Out] Int64* @params) { - @params = default(Int64*); - { - Delegates.glGetQueryObjectui64vEXT((UInt32)id, (GL.Enums.EXT_timer_query)pname, (UInt64*)@params); - } + unsafe + { + Delegates.glGetQueryObjectui64vEXT((UInt32)id, (GL.Enums.EXT_timer_query)pname, (UInt64*)@params); + } } [System.CLSCompliant(false)] public static - void GetQueryObjectui64v(UInt32 id, GL.Enums.EXT_timer_query pname, [In, Out] UInt64[] @params) + void GetQueryObjectui64v(UInt32 id, GL.Enums.EXT_timer_query pname, [Out] UInt64[] @params) { unsafe { @@ -27729,7 +27508,7 @@ namespace OpenTK.OpenGL } public static - void GetQueryObjectui64v(Int32 id, GL.Enums.EXT_timer_query pname, [In, Out] Int64[] @params) + void GetQueryObjectui64v(Int32 id, GL.Enums.EXT_timer_query pname, [Out] Int64[] @params) { unsafe { @@ -27744,13 +27523,12 @@ namespace OpenTK.OpenGL public static void GetQueryObjectui64v(UInt32 id, GL.Enums.EXT_timer_query pname, [Out] out UInt64 @params) { - @params = default(UInt64); unsafe { fixed (UInt64* @params_ptr = &@params) { Delegates.glGetQueryObjectui64vEXT((UInt32)id, (GL.Enums.EXT_timer_query)pname, (UInt64*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -27758,13 +27536,12 @@ namespace OpenTK.OpenGL public static void GetQueryObjectui64v(Int32 id, GL.Enums.EXT_timer_query pname, [Out] out Int64 @params) { - @params = default(Int64); unsafe { fixed (Int64* @params_ptr = &@params) { Delegates.glGetQueryObjectui64vEXT((UInt32)id, (GL.Enums.EXT_timer_query)pname, (UInt64*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -27780,14 +27557,15 @@ namespace OpenTK.OpenGL public static unsafe void ProgramEnvParameters4(GL.Enums.EXT_gpu_program_parameters target, Int32 index, Int32 count, Single* @params) { - { - Delegates.glProgramEnvParameters4fvEXT((GL.Enums.EXT_gpu_program_parameters)target, (UInt32)index, (Int32)count, (Single*)@params); - } + unsafe + { + Delegates.glProgramEnvParameters4fvEXT((GL.Enums.EXT_gpu_program_parameters)target, (UInt32)index, (Int32)count, (Single*)@params); + } } [System.CLSCompliant(false)] public static - void ProgramEnvParameters4(GL.Enums.EXT_gpu_program_parameters target, UInt32 index, Int32 count, [In, Out] Single[] @params) + void ProgramEnvParameters4(GL.Enums.EXT_gpu_program_parameters target, UInt32 index, Int32 count, Single[] @params) { unsafe { @@ -27799,7 +27577,7 @@ namespace OpenTK.OpenGL } public static - void ProgramEnvParameters4(GL.Enums.EXT_gpu_program_parameters target, Int32 index, Int32 count, [In, Out] Single[] @params) + void ProgramEnvParameters4(GL.Enums.EXT_gpu_program_parameters target, Int32 index, Int32 count, Single[] @params) { unsafe { @@ -27846,14 +27624,15 @@ namespace OpenTK.OpenGL public static unsafe void ProgramLocalParameters4(GL.Enums.EXT_gpu_program_parameters target, Int32 index, Int32 count, Single* @params) { - { - Delegates.glProgramLocalParameters4fvEXT((GL.Enums.EXT_gpu_program_parameters)target, (UInt32)index, (Int32)count, (Single*)@params); - } + unsafe + { + Delegates.glProgramLocalParameters4fvEXT((GL.Enums.EXT_gpu_program_parameters)target, (UInt32)index, (Int32)count, (Single*)@params); + } } [System.CLSCompliant(false)] public static - void ProgramLocalParameters4(GL.Enums.EXT_gpu_program_parameters target, UInt32 index, Int32 count, [In, Out] Single[] @params) + void ProgramLocalParameters4(GL.Enums.EXT_gpu_program_parameters target, UInt32 index, Int32 count, Single[] @params) { unsafe { @@ -27865,7 +27644,7 @@ namespace OpenTK.OpenGL } public static - void ProgramLocalParameters4(GL.Enums.EXT_gpu_program_parameters target, Int32 index, Int32 count, [In, Out] Single[] @params) + void ProgramLocalParameters4(GL.Enums.EXT_gpu_program_parameters target, Int32 index, Int32 count, Single[] @params) { unsafe { @@ -27960,12 +27739,6 @@ namespace OpenTK.OpenGL Delegates.glVertexAttribI1iEXT((UInt32)index, (Int32)x); } - public static - void VertexAttribI1(Int32 index, Int32 x) - { - Delegates.glVertexAttribI1iEXT((UInt32)index, (Int32)x); - } - [System.CLSCompliant(false)] public static void VertexAttribI2(UInt32 index, Int32 x, Int32 y) @@ -27973,12 +27746,6 @@ namespace OpenTK.OpenGL Delegates.glVertexAttribI2iEXT((UInt32)index, (Int32)x, (Int32)y); } - public static - void VertexAttribI2(Int32 index, Int32 x, Int32 y) - { - Delegates.glVertexAttribI2iEXT((UInt32)index, (Int32)x, (Int32)y); - } - [System.CLSCompliant(false)] public static void VertexAttribI3(UInt32 index, Int32 x, Int32 y, Int32 z) @@ -27986,12 +27753,6 @@ namespace OpenTK.OpenGL Delegates.glVertexAttribI3iEXT((UInt32)index, (Int32)x, (Int32)y, (Int32)z); } - public static - void VertexAttribI3(Int32 index, Int32 x, Int32 y, Int32 z) - { - Delegates.glVertexAttribI3iEXT((UInt32)index, (Int32)x, (Int32)y, (Int32)z); - } - [System.CLSCompliant(false)] public static void VertexAttribI4(UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) @@ -27999,12 +27760,6 @@ namespace OpenTK.OpenGL Delegates.glVertexAttribI4iEXT((UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); } - public static - void VertexAttribI4(Int32 index, Int32 x, Int32 y, Int32 z, Int32 w) - { - Delegates.glVertexAttribI4iEXT((UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); - } - [System.CLSCompliant(false)] public static void VertexAttribI1(UInt32 index, UInt32 x) @@ -28012,6 +27767,12 @@ namespace OpenTK.OpenGL Delegates.glVertexAttribI1uiEXT((UInt32)index, (UInt32)x); } + public static + void VertexAttribI1(Int32 index, Int32 x) + { + Delegates.glVertexAttribI1uiEXT((UInt32)index, (UInt32)x); + } + [System.CLSCompliant(false)] public static void VertexAttribI2(UInt32 index, UInt32 x, UInt32 y) @@ -28019,6 +27780,12 @@ namespace OpenTK.OpenGL Delegates.glVertexAttribI2uiEXT((UInt32)index, (UInt32)x, (UInt32)y); } + public static + void VertexAttribI2(Int32 index, Int32 x, Int32 y) + { + Delegates.glVertexAttribI2uiEXT((UInt32)index, (UInt32)x, (UInt32)y); + } + [System.CLSCompliant(false)] public static void VertexAttribI3(UInt32 index, UInt32 x, UInt32 y, UInt32 z) @@ -28026,6 +27793,12 @@ namespace OpenTK.OpenGL Delegates.glVertexAttribI3uiEXT((UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z); } + public static + void VertexAttribI3(Int32 index, Int32 x, Int32 y, Int32 z) + { + Delegates.glVertexAttribI3uiEXT((UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z); + } + [System.CLSCompliant(false)] public static void VertexAttribI4(UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) @@ -28033,6 +27806,12 @@ namespace OpenTK.OpenGL Delegates.glVertexAttribI4uiEXT((UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); } + public static + void VertexAttribI4(Int32 index, Int32 x, Int32 y, Int32 z, Int32 w) + { + Delegates.glVertexAttribI4uiEXT((UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); + } + [System.CLSCompliant(false)] public static unsafe void VertexAttribI1iv(UInt32 index, Int32* v) @@ -28044,14 +27823,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttribI1iv(Int32 index, Int32* v) { - { - Delegates.glVertexAttribI1ivEXT((UInt32)index, (Int32*)v); - } + unsafe + { + Delegates.glVertexAttribI1ivEXT((UInt32)index, (Int32*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttribI1iv(UInt32 index, [In, Out] Int32[] v) + void VertexAttribI1iv(UInt32 index, Int32[] v) { unsafe { @@ -28063,7 +27843,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttribI1iv(Int32 index, [In, Out] Int32[] v) + void VertexAttribI1iv(Int32 index, Int32[] v) { unsafe { @@ -28108,28 +27888,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttribI2(Int32 index, Int32* v) - { - { - Delegates.glVertexAttribI2ivEXT((UInt32)index, (Int32*)v); - } - } - - [System.CLSCompliant(false)] - public static - void VertexAttribI2(UInt32 index, [In, Out] Int32[] v) - { - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttribI2ivEXT((UInt32)index, (Int32*)v_ptr); - } - } - } - - public static - void VertexAttribI2(Int32 index, [In, Out] Int32[] v) + void VertexAttribI2(UInt32 index, Int32[] v) { unsafe { @@ -28153,18 +27912,6 @@ namespace OpenTK.OpenGL } } - public static - void VertexAttribI2(Int32 index, ref Int32 v) - { - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttribI2ivEXT((UInt32)index, (Int32*)v_ptr); - } - } - } - [System.CLSCompliant(false)] public static unsafe void VertexAttribI3(UInt32 index, Int32* v) @@ -28174,28 +27921,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttribI3(Int32 index, Int32* v) - { - { - Delegates.glVertexAttribI3ivEXT((UInt32)index, (Int32*)v); - } - } - - [System.CLSCompliant(false)] - public static - void VertexAttribI3(UInt32 index, [In, Out] Int32[] v) - { - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttribI3ivEXT((UInt32)index, (Int32*)v_ptr); - } - } - } - - public static - void VertexAttribI3(Int32 index, [In, Out] Int32[] v) + void VertexAttribI3(UInt32 index, Int32[] v) { unsafe { @@ -28219,18 +27945,6 @@ namespace OpenTK.OpenGL } } - public static - void VertexAttribI3(Int32 index, ref Int32 v) - { - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttribI3ivEXT((UInt32)index, (Int32*)v_ptr); - } - } - } - [System.CLSCompliant(false)] public static unsafe void VertexAttribI4(UInt32 index, Int32* v) @@ -28240,28 +27954,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttribI4(Int32 index, Int32* v) - { - { - Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v); - } - } - - [System.CLSCompliant(false)] - public static - void VertexAttribI4(UInt32 index, [In, Out] Int32[] v) - { - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v_ptr); - } - } - } - - public static - void VertexAttribI4(Int32 index, [In, Out] Int32[] v) + void VertexAttribI4(UInt32 index, Int32[] v) { unsafe { @@ -28285,18 +27978,6 @@ namespace OpenTK.OpenGL } } - public static - void VertexAttribI4(Int32 index, ref Int32 v) - { - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v_ptr); - } - } - } - [System.CLSCompliant(false)] public static unsafe void VertexAttribI1uiv(UInt32 index, UInt32* v) @@ -28308,14 +27989,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttribI1uiv(Int32 index, Int32* v) { - { - Delegates.glVertexAttribI1uivEXT((UInt32)index, (UInt32*)v); - } + unsafe + { + Delegates.glVertexAttribI1uivEXT((UInt32)index, (UInt32*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttribI1uiv(UInt32 index, [In, Out] UInt32[] v) + void VertexAttribI1uiv(UInt32 index, UInt32[] v) { unsafe { @@ -28327,7 +28009,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttribI1uiv(Int32 index, [In, Out] Int32[] v) + void VertexAttribI1uiv(Int32 index, Int32[] v) { unsafe { @@ -28372,7 +28054,17 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void VertexAttribI2(UInt32 index, [In, Out] UInt32[] v) + unsafe void VertexAttribI2(Int32 index, Int32* v) + { + unsafe + { + Delegates.glVertexAttribI2uivEXT((UInt32)index, (UInt32*)v); + } + } + + [System.CLSCompliant(false)] + public static + void VertexAttribI2(UInt32 index, UInt32[] v) { unsafe { @@ -28383,6 +28075,18 @@ namespace OpenTK.OpenGL } } + public static + void VertexAttribI2(Int32 index, Int32[] v) + { + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttribI2uivEXT((UInt32)index, (UInt32*)v_ptr); + } + } + } + [System.CLSCompliant(false)] public static void VertexAttribI2(UInt32 index, ref UInt32 v) @@ -28396,6 +28100,18 @@ namespace OpenTK.OpenGL } } + public static + void VertexAttribI2(Int32 index, ref Int32 v) + { + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttribI2uivEXT((UInt32)index, (UInt32*)v_ptr); + } + } + } + [System.CLSCompliant(false)] public static unsafe void VertexAttribI3(UInt32 index, UInt32* v) @@ -28405,7 +28121,17 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void VertexAttribI3(UInt32 index, [In, Out] UInt32[] v) + unsafe void VertexAttribI3(Int32 index, Int32* v) + { + unsafe + { + Delegates.glVertexAttribI3uivEXT((UInt32)index, (UInt32*)v); + } + } + + [System.CLSCompliant(false)] + public static + void VertexAttribI3(UInt32 index, UInt32[] v) { unsafe { @@ -28416,6 +28142,18 @@ namespace OpenTK.OpenGL } } + public static + void VertexAttribI3(Int32 index, Int32[] v) + { + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttribI3uivEXT((UInt32)index, (UInt32*)v_ptr); + } + } + } + [System.CLSCompliant(false)] public static void VertexAttribI3(UInt32 index, ref UInt32 v) @@ -28429,6 +28167,18 @@ namespace OpenTK.OpenGL } } + public static + void VertexAttribI3(Int32 index, ref Int32 v) + { + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttribI3uivEXT((UInt32)index, (UInt32*)v_ptr); + } + } + } + [System.CLSCompliant(false)] public static unsafe void VertexAttribI4(UInt32 index, UInt32* v) @@ -28438,7 +28188,17 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void VertexAttribI4(UInt32 index, [In, Out] UInt32[] v) + unsafe void VertexAttribI4(Int32 index, Int32* v) + { + unsafe + { + Delegates.glVertexAttribI4uivEXT((UInt32)index, (UInt32*)v); + } + } + + [System.CLSCompliant(false)] + public static + void VertexAttribI4(UInt32 index, UInt32[] v) { unsafe { @@ -28449,6 +28209,18 @@ namespace OpenTK.OpenGL } } + public static + void VertexAttribI4(Int32 index, Int32[] v) + { + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttribI4uivEXT((UInt32)index, (UInt32*)v_ptr); + } + } + } + [System.CLSCompliant(false)] public static void VertexAttribI4(UInt32 index, ref UInt32 v) @@ -28462,6 +28234,18 @@ namespace OpenTK.OpenGL } } + public static + void VertexAttribI4(Int32 index, ref Int32 v) + { + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttribI4uivEXT((UInt32)index, (UInt32*)v_ptr); + } + } + } + [System.CLSCompliant(false)] public static unsafe void VertexAttribI4(UInt32 index, SByte* v) @@ -28471,16 +28255,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttribI4(Int32 index, Byte* v) - { - { - Delegates.glVertexAttribI4bvEXT((UInt32)index, (SByte*)v); - } - } - - [System.CLSCompliant(false)] - public static - void VertexAttribI4(UInt32 index, [In, Out] SByte[] v) + void VertexAttribI4(UInt32 index, SByte[] v) { unsafe { @@ -28491,18 +28266,6 @@ namespace OpenTK.OpenGL } } - public static - void VertexAttribI4(Int32 index, [In, Out] Byte[] v) - { - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glVertexAttribI4bvEXT((UInt32)index, (SByte*)v_ptr); - } - } - } - [System.CLSCompliant(false)] public static void VertexAttribI4(UInt32 index, ref SByte v) @@ -28516,18 +28279,6 @@ namespace OpenTK.OpenGL } } - public static - void VertexAttribI4(Int32 index, ref Byte v) - { - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glVertexAttribI4bvEXT((UInt32)index, (SByte*)v_ptr); - } - } - } - [System.CLSCompliant(false)] public static unsafe void VertexAttribI4(UInt32 index, Int16* v) @@ -28537,28 +28288,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void VertexAttribI4(Int32 index, Int16* v) - { - { - Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)v); - } - } - - [System.CLSCompliant(false)] - public static - void VertexAttribI4(UInt32 index, [In, Out] Int16[] v) - { - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)v_ptr); - } - } - } - - public static - void VertexAttribI4(Int32 index, [In, Out] Int16[] v) + void VertexAttribI4(UInt32 index, Int16[] v) { unsafe { @@ -28582,18 +28312,6 @@ namespace OpenTK.OpenGL } } - public static - void VertexAttribI4(Int32 index, ref Int16 v) - { - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)v_ptr); - } - } - } - [System.CLSCompliant(false)] public static unsafe void VertexAttribI4(UInt32 index, Byte* v) @@ -28603,7 +28321,29 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void VertexAttribI4(UInt32 index, [In, Out] Byte[] v) + unsafe void VertexAttribI4(Int32 index, Byte* v) + { + unsafe + { + Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v); + } + } + + [System.CLSCompliant(false)] + public static + void VertexAttribI4(UInt32 index, Byte[] v) + { + unsafe + { + fixed (Byte* v_ptr = v) + { + Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v_ptr); + } + } + } + + public static + void VertexAttribI4(Int32 index, Byte[] v) { unsafe { @@ -28627,6 +28367,18 @@ namespace OpenTK.OpenGL } } + public static + void VertexAttribI4(Int32 index, ref Byte v) + { + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v_ptr); + } + } + } + [System.CLSCompliant(false)] public static unsafe void VertexAttribI4(UInt32 index, UInt16* v) @@ -28636,7 +28388,17 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void VertexAttribI4(UInt32 index, [In, Out] UInt16[] v) + unsafe void VertexAttribI4(Int32 index, Int16* v) + { + unsafe + { + Delegates.glVertexAttribI4usvEXT((UInt32)index, (UInt16*)v); + } + } + + [System.CLSCompliant(false)] + public static + void VertexAttribI4(UInt32 index, UInt16[] v) { unsafe { @@ -28647,6 +28409,18 @@ namespace OpenTK.OpenGL } } + public static + void VertexAttribI4(Int32 index, Int16[] v) + { + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttribI4usvEXT((UInt32)index, (UInt16*)v_ptr); + } + } + } + [System.CLSCompliant(false)] public static void VertexAttribI4(UInt32 index, ref UInt16 v) @@ -28660,6 +28434,18 @@ namespace OpenTK.OpenGL } } + public static + void VertexAttribI4(Int32 index, ref Int16 v) + { + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttribI4usvEXT((UInt32)index, (UInt16*)v_ptr); + } + } + } + [System.CLSCompliant(false)] public static unsafe void VertexAttribIPointer(UInt32 index, Int32 size, GL.Enums.NV_vertex_program4 type, Int32 stride, void* pointer) @@ -28671,25 +28457,25 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttribIPointer(Int32 index, Int32 size, GL.Enums.NV_vertex_program4 type, Int32 stride, void* pointer) { - { - Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (GL.Enums.NV_vertex_program4)type, (Int32)stride, (void*)pointer); - } + unsafe + { + Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (GL.Enums.NV_vertex_program4)type, (Int32)stride, (void*)pointer); + } } [System.CLSCompliant(false)] public static void VertexAttribIPointer(UInt32 index, Int32 size, GL.Enums.NV_vertex_program4 type, Int32 stride, [In, Out] object pointer) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (GL.Enums.NV_vertex_program4)type, (Int32)stride, (void*)pointer_ptr.AddrOfPinnedObject()); } finally { - pointer_ptr.Free(); } } } @@ -28697,16 +28483,15 @@ namespace OpenTK.OpenGL public static void VertexAttribIPointer(Int32 index, Int32 size, GL.Enums.NV_vertex_program4 type, Int32 stride, [In, Out] object pointer) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (GL.Enums.NV_vertex_program4)type, (Int32)stride, (void*)pointer_ptr.AddrOfPinnedObject()); } finally { - pointer_ptr.Free(); } } } @@ -28720,29 +28505,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetVertexAttribIv(Int32 index, GL.Enums.NV_vertex_program4 pname, [Out] Int32* @params) - { - @params = default(Int32*); - { - Delegates.glGetVertexAttribIivEXT((UInt32)index, (GL.Enums.NV_vertex_program4)pname, (Int32*)@params); - } - } - - [System.CLSCompliant(false)] - public static - void GetVertexAttribIv(UInt32 index, GL.Enums.NV_vertex_program4 pname, [In, Out] Int32[] @params) - { - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetVertexAttribIivEXT((UInt32)index, (GL.Enums.NV_vertex_program4)pname, (Int32*)@params_ptr); - } - } - } - - public static - void GetVertexAttribIv(Int32 index, GL.Enums.NV_vertex_program4 pname, [In, Out] Int32[] @params) + void GetVertexAttribIv(UInt32 index, GL.Enums.NV_vertex_program4 pname, [Out] Int32[] @params) { unsafe { @@ -28757,27 +28520,12 @@ namespace OpenTK.OpenGL public static void GetVertexAttribIv(UInt32 index, GL.Enums.NV_vertex_program4 pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetVertexAttribIivEXT((UInt32)index, (GL.Enums.NV_vertex_program4)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - } - - public static - void GetVertexAttribIv(Int32 index, GL.Enums.NV_vertex_program4 pname, [Out] out Int32 @params) - { - @params = default(Int32); - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVertexAttribIivEXT((UInt32)index, (GL.Enums.NV_vertex_program4)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -28791,7 +28539,17 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void GetVertexAttribIv(UInt32 index, GL.Enums.NV_vertex_program4 pname, [In, Out] UInt32[] @params) + unsafe void GetVertexAttribIv(Int32 index, GL.Enums.NV_vertex_program4 pname, [Out] Int32* @params) + { + unsafe + { + Delegates.glGetVertexAttribIuivEXT((UInt32)index, (GL.Enums.NV_vertex_program4)pname, (UInt32*)@params); + } + } + + [System.CLSCompliant(false)] + public static + void GetVertexAttribIv(UInt32 index, GL.Enums.NV_vertex_program4 pname, [Out] UInt32[] @params) { unsafe { @@ -28802,17 +28560,41 @@ namespace OpenTK.OpenGL } } + public static + void GetVertexAttribIv(Int32 index, GL.Enums.NV_vertex_program4 pname, [Out] Int32[] @params) + { + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetVertexAttribIuivEXT((UInt32)index, (GL.Enums.NV_vertex_program4)pname, (UInt32*)@params_ptr); + } + } + } + [System.CLSCompliant(false)] public static void GetVertexAttribIv(UInt32 index, GL.Enums.NV_vertex_program4 pname, [Out] out UInt32 @params) { - @params = default(UInt32); unsafe { fixed (UInt32* @params_ptr = &@params) { Delegates.glGetVertexAttribIuivEXT((UInt32)index, (GL.Enums.NV_vertex_program4)pname, (UInt32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; + } + } + } + + public static + void GetVertexAttribIv(Int32 index, GL.Enums.NV_vertex_program4 pname, [Out] out Int32 @params) + { + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetVertexAttribIuivEXT((UInt32)index, (GL.Enums.NV_vertex_program4)pname, (UInt32*)@params_ptr); + @params = *@params_ptr; } } } @@ -28828,15 +28610,15 @@ namespace OpenTK.OpenGL public static unsafe void GetUniformv(Int32 program, Int32 location, [Out] Int32* @params) { - @params = default(Int32*); - { - Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params); - } + unsafe + { + Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params); + } } [System.CLSCompliant(false)] public static - void GetUniformv(UInt32 program, Int32 location, [In, Out] UInt32[] @params) + void GetUniformv(UInt32 program, Int32 location, [Out] UInt32[] @params) { unsafe { @@ -28848,7 +28630,7 @@ namespace OpenTK.OpenGL } public static - void GetUniformv(Int32 program, Int32 location, [In, Out] Int32[] @params) + void GetUniformv(Int32 program, Int32 location, [Out] Int32[] @params) { unsafe { @@ -28863,13 +28645,12 @@ namespace OpenTK.OpenGL public static void GetUniformv(UInt32 program, Int32 location, [Out] out UInt32 @params) { - @params = default(UInt32); unsafe { fixed (UInt32* @params_ptr = &@params) { Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -28877,13 +28658,12 @@ namespace OpenTK.OpenGL public static void GetUniformv(Int32 program, Int32 location, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -28977,14 +28757,15 @@ namespace OpenTK.OpenGL public static unsafe void Uniform1(Int32 location, Int32 count, Int32* value) { - { - Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value); - } + unsafe + { + Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value); + } } [System.CLSCompliant(false)] public static - void Uniform1(Int32 location, Int32 count, [In, Out] UInt32[] value) + void Uniform1(Int32 location, Int32 count, UInt32[] value) { unsafe { @@ -28996,7 +28777,7 @@ namespace OpenTK.OpenGL } public static - void Uniform1(Int32 location, Int32 count, [In, Out] Int32[] value) + void Uniform1(Int32 location, Int32 count, Int32[] value) { unsafe { @@ -29043,14 +28824,15 @@ namespace OpenTK.OpenGL public static unsafe void Uniform2uiv(Int32 location, Int32 count, Int32* value) { - { - Delegates.glUniform2uivEXT((Int32)location, (Int32)count, (UInt32*)value); - } + unsafe + { + Delegates.glUniform2uivEXT((Int32)location, (Int32)count, (UInt32*)value); + } } [System.CLSCompliant(false)] public static - void Uniform2uiv(Int32 location, Int32 count, [In, Out] UInt32[] value) + void Uniform2uiv(Int32 location, Int32 count, UInt32[] value) { unsafe { @@ -29062,7 +28844,7 @@ namespace OpenTK.OpenGL } public static - void Uniform2uiv(Int32 location, Int32 count, [In, Out] Int32[] value) + void Uniform2uiv(Int32 location, Int32 count, Int32[] value) { unsafe { @@ -29109,14 +28891,15 @@ namespace OpenTK.OpenGL public static unsafe void Uniform3(Int32 location, Int32 count, Int32* value) { - { - Delegates.glUniform3uivEXT((Int32)location, (Int32)count, (UInt32*)value); - } + unsafe + { + Delegates.glUniform3uivEXT((Int32)location, (Int32)count, (UInt32*)value); + } } [System.CLSCompliant(false)] public static - void Uniform3(Int32 location, Int32 count, [In, Out] UInt32[] value) + void Uniform3(Int32 location, Int32 count, UInt32[] value) { unsafe { @@ -29128,7 +28911,7 @@ namespace OpenTK.OpenGL } public static - void Uniform3(Int32 location, Int32 count, [In, Out] Int32[] value) + void Uniform3(Int32 location, Int32 count, Int32[] value) { unsafe { @@ -29175,14 +28958,15 @@ namespace OpenTK.OpenGL public static unsafe void Uniform4(Int32 location, Int32 count, Int32* value) { - { - Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value); - } + unsafe + { + Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value); + } } [System.CLSCompliant(false)] public static - void Uniform4(Int32 location, Int32 count, [In, Out] UInt32[] value) + void Uniform4(Int32 location, Int32 count, UInt32[] value) { unsafe { @@ -29194,7 +28978,7 @@ namespace OpenTK.OpenGL } public static - void Uniform4(Int32 location, Int32 count, [In, Out] Int32[] value) + void Uniform4(Int32 location, Int32 count, Int32[] value) { unsafe { @@ -29246,16 +29030,15 @@ namespace OpenTK.OpenGL public static void DrawElementsInstanced(GL.Enums.BeginMode mode, Int32 count, GL.Enums.EXT_draw_instanced type, [In, Out] object indices, Int32 primcount) { - System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glDrawElementsInstancedEXT((GL.Enums.BeginMode)mode, (Int32)count, (GL.Enums.EXT_draw_instanced)type, (void*)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); } finally { - indices_ptr.Free(); } } } @@ -29285,9 +29068,7 @@ namespace OpenTK.OpenGL { unsafe { - { - Delegates.glColorMaskIndexedEXT((UInt32)index, (GL.Enums.Boolean)r, (GL.Enums.Boolean)g, (GL.Enums.Boolean)b, (GL.Enums.Boolean)a); - } + Delegates.glColorMaskIndexedEXT((UInt32)index, (GL.Enums.Boolean)r, (GL.Enums.Boolean)g, (GL.Enums.Boolean)b, (GL.Enums.Boolean)a); } } @@ -29302,10 +29083,10 @@ namespace OpenTK.OpenGL public static unsafe void GetBooleanIndexev(GL.Enums.EXT_draw_buffers2 target, Int32 index, [Out] GL.Enums.Boolean* data) { - data = default(GL.Enums.Boolean*); - { - Delegates.glGetBooleanIndexedvEXT((GL.Enums.EXT_draw_buffers2)target, (UInt32)index, (GL.Enums.Boolean*)data); - } + unsafe + { + Delegates.glGetBooleanIndexedvEXT((GL.Enums.EXT_draw_buffers2)target, (UInt32)index, (GL.Enums.Boolean*)data); + } } [System.CLSCompliant(false)] @@ -29319,15 +29100,15 @@ namespace OpenTK.OpenGL public static unsafe void GetIntegerIndexev(GL.Enums.EXT_draw_buffers2 target, Int32 index, [Out] Int32* data) { - data = default(Int32*); - { - Delegates.glGetIntegerIndexedvEXT((GL.Enums.EXT_draw_buffers2)target, (UInt32)index, (Int32*)data); - } + unsafe + { + Delegates.glGetIntegerIndexedvEXT((GL.Enums.EXT_draw_buffers2)target, (UInt32)index, (Int32*)data); + } } [System.CLSCompliant(false)] public static - void GetIntegerIndexev(GL.Enums.EXT_draw_buffers2 target, UInt32 index, [In, Out] Int32[] data) + void GetIntegerIndexev(GL.Enums.EXT_draw_buffers2 target, UInt32 index, [Out] Int32[] data) { unsafe { @@ -29339,7 +29120,7 @@ namespace OpenTK.OpenGL } public static - void GetIntegerIndexev(GL.Enums.EXT_draw_buffers2 target, Int32 index, [In, Out] Int32[] data) + void GetIntegerIndexev(GL.Enums.EXT_draw_buffers2 target, Int32 index, [Out] Int32[] data) { unsafe { @@ -29354,13 +29135,12 @@ namespace OpenTK.OpenGL public static void GetIntegerIndexev(GL.Enums.EXT_draw_buffers2 target, UInt32 index, [Out] out Int32 data) { - data = default(Int32); unsafe { fixed (Int32* data_ptr = &data) { Delegates.glGetIntegerIndexedvEXT((GL.Enums.EXT_draw_buffers2)target, (UInt32)index, (Int32*)data_ptr); - data = *data_ptr; + data = *data_ptr; } } } @@ -29368,13 +29148,12 @@ namespace OpenTK.OpenGL public static void GetIntegerIndexev(GL.Enums.EXT_draw_buffers2 target, Int32 index, [Out] out Int32 data) { - data = default(Int32); unsafe { fixed (Int32* data_ptr = &data) { Delegates.glGetIntegerIndexedvEXT((GL.Enums.EXT_draw_buffers2)target, (UInt32)index, (Int32*)data_ptr); - data = *data_ptr; + data = *data_ptr; } } } @@ -29457,37 +29236,6 @@ namespace OpenTK.OpenGL return Delegates.glGetUniformOffsetEXT((UInt32)program, (Int32)location); } - [System.CLSCompliant(false)] - public static - unsafe void TexParameterIv(GL.Enums.TextureTarget target, GL.Enums.TextureParameterName pname, Int32* @params) - { - unsafe { Delegates.glTexParameterIivEXT((GL.Enums.TextureTarget)target, (GL.Enums.TextureParameterName)pname, (Int32*)@params); } - } - - public static - void TexParameterIv(GL.Enums.TextureTarget target, GL.Enums.TextureParameterName pname, [In, Out] Int32[] @params) - { - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glTexParameterIivEXT((GL.Enums.TextureTarget)target, (GL.Enums.TextureParameterName)pname, (Int32*)@params_ptr); - } - } - } - - public static - void TexParameterIv(GL.Enums.TextureTarget target, GL.Enums.TextureParameterName pname, ref Int32 @params) - { - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glTexParameterIivEXT((GL.Enums.TextureTarget)target, (GL.Enums.TextureParameterName)pname, (Int32*)@params_ptr); - } - } - } - [System.CLSCompliant(false)] public static unsafe void TexParameterIv(GL.Enums.TextureTarget target, GL.Enums.TextureParameterName pname, UInt32* @params) @@ -29497,7 +29245,17 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void TexParameterIv(GL.Enums.TextureTarget target, GL.Enums.TextureParameterName pname, [In, Out] UInt32[] @params) + unsafe void TexParameterIv(GL.Enums.TextureTarget target, GL.Enums.TextureParameterName pname, Int32* @params) + { + unsafe + { + Delegates.glTexParameterIuivEXT((GL.Enums.TextureTarget)target, (GL.Enums.TextureParameterName)pname, (UInt32*)@params); + } + } + + [System.CLSCompliant(false)] + public static + void TexParameterIv(GL.Enums.TextureTarget target, GL.Enums.TextureParameterName pname, UInt32[] @params) { unsafe { @@ -29508,6 +29266,18 @@ namespace OpenTK.OpenGL } } + public static + void TexParameterIv(GL.Enums.TextureTarget target, GL.Enums.TextureParameterName pname, Int32[] @params) + { + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glTexParameterIuivEXT((GL.Enums.TextureTarget)target, (GL.Enums.TextureParameterName)pname, (UInt32*)@params_ptr); + } + } + } + [System.CLSCompliant(false)] public static void TexParameterIv(GL.Enums.TextureTarget target, GL.Enums.TextureParameterName pname, ref UInt32 @params) @@ -29521,35 +29291,14 @@ namespace OpenTK.OpenGL } } - [System.CLSCompliant(false)] public static - unsafe void GetTexParameterIv(GL.Enums.TextureTarget target, GL.Enums.GetTextureParameter pname, [Out] Int32* @params) + void TexParameterIv(GL.Enums.TextureTarget target, GL.Enums.TextureParameterName pname, ref Int32 @params) { - unsafe { Delegates.glGetTexParameterIivEXT((GL.Enums.TextureTarget)target, (GL.Enums.GetTextureParameter)pname, (Int32*)@params); } - } - - public static - void GetTexParameterIv(GL.Enums.TextureTarget target, GL.Enums.GetTextureParameter pname, [In, Out] Int32[] @params) - { - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetTexParameterIivEXT((GL.Enums.TextureTarget)target, (GL.Enums.GetTextureParameter)pname, (Int32*)@params_ptr); - } - } - } - - public static - void GetTexParameterIv(GL.Enums.TextureTarget target, GL.Enums.GetTextureParameter pname, [Out] out Int32 @params) - { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetTexParameterIivEXT((GL.Enums.TextureTarget)target, (GL.Enums.GetTextureParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + Delegates.glTexParameterIuivEXT((GL.Enums.TextureTarget)target, (GL.Enums.TextureParameterName)pname, (UInt32*)@params_ptr); } } } @@ -29563,7 +29312,17 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void GetTexParameterIv(GL.Enums.TextureTarget target, GL.Enums.GetTextureParameter pname, [In, Out] UInt32[] @params) + unsafe void GetTexParameterIv(GL.Enums.TextureTarget target, GL.Enums.GetTextureParameter pname, [Out] Int32* @params) + { + unsafe + { + Delegates.glGetTexParameterIuivEXT((GL.Enums.TextureTarget)target, (GL.Enums.GetTextureParameter)pname, (UInt32*)@params); + } + } + + [System.CLSCompliant(false)] + public static + void GetTexParameterIv(GL.Enums.TextureTarget target, GL.Enums.GetTextureParameter pname, [Out] UInt32[] @params) { unsafe { @@ -29574,17 +29333,41 @@ namespace OpenTK.OpenGL } } + public static + void GetTexParameterIv(GL.Enums.TextureTarget target, GL.Enums.GetTextureParameter pname, [Out] Int32[] @params) + { + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetTexParameterIuivEXT((GL.Enums.TextureTarget)target, (GL.Enums.GetTextureParameter)pname, (UInt32*)@params_ptr); + } + } + } + [System.CLSCompliant(false)] public static void GetTexParameterIv(GL.Enums.TextureTarget target, GL.Enums.GetTextureParameter pname, [Out] out UInt32 @params) { - @params = default(UInt32); unsafe { fixed (UInt32* @params_ptr = &@params) { Delegates.glGetTexParameterIuivEXT((GL.Enums.TextureTarget)target, (GL.Enums.GetTextureParameter)pname, (UInt32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; + } + } + } + + public static + void GetTexParameterIv(GL.Enums.TextureTarget target, GL.Enums.GetTextureParameter pname, [Out] out Int32 @params) + { + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetTexParameterIuivEXT((GL.Enums.TextureTarget)target, (GL.Enums.GetTextureParameter)pname, (UInt32*)@params_ptr); + @params = *@params_ptr; } } } @@ -29620,7 +29403,7 @@ namespace OpenTK.OpenGL } public static - void GetTexFilterFunc(GL.Enums.TextureTarget target, GL.Enums.SGIS_texture_filter4 filter, [In, Out] Single[] weights) + void GetTexFilterFunc(GL.Enums.TextureTarget target, GL.Enums.SGIS_texture_filter4 filter, [Out] Single[] weights) { unsafe { @@ -29634,13 +29417,12 @@ namespace OpenTK.OpenGL public static void GetTexFilterFunc(GL.Enums.TextureTarget target, GL.Enums.SGIS_texture_filter4 filter, [Out] out Single weights) { - weights = default(Single); unsafe { fixed (Single* weights_ptr = &weights) { Delegates.glGetTexFilterFuncSGIS((GL.Enums.TextureTarget)target, (GL.Enums.SGIS_texture_filter4)filter, (Single*)weights_ptr); - weights = *weights_ptr; + weights = *weights_ptr; } } } @@ -29653,7 +29435,7 @@ namespace OpenTK.OpenGL } public static - void TexFilterFunc(GL.Enums.TextureTarget target, GL.Enums.SGIS_texture_filter4 filter, Int32 n, [In, Out] Single[] weights) + void TexFilterFunc(GL.Enums.TextureTarget target, GL.Enums.SGIS_texture_filter4 filter, Int32 n, Single[] weights) { unsafe { @@ -29690,7 +29472,7 @@ namespace OpenTK.OpenGL } public static - void PixelTexGenParameterv(GL.Enums.PixelTexGenParameterNameSGIS pname, [In, Out] Int32[] @params) + void PixelTexGenParameterv(GL.Enums.PixelTexGenParameterNameSGIS pname, Int32[] @params) { unsafe { @@ -29727,7 +29509,7 @@ namespace OpenTK.OpenGL } public static - void PixelTexGenParameterv(GL.Enums.PixelTexGenParameterNameSGIS pname, [In, Out] Single[] @params) + void PixelTexGenParameterv(GL.Enums.PixelTexGenParameterNameSGIS pname, Single[] @params) { unsafe { @@ -29758,7 +29540,7 @@ namespace OpenTK.OpenGL } public static - void GetPixelTexGenParameterv(GL.Enums.PixelTexGenParameterNameSGIS pname, [In, Out] Int32[] @params) + void GetPixelTexGenParameterv(GL.Enums.PixelTexGenParameterNameSGIS pname, [Out] Int32[] @params) { unsafe { @@ -29772,13 +29554,12 @@ namespace OpenTK.OpenGL public static void GetPixelTexGenParameterv(GL.Enums.PixelTexGenParameterNameSGIS pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetPixelTexGenParameterivSGIS((GL.Enums.PixelTexGenParameterNameSGIS)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -29791,7 +29572,7 @@ namespace OpenTK.OpenGL } public static - void GetPixelTexGenParameterv(GL.Enums.PixelTexGenParameterNameSGIS pname, [In, Out] Single[] @params) + void GetPixelTexGenParameterv(GL.Enums.PixelTexGenParameterNameSGIS pname, [Out] Single[] @params) { unsafe { @@ -29805,13 +29586,12 @@ namespace OpenTK.OpenGL public static void GetPixelTexGenParameterv(GL.Enums.PixelTexGenParameterNameSGIS pname, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetPixelTexGenParameterfvSGIS((GL.Enums.PixelTexGenParameterNameSGIS)pname, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -29826,16 +29606,15 @@ namespace OpenTK.OpenGL public static void TexImage4D(GL.Enums.TextureTarget target, Int32 level, GL.Enums.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object pixels) { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glTexImage4DSGIS((GL.Enums.TextureTarget)target, (Int32)level, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (Int32)border, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (void*)pixels_ptr.AddrOfPinnedObject()); } finally { - pixels_ptr.Free(); } } } @@ -29850,16 +29629,15 @@ namespace OpenTK.OpenGL public static void TexSubImage4D(GL.Enums.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object pixels) { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glTexSubImage4DSGIS((GL.Enums.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)woffset, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (void*)pixels_ptr.AddrOfPinnedObject()); } finally { - pixels_ptr.Free(); } } } @@ -29872,7 +29650,7 @@ namespace OpenTK.OpenGL } public static - void DetailTexFunc(GL.Enums.TextureTarget target, Int32 n, [In, Out] Single[] points) + void DetailTexFunc(GL.Enums.TextureTarget target, Int32 n, Single[] points) { unsafe { @@ -29903,7 +29681,7 @@ namespace OpenTK.OpenGL } public static - void GetDetailTexFunc(GL.Enums.TextureTarget target, [In, Out] Single[] points) + void GetDetailTexFunc(GL.Enums.TextureTarget target, [Out] Single[] points) { unsafe { @@ -29917,13 +29695,12 @@ namespace OpenTK.OpenGL public static void GetDetailTexFunc(GL.Enums.TextureTarget target, [Out] out Single points) { - points = default(Single); unsafe { fixed (Single* points_ptr = &points) { Delegates.glGetDetailTexFuncSGIS((GL.Enums.TextureTarget)target, (Single*)points_ptr); - points = *points_ptr; + points = *points_ptr; } } } @@ -29936,7 +29713,7 @@ namespace OpenTK.OpenGL } public static - void SharpenTexFunc(GL.Enums.TextureTarget target, Int32 n, [In, Out] Single[] points) + void SharpenTexFunc(GL.Enums.TextureTarget target, Int32 n, Single[] points) { unsafe { @@ -29967,7 +29744,7 @@ namespace OpenTK.OpenGL } public static - void GetSharpenTexFunc(GL.Enums.TextureTarget target, [In, Out] Single[] points) + void GetSharpenTexFunc(GL.Enums.TextureTarget target, [Out] Single[] points) { unsafe { @@ -29981,13 +29758,12 @@ namespace OpenTK.OpenGL public static void GetSharpenTexFunc(GL.Enums.TextureTarget target, [Out] out Single points) { - points = default(Single); unsafe { fixed (Single* points_ptr = &points) { Delegates.glGetSharpenTexFuncSGIS((GL.Enums.TextureTarget)target, (Single*)points_ptr); - points = *points_ptr; + points = *points_ptr; } } } @@ -30018,7 +29794,7 @@ namespace OpenTK.OpenGL } public static - void PointParameterv(GL.Enums.SGIS_point_parameters pname, [In, Out] Single[] @params) + void PointParameterv(GL.Enums.SGIS_point_parameters pname, Single[] @params) { unsafe { @@ -30049,7 +29825,7 @@ namespace OpenTK.OpenGL } public static - void FogFunc(Int32 n, [In, Out] Single[] points) + void FogFunc(Int32 n, Single[] points) { unsafe { @@ -30080,7 +29856,7 @@ namespace OpenTK.OpenGL } public static - void GetFogFunc([In, Out] Single[] points) + void GetFogFunc([Out] Single[] points) { unsafe { @@ -30094,13 +29870,12 @@ namespace OpenTK.OpenGL public static void GetFogFunc([Out] out Single points) { - points = default(Single); unsafe { fixed (Single* points_ptr = &points) { Delegates.glGetFogFuncSGIS((Single*)points_ptr); - points = *points_ptr; + points = *points_ptr; } } } @@ -30125,16 +29900,15 @@ namespace OpenTK.OpenGL public static void ColorTable(GL.Enums.ColorTableTargetSGI target, GL.Enums.PixelInternalFormat internalformat, Int32 width, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object table) { - System.Runtime.InteropServices.GCHandle table_ptr = System.Runtime.InteropServices.GCHandle.Alloc(table, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle table_ptr = System.Runtime.InteropServices.GCHandle.Alloc(table, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glColorTableSGI((GL.Enums.ColorTableTargetSGI)target, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (void*)table_ptr.AddrOfPinnedObject()); } finally { - table_ptr.Free(); } } } @@ -30147,7 +29921,7 @@ namespace OpenTK.OpenGL } public static - void ColorTableParameterv(GL.Enums.ColorTableTargetSGI target, GL.Enums.ColorTableParameterPNameSGI pname, [In, Out] Single[] @params) + void ColorTableParameterv(GL.Enums.ColorTableTargetSGI target, GL.Enums.ColorTableParameterPNameSGI pname, Single[] @params) { unsafe { @@ -30178,7 +29952,7 @@ namespace OpenTK.OpenGL } public static - void ColorTableParameterv(GL.Enums.ColorTableTargetSGI target, GL.Enums.ColorTableParameterPNameSGI pname, [In, Out] Int32[] @params) + void ColorTableParameterv(GL.Enums.ColorTableTargetSGI target, GL.Enums.ColorTableParameterPNameSGI pname, Int32[] @params) { unsafe { @@ -30217,16 +29991,15 @@ namespace OpenTK.OpenGL public static void GetColorTable(GL.Enums.ColorTableTargetSGI target, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object table) { - System.Runtime.InteropServices.GCHandle table_ptr = System.Runtime.InteropServices.GCHandle.Alloc(table, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle table_ptr = System.Runtime.InteropServices.GCHandle.Alloc(table, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glGetColorTableSGI((GL.Enums.ColorTableTargetSGI)target, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (void*)table_ptr.AddrOfPinnedObject()); } finally { - table_ptr.Free(); } } } @@ -30239,7 +30012,7 @@ namespace OpenTK.OpenGL } public static - void GetColorTableParameterv(GL.Enums.ColorTableTargetSGI target, GL.Enums.GetColorTableParameterPNameSGI pname, [In, Out] Single[] @params) + void GetColorTableParameterv(GL.Enums.ColorTableTargetSGI target, GL.Enums.GetColorTableParameterPNameSGI pname, [Out] Single[] @params) { unsafe { @@ -30253,13 +30026,12 @@ namespace OpenTK.OpenGL public static void GetColorTableParameterv(GL.Enums.ColorTableTargetSGI target, GL.Enums.GetColorTableParameterPNameSGI pname, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetColorTableParameterfvSGI((GL.Enums.ColorTableTargetSGI)target, (GL.Enums.GetColorTableParameterPNameSGI)pname, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -30272,7 +30044,7 @@ namespace OpenTK.OpenGL } public static - void GetColorTableParameterv(GL.Enums.ColorTableTargetSGI target, GL.Enums.GetColorTableParameterPNameSGI pname, [In, Out] Int32[] @params) + void GetColorTableParameterv(GL.Enums.ColorTableTargetSGI target, GL.Enums.GetColorTableParameterPNameSGI pname, [Out] Int32[] @params) { unsafe { @@ -30286,13 +30058,12 @@ namespace OpenTK.OpenGL public static void GetColorTableParameterv(GL.Enums.ColorTableTargetSGI target, GL.Enums.GetColorTableParameterPNameSGI pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetColorTableParameterivSGI((GL.Enums.ColorTableTargetSGI)target, (GL.Enums.GetColorTableParameterPNameSGI)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -30321,7 +30092,7 @@ namespace OpenTK.OpenGL } public static - void SpriteParameterv(GL.Enums.SGIX_sprite pname, [In, Out] Single[] @params) + void SpriteParameterv(GL.Enums.SGIX_sprite pname, Single[] @params) { unsafe { @@ -30358,7 +30129,7 @@ namespace OpenTK.OpenGL } public static - void SpriteParameterv(GL.Enums.SGIX_sprite pname, [In, Out] Int32[] @params) + void SpriteParameterv(GL.Enums.SGIX_sprite pname, Int32[] @params) { unsafe { @@ -30395,7 +30166,7 @@ namespace OpenTK.OpenGL } public static - void InstrumentsBuffer(Int32 size, [In, Out] Int32[] buffer) + void InstrumentsBuffer(Int32 size, [Out] Int32[] buffer) { unsafe { @@ -30409,13 +30180,12 @@ namespace OpenTK.OpenGL public static void InstrumentsBuffer(Int32 size, [Out] out Int32 buffer) { - buffer = default(Int32); unsafe { fixed (Int32* buffer_ptr = &buffer) { Delegates.glInstrumentsBufferSGIX((Int32)size, (Int32*)buffer_ptr); - buffer = *buffer_ptr; + buffer = *buffer_ptr; } } } @@ -30428,7 +30198,7 @@ namespace OpenTK.OpenGL } public static - Int32 PollInstruments([In, Out] Int32[] marker_p) + Int32 PollInstruments([Out] Int32[] marker_p) { unsafe { @@ -30443,13 +30213,12 @@ namespace OpenTK.OpenGL public static Int32 PollInstruments([Out] out Int32 marker_p) { - marker_p = default(Int32); unsafe { fixed (Int32* marker_p_ptr = &marker_p) { Int32 retval = Delegates.glPollInstrumentsSGIX((Int32*)marker_p_ptr); - marker_p = *marker_p_ptr; + marker_p = *marker_p_ptr; return retval; } } @@ -30493,7 +30262,7 @@ namespace OpenTK.OpenGL } public static - void DeformationMap3(GL.Enums.FfdTargetSGIX target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, [In, Out] Double[] points) + void DeformationMap3(GL.Enums.FfdTargetSGIX target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, Double[] points) { unsafe { @@ -30524,7 +30293,7 @@ namespace OpenTK.OpenGL } public static - void DeformationMap3(GL.Enums.FfdTargetSGIX target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, [In, Out] Single[] points) + void DeformationMap3(GL.Enums.FfdTargetSGIX target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, Single[] points) { unsafe { @@ -30567,7 +30336,7 @@ namespace OpenTK.OpenGL } public static - void ReferencePlane([In, Out] Double[] equation) + void ReferencePlane(Double[] equation) { unsafe { @@ -30607,15 +30376,15 @@ namespace OpenTK.OpenGL public static unsafe void GetListParameterv(Int32 list, GL.Enums.ListParameterName pname, [Out] Single* @params) { - @params = default(Single*); - { - Delegates.glGetListParameterfvSGIX((UInt32)list, (GL.Enums.ListParameterName)pname, (Single*)@params); - } + unsafe + { + Delegates.glGetListParameterfvSGIX((UInt32)list, (GL.Enums.ListParameterName)pname, (Single*)@params); + } } [System.CLSCompliant(false)] public static - void GetListParameterv(UInt32 list, GL.Enums.ListParameterName pname, [In, Out] Single[] @params) + void GetListParameterv(UInt32 list, GL.Enums.ListParameterName pname, [Out] Single[] @params) { unsafe { @@ -30627,7 +30396,7 @@ namespace OpenTK.OpenGL } public static - void GetListParameterv(Int32 list, GL.Enums.ListParameterName pname, [In, Out] Single[] @params) + void GetListParameterv(Int32 list, GL.Enums.ListParameterName pname, [Out] Single[] @params) { unsafe { @@ -30642,13 +30411,12 @@ namespace OpenTK.OpenGL public static void GetListParameterv(UInt32 list, GL.Enums.ListParameterName pname, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetListParameterfvSGIX((UInt32)list, (GL.Enums.ListParameterName)pname, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -30656,13 +30424,12 @@ namespace OpenTK.OpenGL public static void GetListParameterv(Int32 list, GL.Enums.ListParameterName pname, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetListParameterfvSGIX((UInt32)list, (GL.Enums.ListParameterName)pname, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -30678,15 +30445,15 @@ namespace OpenTK.OpenGL public static unsafe void GetListParameterv(Int32 list, GL.Enums.ListParameterName pname, [Out] Int32* @params) { - @params = default(Int32*); - { - Delegates.glGetListParameterivSGIX((UInt32)list, (GL.Enums.ListParameterName)pname, (Int32*)@params); - } + unsafe + { + Delegates.glGetListParameterivSGIX((UInt32)list, (GL.Enums.ListParameterName)pname, (Int32*)@params); + } } [System.CLSCompliant(false)] public static - void GetListParameterv(UInt32 list, GL.Enums.ListParameterName pname, [In, Out] Int32[] @params) + void GetListParameterv(UInt32 list, GL.Enums.ListParameterName pname, [Out] Int32[] @params) { unsafe { @@ -30698,7 +30465,7 @@ namespace OpenTK.OpenGL } public static - void GetListParameterv(Int32 list, GL.Enums.ListParameterName pname, [In, Out] Int32[] @params) + void GetListParameterv(Int32 list, GL.Enums.ListParameterName pname, [Out] Int32[] @params) { unsafe { @@ -30713,13 +30480,12 @@ namespace OpenTK.OpenGL public static void GetListParameterv(UInt32 list, GL.Enums.ListParameterName pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetListParameterivSGIX((UInt32)list, (GL.Enums.ListParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -30727,13 +30493,12 @@ namespace OpenTK.OpenGL public static void GetListParameterv(Int32 list, GL.Enums.ListParameterName pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetListParameterivSGIX((UInt32)list, (GL.Enums.ListParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -30762,14 +30527,15 @@ namespace OpenTK.OpenGL public static unsafe void ListParameterv(Int32 list, GL.Enums.ListParameterName pname, Single* @params) { - { - Delegates.glListParameterfvSGIX((UInt32)list, (GL.Enums.ListParameterName)pname, (Single*)@params); - } + unsafe + { + Delegates.glListParameterfvSGIX((UInt32)list, (GL.Enums.ListParameterName)pname, (Single*)@params); + } } [System.CLSCompliant(false)] public static - void ListParameterv(UInt32 list, GL.Enums.ListParameterName pname, [In, Out] Single[] @params) + void ListParameterv(UInt32 list, GL.Enums.ListParameterName pname, Single[] @params) { unsafe { @@ -30781,7 +30547,7 @@ namespace OpenTK.OpenGL } public static - void ListParameterv(Int32 list, GL.Enums.ListParameterName pname, [In, Out] Single[] @params) + void ListParameterv(Int32 list, GL.Enums.ListParameterName pname, Single[] @params) { unsafe { @@ -30841,14 +30607,15 @@ namespace OpenTK.OpenGL public static unsafe void ListParameterv(Int32 list, GL.Enums.ListParameterName pname, Int32* @params) { - { - Delegates.glListParameterivSGIX((UInt32)list, (GL.Enums.ListParameterName)pname, (Int32*)@params); - } + unsafe + { + Delegates.glListParameterivSGIX((UInt32)list, (GL.Enums.ListParameterName)pname, (Int32*)@params); + } } [System.CLSCompliant(false)] public static - void ListParameterv(UInt32 list, GL.Enums.ListParameterName pname, [In, Out] Int32[] @params) + void ListParameterv(UInt32 list, GL.Enums.ListParameterName pname, Int32[] @params) { unsafe { @@ -30860,7 +30627,7 @@ namespace OpenTK.OpenGL } public static - void ListParameterv(Int32 list, GL.Enums.ListParameterName pname, [In, Out] Int32[] @params) + void ListParameterv(Int32 list, GL.Enums.ListParameterName pname, Int32[] @params) { unsafe { @@ -30916,7 +30683,7 @@ namespace OpenTK.OpenGL } public static - void FragmentLightv(GL.Enums.SGIX_fragment_lighting light, GL.Enums.SGIX_fragment_lighting pname, [In, Out] Single[] @params) + void FragmentLightv(GL.Enums.SGIX_fragment_lighting light, GL.Enums.SGIX_fragment_lighting pname, Single[] @params) { unsafe { @@ -30953,7 +30720,7 @@ namespace OpenTK.OpenGL } public static - void FragmentLightv(GL.Enums.SGIX_fragment_lighting light, GL.Enums.SGIX_fragment_lighting pname, [In, Out] Int32[] @params) + void FragmentLightv(GL.Enums.SGIX_fragment_lighting light, GL.Enums.SGIX_fragment_lighting pname, Int32[] @params) { unsafe { @@ -30990,7 +30757,7 @@ namespace OpenTK.OpenGL } public static - void FragmentLightModelv(GL.Enums.FragmentLightModelParameterSGIX pname, [In, Out] Single[] @params) + void FragmentLightModelv(GL.Enums.FragmentLightModelParameterSGIX pname, Single[] @params) { unsafe { @@ -31027,7 +30794,7 @@ namespace OpenTK.OpenGL } public static - void FragmentLightModelv(GL.Enums.FragmentLightModelParameterSGIX pname, [In, Out] Int32[] @params) + void FragmentLightModelv(GL.Enums.FragmentLightModelParameterSGIX pname, Int32[] @params) { unsafe { @@ -31064,7 +30831,7 @@ namespace OpenTK.OpenGL } public static - void FragmentMaterialv(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter pname, [In, Out] Single[] @params) + void FragmentMaterialv(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter pname, Single[] @params) { unsafe { @@ -31101,7 +30868,7 @@ namespace OpenTK.OpenGL } public static - void FragmentMaterialv(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter pname, [In, Out] Int32[] @params) + void FragmentMaterialv(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter pname, Int32[] @params) { unsafe { @@ -31132,7 +30899,7 @@ namespace OpenTK.OpenGL } public static - void GetFragmentLightv(GL.Enums.SGIX_fragment_lighting light, GL.Enums.SGIX_fragment_lighting pname, [In, Out] Single[] @params) + void GetFragmentLightv(GL.Enums.SGIX_fragment_lighting light, GL.Enums.SGIX_fragment_lighting pname, [Out] Single[] @params) { unsafe { @@ -31146,13 +30913,12 @@ namespace OpenTK.OpenGL public static void GetFragmentLightv(GL.Enums.SGIX_fragment_lighting light, GL.Enums.SGIX_fragment_lighting pname, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetFragmentLightfvSGIX((GL.Enums.SGIX_fragment_lighting)light, (GL.Enums.SGIX_fragment_lighting)pname, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -31165,7 +30931,7 @@ namespace OpenTK.OpenGL } public static - void GetFragmentLightv(GL.Enums.SGIX_fragment_lighting light, GL.Enums.SGIX_fragment_lighting pname, [In, Out] Int32[] @params) + void GetFragmentLightv(GL.Enums.SGIX_fragment_lighting light, GL.Enums.SGIX_fragment_lighting pname, [Out] Int32[] @params) { unsafe { @@ -31179,13 +30945,12 @@ namespace OpenTK.OpenGL public static void GetFragmentLightv(GL.Enums.SGIX_fragment_lighting light, GL.Enums.SGIX_fragment_lighting pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetFragmentLightivSGIX((GL.Enums.SGIX_fragment_lighting)light, (GL.Enums.SGIX_fragment_lighting)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -31198,7 +30963,7 @@ namespace OpenTK.OpenGL } public static - void GetFragmentMaterialv(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter pname, [In, Out] Single[] @params) + void GetFragmentMaterialv(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter pname, [Out] Single[] @params) { unsafe { @@ -31212,13 +30977,12 @@ namespace OpenTK.OpenGL public static void GetFragmentMaterialv(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter pname, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetFragmentMaterialfvSGIX((GL.Enums.MaterialFace)face, (GL.Enums.MaterialParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -31231,7 +30995,7 @@ namespace OpenTK.OpenGL } public static - void GetFragmentMaterialv(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter pname, [In, Out] Int32[] @params) + void GetFragmentMaterialv(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter pname, [Out] Int32[] @params) { unsafe { @@ -31245,13 +31009,12 @@ namespace OpenTK.OpenGL public static void GetFragmentMaterialv(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetFragmentMaterialivSGIX((GL.Enums.MaterialFace)face, (GL.Enums.MaterialParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -31286,16 +31049,16 @@ namespace OpenTK.OpenGL public static unsafe Int32 FinishAsync([Out] Int32* markerp) { - markerp = default(Int32*); - { - Int32 retval = Delegates.glFinishAsyncSGIX((UInt32*)markerp); - return retval; - } + unsafe + { + Int32 retval = Delegates.glFinishAsyncSGIX((UInt32*)markerp); + return retval; + } } [System.CLSCompliant(false)] public static - Int32 FinishAsync([In, Out] UInt32[] markerp) + Int32 FinishAsync([Out] UInt32[] markerp) { unsafe { @@ -31308,7 +31071,7 @@ namespace OpenTK.OpenGL } public static - Int32 FinishAsync([In, Out] Int32[] markerp) + Int32 FinishAsync([Out] Int32[] markerp) { unsafe { @@ -31324,13 +31087,12 @@ namespace OpenTK.OpenGL public static Int32 FinishAsync([Out] out UInt32 markerp) { - markerp = default(UInt32); unsafe { fixed (UInt32* markerp_ptr = &markerp) { Int32 retval = Delegates.glFinishAsyncSGIX((UInt32*)markerp_ptr); - markerp = *markerp_ptr; + markerp = *markerp_ptr; return retval; } } @@ -31339,13 +31101,12 @@ namespace OpenTK.OpenGL public static Int32 FinishAsync([Out] out Int32 markerp) { - markerp = default(Int32); unsafe { fixed (Int32* markerp_ptr = &markerp) { Int32 retval = Delegates.glFinishAsyncSGIX((UInt32*)markerp_ptr); - markerp = *markerp_ptr; + markerp = *markerp_ptr; return retval; } } @@ -31362,16 +31123,16 @@ namespace OpenTK.OpenGL public static unsafe Int32 PollAsync([Out] Int32* markerp) { - markerp = default(Int32*); - { - Int32 retval = Delegates.glPollAsyncSGIX((UInt32*)markerp); - return retval; - } + unsafe + { + Int32 retval = Delegates.glPollAsyncSGIX((UInt32*)markerp); + return retval; + } } [System.CLSCompliant(false)] public static - Int32 PollAsync([In, Out] UInt32[] markerp) + Int32 PollAsync([Out] UInt32[] markerp) { unsafe { @@ -31384,7 +31145,7 @@ namespace OpenTK.OpenGL } public static - Int32 PollAsync([In, Out] Int32[] markerp) + Int32 PollAsync([Out] Int32[] markerp) { unsafe { @@ -31400,13 +31161,12 @@ namespace OpenTK.OpenGL public static Int32 PollAsync([Out] out UInt32 markerp) { - markerp = default(UInt32); unsafe { fixed (UInt32* markerp_ptr = &markerp) { Int32 retval = Delegates.glPollAsyncSGIX((UInt32*)markerp_ptr); - markerp = *markerp_ptr; + markerp = *markerp_ptr; return retval; } } @@ -31415,13 +31175,12 @@ namespace OpenTK.OpenGL public static Int32 PollAsync([Out] out Int32 markerp) { - markerp = default(Int32); unsafe { fixed (Int32* markerp_ptr = &markerp) { Int32 retval = Delegates.glPollAsyncSGIX((UInt32*)markerp_ptr); - markerp = *markerp_ptr; + markerp = *markerp_ptr; return retval; } } @@ -31469,16 +31228,15 @@ namespace OpenTK.OpenGL public static void IglooInterface(GL.Enums.All pname, [In, Out] object @params) { - System.Runtime.InteropServices.GCHandle @params_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@params, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle @params_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@params, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glIglooInterfaceSGIX((GL.Enums.All)pname, (void*)@params_ptr.AddrOfPinnedObject()); } finally { - @params_ptr.Free(); } } } @@ -31507,7 +31265,7 @@ namespace OpenTK.OpenGL } public static - void ImageTransformParameterv(GL.Enums.HP_image_transform target, GL.Enums.HP_image_transform pname, [In, Out] Int32[] @params) + void ImageTransformParameterv(GL.Enums.HP_image_transform target, GL.Enums.HP_image_transform pname, Int32[] @params) { unsafe { @@ -31538,7 +31296,7 @@ namespace OpenTK.OpenGL } public static - void ImageTransformParameterv(GL.Enums.HP_image_transform target, GL.Enums.HP_image_transform pname, [In, Out] Single[] @params) + void ImageTransformParameterv(GL.Enums.HP_image_transform target, GL.Enums.HP_image_transform pname, Single[] @params) { unsafe { @@ -31569,7 +31327,7 @@ namespace OpenTK.OpenGL } public static - void GetImageTransformParameterv(GL.Enums.HP_image_transform target, GL.Enums.HP_image_transform pname, [In, Out] Int32[] @params) + void GetImageTransformParameterv(GL.Enums.HP_image_transform target, GL.Enums.HP_image_transform pname, [Out] Int32[] @params) { unsafe { @@ -31583,13 +31341,12 @@ namespace OpenTK.OpenGL public static void GetImageTransformParameterv(GL.Enums.HP_image_transform target, GL.Enums.HP_image_transform pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetImageTransformParameterivHP((GL.Enums.HP_image_transform)target, (GL.Enums.HP_image_transform)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -31602,7 +31359,7 @@ namespace OpenTK.OpenGL } public static - void GetImageTransformParameterv(GL.Enums.HP_image_transform target, GL.Enums.HP_image_transform pname, [In, Out] Single[] @params) + void GetImageTransformParameterv(GL.Enums.HP_image_transform target, GL.Enums.HP_image_transform pname, [Out] Single[] @params) { unsafe { @@ -31616,13 +31373,12 @@ namespace OpenTK.OpenGL public static void GetImageTransformParameterv(GL.Enums.HP_image_transform target, GL.Enums.HP_image_transform pname, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetImageTransformParameterfvHP((GL.Enums.HP_image_transform)target, (GL.Enums.HP_image_transform)pname, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -31651,16 +31407,15 @@ namespace OpenTK.OpenGL public static void VertexPointerv(Int32 size, GL.Enums.VertexPointerType type, [In, Out] object pointer) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glVertexPointervINTEL((Int32)size, (GL.Enums.VertexPointerType)type, (void*)pointer_ptr.AddrOfPinnedObject()); } finally { - pointer_ptr.Free(); } } } @@ -31675,16 +31430,15 @@ namespace OpenTK.OpenGL public static void NormalPointerv(GL.Enums.NormalPointerType type, [In, Out] object pointer) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glNormalPointervINTEL((GL.Enums.NormalPointerType)type, (void*)pointer_ptr.AddrOfPinnedObject()); } finally { - pointer_ptr.Free(); } } } @@ -31699,16 +31453,15 @@ namespace OpenTK.OpenGL public static void ColorPointerv(Int32 size, GL.Enums.VertexPointerType type, [In, Out] object pointer) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glColorPointervINTEL((Int32)size, (GL.Enums.VertexPointerType)type, (void*)pointer_ptr.AddrOfPinnedObject()); } finally { - pointer_ptr.Free(); } } } @@ -31723,16 +31476,15 @@ namespace OpenTK.OpenGL public static void TexCoordPointerv(Int32 size, GL.Enums.VertexPointerType type, [In, Out] object pointer) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glTexCoordPointervINTEL((Int32)size, (GL.Enums.VertexPointerType)type, (void*)pointer_ptr.AddrOfPinnedObject()); } finally { - pointer_ptr.Free(); } } } @@ -31863,14 +31615,15 @@ namespace OpenTK.OpenGL public static unsafe void ReplacementCodev(Int32* code) { - { - Delegates.glReplacementCodeuivSUN((UInt32*)code); - } + unsafe + { + Delegates.glReplacementCodeuivSUN((UInt32*)code); + } } [System.CLSCompliant(false)] public static - void ReplacementCodev([In, Out] UInt32[] code) + void ReplacementCodev(UInt32[] code) { unsafe { @@ -31882,7 +31635,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodev([In, Out] Int32[] code) + void ReplacementCodev(Int32[] code) { unsafe { @@ -31929,14 +31682,15 @@ namespace OpenTK.OpenGL public static unsafe void ReplacementCodev(Int16* code) { - { - Delegates.glReplacementCodeusvSUN((UInt16*)code); - } + unsafe + { + Delegates.glReplacementCodeusvSUN((UInt16*)code); + } } [System.CLSCompliant(false)] public static - void ReplacementCodev([In, Out] UInt16[] code) + void ReplacementCodev(UInt16[] code) { unsafe { @@ -31948,7 +31702,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodev([In, Out] Int16[] code) + void ReplacementCodev(Int16[] code) { unsafe { @@ -31992,7 +31746,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodev([In, Out] Byte[] code) + void ReplacementCodev(Byte[] code) { unsafe { @@ -32025,16 +31779,15 @@ namespace OpenTK.OpenGL public static void ReplacementCodePointer(GL.Enums.SUN_triangle_list type, Int32 stride, [In, Out] object pointer) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glReplacementCodePointerSUN((GL.Enums.SUN_triangle_list)type, (Int32)stride, (void*)pointer_ptr.AddrOfPinnedObject()); } finally { - pointer_ptr.Free(); } } } @@ -32054,36 +31807,45 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Color4ubVertex2(Byte* c, [In, Out] Single[] v) + unsafe void Color4ubVertex2(Byte* c, Single[] v) { + unsafe + { fixed (Single* v_ptr = v) { Delegates.glColor4ubVertex2fvSUN((Byte*)c, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void Color4ubVertex2(Byte* c, ref Single v) { + unsafe + { fixed (Single* v_ptr = &v) { Delegates.glColor4ubVertex2fvSUN((Byte*)c, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void Color4ubVertex2([In, Out] Byte[] c, Single* v) + unsafe void Color4ubVertex2(Byte[] c, Single* v) { + unsafe + { fixed (Byte* c_ptr = c) { Delegates.glColor4ubVertex2fvSUN((Byte*)c_ptr, (Single*)v); } + } } public static - void Color4ubVertex2([In, Out] Byte[] c, [In, Out] Single[] v) + void Color4ubVertex2(Byte[] c, Single[] v) { unsafe { @@ -32096,7 +31858,7 @@ namespace OpenTK.OpenGL } public static - void Color4ubVertex2([In, Out] Byte[] c, ref Single v) + void Color4ubVertex2(Byte[] c, ref Single v) { unsafe { @@ -32112,14 +31874,17 @@ namespace OpenTK.OpenGL public static unsafe void Color4ubVertex2(ref Byte c, Single* v) { + unsafe + { fixed (Byte* c_ptr = &c) { Delegates.glColor4ubVertex2fvSUN((Byte*)c_ptr, (Single*)v); } + } } public static - void Color4ubVertex2(ref Byte c, [In, Out] Single[] v) + void Color4ubVertex2(ref Byte c, Single[] v) { unsafe { @@ -32159,36 +31924,45 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Color4ubVertex3(Byte* c, [In, Out] Single[] v) + unsafe void Color4ubVertex3(Byte* c, Single[] v) { + unsafe + { fixed (Single* v_ptr = v) { Delegates.glColor4ubVertex3fvSUN((Byte*)c, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void Color4ubVertex3(Byte* c, ref Single v) { + unsafe + { fixed (Single* v_ptr = &v) { Delegates.glColor4ubVertex3fvSUN((Byte*)c, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void Color4ubVertex3([In, Out] Byte[] c, Single* v) + unsafe void Color4ubVertex3(Byte[] c, Single* v) { + unsafe + { fixed (Byte* c_ptr = c) { Delegates.glColor4ubVertex3fvSUN((Byte*)c_ptr, (Single*)v); } + } } public static - void Color4ubVertex3([In, Out] Byte[] c, [In, Out] Single[] v) + void Color4ubVertex3(Byte[] c, Single[] v) { unsafe { @@ -32201,7 +31975,7 @@ namespace OpenTK.OpenGL } public static - void Color4ubVertex3([In, Out] Byte[] c, ref Single v) + void Color4ubVertex3(Byte[] c, ref Single v) { unsafe { @@ -32217,14 +31991,17 @@ namespace OpenTK.OpenGL public static unsafe void Color4ubVertex3(ref Byte c, Single* v) { + unsafe + { fixed (Byte* c_ptr = &c) { Delegates.glColor4ubVertex3fvSUN((Byte*)c_ptr, (Single*)v); } + } } public static - void Color4ubVertex3(ref Byte c, [In, Out] Single[] v) + void Color4ubVertex3(ref Byte c, Single[] v) { unsafe { @@ -32264,36 +32041,45 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Color3fVertex3(Single* c, [In, Out] Single[] v) + unsafe void Color3fVertex3(Single* c, Single[] v) { + unsafe + { fixed (Single* v_ptr = v) { Delegates.glColor3fVertex3fvSUN((Single*)c, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void Color3fVertex3(Single* c, ref Single v) { + unsafe + { fixed (Single* v_ptr = &v) { Delegates.glColor3fVertex3fvSUN((Single*)c, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void Color3fVertex3([In, Out] Single[] c, Single* v) + unsafe void Color3fVertex3(Single[] c, Single* v) { + unsafe + { fixed (Single* c_ptr = c) { Delegates.glColor3fVertex3fvSUN((Single*)c_ptr, (Single*)v); } + } } public static - void Color3fVertex3([In, Out] Single[] c, [In, Out] Single[] v) + void Color3fVertex3(Single[] c, Single[] v) { unsafe { @@ -32306,7 +32092,7 @@ namespace OpenTK.OpenGL } public static - void Color3fVertex3([In, Out] Single[] c, ref Single v) + void Color3fVertex3(Single[] c, ref Single v) { unsafe { @@ -32322,14 +32108,17 @@ namespace OpenTK.OpenGL public static unsafe void Color3fVertex3(ref Single c, Single* v) { + unsafe + { fixed (Single* c_ptr = &c) { Delegates.glColor3fVertex3fvSUN((Single*)c_ptr, (Single*)v); } + } } public static - void Color3fVertex3(ref Single c, [In, Out] Single[] v) + void Color3fVertex3(ref Single c, Single[] v) { unsafe { @@ -32369,36 +32158,45 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Normal3fVertex3(Single* n, [In, Out] Single[] v) + unsafe void Normal3fVertex3(Single* n, Single[] v) { + unsafe + { fixed (Single* v_ptr = v) { Delegates.glNormal3fVertex3fvSUN((Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void Normal3fVertex3(Single* n, ref Single v) { + unsafe + { fixed (Single* v_ptr = &v) { Delegates.glNormal3fVertex3fvSUN((Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void Normal3fVertex3([In, Out] Single[] n, Single* v) + unsafe void Normal3fVertex3(Single[] n, Single* v) { + unsafe + { fixed (Single* n_ptr = n) { Delegates.glNormal3fVertex3fvSUN((Single*)n_ptr, (Single*)v); } + } } public static - void Normal3fVertex3([In, Out] Single[] n, [In, Out] Single[] v) + void Normal3fVertex3(Single[] n, Single[] v) { unsafe { @@ -32411,7 +32209,7 @@ namespace OpenTK.OpenGL } public static - void Normal3fVertex3([In, Out] Single[] n, ref Single v) + void Normal3fVertex3(Single[] n, ref Single v) { unsafe { @@ -32427,14 +32225,17 @@ namespace OpenTK.OpenGL public static unsafe void Normal3fVertex3(ref Single n, Single* v) { + unsafe + { fixed (Single* n_ptr = &n) { Delegates.glNormal3fVertex3fvSUN((Single*)n_ptr, (Single*)v); } + } } public static - void Normal3fVertex3(ref Single n, [In, Out] Single[] v) + void Normal3fVertex3(ref Single n, Single[] v) { unsafe { @@ -32474,133 +32275,169 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Color4fNormal3fVertex3(Single* c, Single* n, [In, Out] Single[] v) + unsafe void Color4fNormal3fVertex3(Single* c, Single* n, Single[] v) { + unsafe + { fixed (Single* v_ptr = v) { Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void Color4fNormal3fVertex3(Single* c, Single* n, ref Single v) { + unsafe + { fixed (Single* v_ptr = &v) { Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void Color4fNormal3fVertex3(Single* c, [In, Out] Single[] n, Single* v) + unsafe void Color4fNormal3fVertex3(Single* c, Single[] n, Single* v) { + unsafe + { fixed (Single* n_ptr = n) { Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void Color4fNormal3fVertex3(Single* c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void Color4fNormal3fVertex3(Single* c, Single[] n, Single[] v) { + unsafe + { fixed (Single* n_ptr = n) fixed (Single* v_ptr = v) { Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void Color4fNormal3fVertex3(Single* c, [In, Out] Single[] n, ref Single v) + unsafe void Color4fNormal3fVertex3(Single* c, Single[] n, ref Single v) { + unsafe + { fixed (Single* n_ptr = n) fixed (Single* v_ptr = &v) { Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void Color4fNormal3fVertex3(Single* c, ref Single n, Single* v) { + unsafe + { fixed (Single* n_ptr = &n) { Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void Color4fNormal3fVertex3(Single* c, ref Single n, [In, Out] Single[] v) + unsafe void Color4fNormal3fVertex3(Single* c, ref Single n, Single[] v) { + unsafe + { fixed (Single* n_ptr = &n) fixed (Single* v_ptr = v) { Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void Color4fNormal3fVertex3(Single* c, ref Single n, ref Single v) { + unsafe + { fixed (Single* n_ptr = &n) fixed (Single* v_ptr = &v) { Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void Color4fNormal3fVertex3([In, Out] Single[] c, Single* n, Single* v) + unsafe void Color4fNormal3fVertex3(Single[] c, Single* n, Single* v) { + unsafe + { fixed (Single* c_ptr = c) { Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void Color4fNormal3fVertex3([In, Out] Single[] c, Single* n, [In, Out] Single[] v) + unsafe void Color4fNormal3fVertex3(Single[] c, Single* n, Single[] v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* v_ptr = v) { Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void Color4fNormal3fVertex3([In, Out] Single[] c, Single* n, ref Single v) + unsafe void Color4fNormal3fVertex3(Single[] c, Single* n, ref Single v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* v_ptr = &v) { Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void Color4fNormal3fVertex3([In, Out] Single[] c, [In, Out] Single[] n, Single* v) + unsafe void Color4fNormal3fVertex3(Single[] c, Single[] n, Single* v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) { Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } public static - void Color4fNormal3fVertex3([In, Out] Single[] c, [In, Out] Single[] n, [In, Out] Single[] v) + void Color4fNormal3fVertex3(Single[] c, Single[] n, Single[] v) { unsafe { @@ -32614,7 +32451,7 @@ namespace OpenTK.OpenGL } public static - void Color4fNormal3fVertex3([In, Out] Single[] c, [In, Out] Single[] n, ref Single v) + void Color4fNormal3fVertex3(Single[] c, Single[] n, ref Single v) { unsafe { @@ -32629,17 +32466,20 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void Color4fNormal3fVertex3([In, Out] Single[] c, ref Single n, Single* v) + unsafe void Color4fNormal3fVertex3(Single[] c, ref Single n, Single* v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) { Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } public static - void Color4fNormal3fVertex3([In, Out] Single[] c, ref Single n, [In, Out] Single[] v) + void Color4fNormal3fVertex3(Single[] c, ref Single n, Single[] v) { unsafe { @@ -32653,7 +32493,7 @@ namespace OpenTK.OpenGL } public static - void Color4fNormal3fVertex3([In, Out] Single[] c, ref Single n, ref Single v) + void Color4fNormal3fVertex3(Single[] c, ref Single n, ref Single v) { unsafe { @@ -32670,47 +32510,59 @@ namespace OpenTK.OpenGL public static unsafe void Color4fNormal3fVertex3(ref Single c, Single* n, Single* v) { + unsafe + { fixed (Single* c_ptr = &c) { Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void Color4fNormal3fVertex3(ref Single c, Single* n, [In, Out] Single[] v) + unsafe void Color4fNormal3fVertex3(ref Single c, Single* n, Single[] v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* v_ptr = v) { Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void Color4fNormal3fVertex3(ref Single c, Single* n, ref Single v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* v_ptr = &v) { Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void Color4fNormal3fVertex3(ref Single c, [In, Out] Single[] n, Single* v) + unsafe void Color4fNormal3fVertex3(ref Single c, Single[] n, Single* v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) { Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } public static - void Color4fNormal3fVertex3(ref Single c, [In, Out] Single[] n, [In, Out] Single[] v) + void Color4fNormal3fVertex3(ref Single c, Single[] n, Single[] v) { unsafe { @@ -32724,7 +32576,7 @@ namespace OpenTK.OpenGL } public static - void Color4fNormal3fVertex3(ref Single c, [In, Out] Single[] n, ref Single v) + void Color4fNormal3fVertex3(ref Single c, Single[] n, ref Single v) { unsafe { @@ -32741,15 +32593,18 @@ namespace OpenTK.OpenGL public static unsafe void Color4fNormal3fVertex3(ref Single c, ref Single n, Single* v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) { Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } public static - void Color4fNormal3fVertex3(ref Single c, ref Single n, [In, Out] Single[] v) + void Color4fNormal3fVertex3(ref Single c, ref Single n, Single[] v) { unsafe { @@ -32791,36 +32646,45 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void TexCoord2fVertex3(Single* tc, [In, Out] Single[] v) + unsafe void TexCoord2fVertex3(Single* tc, Single[] v) { + unsafe + { fixed (Single* v_ptr = v) { Delegates.glTexCoord2fVertex3fvSUN((Single*)tc, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void TexCoord2fVertex3(Single* tc, ref Single v) { + unsafe + { fixed (Single* v_ptr = &v) { Delegates.glTexCoord2fVertex3fvSUN((Single*)tc, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fVertex3([In, Out] Single[] tc, Single* v) + unsafe void TexCoord2fVertex3(Single[] tc, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) { Delegates.glTexCoord2fVertex3fvSUN((Single*)tc_ptr, (Single*)v); } + } } public static - void TexCoord2fVertex3([In, Out] Single[] tc, [In, Out] Single[] v) + void TexCoord2fVertex3(Single[] tc, Single[] v) { unsafe { @@ -32833,7 +32697,7 @@ namespace OpenTK.OpenGL } public static - void TexCoord2fVertex3([In, Out] Single[] tc, ref Single v) + void TexCoord2fVertex3(Single[] tc, ref Single v) { unsafe { @@ -32849,14 +32713,17 @@ namespace OpenTK.OpenGL public static unsafe void TexCoord2fVertex3(ref Single tc, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) { Delegates.glTexCoord2fVertex3fvSUN((Single*)tc_ptr, (Single*)v); } + } } public static - void TexCoord2fVertex3(ref Single tc, [In, Out] Single[] v) + void TexCoord2fVertex3(ref Single tc, Single[] v) { unsafe { @@ -32896,36 +32763,45 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void TexCoord4fVertex4(Single* tc, [In, Out] Single[] v) + unsafe void TexCoord4fVertex4(Single* tc, Single[] v) { + unsafe + { fixed (Single* v_ptr = v) { Delegates.glTexCoord4fVertex4fvSUN((Single*)tc, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void TexCoord4fVertex4(Single* tc, ref Single v) { + unsafe + { fixed (Single* v_ptr = &v) { Delegates.glTexCoord4fVertex4fvSUN((Single*)tc, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord4fVertex4([In, Out] Single[] tc, Single* v) + unsafe void TexCoord4fVertex4(Single[] tc, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) { Delegates.glTexCoord4fVertex4fvSUN((Single*)tc_ptr, (Single*)v); } + } } public static - void TexCoord4fVertex4([In, Out] Single[] tc, [In, Out] Single[] v) + void TexCoord4fVertex4(Single[] tc, Single[] v) { unsafe { @@ -32938,7 +32814,7 @@ namespace OpenTK.OpenGL } public static - void TexCoord4fVertex4([In, Out] Single[] tc, ref Single v) + void TexCoord4fVertex4(Single[] tc, ref Single v) { unsafe { @@ -32954,14 +32830,17 @@ namespace OpenTK.OpenGL public static unsafe void TexCoord4fVertex4(ref Single tc, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) { Delegates.glTexCoord4fVertex4fvSUN((Single*)tc_ptr, (Single*)v); } + } } public static - void TexCoord4fVertex4(ref Single tc, [In, Out] Single[] v) + void TexCoord4fVertex4(ref Single tc, Single[] v) { unsafe { @@ -33001,133 +32880,169 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4ubVertex3(Single* tc, Byte* c, [In, Out] Single[] v) + unsafe void TexCoord2fColor4ubVertex3(Single* tc, Byte* c, Single[] v) { + unsafe + { fixed (Single* v_ptr = v) { Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc, (Byte*)c, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void TexCoord2fColor4ubVertex3(Single* tc, Byte* c, ref Single v) { + unsafe + { fixed (Single* v_ptr = &v) { Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc, (Byte*)c, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4ubVertex3(Single* tc, [In, Out] Byte[] c, Single* v) + unsafe void TexCoord2fColor4ubVertex3(Single* tc, Byte[] c, Single* v) { + unsafe + { fixed (Byte* c_ptr = c) { Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc, (Byte*)c_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4ubVertex3(Single* tc, [In, Out] Byte[] c, [In, Out] Single[] v) + unsafe void TexCoord2fColor4ubVertex3(Single* tc, Byte[] c, Single[] v) { + unsafe + { fixed (Byte* c_ptr = c) fixed (Single* v_ptr = v) { Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc, (Byte*)c_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4ubVertex3(Single* tc, [In, Out] Byte[] c, ref Single v) + unsafe void TexCoord2fColor4ubVertex3(Single* tc, Byte[] c, ref Single v) { + unsafe + { fixed (Byte* c_ptr = c) fixed (Single* v_ptr = &v) { Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc, (Byte*)c_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void TexCoord2fColor4ubVertex3(Single* tc, ref Byte c, Single* v) { + unsafe + { fixed (Byte* c_ptr = &c) { Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc, (Byte*)c_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4ubVertex3(Single* tc, ref Byte c, [In, Out] Single[] v) + unsafe void TexCoord2fColor4ubVertex3(Single* tc, ref Byte c, Single[] v) { + unsafe + { fixed (Byte* c_ptr = &c) fixed (Single* v_ptr = v) { Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc, (Byte*)c_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void TexCoord2fColor4ubVertex3(Single* tc, ref Byte c, ref Single v) { + unsafe + { fixed (Byte* c_ptr = &c) fixed (Single* v_ptr = &v) { Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc, (Byte*)c_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4ubVertex3([In, Out] Single[] tc, Byte* c, Single* v) + unsafe void TexCoord2fColor4ubVertex3(Single[] tc, Byte* c, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) { Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc_ptr, (Byte*)c, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4ubVertex3([In, Out] Single[] tc, Byte* c, [In, Out] Single[] v) + unsafe void TexCoord2fColor4ubVertex3(Single[] tc, Byte* c, Single[] v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* v_ptr = v) { Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc_ptr, (Byte*)c, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4ubVertex3([In, Out] Single[] tc, Byte* c, ref Single v) + unsafe void TexCoord2fColor4ubVertex3(Single[] tc, Byte* c, ref Single v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* v_ptr = &v) { Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc_ptr, (Byte*)c, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4ubVertex3([In, Out] Single[] tc, [In, Out] Byte[] c, Single* v) + unsafe void TexCoord2fColor4ubVertex3(Single[] tc, Byte[] c, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Byte* c_ptr = c) { Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc_ptr, (Byte*)c_ptr, (Single*)v); } + } } public static - void TexCoord2fColor4ubVertex3([In, Out] Single[] tc, [In, Out] Byte[] c, [In, Out] Single[] v) + void TexCoord2fColor4ubVertex3(Single[] tc, Byte[] c, Single[] v) { unsafe { @@ -33141,7 +33056,7 @@ namespace OpenTK.OpenGL } public static - void TexCoord2fColor4ubVertex3([In, Out] Single[] tc, [In, Out] Byte[] c, ref Single v) + void TexCoord2fColor4ubVertex3(Single[] tc, Byte[] c, ref Single v) { unsafe { @@ -33156,17 +33071,20 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4ubVertex3([In, Out] Single[] tc, ref Byte c, Single* v) + unsafe void TexCoord2fColor4ubVertex3(Single[] tc, ref Byte c, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Byte* c_ptr = &c) { Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc_ptr, (Byte*)c_ptr, (Single*)v); } + } } public static - void TexCoord2fColor4ubVertex3([In, Out] Single[] tc, ref Byte c, [In, Out] Single[] v) + void TexCoord2fColor4ubVertex3(Single[] tc, ref Byte c, Single[] v) { unsafe { @@ -33180,7 +33098,7 @@ namespace OpenTK.OpenGL } public static - void TexCoord2fColor4ubVertex3([In, Out] Single[] tc, ref Byte c, ref Single v) + void TexCoord2fColor4ubVertex3(Single[] tc, ref Byte c, ref Single v) { unsafe { @@ -33197,47 +33115,59 @@ namespace OpenTK.OpenGL public static unsafe void TexCoord2fColor4ubVertex3(ref Single tc, Byte* c, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) { Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc_ptr, (Byte*)c, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4ubVertex3(ref Single tc, Byte* c, [In, Out] Single[] v) + unsafe void TexCoord2fColor4ubVertex3(ref Single tc, Byte* c, Single[] v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* v_ptr = v) { Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc_ptr, (Byte*)c, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void TexCoord2fColor4ubVertex3(ref Single tc, Byte* c, ref Single v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* v_ptr = &v) { Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc_ptr, (Byte*)c, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4ubVertex3(ref Single tc, [In, Out] Byte[] c, Single* v) + unsafe void TexCoord2fColor4ubVertex3(ref Single tc, Byte[] c, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Byte* c_ptr = c) { Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc_ptr, (Byte*)c_ptr, (Single*)v); } + } } public static - void TexCoord2fColor4ubVertex3(ref Single tc, [In, Out] Byte[] c, [In, Out] Single[] v) + void TexCoord2fColor4ubVertex3(ref Single tc, Byte[] c, Single[] v) { unsafe { @@ -33251,7 +33181,7 @@ namespace OpenTK.OpenGL } public static - void TexCoord2fColor4ubVertex3(ref Single tc, [In, Out] Byte[] c, ref Single v) + void TexCoord2fColor4ubVertex3(ref Single tc, Byte[] c, ref Single v) { unsafe { @@ -33268,15 +33198,18 @@ namespace OpenTK.OpenGL public static unsafe void TexCoord2fColor4ubVertex3(ref Single tc, ref Byte c, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Byte* c_ptr = &c) { Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc_ptr, (Byte*)c_ptr, (Single*)v); } + } } public static - void TexCoord2fColor4ubVertex3(ref Single tc, ref Byte c, [In, Out] Single[] v) + void TexCoord2fColor4ubVertex3(ref Single tc, ref Byte c, Single[] v) { unsafe { @@ -33318,133 +33251,169 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor3fVertex3(Single* tc, Single* c, [In, Out] Single[] v) + unsafe void TexCoord2fColor3fVertex3(Single* tc, Single* c, Single[] v) { + unsafe + { fixed (Single* v_ptr = v) { Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc, (Single*)c, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void TexCoord2fColor3fVertex3(Single* tc, Single* c, ref Single v) { + unsafe + { fixed (Single* v_ptr = &v) { Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc, (Single*)c, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor3fVertex3(Single* tc, [In, Out] Single[] c, Single* v) + unsafe void TexCoord2fColor3fVertex3(Single* tc, Single[] c, Single* v) { + unsafe + { fixed (Single* c_ptr = c) { Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc, (Single*)c_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor3fVertex3(Single* tc, [In, Out] Single[] c, [In, Out] Single[] v) + unsafe void TexCoord2fColor3fVertex3(Single* tc, Single[] c, Single[] v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* v_ptr = v) { Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc, (Single*)c_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor3fVertex3(Single* tc, [In, Out] Single[] c, ref Single v) + unsafe void TexCoord2fColor3fVertex3(Single* tc, Single[] c, ref Single v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* v_ptr = &v) { Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc, (Single*)c_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void TexCoord2fColor3fVertex3(Single* tc, ref Single c, Single* v) { + unsafe + { fixed (Single* c_ptr = &c) { Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc, (Single*)c_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor3fVertex3(Single* tc, ref Single c, [In, Out] Single[] v) + unsafe void TexCoord2fColor3fVertex3(Single* tc, ref Single c, Single[] v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* v_ptr = v) { Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc, (Single*)c_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void TexCoord2fColor3fVertex3(Single* tc, ref Single c, ref Single v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* v_ptr = &v) { Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc, (Single*)c_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor3fVertex3([In, Out] Single[] tc, Single* c, Single* v) + unsafe void TexCoord2fColor3fVertex3(Single[] tc, Single* c, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) { Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc_ptr, (Single*)c, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor3fVertex3([In, Out] Single[] tc, Single* c, [In, Out] Single[] v) + unsafe void TexCoord2fColor3fVertex3(Single[] tc, Single* c, Single[] v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* v_ptr = v) { Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc_ptr, (Single*)c, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor3fVertex3([In, Out] Single[] tc, Single* c, ref Single v) + unsafe void TexCoord2fColor3fVertex3(Single[] tc, Single* c, ref Single v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* v_ptr = &v) { Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc_ptr, (Single*)c, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor3fVertex3([In, Out] Single[] tc, [In, Out] Single[] c, Single* v) + unsafe void TexCoord2fColor3fVertex3(Single[] tc, Single[] c, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = c) { Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)v); } + } } public static - void TexCoord2fColor3fVertex3([In, Out] Single[] tc, [In, Out] Single[] c, [In, Out] Single[] v) + void TexCoord2fColor3fVertex3(Single[] tc, Single[] c, Single[] v) { unsafe { @@ -33458,7 +33427,7 @@ namespace OpenTK.OpenGL } public static - void TexCoord2fColor3fVertex3([In, Out] Single[] tc, [In, Out] Single[] c, ref Single v) + void TexCoord2fColor3fVertex3(Single[] tc, Single[] c, ref Single v) { unsafe { @@ -33473,17 +33442,20 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor3fVertex3([In, Out] Single[] tc, ref Single c, Single* v) + unsafe void TexCoord2fColor3fVertex3(Single[] tc, ref Single c, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = &c) { Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)v); } + } } public static - void TexCoord2fColor3fVertex3([In, Out] Single[] tc, ref Single c, [In, Out] Single[] v) + void TexCoord2fColor3fVertex3(Single[] tc, ref Single c, Single[] v) { unsafe { @@ -33497,7 +33469,7 @@ namespace OpenTK.OpenGL } public static - void TexCoord2fColor3fVertex3([In, Out] Single[] tc, ref Single c, ref Single v) + void TexCoord2fColor3fVertex3(Single[] tc, ref Single c, ref Single v) { unsafe { @@ -33514,47 +33486,59 @@ namespace OpenTK.OpenGL public static unsafe void TexCoord2fColor3fVertex3(ref Single tc, Single* c, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) { Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc_ptr, (Single*)c, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor3fVertex3(ref Single tc, Single* c, [In, Out] Single[] v) + unsafe void TexCoord2fColor3fVertex3(ref Single tc, Single* c, Single[] v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* v_ptr = v) { Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc_ptr, (Single*)c, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void TexCoord2fColor3fVertex3(ref Single tc, Single* c, ref Single v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* v_ptr = &v) { Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc_ptr, (Single*)c, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor3fVertex3(ref Single tc, [In, Out] Single[] c, Single* v) + unsafe void TexCoord2fColor3fVertex3(ref Single tc, Single[] c, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = c) { Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)v); } + } } public static - void TexCoord2fColor3fVertex3(ref Single tc, [In, Out] Single[] c, [In, Out] Single[] v) + void TexCoord2fColor3fVertex3(ref Single tc, Single[] c, Single[] v) { unsafe { @@ -33568,7 +33552,7 @@ namespace OpenTK.OpenGL } public static - void TexCoord2fColor3fVertex3(ref Single tc, [In, Out] Single[] c, ref Single v) + void TexCoord2fColor3fVertex3(ref Single tc, Single[] c, ref Single v) { unsafe { @@ -33585,15 +33569,18 @@ namespace OpenTK.OpenGL public static unsafe void TexCoord2fColor3fVertex3(ref Single tc, ref Single c, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = &c) { Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)v); } + } } public static - void TexCoord2fColor3fVertex3(ref Single tc, ref Single c, [In, Out] Single[] v) + void TexCoord2fColor3fVertex3(ref Single tc, ref Single c, Single[] v) { unsafe { @@ -33635,133 +33622,169 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void TexCoord2fNormal3fVertex3(Single* tc, Single* n, [In, Out] Single[] v) + unsafe void TexCoord2fNormal3fVertex3(Single* tc, Single* n, Single[] v) { + unsafe + { fixed (Single* v_ptr = v) { Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void TexCoord2fNormal3fVertex3(Single* tc, Single* n, ref Single v) { + unsafe + { fixed (Single* v_ptr = &v) { Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fNormal3fVertex3(Single* tc, [In, Out] Single[] n, Single* v) + unsafe void TexCoord2fNormal3fVertex3(Single* tc, Single[] n, Single* v) { + unsafe + { fixed (Single* n_ptr = n) { Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fNormal3fVertex3(Single* tc, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void TexCoord2fNormal3fVertex3(Single* tc, Single[] n, Single[] v) { + unsafe + { fixed (Single* n_ptr = n) fixed (Single* v_ptr = v) { Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fNormal3fVertex3(Single* tc, [In, Out] Single[] n, ref Single v) + unsafe void TexCoord2fNormal3fVertex3(Single* tc, Single[] n, ref Single v) { + unsafe + { fixed (Single* n_ptr = n) fixed (Single* v_ptr = &v) { Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void TexCoord2fNormal3fVertex3(Single* tc, ref Single n, Single* v) { + unsafe + { fixed (Single* n_ptr = &n) { Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fNormal3fVertex3(Single* tc, ref Single n, [In, Out] Single[] v) + unsafe void TexCoord2fNormal3fVertex3(Single* tc, ref Single n, Single[] v) { + unsafe + { fixed (Single* n_ptr = &n) fixed (Single* v_ptr = v) { Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void TexCoord2fNormal3fVertex3(Single* tc, ref Single n, ref Single v) { + unsafe + { fixed (Single* n_ptr = &n) fixed (Single* v_ptr = &v) { Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fNormal3fVertex3([In, Out] Single[] tc, Single* n, Single* v) + unsafe void TexCoord2fNormal3fVertex3(Single[] tc, Single* n, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) { Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fNormal3fVertex3([In, Out] Single[] tc, Single* n, [In, Out] Single[] v) + unsafe void TexCoord2fNormal3fVertex3(Single[] tc, Single* n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* v_ptr = v) { Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fNormal3fVertex3([In, Out] Single[] tc, Single* n, ref Single v) + unsafe void TexCoord2fNormal3fVertex3(Single[] tc, Single* n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* v_ptr = &v) { Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fNormal3fVertex3([In, Out] Single[] tc, [In, Out] Single[] n, Single* v) + unsafe void TexCoord2fNormal3fVertex3(Single[] tc, Single[] n, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = n) { Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)n_ptr, (Single*)v); } + } } public static - void TexCoord2fNormal3fVertex3([In, Out] Single[] tc, [In, Out] Single[] n, [In, Out] Single[] v) + void TexCoord2fNormal3fVertex3(Single[] tc, Single[] n, Single[] v) { unsafe { @@ -33775,7 +33798,7 @@ namespace OpenTK.OpenGL } public static - void TexCoord2fNormal3fVertex3([In, Out] Single[] tc, [In, Out] Single[] n, ref Single v) + void TexCoord2fNormal3fVertex3(Single[] tc, Single[] n, ref Single v) { unsafe { @@ -33790,17 +33813,20 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void TexCoord2fNormal3fVertex3([In, Out] Single[] tc, ref Single n, Single* v) + unsafe void TexCoord2fNormal3fVertex3(Single[] tc, ref Single n, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = &n) { Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)n_ptr, (Single*)v); } + } } public static - void TexCoord2fNormal3fVertex3([In, Out] Single[] tc, ref Single n, [In, Out] Single[] v) + void TexCoord2fNormal3fVertex3(Single[] tc, ref Single n, Single[] v) { unsafe { @@ -33814,7 +33840,7 @@ namespace OpenTK.OpenGL } public static - void TexCoord2fNormal3fVertex3([In, Out] Single[] tc, ref Single n, ref Single v) + void TexCoord2fNormal3fVertex3(Single[] tc, ref Single n, ref Single v) { unsafe { @@ -33831,47 +33857,59 @@ namespace OpenTK.OpenGL public static unsafe void TexCoord2fNormal3fVertex3(ref Single tc, Single* n, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) { Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fNormal3fVertex3(ref Single tc, Single* n, [In, Out] Single[] v) + unsafe void TexCoord2fNormal3fVertex3(ref Single tc, Single* n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* v_ptr = v) { Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void TexCoord2fNormal3fVertex3(ref Single tc, Single* n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* v_ptr = &v) { Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fNormal3fVertex3(ref Single tc, [In, Out] Single[] n, Single* v) + unsafe void TexCoord2fNormal3fVertex3(ref Single tc, Single[] n, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = n) { Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)n_ptr, (Single*)v); } + } } public static - void TexCoord2fNormal3fVertex3(ref Single tc, [In, Out] Single[] n, [In, Out] Single[] v) + void TexCoord2fNormal3fVertex3(ref Single tc, Single[] n, Single[] v) { unsafe { @@ -33885,7 +33923,7 @@ namespace OpenTK.OpenGL } public static - void TexCoord2fNormal3fVertex3(ref Single tc, [In, Out] Single[] n, ref Single v) + void TexCoord2fNormal3fVertex3(ref Single tc, Single[] n, ref Single v) { unsafe { @@ -33902,15 +33940,18 @@ namespace OpenTK.OpenGL public static unsafe void TexCoord2fNormal3fVertex3(ref Single tc, ref Single n, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = &n) { Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)n_ptr, (Single*)v); } + } } public static - void TexCoord2fNormal3fVertex3(ref Single tc, ref Single n, [In, Out] Single[] v) + void TexCoord2fNormal3fVertex3(ref Single tc, ref Single n, Single[] v) { unsafe { @@ -33952,443 +33993,560 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, Single* c, Single* n, [In, Out] Single[] v) + unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, Single* c, Single* n, Single[] v) { + unsafe + { fixed (Single* v_ptr = v) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, Single* c, Single* n, ref Single v) { + unsafe + { fixed (Single* v_ptr = &v) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, Single* c, [In, Out] Single[] n, Single* v) + unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, Single* c, Single[] n, Single* v) { + unsafe + { fixed (Single* n_ptr = n) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, Single* c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, Single* c, Single[] n, Single[] v) { + unsafe + { fixed (Single* n_ptr = n) fixed (Single* v_ptr = v) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, Single* c, [In, Out] Single[] n, ref Single v) + unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, Single* c, Single[] n, ref Single v) { + unsafe + { fixed (Single* n_ptr = n) fixed (Single* v_ptr = &v) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, Single* c, ref Single n, Single* v) { + unsafe + { fixed (Single* n_ptr = &n) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, Single* c, ref Single n, [In, Out] Single[] v) + unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, Single* c, ref Single n, Single[] v) { + unsafe + { fixed (Single* n_ptr = &n) fixed (Single* v_ptr = v) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, Single* c, ref Single n, ref Single v) { + unsafe + { fixed (Single* n_ptr = &n) fixed (Single* v_ptr = &v) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, [In, Out] Single[] c, Single* n, Single* v) + unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, Single[] c, Single* n, Single* v) { + unsafe + { fixed (Single* c_ptr = c) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, [In, Out] Single[] c, Single* n, [In, Out] Single[] v) + unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, Single[] c, Single* n, Single[] v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* v_ptr = v) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, [In, Out] Single[] c, Single* n, ref Single v) + unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, Single[] c, Single* n, ref Single v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* v_ptr = &v) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, [In, Out] Single[] c, [In, Out] Single[] n, Single* v) + unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, Single[] c, Single[] n, Single* v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, [In, Out] Single[] c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, Single[] c, Single[] n, Single[] v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) fixed (Single* v_ptr = v) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, [In, Out] Single[] c, [In, Out] Single[] n, ref Single v) + unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, Single[] c, Single[] n, ref Single v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) fixed (Single* v_ptr = &v) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, [In, Out] Single[] c, ref Single n, Single* v) + unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, Single[] c, ref Single n, Single* v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, [In, Out] Single[] c, ref Single n, [In, Out] Single[] v) + unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, Single[] c, ref Single n, Single[] v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = v) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, [In, Out] Single[] c, ref Single n, ref Single v) + unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, Single[] c, ref Single n, ref Single v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = &v) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, ref Single c, Single* n, Single* v) { + unsafe + { fixed (Single* c_ptr = &c) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, ref Single c, Single* n, [In, Out] Single[] v) + unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, ref Single c, Single* n, Single[] v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* v_ptr = v) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, ref Single c, Single* n, ref Single v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* v_ptr = &v) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, ref Single c, [In, Out] Single[] n, Single* v) + unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, ref Single c, Single[] n, Single* v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, ref Single c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, ref Single c, Single[] n, Single[] v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) fixed (Single* v_ptr = v) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, ref Single c, [In, Out] Single[] n, ref Single v) + unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, ref Single c, Single[] n, ref Single v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) fixed (Single* v_ptr = &v) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, ref Single c, ref Single n, Single* v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, ref Single c, ref Single n, [In, Out] Single[] v) + unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, ref Single c, ref Single n, Single[] v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = v) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, ref Single c, ref Single n, ref Single v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = &v) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4fNormal3fVertex3([In, Out] Single[] tc, Single* c, Single* n, Single* v) + unsafe void TexCoord2fColor4fNormal3fVertex3(Single[] tc, Single* c, Single* n, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4fNormal3fVertex3([In, Out] Single[] tc, Single* c, Single* n, [In, Out] Single[] v) + unsafe void TexCoord2fColor4fNormal3fVertex3(Single[] tc, Single* c, Single* n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* v_ptr = v) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4fNormal3fVertex3([In, Out] Single[] tc, Single* c, Single* n, ref Single v) + unsafe void TexCoord2fColor4fNormal3fVertex3(Single[] tc, Single* c, Single* n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* v_ptr = &v) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4fNormal3fVertex3([In, Out] Single[] tc, Single* c, [In, Out] Single[] n, Single* v) + unsafe void TexCoord2fColor4fNormal3fVertex3(Single[] tc, Single* c, Single[] n, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = n) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4fNormal3fVertex3([In, Out] Single[] tc, Single* c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void TexCoord2fColor4fNormal3fVertex3(Single[] tc, Single* c, Single[] n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = n) fixed (Single* v_ptr = v) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4fNormal3fVertex3([In, Out] Single[] tc, Single* c, [In, Out] Single[] n, ref Single v) + unsafe void TexCoord2fColor4fNormal3fVertex3(Single[] tc, Single* c, Single[] n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = n) fixed (Single* v_ptr = &v) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4fNormal3fVertex3([In, Out] Single[] tc, Single* c, ref Single n, Single* v) + unsafe void TexCoord2fColor4fNormal3fVertex3(Single[] tc, Single* c, ref Single n, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = &n) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4fNormal3fVertex3([In, Out] Single[] tc, Single* c, ref Single n, [In, Out] Single[] v) + unsafe void TexCoord2fColor4fNormal3fVertex3(Single[] tc, Single* c, ref Single n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = v) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4fNormal3fVertex3([In, Out] Single[] tc, Single* c, ref Single n, ref Single v) + unsafe void TexCoord2fColor4fNormal3fVertex3(Single[] tc, Single* c, ref Single n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = &v) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4fNormal3fVertex3([In, Out] Single[] tc, [In, Out] Single[] c, Single* n, Single* v) + unsafe void TexCoord2fColor4fNormal3fVertex3(Single[] tc, Single[] c, Single* n, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = c) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4fNormal3fVertex3([In, Out] Single[] tc, [In, Out] Single[] c, Single* n, [In, Out] Single[] v) + unsafe void TexCoord2fColor4fNormal3fVertex3(Single[] tc, Single[] c, Single* n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = c) fixed (Single* v_ptr = v) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4fNormal3fVertex3([In, Out] Single[] tc, [In, Out] Single[] c, Single* n, ref Single v) + unsafe void TexCoord2fColor4fNormal3fVertex3(Single[] tc, Single[] c, Single* n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = c) fixed (Single* v_ptr = &v) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4fNormal3fVertex3([In, Out] Single[] tc, [In, Out] Single[] c, [In, Out] Single[] n, Single* v) + unsafe void TexCoord2fColor4fNormal3fVertex3(Single[] tc, Single[] c, Single[] n, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } public static - void TexCoord2fColor4fNormal3fVertex3([In, Out] Single[] tc, [In, Out] Single[] c, [In, Out] Single[] n, [In, Out] Single[] v) + void TexCoord2fColor4fNormal3fVertex3(Single[] tc, Single[] c, Single[] n, Single[] v) { unsafe { @@ -34403,7 +34561,7 @@ namespace OpenTK.OpenGL } public static - void TexCoord2fColor4fNormal3fVertex3([In, Out] Single[] tc, [In, Out] Single[] c, [In, Out] Single[] n, ref Single v) + void TexCoord2fColor4fNormal3fVertex3(Single[] tc, Single[] c, Single[] n, ref Single v) { unsafe { @@ -34419,18 +34577,21 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4fNormal3fVertex3([In, Out] Single[] tc, [In, Out] Single[] c, ref Single n, Single* v) + unsafe void TexCoord2fColor4fNormal3fVertex3(Single[] tc, Single[] c, ref Single n, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } public static - void TexCoord2fColor4fNormal3fVertex3([In, Out] Single[] tc, [In, Out] Single[] c, ref Single n, [In, Out] Single[] v) + void TexCoord2fColor4fNormal3fVertex3(Single[] tc, Single[] c, ref Single n, Single[] v) { unsafe { @@ -34445,7 +34606,7 @@ namespace OpenTK.OpenGL } public static - void TexCoord2fColor4fNormal3fVertex3([In, Out] Single[] tc, [In, Out] Single[] c, ref Single n, ref Single v) + void TexCoord2fColor4fNormal3fVertex3(Single[] tc, Single[] c, ref Single n, ref Single v) { unsafe { @@ -34461,53 +34622,65 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4fNormal3fVertex3([In, Out] Single[] tc, ref Single c, Single* n, Single* v) + unsafe void TexCoord2fColor4fNormal3fVertex3(Single[] tc, ref Single c, Single* n, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = &c) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4fNormal3fVertex3([In, Out] Single[] tc, ref Single c, Single* n, [In, Out] Single[] v) + unsafe void TexCoord2fColor4fNormal3fVertex3(Single[] tc, ref Single c, Single* n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = &c) fixed (Single* v_ptr = v) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4fNormal3fVertex3([In, Out] Single[] tc, ref Single c, Single* n, ref Single v) + unsafe void TexCoord2fColor4fNormal3fVertex3(Single[] tc, ref Single c, Single* n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = &c) fixed (Single* v_ptr = &v) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4fNormal3fVertex3([In, Out] Single[] tc, ref Single c, [In, Out] Single[] n, Single* v) + unsafe void TexCoord2fColor4fNormal3fVertex3(Single[] tc, ref Single c, Single[] n, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } public static - void TexCoord2fColor4fNormal3fVertex3([In, Out] Single[] tc, ref Single c, [In, Out] Single[] n, [In, Out] Single[] v) + void TexCoord2fColor4fNormal3fVertex3(Single[] tc, ref Single c, Single[] n, Single[] v) { unsafe { @@ -34522,7 +34695,7 @@ namespace OpenTK.OpenGL } public static - void TexCoord2fColor4fNormal3fVertex3([In, Out] Single[] tc, ref Single c, [In, Out] Single[] n, ref Single v) + void TexCoord2fColor4fNormal3fVertex3(Single[] tc, ref Single c, Single[] n, ref Single v) { unsafe { @@ -34538,18 +34711,21 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4fNormal3fVertex3([In, Out] Single[] tc, ref Single c, ref Single n, Single* v) + unsafe void TexCoord2fColor4fNormal3fVertex3(Single[] tc, ref Single c, ref Single n, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } public static - void TexCoord2fColor4fNormal3fVertex3([In, Out] Single[] tc, ref Single c, ref Single n, [In, Out] Single[] v) + void TexCoord2fColor4fNormal3fVertex3(Single[] tc, ref Single c, ref Single n, Single[] v) { unsafe { @@ -34564,7 +34740,7 @@ namespace OpenTK.OpenGL } public static - void TexCoord2fColor4fNormal3fVertex3([In, Out] Single[] tc, ref Single c, ref Single n, ref Single v) + void TexCoord2fColor4fNormal3fVertex3(Single[] tc, ref Single c, ref Single n, ref Single v) { unsafe { @@ -34582,153 +34758,192 @@ namespace OpenTK.OpenGL public static unsafe void TexCoord2fColor4fNormal3fVertex3(ref Single tc, Single* c, Single* n, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4fNormal3fVertex3(ref Single tc, Single* c, Single* n, [In, Out] Single[] v) + unsafe void TexCoord2fColor4fNormal3fVertex3(ref Single tc, Single* c, Single* n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* v_ptr = v) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void TexCoord2fColor4fNormal3fVertex3(ref Single tc, Single* c, Single* n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* v_ptr = &v) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4fNormal3fVertex3(ref Single tc, Single* c, [In, Out] Single[] n, Single* v) + unsafe void TexCoord2fColor4fNormal3fVertex3(ref Single tc, Single* c, Single[] n, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = n) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4fNormal3fVertex3(ref Single tc, Single* c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void TexCoord2fColor4fNormal3fVertex3(ref Single tc, Single* c, Single[] n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = n) fixed (Single* v_ptr = v) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4fNormal3fVertex3(ref Single tc, Single* c, [In, Out] Single[] n, ref Single v) + unsafe void TexCoord2fColor4fNormal3fVertex3(ref Single tc, Single* c, Single[] n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = n) fixed (Single* v_ptr = &v) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void TexCoord2fColor4fNormal3fVertex3(ref Single tc, Single* c, ref Single n, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = &n) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4fNormal3fVertex3(ref Single tc, Single* c, ref Single n, [In, Out] Single[] v) + unsafe void TexCoord2fColor4fNormal3fVertex3(ref Single tc, Single* c, ref Single n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = v) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void TexCoord2fColor4fNormal3fVertex3(ref Single tc, Single* c, ref Single n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = &v) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4fNormal3fVertex3(ref Single tc, [In, Out] Single[] c, Single* n, Single* v) + unsafe void TexCoord2fColor4fNormal3fVertex3(ref Single tc, Single[] c, Single* n, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = c) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4fNormal3fVertex3(ref Single tc, [In, Out] Single[] c, Single* n, [In, Out] Single[] v) + unsafe void TexCoord2fColor4fNormal3fVertex3(ref Single tc, Single[] c, Single* n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = c) fixed (Single* v_ptr = v) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4fNormal3fVertex3(ref Single tc, [In, Out] Single[] c, Single* n, ref Single v) + unsafe void TexCoord2fColor4fNormal3fVertex3(ref Single tc, Single[] c, Single* n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = c) fixed (Single* v_ptr = &v) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4fNormal3fVertex3(ref Single tc, [In, Out] Single[] c, [In, Out] Single[] n, Single* v) + unsafe void TexCoord2fColor4fNormal3fVertex3(ref Single tc, Single[] c, Single[] n, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } public static - void TexCoord2fColor4fNormal3fVertex3(ref Single tc, [In, Out] Single[] c, [In, Out] Single[] n, [In, Out] Single[] v) + void TexCoord2fColor4fNormal3fVertex3(ref Single tc, Single[] c, Single[] n, Single[] v) { unsafe { @@ -34743,7 +34958,7 @@ namespace OpenTK.OpenGL } public static - void TexCoord2fColor4fNormal3fVertex3(ref Single tc, [In, Out] Single[] c, [In, Out] Single[] n, ref Single v) + void TexCoord2fColor4fNormal3fVertex3(ref Single tc, Single[] c, Single[] n, ref Single v) { unsafe { @@ -34759,18 +34974,21 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4fNormal3fVertex3(ref Single tc, [In, Out] Single[] c, ref Single n, Single* v) + unsafe void TexCoord2fColor4fNormal3fVertex3(ref Single tc, Single[] c, ref Single n, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } public static - void TexCoord2fColor4fNormal3fVertex3(ref Single tc, [In, Out] Single[] c, ref Single n, [In, Out] Single[] v) + void TexCoord2fColor4fNormal3fVertex3(ref Single tc, Single[] c, ref Single n, Single[] v) { unsafe { @@ -34785,7 +35003,7 @@ namespace OpenTK.OpenGL } public static - void TexCoord2fColor4fNormal3fVertex3(ref Single tc, [In, Out] Single[] c, ref Single n, ref Single v) + void TexCoord2fColor4fNormal3fVertex3(ref Single tc, Single[] c, ref Single n, ref Single v) { unsafe { @@ -34803,51 +35021,63 @@ namespace OpenTK.OpenGL public static unsafe void TexCoord2fColor4fNormal3fVertex3(ref Single tc, ref Single c, Single* n, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = &c) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4fNormal3fVertex3(ref Single tc, ref Single c, Single* n, [In, Out] Single[] v) + unsafe void TexCoord2fColor4fNormal3fVertex3(ref Single tc, ref Single c, Single* n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = &c) fixed (Single* v_ptr = v) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void TexCoord2fColor4fNormal3fVertex3(ref Single tc, ref Single c, Single* n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = &c) fixed (Single* v_ptr = &v) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord2fColor4fNormal3fVertex3(ref Single tc, ref Single c, [In, Out] Single[] n, Single* v) + unsafe void TexCoord2fColor4fNormal3fVertex3(ref Single tc, ref Single c, Single[] n, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } public static - void TexCoord2fColor4fNormal3fVertex3(ref Single tc, ref Single c, [In, Out] Single[] n, [In, Out] Single[] v) + void TexCoord2fColor4fNormal3fVertex3(ref Single tc, ref Single c, Single[] n, Single[] v) { unsafe { @@ -34862,7 +35092,7 @@ namespace OpenTK.OpenGL } public static - void TexCoord2fColor4fNormal3fVertex3(ref Single tc, ref Single c, [In, Out] Single[] n, ref Single v) + void TexCoord2fColor4fNormal3fVertex3(ref Single tc, ref Single c, Single[] n, ref Single v) { unsafe { @@ -34880,16 +35110,19 @@ namespace OpenTK.OpenGL public static unsafe void TexCoord2fColor4fNormal3fVertex3(ref Single tc, ref Single c, ref Single n, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) { Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } public static - void TexCoord2fColor4fNormal3fVertex3(ref Single tc, ref Single c, ref Single n, [In, Out] Single[] v) + void TexCoord2fColor4fNormal3fVertex3(ref Single tc, ref Single c, ref Single n, Single[] v) { unsafe { @@ -34933,443 +35166,560 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, Single* c, Single* n, [In, Out] Single[] v) + unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, Single* c, Single* n, Single[] v) { + unsafe + { fixed (Single* v_ptr = v) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, Single* c, Single* n, ref Single v) { + unsafe + { fixed (Single* v_ptr = &v) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, Single* c, [In, Out] Single[] n, Single* v) + unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, Single* c, Single[] n, Single* v) { + unsafe + { fixed (Single* n_ptr = n) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, Single* c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, Single* c, Single[] n, Single[] v) { + unsafe + { fixed (Single* n_ptr = n) fixed (Single* v_ptr = v) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, Single* c, [In, Out] Single[] n, ref Single v) + unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, Single* c, Single[] n, ref Single v) { + unsafe + { fixed (Single* n_ptr = n) fixed (Single* v_ptr = &v) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, Single* c, ref Single n, Single* v) { + unsafe + { fixed (Single* n_ptr = &n) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, Single* c, ref Single n, [In, Out] Single[] v) + unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, Single* c, ref Single n, Single[] v) { + unsafe + { fixed (Single* n_ptr = &n) fixed (Single* v_ptr = v) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, Single* c, ref Single n, ref Single v) { + unsafe + { fixed (Single* n_ptr = &n) fixed (Single* v_ptr = &v) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, [In, Out] Single[] c, Single* n, Single* v) + unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, Single[] c, Single* n, Single* v) { + unsafe + { fixed (Single* c_ptr = c) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, [In, Out] Single[] c, Single* n, [In, Out] Single[] v) + unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, Single[] c, Single* n, Single[] v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* v_ptr = v) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, [In, Out] Single[] c, Single* n, ref Single v) + unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, Single[] c, Single* n, ref Single v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* v_ptr = &v) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, [In, Out] Single[] c, [In, Out] Single[] n, Single* v) + unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, Single[] c, Single[] n, Single* v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, [In, Out] Single[] c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, Single[] c, Single[] n, Single[] v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) fixed (Single* v_ptr = v) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, [In, Out] Single[] c, [In, Out] Single[] n, ref Single v) + unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, Single[] c, Single[] n, ref Single v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) fixed (Single* v_ptr = &v) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, [In, Out] Single[] c, ref Single n, Single* v) + unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, Single[] c, ref Single n, Single* v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, [In, Out] Single[] c, ref Single n, [In, Out] Single[] v) + unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, Single[] c, ref Single n, Single[] v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = v) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, [In, Out] Single[] c, ref Single n, ref Single v) + unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, Single[] c, ref Single n, ref Single v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = &v) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, ref Single c, Single* n, Single* v) { + unsafe + { fixed (Single* c_ptr = &c) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, ref Single c, Single* n, [In, Out] Single[] v) + unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, ref Single c, Single* n, Single[] v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* v_ptr = v) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, ref Single c, Single* n, ref Single v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* v_ptr = &v) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, ref Single c, [In, Out] Single[] n, Single* v) + unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, ref Single c, Single[] n, Single* v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, ref Single c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, ref Single c, Single[] n, Single[] v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) fixed (Single* v_ptr = v) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, ref Single c, [In, Out] Single[] n, ref Single v) + unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, ref Single c, Single[] n, ref Single v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) fixed (Single* v_ptr = &v) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, ref Single c, ref Single n, Single* v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, ref Single c, ref Single n, [In, Out] Single[] v) + unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, ref Single c, ref Single n, Single[] v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = v) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, ref Single c, ref Single n, ref Single v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = &v) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord4fColor4fNormal3fVertex4([In, Out] Single[] tc, Single* c, Single* n, Single* v) + unsafe void TexCoord4fColor4fNormal3fVertex4(Single[] tc, Single* c, Single* n, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord4fColor4fNormal3fVertex4([In, Out] Single[] tc, Single* c, Single* n, [In, Out] Single[] v) + unsafe void TexCoord4fColor4fNormal3fVertex4(Single[] tc, Single* c, Single* n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* v_ptr = v) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord4fColor4fNormal3fVertex4([In, Out] Single[] tc, Single* c, Single* n, ref Single v) + unsafe void TexCoord4fColor4fNormal3fVertex4(Single[] tc, Single* c, Single* n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* v_ptr = &v) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord4fColor4fNormal3fVertex4([In, Out] Single[] tc, Single* c, [In, Out] Single[] n, Single* v) + unsafe void TexCoord4fColor4fNormal3fVertex4(Single[] tc, Single* c, Single[] n, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = n) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord4fColor4fNormal3fVertex4([In, Out] Single[] tc, Single* c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void TexCoord4fColor4fNormal3fVertex4(Single[] tc, Single* c, Single[] n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = n) fixed (Single* v_ptr = v) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord4fColor4fNormal3fVertex4([In, Out] Single[] tc, Single* c, [In, Out] Single[] n, ref Single v) + unsafe void TexCoord4fColor4fNormal3fVertex4(Single[] tc, Single* c, Single[] n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = n) fixed (Single* v_ptr = &v) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord4fColor4fNormal3fVertex4([In, Out] Single[] tc, Single* c, ref Single n, Single* v) + unsafe void TexCoord4fColor4fNormal3fVertex4(Single[] tc, Single* c, ref Single n, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = &n) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord4fColor4fNormal3fVertex4([In, Out] Single[] tc, Single* c, ref Single n, [In, Out] Single[] v) + unsafe void TexCoord4fColor4fNormal3fVertex4(Single[] tc, Single* c, ref Single n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = v) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord4fColor4fNormal3fVertex4([In, Out] Single[] tc, Single* c, ref Single n, ref Single v) + unsafe void TexCoord4fColor4fNormal3fVertex4(Single[] tc, Single* c, ref Single n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = &v) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord4fColor4fNormal3fVertex4([In, Out] Single[] tc, [In, Out] Single[] c, Single* n, Single* v) + unsafe void TexCoord4fColor4fNormal3fVertex4(Single[] tc, Single[] c, Single* n, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = c) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord4fColor4fNormal3fVertex4([In, Out] Single[] tc, [In, Out] Single[] c, Single* n, [In, Out] Single[] v) + unsafe void TexCoord4fColor4fNormal3fVertex4(Single[] tc, Single[] c, Single* n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = c) fixed (Single* v_ptr = v) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord4fColor4fNormal3fVertex4([In, Out] Single[] tc, [In, Out] Single[] c, Single* n, ref Single v) + unsafe void TexCoord4fColor4fNormal3fVertex4(Single[] tc, Single[] c, Single* n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = c) fixed (Single* v_ptr = &v) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord4fColor4fNormal3fVertex4([In, Out] Single[] tc, [In, Out] Single[] c, [In, Out] Single[] n, Single* v) + unsafe void TexCoord4fColor4fNormal3fVertex4(Single[] tc, Single[] c, Single[] n, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } public static - void TexCoord4fColor4fNormal3fVertex4([In, Out] Single[] tc, [In, Out] Single[] c, [In, Out] Single[] n, [In, Out] Single[] v) + void TexCoord4fColor4fNormal3fVertex4(Single[] tc, Single[] c, Single[] n, Single[] v) { unsafe { @@ -35384,7 +35734,7 @@ namespace OpenTK.OpenGL } public static - void TexCoord4fColor4fNormal3fVertex4([In, Out] Single[] tc, [In, Out] Single[] c, [In, Out] Single[] n, ref Single v) + void TexCoord4fColor4fNormal3fVertex4(Single[] tc, Single[] c, Single[] n, ref Single v) { unsafe { @@ -35400,18 +35750,21 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void TexCoord4fColor4fNormal3fVertex4([In, Out] Single[] tc, [In, Out] Single[] c, ref Single n, Single* v) + unsafe void TexCoord4fColor4fNormal3fVertex4(Single[] tc, Single[] c, ref Single n, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } public static - void TexCoord4fColor4fNormal3fVertex4([In, Out] Single[] tc, [In, Out] Single[] c, ref Single n, [In, Out] Single[] v) + void TexCoord4fColor4fNormal3fVertex4(Single[] tc, Single[] c, ref Single n, Single[] v) { unsafe { @@ -35426,7 +35779,7 @@ namespace OpenTK.OpenGL } public static - void TexCoord4fColor4fNormal3fVertex4([In, Out] Single[] tc, [In, Out] Single[] c, ref Single n, ref Single v) + void TexCoord4fColor4fNormal3fVertex4(Single[] tc, Single[] c, ref Single n, ref Single v) { unsafe { @@ -35442,53 +35795,65 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void TexCoord4fColor4fNormal3fVertex4([In, Out] Single[] tc, ref Single c, Single* n, Single* v) + unsafe void TexCoord4fColor4fNormal3fVertex4(Single[] tc, ref Single c, Single* n, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = &c) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord4fColor4fNormal3fVertex4([In, Out] Single[] tc, ref Single c, Single* n, [In, Out] Single[] v) + unsafe void TexCoord4fColor4fNormal3fVertex4(Single[] tc, ref Single c, Single* n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = &c) fixed (Single* v_ptr = v) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord4fColor4fNormal3fVertex4([In, Out] Single[] tc, ref Single c, Single* n, ref Single v) + unsafe void TexCoord4fColor4fNormal3fVertex4(Single[] tc, ref Single c, Single* n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = &c) fixed (Single* v_ptr = &v) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord4fColor4fNormal3fVertex4([In, Out] Single[] tc, ref Single c, [In, Out] Single[] n, Single* v) + unsafe void TexCoord4fColor4fNormal3fVertex4(Single[] tc, ref Single c, Single[] n, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } public static - void TexCoord4fColor4fNormal3fVertex4([In, Out] Single[] tc, ref Single c, [In, Out] Single[] n, [In, Out] Single[] v) + void TexCoord4fColor4fNormal3fVertex4(Single[] tc, ref Single c, Single[] n, Single[] v) { unsafe { @@ -35503,7 +35868,7 @@ namespace OpenTK.OpenGL } public static - void TexCoord4fColor4fNormal3fVertex4([In, Out] Single[] tc, ref Single c, [In, Out] Single[] n, ref Single v) + void TexCoord4fColor4fNormal3fVertex4(Single[] tc, ref Single c, Single[] n, ref Single v) { unsafe { @@ -35519,18 +35884,21 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void TexCoord4fColor4fNormal3fVertex4([In, Out] Single[] tc, ref Single c, ref Single n, Single* v) + unsafe void TexCoord4fColor4fNormal3fVertex4(Single[] tc, ref Single c, ref Single n, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } public static - void TexCoord4fColor4fNormal3fVertex4([In, Out] Single[] tc, ref Single c, ref Single n, [In, Out] Single[] v) + void TexCoord4fColor4fNormal3fVertex4(Single[] tc, ref Single c, ref Single n, Single[] v) { unsafe { @@ -35545,7 +35913,7 @@ namespace OpenTK.OpenGL } public static - void TexCoord4fColor4fNormal3fVertex4([In, Out] Single[] tc, ref Single c, ref Single n, ref Single v) + void TexCoord4fColor4fNormal3fVertex4(Single[] tc, ref Single c, ref Single n, ref Single v) { unsafe { @@ -35563,153 +35931,192 @@ namespace OpenTK.OpenGL public static unsafe void TexCoord4fColor4fNormal3fVertex4(ref Single tc, Single* c, Single* n, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord4fColor4fNormal3fVertex4(ref Single tc, Single* c, Single* n, [In, Out] Single[] v) + unsafe void TexCoord4fColor4fNormal3fVertex4(ref Single tc, Single* c, Single* n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* v_ptr = v) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void TexCoord4fColor4fNormal3fVertex4(ref Single tc, Single* c, Single* n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* v_ptr = &v) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord4fColor4fNormal3fVertex4(ref Single tc, Single* c, [In, Out] Single[] n, Single* v) + unsafe void TexCoord4fColor4fNormal3fVertex4(ref Single tc, Single* c, Single[] n, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = n) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord4fColor4fNormal3fVertex4(ref Single tc, Single* c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void TexCoord4fColor4fNormal3fVertex4(ref Single tc, Single* c, Single[] n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = n) fixed (Single* v_ptr = v) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord4fColor4fNormal3fVertex4(ref Single tc, Single* c, [In, Out] Single[] n, ref Single v) + unsafe void TexCoord4fColor4fNormal3fVertex4(ref Single tc, Single* c, Single[] n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = n) fixed (Single* v_ptr = &v) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void TexCoord4fColor4fNormal3fVertex4(ref Single tc, Single* c, ref Single n, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = &n) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord4fColor4fNormal3fVertex4(ref Single tc, Single* c, ref Single n, [In, Out] Single[] v) + unsafe void TexCoord4fColor4fNormal3fVertex4(ref Single tc, Single* c, ref Single n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = v) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void TexCoord4fColor4fNormal3fVertex4(ref Single tc, Single* c, ref Single n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = &v) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord4fColor4fNormal3fVertex4(ref Single tc, [In, Out] Single[] c, Single* n, Single* v) + unsafe void TexCoord4fColor4fNormal3fVertex4(ref Single tc, Single[] c, Single* n, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = c) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord4fColor4fNormal3fVertex4(ref Single tc, [In, Out] Single[] c, Single* n, [In, Out] Single[] v) + unsafe void TexCoord4fColor4fNormal3fVertex4(ref Single tc, Single[] c, Single* n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = c) fixed (Single* v_ptr = v) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord4fColor4fNormal3fVertex4(ref Single tc, [In, Out] Single[] c, Single* n, ref Single v) + unsafe void TexCoord4fColor4fNormal3fVertex4(ref Single tc, Single[] c, Single* n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = c) fixed (Single* v_ptr = &v) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord4fColor4fNormal3fVertex4(ref Single tc, [In, Out] Single[] c, [In, Out] Single[] n, Single* v) + unsafe void TexCoord4fColor4fNormal3fVertex4(ref Single tc, Single[] c, Single[] n, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } public static - void TexCoord4fColor4fNormal3fVertex4(ref Single tc, [In, Out] Single[] c, [In, Out] Single[] n, [In, Out] Single[] v) + void TexCoord4fColor4fNormal3fVertex4(ref Single tc, Single[] c, Single[] n, Single[] v) { unsafe { @@ -35724,7 +36131,7 @@ namespace OpenTK.OpenGL } public static - void TexCoord4fColor4fNormal3fVertex4(ref Single tc, [In, Out] Single[] c, [In, Out] Single[] n, ref Single v) + void TexCoord4fColor4fNormal3fVertex4(ref Single tc, Single[] c, Single[] n, ref Single v) { unsafe { @@ -35740,18 +36147,21 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void TexCoord4fColor4fNormal3fVertex4(ref Single tc, [In, Out] Single[] c, ref Single n, Single* v) + unsafe void TexCoord4fColor4fNormal3fVertex4(ref Single tc, Single[] c, ref Single n, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } public static - void TexCoord4fColor4fNormal3fVertex4(ref Single tc, [In, Out] Single[] c, ref Single n, [In, Out] Single[] v) + void TexCoord4fColor4fNormal3fVertex4(ref Single tc, Single[] c, ref Single n, Single[] v) { unsafe { @@ -35766,7 +36176,7 @@ namespace OpenTK.OpenGL } public static - void TexCoord4fColor4fNormal3fVertex4(ref Single tc, [In, Out] Single[] c, ref Single n, ref Single v) + void TexCoord4fColor4fNormal3fVertex4(ref Single tc, Single[] c, ref Single n, ref Single v) { unsafe { @@ -35784,51 +36194,63 @@ namespace OpenTK.OpenGL public static unsafe void TexCoord4fColor4fNormal3fVertex4(ref Single tc, ref Single c, Single* n, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = &c) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord4fColor4fNormal3fVertex4(ref Single tc, ref Single c, Single* n, [In, Out] Single[] v) + unsafe void TexCoord4fColor4fNormal3fVertex4(ref Single tc, ref Single c, Single* n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = &c) fixed (Single* v_ptr = v) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void TexCoord4fColor4fNormal3fVertex4(ref Single tc, ref Single c, Single* n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = &c) fixed (Single* v_ptr = &v) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void TexCoord4fColor4fNormal3fVertex4(ref Single tc, ref Single c, [In, Out] Single[] n, Single* v) + unsafe void TexCoord4fColor4fNormal3fVertex4(ref Single tc, ref Single c, Single[] n, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } public static - void TexCoord4fColor4fNormal3fVertex4(ref Single tc, ref Single c, [In, Out] Single[] n, [In, Out] Single[] v) + void TexCoord4fColor4fNormal3fVertex4(ref Single tc, ref Single c, Single[] n, Single[] v) { unsafe { @@ -35843,7 +36265,7 @@ namespace OpenTK.OpenGL } public static - void TexCoord4fColor4fNormal3fVertex4(ref Single tc, ref Single c, [In, Out] Single[] n, ref Single v) + void TexCoord4fColor4fNormal3fVertex4(ref Single tc, ref Single c, Single[] n, ref Single v) { unsafe { @@ -35861,16 +36283,19 @@ namespace OpenTK.OpenGL public static unsafe void TexCoord4fColor4fNormal3fVertex4(ref Single tc, ref Single c, ref Single n, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) { Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } public static - void TexCoord4fColor4fNormal3fVertex4(ref Single tc, ref Single c, ref Single n, [In, Out] Single[] v) + void TexCoord4fColor4fNormal3fVertex4(ref Single tc, ref Single c, ref Single n, Single[] v) { unsafe { @@ -35923,74 +36348,93 @@ namespace OpenTK.OpenGL public static unsafe void ReplacementCodeuiVertex3(Int32* rc, Single* v) { - { - Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc, (Single*)v); - } + unsafe + { + Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc, (Single*)v); + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiVertex3(UInt32* rc, [In, Out] Single[] v) + unsafe void ReplacementCodeuiVertex3(UInt32* rc, Single[] v) { + unsafe + { fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiVertex3(Int32* rc, [In, Out] Single[] v) + unsafe void ReplacementCodeuiVertex3(Int32* rc, Single[] v) { + unsafe + { fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiVertex3(UInt32* rc, ref Single v) { + unsafe + { fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiVertex3(Int32* rc, ref Single v) { + unsafe + { fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiVertex3([In, Out] UInt32[] rc, Single* v) + unsafe void ReplacementCodeuiVertex3(UInt32[] rc, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) { Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiVertex3([In, Out] Int32[] rc, Single* v) + unsafe void ReplacementCodeuiVertex3(Int32[] rc, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) { Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ReplacementCodeuiVertex3([In, Out] UInt32[] rc, [In, Out] Single[] v) + void ReplacementCodeuiVertex3(UInt32[] rc, Single[] v) { unsafe { @@ -36003,7 +36447,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiVertex3([In, Out] Int32[] rc, [In, Out] Single[] v) + void ReplacementCodeuiVertex3(Int32[] rc, Single[] v) { unsafe { @@ -36017,7 +36461,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void ReplacementCodeuiVertex3([In, Out] UInt32[] rc, ref Single v) + void ReplacementCodeuiVertex3(UInt32[] rc, ref Single v) { unsafe { @@ -36030,7 +36474,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiVertex3([In, Out] Int32[] rc, ref Single v) + void ReplacementCodeuiVertex3(Int32[] rc, ref Single v) { unsafe { @@ -36046,25 +36490,31 @@ namespace OpenTK.OpenGL public static unsafe void ReplacementCodeuiVertex3(ref UInt32 rc, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) { Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiVertex3(ref Int32 rc, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) { Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ReplacementCodeuiVertex3(ref UInt32 rc, [In, Out] Single[] v) + void ReplacementCodeuiVertex3(ref UInt32 rc, Single[] v) { unsafe { @@ -36077,7 +36527,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiVertex3(ref Int32 rc, [In, Out] Single[] v) + void ReplacementCodeuiVertex3(ref Int32 rc, Single[] v) { unsafe { @@ -36140,268 +36590,341 @@ namespace OpenTK.OpenGL public static unsafe void ReplacementCodeuiColor4ubVertex3(Int32* rc, Byte* c, Single* v) { - { - Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c, (Single*)v); - } + unsafe + { + Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c, (Single*)v); + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4ubVertex3(UInt32* rc, Byte* c, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor4ubVertex3(UInt32* rc, Byte* c, Single[] v) { + unsafe + { fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4ubVertex3(Int32* rc, Byte* c, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor4ubVertex3(Int32* rc, Byte* c, Single[] v) { + unsafe + { fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiColor4ubVertex3(UInt32* rc, Byte* c, ref Single v) { + unsafe + { fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiColor4ubVertex3(Int32* rc, Byte* c, ref Single v) { + unsafe + { fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4ubVertex3(UInt32* rc, [In, Out] Byte[] c, Single* v) + unsafe void ReplacementCodeuiColor4ubVertex3(UInt32* rc, Byte[] c, Single* v) { + unsafe + { fixed (Byte* c_ptr = c) { Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4ubVertex3(Int32* rc, [In, Out] Byte[] c, Single* v) + unsafe void ReplacementCodeuiColor4ubVertex3(Int32* rc, Byte[] c, Single* v) { + unsafe + { fixed (Byte* c_ptr = c) { Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4ubVertex3(UInt32* rc, [In, Out] Byte[] c, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor4ubVertex3(UInt32* rc, Byte[] c, Single[] v) { + unsafe + { fixed (Byte* c_ptr = c) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4ubVertex3(Int32* rc, [In, Out] Byte[] c, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor4ubVertex3(Int32* rc, Byte[] c, Single[] v) { + unsafe + { fixed (Byte* c_ptr = c) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4ubVertex3(UInt32* rc, [In, Out] Byte[] c, ref Single v) + unsafe void ReplacementCodeuiColor4ubVertex3(UInt32* rc, Byte[] c, ref Single v) { + unsafe + { fixed (Byte* c_ptr = c) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4ubVertex3(Int32* rc, [In, Out] Byte[] c, ref Single v) + unsafe void ReplacementCodeuiColor4ubVertex3(Int32* rc, Byte[] c, ref Single v) { + unsafe + { fixed (Byte* c_ptr = c) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiColor4ubVertex3(UInt32* rc, ref Byte c, Single* v) { + unsafe + { fixed (Byte* c_ptr = &c) { Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiColor4ubVertex3(Int32* rc, ref Byte c, Single* v) { + unsafe + { fixed (Byte* c_ptr = &c) { Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4ubVertex3(UInt32* rc, ref Byte c, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor4ubVertex3(UInt32* rc, ref Byte c, Single[] v) { + unsafe + { fixed (Byte* c_ptr = &c) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4ubVertex3(Int32* rc, ref Byte c, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor4ubVertex3(Int32* rc, ref Byte c, Single[] v) { + unsafe + { fixed (Byte* c_ptr = &c) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiColor4ubVertex3(UInt32* rc, ref Byte c, ref Single v) { + unsafe + { fixed (Byte* c_ptr = &c) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiColor4ubVertex3(Int32* rc, ref Byte c, ref Single v) { + unsafe + { fixed (Byte* c_ptr = &c) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4ubVertex3([In, Out] UInt32[] rc, Byte* c, Single* v) + unsafe void ReplacementCodeuiColor4ubVertex3(UInt32[] rc, Byte* c, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) { Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4ubVertex3([In, Out] Int32[] rc, Byte* c, Single* v) + unsafe void ReplacementCodeuiColor4ubVertex3(Int32[] rc, Byte* c, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) { Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4ubVertex3([In, Out] UInt32[] rc, Byte* c, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor4ubVertex3(UInt32[] rc, Byte* c, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4ubVertex3([In, Out] Int32[] rc, Byte* c, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor4ubVertex3(Int32[] rc, Byte* c, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4ubVertex3([In, Out] UInt32[] rc, Byte* c, ref Single v) + unsafe void ReplacementCodeuiColor4ubVertex3(UInt32[] rc, Byte* c, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4ubVertex3([In, Out] Int32[] rc, Byte* c, ref Single v) + unsafe void ReplacementCodeuiColor4ubVertex3(Int32[] rc, Byte* c, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4ubVertex3([In, Out] UInt32[] rc, [In, Out] Byte[] c, Single* v) + unsafe void ReplacementCodeuiColor4ubVertex3(UInt32[] rc, Byte[] c, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Byte* c_ptr = c) { Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4ubVertex3([In, Out] Int32[] rc, [In, Out] Byte[] c, Single* v) + unsafe void ReplacementCodeuiColor4ubVertex3(Int32[] rc, Byte[] c, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Byte* c_ptr = c) { Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ReplacementCodeuiColor4ubVertex3([In, Out] UInt32[] rc, [In, Out] Byte[] c, [In, Out] Single[] v) + void ReplacementCodeuiColor4ubVertex3(UInt32[] rc, Byte[] c, Single[] v) { unsafe { @@ -36415,7 +36938,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiColor4ubVertex3([In, Out] Int32[] rc, [In, Out] Byte[] c, [In, Out] Single[] v) + void ReplacementCodeuiColor4ubVertex3(Int32[] rc, Byte[] c, Single[] v) { unsafe { @@ -36430,7 +36953,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void ReplacementCodeuiColor4ubVertex3([In, Out] UInt32[] rc, [In, Out] Byte[] c, ref Single v) + void ReplacementCodeuiColor4ubVertex3(UInt32[] rc, Byte[] c, ref Single v) { unsafe { @@ -36444,7 +36967,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiColor4ubVertex3([In, Out] Int32[] rc, [In, Out] Byte[] c, ref Single v) + void ReplacementCodeuiColor4ubVertex3(Int32[] rc, Byte[] c, ref Single v) { unsafe { @@ -36459,29 +36982,35 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4ubVertex3([In, Out] UInt32[] rc, ref Byte c, Single* v) + unsafe void ReplacementCodeuiColor4ubVertex3(UInt32[] rc, ref Byte c, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Byte* c_ptr = &c) { Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4ubVertex3([In, Out] Int32[] rc, ref Byte c, Single* v) + unsafe void ReplacementCodeuiColor4ubVertex3(Int32[] rc, ref Byte c, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Byte* c_ptr = &c) { Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ReplacementCodeuiColor4ubVertex3([In, Out] UInt32[] rc, ref Byte c, [In, Out] Single[] v) + void ReplacementCodeuiColor4ubVertex3(UInt32[] rc, ref Byte c, Single[] v) { unsafe { @@ -36495,7 +37024,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiColor4ubVertex3([In, Out] Int32[] rc, ref Byte c, [In, Out] Single[] v) + void ReplacementCodeuiColor4ubVertex3(Int32[] rc, ref Byte c, Single[] v) { unsafe { @@ -36510,7 +37039,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void ReplacementCodeuiColor4ubVertex3([In, Out] UInt32[] rc, ref Byte c, ref Single v) + void ReplacementCodeuiColor4ubVertex3(UInt32[] rc, ref Byte c, ref Single v) { unsafe { @@ -36524,7 +37053,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiColor4ubVertex3([In, Out] Int32[] rc, ref Byte c, ref Single v) + void ReplacementCodeuiColor4ubVertex3(Int32[] rc, ref Byte c, ref Single v) { unsafe { @@ -36541,91 +37070,115 @@ namespace OpenTK.OpenGL public static unsafe void ReplacementCodeuiColor4ubVertex3(ref UInt32 rc, Byte* c, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) { Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c, (Single*)v); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiColor4ubVertex3(ref Int32 rc, Byte* c, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) { Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4ubVertex3(ref UInt32 rc, Byte* c, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor4ubVertex3(ref UInt32 rc, Byte* c, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4ubVertex3(ref Int32 rc, Byte* c, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor4ubVertex3(ref Int32 rc, Byte* c, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiColor4ubVertex3(ref UInt32 rc, Byte* c, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiColor4ubVertex3(ref Int32 rc, Byte* c, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4ubVertex3(ref UInt32 rc, [In, Out] Byte[] c, Single* v) + unsafe void ReplacementCodeuiColor4ubVertex3(ref UInt32 rc, Byte[] c, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Byte* c_ptr = c) { Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4ubVertex3(ref Int32 rc, [In, Out] Byte[] c, Single* v) + unsafe void ReplacementCodeuiColor4ubVertex3(ref Int32 rc, Byte[] c, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Byte* c_ptr = c) { Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ReplacementCodeuiColor4ubVertex3(ref UInt32 rc, [In, Out] Byte[] c, [In, Out] Single[] v) + void ReplacementCodeuiColor4ubVertex3(ref UInt32 rc, Byte[] c, Single[] v) { unsafe { @@ -36639,7 +37192,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiColor4ubVertex3(ref Int32 rc, [In, Out] Byte[] c, [In, Out] Single[] v) + void ReplacementCodeuiColor4ubVertex3(ref Int32 rc, Byte[] c, Single[] v) { unsafe { @@ -36654,7 +37207,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void ReplacementCodeuiColor4ubVertex3(ref UInt32 rc, [In, Out] Byte[] c, ref Single v) + void ReplacementCodeuiColor4ubVertex3(ref UInt32 rc, Byte[] c, ref Single v) { unsafe { @@ -36668,7 +37221,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiColor4ubVertex3(ref Int32 rc, [In, Out] Byte[] c, ref Single v) + void ReplacementCodeuiColor4ubVertex3(ref Int32 rc, Byte[] c, ref Single v) { unsafe { @@ -36685,27 +37238,33 @@ namespace OpenTK.OpenGL public static unsafe void ReplacementCodeuiColor4ubVertex3(ref UInt32 rc, ref Byte c, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Byte* c_ptr = &c) { Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiColor4ubVertex3(ref Int32 rc, ref Byte c, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Byte* c_ptr = &c) { Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ReplacementCodeuiColor4ubVertex3(ref UInt32 rc, ref Byte c, [In, Out] Single[] v) + void ReplacementCodeuiColor4ubVertex3(ref UInt32 rc, ref Byte c, Single[] v) { unsafe { @@ -36719,7 +37278,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiColor4ubVertex3(ref Int32 rc, ref Byte c, [In, Out] Single[] v) + void ReplacementCodeuiColor4ubVertex3(ref Int32 rc, ref Byte c, Single[] v) { unsafe { @@ -36785,268 +37344,341 @@ namespace OpenTK.OpenGL public static unsafe void ReplacementCodeuiColor3fVertex3(Int32* rc, Single* c, Single* v) { - { - Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)v); - } + unsafe + { + Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)v); + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor3fVertex3(UInt32* rc, Single* c, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor3fVertex3(UInt32* rc, Single* c, Single[] v) { + unsafe + { fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor3fVertex3(Int32* rc, Single* c, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor3fVertex3(Int32* rc, Single* c, Single[] v) { + unsafe + { fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiColor3fVertex3(UInt32* rc, Single* c, ref Single v) { + unsafe + { fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiColor3fVertex3(Int32* rc, Single* c, ref Single v) { + unsafe + { fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor3fVertex3(UInt32* rc, [In, Out] Single[] c, Single* v) + unsafe void ReplacementCodeuiColor3fVertex3(UInt32* rc, Single[] c, Single* v) { + unsafe + { fixed (Single* c_ptr = c) { Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor3fVertex3(Int32* rc, [In, Out] Single[] c, Single* v) + unsafe void ReplacementCodeuiColor3fVertex3(Int32* rc, Single[] c, Single* v) { + unsafe + { fixed (Single* c_ptr = c) { Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor3fVertex3(UInt32* rc, [In, Out] Single[] c, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor3fVertex3(UInt32* rc, Single[] c, Single[] v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor3fVertex3(Int32* rc, [In, Out] Single[] c, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor3fVertex3(Int32* rc, Single[] c, Single[] v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor3fVertex3(UInt32* rc, [In, Out] Single[] c, ref Single v) + unsafe void ReplacementCodeuiColor3fVertex3(UInt32* rc, Single[] c, ref Single v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor3fVertex3(Int32* rc, [In, Out] Single[] c, ref Single v) + unsafe void ReplacementCodeuiColor3fVertex3(Int32* rc, Single[] c, ref Single v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiColor3fVertex3(UInt32* rc, ref Single c, Single* v) { + unsafe + { fixed (Single* c_ptr = &c) { Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiColor3fVertex3(Int32* rc, ref Single c, Single* v) { + unsafe + { fixed (Single* c_ptr = &c) { Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor3fVertex3(UInt32* rc, ref Single c, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor3fVertex3(UInt32* rc, ref Single c, Single[] v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor3fVertex3(Int32* rc, ref Single c, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor3fVertex3(Int32* rc, ref Single c, Single[] v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiColor3fVertex3(UInt32* rc, ref Single c, ref Single v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiColor3fVertex3(Int32* rc, ref Single c, ref Single v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor3fVertex3([In, Out] UInt32[] rc, Single* c, Single* v) + unsafe void ReplacementCodeuiColor3fVertex3(UInt32[] rc, Single* c, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) { Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor3fVertex3([In, Out] Int32[] rc, Single* c, Single* v) + unsafe void ReplacementCodeuiColor3fVertex3(Int32[] rc, Single* c, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) { Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor3fVertex3([In, Out] UInt32[] rc, Single* c, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor3fVertex3(UInt32[] rc, Single* c, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor3fVertex3([In, Out] Int32[] rc, Single* c, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor3fVertex3(Int32[] rc, Single* c, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor3fVertex3([In, Out] UInt32[] rc, Single* c, ref Single v) + unsafe void ReplacementCodeuiColor3fVertex3(UInt32[] rc, Single* c, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor3fVertex3([In, Out] Int32[] rc, Single* c, ref Single v) + unsafe void ReplacementCodeuiColor3fVertex3(Int32[] rc, Single* c, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] c, Single* v) + unsafe void ReplacementCodeuiColor3fVertex3(UInt32[] rc, Single[] c, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* c_ptr = c) { Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] c, Single* v) + unsafe void ReplacementCodeuiColor3fVertex3(Int32[] rc, Single[] c, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* c_ptr = c) { Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ReplacementCodeuiColor3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] c, [In, Out] Single[] v) + void ReplacementCodeuiColor3fVertex3(UInt32[] rc, Single[] c, Single[] v) { unsafe { @@ -37060,7 +37692,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiColor3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] c, [In, Out] Single[] v) + void ReplacementCodeuiColor3fVertex3(Int32[] rc, Single[] c, Single[] v) { unsafe { @@ -37075,7 +37707,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void ReplacementCodeuiColor3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] c, ref Single v) + void ReplacementCodeuiColor3fVertex3(UInt32[] rc, Single[] c, ref Single v) { unsafe { @@ -37089,7 +37721,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiColor3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] c, ref Single v) + void ReplacementCodeuiColor3fVertex3(Int32[] rc, Single[] c, ref Single v) { unsafe { @@ -37104,29 +37736,35 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor3fVertex3([In, Out] UInt32[] rc, ref Single c, Single* v) + unsafe void ReplacementCodeuiColor3fVertex3(UInt32[] rc, ref Single c, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* c_ptr = &c) { Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor3fVertex3([In, Out] Int32[] rc, ref Single c, Single* v) + unsafe void ReplacementCodeuiColor3fVertex3(Int32[] rc, ref Single c, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* c_ptr = &c) { Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ReplacementCodeuiColor3fVertex3([In, Out] UInt32[] rc, ref Single c, [In, Out] Single[] v) + void ReplacementCodeuiColor3fVertex3(UInt32[] rc, ref Single c, Single[] v) { unsafe { @@ -37140,7 +37778,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiColor3fVertex3([In, Out] Int32[] rc, ref Single c, [In, Out] Single[] v) + void ReplacementCodeuiColor3fVertex3(Int32[] rc, ref Single c, Single[] v) { unsafe { @@ -37155,7 +37793,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void ReplacementCodeuiColor3fVertex3([In, Out] UInt32[] rc, ref Single c, ref Single v) + void ReplacementCodeuiColor3fVertex3(UInt32[] rc, ref Single c, ref Single v) { unsafe { @@ -37169,7 +37807,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiColor3fVertex3([In, Out] Int32[] rc, ref Single c, ref Single v) + void ReplacementCodeuiColor3fVertex3(Int32[] rc, ref Single c, ref Single v) { unsafe { @@ -37186,91 +37824,115 @@ namespace OpenTK.OpenGL public static unsafe void ReplacementCodeuiColor3fVertex3(ref UInt32 rc, Single* c, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) { Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)v); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiColor3fVertex3(ref Int32 rc, Single* c, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) { Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor3fVertex3(ref UInt32 rc, Single* c, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor3fVertex3(ref UInt32 rc, Single* c, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor3fVertex3(ref Int32 rc, Single* c, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor3fVertex3(ref Int32 rc, Single* c, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiColor3fVertex3(ref UInt32 rc, Single* c, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiColor3fVertex3(ref Int32 rc, Single* c, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor3fVertex3(ref UInt32 rc, [In, Out] Single[] c, Single* v) + unsafe void ReplacementCodeuiColor3fVertex3(ref UInt32 rc, Single[] c, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* c_ptr = c) { Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor3fVertex3(ref Int32 rc, [In, Out] Single[] c, Single* v) + unsafe void ReplacementCodeuiColor3fVertex3(ref Int32 rc, Single[] c, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* c_ptr = c) { Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ReplacementCodeuiColor3fVertex3(ref UInt32 rc, [In, Out] Single[] c, [In, Out] Single[] v) + void ReplacementCodeuiColor3fVertex3(ref UInt32 rc, Single[] c, Single[] v) { unsafe { @@ -37284,7 +37946,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiColor3fVertex3(ref Int32 rc, [In, Out] Single[] c, [In, Out] Single[] v) + void ReplacementCodeuiColor3fVertex3(ref Int32 rc, Single[] c, Single[] v) { unsafe { @@ -37299,7 +37961,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void ReplacementCodeuiColor3fVertex3(ref UInt32 rc, [In, Out] Single[] c, ref Single v) + void ReplacementCodeuiColor3fVertex3(ref UInt32 rc, Single[] c, ref Single v) { unsafe { @@ -37313,7 +37975,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiColor3fVertex3(ref Int32 rc, [In, Out] Single[] c, ref Single v) + void ReplacementCodeuiColor3fVertex3(ref Int32 rc, Single[] c, ref Single v) { unsafe { @@ -37330,27 +37992,33 @@ namespace OpenTK.OpenGL public static unsafe void ReplacementCodeuiColor3fVertex3(ref UInt32 rc, ref Single c, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* c_ptr = &c) { Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiColor3fVertex3(ref Int32 rc, ref Single c, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* c_ptr = &c) { Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ReplacementCodeuiColor3fVertex3(ref UInt32 rc, ref Single c, [In, Out] Single[] v) + void ReplacementCodeuiColor3fVertex3(ref UInt32 rc, ref Single c, Single[] v) { unsafe { @@ -37364,7 +38032,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiColor3fVertex3(ref Int32 rc, ref Single c, [In, Out] Single[] v) + void ReplacementCodeuiColor3fVertex3(ref Int32 rc, ref Single c, Single[] v) { unsafe { @@ -37430,268 +38098,341 @@ namespace OpenTK.OpenGL public static unsafe void ReplacementCodeuiNormal3fVertex3(Int32* rc, Single* n, Single* v) { - { - Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n, (Single*)v); - } + unsafe + { + Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n, (Single*)v); + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiNormal3fVertex3(UInt32* rc, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiNormal3fVertex3(UInt32* rc, Single* n, Single[] v) { + unsafe + { fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiNormal3fVertex3(Int32* rc, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiNormal3fVertex3(Int32* rc, Single* n, Single[] v) { + unsafe + { fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiNormal3fVertex3(UInt32* rc, Single* n, ref Single v) { + unsafe + { fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiNormal3fVertex3(Int32* rc, Single* n, ref Single v) { + unsafe + { fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiNormal3fVertex3(UInt32* rc, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiNormal3fVertex3(UInt32* rc, Single[] n, Single* v) { + unsafe + { fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiNormal3fVertex3(Int32* rc, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiNormal3fVertex3(Int32* rc, Single[] n, Single* v) { + unsafe + { fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiNormal3fVertex3(UInt32* rc, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiNormal3fVertex3(UInt32* rc, Single[] n, Single[] v) { + unsafe + { fixed (Single* n_ptr = n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiNormal3fVertex3(Int32* rc, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiNormal3fVertex3(Int32* rc, Single[] n, Single[] v) { + unsafe + { fixed (Single* n_ptr = n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiNormal3fVertex3(UInt32* rc, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiNormal3fVertex3(UInt32* rc, Single[] n, ref Single v) { + unsafe + { fixed (Single* n_ptr = n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiNormal3fVertex3(Int32* rc, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiNormal3fVertex3(Int32* rc, Single[] n, ref Single v) { + unsafe + { fixed (Single* n_ptr = n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiNormal3fVertex3(UInt32* rc, ref Single n, Single* v) { + unsafe + { fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiNormal3fVertex3(Int32* rc, ref Single n, Single* v) { + unsafe + { fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiNormal3fVertex3(UInt32* rc, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiNormal3fVertex3(UInt32* rc, ref Single n, Single[] v) { + unsafe + { fixed (Single* n_ptr = &n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiNormal3fVertex3(Int32* rc, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiNormal3fVertex3(Int32* rc, ref Single n, Single[] v) { + unsafe + { fixed (Single* n_ptr = &n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiNormal3fVertex3(UInt32* rc, ref Single n, ref Single v) { + unsafe + { fixed (Single* n_ptr = &n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiNormal3fVertex3(Int32* rc, ref Single n, ref Single v) { + unsafe + { fixed (Single* n_ptr = &n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiNormal3fVertex3([In, Out] UInt32[] rc, Single* n, Single* v) + unsafe void ReplacementCodeuiNormal3fVertex3(UInt32[] rc, Single* n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) { Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiNormal3fVertex3([In, Out] Int32[] rc, Single* n, Single* v) + unsafe void ReplacementCodeuiNormal3fVertex3(Int32[] rc, Single* n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) { Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiNormal3fVertex3([In, Out] UInt32[] rc, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiNormal3fVertex3(UInt32[] rc, Single* n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiNormal3fVertex3([In, Out] Int32[] rc, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiNormal3fVertex3(Int32[] rc, Single* n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiNormal3fVertex3([In, Out] UInt32[] rc, Single* n, ref Single v) + unsafe void ReplacementCodeuiNormal3fVertex3(UInt32[] rc, Single* n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiNormal3fVertex3([In, Out] Int32[] rc, Single* n, ref Single v) + unsafe void ReplacementCodeuiNormal3fVertex3(Int32[] rc, Single* n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiNormal3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiNormal3fVertex3(UInt32[] rc, Single[] n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiNormal3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiNormal3fVertex3(Int32[] rc, Single[] n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ReplacementCodeuiNormal3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] n, [In, Out] Single[] v) + void ReplacementCodeuiNormal3fVertex3(UInt32[] rc, Single[] n, Single[] v) { unsafe { @@ -37705,7 +38446,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiNormal3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] n, [In, Out] Single[] v) + void ReplacementCodeuiNormal3fVertex3(Int32[] rc, Single[] n, Single[] v) { unsafe { @@ -37720,7 +38461,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void ReplacementCodeuiNormal3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] n, ref Single v) + void ReplacementCodeuiNormal3fVertex3(UInt32[] rc, Single[] n, ref Single v) { unsafe { @@ -37734,7 +38475,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiNormal3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] n, ref Single v) + void ReplacementCodeuiNormal3fVertex3(Int32[] rc, Single[] n, ref Single v) { unsafe { @@ -37749,29 +38490,35 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiNormal3fVertex3([In, Out] UInt32[] rc, ref Single n, Single* v) + unsafe void ReplacementCodeuiNormal3fVertex3(UInt32[] rc, ref Single n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiNormal3fVertex3([In, Out] Int32[] rc, ref Single n, Single* v) + unsafe void ReplacementCodeuiNormal3fVertex3(Int32[] rc, ref Single n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ReplacementCodeuiNormal3fVertex3([In, Out] UInt32[] rc, ref Single n, [In, Out] Single[] v) + void ReplacementCodeuiNormal3fVertex3(UInt32[] rc, ref Single n, Single[] v) { unsafe { @@ -37785,7 +38532,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiNormal3fVertex3([In, Out] Int32[] rc, ref Single n, [In, Out] Single[] v) + void ReplacementCodeuiNormal3fVertex3(Int32[] rc, ref Single n, Single[] v) { unsafe { @@ -37800,7 +38547,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void ReplacementCodeuiNormal3fVertex3([In, Out] UInt32[] rc, ref Single n, ref Single v) + void ReplacementCodeuiNormal3fVertex3(UInt32[] rc, ref Single n, ref Single v) { unsafe { @@ -37814,7 +38561,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiNormal3fVertex3([In, Out] Int32[] rc, ref Single n, ref Single v) + void ReplacementCodeuiNormal3fVertex3(Int32[] rc, ref Single n, ref Single v) { unsafe { @@ -37831,91 +38578,115 @@ namespace OpenTK.OpenGL public static unsafe void ReplacementCodeuiNormal3fVertex3(ref UInt32 rc, Single* n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) { Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiNormal3fVertex3(ref Int32 rc, Single* n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) { Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiNormal3fVertex3(ref UInt32 rc, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiNormal3fVertex3(ref UInt32 rc, Single* n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiNormal3fVertex3(ref Int32 rc, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiNormal3fVertex3(ref Int32 rc, Single* n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiNormal3fVertex3(ref UInt32 rc, Single* n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiNormal3fVertex3(ref Int32 rc, Single* n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiNormal3fVertex3(ref UInt32 rc, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiNormal3fVertex3(ref UInt32 rc, Single[] n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiNormal3fVertex3(ref Int32 rc, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiNormal3fVertex3(ref Int32 rc, Single[] n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ReplacementCodeuiNormal3fVertex3(ref UInt32 rc, [In, Out] Single[] n, [In, Out] Single[] v) + void ReplacementCodeuiNormal3fVertex3(ref UInt32 rc, Single[] n, Single[] v) { unsafe { @@ -37929,7 +38700,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiNormal3fVertex3(ref Int32 rc, [In, Out] Single[] n, [In, Out] Single[] v) + void ReplacementCodeuiNormal3fVertex3(ref Int32 rc, Single[] n, Single[] v) { unsafe { @@ -37944,7 +38715,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void ReplacementCodeuiNormal3fVertex3(ref UInt32 rc, [In, Out] Single[] n, ref Single v) + void ReplacementCodeuiNormal3fVertex3(ref UInt32 rc, Single[] n, ref Single v) { unsafe { @@ -37958,7 +38729,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiNormal3fVertex3(ref Int32 rc, [In, Out] Single[] n, ref Single v) + void ReplacementCodeuiNormal3fVertex3(ref Int32 rc, Single[] n, ref Single v) { unsafe { @@ -37975,27 +38746,33 @@ namespace OpenTK.OpenGL public static unsafe void ReplacementCodeuiNormal3fVertex3(ref UInt32 rc, ref Single n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiNormal3fVertex3(ref Int32 rc, ref Single n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ReplacementCodeuiNormal3fVertex3(ref UInt32 rc, ref Single n, [In, Out] Single[] v) + void ReplacementCodeuiNormal3fVertex3(ref UInt32 rc, ref Single n, Single[] v) { unsafe { @@ -38009,7 +38786,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiNormal3fVertex3(ref Int32 rc, ref Single n, [In, Out] Single[] v) + void ReplacementCodeuiNormal3fVertex3(ref Int32 rc, ref Single n, Single[] v) { unsafe { @@ -38075,888 +38852,1123 @@ namespace OpenTK.OpenGL public static unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, Single* c, Single* n, Single* v) { - { - Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)n, (Single*)v); - } + unsafe + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)n, (Single*)v); + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, Single* c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, Single* c, Single* n, Single[] v) { + unsafe + { fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, Single* c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, Single* c, Single* n, Single[] v) { + unsafe + { fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, Single* c, Single* n, ref Single v) { + unsafe + { fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, Single* c, Single* n, ref Single v) { + unsafe + { fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, Single* c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, Single* c, Single[] n, Single* v) { + unsafe + { fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, Single* c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, Single* c, Single[] n, Single* v) { + unsafe + { fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, Single* c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, Single* c, Single[] n, Single[] v) { + unsafe + { fixed (Single* n_ptr = n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, Single* c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, Single* c, Single[] n, Single[] v) { + unsafe + { fixed (Single* n_ptr = n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, Single* c, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, Single* c, Single[] n, ref Single v) { + unsafe + { fixed (Single* n_ptr = n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, Single* c, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, Single* c, Single[] n, ref Single v) { + unsafe + { fixed (Single* n_ptr = n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, Single* c, ref Single n, Single* v) { + unsafe + { fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, Single* c, ref Single n, Single* v) { + unsafe + { fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, Single* c, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, Single* c, ref Single n, Single[] v) { + unsafe + { fixed (Single* n_ptr = &n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, Single* c, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, Single* c, ref Single n, Single[] v) { + unsafe + { fixed (Single* n_ptr = &n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, Single* c, ref Single n, ref Single v) { + unsafe + { fixed (Single* n_ptr = &n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, Single* c, ref Single n, ref Single v) { + unsafe + { fixed (Single* n_ptr = &n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, [In, Out] Single[] c, Single* n, Single* v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, Single[] c, Single* n, Single* v) { + unsafe + { fixed (Single* c_ptr = c) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, [In, Out] Single[] c, Single* n, Single* v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, Single[] c, Single* n, Single* v) { + unsafe + { fixed (Single* c_ptr = c) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, [In, Out] Single[] c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, Single[] c, Single* n, Single[] v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, [In, Out] Single[] c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, Single[] c, Single* n, Single[] v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, [In, Out] Single[] c, Single* n, ref Single v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, Single[] c, Single* n, ref Single v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, [In, Out] Single[] c, Single* n, ref Single v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, Single[] c, Single* n, ref Single v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, [In, Out] Single[] c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, Single[] c, Single[] n, Single* v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, [In, Out] Single[] c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, Single[] c, Single[] n, Single* v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, [In, Out] Single[] c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, Single[] c, Single[] n, Single[] v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, [In, Out] Single[] c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, Single[] c, Single[] n, Single[] v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, [In, Out] Single[] c, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, Single[] c, Single[] n, ref Single v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, [In, Out] Single[] c, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, Single[] c, Single[] n, ref Single v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, [In, Out] Single[] c, ref Single n, Single* v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, Single[] c, ref Single n, Single* v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, [In, Out] Single[] c, ref Single n, Single* v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, Single[] c, ref Single n, Single* v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, [In, Out] Single[] c, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, Single[] c, ref Single n, Single[] v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, [In, Out] Single[] c, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, Single[] c, ref Single n, Single[] v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, [In, Out] Single[] c, ref Single n, ref Single v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, Single[] c, ref Single n, ref Single v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, [In, Out] Single[] c, ref Single n, ref Single v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, Single[] c, ref Single n, ref Single v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, ref Single c, Single* n, Single* v) { + unsafe + { fixed (Single* c_ptr = &c) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, ref Single c, Single* n, Single* v) { + unsafe + { fixed (Single* c_ptr = &c) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, ref Single c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, ref Single c, Single* n, Single[] v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, ref Single c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, ref Single c, Single* n, Single[] v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, ref Single c, Single* n, ref Single v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, ref Single c, Single* n, ref Single v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, ref Single c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, ref Single c, Single[] n, Single* v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, ref Single c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, ref Single c, Single[] n, Single* v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, ref Single c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, ref Single c, Single[] n, Single[] v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, ref Single c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, ref Single c, Single[] n, Single[] v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, ref Single c, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, ref Single c, Single[] n, ref Single v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, ref Single c, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, ref Single c, Single[] n, ref Single v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, ref Single c, ref Single n, Single* v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, ref Single c, ref Single n, Single* v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, ref Single c, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, ref Single c, ref Single n, Single[] v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, ref Single c, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, ref Single c, ref Single n, Single[] v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, ref Single c, ref Single n, ref Single v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, ref Single c, ref Single n, ref Single v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] UInt32[] rc, Single* c, Single* n, Single* v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32[] rc, Single* c, Single* n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] Int32[] rc, Single* c, Single* n, Single* v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32[] rc, Single* c, Single* n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] UInt32[] rc, Single* c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32[] rc, Single* c, Single* n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] Int32[] rc, Single* c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32[] rc, Single* c, Single* n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] UInt32[] rc, Single* c, Single* n, ref Single v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32[] rc, Single* c, Single* n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] Int32[] rc, Single* c, Single* n, ref Single v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32[] rc, Single* c, Single* n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] UInt32[] rc, Single* c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32[] rc, Single* c, Single[] n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] Int32[] rc, Single* c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32[] rc, Single* c, Single[] n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] UInt32[] rc, Single* c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32[] rc, Single* c, Single[] n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* n_ptr = n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] Int32[] rc, Single* c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32[] rc, Single* c, Single[] n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* n_ptr = n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] UInt32[] rc, Single* c, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32[] rc, Single* c, Single[] n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* n_ptr = n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] Int32[] rc, Single* c, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32[] rc, Single* c, Single[] n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* n_ptr = n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] UInt32[] rc, Single* c, ref Single n, Single* v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32[] rc, Single* c, ref Single n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] Int32[] rc, Single* c, ref Single n, Single* v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32[] rc, Single* c, ref Single n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] UInt32[] rc, Single* c, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32[] rc, Single* c, ref Single n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] Int32[] rc, Single* c, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32[] rc, Single* c, ref Single n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] UInt32[] rc, Single* c, ref Single n, ref Single v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32[] rc, Single* c, ref Single n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] Int32[] rc, Single* c, ref Single n, ref Single v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32[] rc, Single* c, ref Single n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] c, Single* n, Single* v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32[] rc, Single[] c, Single* n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* c_ptr = c) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] c, Single* n, Single* v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32[] rc, Single[] c, Single* n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* c_ptr = c) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32[] rc, Single[] c, Single* n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* c_ptr = c) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32[] rc, Single[] c, Single* n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* c_ptr = c) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] c, Single* n, ref Single v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32[] rc, Single[] c, Single* n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* c_ptr = c) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] c, Single* n, ref Single v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32[] rc, Single[] c, Single* n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* c_ptr = c) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32[] rc, Single[] c, Single[] n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32[] rc, Single[] c, Single[] n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] c, [In, Out] Single[] n, [In, Out] Single[] v) + void ReplacementCodeuiColor4fNormal3fVertex3(UInt32[] rc, Single[] c, Single[] n, Single[] v) { unsafe { @@ -38971,7 +39983,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] c, [In, Out] Single[] n, [In, Out] Single[] v) + void ReplacementCodeuiColor4fNormal3fVertex3(Int32[] rc, Single[] c, Single[] n, Single[] v) { unsafe { @@ -38987,7 +39999,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] c, [In, Out] Single[] n, ref Single v) + void ReplacementCodeuiColor4fNormal3fVertex3(UInt32[] rc, Single[] c, Single[] n, ref Single v) { unsafe { @@ -39002,7 +40014,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] c, [In, Out] Single[] n, ref Single v) + void ReplacementCodeuiColor4fNormal3fVertex3(Int32[] rc, Single[] c, Single[] n, ref Single v) { unsafe { @@ -39018,31 +40030,37 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] c, ref Single n, Single* v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32[] rc, Single[] c, ref Single n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] c, ref Single n, Single* v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32[] rc, Single[] c, ref Single n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] c, ref Single n, [In, Out] Single[] v) + void ReplacementCodeuiColor4fNormal3fVertex3(UInt32[] rc, Single[] c, ref Single n, Single[] v) { unsafe { @@ -39057,7 +40075,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] c, ref Single n, [In, Out] Single[] v) + void ReplacementCodeuiColor4fNormal3fVertex3(Int32[] rc, Single[] c, ref Single n, Single[] v) { unsafe { @@ -39073,7 +40091,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] c, ref Single n, ref Single v) + void ReplacementCodeuiColor4fNormal3fVertex3(UInt32[] rc, Single[] c, ref Single n, ref Single v) { unsafe { @@ -39088,7 +40106,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] c, ref Single n, ref Single v) + void ReplacementCodeuiColor4fNormal3fVertex3(Int32[] rc, Single[] c, ref Single n, ref Single v) { unsafe { @@ -39104,101 +40122,125 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] UInt32[] rc, ref Single c, Single* n, Single* v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32[] rc, ref Single c, Single* n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* c_ptr = &c) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] Int32[] rc, ref Single c, Single* n, Single* v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32[] rc, ref Single c, Single* n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* c_ptr = &c) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] UInt32[] rc, ref Single c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32[] rc, ref Single c, Single* n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* c_ptr = &c) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] Int32[] rc, ref Single c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32[] rc, ref Single c, Single* n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* c_ptr = &c) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] UInt32[] rc, ref Single c, Single* n, ref Single v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32[] rc, ref Single c, Single* n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* c_ptr = &c) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] Int32[] rc, ref Single c, Single* n, ref Single v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32[] rc, ref Single c, Single* n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* c_ptr = &c) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] UInt32[] rc, ref Single c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32[] rc, ref Single c, Single[] n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] Int32[] rc, ref Single c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32[] rc, ref Single c, Single[] n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] UInt32[] rc, ref Single c, [In, Out] Single[] n, [In, Out] Single[] v) + void ReplacementCodeuiColor4fNormal3fVertex3(UInt32[] rc, ref Single c, Single[] n, Single[] v) { unsafe { @@ -39213,7 +40255,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] Int32[] rc, ref Single c, [In, Out] Single[] n, [In, Out] Single[] v) + void ReplacementCodeuiColor4fNormal3fVertex3(Int32[] rc, ref Single c, Single[] n, Single[] v) { unsafe { @@ -39229,7 +40271,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] UInt32[] rc, ref Single c, [In, Out] Single[] n, ref Single v) + void ReplacementCodeuiColor4fNormal3fVertex3(UInt32[] rc, ref Single c, Single[] n, ref Single v) { unsafe { @@ -39244,7 +40286,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] Int32[] rc, ref Single c, [In, Out] Single[] n, ref Single v) + void ReplacementCodeuiColor4fNormal3fVertex3(Int32[] rc, ref Single c, Single[] n, ref Single v) { unsafe { @@ -39260,31 +40302,37 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] UInt32[] rc, ref Single c, ref Single n, Single* v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32[] rc, ref Single c, ref Single n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] Int32[] rc, ref Single c, ref Single n, Single* v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32[] rc, ref Single c, ref Single n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] UInt32[] rc, ref Single c, ref Single n, [In, Out] Single[] v) + void ReplacementCodeuiColor4fNormal3fVertex3(UInt32[] rc, ref Single c, ref Single n, Single[] v) { unsafe { @@ -39299,7 +40347,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] Int32[] rc, ref Single c, ref Single n, [In, Out] Single[] v) + void ReplacementCodeuiColor4fNormal3fVertex3(Int32[] rc, ref Single c, ref Single n, Single[] v) { unsafe { @@ -39315,7 +40363,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] UInt32[] rc, ref Single c, ref Single n, ref Single v) + void ReplacementCodeuiColor4fNormal3fVertex3(UInt32[] rc, ref Single c, ref Single n, ref Single v) { unsafe { @@ -39330,7 +40378,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiColor4fNormal3fVertex3([In, Out] Int32[] rc, ref Single c, ref Single n, ref Single v) + void ReplacementCodeuiColor4fNormal3fVertex3(Int32[] rc, ref Single c, ref Single n, ref Single v) { unsafe { @@ -39348,303 +40396,381 @@ namespace OpenTK.OpenGL public static unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref UInt32 rc, Single* c, Single* n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, Single* c, Single* n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref UInt32 rc, Single* c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref UInt32 rc, Single* c, Single* n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, Single* c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, Single* c, Single* n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref UInt32 rc, Single* c, Single* n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, Single* c, Single* n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref UInt32 rc, Single* c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref UInt32 rc, Single* c, Single[] n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, Single* c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, Single* c, Single[] n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref UInt32 rc, Single* c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref UInt32 rc, Single* c, Single[] n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* n_ptr = n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, Single* c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, Single* c, Single[] n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* n_ptr = n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref UInt32 rc, Single* c, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref UInt32 rc, Single* c, Single[] n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* n_ptr = n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, Single* c, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, Single* c, Single[] n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* n_ptr = n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref UInt32 rc, Single* c, ref Single n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, Single* c, ref Single n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref UInt32 rc, Single* c, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref UInt32 rc, Single* c, ref Single n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, Single* c, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, Single* c, ref Single n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref UInt32 rc, Single* c, ref Single n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, Single* c, ref Single n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref UInt32 rc, [In, Out] Single[] c, Single* n, Single* v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref UInt32 rc, Single[] c, Single* n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* c_ptr = c) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, [In, Out] Single[] c, Single* n, Single* v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, Single[] c, Single* n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* c_ptr = c) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref UInt32 rc, [In, Out] Single[] c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref UInt32 rc, Single[] c, Single* n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* c_ptr = c) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, [In, Out] Single[] c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, Single[] c, Single* n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* c_ptr = c) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref UInt32 rc, [In, Out] Single[] c, Single* n, ref Single v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref UInt32 rc, Single[] c, Single* n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* c_ptr = c) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, [In, Out] Single[] c, Single* n, ref Single v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, Single[] c, Single* n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* c_ptr = c) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref UInt32 rc, [In, Out] Single[] c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref UInt32 rc, Single[] c, Single[] n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, [In, Out] Single[] c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, Single[] c, Single[] n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ReplacementCodeuiColor4fNormal3fVertex3(ref UInt32 rc, [In, Out] Single[] c, [In, Out] Single[] n, [In, Out] Single[] v) + void ReplacementCodeuiColor4fNormal3fVertex3(ref UInt32 rc, Single[] c, Single[] n, Single[] v) { unsafe { @@ -39659,7 +40785,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, [In, Out] Single[] c, [In, Out] Single[] n, [In, Out] Single[] v) + void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, Single[] c, Single[] n, Single[] v) { unsafe { @@ -39675,7 +40801,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void ReplacementCodeuiColor4fNormal3fVertex3(ref UInt32 rc, [In, Out] Single[] c, [In, Out] Single[] n, ref Single v) + void ReplacementCodeuiColor4fNormal3fVertex3(ref UInt32 rc, Single[] c, Single[] n, ref Single v) { unsafe { @@ -39690,7 +40816,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, [In, Out] Single[] c, [In, Out] Single[] n, ref Single v) + void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, Single[] c, Single[] n, ref Single v) { unsafe { @@ -39706,31 +40832,37 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref UInt32 rc, [In, Out] Single[] c, ref Single n, Single* v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref UInt32 rc, Single[] c, ref Single n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, [In, Out] Single[] c, ref Single n, Single* v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, Single[] c, ref Single n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ReplacementCodeuiColor4fNormal3fVertex3(ref UInt32 rc, [In, Out] Single[] c, ref Single n, [In, Out] Single[] v) + void ReplacementCodeuiColor4fNormal3fVertex3(ref UInt32 rc, Single[] c, ref Single n, Single[] v) { unsafe { @@ -39745,7 +40877,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, [In, Out] Single[] c, ref Single n, [In, Out] Single[] v) + void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, Single[] c, ref Single n, Single[] v) { unsafe { @@ -39761,7 +40893,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void ReplacementCodeuiColor4fNormal3fVertex3(ref UInt32 rc, [In, Out] Single[] c, ref Single n, ref Single v) + void ReplacementCodeuiColor4fNormal3fVertex3(ref UInt32 rc, Single[] c, ref Single n, ref Single v) { unsafe { @@ -39776,7 +40908,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, [In, Out] Single[] c, ref Single n, ref Single v) + void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, Single[] c, ref Single n, ref Single v) { unsafe { @@ -39794,99 +40926,123 @@ namespace OpenTK.OpenGL public static unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref UInt32 rc, ref Single c, Single* n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* c_ptr = &c) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, ref Single c, Single* n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* c_ptr = &c) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref UInt32 rc, ref Single c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref UInt32 rc, ref Single c, Single* n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* c_ptr = &c) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, ref Single c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, ref Single c, Single* n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* c_ptr = &c) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref UInt32 rc, ref Single c, Single* n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* c_ptr = &c) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, ref Single c, Single* n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* c_ptr = &c) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref UInt32 rc, ref Single c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref UInt32 rc, ref Single c, Single[] n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, ref Single c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, ref Single c, Single[] n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ReplacementCodeuiColor4fNormal3fVertex3(ref UInt32 rc, ref Single c, [In, Out] Single[] n, [In, Out] Single[] v) + void ReplacementCodeuiColor4fNormal3fVertex3(ref UInt32 rc, ref Single c, Single[] n, Single[] v) { unsafe { @@ -39901,7 +41057,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, ref Single c, [In, Out] Single[] n, [In, Out] Single[] v) + void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, ref Single c, Single[] n, Single[] v) { unsafe { @@ -39917,7 +41073,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void ReplacementCodeuiColor4fNormal3fVertex3(ref UInt32 rc, ref Single c, [In, Out] Single[] n, ref Single v) + void ReplacementCodeuiColor4fNormal3fVertex3(ref UInt32 rc, ref Single c, Single[] n, ref Single v) { unsafe { @@ -39932,7 +41088,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, ref Single c, [In, Out] Single[] n, ref Single v) + void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, ref Single c, Single[] n, ref Single v) { unsafe { @@ -39950,29 +41106,35 @@ namespace OpenTK.OpenGL public static unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref UInt32 rc, ref Single c, ref Single n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, ref Single c, ref Single n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ReplacementCodeuiColor4fNormal3fVertex3(ref UInt32 rc, ref Single c, ref Single n, [In, Out] Single[] v) + void ReplacementCodeuiColor4fNormal3fVertex3(ref UInt32 rc, ref Single c, ref Single n, Single[] v) { unsafe { @@ -39987,7 +41149,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, ref Single c, ref Single n, [In, Out] Single[] v) + void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, ref Single c, ref Single n, Single[] v) { unsafe { @@ -40056,268 +41218,341 @@ namespace OpenTK.OpenGL public static unsafe void ReplacementCodeuiTexCoord2fVertex3(Int32* rc, Single* tc, Single* v) { - { - Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)v); - } + unsafe + { + Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)v); + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fVertex3(UInt32* rc, Single* tc, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fVertex3(UInt32* rc, Single* tc, Single[] v) { + unsafe + { fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fVertex3(Int32* rc, Single* tc, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fVertex3(Int32* rc, Single* tc, Single[] v) { + unsafe + { fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fVertex3(UInt32* rc, Single* tc, ref Single v) { + unsafe + { fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fVertex3(Int32* rc, Single* tc, ref Single v) { + unsafe + { fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fVertex3(UInt32* rc, [In, Out] Single[] tc, Single* v) + unsafe void ReplacementCodeuiTexCoord2fVertex3(UInt32* rc, Single[] tc, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) { Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fVertex3(Int32* rc, [In, Out] Single[] tc, Single* v) + unsafe void ReplacementCodeuiTexCoord2fVertex3(Int32* rc, Single[] tc, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) { Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fVertex3(UInt32* rc, [In, Out] Single[] tc, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fVertex3(UInt32* rc, Single[] tc, Single[] v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fVertex3(Int32* rc, [In, Out] Single[] tc, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fVertex3(Int32* rc, Single[] tc, Single[] v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fVertex3(UInt32* rc, [In, Out] Single[] tc, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fVertex3(UInt32* rc, Single[] tc, ref Single v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fVertex3(Int32* rc, [In, Out] Single[] tc, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fVertex3(Int32* rc, Single[] tc, ref Single v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fVertex3(UInt32* rc, ref Single tc, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) { Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fVertex3(Int32* rc, ref Single tc, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) { Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fVertex3(UInt32* rc, ref Single tc, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fVertex3(UInt32* rc, ref Single tc, Single[] v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fVertex3(Int32* rc, ref Single tc, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fVertex3(Int32* rc, ref Single tc, Single[] v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fVertex3(UInt32* rc, ref Single tc, ref Single v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fVertex3(Int32* rc, ref Single tc, ref Single v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fVertex3([In, Out] UInt32[] rc, Single* tc, Single* v) + unsafe void ReplacementCodeuiTexCoord2fVertex3(UInt32[] rc, Single* tc, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) { Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fVertex3([In, Out] Int32[] rc, Single* tc, Single* v) + unsafe void ReplacementCodeuiTexCoord2fVertex3(Int32[] rc, Single* tc, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) { Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fVertex3([In, Out] UInt32[] rc, Single* tc, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fVertex3(UInt32[] rc, Single* tc, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fVertex3([In, Out] Int32[] rc, Single* tc, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fVertex3(Int32[] rc, Single* tc, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fVertex3([In, Out] UInt32[] rc, Single* tc, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fVertex3(UInt32[] rc, Single* tc, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fVertex3([In, Out] Int32[] rc, Single* tc, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fVertex3(Int32[] rc, Single* tc, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] tc, Single* v) + unsafe void ReplacementCodeuiTexCoord2fVertex3(UInt32[] rc, Single[] tc, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* tc_ptr = tc) { Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fVertex3([In, Out] Int32[] rc, [In, Out] Single[] tc, Single* v) + unsafe void ReplacementCodeuiTexCoord2fVertex3(Int32[] rc, Single[] tc, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* tc_ptr = tc) { Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] tc, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fVertex3(UInt32[] rc, Single[] tc, Single[] v) { unsafe { @@ -40331,7 +41566,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fVertex3([In, Out] Int32[] rc, [In, Out] Single[] tc, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fVertex3(Int32[] rc, Single[] tc, Single[] v) { unsafe { @@ -40346,7 +41581,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] tc, ref Single v) + void ReplacementCodeuiTexCoord2fVertex3(UInt32[] rc, Single[] tc, ref Single v) { unsafe { @@ -40360,7 +41595,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fVertex3([In, Out] Int32[] rc, [In, Out] Single[] tc, ref Single v) + void ReplacementCodeuiTexCoord2fVertex3(Int32[] rc, Single[] tc, ref Single v) { unsafe { @@ -40375,29 +41610,35 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fVertex3([In, Out] UInt32[] rc, ref Single tc, Single* v) + unsafe void ReplacementCodeuiTexCoord2fVertex3(UInt32[] rc, ref Single tc, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* tc_ptr = &tc) { Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fVertex3([In, Out] Int32[] rc, ref Single tc, Single* v) + unsafe void ReplacementCodeuiTexCoord2fVertex3(Int32[] rc, ref Single tc, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* tc_ptr = &tc) { Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fVertex3([In, Out] UInt32[] rc, ref Single tc, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fVertex3(UInt32[] rc, ref Single tc, Single[] v) { unsafe { @@ -40411,7 +41652,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fVertex3([In, Out] Int32[] rc, ref Single tc, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fVertex3(Int32[] rc, ref Single tc, Single[] v) { unsafe { @@ -40426,7 +41667,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fVertex3([In, Out] UInt32[] rc, ref Single tc, ref Single v) + void ReplacementCodeuiTexCoord2fVertex3(UInt32[] rc, ref Single tc, ref Single v) { unsafe { @@ -40440,7 +41681,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fVertex3([In, Out] Int32[] rc, ref Single tc, ref Single v) + void ReplacementCodeuiTexCoord2fVertex3(Int32[] rc, ref Single tc, ref Single v) { unsafe { @@ -40457,91 +41698,115 @@ namespace OpenTK.OpenGL public static unsafe void ReplacementCodeuiTexCoord2fVertex3(ref UInt32 rc, Single* tc, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) { Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)v); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fVertex3(ref Int32 rc, Single* tc, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) { Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fVertex3(ref UInt32 rc, Single* tc, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fVertex3(ref UInt32 rc, Single* tc, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fVertex3(ref Int32 rc, Single* tc, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fVertex3(ref Int32 rc, Single* tc, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fVertex3(ref UInt32 rc, Single* tc, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fVertex3(ref Int32 rc, Single* tc, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fVertex3(ref UInt32 rc, [In, Out] Single[] tc, Single* v) + unsafe void ReplacementCodeuiTexCoord2fVertex3(ref UInt32 rc, Single[] tc, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* tc_ptr = tc) { Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fVertex3(ref Int32 rc, [In, Out] Single[] tc, Single* v) + unsafe void ReplacementCodeuiTexCoord2fVertex3(ref Int32 rc, Single[] tc, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = tc) { Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fVertex3(ref UInt32 rc, [In, Out] Single[] tc, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fVertex3(ref UInt32 rc, Single[] tc, Single[] v) { unsafe { @@ -40555,7 +41820,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fVertex3(ref Int32 rc, [In, Out] Single[] tc, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fVertex3(ref Int32 rc, Single[] tc, Single[] v) { unsafe { @@ -40570,7 +41835,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fVertex3(ref UInt32 rc, [In, Out] Single[] tc, ref Single v) + void ReplacementCodeuiTexCoord2fVertex3(ref UInt32 rc, Single[] tc, ref Single v) { unsafe { @@ -40584,7 +41849,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fVertex3(ref Int32 rc, [In, Out] Single[] tc, ref Single v) + void ReplacementCodeuiTexCoord2fVertex3(ref Int32 rc, Single[] tc, ref Single v) { unsafe { @@ -40601,27 +41866,33 @@ namespace OpenTK.OpenGL public static unsafe void ReplacementCodeuiTexCoord2fVertex3(ref UInt32 rc, ref Single tc, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) { Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fVertex3(ref Int32 rc, ref Single tc, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) { Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fVertex3(ref UInt32 rc, ref Single tc, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fVertex3(ref UInt32 rc, ref Single tc, Single[] v) { unsafe { @@ -40635,7 +41906,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fVertex3(ref Int32 rc, ref Single tc, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fVertex3(ref Int32 rc, ref Single tc, Single[] v) { unsafe { @@ -40701,888 +41972,1123 @@ namespace OpenTK.OpenGL public static unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, Single* tc, Single* n, Single* v) { - { - Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)n, (Single*)v); - } + unsafe + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)n, (Single*)v); + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, Single* tc, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, Single* tc, Single* n, Single[] v) { + unsafe + { fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, Single* tc, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, Single* tc, Single* n, Single[] v) { + unsafe + { fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, Single* tc, Single* n, ref Single v) { + unsafe + { fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, Single* tc, Single* n, ref Single v) { + unsafe + { fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, Single* tc, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, Single* tc, Single[] n, Single* v) { + unsafe + { fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, Single* tc, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, Single* tc, Single[] n, Single* v) { + unsafe + { fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, Single* tc, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, Single* tc, Single[] n, Single[] v) { + unsafe + { fixed (Single* n_ptr = n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, Single* tc, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, Single* tc, Single[] n, Single[] v) { + unsafe + { fixed (Single* n_ptr = n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, Single* tc, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, Single* tc, Single[] n, ref Single v) { + unsafe + { fixed (Single* n_ptr = n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, Single* tc, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, Single* tc, Single[] n, ref Single v) { + unsafe + { fixed (Single* n_ptr = n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, Single* tc, ref Single n, Single* v) { + unsafe + { fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, Single* tc, ref Single n, Single* v) { + unsafe + { fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, Single* tc, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, Single* tc, ref Single n, Single[] v) { + unsafe + { fixed (Single* n_ptr = &n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, Single* tc, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, Single* tc, ref Single n, Single[] v) { + unsafe + { fixed (Single* n_ptr = &n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, Single* tc, ref Single n, ref Single v) { + unsafe + { fixed (Single* n_ptr = &n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, Single* tc, ref Single n, ref Single v) { + unsafe + { fixed (Single* n_ptr = &n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, [In, Out] Single[] tc, Single* n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, Single[] tc, Single* n, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, [In, Out] Single[] tc, Single* n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, Single[] tc, Single* n, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, [In, Out] Single[] tc, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, Single[] tc, Single* n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, [In, Out] Single[] tc, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, Single[] tc, Single* n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, [In, Out] Single[] tc, Single* n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, Single[] tc, Single* n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, [In, Out] Single[] tc, Single* n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, Single[] tc, Single* n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, [In, Out] Single[] tc, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, Single[] tc, Single[] n, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, [In, Out] Single[] tc, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, Single[] tc, Single[] n, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, [In, Out] Single[] tc, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, Single[] tc, Single[] n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, [In, Out] Single[] tc, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, Single[] tc, Single[] n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, [In, Out] Single[] tc, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, Single[] tc, Single[] n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, [In, Out] Single[] tc, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, Single[] tc, Single[] n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, [In, Out] Single[] tc, ref Single n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, Single[] tc, ref Single n, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, [In, Out] Single[] tc, ref Single n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, Single[] tc, ref Single n, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, [In, Out] Single[] tc, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, Single[] tc, ref Single n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, [In, Out] Single[] tc, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, Single[] tc, ref Single n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, [In, Out] Single[] tc, ref Single n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, Single[] tc, ref Single n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, [In, Out] Single[] tc, ref Single n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, Single[] tc, ref Single n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, ref Single tc, Single* n, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, ref Single tc, Single* n, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, ref Single tc, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, ref Single tc, Single* n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, ref Single tc, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, ref Single tc, Single* n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, ref Single tc, Single* n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, ref Single tc, Single* n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, ref Single tc, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, ref Single tc, Single[] n, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, ref Single tc, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, ref Single tc, Single[] n, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, ref Single tc, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, ref Single tc, Single[] n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, ref Single tc, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, ref Single tc, Single[] n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, ref Single tc, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, ref Single tc, Single[] n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, ref Single tc, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, ref Single tc, Single[] n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, ref Single tc, ref Single n, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, ref Single tc, ref Single n, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, ref Single tc, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, ref Single tc, ref Single n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, ref Single tc, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, ref Single tc, ref Single n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, ref Single tc, ref Single n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, ref Single tc, ref Single n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] UInt32[] rc, Single* tc, Single* n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32[] rc, Single* tc, Single* n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] Int32[] rc, Single* tc, Single* n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32[] rc, Single* tc, Single* n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] UInt32[] rc, Single* tc, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32[] rc, Single* tc, Single* n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] Int32[] rc, Single* tc, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32[] rc, Single* tc, Single* n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] UInt32[] rc, Single* tc, Single* n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32[] rc, Single* tc, Single* n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] Int32[] rc, Single* tc, Single* n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32[] rc, Single* tc, Single* n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] UInt32[] rc, Single* tc, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32[] rc, Single* tc, Single[] n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] Int32[] rc, Single* tc, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32[] rc, Single* tc, Single[] n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] UInt32[] rc, Single* tc, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32[] rc, Single* tc, Single[] n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* n_ptr = n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] Int32[] rc, Single* tc, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32[] rc, Single* tc, Single[] n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* n_ptr = n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] UInt32[] rc, Single* tc, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32[] rc, Single* tc, Single[] n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* n_ptr = n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] Int32[] rc, Single* tc, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32[] rc, Single* tc, Single[] n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* n_ptr = n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] UInt32[] rc, Single* tc, ref Single n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32[] rc, Single* tc, ref Single n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] Int32[] rc, Single* tc, ref Single n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32[] rc, Single* tc, ref Single n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] UInt32[] rc, Single* tc, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32[] rc, Single* tc, ref Single n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] Int32[] rc, Single* tc, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32[] rc, Single* tc, ref Single n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] UInt32[] rc, Single* tc, ref Single n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32[] rc, Single* tc, ref Single n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] Int32[] rc, Single* tc, ref Single n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32[] rc, Single* tc, ref Single n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] tc, Single* n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32[] rc, Single[] tc, Single* n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* tc_ptr = tc) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] tc, Single* n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32[] rc, Single[] tc, Single* n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* tc_ptr = tc) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] tc, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32[] rc, Single[] tc, Single* n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* tc_ptr = tc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] tc, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32[] rc, Single[] tc, Single* n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* tc_ptr = tc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] tc, Single* n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32[] rc, Single[] tc, Single* n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* tc_ptr = tc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] tc, Single* n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32[] rc, Single[] tc, Single* n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* tc_ptr = tc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] tc, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32[] rc, Single[] tc, Single[] n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] tc, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32[] rc, Single[] tc, Single[] n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] tc, [In, Out] Single[] n, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32[] rc, Single[] tc, Single[] n, Single[] v) { unsafe { @@ -41597,7 +43103,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] tc, [In, Out] Single[] n, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32[] rc, Single[] tc, Single[] n, Single[] v) { unsafe { @@ -41613,7 +43119,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] tc, [In, Out] Single[] n, ref Single v) + void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32[] rc, Single[] tc, Single[] n, ref Single v) { unsafe { @@ -41628,7 +43134,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] tc, [In, Out] Single[] n, ref Single v) + void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32[] rc, Single[] tc, Single[] n, ref Single v) { unsafe { @@ -41644,31 +43150,37 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] tc, ref Single n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32[] rc, Single[] tc, ref Single n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] tc, ref Single n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32[] rc, Single[] tc, ref Single n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] tc, ref Single n, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32[] rc, Single[] tc, ref Single n, Single[] v) { unsafe { @@ -41683,7 +43195,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] tc, ref Single n, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32[] rc, Single[] tc, ref Single n, Single[] v) { unsafe { @@ -41699,7 +43211,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] tc, ref Single n, ref Single v) + void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32[] rc, Single[] tc, ref Single n, ref Single v) { unsafe { @@ -41714,7 +43226,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] tc, ref Single n, ref Single v) + void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32[] rc, Single[] tc, ref Single n, ref Single v) { unsafe { @@ -41730,101 +43242,125 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] UInt32[] rc, ref Single tc, Single* n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32[] rc, ref Single tc, Single* n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* tc_ptr = &tc) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] Int32[] rc, ref Single tc, Single* n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32[] rc, ref Single tc, Single* n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* tc_ptr = &tc) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] UInt32[] rc, ref Single tc, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32[] rc, ref Single tc, Single* n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* tc_ptr = &tc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] Int32[] rc, ref Single tc, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32[] rc, ref Single tc, Single* n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* tc_ptr = &tc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] UInt32[] rc, ref Single tc, Single* n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32[] rc, ref Single tc, Single* n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* tc_ptr = &tc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] Int32[] rc, ref Single tc, Single* n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32[] rc, ref Single tc, Single* n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* tc_ptr = &tc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] UInt32[] rc, ref Single tc, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32[] rc, ref Single tc, Single[] n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] Int32[] rc, ref Single tc, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32[] rc, ref Single tc, Single[] n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] UInt32[] rc, ref Single tc, [In, Out] Single[] n, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32[] rc, ref Single tc, Single[] n, Single[] v) { unsafe { @@ -41839,7 +43375,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] Int32[] rc, ref Single tc, [In, Out] Single[] n, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32[] rc, ref Single tc, Single[] n, Single[] v) { unsafe { @@ -41855,7 +43391,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] UInt32[] rc, ref Single tc, [In, Out] Single[] n, ref Single v) + void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32[] rc, ref Single tc, Single[] n, ref Single v) { unsafe { @@ -41870,7 +43406,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] Int32[] rc, ref Single tc, [In, Out] Single[] n, ref Single v) + void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32[] rc, ref Single tc, Single[] n, ref Single v) { unsafe { @@ -41886,31 +43422,37 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] UInt32[] rc, ref Single tc, ref Single n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32[] rc, ref Single tc, ref Single n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] Int32[] rc, ref Single tc, ref Single n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32[] rc, ref Single tc, ref Single n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] UInt32[] rc, ref Single tc, ref Single n, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32[] rc, ref Single tc, ref Single n, Single[] v) { unsafe { @@ -41925,7 +43467,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] Int32[] rc, ref Single tc, ref Single n, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32[] rc, ref Single tc, ref Single n, Single[] v) { unsafe { @@ -41941,7 +43483,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] UInt32[] rc, ref Single tc, ref Single n, ref Single v) + void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32[] rc, ref Single tc, ref Single n, ref Single v) { unsafe { @@ -41956,7 +43498,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fNormal3fVertex3([In, Out] Int32[] rc, ref Single tc, ref Single n, ref Single v) + void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32[] rc, ref Single tc, ref Single n, ref Single v) { unsafe { @@ -41974,303 +43516,381 @@ namespace OpenTK.OpenGL public static unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, Single* tc, Single* n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, Single* tc, Single* n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, Single* tc, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, Single* tc, Single* n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, Single* tc, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, Single* tc, Single* n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, Single* tc, Single* n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, Single* tc, Single* n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, Single* tc, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, Single* tc, Single[] n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, Single* tc, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, Single* tc, Single[] n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, Single* tc, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, Single* tc, Single[] n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* n_ptr = n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, Single* tc, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, Single* tc, Single[] n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* n_ptr = n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, Single* tc, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, Single* tc, Single[] n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* n_ptr = n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, Single* tc, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, Single* tc, Single[] n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* n_ptr = n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, Single* tc, ref Single n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, Single* tc, ref Single n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, Single* tc, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, Single* tc, ref Single n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, Single* tc, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, Single* tc, ref Single n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, Single* tc, ref Single n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, Single* tc, ref Single n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, [In, Out] Single[] tc, Single* n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, Single[] tc, Single* n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* tc_ptr = tc) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, [In, Out] Single[] tc, Single* n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, Single[] tc, Single* n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = tc) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, [In, Out] Single[] tc, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, Single[] tc, Single* n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* tc_ptr = tc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, [In, Out] Single[] tc, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, Single[] tc, Single* n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = tc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, [In, Out] Single[] tc, Single* n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, Single[] tc, Single* n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* tc_ptr = tc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, [In, Out] Single[] tc, Single* n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, Single[] tc, Single* n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = tc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, [In, Out] Single[] tc, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, Single[] tc, Single[] n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, [In, Out] Single[] tc, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, Single[] tc, Single[] n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, [In, Out] Single[] tc, [In, Out] Single[] n, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, Single[] tc, Single[] n, Single[] v) { unsafe { @@ -42285,7 +43905,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, [In, Out] Single[] tc, [In, Out] Single[] n, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, Single[] tc, Single[] n, Single[] v) { unsafe { @@ -42301,7 +43921,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, [In, Out] Single[] tc, [In, Out] Single[] n, ref Single v) + void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, Single[] tc, Single[] n, ref Single v) { unsafe { @@ -42316,7 +43936,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, [In, Out] Single[] tc, [In, Out] Single[] n, ref Single v) + void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, Single[] tc, Single[] n, ref Single v) { unsafe { @@ -42332,31 +43952,37 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, [In, Out] Single[] tc, ref Single n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, Single[] tc, ref Single n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, [In, Out] Single[] tc, ref Single n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, Single[] tc, ref Single n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, [In, Out] Single[] tc, ref Single n, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, Single[] tc, ref Single n, Single[] v) { unsafe { @@ -42371,7 +43997,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, [In, Out] Single[] tc, ref Single n, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, Single[] tc, ref Single n, Single[] v) { unsafe { @@ -42387,7 +44013,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, [In, Out] Single[] tc, ref Single n, ref Single v) + void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, Single[] tc, ref Single n, ref Single v) { unsafe { @@ -42402,7 +44028,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, [In, Out] Single[] tc, ref Single n, ref Single v) + void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, Single[] tc, ref Single n, ref Single v) { unsafe { @@ -42420,99 +44046,123 @@ namespace OpenTK.OpenGL public static unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, ref Single tc, Single* n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, ref Single tc, Single* n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, ref Single tc, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, ref Single tc, Single* n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, ref Single tc, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, ref Single tc, Single* n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, ref Single tc, Single* n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, ref Single tc, Single* n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, ref Single tc, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, ref Single tc, Single[] n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, ref Single tc, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, ref Single tc, Single[] n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, ref Single tc, [In, Out] Single[] n, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, ref Single tc, Single[] n, Single[] v) { unsafe { @@ -42527,7 +44177,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, ref Single tc, [In, Out] Single[] n, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, ref Single tc, Single[] n, Single[] v) { unsafe { @@ -42543,7 +44193,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, ref Single tc, [In, Out] Single[] n, ref Single v) + void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, ref Single tc, Single[] n, ref Single v) { unsafe { @@ -42558,7 +44208,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, ref Single tc, [In, Out] Single[] n, ref Single v) + void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, ref Single tc, Single[] n, ref Single v) { unsafe { @@ -42576,29 +44226,35 @@ namespace OpenTK.OpenGL public static unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, ref Single tc, ref Single n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, ref Single tc, ref Single n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, ref Single tc, ref Single n, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, ref Single tc, ref Single n, Single[] v) { unsafe { @@ -42613,7 +44269,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, ref Single tc, ref Single n, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, ref Single tc, ref Single n, Single[] v) { unsafe { @@ -42682,889 +44338,1126 @@ namespace OpenTK.OpenGL public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, Single* c, Single* n, Single* v) { - { - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c, (Single*)n, (Single*)v); - } + unsafe + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c, (Single*)n, (Single*)v); + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, Single* c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, Single* c, Single* n, Single[] v) { + unsafe + { fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, Single* c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, Single* c, Single* n, Single[] v) { + unsafe + { fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, Single* c, Single* n, ref Single v) { + unsafe + { fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, Single* c, Single* n, ref Single v) { + unsafe + { fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, Single* c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, Single* c, Single[] n, Single* v) { + unsafe + { fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, Single* c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, Single* c, Single[] n, Single* v) { + unsafe + { fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, Single* c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, Single* c, Single[] n, Single[] v) { + unsafe + { fixed (Single* n_ptr = n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, Single* c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, Single* c, Single[] n, Single[] v) { + unsafe + { fixed (Single* n_ptr = n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, Single* c, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, Single* c, Single[] n, ref Single v) { + unsafe + { fixed (Single* n_ptr = n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, Single* c, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, Single* c, Single[] n, ref Single v) { + unsafe + { fixed (Single* n_ptr = n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, Single* c, ref Single n, Single* v) { + unsafe + { fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, Single* c, ref Single n, Single* v) { + unsafe + { fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, Single* c, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, Single* c, ref Single n, Single[] v) { + unsafe + { fixed (Single* n_ptr = &n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, Single* c, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, Single* c, ref Single n, Single[] v) { + unsafe + { fixed (Single* n_ptr = &n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, Single* c, ref Single n, ref Single v) { + unsafe + { fixed (Single* n_ptr = &n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, Single* c, ref Single n, ref Single v) { + unsafe + { fixed (Single* n_ptr = &n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, [In, Out] Single[] c, Single* n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, Single[] c, Single* n, Single* v) { + unsafe + { fixed (Single* c_ptr = c) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, [In, Out] Single[] c, Single* n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, Single[] c, Single* n, Single* v) { + unsafe + { fixed (Single* c_ptr = c) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, [In, Out] Single[] c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, Single[] c, Single* n, Single[] v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, [In, Out] Single[] c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, Single[] c, Single* n, Single[] v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, [In, Out] Single[] c, Single* n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, Single[] c, Single* n, ref Single v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, [In, Out] Single[] c, Single* n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, Single[] c, Single* n, ref Single v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, [In, Out] Single[] c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, Single[] c, Single[] n, Single* v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, [In, Out] Single[] c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, Single[] c, Single[] n, Single* v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, [In, Out] Single[] c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, Single[] c, Single[] n, Single[] v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, [In, Out] Single[] c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, Single[] c, Single[] n, Single[] v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, [In, Out] Single[] c, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, Single[] c, Single[] n, ref Single v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, [In, Out] Single[] c, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, Single[] c, Single[] n, ref Single v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, [In, Out] Single[] c, ref Single n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, Single[] c, ref Single n, Single* v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, [In, Out] Single[] c, ref Single n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, Single[] c, ref Single n, Single* v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, [In, Out] Single[] c, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, Single[] c, ref Single n, Single[] v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, [In, Out] Single[] c, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, Single[] c, ref Single n, Single[] v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, [In, Out] Single[] c, ref Single n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, Single[] c, ref Single n, ref Single v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, [In, Out] Single[] c, ref Single n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, Single[] c, ref Single n, ref Single v) { + unsafe + { fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, ref Single c, Single* n, Single* v) { + unsafe + { fixed (Single* c_ptr = &c) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, ref Single c, Single* n, Single* v) { + unsafe + { fixed (Single* c_ptr = &c) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, ref Single c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, ref Single c, Single* n, Single[] v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, ref Single c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, ref Single c, Single* n, Single[] v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, ref Single c, Single* n, ref Single v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, ref Single c, Single* n, ref Single v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, ref Single c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, ref Single c, Single[] n, Single* v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, ref Single c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, ref Single c, Single[] n, Single* v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, ref Single c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, ref Single c, Single[] n, Single[] v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, ref Single c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, ref Single c, Single[] n, Single[] v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, ref Single c, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, ref Single c, Single[] n, ref Single v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, ref Single c, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, ref Single c, Single[] n, ref Single v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, ref Single c, ref Single n, Single* v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, ref Single c, ref Single n, Single* v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, ref Single c, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, ref Single c, ref Single n, Single[] v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, ref Single c, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, ref Single c, ref Single n, Single[] v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, ref Single c, ref Single n, ref Single v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, ref Single c, ref Single n, ref Single v) { + unsafe + { fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, [In, Out] Single[] tc, Single* c, Single* n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single[] tc, Single* c, Single* n, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, [In, Out] Single[] tc, Single* c, Single* n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single[] tc, Single* c, Single* n, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, [In, Out] Single[] tc, Single* c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single[] tc, Single* c, Single* n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, [In, Out] Single[] tc, Single* c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single[] tc, Single* c, Single* n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, [In, Out] Single[] tc, Single* c, Single* n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single[] tc, Single* c, Single* n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, [In, Out] Single[] tc, Single* c, Single* n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single[] tc, Single* c, Single* n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, [In, Out] Single[] tc, Single* c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single[] tc, Single* c, Single[] n, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, [In, Out] Single[] tc, Single* c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single[] tc, Single* c, Single[] n, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, [In, Out] Single[] tc, Single* c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single[] tc, Single* c, Single[] n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, [In, Out] Single[] tc, Single* c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single[] tc, Single* c, Single[] n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, [In, Out] Single[] tc, Single* c, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single[] tc, Single* c, Single[] n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, [In, Out] Single[] tc, Single* c, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single[] tc, Single* c, Single[] n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, [In, Out] Single[] tc, Single* c, ref Single n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single[] tc, Single* c, ref Single n, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, [In, Out] Single[] tc, Single* c, ref Single n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single[] tc, Single* c, ref Single n, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, [In, Out] Single[] tc, Single* c, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single[] tc, Single* c, ref Single n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, [In, Out] Single[] tc, Single* c, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single[] tc, Single* c, ref Single n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, [In, Out] Single[] tc, Single* c, ref Single n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single[] tc, Single* c, ref Single n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, [In, Out] Single[] tc, Single* c, ref Single n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single[] tc, Single* c, ref Single n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, [In, Out] Single[] tc, [In, Out] Single[] c, Single* n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single[] tc, Single[] c, Single* n, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = c) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, [In, Out] Single[] tc, [In, Out] Single[] c, Single* n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single[] tc, Single[] c, Single* n, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = c) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, [In, Out] Single[] tc, [In, Out] Single[] c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single[] tc, Single[] c, Single* n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = c) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, [In, Out] Single[] tc, [In, Out] Single[] c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single[] tc, Single[] c, Single* n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = c) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, [In, Out] Single[] tc, [In, Out] Single[] c, Single* n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single[] tc, Single[] c, Single* n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = c) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, [In, Out] Single[] tc, [In, Out] Single[] c, Single* n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single[] tc, Single[] c, Single* n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = c) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, [In, Out] Single[] tc, [In, Out] Single[] c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single[] tc, Single[] c, Single[] n, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, [In, Out] Single[] tc, [In, Out] Single[] c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single[] tc, Single[] c, Single[] n, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, [In, Out] Single[] tc, [In, Out] Single[] c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single[] tc, Single[] c, Single[] n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) @@ -43572,12 +45465,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, [In, Out] Single[] tc, [In, Out] Single[] c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single[] tc, Single[] c, Single[] n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) @@ -43585,12 +45481,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, [In, Out] Single[] tc, [In, Out] Single[] c, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single[] tc, Single[] c, Single[] n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) @@ -43598,12 +45497,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, [In, Out] Single[] tc, [In, Out] Single[] c, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single[] tc, Single[] c, Single[] n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) @@ -43611,36 +45513,45 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, [In, Out] Single[] tc, [In, Out] Single[] c, ref Single n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single[] tc, Single[] c, ref Single n, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, [In, Out] Single[] tc, [In, Out] Single[] c, ref Single n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single[] tc, Single[] c, ref Single n, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, [In, Out] Single[] tc, [In, Out] Single[] c, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single[] tc, Single[] c, ref Single n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) @@ -43648,12 +45559,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, [In, Out] Single[] tc, [In, Out] Single[] c, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single[] tc, Single[] c, ref Single n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) @@ -43661,12 +45575,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, [In, Out] Single[] tc, [In, Out] Single[] c, ref Single n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single[] tc, Single[] c, ref Single n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) @@ -43674,12 +45591,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, [In, Out] Single[] tc, [In, Out] Single[] c, ref Single n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single[] tc, Single[] c, ref Single n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) @@ -43687,106 +45607,133 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, [In, Out] Single[] tc, ref Single c, Single* n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single[] tc, ref Single c, Single* n, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = &c) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, [In, Out] Single[] tc, ref Single c, Single* n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single[] tc, ref Single c, Single* n, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = &c) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, [In, Out] Single[] tc, ref Single c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single[] tc, ref Single c, Single* n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = &c) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, [In, Out] Single[] tc, ref Single c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single[] tc, ref Single c, Single* n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = &c) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, [In, Out] Single[] tc, ref Single c, Single* n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single[] tc, ref Single c, Single* n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = &c) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, [In, Out] Single[] tc, ref Single c, Single* n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single[] tc, ref Single c, Single* n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = &c) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, [In, Out] Single[] tc, ref Single c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single[] tc, ref Single c, Single[] n, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, [In, Out] Single[] tc, ref Single c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single[] tc, ref Single c, Single[] n, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, [In, Out] Single[] tc, ref Single c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single[] tc, ref Single c, Single[] n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) @@ -43794,12 +45741,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, [In, Out] Single[] tc, ref Single c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single[] tc, ref Single c, Single[] n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) @@ -43807,12 +45757,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, [In, Out] Single[] tc, ref Single c, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single[] tc, ref Single c, Single[] n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) @@ -43820,12 +45773,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, [In, Out] Single[] tc, ref Single c, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single[] tc, ref Single c, Single[] n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) @@ -43833,36 +45789,45 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, [In, Out] Single[] tc, ref Single c, ref Single n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single[] tc, ref Single c, ref Single n, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, [In, Out] Single[] tc, ref Single c, ref Single n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single[] tc, ref Single c, ref Single n, Single* v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, [In, Out] Single[] tc, ref Single c, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single[] tc, ref Single c, ref Single n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) @@ -43870,12 +45835,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, [In, Out] Single[] tc, ref Single c, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single[] tc, ref Single c, ref Single n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) @@ -43883,12 +45851,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, [In, Out] Single[] tc, ref Single c, ref Single n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single[] tc, ref Single c, ref Single n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) @@ -43896,12 +45867,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, [In, Out] Single[] tc, ref Single c, ref Single n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single[] tc, ref Single c, ref Single n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) @@ -43909,310 +45883,391 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, ref Single tc, Single* c, Single* n, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, ref Single tc, Single* c, Single* n, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, ref Single tc, Single* c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, ref Single tc, Single* c, Single* n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, ref Single tc, Single* c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, ref Single tc, Single* c, Single* n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, ref Single tc, Single* c, Single* n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, ref Single tc, Single* c, Single* n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, ref Single tc, Single* c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, ref Single tc, Single* c, Single[] n, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, ref Single tc, Single* c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, ref Single tc, Single* c, Single[] n, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, ref Single tc, Single* c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, ref Single tc, Single* c, Single[] n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, ref Single tc, Single* c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, ref Single tc, Single* c, Single[] n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, ref Single tc, Single* c, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, ref Single tc, Single* c, Single[] n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, ref Single tc, Single* c, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, ref Single tc, Single* c, Single[] n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, ref Single tc, Single* c, ref Single n, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, ref Single tc, Single* c, ref Single n, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, ref Single tc, Single* c, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, ref Single tc, Single* c, ref Single n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, ref Single tc, Single* c, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, ref Single tc, Single* c, ref Single n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, ref Single tc, Single* c, ref Single n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, ref Single tc, Single* c, ref Single n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, ref Single tc, [In, Out] Single[] c, Single* n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, ref Single tc, Single[] c, Single* n, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = c) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, ref Single tc, [In, Out] Single[] c, Single* n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, ref Single tc, Single[] c, Single* n, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = c) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, ref Single tc, [In, Out] Single[] c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, ref Single tc, Single[] c, Single* n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = c) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, ref Single tc, [In, Out] Single[] c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, ref Single tc, Single[] c, Single* n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = c) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, ref Single tc, [In, Out] Single[] c, Single* n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, ref Single tc, Single[] c, Single* n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = c) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, ref Single tc, [In, Out] Single[] c, Single* n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, ref Single tc, Single[] c, Single* n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = c) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, ref Single tc, [In, Out] Single[] c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, ref Single tc, Single[] c, Single[] n, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, ref Single tc, [In, Out] Single[] c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, ref Single tc, Single[] c, Single[] n, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, ref Single tc, [In, Out] Single[] c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, ref Single tc, Single[] c, Single[] n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) @@ -44220,12 +46275,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, ref Single tc, [In, Out] Single[] c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, ref Single tc, Single[] c, Single[] n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) @@ -44233,12 +46291,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, ref Single tc, [In, Out] Single[] c, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, ref Single tc, Single[] c, Single[] n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) @@ -44246,12 +46307,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, ref Single tc, [In, Out] Single[] c, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, ref Single tc, Single[] c, Single[] n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) @@ -44259,36 +46323,45 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, ref Single tc, [In, Out] Single[] c, ref Single n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, ref Single tc, Single[] c, ref Single n, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, ref Single tc, [In, Out] Single[] c, ref Single n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, ref Single tc, Single[] c, ref Single n, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, ref Single tc, [In, Out] Single[] c, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, ref Single tc, Single[] c, ref Single n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) @@ -44296,12 +46369,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, ref Single tc, [In, Out] Single[] c, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, ref Single tc, Single[] c, ref Single n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) @@ -44309,12 +46385,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, ref Single tc, [In, Out] Single[] c, ref Single n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, ref Single tc, Single[] c, ref Single n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) @@ -44322,12 +46401,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, ref Single tc, [In, Out] Single[] c, ref Single n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, ref Single tc, Single[] c, ref Single n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) @@ -44335,106 +46417,133 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, ref Single tc, ref Single c, Single* n, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = &c) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, ref Single tc, ref Single c, Single* n, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = &c) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, ref Single tc, ref Single c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, ref Single tc, ref Single c, Single* n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = &c) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, ref Single tc, ref Single c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, ref Single tc, ref Single c, Single* n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = &c) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, ref Single tc, ref Single c, Single* n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = &c) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, ref Single tc, ref Single c, Single* n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = &c) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, ref Single tc, ref Single c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, ref Single tc, ref Single c, Single[] n, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, ref Single tc, ref Single c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, ref Single tc, ref Single c, Single[] n, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, ref Single tc, ref Single c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, ref Single tc, ref Single c, Single[] n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) @@ -44442,12 +46551,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, ref Single tc, ref Single c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, ref Single tc, ref Single c, Single[] n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) @@ -44455,12 +46567,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, ref Single tc, ref Single c, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, ref Single tc, ref Single c, Single[] n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) @@ -44468,12 +46583,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, ref Single tc, ref Single c, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, ref Single tc, ref Single c, Single[] n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) @@ -44481,36 +46599,45 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, ref Single tc, ref Single c, ref Single n, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, ref Single tc, ref Single c, ref Single n, Single* v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, ref Single tc, ref Single c, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, ref Single tc, ref Single c, ref Single n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) @@ -44518,12 +46645,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, ref Single tc, ref Single c, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, ref Single tc, ref Single c, ref Single n, Single[] v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) @@ -44531,12 +46661,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, ref Single tc, ref Single c, ref Single n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) @@ -44544,12 +46677,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, ref Single tc, ref Single c, ref Single n, ref Single v) { + unsafe + { fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) @@ -44557,310 +46693,391 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, Single* tc, Single* c, Single* n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single* tc, Single* c, Single* n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, Single* tc, Single* c, Single* n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single* tc, Single* c, Single* n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, Single* tc, Single* c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single* tc, Single* c, Single* n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, Single* tc, Single* c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single* tc, Single* c, Single* n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, Single* tc, Single* c, Single* n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single* tc, Single* c, Single* n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, Single* tc, Single* c, Single* n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single* tc, Single* c, Single* n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, Single* tc, Single* c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single* tc, Single* c, Single[] n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, Single* tc, Single* c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single* tc, Single* c, Single[] n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, Single* tc, Single* c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single* tc, Single* c, Single[] n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* n_ptr = n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, Single* tc, Single* c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single* tc, Single* c, Single[] n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* n_ptr = n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, Single* tc, Single* c, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single* tc, Single* c, Single[] n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* n_ptr = n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, Single* tc, Single* c, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single* tc, Single* c, Single[] n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* n_ptr = n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, Single* tc, Single* c, ref Single n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single* tc, Single* c, ref Single n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, Single* tc, Single* c, ref Single n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single* tc, Single* c, ref Single n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, Single* tc, Single* c, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single* tc, Single* c, ref Single n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, Single* tc, Single* c, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single* tc, Single* c, ref Single n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, Single* tc, Single* c, ref Single n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single* tc, Single* c, ref Single n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, Single* tc, Single* c, ref Single n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single* tc, Single* c, ref Single n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, Single* tc, [In, Out] Single[] c, Single* n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single* tc, Single[] c, Single* n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* c_ptr = c) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, Single* tc, [In, Out] Single[] c, Single* n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single* tc, Single[] c, Single* n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* c_ptr = c) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, Single* tc, [In, Out] Single[] c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single* tc, Single[] c, Single* n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* c_ptr = c) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, Single* tc, [In, Out] Single[] c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single* tc, Single[] c, Single* n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* c_ptr = c) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, Single* tc, [In, Out] Single[] c, Single* n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single* tc, Single[] c, Single* n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* c_ptr = c) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, Single* tc, [In, Out] Single[] c, Single* n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single* tc, Single[] c, Single* n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* c_ptr = c) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, Single* tc, [In, Out] Single[] c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single* tc, Single[] c, Single[] n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, Single* tc, [In, Out] Single[] c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single* tc, Single[] c, Single[] n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, Single* tc, [In, Out] Single[] c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single* tc, Single[] c, Single[] n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) @@ -44868,12 +47085,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, Single* tc, [In, Out] Single[] c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single* tc, Single[] c, Single[] n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) @@ -44881,12 +47101,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, Single* tc, [In, Out] Single[] c, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single* tc, Single[] c, Single[] n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) @@ -44894,12 +47117,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, Single* tc, [In, Out] Single[] c, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single* tc, Single[] c, Single[] n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) @@ -44907,36 +47133,45 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, Single* tc, [In, Out] Single[] c, ref Single n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single* tc, Single[] c, ref Single n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, Single* tc, [In, Out] Single[] c, ref Single n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single* tc, Single[] c, ref Single n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, Single* tc, [In, Out] Single[] c, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single* tc, Single[] c, ref Single n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) @@ -44944,12 +47179,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, Single* tc, [In, Out] Single[] c, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single* tc, Single[] c, ref Single n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) @@ -44957,12 +47195,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, Single* tc, [In, Out] Single[] c, ref Single n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single* tc, Single[] c, ref Single n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) @@ -44970,12 +47211,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, Single* tc, [In, Out] Single[] c, ref Single n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single* tc, Single[] c, ref Single n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) @@ -44983,106 +47227,133 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, Single* tc, ref Single c, Single* n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single* tc, ref Single c, Single* n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* c_ptr = &c) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, Single* tc, ref Single c, Single* n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single* tc, ref Single c, Single* n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* c_ptr = &c) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, Single* tc, ref Single c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single* tc, ref Single c, Single* n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* c_ptr = &c) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, Single* tc, ref Single c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single* tc, ref Single c, Single* n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* c_ptr = &c) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, Single* tc, ref Single c, Single* n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single* tc, ref Single c, Single* n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* c_ptr = &c) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, Single* tc, ref Single c, Single* n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single* tc, ref Single c, Single* n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* c_ptr = &c) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, Single* tc, ref Single c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single* tc, ref Single c, Single[] n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, Single* tc, ref Single c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single* tc, ref Single c, Single[] n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, Single* tc, ref Single c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single* tc, ref Single c, Single[] n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) @@ -45090,12 +47361,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, Single* tc, ref Single c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single* tc, ref Single c, Single[] n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) @@ -45103,12 +47377,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, Single* tc, ref Single c, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single* tc, ref Single c, Single[] n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) @@ -45116,12 +47393,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, Single* tc, ref Single c, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single* tc, ref Single c, Single[] n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) @@ -45129,36 +47409,45 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, Single* tc, ref Single c, ref Single n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single* tc, ref Single c, ref Single n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, Single* tc, ref Single c, ref Single n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single* tc, ref Single c, ref Single n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, Single* tc, ref Single c, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single* tc, ref Single c, ref Single n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) @@ -45166,12 +47455,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, Single* tc, ref Single c, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single* tc, ref Single c, ref Single n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) @@ -45179,12 +47471,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, Single* tc, ref Single c, ref Single n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single* tc, ref Single c, ref Single n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) @@ -45192,12 +47487,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, Single* tc, ref Single c, ref Single n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single* tc, ref Single c, ref Single n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) @@ -45205,106 +47503,133 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] tc, Single* c, Single* n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single[] tc, Single* c, Single* n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* tc_ptr = tc) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] tc, Single* c, Single* n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single[] tc, Single* c, Single* n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* tc_ptr = tc) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] tc, Single* c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single[] tc, Single* c, Single* n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* tc_ptr = tc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] tc, Single* c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single[] tc, Single* c, Single* n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* tc_ptr = tc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] tc, Single* c, Single* n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single[] tc, Single* c, Single* n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* tc_ptr = tc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] tc, Single* c, Single* n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single[] tc, Single* c, Single* n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* tc_ptr = tc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] tc, Single* c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single[] tc, Single* c, Single[] n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] tc, Single* c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single[] tc, Single* c, Single[] n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] tc, Single* c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single[] tc, Single* c, Single[] n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = n) @@ -45312,12 +47637,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] tc, Single* c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single[] tc, Single* c, Single[] n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = n) @@ -45325,12 +47653,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] tc, Single* c, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single[] tc, Single* c, Single[] n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = n) @@ -45338,12 +47669,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] tc, Single* c, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single[] tc, Single* c, Single[] n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = n) @@ -45351,36 +47685,45 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] tc, Single* c, ref Single n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single[] tc, Single* c, ref Single n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] tc, Single* c, ref Single n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single[] tc, Single* c, ref Single n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] tc, Single* c, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single[] tc, Single* c, ref Single n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = &n) @@ -45388,12 +47731,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] tc, Single* c, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single[] tc, Single* c, ref Single n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = &n) @@ -45401,12 +47747,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] tc, Single* c, ref Single n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single[] tc, Single* c, ref Single n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = &n) @@ -45414,12 +47763,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] tc, Single* c, ref Single n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single[] tc, Single* c, ref Single n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = &n) @@ -45427,36 +47779,45 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] tc, [In, Out] Single[] c, Single* n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single[] tc, Single[] c, Single* n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = c) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] tc, [In, Out] Single[] c, Single* n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single[] tc, Single[] c, Single* n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = c) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] tc, [In, Out] Single[] c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single[] tc, Single[] c, Single* n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = c) @@ -45464,12 +47825,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] tc, [In, Out] Single[] c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single[] tc, Single[] c, Single* n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = c) @@ -45477,12 +47841,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] tc, [In, Out] Single[] c, Single* n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single[] tc, Single[] c, Single* n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = c) @@ -45490,12 +47857,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] tc, [In, Out] Single[] c, Single* n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single[] tc, Single[] c, Single* n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = c) @@ -45503,12 +47873,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] tc, [In, Out] Single[] c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single[] tc, Single[] c, Single[] n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = c) @@ -45516,12 +47889,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] tc, [In, Out] Single[] c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single[] tc, Single[] c, Single[] n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = c) @@ -45529,11 +47905,12 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] tc, [In, Out] Single[] c, [In, Out] Single[] n, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single[] tc, Single[] c, Single[] n, Single[] v) { unsafe { @@ -45549,7 +47926,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] tc, [In, Out] Single[] c, [In, Out] Single[] n, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single[] tc, Single[] c, Single[] n, Single[] v) { unsafe { @@ -45566,7 +47943,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] tc, [In, Out] Single[] c, [In, Out] Single[] n, ref Single v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single[] tc, Single[] c, Single[] n, ref Single v) { unsafe { @@ -45582,7 +47959,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] tc, [In, Out] Single[] c, [In, Out] Single[] n, ref Single v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single[] tc, Single[] c, Single[] n, ref Single v) { unsafe { @@ -45599,8 +47976,10 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] tc, [In, Out] Single[] c, ref Single n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single[] tc, Single[] c, ref Single n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = c) @@ -45608,12 +47987,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] tc, [In, Out] Single[] c, ref Single n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single[] tc, Single[] c, ref Single n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = c) @@ -45621,11 +48003,12 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] tc, [In, Out] Single[] c, ref Single n, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single[] tc, Single[] c, ref Single n, Single[] v) { unsafe { @@ -45641,7 +48024,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] tc, [In, Out] Single[] c, ref Single n, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single[] tc, Single[] c, ref Single n, Single[] v) { unsafe { @@ -45658,7 +48041,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] tc, [In, Out] Single[] c, ref Single n, ref Single v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single[] tc, Single[] c, ref Single n, ref Single v) { unsafe { @@ -45674,7 +48057,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] tc, [In, Out] Single[] c, ref Single n, ref Single v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single[] tc, Single[] c, ref Single n, ref Single v) { unsafe { @@ -45691,32 +48074,40 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] tc, ref Single c, Single* n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single[] tc, ref Single c, Single* n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = &c) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] tc, ref Single c, Single* n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single[] tc, ref Single c, Single* n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = &c) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] tc, ref Single c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single[] tc, ref Single c, Single* n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = &c) @@ -45724,12 +48115,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] tc, ref Single c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single[] tc, ref Single c, Single* n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = &c) @@ -45737,12 +48131,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] tc, ref Single c, Single* n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single[] tc, ref Single c, Single* n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = &c) @@ -45750,12 +48147,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] tc, ref Single c, Single* n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single[] tc, ref Single c, Single* n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = &c) @@ -45763,12 +48163,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] tc, ref Single c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single[] tc, ref Single c, Single[] n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = &c) @@ -45776,12 +48179,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] tc, ref Single c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single[] tc, ref Single c, Single[] n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = &c) @@ -45789,11 +48195,12 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] tc, ref Single c, [In, Out] Single[] n, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single[] tc, ref Single c, Single[] n, Single[] v) { unsafe { @@ -45809,7 +48216,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] tc, ref Single c, [In, Out] Single[] n, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single[] tc, ref Single c, Single[] n, Single[] v) { unsafe { @@ -45826,7 +48233,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] tc, ref Single c, [In, Out] Single[] n, ref Single v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single[] tc, ref Single c, Single[] n, ref Single v) { unsafe { @@ -45842,7 +48249,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] tc, ref Single c, [In, Out] Single[] n, ref Single v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single[] tc, ref Single c, Single[] n, ref Single v) { unsafe { @@ -45859,8 +48266,10 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] tc, ref Single c, ref Single n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single[] tc, ref Single c, ref Single n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = &c) @@ -45868,12 +48277,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] tc, ref Single c, ref Single n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single[] tc, ref Single c, ref Single n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = &c) @@ -45881,11 +48293,12 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] tc, ref Single c, ref Single n, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single[] tc, ref Single c, ref Single n, Single[] v) { unsafe { @@ -45901,7 +48314,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] tc, ref Single c, ref Single n, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single[] tc, ref Single c, ref Single n, Single[] v) { unsafe { @@ -45918,7 +48331,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, [In, Out] Single[] tc, ref Single c, ref Single n, ref Single v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, Single[] tc, ref Single c, ref Single n, ref Single v) { unsafe { @@ -45934,7 +48347,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, [In, Out] Single[] tc, ref Single c, ref Single n, ref Single v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, Single[] tc, ref Single c, ref Single n, ref Single v) { unsafe { @@ -45951,102 +48364,128 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, ref Single tc, Single* c, Single* n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, ref Single tc, Single* c, Single* n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* tc_ptr = &tc) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, ref Single tc, Single* c, Single* n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, ref Single tc, Single* c, Single* n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* tc_ptr = &tc) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, ref Single tc, Single* c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, ref Single tc, Single* c, Single* n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* tc_ptr = &tc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, ref Single tc, Single* c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, ref Single tc, Single* c, Single* n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* tc_ptr = &tc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, ref Single tc, Single* c, Single* n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, ref Single tc, Single* c, Single* n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* tc_ptr = &tc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, ref Single tc, Single* c, Single* n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, ref Single tc, Single* c, Single* n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* tc_ptr = &tc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, ref Single tc, Single* c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, ref Single tc, Single* c, Single[] n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, ref Single tc, Single* c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, ref Single tc, Single* c, Single[] n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, ref Single tc, Single* c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, ref Single tc, Single* c, Single[] n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = n) @@ -46054,12 +48493,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, ref Single tc, Single* c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, ref Single tc, Single* c, Single[] n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = n) @@ -46067,12 +48509,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, ref Single tc, Single* c, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, ref Single tc, Single* c, Single[] n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = n) @@ -46080,12 +48525,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, ref Single tc, Single* c, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, ref Single tc, Single* c, Single[] n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = n) @@ -46093,36 +48541,45 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, ref Single tc, Single* c, ref Single n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, ref Single tc, Single* c, ref Single n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, ref Single tc, Single* c, ref Single n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, ref Single tc, Single* c, ref Single n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, ref Single tc, Single* c, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, ref Single tc, Single* c, ref Single n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = &n) @@ -46130,12 +48587,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, ref Single tc, Single* c, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, ref Single tc, Single* c, ref Single n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = &n) @@ -46143,12 +48603,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, ref Single tc, Single* c, ref Single n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, ref Single tc, Single* c, ref Single n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = &n) @@ -46156,12 +48619,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, ref Single tc, Single* c, ref Single n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, ref Single tc, Single* c, ref Single n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = &n) @@ -46169,36 +48635,45 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, ref Single tc, [In, Out] Single[] c, Single* n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, ref Single tc, Single[] c, Single* n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = c) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, ref Single tc, [In, Out] Single[] c, Single* n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, ref Single tc, Single[] c, Single* n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = c) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, ref Single tc, [In, Out] Single[] c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, ref Single tc, Single[] c, Single* n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = c) @@ -46206,12 +48681,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, ref Single tc, [In, Out] Single[] c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, ref Single tc, Single[] c, Single* n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = c) @@ -46219,12 +48697,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, ref Single tc, [In, Out] Single[] c, Single* n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, ref Single tc, Single[] c, Single* n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = c) @@ -46232,12 +48713,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, ref Single tc, [In, Out] Single[] c, Single* n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, ref Single tc, Single[] c, Single* n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = c) @@ -46245,12 +48729,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, ref Single tc, [In, Out] Single[] c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, ref Single tc, Single[] c, Single[] n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = c) @@ -46258,12 +48745,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, ref Single tc, [In, Out] Single[] c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, ref Single tc, Single[] c, Single[] n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = c) @@ -46271,11 +48761,12 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, ref Single tc, [In, Out] Single[] c, [In, Out] Single[] n, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, ref Single tc, Single[] c, Single[] n, Single[] v) { unsafe { @@ -46291,7 +48782,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, ref Single tc, [In, Out] Single[] c, [In, Out] Single[] n, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, ref Single tc, Single[] c, Single[] n, Single[] v) { unsafe { @@ -46308,7 +48799,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, ref Single tc, [In, Out] Single[] c, [In, Out] Single[] n, ref Single v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, ref Single tc, Single[] c, Single[] n, ref Single v) { unsafe { @@ -46324,7 +48815,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, ref Single tc, [In, Out] Single[] c, [In, Out] Single[] n, ref Single v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, ref Single tc, Single[] c, Single[] n, ref Single v) { unsafe { @@ -46341,8 +48832,10 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, ref Single tc, [In, Out] Single[] c, ref Single n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, ref Single tc, Single[] c, ref Single n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = c) @@ -46350,12 +48843,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, ref Single tc, [In, Out] Single[] c, ref Single n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, ref Single tc, Single[] c, ref Single n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = c) @@ -46363,11 +48859,12 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, ref Single tc, [In, Out] Single[] c, ref Single n, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, ref Single tc, Single[] c, ref Single n, Single[] v) { unsafe { @@ -46383,7 +48880,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, ref Single tc, [In, Out] Single[] c, ref Single n, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, ref Single tc, Single[] c, ref Single n, Single[] v) { unsafe { @@ -46400,7 +48897,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, ref Single tc, [In, Out] Single[] c, ref Single n, ref Single v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, ref Single tc, Single[] c, ref Single n, ref Single v) { unsafe { @@ -46416,7 +48913,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, ref Single tc, [In, Out] Single[] c, ref Single n, ref Single v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, ref Single tc, Single[] c, ref Single n, ref Single v) { unsafe { @@ -46433,32 +48930,40 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, ref Single tc, ref Single c, Single* n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, ref Single tc, ref Single c, Single* n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = &c) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, ref Single tc, ref Single c, Single* n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, ref Single tc, ref Single c, Single* n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = &c) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, ref Single tc, ref Single c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, ref Single tc, ref Single c, Single* n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = &c) @@ -46466,12 +48971,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, ref Single tc, ref Single c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, ref Single tc, ref Single c, Single* n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = &c) @@ -46479,12 +48987,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, ref Single tc, ref Single c, Single* n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, ref Single tc, ref Single c, Single* n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = &c) @@ -46492,12 +49003,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, ref Single tc, ref Single c, Single* n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, ref Single tc, ref Single c, Single* n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = &c) @@ -46505,12 +49019,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, ref Single tc, ref Single c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, ref Single tc, ref Single c, Single[] n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = &c) @@ -46518,12 +49035,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, ref Single tc, ref Single c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, ref Single tc, ref Single c, Single[] n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = &c) @@ -46531,11 +49051,12 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, ref Single tc, ref Single c, [In, Out] Single[] n, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, ref Single tc, ref Single c, Single[] n, Single[] v) { unsafe { @@ -46551,7 +49072,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, ref Single tc, ref Single c, [In, Out] Single[] n, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, ref Single tc, ref Single c, Single[] n, Single[] v) { unsafe { @@ -46568,7 +49089,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, ref Single tc, ref Single c, [In, Out] Single[] n, ref Single v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, ref Single tc, ref Single c, Single[] n, ref Single v) { unsafe { @@ -46584,7 +49105,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, ref Single tc, ref Single c, [In, Out] Single[] n, ref Single v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, ref Single tc, ref Single c, Single[] n, ref Single v) { unsafe { @@ -46601,8 +49122,10 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, ref Single tc, ref Single c, ref Single n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, ref Single tc, ref Single c, ref Single n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = rc) fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = &c) @@ -46610,12 +49133,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, ref Single tc, ref Single c, ref Single n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, ref Single tc, ref Single c, ref Single n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = rc) fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = &c) @@ -46623,11 +49149,12 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, ref Single tc, ref Single c, ref Single n, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, ref Single tc, ref Single c, ref Single n, Single[] v) { unsafe { @@ -46643,7 +49170,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, ref Single tc, ref Single c, ref Single n, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, ref Single tc, ref Single c, ref Single n, Single[] v) { unsafe { @@ -46660,7 +49187,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] UInt32[] rc, ref Single tc, ref Single c, ref Single n, ref Single v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32[] rc, ref Single tc, ref Single c, ref Single n, ref Single v) { unsafe { @@ -46676,7 +49203,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3([In, Out] Int32[] rc, ref Single tc, ref Single c, ref Single n, ref Single v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32[] rc, ref Single tc, ref Single c, ref Single n, ref Single v) { unsafe { @@ -46695,304 +49222,384 @@ namespace OpenTK.OpenGL public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single* tc, Single* c, Single* n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single* tc, Single* c, Single* n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single* tc, Single* c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single* tc, Single* c, Single* n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single* tc, Single* c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single* tc, Single* c, Single* n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single* tc, Single* c, Single* n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single* tc, Single* c, Single* n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single* tc, Single* c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single* tc, Single* c, Single[] n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single* tc, Single* c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single* tc, Single* c, Single[] n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single* tc, Single* c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single* tc, Single* c, Single[] n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* n_ptr = n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single* tc, Single* c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single* tc, Single* c, Single[] n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* n_ptr = n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single* tc, Single* c, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single* tc, Single* c, Single[] n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* n_ptr = n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single* tc, Single* c, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single* tc, Single* c, Single[] n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* n_ptr = n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single* tc, Single* c, ref Single n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single* tc, Single* c, ref Single n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single* tc, Single* c, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single* tc, Single* c, ref Single n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single* tc, Single* c, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single* tc, Single* c, ref Single n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single* tc, Single* c, ref Single n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single* tc, Single* c, ref Single n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* n_ptr = &n) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single* tc, [In, Out] Single[] c, Single* n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single* tc, Single[] c, Single* n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* c_ptr = c) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single* tc, [In, Out] Single[] c, Single* n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single* tc, Single[] c, Single* n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* c_ptr = c) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single* tc, [In, Out] Single[] c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single* tc, Single[] c, Single* n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* c_ptr = c) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single* tc, [In, Out] Single[] c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single* tc, Single[] c, Single* n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* c_ptr = c) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single* tc, [In, Out] Single[] c, Single* n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single* tc, Single[] c, Single* n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* c_ptr = c) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single* tc, [In, Out] Single[] c, Single* n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single* tc, Single[] c, Single* n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* c_ptr = c) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single* tc, [In, Out] Single[] c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single* tc, Single[] c, Single[] n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single* tc, [In, Out] Single[] c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single* tc, Single[] c, Single[] n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single* tc, [In, Out] Single[] c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single* tc, Single[] c, Single[] n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) @@ -47000,12 +49607,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single* tc, [In, Out] Single[] c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single* tc, Single[] c, Single[] n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) @@ -47013,12 +49623,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single* tc, [In, Out] Single[] c, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single* tc, Single[] c, Single[] n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) @@ -47026,12 +49639,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single* tc, [In, Out] Single[] c, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single* tc, Single[] c, Single[] n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = n) @@ -47039,36 +49655,45 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single* tc, [In, Out] Single[] c, ref Single n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single* tc, Single[] c, ref Single n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single* tc, [In, Out] Single[] c, ref Single n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single* tc, Single[] c, ref Single n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single* tc, [In, Out] Single[] c, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single* tc, Single[] c, ref Single n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) @@ -47076,12 +49701,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single* tc, [In, Out] Single[] c, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single* tc, Single[] c, ref Single n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) @@ -47089,12 +49717,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single* tc, [In, Out] Single[] c, ref Single n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single* tc, Single[] c, ref Single n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) @@ -47102,12 +49733,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single* tc, [In, Out] Single[] c, ref Single n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single* tc, Single[] c, ref Single n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* c_ptr = c) fixed (Single* n_ptr = &n) @@ -47115,106 +49749,133 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single* tc, ref Single c, Single* n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* c_ptr = &c) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single* tc, ref Single c, Single* n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* c_ptr = &c) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single* tc, ref Single c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single* tc, ref Single c, Single* n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* c_ptr = &c) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single* tc, ref Single c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single* tc, ref Single c, Single* n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* c_ptr = &c) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single* tc, ref Single c, Single* n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* c_ptr = &c) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single* tc, ref Single c, Single* n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* c_ptr = &c) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single* tc, ref Single c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single* tc, ref Single c, Single[] n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single* tc, ref Single c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single* tc, ref Single c, Single[] n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single* tc, ref Single c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single* tc, ref Single c, Single[] n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) @@ -47222,12 +49883,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single* tc, ref Single c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single* tc, ref Single c, Single[] n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) @@ -47235,12 +49899,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single* tc, ref Single c, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single* tc, ref Single c, Single[] n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) @@ -47248,12 +49915,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single* tc, ref Single c, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single* tc, ref Single c, Single[] n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = n) @@ -47261,36 +49931,45 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single* tc, ref Single c, ref Single n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single* tc, ref Single c, ref Single n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single* tc, ref Single c, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single* tc, ref Single c, ref Single n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) @@ -47298,12 +49977,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single* tc, ref Single c, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single* tc, ref Single c, ref Single n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) @@ -47311,12 +49993,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single* tc, ref Single c, ref Single n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) @@ -47324,12 +50009,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single* tc, ref Single c, ref Single n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* c_ptr = &c) fixed (Single* n_ptr = &n) @@ -47337,106 +50025,133 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, [In, Out] Single[] tc, Single* c, Single* n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single[] tc, Single* c, Single* n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* tc_ptr = tc) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, [In, Out] Single[] tc, Single* c, Single* n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single[] tc, Single* c, Single* n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = tc) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, [In, Out] Single[] tc, Single* c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single[] tc, Single* c, Single* n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* tc_ptr = tc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, [In, Out] Single[] tc, Single* c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single[] tc, Single* c, Single* n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = tc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, [In, Out] Single[] tc, Single* c, Single* n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single[] tc, Single* c, Single* n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* tc_ptr = tc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, [In, Out] Single[] tc, Single* c, Single* n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single[] tc, Single* c, Single* n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = tc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, [In, Out] Single[] tc, Single* c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single[] tc, Single* c, Single[] n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, [In, Out] Single[] tc, Single* c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single[] tc, Single* c, Single[] n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, [In, Out] Single[] tc, Single* c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single[] tc, Single* c, Single[] n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = n) @@ -47444,12 +50159,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, [In, Out] Single[] tc, Single* c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single[] tc, Single* c, Single[] n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = n) @@ -47457,12 +50175,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, [In, Out] Single[] tc, Single* c, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single[] tc, Single* c, Single[] n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = n) @@ -47470,12 +50191,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, [In, Out] Single[] tc, Single* c, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single[] tc, Single* c, Single[] n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = n) @@ -47483,36 +50207,45 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, [In, Out] Single[] tc, Single* c, ref Single n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single[] tc, Single* c, ref Single n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, [In, Out] Single[] tc, Single* c, ref Single n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single[] tc, Single* c, ref Single n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, [In, Out] Single[] tc, Single* c, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single[] tc, Single* c, ref Single n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = &n) @@ -47520,12 +50253,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, [In, Out] Single[] tc, Single* c, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single[] tc, Single* c, ref Single n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = &n) @@ -47533,12 +50269,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, [In, Out] Single[] tc, Single* c, ref Single n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single[] tc, Single* c, ref Single n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = &n) @@ -47546,12 +50285,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, [In, Out] Single[] tc, Single* c, ref Single n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single[] tc, Single* c, ref Single n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = tc) fixed (Single* n_ptr = &n) @@ -47559,36 +50301,45 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, [In, Out] Single[] tc, [In, Out] Single[] c, Single* n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single[] tc, Single[] c, Single* n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = c) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, [In, Out] Single[] tc, [In, Out] Single[] c, Single* n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single[] tc, Single[] c, Single* n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = c) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, [In, Out] Single[] tc, [In, Out] Single[] c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single[] tc, Single[] c, Single* n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = c) @@ -47596,12 +50347,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, [In, Out] Single[] tc, [In, Out] Single[] c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single[] tc, Single[] c, Single* n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = c) @@ -47609,12 +50363,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, [In, Out] Single[] tc, [In, Out] Single[] c, Single* n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single[] tc, Single[] c, Single* n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = c) @@ -47622,12 +50379,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, [In, Out] Single[] tc, [In, Out] Single[] c, Single* n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single[] tc, Single[] c, Single* n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = c) @@ -47635,12 +50395,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, [In, Out] Single[] tc, [In, Out] Single[] c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single[] tc, Single[] c, Single[] n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = c) @@ -47648,12 +50411,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, [In, Out] Single[] tc, [In, Out] Single[] c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single[] tc, Single[] c, Single[] n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = c) @@ -47661,11 +50427,12 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, [In, Out] Single[] tc, [In, Out] Single[] c, [In, Out] Single[] n, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single[] tc, Single[] c, Single[] n, Single[] v) { unsafe { @@ -47681,7 +50448,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, [In, Out] Single[] tc, [In, Out] Single[] c, [In, Out] Single[] n, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single[] tc, Single[] c, Single[] n, Single[] v) { unsafe { @@ -47698,7 +50465,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, [In, Out] Single[] tc, [In, Out] Single[] c, [In, Out] Single[] n, ref Single v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single[] tc, Single[] c, Single[] n, ref Single v) { unsafe { @@ -47714,7 +50481,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, [In, Out] Single[] tc, [In, Out] Single[] c, [In, Out] Single[] n, ref Single v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single[] tc, Single[] c, Single[] n, ref Single v) { unsafe { @@ -47731,8 +50498,10 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, [In, Out] Single[] tc, [In, Out] Single[] c, ref Single n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single[] tc, Single[] c, ref Single n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = c) @@ -47740,12 +50509,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, [In, Out] Single[] tc, [In, Out] Single[] c, ref Single n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single[] tc, Single[] c, ref Single n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = c) @@ -47753,11 +50525,12 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, [In, Out] Single[] tc, [In, Out] Single[] c, ref Single n, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single[] tc, Single[] c, ref Single n, Single[] v) { unsafe { @@ -47773,7 +50546,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, [In, Out] Single[] tc, [In, Out] Single[] c, ref Single n, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single[] tc, Single[] c, ref Single n, Single[] v) { unsafe { @@ -47790,7 +50563,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, [In, Out] Single[] tc, [In, Out] Single[] c, ref Single n, ref Single v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single[] tc, Single[] c, ref Single n, ref Single v) { unsafe { @@ -47806,7 +50579,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, [In, Out] Single[] tc, [In, Out] Single[] c, ref Single n, ref Single v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single[] tc, Single[] c, ref Single n, ref Single v) { unsafe { @@ -47823,32 +50596,40 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, [In, Out] Single[] tc, ref Single c, Single* n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single[] tc, ref Single c, Single* n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = &c) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, [In, Out] Single[] tc, ref Single c, Single* n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single[] tc, ref Single c, Single* n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = &c) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, [In, Out] Single[] tc, ref Single c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single[] tc, ref Single c, Single* n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = &c) @@ -47856,12 +50637,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, [In, Out] Single[] tc, ref Single c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single[] tc, ref Single c, Single* n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = &c) @@ -47869,12 +50653,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, [In, Out] Single[] tc, ref Single c, Single* n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single[] tc, ref Single c, Single* n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = &c) @@ -47882,12 +50669,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, [In, Out] Single[] tc, ref Single c, Single* n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single[] tc, ref Single c, Single* n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = &c) @@ -47895,12 +50685,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, [In, Out] Single[] tc, ref Single c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single[] tc, ref Single c, Single[] n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = &c) @@ -47908,12 +50701,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, [In, Out] Single[] tc, ref Single c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single[] tc, ref Single c, Single[] n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = &c) @@ -47921,11 +50717,12 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, [In, Out] Single[] tc, ref Single c, [In, Out] Single[] n, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single[] tc, ref Single c, Single[] n, Single[] v) { unsafe { @@ -47941,7 +50738,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, [In, Out] Single[] tc, ref Single c, [In, Out] Single[] n, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single[] tc, ref Single c, Single[] n, Single[] v) { unsafe { @@ -47958,7 +50755,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, [In, Out] Single[] tc, ref Single c, [In, Out] Single[] n, ref Single v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single[] tc, ref Single c, Single[] n, ref Single v) { unsafe { @@ -47974,7 +50771,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, [In, Out] Single[] tc, ref Single c, [In, Out] Single[] n, ref Single v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single[] tc, ref Single c, Single[] n, ref Single v) { unsafe { @@ -47991,8 +50788,10 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, [In, Out] Single[] tc, ref Single c, ref Single n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single[] tc, ref Single c, ref Single n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = &c) @@ -48000,12 +50799,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, [In, Out] Single[] tc, ref Single c, ref Single n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single[] tc, ref Single c, ref Single n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = tc) fixed (Single* c_ptr = &c) @@ -48013,11 +50815,12 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, [In, Out] Single[] tc, ref Single c, ref Single n, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single[] tc, ref Single c, ref Single n, Single[] v) { unsafe { @@ -48033,7 +50836,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, [In, Out] Single[] tc, ref Single c, ref Single n, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single[] tc, ref Single c, ref Single n, Single[] v) { unsafe { @@ -48050,7 +50853,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, [In, Out] Single[] tc, ref Single c, ref Single n, ref Single v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, Single[] tc, ref Single c, ref Single n, ref Single v) { unsafe { @@ -48066,7 +50869,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, [In, Out] Single[] tc, ref Single c, ref Single n, ref Single v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, Single[] tc, ref Single c, ref Single n, ref Single v) { unsafe { @@ -48085,100 +50888,126 @@ namespace OpenTK.OpenGL public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, ref Single tc, Single* c, Single* n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, ref Single tc, Single* c, Single* n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, ref Single tc, Single* c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, ref Single tc, Single* c, Single* n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, ref Single tc, Single* c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, ref Single tc, Single* c, Single* n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) fixed (Single* v_ptr = v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, ref Single tc, Single* c, Single* n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, ref Single tc, Single* c, Single* n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) fixed (Single* v_ptr = &v) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, ref Single tc, Single* c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, ref Single tc, Single* c, Single[] n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, ref Single tc, Single* c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, ref Single tc, Single* c, Single[] n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, ref Single tc, Single* c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, ref Single tc, Single* c, Single[] n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = n) @@ -48186,12 +51015,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, ref Single tc, Single* c, [In, Out] Single[] n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, ref Single tc, Single* c, Single[] n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = n) @@ -48199,12 +51031,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, ref Single tc, Single* c, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, ref Single tc, Single* c, Single[] n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = n) @@ -48212,12 +51047,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, ref Single tc, Single* c, [In, Out] Single[] n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, ref Single tc, Single* c, Single[] n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = n) @@ -48225,36 +51063,45 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, ref Single tc, Single* c, ref Single n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, ref Single tc, Single* c, ref Single n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = &n) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, ref Single tc, Single* c, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, ref Single tc, Single* c, ref Single n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = &n) @@ -48262,12 +51109,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, ref Single tc, Single* c, ref Single n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, ref Single tc, Single* c, ref Single n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = &n) @@ -48275,12 +51125,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, ref Single tc, Single* c, ref Single n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = &n) @@ -48288,12 +51141,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, ref Single tc, Single* c, ref Single n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) fixed (Single* n_ptr = &n) @@ -48301,36 +51157,45 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c, (Single*)n_ptr, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, ref Single tc, [In, Out] Single[] c, Single* n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, ref Single tc, Single[] c, Single* n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = c) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, ref Single tc, [In, Out] Single[] c, Single* n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, ref Single tc, Single[] c, Single* n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = c) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, ref Single tc, [In, Out] Single[] c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, ref Single tc, Single[] c, Single* n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = c) @@ -48338,12 +51203,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, ref Single tc, [In, Out] Single[] c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, ref Single tc, Single[] c, Single* n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = c) @@ -48351,12 +51219,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, ref Single tc, [In, Out] Single[] c, Single* n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, ref Single tc, Single[] c, Single* n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = c) @@ -48364,12 +51235,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, ref Single tc, [In, Out] Single[] c, Single* n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, ref Single tc, Single[] c, Single* n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = c) @@ -48377,12 +51251,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, ref Single tc, [In, Out] Single[] c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, ref Single tc, Single[] c, Single[] n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = c) @@ -48390,12 +51267,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, ref Single tc, [In, Out] Single[] c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, ref Single tc, Single[] c, Single[] n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = c) @@ -48403,11 +51283,12 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, ref Single tc, [In, Out] Single[] c, [In, Out] Single[] n, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, ref Single tc, Single[] c, Single[] n, Single[] v) { unsafe { @@ -48423,7 +51304,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, ref Single tc, [In, Out] Single[] c, [In, Out] Single[] n, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, ref Single tc, Single[] c, Single[] n, Single[] v) { unsafe { @@ -48440,7 +51321,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, ref Single tc, [In, Out] Single[] c, [In, Out] Single[] n, ref Single v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, ref Single tc, Single[] c, Single[] n, ref Single v) { unsafe { @@ -48456,7 +51337,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, ref Single tc, [In, Out] Single[] c, [In, Out] Single[] n, ref Single v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, ref Single tc, Single[] c, Single[] n, ref Single v) { unsafe { @@ -48473,8 +51354,10 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, ref Single tc, [In, Out] Single[] c, ref Single n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, ref Single tc, Single[] c, ref Single n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = c) @@ -48482,12 +51365,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, ref Single tc, [In, Out] Single[] c, ref Single n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, ref Single tc, Single[] c, ref Single n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = c) @@ -48495,11 +51381,12 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, ref Single tc, [In, Out] Single[] c, ref Single n, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, ref Single tc, Single[] c, ref Single n, Single[] v) { unsafe { @@ -48515,7 +51402,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, ref Single tc, [In, Out] Single[] c, ref Single n, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, ref Single tc, Single[] c, ref Single n, Single[] v) { unsafe { @@ -48532,7 +51419,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, ref Single tc, [In, Out] Single[] c, ref Single n, ref Single v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, ref Single tc, Single[] c, ref Single n, ref Single v) { unsafe { @@ -48548,7 +51435,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, ref Single tc, [In, Out] Single[] c, ref Single n, ref Single v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, ref Single tc, Single[] c, ref Single n, ref Single v) { unsafe { @@ -48567,30 +51454,38 @@ namespace OpenTK.OpenGL public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, ref Single tc, ref Single c, Single* n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = &c) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, ref Single tc, ref Single c, Single* n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = &c) { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, ref Single tc, ref Single c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, ref Single tc, ref Single c, Single* n, Single[] v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = &c) @@ -48598,12 +51493,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, ref Single tc, ref Single c, Single* n, [In, Out] Single[] v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, ref Single tc, ref Single c, Single* n, Single[] v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = &c) @@ -48611,12 +51509,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, ref Single tc, ref Single c, Single* n, ref Single v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = &c) @@ -48624,12 +51525,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, ref Single tc, ref Single c, Single* n, ref Single v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = &c) @@ -48637,12 +51541,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, ref Single tc, ref Single c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, ref Single tc, ref Single c, Single[] n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = &c) @@ -48650,12 +51557,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, ref Single tc, ref Single c, [In, Out] Single[] n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, ref Single tc, ref Single c, Single[] n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = &c) @@ -48663,11 +51573,12 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, ref Single tc, ref Single c, [In, Out] Single[] n, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, ref Single tc, ref Single c, Single[] n, Single[] v) { unsafe { @@ -48683,7 +51594,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, ref Single tc, ref Single c, [In, Out] Single[] n, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, ref Single tc, ref Single c, Single[] n, Single[] v) { unsafe { @@ -48700,7 +51611,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, ref Single tc, ref Single c, [In, Out] Single[] n, ref Single v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, ref Single tc, ref Single c, Single[] n, ref Single v) { unsafe { @@ -48716,7 +51627,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, ref Single tc, ref Single c, [In, Out] Single[] n, ref Single v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, ref Single tc, ref Single c, Single[] n, ref Single v) { unsafe { @@ -48735,6 +51646,8 @@ namespace OpenTK.OpenGL public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, ref Single tc, ref Single c, ref Single n, Single* v) { + unsafe + { fixed (UInt32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = &c) @@ -48742,12 +51655,15 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, ref Single tc, ref Single c, ref Single n, Single* v) { + unsafe + { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) fixed (Single* c_ptr = &c) @@ -48755,11 +51671,12 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, ref Single tc, ref Single c, ref Single n, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, ref Single tc, ref Single c, ref Single n, Single[] v) { unsafe { @@ -48775,7 +51692,7 @@ namespace OpenTK.OpenGL } public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, ref Single tc, ref Single c, ref Single n, [In, Out] Single[] v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, ref Single tc, ref Single c, ref Single n, Single[] v) { unsafe { @@ -48859,16 +51776,15 @@ namespace OpenTK.OpenGL public static void VertexArrayRange(Int32 length, [In, Out] object pointer) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glVertexArrayRangeNV((Int32)length, (void*)pointer_ptr.AddrOfPinnedObject()); } finally { - pointer_ptr.Free(); } } } @@ -48881,7 +51797,7 @@ namespace OpenTK.OpenGL } public static - void CombinerParameterv(GL.Enums.NV_register_combiners pname, [In, Out] Single[] @params) + void CombinerParameterv(GL.Enums.NV_register_combiners pname, Single[] @params) { unsafe { @@ -48918,7 +51834,7 @@ namespace OpenTK.OpenGL } public static - void CombinerParameterv(GL.Enums.NV_register_combiners pname, [In, Out] Int32[] @params) + void CombinerParameterv(GL.Enums.NV_register_combiners pname, Int32[] @params) { unsafe { @@ -48973,7 +51889,7 @@ namespace OpenTK.OpenGL } public static - void GetCombinerInputParameterv(GL.Enums.NV_register_combiners stage, GL.Enums.NV_register_combiners portion, GL.Enums.NV_register_combiners variable, GL.Enums.NV_register_combiners pname, [In, Out] Single[] @params) + void GetCombinerInputParameterv(GL.Enums.NV_register_combiners stage, GL.Enums.NV_register_combiners portion, GL.Enums.NV_register_combiners variable, GL.Enums.NV_register_combiners pname, [Out] Single[] @params) { unsafe { @@ -48987,13 +51903,12 @@ namespace OpenTK.OpenGL public static void GetCombinerInputParameterv(GL.Enums.NV_register_combiners stage, GL.Enums.NV_register_combiners portion, GL.Enums.NV_register_combiners variable, GL.Enums.NV_register_combiners pname, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetCombinerInputParameterfvNV((GL.Enums.NV_register_combiners)stage, (GL.Enums.NV_register_combiners)portion, (GL.Enums.NV_register_combiners)variable, (GL.Enums.NV_register_combiners)pname, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -49006,7 +51921,7 @@ namespace OpenTK.OpenGL } public static - void GetCombinerInputParameterv(GL.Enums.NV_register_combiners stage, GL.Enums.NV_register_combiners portion, GL.Enums.NV_register_combiners variable, GL.Enums.NV_register_combiners pname, [In, Out] Int32[] @params) + void GetCombinerInputParameterv(GL.Enums.NV_register_combiners stage, GL.Enums.NV_register_combiners portion, GL.Enums.NV_register_combiners variable, GL.Enums.NV_register_combiners pname, [Out] Int32[] @params) { unsafe { @@ -49020,13 +51935,12 @@ namespace OpenTK.OpenGL public static void GetCombinerInputParameterv(GL.Enums.NV_register_combiners stage, GL.Enums.NV_register_combiners portion, GL.Enums.NV_register_combiners variable, GL.Enums.NV_register_combiners pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetCombinerInputParameterivNV((GL.Enums.NV_register_combiners)stage, (GL.Enums.NV_register_combiners)portion, (GL.Enums.NV_register_combiners)variable, (GL.Enums.NV_register_combiners)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -49039,7 +51953,7 @@ namespace OpenTK.OpenGL } public static - void GetCombinerOutputParameterv(GL.Enums.NV_register_combiners stage, GL.Enums.NV_register_combiners portion, GL.Enums.NV_register_combiners pname, [In, Out] Single[] @params) + void GetCombinerOutputParameterv(GL.Enums.NV_register_combiners stage, GL.Enums.NV_register_combiners portion, GL.Enums.NV_register_combiners pname, [Out] Single[] @params) { unsafe { @@ -49053,13 +51967,12 @@ namespace OpenTK.OpenGL public static void GetCombinerOutputParameterv(GL.Enums.NV_register_combiners stage, GL.Enums.NV_register_combiners portion, GL.Enums.NV_register_combiners pname, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetCombinerOutputParameterfvNV((GL.Enums.NV_register_combiners)stage, (GL.Enums.NV_register_combiners)portion, (GL.Enums.NV_register_combiners)pname, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -49072,7 +51985,7 @@ namespace OpenTK.OpenGL } public static - void GetCombinerOutputParameterv(GL.Enums.NV_register_combiners stage, GL.Enums.NV_register_combiners portion, GL.Enums.NV_register_combiners pname, [In, Out] Int32[] @params) + void GetCombinerOutputParameterv(GL.Enums.NV_register_combiners stage, GL.Enums.NV_register_combiners portion, GL.Enums.NV_register_combiners pname, [Out] Int32[] @params) { unsafe { @@ -49086,13 +51999,12 @@ namespace OpenTK.OpenGL public static void GetCombinerOutputParameterv(GL.Enums.NV_register_combiners stage, GL.Enums.NV_register_combiners portion, GL.Enums.NV_register_combiners pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetCombinerOutputParameterivNV((GL.Enums.NV_register_combiners)stage, (GL.Enums.NV_register_combiners)portion, (GL.Enums.NV_register_combiners)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -49105,7 +52017,7 @@ namespace OpenTK.OpenGL } public static - void GetFinalCombinerInputParameterv(GL.Enums.NV_register_combiners variable, GL.Enums.NV_register_combiners pname, [In, Out] Single[] @params) + void GetFinalCombinerInputParameterv(GL.Enums.NV_register_combiners variable, GL.Enums.NV_register_combiners pname, [Out] Single[] @params) { unsafe { @@ -49119,13 +52031,12 @@ namespace OpenTK.OpenGL public static void GetFinalCombinerInputParameterv(GL.Enums.NV_register_combiners variable, GL.Enums.NV_register_combiners pname, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetFinalCombinerInputParameterfvNV((GL.Enums.NV_register_combiners)variable, (GL.Enums.NV_register_combiners)pname, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -49138,7 +52049,7 @@ namespace OpenTK.OpenGL } public static - void GetFinalCombinerInputParameterv(GL.Enums.NV_register_combiners variable, GL.Enums.NV_register_combiners pname, [In, Out] Int32[] @params) + void GetFinalCombinerInputParameterv(GL.Enums.NV_register_combiners variable, GL.Enums.NV_register_combiners pname, [Out] Int32[] @params) { unsafe { @@ -49152,13 +52063,12 @@ namespace OpenTK.OpenGL public static void GetFinalCombinerInputParameterv(GL.Enums.NV_register_combiners variable, GL.Enums.NV_register_combiners pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetFinalCombinerInputParameterivNV((GL.Enums.NV_register_combiners)variable, (GL.Enums.NV_register_combiners)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -49174,14 +52084,15 @@ namespace OpenTK.OpenGL public static unsafe void DeleteFences(Int32 n, Int32* fences) { - { - Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences); - } + unsafe + { + Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences); + } } [System.CLSCompliant(false)] public static - void DeleteFences(Int32 n, [In, Out] UInt32[] fences) + void DeleteFences(Int32 n, UInt32[] fences) { unsafe { @@ -49193,7 +52104,7 @@ namespace OpenTK.OpenGL } public static - void DeleteFences(Int32 n, [In, Out] Int32[] fences) + void DeleteFences(Int32 n, Int32[] fences) { unsafe { @@ -49240,15 +52151,15 @@ namespace OpenTK.OpenGL public static unsafe void GenFences(Int32 n, [Out] Int32* fences) { - fences = default(Int32*); - { - Delegates.glGenFencesNV((Int32)n, (UInt32*)fences); - } + unsafe + { + Delegates.glGenFencesNV((Int32)n, (UInt32*)fences); + } } [System.CLSCompliant(false)] public static - void GenFences(Int32 n, [In, Out] UInt32[] fences) + void GenFences(Int32 n, [Out] UInt32[] fences) { unsafe { @@ -49260,7 +52171,7 @@ namespace OpenTK.OpenGL } public static - void GenFences(Int32 n, [In, Out] Int32[] fences) + void GenFences(Int32 n, [Out] Int32[] fences) { unsafe { @@ -49275,13 +52186,12 @@ namespace OpenTK.OpenGL public static void GenFences(Int32 n, [Out] out UInt32 fences) { - fences = default(UInt32); unsafe { fixed (UInt32* fences_ptr = &fences) { Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr); - fences = *fences_ptr; + fences = *fences_ptr; } } } @@ -49289,13 +52199,12 @@ namespace OpenTK.OpenGL public static void GenFences(Int32 n, [Out] out Int32 fences) { - fences = default(Int32); unsafe { fixed (Int32* fences_ptr = &fences) { Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr); - fences = *fences_ptr; + fences = *fences_ptr; } } } @@ -49337,15 +52246,15 @@ namespace OpenTK.OpenGL public static unsafe void GetFencev(Int32 fence, GL.Enums.NV_fence pname, [Out] Int32* @params) { - @params = default(Int32*); - { - Delegates.glGetFenceivNV((UInt32)fence, (GL.Enums.NV_fence)pname, (Int32*)@params); - } + unsafe + { + Delegates.glGetFenceivNV((UInt32)fence, (GL.Enums.NV_fence)pname, (Int32*)@params); + } } [System.CLSCompliant(false)] public static - void GetFencev(UInt32 fence, GL.Enums.NV_fence pname, [In, Out] Int32[] @params) + void GetFencev(UInt32 fence, GL.Enums.NV_fence pname, [Out] Int32[] @params) { unsafe { @@ -49357,7 +52266,7 @@ namespace OpenTK.OpenGL } public static - void GetFencev(Int32 fence, GL.Enums.NV_fence pname, [In, Out] Int32[] @params) + void GetFencev(Int32 fence, GL.Enums.NV_fence pname, [Out] Int32[] @params) { unsafe { @@ -49372,13 +52281,12 @@ namespace OpenTK.OpenGL public static void GetFencev(UInt32 fence, GL.Enums.NV_fence pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetFenceivNV((UInt32)fence, (GL.Enums.NV_fence)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -49386,13 +52294,12 @@ namespace OpenTK.OpenGL public static void GetFencev(Int32 fence, GL.Enums.NV_fence pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetFenceivNV((UInt32)fence, (GL.Enums.NV_fence)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -49434,9 +52341,10 @@ namespace OpenTK.OpenGL public static unsafe void MapControlPoints(GL.Enums.NV_evaluators target, Int32 index, GL.Enums.NV_evaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, GL.Enums.Boolean packed, void* points) { - { - Delegates.glMapControlPointsNV((GL.Enums.NV_evaluators)target, (UInt32)index, (GL.Enums.NV_evaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (GL.Enums.Boolean)packed, (void*)points); - } + unsafe + { + Delegates.glMapControlPointsNV((GL.Enums.NV_evaluators)target, (UInt32)index, (GL.Enums.NV_evaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (GL.Enums.Boolean)packed, (void*)points); + } } [System.CLSCompliant(false)] @@ -49447,7 +52355,7 @@ namespace OpenTK.OpenGL } public static - void MapParameterv(GL.Enums.NV_evaluators target, GL.Enums.NV_evaluators pname, [In, Out] Int32[] @params) + void MapParameterv(GL.Enums.NV_evaluators target, GL.Enums.NV_evaluators pname, Int32[] @params) { unsafe { @@ -49478,7 +52386,7 @@ namespace OpenTK.OpenGL } public static - void MapParameterv(GL.Enums.NV_evaluators target, GL.Enums.NV_evaluators pname, [In, Out] Single[] @params) + void MapParameterv(GL.Enums.NV_evaluators target, GL.Enums.NV_evaluators pname, Single[] @params) { unsafe { @@ -49512,10 +52420,10 @@ namespace OpenTK.OpenGL public static unsafe void GetMapControlPoints(GL.Enums.NV_evaluators target, Int32 index, GL.Enums.NV_evaluators type, Int32 ustride, Int32 vstride, GL.Enums.Boolean packed, [Out] void* points) { - points = default(void*); - { - Delegates.glGetMapControlPointsNV((GL.Enums.NV_evaluators)target, (UInt32)index, (GL.Enums.NV_evaluators)type, (Int32)ustride, (Int32)vstride, (GL.Enums.Boolean)packed, (void*)points); - } + unsafe + { + Delegates.glGetMapControlPointsNV((GL.Enums.NV_evaluators)target, (UInt32)index, (GL.Enums.NV_evaluators)type, (Int32)ustride, (Int32)vstride, (GL.Enums.Boolean)packed, (void*)points); + } } [System.CLSCompliant(false)] @@ -49526,7 +52434,7 @@ namespace OpenTK.OpenGL } public static - void GetMapParameterv(GL.Enums.NV_evaluators target, GL.Enums.NV_evaluators pname, [In, Out] Int32[] @params) + void GetMapParameterv(GL.Enums.NV_evaluators target, GL.Enums.NV_evaluators pname, [Out] Int32[] @params) { unsafe { @@ -49540,13 +52448,12 @@ namespace OpenTK.OpenGL public static void GetMapParameterv(GL.Enums.NV_evaluators target, GL.Enums.NV_evaluators pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetMapParameterivNV((GL.Enums.NV_evaluators)target, (GL.Enums.NV_evaluators)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -49559,7 +52466,7 @@ namespace OpenTK.OpenGL } public static - void GetMapParameterv(GL.Enums.NV_evaluators target, GL.Enums.NV_evaluators pname, [In, Out] Single[] @params) + void GetMapParameterv(GL.Enums.NV_evaluators target, GL.Enums.NV_evaluators pname, [Out] Single[] @params) { unsafe { @@ -49573,13 +52480,12 @@ namespace OpenTK.OpenGL public static void GetMapParameterv(GL.Enums.NV_evaluators target, GL.Enums.NV_evaluators pname, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetMapParameterfvNV((GL.Enums.NV_evaluators)target, (GL.Enums.NV_evaluators)pname, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -49595,15 +52501,15 @@ namespace OpenTK.OpenGL public static unsafe void GetMapAttribParameterv(GL.Enums.NV_evaluators target, Int32 index, GL.Enums.NV_evaluators pname, [Out] Int32* @params) { - @params = default(Int32*); - { - Delegates.glGetMapAttribParameterivNV((GL.Enums.NV_evaluators)target, (UInt32)index, (GL.Enums.NV_evaluators)pname, (Int32*)@params); - } + unsafe + { + Delegates.glGetMapAttribParameterivNV((GL.Enums.NV_evaluators)target, (UInt32)index, (GL.Enums.NV_evaluators)pname, (Int32*)@params); + } } [System.CLSCompliant(false)] public static - void GetMapAttribParameterv(GL.Enums.NV_evaluators target, UInt32 index, GL.Enums.NV_evaluators pname, [In, Out] Int32[] @params) + void GetMapAttribParameterv(GL.Enums.NV_evaluators target, UInt32 index, GL.Enums.NV_evaluators pname, [Out] Int32[] @params) { unsafe { @@ -49615,7 +52521,7 @@ namespace OpenTK.OpenGL } public static - void GetMapAttribParameterv(GL.Enums.NV_evaluators target, Int32 index, GL.Enums.NV_evaluators pname, [In, Out] Int32[] @params) + void GetMapAttribParameterv(GL.Enums.NV_evaluators target, Int32 index, GL.Enums.NV_evaluators pname, [Out] Int32[] @params) { unsafe { @@ -49630,13 +52536,12 @@ namespace OpenTK.OpenGL public static void GetMapAttribParameterv(GL.Enums.NV_evaluators target, UInt32 index, GL.Enums.NV_evaluators pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetMapAttribParameterivNV((GL.Enums.NV_evaluators)target, (UInt32)index, (GL.Enums.NV_evaluators)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -49644,13 +52549,12 @@ namespace OpenTK.OpenGL public static void GetMapAttribParameterv(GL.Enums.NV_evaluators target, Int32 index, GL.Enums.NV_evaluators pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetMapAttribParameterivNV((GL.Enums.NV_evaluators)target, (UInt32)index, (GL.Enums.NV_evaluators)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -49666,15 +52570,15 @@ namespace OpenTK.OpenGL public static unsafe void GetMapAttribParameterv(GL.Enums.NV_evaluators target, Int32 index, GL.Enums.NV_evaluators pname, [Out] Single* @params) { - @params = default(Single*); - { - Delegates.glGetMapAttribParameterfvNV((GL.Enums.NV_evaluators)target, (UInt32)index, (GL.Enums.NV_evaluators)pname, (Single*)@params); - } + unsafe + { + Delegates.glGetMapAttribParameterfvNV((GL.Enums.NV_evaluators)target, (UInt32)index, (GL.Enums.NV_evaluators)pname, (Single*)@params); + } } [System.CLSCompliant(false)] public static - void GetMapAttribParameterv(GL.Enums.NV_evaluators target, UInt32 index, GL.Enums.NV_evaluators pname, [In, Out] Single[] @params) + void GetMapAttribParameterv(GL.Enums.NV_evaluators target, UInt32 index, GL.Enums.NV_evaluators pname, [Out] Single[] @params) { unsafe { @@ -49686,7 +52590,7 @@ namespace OpenTK.OpenGL } public static - void GetMapAttribParameterv(GL.Enums.NV_evaluators target, Int32 index, GL.Enums.NV_evaluators pname, [In, Out] Single[] @params) + void GetMapAttribParameterv(GL.Enums.NV_evaluators target, Int32 index, GL.Enums.NV_evaluators pname, [Out] Single[] @params) { unsafe { @@ -49701,13 +52605,12 @@ namespace OpenTK.OpenGL public static void GetMapAttribParameterv(GL.Enums.NV_evaluators target, UInt32 index, GL.Enums.NV_evaluators pname, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetMapAttribParameterfvNV((GL.Enums.NV_evaluators)target, (UInt32)index, (GL.Enums.NV_evaluators)pname, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -49715,13 +52618,12 @@ namespace OpenTK.OpenGL public static void GetMapAttribParameterv(GL.Enums.NV_evaluators target, Int32 index, GL.Enums.NV_evaluators pname, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetMapAttribParameterfvNV((GL.Enums.NV_evaluators)target, (UInt32)index, (GL.Enums.NV_evaluators)pname, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -49740,7 +52642,7 @@ namespace OpenTK.OpenGL } public static - void CombinerStageParameterv(GL.Enums.NV_register_combiners2 stage, GL.Enums.NV_register_combiners2 pname, [In, Out] Single[] @params) + void CombinerStageParameterv(GL.Enums.NV_register_combiners2 stage, GL.Enums.NV_register_combiners2 pname, Single[] @params) { unsafe { @@ -49771,7 +52673,7 @@ namespace OpenTK.OpenGL } public static - void GetCombinerStageParameterv(GL.Enums.NV_register_combiners2 stage, GL.Enums.NV_register_combiners2 pname, [In, Out] Single[] @params) + void GetCombinerStageParameterv(GL.Enums.NV_register_combiners2 stage, GL.Enums.NV_register_combiners2 pname, [Out] Single[] @params) { unsafe { @@ -49785,13 +52687,12 @@ namespace OpenTK.OpenGL public static void GetCombinerStageParameterv(GL.Enums.NV_register_combiners2 stage, GL.Enums.NV_register_combiners2 pname, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetCombinerStageParameterfvNV((GL.Enums.NV_register_combiners2)stage, (GL.Enums.NV_register_combiners2)pname, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -49807,59 +52708,67 @@ namespace OpenTK.OpenGL public static unsafe Boolean AreProgramsResident(Int32 n, Int32* programs, [Out] GL.Enums.Boolean* residences) { - residences = default(GL.Enums.Boolean*); - { - Boolean retval = Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs, (GL.Enums.Boolean*)residences); - return retval; - } + unsafe + { + Boolean retval = Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs, (GL.Enums.Boolean*)residences); + return retval; + } } [System.CLSCompliant(false)] public static - unsafe Boolean AreProgramsResident(Int32 n, [In, Out] UInt32[] programs, [Out] GL.Enums.Boolean* residences) + unsafe Boolean AreProgramsResident(Int32 n, UInt32[] programs, [Out] GL.Enums.Boolean* residences) { - residences = default(GL.Enums.Boolean*); + unsafe + { fixed (UInt32* programs_ptr = programs) { Boolean retval = Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs_ptr, (GL.Enums.Boolean*)residences); return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean AreProgramsResident(Int32 n, [In, Out] Int32[] programs, [Out] GL.Enums.Boolean* residences) + unsafe Boolean AreProgramsResident(Int32 n, Int32[] programs, [Out] GL.Enums.Boolean* residences) { - residences = default(GL.Enums.Boolean*); + unsafe + { fixed (Int32* programs_ptr = programs) { Boolean retval = Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs_ptr, (GL.Enums.Boolean*)residences); return retval; } + } } [System.CLSCompliant(false)] public static unsafe Boolean AreProgramsResident(Int32 n, ref UInt32 programs, [Out] GL.Enums.Boolean* residences) { - residences = default(GL.Enums.Boolean*); + unsafe + { fixed (UInt32* programs_ptr = &programs) { Boolean retval = Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs_ptr, (GL.Enums.Boolean*)residences); return retval; } + } } [System.CLSCompliant(false)] public static unsafe Boolean AreProgramsResident(Int32 n, ref Int32 programs, [Out] GL.Enums.Boolean* residences) { - residences = default(GL.Enums.Boolean*); + unsafe + { fixed (Int32* programs_ptr = &programs) { Boolean retval = Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs_ptr, (GL.Enums.Boolean*)residences); return retval; } + } } [System.CLSCompliant(false)] @@ -49886,14 +52795,15 @@ namespace OpenTK.OpenGL public static unsafe void DeletePrograms(Int32 n, Int32* programs) { - { - Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs); - } + unsafe + { + Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs); + } } [System.CLSCompliant(false)] public static - void DeletePrograms(Int32 n, [In, Out] UInt32[] programs) + void DeletePrograms(Int32 n, UInt32[] programs) { unsafe { @@ -49905,7 +52815,7 @@ namespace OpenTK.OpenGL } public static - void DeletePrograms(Int32 n, [In, Out] Int32[] programs) + void DeletePrograms(Int32 n, Int32[] programs) { unsafe { @@ -49952,14 +52862,15 @@ namespace OpenTK.OpenGL public static unsafe void ExecuteProgram(GL.Enums.NV_vertex_program target, Int32 id, Single* @params) { - { - Delegates.glExecuteProgramNV((GL.Enums.NV_vertex_program)target, (UInt32)id, (Single*)@params); - } + unsafe + { + Delegates.glExecuteProgramNV((GL.Enums.NV_vertex_program)target, (UInt32)id, (Single*)@params); + } } [System.CLSCompliant(false)] public static - void ExecuteProgram(GL.Enums.NV_vertex_program target, UInt32 id, [In, Out] Single[] @params) + void ExecuteProgram(GL.Enums.NV_vertex_program target, UInt32 id, Single[] @params) { unsafe { @@ -49971,7 +52882,7 @@ namespace OpenTK.OpenGL } public static - void ExecuteProgram(GL.Enums.NV_vertex_program target, Int32 id, [In, Out] Single[] @params) + void ExecuteProgram(GL.Enums.NV_vertex_program target, Int32 id, Single[] @params) { unsafe { @@ -50018,15 +52929,15 @@ namespace OpenTK.OpenGL public static unsafe void GenPrograms(Int32 n, [Out] Int32* programs) { - programs = default(Int32*); - { - Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs); - } + unsafe + { + Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs); + } } [System.CLSCompliant(false)] public static - void GenPrograms(Int32 n, [In, Out] UInt32[] programs) + void GenPrograms(Int32 n, [Out] UInt32[] programs) { unsafe { @@ -50038,7 +52949,7 @@ namespace OpenTK.OpenGL } public static - void GenPrograms(Int32 n, [In, Out] Int32[] programs) + void GenPrograms(Int32 n, [Out] Int32[] programs) { unsafe { @@ -50053,13 +52964,12 @@ namespace OpenTK.OpenGL public static void GenPrograms(Int32 n, [Out] out UInt32 programs) { - programs = default(UInt32); unsafe { fixed (UInt32* programs_ptr = &programs) { Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs_ptr); - programs = *programs_ptr; + programs = *programs_ptr; } } } @@ -50067,13 +52977,12 @@ namespace OpenTK.OpenGL public static void GenPrograms(Int32 n, [Out] out Int32 programs) { - programs = default(Int32); unsafe { fixed (Int32* programs_ptr = &programs) { Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs_ptr); - programs = *programs_ptr; + programs = *programs_ptr; } } } @@ -50089,15 +52998,15 @@ namespace OpenTK.OpenGL public static unsafe void GetProgramParameterv(GL.Enums.NV_vertex_program target, Int32 index, GL.Enums.NV_vertex_program pname, [Out] Double* @params) { - @params = default(Double*); - { - Delegates.glGetProgramParameterdvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (GL.Enums.NV_vertex_program)pname, (Double*)@params); - } + unsafe + { + Delegates.glGetProgramParameterdvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (GL.Enums.NV_vertex_program)pname, (Double*)@params); + } } [System.CLSCompliant(false)] public static - void GetProgramParameterv(GL.Enums.NV_vertex_program target, UInt32 index, GL.Enums.NV_vertex_program pname, [In, Out] Double[] @params) + void GetProgramParameterv(GL.Enums.NV_vertex_program target, UInt32 index, GL.Enums.NV_vertex_program pname, [Out] Double[] @params) { unsafe { @@ -50109,7 +53018,7 @@ namespace OpenTK.OpenGL } public static - void GetProgramParameterv(GL.Enums.NV_vertex_program target, Int32 index, GL.Enums.NV_vertex_program pname, [In, Out] Double[] @params) + void GetProgramParameterv(GL.Enums.NV_vertex_program target, Int32 index, GL.Enums.NV_vertex_program pname, [Out] Double[] @params) { unsafe { @@ -50124,13 +53033,12 @@ namespace OpenTK.OpenGL public static void GetProgramParameterv(GL.Enums.NV_vertex_program target, UInt32 index, GL.Enums.NV_vertex_program pname, [Out] out Double @params) { - @params = default(Double); unsafe { fixed (Double* @params_ptr = &@params) { Delegates.glGetProgramParameterdvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (GL.Enums.NV_vertex_program)pname, (Double*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -50138,13 +53046,12 @@ namespace OpenTK.OpenGL public static void GetProgramParameterv(GL.Enums.NV_vertex_program target, Int32 index, GL.Enums.NV_vertex_program pname, [Out] out Double @params) { - @params = default(Double); unsafe { fixed (Double* @params_ptr = &@params) { Delegates.glGetProgramParameterdvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (GL.Enums.NV_vertex_program)pname, (Double*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -50160,15 +53067,15 @@ namespace OpenTK.OpenGL public static unsafe void GetProgramParameterv(GL.Enums.NV_vertex_program target, Int32 index, GL.Enums.NV_vertex_program pname, [Out] Single* @params) { - @params = default(Single*); - { - Delegates.glGetProgramParameterfvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (GL.Enums.NV_vertex_program)pname, (Single*)@params); - } + unsafe + { + Delegates.glGetProgramParameterfvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (GL.Enums.NV_vertex_program)pname, (Single*)@params); + } } [System.CLSCompliant(false)] public static - void GetProgramParameterv(GL.Enums.NV_vertex_program target, UInt32 index, GL.Enums.NV_vertex_program pname, [In, Out] Single[] @params) + void GetProgramParameterv(GL.Enums.NV_vertex_program target, UInt32 index, GL.Enums.NV_vertex_program pname, [Out] Single[] @params) { unsafe { @@ -50180,7 +53087,7 @@ namespace OpenTK.OpenGL } public static - void GetProgramParameterv(GL.Enums.NV_vertex_program target, Int32 index, GL.Enums.NV_vertex_program pname, [In, Out] Single[] @params) + void GetProgramParameterv(GL.Enums.NV_vertex_program target, Int32 index, GL.Enums.NV_vertex_program pname, [Out] Single[] @params) { unsafe { @@ -50195,13 +53102,12 @@ namespace OpenTK.OpenGL public static void GetProgramParameterv(GL.Enums.NV_vertex_program target, UInt32 index, GL.Enums.NV_vertex_program pname, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetProgramParameterfvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (GL.Enums.NV_vertex_program)pname, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -50209,13 +53115,12 @@ namespace OpenTK.OpenGL public static void GetProgramParameterv(GL.Enums.NV_vertex_program target, Int32 index, GL.Enums.NV_vertex_program pname, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetProgramParameterfvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (GL.Enums.NV_vertex_program)pname, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -50231,15 +53136,15 @@ namespace OpenTK.OpenGL public static unsafe void GetProgramv(Int32 id, GL.Enums.NV_vertex_program pname, [Out] Int32* @params) { - @params = default(Int32*); - { - Delegates.glGetProgramivNV((UInt32)id, (GL.Enums.NV_vertex_program)pname, (Int32*)@params); - } + unsafe + { + Delegates.glGetProgramivNV((UInt32)id, (GL.Enums.NV_vertex_program)pname, (Int32*)@params); + } } [System.CLSCompliant(false)] public static - void GetProgramv(UInt32 id, GL.Enums.NV_vertex_program pname, [In, Out] Int32[] @params) + void GetProgramv(UInt32 id, GL.Enums.NV_vertex_program pname, [Out] Int32[] @params) { unsafe { @@ -50251,7 +53156,7 @@ namespace OpenTK.OpenGL } public static - void GetProgramv(Int32 id, GL.Enums.NV_vertex_program pname, [In, Out] Int32[] @params) + void GetProgramv(Int32 id, GL.Enums.NV_vertex_program pname, [Out] Int32[] @params) { unsafe { @@ -50266,13 +53171,12 @@ namespace OpenTK.OpenGL public static void GetProgramv(UInt32 id, GL.Enums.NV_vertex_program pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetProgramivNV((UInt32)id, (GL.Enums.NV_vertex_program)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -50280,13 +53184,12 @@ namespace OpenTK.OpenGL public static void GetProgramv(Int32 id, GL.Enums.NV_vertex_program pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetProgramivNV((UInt32)id, (GL.Enums.NV_vertex_program)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -50302,15 +53205,15 @@ namespace OpenTK.OpenGL public static unsafe void GetProgramString(Int32 id, GL.Enums.NV_vertex_program pname, [Out] Byte* program) { - program = default(Byte*); - { - Delegates.glGetProgramStringNV((UInt32)id, (GL.Enums.NV_vertex_program)pname, (Byte*)program); - } + unsafe + { + Delegates.glGetProgramStringNV((UInt32)id, (GL.Enums.NV_vertex_program)pname, (Byte*)program); + } } [System.CLSCompliant(false)] public static - void GetProgramString(UInt32 id, GL.Enums.NV_vertex_program pname, [In, Out] Byte[] program) + void GetProgramString(UInt32 id, GL.Enums.NV_vertex_program pname, [Out] Byte[] program) { unsafe { @@ -50322,7 +53225,7 @@ namespace OpenTK.OpenGL } public static - void GetProgramString(Int32 id, GL.Enums.NV_vertex_program pname, [In, Out] Byte[] program) + void GetProgramString(Int32 id, GL.Enums.NV_vertex_program pname, [Out] Byte[] program) { unsafe { @@ -50337,13 +53240,12 @@ namespace OpenTK.OpenGL public static void GetProgramString(UInt32 id, GL.Enums.NV_vertex_program pname, [Out] out Byte program) { - program = default(Byte); unsafe { fixed (Byte* program_ptr = &program) { Delegates.glGetProgramStringNV((UInt32)id, (GL.Enums.NV_vertex_program)pname, (Byte*)program_ptr); - program = *program_ptr; + program = *program_ptr; } } } @@ -50351,13 +53253,12 @@ namespace OpenTK.OpenGL public static void GetProgramString(Int32 id, GL.Enums.NV_vertex_program pname, [Out] out Byte program) { - program = default(Byte); unsafe { fixed (Byte* program_ptr = &program) { Delegates.glGetProgramStringNV((UInt32)id, (GL.Enums.NV_vertex_program)pname, (Byte*)program_ptr); - program = *program_ptr; + program = *program_ptr; } } } @@ -50373,15 +53274,15 @@ namespace OpenTK.OpenGL public static unsafe void GetTrackMatrixv(GL.Enums.NV_vertex_program target, Int32 address, GL.Enums.NV_vertex_program pname, [Out] Int32* @params) { - @params = default(Int32*); - { - Delegates.glGetTrackMatrixivNV((GL.Enums.NV_vertex_program)target, (UInt32)address, (GL.Enums.NV_vertex_program)pname, (Int32*)@params); - } + unsafe + { + Delegates.glGetTrackMatrixivNV((GL.Enums.NV_vertex_program)target, (UInt32)address, (GL.Enums.NV_vertex_program)pname, (Int32*)@params); + } } [System.CLSCompliant(false)] public static - void GetTrackMatrixv(GL.Enums.NV_vertex_program target, UInt32 address, GL.Enums.NV_vertex_program pname, [In, Out] Int32[] @params) + void GetTrackMatrixv(GL.Enums.NV_vertex_program target, UInt32 address, GL.Enums.NV_vertex_program pname, [Out] Int32[] @params) { unsafe { @@ -50393,7 +53294,7 @@ namespace OpenTK.OpenGL } public static - void GetTrackMatrixv(GL.Enums.NV_vertex_program target, Int32 address, GL.Enums.NV_vertex_program pname, [In, Out] Int32[] @params) + void GetTrackMatrixv(GL.Enums.NV_vertex_program target, Int32 address, GL.Enums.NV_vertex_program pname, [Out] Int32[] @params) { unsafe { @@ -50408,13 +53309,12 @@ namespace OpenTK.OpenGL public static void GetTrackMatrixv(GL.Enums.NV_vertex_program target, UInt32 address, GL.Enums.NV_vertex_program pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetTrackMatrixivNV((GL.Enums.NV_vertex_program)target, (UInt32)address, (GL.Enums.NV_vertex_program)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -50422,13 +53322,12 @@ namespace OpenTK.OpenGL public static void GetTrackMatrixv(GL.Enums.NV_vertex_program target, Int32 address, GL.Enums.NV_vertex_program pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetTrackMatrixivNV((GL.Enums.NV_vertex_program)target, (UInt32)address, (GL.Enums.NV_vertex_program)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -50444,15 +53343,15 @@ namespace OpenTK.OpenGL public static unsafe void GetVertexAttribv(Int32 index, GL.Enums.NV_vertex_program pname, [Out] Double* @params) { - @params = default(Double*); - { - Delegates.glGetVertexAttribdvNV((UInt32)index, (GL.Enums.NV_vertex_program)pname, (Double*)@params); - } + unsafe + { + Delegates.glGetVertexAttribdvNV((UInt32)index, (GL.Enums.NV_vertex_program)pname, (Double*)@params); + } } [System.CLSCompliant(false)] public static - void GetVertexAttribv(UInt32 index, GL.Enums.NV_vertex_program pname, [In, Out] Double[] @params) + void GetVertexAttribv(UInt32 index, GL.Enums.NV_vertex_program pname, [Out] Double[] @params) { unsafe { @@ -50464,7 +53363,7 @@ namespace OpenTK.OpenGL } public static - void GetVertexAttribv(Int32 index, GL.Enums.NV_vertex_program pname, [In, Out] Double[] @params) + void GetVertexAttribv(Int32 index, GL.Enums.NV_vertex_program pname, [Out] Double[] @params) { unsafe { @@ -50479,13 +53378,12 @@ namespace OpenTK.OpenGL public static void GetVertexAttribv(UInt32 index, GL.Enums.NV_vertex_program pname, [Out] out Double @params) { - @params = default(Double); unsafe { fixed (Double* @params_ptr = &@params) { Delegates.glGetVertexAttribdvNV((UInt32)index, (GL.Enums.NV_vertex_program)pname, (Double*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -50493,13 +53391,12 @@ namespace OpenTK.OpenGL public static void GetVertexAttribv(Int32 index, GL.Enums.NV_vertex_program pname, [Out] out Double @params) { - @params = default(Double); unsafe { fixed (Double* @params_ptr = &@params) { Delegates.glGetVertexAttribdvNV((UInt32)index, (GL.Enums.NV_vertex_program)pname, (Double*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -50515,15 +53412,15 @@ namespace OpenTK.OpenGL public static unsafe void GetVertexAttribv(Int32 index, GL.Enums.NV_vertex_program pname, [Out] Single* @params) { - @params = default(Single*); - { - Delegates.glGetVertexAttribfvNV((UInt32)index, (GL.Enums.NV_vertex_program)pname, (Single*)@params); - } + unsafe + { + Delegates.glGetVertexAttribfvNV((UInt32)index, (GL.Enums.NV_vertex_program)pname, (Single*)@params); + } } [System.CLSCompliant(false)] public static - void GetVertexAttribv(UInt32 index, GL.Enums.NV_vertex_program pname, [In, Out] Single[] @params) + void GetVertexAttribv(UInt32 index, GL.Enums.NV_vertex_program pname, [Out] Single[] @params) { unsafe { @@ -50535,7 +53432,7 @@ namespace OpenTK.OpenGL } public static - void GetVertexAttribv(Int32 index, GL.Enums.NV_vertex_program pname, [In, Out] Single[] @params) + void GetVertexAttribv(Int32 index, GL.Enums.NV_vertex_program pname, [Out] Single[] @params) { unsafe { @@ -50550,13 +53447,12 @@ namespace OpenTK.OpenGL public static void GetVertexAttribv(UInt32 index, GL.Enums.NV_vertex_program pname, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetVertexAttribfvNV((UInt32)index, (GL.Enums.NV_vertex_program)pname, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -50564,13 +53460,12 @@ namespace OpenTK.OpenGL public static void GetVertexAttribv(Int32 index, GL.Enums.NV_vertex_program pname, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetVertexAttribfvNV((UInt32)index, (GL.Enums.NV_vertex_program)pname, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -50586,15 +53481,15 @@ namespace OpenTK.OpenGL public static unsafe void GetVertexAttribv(Int32 index, GL.Enums.NV_vertex_program pname, [Out] Int32* @params) { - @params = default(Int32*); - { - Delegates.glGetVertexAttribivNV((UInt32)index, (GL.Enums.NV_vertex_program)pname, (Int32*)@params); - } + unsafe + { + Delegates.glGetVertexAttribivNV((UInt32)index, (GL.Enums.NV_vertex_program)pname, (Int32*)@params); + } } [System.CLSCompliant(false)] public static - void GetVertexAttribv(UInt32 index, GL.Enums.NV_vertex_program pname, [In, Out] Int32[] @params) + void GetVertexAttribv(UInt32 index, GL.Enums.NV_vertex_program pname, [Out] Int32[] @params) { unsafe { @@ -50606,7 +53501,7 @@ namespace OpenTK.OpenGL } public static - void GetVertexAttribv(Int32 index, GL.Enums.NV_vertex_program pname, [In, Out] Int32[] @params) + void GetVertexAttribv(Int32 index, GL.Enums.NV_vertex_program pname, [Out] Int32[] @params) { unsafe { @@ -50621,13 +53516,12 @@ namespace OpenTK.OpenGL public static void GetVertexAttribv(UInt32 index, GL.Enums.NV_vertex_program pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetVertexAttribivNV((UInt32)index, (GL.Enums.NV_vertex_program)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -50635,13 +53529,12 @@ namespace OpenTK.OpenGL public static void GetVertexAttribv(Int32 index, GL.Enums.NV_vertex_program pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetVertexAttribivNV((UInt32)index, (GL.Enums.NV_vertex_program)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -50657,26 +53550,25 @@ namespace OpenTK.OpenGL public static unsafe void GetVertexAttribPointerv(Int32 index, GL.Enums.NV_vertex_program pname, [Out] void* pointer) { - pointer = default(void*); - { - Delegates.glGetVertexAttribPointervNV((UInt32)index, (GL.Enums.NV_vertex_program)pname, (void*)pointer); - } + unsafe + { + Delegates.glGetVertexAttribPointervNV((UInt32)index, (GL.Enums.NV_vertex_program)pname, (void*)pointer); + } } [System.CLSCompliant(false)] public static void GetVertexAttribPointerv(UInt32 index, GL.Enums.NV_vertex_program pname, [In, Out] object pointer) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glGetVertexAttribPointervNV((UInt32)index, (GL.Enums.NV_vertex_program)pname, (void*)pointer_ptr.AddrOfPinnedObject()); } finally { - pointer_ptr.Free(); } } } @@ -50684,16 +53576,15 @@ namespace OpenTK.OpenGL public static void GetVertexAttribPointerv(Int32 index, GL.Enums.NV_vertex_program pname, [In, Out] object pointer) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glGetVertexAttribPointervNV((UInt32)index, (GL.Enums.NV_vertex_program)pname, (void*)pointer_ptr.AddrOfPinnedObject()); } finally { - pointer_ptr.Free(); } } } @@ -50722,14 +53613,15 @@ namespace OpenTK.OpenGL public static unsafe void LoadProgram(GL.Enums.NV_vertex_program target, Int32 id, Int32 len, Byte* program) { - { - Delegates.glLoadProgramNV((GL.Enums.NV_vertex_program)target, (UInt32)id, (Int32)len, (Byte*)program); - } + unsafe + { + Delegates.glLoadProgramNV((GL.Enums.NV_vertex_program)target, (UInt32)id, (Int32)len, (Byte*)program); + } } [System.CLSCompliant(false)] public static - void LoadProgram(GL.Enums.NV_vertex_program target, UInt32 id, Int32 len, [In, Out] Byte[] program) + void LoadProgram(GL.Enums.NV_vertex_program target, UInt32 id, Int32 len, Byte[] program) { unsafe { @@ -50741,7 +53633,7 @@ namespace OpenTK.OpenGL } public static - void LoadProgram(GL.Enums.NV_vertex_program target, Int32 id, Int32 len, [In, Out] Byte[] program) + void LoadProgram(GL.Enums.NV_vertex_program target, Int32 id, Int32 len, Byte[] program) { unsafe { @@ -50801,14 +53693,15 @@ namespace OpenTK.OpenGL public static unsafe void ProgramParameter4(GL.Enums.NV_vertex_program target, Int32 index, Double* v) { - { - Delegates.glProgramParameter4dvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (Double*)v); - } + unsafe + { + Delegates.glProgramParameter4dvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (Double*)v); + } } [System.CLSCompliant(false)] public static - void ProgramParameter4(GL.Enums.NV_vertex_program target, UInt32 index, [In, Out] Double[] v) + void ProgramParameter4(GL.Enums.NV_vertex_program target, UInt32 index, Double[] v) { unsafe { @@ -50820,7 +53713,7 @@ namespace OpenTK.OpenGL } public static - void ProgramParameter4(GL.Enums.NV_vertex_program target, Int32 index, [In, Out] Double[] v) + void ProgramParameter4(GL.Enums.NV_vertex_program target, Int32 index, Double[] v) { unsafe { @@ -50880,14 +53773,15 @@ namespace OpenTK.OpenGL public static unsafe void ProgramParameter4(GL.Enums.NV_vertex_program target, Int32 index, Single* v) { - { - Delegates.glProgramParameter4fvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (Single*)v); - } + unsafe + { + Delegates.glProgramParameter4fvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (Single*)v); + } } [System.CLSCompliant(false)] public static - void ProgramParameter4(GL.Enums.NV_vertex_program target, UInt32 index, [In, Out] Single[] v) + void ProgramParameter4(GL.Enums.NV_vertex_program target, UInt32 index, Single[] v) { unsafe { @@ -50899,7 +53793,7 @@ namespace OpenTK.OpenGL } public static - void ProgramParameter4(GL.Enums.NV_vertex_program target, Int32 index, [In, Out] Single[] v) + void ProgramParameter4(GL.Enums.NV_vertex_program target, Int32 index, Single[] v) { unsafe { @@ -50946,14 +53840,15 @@ namespace OpenTK.OpenGL public static unsafe void ProgramParameters4(GL.Enums.NV_vertex_program target, Int32 index, Int32 count, Double* v) { - { - Delegates.glProgramParameters4dvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (UInt32)count, (Double*)v); - } + unsafe + { + Delegates.glProgramParameters4dvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (UInt32)count, (Double*)v); + } } [System.CLSCompliant(false)] public static - void ProgramParameters4(GL.Enums.NV_vertex_program target, UInt32 index, UInt32 count, [In, Out] Double[] v) + void ProgramParameters4(GL.Enums.NV_vertex_program target, UInt32 index, UInt32 count, Double[] v) { unsafe { @@ -50965,7 +53860,7 @@ namespace OpenTK.OpenGL } public static - void ProgramParameters4(GL.Enums.NV_vertex_program target, Int32 index, Int32 count, [In, Out] Double[] v) + void ProgramParameters4(GL.Enums.NV_vertex_program target, Int32 index, Int32 count, Double[] v) { unsafe { @@ -51012,14 +53907,15 @@ namespace OpenTK.OpenGL public static unsafe void ProgramParameters4(GL.Enums.NV_vertex_program target, Int32 index, Int32 count, Single* v) { - { - Delegates.glProgramParameters4fvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (UInt32)count, (Single*)v); - } + unsafe + { + Delegates.glProgramParameters4fvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (UInt32)count, (Single*)v); + } } [System.CLSCompliant(false)] public static - void ProgramParameters4(GL.Enums.NV_vertex_program target, UInt32 index, UInt32 count, [In, Out] Single[] v) + void ProgramParameters4(GL.Enums.NV_vertex_program target, UInt32 index, UInt32 count, Single[] v) { unsafe { @@ -51031,7 +53927,7 @@ namespace OpenTK.OpenGL } public static - void ProgramParameters4(GL.Enums.NV_vertex_program target, Int32 index, Int32 count, [In, Out] Single[] v) + void ProgramParameters4(GL.Enums.NV_vertex_program target, Int32 index, Int32 count, Single[] v) { unsafe { @@ -51078,14 +53974,15 @@ namespace OpenTK.OpenGL public static unsafe void RequestResidentPrograms(Int32 n, Int32* programs) { - { - Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs); - } + unsafe + { + Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs); + } } [System.CLSCompliant(false)] public static - void RequestResidentPrograms(Int32 n, [In, Out] UInt32[] programs) + void RequestResidentPrograms(Int32 n, UInt32[] programs) { unsafe { @@ -51097,7 +53994,7 @@ namespace OpenTK.OpenGL } public static - void RequestResidentPrograms(Int32 n, [In, Out] Int32[] programs) + void RequestResidentPrograms(Int32 n, Int32[] programs) { unsafe { @@ -51157,25 +54054,25 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttribPointer(Int32 index, Int32 fsize, GL.Enums.NV_vertex_program type, Int32 stride, void* pointer) { - { - Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (GL.Enums.NV_vertex_program)type, (Int32)stride, (void*)pointer); - } + unsafe + { + Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (GL.Enums.NV_vertex_program)type, (Int32)stride, (void*)pointer); + } } [System.CLSCompliant(false)] public static void VertexAttribPointer(UInt32 index, Int32 fsize, GL.Enums.NV_vertex_program type, Int32 stride, [In, Out] object pointer) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (GL.Enums.NV_vertex_program)type, (Int32)stride, (void*)pointer_ptr.AddrOfPinnedObject()); } finally { - pointer_ptr.Free(); } } } @@ -51183,16 +54080,15 @@ namespace OpenTK.OpenGL public static void VertexAttribPointer(Int32 index, Int32 fsize, GL.Enums.NV_vertex_program type, Int32 stride, [In, Out] object pointer) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (GL.Enums.NV_vertex_program)type, (Int32)stride, (void*)pointer_ptr.AddrOfPinnedObject()); } finally { - pointer_ptr.Free(); } } } @@ -51221,14 +54117,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttrib1dv(Int32 index, Double* v) { - { - Delegates.glVertexAttrib1dvNV((UInt32)index, (Double*)v); - } + unsafe + { + Delegates.glVertexAttrib1dvNV((UInt32)index, (Double*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttrib1dv(UInt32 index, [In, Out] Double[] v) + void VertexAttrib1dv(UInt32 index, Double[] v) { unsafe { @@ -51240,7 +54137,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttrib1dv(Int32 index, [In, Out] Double[] v) + void VertexAttrib1dv(Int32 index, Double[] v) { unsafe { @@ -51300,14 +54197,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttrib1fv(Int32 index, Single* v) { - { - Delegates.glVertexAttrib1fvNV((UInt32)index, (Single*)v); - } + unsafe + { + Delegates.glVertexAttrib1fvNV((UInt32)index, (Single*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttrib1fv(UInt32 index, [In, Out] Single[] v) + void VertexAttrib1fv(UInt32 index, Single[] v) { unsafe { @@ -51319,7 +54217,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttrib1fv(Int32 index, [In, Out] Single[] v) + void VertexAttrib1fv(Int32 index, Single[] v) { unsafe { @@ -51379,14 +54277,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttrib1sv(Int32 index, Int16* v) { - { - Delegates.glVertexAttrib1svNV((UInt32)index, (Int16*)v); - } + unsafe + { + Delegates.glVertexAttrib1svNV((UInt32)index, (Int16*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttrib1sv(UInt32 index, [In, Out] Int16[] v) + void VertexAttrib1sv(UInt32 index, Int16[] v) { unsafe { @@ -51398,7 +54297,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttrib1sv(Int32 index, [In, Out] Int16[] v) + void VertexAttrib1sv(Int32 index, Int16[] v) { unsafe { @@ -51458,14 +54357,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttrib2(Int32 index, Double* v) { - { - Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v); - } + unsafe + { + Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttrib2(UInt32 index, [In, Out] Double[] v) + void VertexAttrib2(UInt32 index, Double[] v) { unsafe { @@ -51477,7 +54377,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttrib2(Int32 index, [In, Out] Double[] v) + void VertexAttrib2(Int32 index, Double[] v) { unsafe { @@ -51537,14 +54437,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttrib2(Int32 index, Single* v) { - { - Delegates.glVertexAttrib2fvNV((UInt32)index, (Single*)v); - } + unsafe + { + Delegates.glVertexAttrib2fvNV((UInt32)index, (Single*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttrib2(UInt32 index, [In, Out] Single[] v) + void VertexAttrib2(UInt32 index, Single[] v) { unsafe { @@ -51556,7 +54457,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttrib2(Int32 index, [In, Out] Single[] v) + void VertexAttrib2(Int32 index, Single[] v) { unsafe { @@ -51616,14 +54517,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttrib2(Int32 index, Int16* v) { - { - Delegates.glVertexAttrib2svNV((UInt32)index, (Int16*)v); - } + unsafe + { + Delegates.glVertexAttrib2svNV((UInt32)index, (Int16*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttrib2(UInt32 index, [In, Out] Int16[] v) + void VertexAttrib2(UInt32 index, Int16[] v) { unsafe { @@ -51635,7 +54537,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttrib2(Int32 index, [In, Out] Int16[] v) + void VertexAttrib2(Int32 index, Int16[] v) { unsafe { @@ -51695,14 +54597,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttrib3(Int32 index, Double* v) { - { - Delegates.glVertexAttrib3dvNV((UInt32)index, (Double*)v); - } + unsafe + { + Delegates.glVertexAttrib3dvNV((UInt32)index, (Double*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttrib3(UInt32 index, [In, Out] Double[] v) + void VertexAttrib3(UInt32 index, Double[] v) { unsafe { @@ -51714,7 +54617,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttrib3(Int32 index, [In, Out] Double[] v) + void VertexAttrib3(Int32 index, Double[] v) { unsafe { @@ -51774,14 +54677,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttrib3(Int32 index, Single* v) { - { - Delegates.glVertexAttrib3fvNV((UInt32)index, (Single*)v); - } + unsafe + { + Delegates.glVertexAttrib3fvNV((UInt32)index, (Single*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttrib3(UInt32 index, [In, Out] Single[] v) + void VertexAttrib3(UInt32 index, Single[] v) { unsafe { @@ -51793,7 +54697,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttrib3(Int32 index, [In, Out] Single[] v) + void VertexAttrib3(Int32 index, Single[] v) { unsafe { @@ -51853,14 +54757,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttrib3(Int32 index, Int16* v) { - { - Delegates.glVertexAttrib3svNV((UInt32)index, (Int16*)v); - } + unsafe + { + Delegates.glVertexAttrib3svNV((UInt32)index, (Int16*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttrib3(UInt32 index, [In, Out] Int16[] v) + void VertexAttrib3(UInt32 index, Int16[] v) { unsafe { @@ -51872,7 +54777,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttrib3(Int32 index, [In, Out] Int16[] v) + void VertexAttrib3(Int32 index, Int16[] v) { unsafe { @@ -51932,14 +54837,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttrib4(Int32 index, Double* v) { - { - Delegates.glVertexAttrib4dvNV((UInt32)index, (Double*)v); - } + unsafe + { + Delegates.glVertexAttrib4dvNV((UInt32)index, (Double*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttrib4(UInt32 index, [In, Out] Double[] v) + void VertexAttrib4(UInt32 index, Double[] v) { unsafe { @@ -51951,7 +54857,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttrib4(Int32 index, [In, Out] Double[] v) + void VertexAttrib4(Int32 index, Double[] v) { unsafe { @@ -52011,14 +54917,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttrib4(Int32 index, Single* v) { - { - Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v); - } + unsafe + { + Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttrib4(UInt32 index, [In, Out] Single[] v) + void VertexAttrib4(UInt32 index, Single[] v) { unsafe { @@ -52030,7 +54937,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttrib4(Int32 index, [In, Out] Single[] v) + void VertexAttrib4(Int32 index, Single[] v) { unsafe { @@ -52090,14 +54997,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttrib4(Int32 index, Int16* v) { - { - Delegates.glVertexAttrib4svNV((UInt32)index, (Int16*)v); - } + unsafe + { + Delegates.glVertexAttrib4svNV((UInt32)index, (Int16*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttrib4(UInt32 index, [In, Out] Int16[] v) + void VertexAttrib4(UInt32 index, Int16[] v) { unsafe { @@ -52109,7 +55017,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttrib4(Int32 index, [In, Out] Int16[] v) + void VertexAttrib4(Int32 index, Int16[] v) { unsafe { @@ -52169,14 +55077,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttrib4(Int32 index, Byte* v) { - { - Delegates.glVertexAttrib4ubvNV((UInt32)index, (Byte*)v); - } + unsafe + { + Delegates.glVertexAttrib4ubvNV((UInt32)index, (Byte*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttrib4(UInt32 index, [In, Out] Byte[] v) + void VertexAttrib4(UInt32 index, Byte[] v) { unsafe { @@ -52188,7 +55097,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttrib4(Int32 index, [In, Out] Byte[] v) + void VertexAttrib4(Int32 index, Byte[] v) { unsafe { @@ -52235,14 +55144,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttribs1(Int32 index, Int32 count, Double* v) { - { - Delegates.glVertexAttribs1dvNV((UInt32)index, (Int32)count, (Double*)v); - } + unsafe + { + Delegates.glVertexAttribs1dvNV((UInt32)index, (Int32)count, (Double*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttribs1(UInt32 index, Int32 count, [In, Out] Double[] v) + void VertexAttribs1(UInt32 index, Int32 count, Double[] v) { unsafe { @@ -52254,7 +55164,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttribs1(Int32 index, Int32 count, [In, Out] Double[] v) + void VertexAttribs1(Int32 index, Int32 count, Double[] v) { unsafe { @@ -52301,14 +55211,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttribs1(Int32 index, Int32 count, Single* v) { - { - Delegates.glVertexAttribs1fvNV((UInt32)index, (Int32)count, (Single*)v); - } + unsafe + { + Delegates.glVertexAttribs1fvNV((UInt32)index, (Int32)count, (Single*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttribs1(UInt32 index, Int32 count, [In, Out] Single[] v) + void VertexAttribs1(UInt32 index, Int32 count, Single[] v) { unsafe { @@ -52320,7 +55231,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttribs1(Int32 index, Int32 count, [In, Out] Single[] v) + void VertexAttribs1(Int32 index, Int32 count, Single[] v) { unsafe { @@ -52367,14 +55278,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttribs1(Int32 index, Int32 count, Int16* v) { - { - Delegates.glVertexAttribs1svNV((UInt32)index, (Int32)count, (Int16*)v); - } + unsafe + { + Delegates.glVertexAttribs1svNV((UInt32)index, (Int32)count, (Int16*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttribs1(UInt32 index, Int32 count, [In, Out] Int16[] v) + void VertexAttribs1(UInt32 index, Int32 count, Int16[] v) { unsafe { @@ -52386,7 +55298,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttribs1(Int32 index, Int32 count, [In, Out] Int16[] v) + void VertexAttribs1(Int32 index, Int32 count, Int16[] v) { unsafe { @@ -52433,14 +55345,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttribs2(Int32 index, Int32 count, Double* v) { - { - Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v); - } + unsafe + { + Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttribs2(UInt32 index, Int32 count, [In, Out] Double[] v) + void VertexAttribs2(UInt32 index, Int32 count, Double[] v) { unsafe { @@ -52452,7 +55365,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttribs2(Int32 index, Int32 count, [In, Out] Double[] v) + void VertexAttribs2(Int32 index, Int32 count, Double[] v) { unsafe { @@ -52499,14 +55412,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttribs2(Int32 index, Int32 count, Single* v) { - { - Delegates.glVertexAttribs2fvNV((UInt32)index, (Int32)count, (Single*)v); - } + unsafe + { + Delegates.glVertexAttribs2fvNV((UInt32)index, (Int32)count, (Single*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttribs2(UInt32 index, Int32 count, [In, Out] Single[] v) + void VertexAttribs2(UInt32 index, Int32 count, Single[] v) { unsafe { @@ -52518,7 +55432,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttribs2(Int32 index, Int32 count, [In, Out] Single[] v) + void VertexAttribs2(Int32 index, Int32 count, Single[] v) { unsafe { @@ -52565,14 +55479,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttribs2(Int32 index, Int32 count, Int16* v) { - { - Delegates.glVertexAttribs2svNV((UInt32)index, (Int32)count, (Int16*)v); - } + unsafe + { + Delegates.glVertexAttribs2svNV((UInt32)index, (Int32)count, (Int16*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttribs2(UInt32 index, Int32 count, [In, Out] Int16[] v) + void VertexAttribs2(UInt32 index, Int32 count, Int16[] v) { unsafe { @@ -52584,7 +55499,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttribs2(Int32 index, Int32 count, [In, Out] Int16[] v) + void VertexAttribs2(Int32 index, Int32 count, Int16[] v) { unsafe { @@ -52631,14 +55546,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttribs3(Int32 index, Int32 count, Double* v) { - { - Delegates.glVertexAttribs3dvNV((UInt32)index, (Int32)count, (Double*)v); - } + unsafe + { + Delegates.glVertexAttribs3dvNV((UInt32)index, (Int32)count, (Double*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttribs3(UInt32 index, Int32 count, [In, Out] Double[] v) + void VertexAttribs3(UInt32 index, Int32 count, Double[] v) { unsafe { @@ -52650,7 +55566,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttribs3(Int32 index, Int32 count, [In, Out] Double[] v) + void VertexAttribs3(Int32 index, Int32 count, Double[] v) { unsafe { @@ -52697,14 +55613,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttribs3(Int32 index, Int32 count, Single* v) { - { - Delegates.glVertexAttribs3fvNV((UInt32)index, (Int32)count, (Single*)v); - } + unsafe + { + Delegates.glVertexAttribs3fvNV((UInt32)index, (Int32)count, (Single*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttribs3(UInt32 index, Int32 count, [In, Out] Single[] v) + void VertexAttribs3(UInt32 index, Int32 count, Single[] v) { unsafe { @@ -52716,7 +55633,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttribs3(Int32 index, Int32 count, [In, Out] Single[] v) + void VertexAttribs3(Int32 index, Int32 count, Single[] v) { unsafe { @@ -52763,14 +55680,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttribs3(Int32 index, Int32 count, Int16* v) { - { - Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v); - } + unsafe + { + Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttribs3(UInt32 index, Int32 count, [In, Out] Int16[] v) + void VertexAttribs3(UInt32 index, Int32 count, Int16[] v) { unsafe { @@ -52782,7 +55700,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttribs3(Int32 index, Int32 count, [In, Out] Int16[] v) + void VertexAttribs3(Int32 index, Int32 count, Int16[] v) { unsafe { @@ -52829,14 +55747,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttribs4(Int32 index, Int32 count, Double* v) { - { - Delegates.glVertexAttribs4dvNV((UInt32)index, (Int32)count, (Double*)v); - } + unsafe + { + Delegates.glVertexAttribs4dvNV((UInt32)index, (Int32)count, (Double*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttribs4(UInt32 index, Int32 count, [In, Out] Double[] v) + void VertexAttribs4(UInt32 index, Int32 count, Double[] v) { unsafe { @@ -52848,7 +55767,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttribs4(Int32 index, Int32 count, [In, Out] Double[] v) + void VertexAttribs4(Int32 index, Int32 count, Double[] v) { unsafe { @@ -52895,14 +55814,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttribs4(Int32 index, Int32 count, Single* v) { - { - Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v); - } + unsafe + { + Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttribs4(UInt32 index, Int32 count, [In, Out] Single[] v) + void VertexAttribs4(UInt32 index, Int32 count, Single[] v) { unsafe { @@ -52914,7 +55834,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttribs4(Int32 index, Int32 count, [In, Out] Single[] v) + void VertexAttribs4(Int32 index, Int32 count, Single[] v) { unsafe { @@ -52961,14 +55881,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttribs4(Int32 index, Int32 count, Int16* v) { - { - Delegates.glVertexAttribs4svNV((UInt32)index, (Int32)count, (Int16*)v); - } + unsafe + { + Delegates.glVertexAttribs4svNV((UInt32)index, (Int32)count, (Int16*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttribs4(UInt32 index, Int32 count, [In, Out] Int16[] v) + void VertexAttribs4(UInt32 index, Int32 count, Int16[] v) { unsafe { @@ -52980,7 +55901,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttribs4(Int32 index, Int32 count, [In, Out] Int16[] v) + void VertexAttribs4(Int32 index, Int32 count, Int16[] v) { unsafe { @@ -53027,14 +55948,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttribs4(Int32 index, Int32 count, Byte* v) { - { - Delegates.glVertexAttribs4ubvNV((UInt32)index, (Int32)count, (Byte*)v); - } + unsafe + { + Delegates.glVertexAttribs4ubvNV((UInt32)index, (Int32)count, (Byte*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttribs4(UInt32 index, Int32 count, [In, Out] Byte[] v) + void VertexAttribs4(UInt32 index, Int32 count, Byte[] v) { unsafe { @@ -53046,7 +55968,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttribs4(Int32 index, Int32 count, [In, Out] Byte[] v) + void VertexAttribs4(Int32 index, Int32 count, Byte[] v) { unsafe { @@ -53093,15 +56015,15 @@ namespace OpenTK.OpenGL public static unsafe void GenOcclusionQueries(Int32 n, [Out] Int32* ids) { - ids = default(Int32*); - { - Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids); - } + unsafe + { + Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids); + } } [System.CLSCompliant(false)] public static - void GenOcclusionQueries(Int32 n, [In, Out] UInt32[] ids) + void GenOcclusionQueries(Int32 n, [Out] UInt32[] ids) { unsafe { @@ -53113,7 +56035,7 @@ namespace OpenTK.OpenGL } public static - void GenOcclusionQueries(Int32 n, [In, Out] Int32[] ids) + void GenOcclusionQueries(Int32 n, [Out] Int32[] ids) { unsafe { @@ -53128,13 +56050,12 @@ namespace OpenTK.OpenGL public static void GenOcclusionQueries(Int32 n, [Out] out UInt32 ids) { - ids = default(UInt32); unsafe { fixed (UInt32* ids_ptr = &ids) { Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr); - ids = *ids_ptr; + ids = *ids_ptr; } } } @@ -53142,13 +56063,12 @@ namespace OpenTK.OpenGL public static void GenOcclusionQueries(Int32 n, [Out] out Int32 ids) { - ids = default(Int32); unsafe { fixed (Int32* ids_ptr = &ids) { Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr); - ids = *ids_ptr; + ids = *ids_ptr; } } } @@ -53164,14 +56084,15 @@ namespace OpenTK.OpenGL public static unsafe void DeleteOcclusionQueries(Int32 n, Int32* ids) { - { - Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids); - } + unsafe + { + Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids); + } } [System.CLSCompliant(false)] public static - void DeleteOcclusionQueries(Int32 n, [In, Out] UInt32[] ids) + void DeleteOcclusionQueries(Int32 n, UInt32[] ids) { unsafe { @@ -53183,7 +56104,7 @@ namespace OpenTK.OpenGL } public static - void DeleteOcclusionQueries(Int32 n, [In, Out] Int32[] ids) + void DeleteOcclusionQueries(Int32 n, Int32[] ids) { unsafe { @@ -53260,29 +56181,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetOcclusionQueryv(Int32 id, GL.Enums.NV_occlusion_query pname, [Out] Int32* @params) - { - @params = default(Int32*); - { - Delegates.glGetOcclusionQueryivNV((UInt32)id, (GL.Enums.NV_occlusion_query)pname, (Int32*)@params); - } - } - - [System.CLSCompliant(false)] - public static - void GetOcclusionQueryv(UInt32 id, GL.Enums.NV_occlusion_query pname, [In, Out] Int32[] @params) - { - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetOcclusionQueryivNV((UInt32)id, (GL.Enums.NV_occlusion_query)pname, (Int32*)@params_ptr); - } - } - } - - public static - void GetOcclusionQueryv(Int32 id, GL.Enums.NV_occlusion_query pname, [In, Out] Int32[] @params) + void GetOcclusionQueryv(UInt32 id, GL.Enums.NV_occlusion_query pname, [Out] Int32[] @params) { unsafe { @@ -53297,27 +56196,12 @@ namespace OpenTK.OpenGL public static void GetOcclusionQueryv(UInt32 id, GL.Enums.NV_occlusion_query pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetOcclusionQueryivNV((UInt32)id, (GL.Enums.NV_occlusion_query)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - } - - public static - void GetOcclusionQueryv(Int32 id, GL.Enums.NV_occlusion_query pname, [Out] out Int32 @params) - { - @params = default(Int32); - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetOcclusionQueryivNV((UInt32)id, (GL.Enums.NV_occlusion_query)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -53331,7 +56215,17 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void GetOcclusionQueryv(UInt32 id, GL.Enums.NV_occlusion_query pname, [In, Out] UInt32[] @params) + unsafe void GetOcclusionQueryv(Int32 id, GL.Enums.NV_occlusion_query pname, [Out] Int32* @params) + { + unsafe + { + Delegates.glGetOcclusionQueryuivNV((UInt32)id, (GL.Enums.NV_occlusion_query)pname, (UInt32*)@params); + } + } + + [System.CLSCompliant(false)] + public static + void GetOcclusionQueryv(UInt32 id, GL.Enums.NV_occlusion_query pname, [Out] UInt32[] @params) { unsafe { @@ -53342,17 +56236,41 @@ namespace OpenTK.OpenGL } } + public static + void GetOcclusionQueryv(Int32 id, GL.Enums.NV_occlusion_query pname, [Out] Int32[] @params) + { + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetOcclusionQueryuivNV((UInt32)id, (GL.Enums.NV_occlusion_query)pname, (UInt32*)@params_ptr); + } + } + } + [System.CLSCompliant(false)] public static void GetOcclusionQueryv(UInt32 id, GL.Enums.NV_occlusion_query pname, [Out] out UInt32 @params) { - @params = default(UInt32); unsafe { fixed (UInt32* @params_ptr = &@params) { Delegates.glGetOcclusionQueryuivNV((UInt32)id, (GL.Enums.NV_occlusion_query)pname, (UInt32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; + } + } + } + + public static + void GetOcclusionQueryv(Int32 id, GL.Enums.NV_occlusion_query pname, [Out] out Int32 @params) + { + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetOcclusionQueryuivNV((UInt32)id, (GL.Enums.NV_occlusion_query)pname, (UInt32*)@params_ptr); + @params = *@params_ptr; } } } @@ -53371,7 +56289,7 @@ namespace OpenTK.OpenGL } public static - void PointParameterv(GL.Enums.NV_point_sprite pname, [In, Out] Int32[] @params) + void PointParameterv(GL.Enums.NV_point_sprite pname, Int32[] @params) { unsafe { @@ -53405,14 +56323,15 @@ namespace OpenTK.OpenGL public static unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Single x, Single y, Single z, Single w) { - { - Delegates.glProgramNamedParameter4fNV((UInt32)id, (Int32)len, (Byte*)name, (Single)x, (Single)y, (Single)z, (Single)w); - } + unsafe + { + Delegates.glProgramNamedParameter4fNV((UInt32)id, (Int32)len, (Byte*)name, (Single)x, (Single)y, (Single)z, (Single)w); + } } [System.CLSCompliant(false)] public static - void ProgramNamedParameter4(UInt32 id, Int32 len, [In, Out] Byte[] name, Single x, Single y, Single z, Single w) + void ProgramNamedParameter4(UInt32 id, Int32 len, Byte[] name, Single x, Single y, Single z, Single w) { unsafe { @@ -53424,7 +56343,7 @@ namespace OpenTK.OpenGL } public static - void ProgramNamedParameter4(Int32 id, Int32 len, [In, Out] Byte[] name, Single x, Single y, Single z, Single w) + void ProgramNamedParameter4(Int32 id, Int32 len, Byte[] name, Single x, Single y, Single z, Single w) { unsafe { @@ -53471,14 +56390,15 @@ namespace OpenTK.OpenGL public static unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Double x, Double y, Double z, Double w) { - { - Delegates.glProgramNamedParameter4dNV((UInt32)id, (Int32)len, (Byte*)name, (Double)x, (Double)y, (Double)z, (Double)w); - } + unsafe + { + Delegates.glProgramNamedParameter4dNV((UInt32)id, (Int32)len, (Byte*)name, (Double)x, (Double)y, (Double)z, (Double)w); + } } [System.CLSCompliant(false)] public static - void ProgramNamedParameter4(UInt32 id, Int32 len, [In, Out] Byte[] name, Double x, Double y, Double z, Double w) + void ProgramNamedParameter4(UInt32 id, Int32 len, Byte[] name, Double x, Double y, Double z, Double w) { unsafe { @@ -53490,7 +56410,7 @@ namespace OpenTK.OpenGL } public static - void ProgramNamedParameter4(Int32 id, Int32 len, [In, Out] Byte[] name, Double x, Double y, Double z, Double w) + void ProgramNamedParameter4(Int32 id, Int32 len, Byte[] name, Double x, Double y, Double z, Double w) { unsafe { @@ -53537,74 +56457,93 @@ namespace OpenTK.OpenGL public static unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Single* v) { - { - Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)v); - } + unsafe + { + Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)v); + } } [System.CLSCompliant(false)] public static - unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, [In, Out] Single[] v) + unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Single[] v) { + unsafe + { fixed (Single* v_ptr = v) { Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, [In, Out] Single[] v) + unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Single[] v) { + unsafe + { fixed (Single* v_ptr = v) { Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, ref Single v) { + unsafe + { fixed (Single* v_ptr = &v) { Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, ref Single v) { + unsafe + { fixed (Single* v_ptr = &v) { Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, [In, Out] Byte[] name, Single* v) + unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte[] name, Single* v) { + unsafe + { fixed (Byte* name_ptr = name) { Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ProgramNamedParameter4(Int32 id, Int32 len, [In, Out] Byte[] name, Single* v) + unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte[] name, Single* v) { + unsafe + { fixed (Byte* name_ptr = name) { Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ProgramNamedParameter4(UInt32 id, Int32 len, [In, Out] Byte[] name, [In, Out] Single[] v) + void ProgramNamedParameter4(UInt32 id, Int32 len, Byte[] name, Single[] v) { unsafe { @@ -53617,7 +56556,7 @@ namespace OpenTK.OpenGL } public static - void ProgramNamedParameter4(Int32 id, Int32 len, [In, Out] Byte[] name, [In, Out] Single[] v) + void ProgramNamedParameter4(Int32 id, Int32 len, Byte[] name, Single[] v) { unsafe { @@ -53631,7 +56570,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void ProgramNamedParameter4(UInt32 id, Int32 len, [In, Out] Byte[] name, ref Single v) + void ProgramNamedParameter4(UInt32 id, Int32 len, Byte[] name, ref Single v) { unsafe { @@ -53644,7 +56583,7 @@ namespace OpenTK.OpenGL } public static - void ProgramNamedParameter4(Int32 id, Int32 len, [In, Out] Byte[] name, ref Single v) + void ProgramNamedParameter4(Int32 id, Int32 len, Byte[] name, ref Single v) { unsafe { @@ -53660,25 +56599,31 @@ namespace OpenTK.OpenGL public static unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, ref Byte name, Single* v) { + unsafe + { fixed (Byte* name_ptr = &name) { Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static unsafe void ProgramNamedParameter4(Int32 id, Int32 len, ref Byte name, Single* v) { + unsafe + { fixed (Byte* name_ptr = &name) { Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)v); } + } } [System.CLSCompliant(false)] public static - void ProgramNamedParameter4(UInt32 id, Int32 len, ref Byte name, [In, Out] Single[] v) + void ProgramNamedParameter4(UInt32 id, Int32 len, ref Byte name, Single[] v) { unsafe { @@ -53691,7 +56636,7 @@ namespace OpenTK.OpenGL } public static - void ProgramNamedParameter4(Int32 id, Int32 len, ref Byte name, [In, Out] Single[] v) + void ProgramNamedParameter4(Int32 id, Int32 len, ref Byte name, Single[] v) { unsafe { @@ -53741,74 +56686,93 @@ namespace OpenTK.OpenGL public static unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Double* v) { - { - Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)v); - } + unsafe + { + Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)v); + } } [System.CLSCompliant(false)] public static - unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, [In, Out] Double[] v) + unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Double[] v) { + unsafe + { fixed (Double* v_ptr = v) { Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, [In, Out] Double[] v) + unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Double[] v) { + unsafe + { fixed (Double* v_ptr = v) { Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, ref Double v) { + unsafe + { fixed (Double* v_ptr = &v) { Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)v_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, ref Double v) { + unsafe + { fixed (Double* v_ptr = &v) { Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)v_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, [In, Out] Byte[] name, Double* v) + unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte[] name, Double* v) { + unsafe + { fixed (Byte* name_ptr = name) { Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)v); } + } } [System.CLSCompliant(false)] public static - unsafe void ProgramNamedParameter4(Int32 id, Int32 len, [In, Out] Byte[] name, Double* v) + unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte[] name, Double* v) { + unsafe + { fixed (Byte* name_ptr = name) { Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)v); } + } } [System.CLSCompliant(false)] public static - void ProgramNamedParameter4(UInt32 id, Int32 len, [In, Out] Byte[] name, [In, Out] Double[] v) + void ProgramNamedParameter4(UInt32 id, Int32 len, Byte[] name, Double[] v) { unsafe { @@ -53821,7 +56785,7 @@ namespace OpenTK.OpenGL } public static - void ProgramNamedParameter4(Int32 id, Int32 len, [In, Out] Byte[] name, [In, Out] Double[] v) + void ProgramNamedParameter4(Int32 id, Int32 len, Byte[] name, Double[] v) { unsafe { @@ -53835,7 +56799,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void ProgramNamedParameter4(UInt32 id, Int32 len, [In, Out] Byte[] name, ref Double v) + void ProgramNamedParameter4(UInt32 id, Int32 len, Byte[] name, ref Double v) { unsafe { @@ -53848,7 +56812,7 @@ namespace OpenTK.OpenGL } public static - void ProgramNamedParameter4(Int32 id, Int32 len, [In, Out] Byte[] name, ref Double v) + void ProgramNamedParameter4(Int32 id, Int32 len, Byte[] name, ref Double v) { unsafe { @@ -53864,25 +56828,31 @@ namespace OpenTK.OpenGL public static unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, ref Byte name, Double* v) { + unsafe + { fixed (Byte* name_ptr = &name) { Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)v); } + } } [System.CLSCompliant(false)] public static unsafe void ProgramNamedParameter4(Int32 id, Int32 len, ref Byte name, Double* v) { + unsafe + { fixed (Byte* name_ptr = &name) { Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)v); } + } } [System.CLSCompliant(false)] public static - void ProgramNamedParameter4(UInt32 id, Int32 len, ref Byte name, [In, Out] Double[] v) + void ProgramNamedParameter4(UInt32 id, Int32 len, ref Byte name, Double[] v) { unsafe { @@ -53895,7 +56865,7 @@ namespace OpenTK.OpenGL } public static - void ProgramNamedParameter4(Int32 id, Int32 len, ref Byte name, [In, Out] Double[] v) + void ProgramNamedParameter4(Int32 id, Int32 len, ref Byte name, Double[] v) { unsafe { @@ -53945,81 +56915,95 @@ namespace OpenTK.OpenGL public static unsafe void GetProgramNamedParameterv(Int32 id, Int32 len, Byte* name, [Out] Single* @params) { - @params = default(Single*); - { - Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)@params); - } + unsafe + { + Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)@params); + } } [System.CLSCompliant(false)] public static - unsafe void GetProgramNamedParameterv(UInt32 id, Int32 len, Byte* name, [In, Out] Single[] @params) + unsafe void GetProgramNamedParameterv(UInt32 id, Int32 len, Byte* name, [Out] Single[] @params) { + unsafe + { fixed (Single* @params_ptr = @params) { Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)@params_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void GetProgramNamedParameterv(Int32 id, Int32 len, Byte* name, [In, Out] Single[] @params) + unsafe void GetProgramNamedParameterv(Int32 id, Int32 len, Byte* name, [Out] Single[] @params) { + unsafe + { fixed (Single* @params_ptr = @params) { Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)@params_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void GetProgramNamedParameterv(UInt32 id, Int32 len, Byte* name, [Out] out Single @params) { - @params = default(Single); + unsafe + { fixed (Single* @params_ptr = &@params) { Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetProgramNamedParameterv(Int32 id, Int32 len, Byte* name, [Out] out Single @params) { - @params = default(Single); + unsafe + { fixed (Single* @params_ptr = &@params) { Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetProgramNamedParameterv(UInt32 id, Int32 len, [In, Out] Byte[] name, [Out] Single* @params) + unsafe void GetProgramNamedParameterv(UInt32 id, Int32 len, Byte[] name, [Out] Single* @params) { - @params = default(Single*); + unsafe + { fixed (Byte* name_ptr = name) { Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)@params); } + } } [System.CLSCompliant(false)] public static - unsafe void GetProgramNamedParameterv(Int32 id, Int32 len, [In, Out] Byte[] name, [Out] Single* @params) + unsafe void GetProgramNamedParameterv(Int32 id, Int32 len, Byte[] name, [Out] Single* @params) { - @params = default(Single*); + unsafe + { fixed (Byte* name_ptr = name) { Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)@params); } + } } [System.CLSCompliant(false)] public static - void GetProgramNamedParameterv(UInt32 id, Int32 len, [In, Out] Byte[] name, [In, Out] Single[] @params) + void GetProgramNamedParameterv(UInt32 id, Int32 len, Byte[] name, [Out] Single[] @params) { unsafe { @@ -54032,7 +57016,7 @@ namespace OpenTK.OpenGL } public static - void GetProgramNamedParameterv(Int32 id, Int32 len, [In, Out] Byte[] name, [In, Out] Single[] @params) + void GetProgramNamedParameterv(Int32 id, Int32 len, Byte[] name, [Out] Single[] @params) { unsafe { @@ -54046,31 +57030,29 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void GetProgramNamedParameterv(UInt32 id, Int32 len, [In, Out] Byte[] name, [Out] out Single @params) + void GetProgramNamedParameterv(UInt32 id, Int32 len, Byte[] name, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Byte* name_ptr = name) fixed (Single* @params_ptr = &@params) { Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } public static - void GetProgramNamedParameterv(Int32 id, Int32 len, [In, Out] Byte[] name, [Out] out Single @params) + void GetProgramNamedParameterv(Int32 id, Int32 len, Byte[] name, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Byte* name_ptr = name) fixed (Single* @params_ptr = &@params) { Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -54079,27 +57061,31 @@ namespace OpenTK.OpenGL public static unsafe void GetProgramNamedParameterv(UInt32 id, Int32 len, ref Byte name, [Out] Single* @params) { - @params = default(Single*); + unsafe + { fixed (Byte* name_ptr = &name) { Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)@params); } + } } [System.CLSCompliant(false)] public static unsafe void GetProgramNamedParameterv(Int32 id, Int32 len, ref Byte name, [Out] Single* @params) { - @params = default(Single*); + unsafe + { fixed (Byte* name_ptr = &name) { Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)@params); } + } } [System.CLSCompliant(false)] public static - void GetProgramNamedParameterv(UInt32 id, Int32 len, ref Byte name, [In, Out] Single[] @params) + void GetProgramNamedParameterv(UInt32 id, Int32 len, ref Byte name, [Out] Single[] @params) { unsafe { @@ -54112,7 +57098,7 @@ namespace OpenTK.OpenGL } public static - void GetProgramNamedParameterv(Int32 id, Int32 len, ref Byte name, [In, Out] Single[] @params) + void GetProgramNamedParameterv(Int32 id, Int32 len, ref Byte name, [Out] Single[] @params) { unsafe { @@ -54128,14 +57114,13 @@ namespace OpenTK.OpenGL public static void GetProgramNamedParameterv(UInt32 id, Int32 len, ref Byte name, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Byte* name_ptr = &name) fixed (Single* @params_ptr = &@params) { Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -54143,14 +57128,13 @@ namespace OpenTK.OpenGL public static void GetProgramNamedParameterv(Int32 id, Int32 len, ref Byte name, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Byte* name_ptr = &name) fixed (Single* @params_ptr = &@params) { Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -54166,81 +57150,95 @@ namespace OpenTK.OpenGL public static unsafe void GetProgramNamedParameterv(Int32 id, Int32 len, Byte* name, [Out] Double* @params) { - @params = default(Double*); - { - Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)@params); - } + unsafe + { + Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)@params); + } } [System.CLSCompliant(false)] public static - unsafe void GetProgramNamedParameterv(UInt32 id, Int32 len, Byte* name, [In, Out] Double[] @params) + unsafe void GetProgramNamedParameterv(UInt32 id, Int32 len, Byte* name, [Out] Double[] @params) { + unsafe + { fixed (Double* @params_ptr = @params) { Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)@params_ptr); } + } } [System.CLSCompliant(false)] public static - unsafe void GetProgramNamedParameterv(Int32 id, Int32 len, Byte* name, [In, Out] Double[] @params) + unsafe void GetProgramNamedParameterv(Int32 id, Int32 len, Byte* name, [Out] Double[] @params) { + unsafe + { fixed (Double* @params_ptr = @params) { Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)@params_ptr); } + } } [System.CLSCompliant(false)] public static unsafe void GetProgramNamedParameterv(UInt32 id, Int32 len, Byte* name, [Out] out Double @params) { - @params = default(Double); + unsafe + { fixed (Double* @params_ptr = &@params) { Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetProgramNamedParameterv(Int32 id, Int32 len, Byte* name, [Out] out Double @params) { - @params = default(Double); + unsafe + { fixed (Double* @params_ptr = &@params) { Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetProgramNamedParameterv(UInt32 id, Int32 len, [In, Out] Byte[] name, [Out] Double* @params) + unsafe void GetProgramNamedParameterv(UInt32 id, Int32 len, Byte[] name, [Out] Double* @params) { - @params = default(Double*); + unsafe + { fixed (Byte* name_ptr = name) { Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)@params); } + } } [System.CLSCompliant(false)] public static - unsafe void GetProgramNamedParameterv(Int32 id, Int32 len, [In, Out] Byte[] name, [Out] Double* @params) + unsafe void GetProgramNamedParameterv(Int32 id, Int32 len, Byte[] name, [Out] Double* @params) { - @params = default(Double*); + unsafe + { fixed (Byte* name_ptr = name) { Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)@params); } + } } [System.CLSCompliant(false)] public static - void GetProgramNamedParameterv(UInt32 id, Int32 len, [In, Out] Byte[] name, [In, Out] Double[] @params) + void GetProgramNamedParameterv(UInt32 id, Int32 len, Byte[] name, [Out] Double[] @params) { unsafe { @@ -54253,7 +57251,7 @@ namespace OpenTK.OpenGL } public static - void GetProgramNamedParameterv(Int32 id, Int32 len, [In, Out] Byte[] name, [In, Out] Double[] @params) + void GetProgramNamedParameterv(Int32 id, Int32 len, Byte[] name, [Out] Double[] @params) { unsafe { @@ -54267,31 +57265,29 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void GetProgramNamedParameterv(UInt32 id, Int32 len, [In, Out] Byte[] name, [Out] out Double @params) + void GetProgramNamedParameterv(UInt32 id, Int32 len, Byte[] name, [Out] out Double @params) { - @params = default(Double); unsafe { fixed (Byte* name_ptr = name) fixed (Double* @params_ptr = &@params) { Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } public static - void GetProgramNamedParameterv(Int32 id, Int32 len, [In, Out] Byte[] name, [Out] out Double @params) + void GetProgramNamedParameterv(Int32 id, Int32 len, Byte[] name, [Out] out Double @params) { - @params = default(Double); unsafe { fixed (Byte* name_ptr = name) fixed (Double* @params_ptr = &@params) { Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -54300,27 +57296,31 @@ namespace OpenTK.OpenGL public static unsafe void GetProgramNamedParameterv(UInt32 id, Int32 len, ref Byte name, [Out] Double* @params) { - @params = default(Double*); + unsafe + { fixed (Byte* name_ptr = &name) { Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)@params); } + } } [System.CLSCompliant(false)] public static unsafe void GetProgramNamedParameterv(Int32 id, Int32 len, ref Byte name, [Out] Double* @params) { - @params = default(Double*); + unsafe + { fixed (Byte* name_ptr = &name) { Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)@params); } + } } [System.CLSCompliant(false)] public static - void GetProgramNamedParameterv(UInt32 id, Int32 len, ref Byte name, [In, Out] Double[] @params) + void GetProgramNamedParameterv(UInt32 id, Int32 len, ref Byte name, [Out] Double[] @params) { unsafe { @@ -54333,7 +57333,7 @@ namespace OpenTK.OpenGL } public static - void GetProgramNamedParameterv(Int32 id, Int32 len, ref Byte name, [In, Out] Double[] @params) + void GetProgramNamedParameterv(Int32 id, Int32 len, ref Byte name, [Out] Double[] @params) { unsafe { @@ -54349,14 +57349,13 @@ namespace OpenTK.OpenGL public static void GetProgramNamedParameterv(UInt32 id, Int32 len, ref Byte name, [Out] out Double @params) { - @params = default(Double); unsafe { fixed (Byte* name_ptr = &name) fixed (Double* @params_ptr = &@params) { Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -54364,14 +57363,13 @@ namespace OpenTK.OpenGL public static void GetProgramNamedParameterv(Int32 id, Int32 len, ref Byte name, [Out] out Double @params) { - @params = default(Double); unsafe { fixed (Byte* name_ptr = &name) fixed (Double* @params_ptr = &@params) { Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -54400,14 +57398,15 @@ namespace OpenTK.OpenGL public static unsafe void Vertex2hv(Int16* v) { - { - Delegates.glVertex2hvNV((UInt16*)v); - } + unsafe + { + Delegates.glVertex2hvNV((UInt16*)v); + } } [System.CLSCompliant(false)] public static - void Vertex2hv([In, Out] UInt16[] v) + void Vertex2hv(UInt16[] v) { unsafe { @@ -54419,7 +57418,7 @@ namespace OpenTK.OpenGL } public static - void Vertex2hv([In, Out] Int16[] v) + void Vertex2hv(Int16[] v) { unsafe { @@ -54479,14 +57478,15 @@ namespace OpenTK.OpenGL public static unsafe void Vertex3hv(Int16* v) { - { - Delegates.glVertex3hvNV((UInt16*)v); - } + unsafe + { + Delegates.glVertex3hvNV((UInt16*)v); + } } [System.CLSCompliant(false)] public static - void Vertex3hv([In, Out] UInt16[] v) + void Vertex3hv(UInt16[] v) { unsafe { @@ -54498,7 +57498,7 @@ namespace OpenTK.OpenGL } public static - void Vertex3hv([In, Out] Int16[] v) + void Vertex3hv(Int16[] v) { unsafe { @@ -54558,14 +57558,15 @@ namespace OpenTK.OpenGL public static unsafe void Vertex4hv(Int16* v) { - { - Delegates.glVertex4hvNV((UInt16*)v); - } + unsafe + { + Delegates.glVertex4hvNV((UInt16*)v); + } } [System.CLSCompliant(false)] public static - void Vertex4hv([In, Out] UInt16[] v) + void Vertex4hv(UInt16[] v) { unsafe { @@ -54577,7 +57578,7 @@ namespace OpenTK.OpenGL } public static - void Vertex4hv([In, Out] Int16[] v) + void Vertex4hv(Int16[] v) { unsafe { @@ -54637,14 +57638,15 @@ namespace OpenTK.OpenGL public static unsafe void Normal3hv(Int16* v) { - { - Delegates.glNormal3hvNV((UInt16*)v); - } + unsafe + { + Delegates.glNormal3hvNV((UInt16*)v); + } } [System.CLSCompliant(false)] public static - void Normal3hv([In, Out] UInt16[] v) + void Normal3hv(UInt16[] v) { unsafe { @@ -54656,7 +57658,7 @@ namespace OpenTK.OpenGL } public static - void Normal3hv([In, Out] Int16[] v) + void Normal3hv(Int16[] v) { unsafe { @@ -54716,14 +57718,15 @@ namespace OpenTK.OpenGL public static unsafe void Color3hv(Int16* v) { - { - Delegates.glColor3hvNV((UInt16*)v); - } + unsafe + { + Delegates.glColor3hvNV((UInt16*)v); + } } [System.CLSCompliant(false)] public static - void Color3hv([In, Out] UInt16[] v) + void Color3hv(UInt16[] v) { unsafe { @@ -54735,7 +57738,7 @@ namespace OpenTK.OpenGL } public static - void Color3hv([In, Out] Int16[] v) + void Color3hv(Int16[] v) { unsafe { @@ -54795,14 +57798,15 @@ namespace OpenTK.OpenGL public static unsafe void Color4hv(Int16* v) { - { - Delegates.glColor4hvNV((UInt16*)v); - } + unsafe + { + Delegates.glColor4hvNV((UInt16*)v); + } } [System.CLSCompliant(false)] public static - void Color4hv([In, Out] UInt16[] v) + void Color4hv(UInt16[] v) { unsafe { @@ -54814,7 +57818,7 @@ namespace OpenTK.OpenGL } public static - void Color4hv([In, Out] Int16[] v) + void Color4hv(Int16[] v) { unsafe { @@ -54874,14 +57878,15 @@ namespace OpenTK.OpenGL public static unsafe void TexCoord1hv(Int16* v) { - { - Delegates.glTexCoord1hvNV((UInt16*)v); - } + unsafe + { + Delegates.glTexCoord1hvNV((UInt16*)v); + } } [System.CLSCompliant(false)] public static - void TexCoord1hv([In, Out] UInt16[] v) + void TexCoord1hv(UInt16[] v) { unsafe { @@ -54893,7 +57898,7 @@ namespace OpenTK.OpenGL } public static - void TexCoord1hv([In, Out] Int16[] v) + void TexCoord1hv(Int16[] v) { unsafe { @@ -54953,14 +57958,15 @@ namespace OpenTK.OpenGL public static unsafe void TexCoord2hv(Int16* v) { - { - Delegates.glTexCoord2hvNV((UInt16*)v); - } + unsafe + { + Delegates.glTexCoord2hvNV((UInt16*)v); + } } [System.CLSCompliant(false)] public static - void TexCoord2hv([In, Out] UInt16[] v) + void TexCoord2hv(UInt16[] v) { unsafe { @@ -54972,7 +57978,7 @@ namespace OpenTK.OpenGL } public static - void TexCoord2hv([In, Out] Int16[] v) + void TexCoord2hv(Int16[] v) { unsafe { @@ -55032,14 +58038,15 @@ namespace OpenTK.OpenGL public static unsafe void TexCoord3hv(Int16* v) { - { - Delegates.glTexCoord3hvNV((UInt16*)v); - } + unsafe + { + Delegates.glTexCoord3hvNV((UInt16*)v); + } } [System.CLSCompliant(false)] public static - void TexCoord3hv([In, Out] UInt16[] v) + void TexCoord3hv(UInt16[] v) { unsafe { @@ -55051,7 +58058,7 @@ namespace OpenTK.OpenGL } public static - void TexCoord3hv([In, Out] Int16[] v) + void TexCoord3hv(Int16[] v) { unsafe { @@ -55111,14 +58118,15 @@ namespace OpenTK.OpenGL public static unsafe void TexCoord4hv(Int16* v) { - { - Delegates.glTexCoord4hvNV((UInt16*)v); - } + unsafe + { + Delegates.glTexCoord4hvNV((UInt16*)v); + } } [System.CLSCompliant(false)] public static - void TexCoord4hv([In, Out] UInt16[] v) + void TexCoord4hv(UInt16[] v) { unsafe { @@ -55130,7 +58138,7 @@ namespace OpenTK.OpenGL } public static - void TexCoord4hv([In, Out] Int16[] v) + void TexCoord4hv(Int16[] v) { unsafe { @@ -55190,14 +58198,15 @@ namespace OpenTK.OpenGL public static unsafe void MultiTexCoord1hv(GL.Enums.NV_half_float target, Int16* v) { - { - Delegates.glMultiTexCoord1hvNV((GL.Enums.NV_half_float)target, (UInt16*)v); - } + unsafe + { + Delegates.glMultiTexCoord1hvNV((GL.Enums.NV_half_float)target, (UInt16*)v); + } } [System.CLSCompliant(false)] public static - void MultiTexCoord1hv(GL.Enums.NV_half_float target, [In, Out] UInt16[] v) + void MultiTexCoord1hv(GL.Enums.NV_half_float target, UInt16[] v) { unsafe { @@ -55209,7 +58218,7 @@ namespace OpenTK.OpenGL } public static - void MultiTexCoord1hv(GL.Enums.NV_half_float target, [In, Out] Int16[] v) + void MultiTexCoord1hv(GL.Enums.NV_half_float target, Int16[] v) { unsafe { @@ -55269,14 +58278,15 @@ namespace OpenTK.OpenGL public static unsafe void MultiTexCoord2hv(GL.Enums.NV_half_float target, Int16* v) { - { - Delegates.glMultiTexCoord2hvNV((GL.Enums.NV_half_float)target, (UInt16*)v); - } + unsafe + { + Delegates.glMultiTexCoord2hvNV((GL.Enums.NV_half_float)target, (UInt16*)v); + } } [System.CLSCompliant(false)] public static - void MultiTexCoord2hv(GL.Enums.NV_half_float target, [In, Out] UInt16[] v) + void MultiTexCoord2hv(GL.Enums.NV_half_float target, UInt16[] v) { unsafe { @@ -55288,7 +58298,7 @@ namespace OpenTK.OpenGL } public static - void MultiTexCoord2hv(GL.Enums.NV_half_float target, [In, Out] Int16[] v) + void MultiTexCoord2hv(GL.Enums.NV_half_float target, Int16[] v) { unsafe { @@ -55348,14 +58358,15 @@ namespace OpenTK.OpenGL public static unsafe void MultiTexCoord3hv(GL.Enums.NV_half_float target, Int16* v) { - { - Delegates.glMultiTexCoord3hvNV((GL.Enums.NV_half_float)target, (UInt16*)v); - } + unsafe + { + Delegates.glMultiTexCoord3hvNV((GL.Enums.NV_half_float)target, (UInt16*)v); + } } [System.CLSCompliant(false)] public static - void MultiTexCoord3hv(GL.Enums.NV_half_float target, [In, Out] UInt16[] v) + void MultiTexCoord3hv(GL.Enums.NV_half_float target, UInt16[] v) { unsafe { @@ -55367,7 +58378,7 @@ namespace OpenTK.OpenGL } public static - void MultiTexCoord3hv(GL.Enums.NV_half_float target, [In, Out] Int16[] v) + void MultiTexCoord3hv(GL.Enums.NV_half_float target, Int16[] v) { unsafe { @@ -55427,14 +58438,15 @@ namespace OpenTK.OpenGL public static unsafe void MultiTexCoord4hv(GL.Enums.NV_half_float target, Int16* v) { - { - Delegates.glMultiTexCoord4hvNV((GL.Enums.NV_half_float)target, (UInt16*)v); - } + unsafe + { + Delegates.glMultiTexCoord4hvNV((GL.Enums.NV_half_float)target, (UInt16*)v); + } } [System.CLSCompliant(false)] public static - void MultiTexCoord4hv(GL.Enums.NV_half_float target, [In, Out] UInt16[] v) + void MultiTexCoord4hv(GL.Enums.NV_half_float target, UInt16[] v) { unsafe { @@ -55446,7 +58458,7 @@ namespace OpenTK.OpenGL } public static - void MultiTexCoord4hv(GL.Enums.NV_half_float target, [In, Out] Int16[] v) + void MultiTexCoord4hv(GL.Enums.NV_half_float target, Int16[] v) { unsafe { @@ -55506,14 +58518,15 @@ namespace OpenTK.OpenGL public static unsafe void FogCoordhv(Int16* fog) { - { - Delegates.glFogCoordhvNV((UInt16*)fog); - } + unsafe + { + Delegates.glFogCoordhvNV((UInt16*)fog); + } } [System.CLSCompliant(false)] public static - void FogCoordhv([In, Out] UInt16[] fog) + void FogCoordhv(UInt16[] fog) { unsafe { @@ -55525,7 +58538,7 @@ namespace OpenTK.OpenGL } public static - void FogCoordhv([In, Out] Int16[] fog) + void FogCoordhv(Int16[] fog) { unsafe { @@ -55585,14 +58598,15 @@ namespace OpenTK.OpenGL public static unsafe void SecondaryColor3hv(Int16* v) { - { - Delegates.glSecondaryColor3hvNV((UInt16*)v); - } + unsafe + { + Delegates.glSecondaryColor3hvNV((UInt16*)v); + } } [System.CLSCompliant(false)] public static - void SecondaryColor3hv([In, Out] UInt16[] v) + void SecondaryColor3hv(UInt16[] v) { unsafe { @@ -55604,7 +58618,7 @@ namespace OpenTK.OpenGL } public static - void SecondaryColor3hv([In, Out] Int16[] v) + void SecondaryColor3hv(Int16[] v) { unsafe { @@ -55664,14 +58678,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexWeighthv(Int16* weight) { - { - Delegates.glVertexWeighthvNV((UInt16*)weight); - } + unsafe + { + Delegates.glVertexWeighthvNV((UInt16*)weight); + } } [System.CLSCompliant(false)] public static - void VertexWeighthv([In, Out] UInt16[] weight) + void VertexWeighthv(UInt16[] weight) { unsafe { @@ -55683,7 +58698,7 @@ namespace OpenTK.OpenGL } public static - void VertexWeighthv([In, Out] Int16[] weight) + void VertexWeighthv(Int16[] weight) { unsafe { @@ -55743,14 +58758,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttrib1hv(Int32 index, Int16* v) { - { - Delegates.glVertexAttrib1hvNV((UInt32)index, (UInt16*)v); - } + unsafe + { + Delegates.glVertexAttrib1hvNV((UInt32)index, (UInt16*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttrib1hv(UInt32 index, [In, Out] UInt16[] v) + void VertexAttrib1hv(UInt32 index, UInt16[] v) { unsafe { @@ -55762,7 +58778,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttrib1hv(Int32 index, [In, Out] Int16[] v) + void VertexAttrib1hv(Int32 index, Int16[] v) { unsafe { @@ -55822,14 +58838,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttrib2hv(Int32 index, Int16* v) { - { - Delegates.glVertexAttrib2hvNV((UInt32)index, (UInt16*)v); - } + unsafe + { + Delegates.glVertexAttrib2hvNV((UInt32)index, (UInt16*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttrib2hv(UInt32 index, [In, Out] UInt16[] v) + void VertexAttrib2hv(UInt32 index, UInt16[] v) { unsafe { @@ -55841,7 +58858,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttrib2hv(Int32 index, [In, Out] Int16[] v) + void VertexAttrib2hv(Int32 index, Int16[] v) { unsafe { @@ -55901,14 +58918,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttrib3hv(Int32 index, Int16* v) { - { - Delegates.glVertexAttrib3hvNV((UInt32)index, (UInt16*)v); - } + unsafe + { + Delegates.glVertexAttrib3hvNV((UInt32)index, (UInt16*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttrib3hv(UInt32 index, [In, Out] UInt16[] v) + void VertexAttrib3hv(UInt32 index, UInt16[] v) { unsafe { @@ -55920,7 +58938,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttrib3hv(Int32 index, [In, Out] Int16[] v) + void VertexAttrib3hv(Int32 index, Int16[] v) { unsafe { @@ -55980,14 +58998,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttrib4hv(Int32 index, Int16* v) { - { - Delegates.glVertexAttrib4hvNV((UInt32)index, (UInt16*)v); - } + unsafe + { + Delegates.glVertexAttrib4hvNV((UInt32)index, (UInt16*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttrib4hv(UInt32 index, [In, Out] UInt16[] v) + void VertexAttrib4hv(UInt32 index, UInt16[] v) { unsafe { @@ -55999,7 +59018,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttrib4hv(Int32 index, [In, Out] Int16[] v) + void VertexAttrib4hv(Int32 index, Int16[] v) { unsafe { @@ -56046,14 +59065,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttribs1hv(Int32 index, Int32 n, Int16* v) { - { - Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (UInt16*)v); - } + unsafe + { + Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (UInt16*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttribs1hv(UInt32 index, Int32 n, [In, Out] UInt16[] v) + void VertexAttribs1hv(UInt32 index, Int32 n, UInt16[] v) { unsafe { @@ -56065,7 +59085,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttribs1hv(Int32 index, Int32 n, [In, Out] Int16[] v) + void VertexAttribs1hv(Int32 index, Int32 n, Int16[] v) { unsafe { @@ -56112,14 +59132,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttribs2hv(Int32 index, Int32 n, Int16* v) { - { - Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (UInt16*)v); - } + unsafe + { + Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (UInt16*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttribs2hv(UInt32 index, Int32 n, [In, Out] UInt16[] v) + void VertexAttribs2hv(UInt32 index, Int32 n, UInt16[] v) { unsafe { @@ -56131,7 +59152,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttribs2hv(Int32 index, Int32 n, [In, Out] Int16[] v) + void VertexAttribs2hv(Int32 index, Int32 n, Int16[] v) { unsafe { @@ -56178,14 +59199,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttribs3hv(Int32 index, Int32 n, Int16* v) { - { - Delegates.glVertexAttribs3hvNV((UInt32)index, (Int32)n, (UInt16*)v); - } + unsafe + { + Delegates.glVertexAttribs3hvNV((UInt32)index, (Int32)n, (UInt16*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttribs3hv(UInt32 index, Int32 n, [In, Out] UInt16[] v) + void VertexAttribs3hv(UInt32 index, Int32 n, UInt16[] v) { unsafe { @@ -56197,7 +59219,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttribs3hv(Int32 index, Int32 n, [In, Out] Int16[] v) + void VertexAttribs3hv(Int32 index, Int32 n, Int16[] v) { unsafe { @@ -56244,14 +59266,15 @@ namespace OpenTK.OpenGL public static unsafe void VertexAttribs4hv(Int32 index, Int32 n, Int16* v) { - { - Delegates.glVertexAttribs4hvNV((UInt32)index, (Int32)n, (UInt16*)v); - } + unsafe + { + Delegates.glVertexAttribs4hvNV((UInt32)index, (Int32)n, (UInt16*)v); + } } [System.CLSCompliant(false)] public static - void VertexAttribs4hv(UInt32 index, Int32 n, [In, Out] UInt16[] v) + void VertexAttribs4hv(UInt32 index, Int32 n, UInt16[] v) { unsafe { @@ -56263,7 +59286,7 @@ namespace OpenTK.OpenGL } public static - void VertexAttribs4hv(Int32 index, Int32 n, [In, Out] Int16[] v) + void VertexAttribs4hv(Int32 index, Int32 n, Int16[] v) { unsafe { @@ -56309,16 +59332,15 @@ namespace OpenTK.OpenGL public static void PixelDataRange(GL.Enums.NV_pixel_data_range target, Int32 length, [In, Out] object pointer) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glPixelDataRangeNV((GL.Enums.NV_pixel_data_range)target, (Int32)length, (void*)pointer_ptr.AddrOfPinnedObject()); } finally { - pointer_ptr.Free(); } } } @@ -56355,12 +59377,6 @@ namespace OpenTK.OpenGL Delegates.glProgramLocalParameterI4iNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); } - public static - void ProgramLocalParameterI4(GL.Enums.NV_gpu_program4 target, Int32 index, Int32 x, Int32 y, Int32 z, Int32 w) - { - Delegates.glProgramLocalParameterI4iNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); - } - [System.CLSCompliant(false)] public static unsafe void ProgramLocalParameterI4(GL.Enums.NV_gpu_program4 target, UInt32 index, Int32* @params) @@ -56370,28 +59386,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ProgramLocalParameterI4(GL.Enums.NV_gpu_program4 target, Int32 index, Int32* @params) - { - { - Delegates.glProgramLocalParameterI4ivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32*)@params); - } - } - - [System.CLSCompliant(false)] - public static - void ProgramLocalParameterI4(GL.Enums.NV_gpu_program4 target, UInt32 index, [In, Out] Int32[] @params) - { - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glProgramLocalParameterI4ivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32*)@params_ptr); - } - } - } - - public static - void ProgramLocalParameterI4(GL.Enums.NV_gpu_program4 target, Int32 index, [In, Out] Int32[] @params) + void ProgramLocalParameterI4(GL.Enums.NV_gpu_program4 target, UInt32 index, Int32[] @params) { unsafe { @@ -56415,18 +59410,6 @@ namespace OpenTK.OpenGL } } - public static - void ProgramLocalParameterI4(GL.Enums.NV_gpu_program4 target, Int32 index, ref Int32 @params) - { - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glProgramLocalParameterI4ivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32*)@params_ptr); - } - } - } - [System.CLSCompliant(false)] public static unsafe void ProgramLocalParametersI4(GL.Enums.NV_gpu_program4 target, UInt32 index, Int32 count, Int32* @params) @@ -56436,28 +59419,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ProgramLocalParametersI4(GL.Enums.NV_gpu_program4 target, Int32 index, Int32 count, Int32* @params) - { - { - Delegates.glProgramLocalParametersI4ivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32)count, (Int32*)@params); - } - } - - [System.CLSCompliant(false)] - public static - void ProgramLocalParametersI4(GL.Enums.NV_gpu_program4 target, UInt32 index, Int32 count, [In, Out] Int32[] @params) - { - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glProgramLocalParametersI4ivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); - } - } - } - - public static - void ProgramLocalParametersI4(GL.Enums.NV_gpu_program4 target, Int32 index, Int32 count, [In, Out] Int32[] @params) + void ProgramLocalParametersI4(GL.Enums.NV_gpu_program4 target, UInt32 index, Int32 count, Int32[] @params) { unsafe { @@ -56481,18 +59443,6 @@ namespace OpenTK.OpenGL } } - public static - void ProgramLocalParametersI4(GL.Enums.NV_gpu_program4 target, Int32 index, Int32 count, ref Int32 @params) - { - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glProgramLocalParametersI4ivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); - } - } - } - [System.CLSCompliant(false)] public static void ProgramLocalParameterI4(GL.Enums.NV_gpu_program4 target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) @@ -56500,6 +59450,12 @@ namespace OpenTK.OpenGL Delegates.glProgramLocalParameterI4uiNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); } + public static + void ProgramLocalParameterI4(GL.Enums.NV_gpu_program4 target, Int32 index, Int32 x, Int32 y, Int32 z, Int32 w) + { + Delegates.glProgramLocalParameterI4uiNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); + } + [System.CLSCompliant(false)] public static unsafe void ProgramLocalParameterI4(GL.Enums.NV_gpu_program4 target, UInt32 index, UInt32* @params) @@ -56509,7 +59465,17 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void ProgramLocalParameterI4(GL.Enums.NV_gpu_program4 target, UInt32 index, [In, Out] UInt32[] @params) + unsafe void ProgramLocalParameterI4(GL.Enums.NV_gpu_program4 target, Int32 index, Int32* @params) + { + unsafe + { + Delegates.glProgramLocalParameterI4uivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (UInt32*)@params); + } + } + + [System.CLSCompliant(false)] + public static + void ProgramLocalParameterI4(GL.Enums.NV_gpu_program4 target, UInt32 index, UInt32[] @params) { unsafe { @@ -56520,6 +59486,18 @@ namespace OpenTK.OpenGL } } + public static + void ProgramLocalParameterI4(GL.Enums.NV_gpu_program4 target, Int32 index, Int32[] @params) + { + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glProgramLocalParameterI4uivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (UInt32*)@params_ptr); + } + } + } + [System.CLSCompliant(false)] public static void ProgramLocalParameterI4(GL.Enums.NV_gpu_program4 target, UInt32 index, ref UInt32 @params) @@ -56533,6 +59511,18 @@ namespace OpenTK.OpenGL } } + public static + void ProgramLocalParameterI4(GL.Enums.NV_gpu_program4 target, Int32 index, ref Int32 @params) + { + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glProgramLocalParameterI4uivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (UInt32*)@params_ptr); + } + } + } + [System.CLSCompliant(false)] public static unsafe void ProgramLocalParametersI4(GL.Enums.NV_gpu_program4 target, UInt32 index, Int32 count, UInt32* @params) @@ -56542,7 +59532,17 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void ProgramLocalParametersI4(GL.Enums.NV_gpu_program4 target, UInt32 index, Int32 count, [In, Out] UInt32[] @params) + unsafe void ProgramLocalParametersI4(GL.Enums.NV_gpu_program4 target, Int32 index, Int32 count, Int32* @params) + { + unsafe + { + Delegates.glProgramLocalParametersI4uivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32)count, (UInt32*)@params); + } + } + + [System.CLSCompliant(false)] + public static + void ProgramLocalParametersI4(GL.Enums.NV_gpu_program4 target, UInt32 index, Int32 count, UInt32[] @params) { unsafe { @@ -56553,6 +59553,18 @@ namespace OpenTK.OpenGL } } + public static + void ProgramLocalParametersI4(GL.Enums.NV_gpu_program4 target, Int32 index, Int32 count, Int32[] @params) + { + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glProgramLocalParametersI4uivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); + } + } + } + [System.CLSCompliant(false)] public static void ProgramLocalParametersI4(GL.Enums.NV_gpu_program4 target, UInt32 index, Int32 count, ref UInt32 @params) @@ -56566,6 +59578,18 @@ namespace OpenTK.OpenGL } } + public static + void ProgramLocalParametersI4(GL.Enums.NV_gpu_program4 target, Int32 index, Int32 count, ref Int32 @params) + { + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glProgramLocalParametersI4uivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); + } + } + } + [System.CLSCompliant(false)] public static void ProgramEnvParameterI4(GL.Enums.NV_gpu_program4 target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) @@ -56573,12 +59597,6 @@ namespace OpenTK.OpenGL Delegates.glProgramEnvParameterI4iNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); } - public static - void ProgramEnvParameterI4(GL.Enums.NV_gpu_program4 target, Int32 index, Int32 x, Int32 y, Int32 z, Int32 w) - { - Delegates.glProgramEnvParameterI4iNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); - } - [System.CLSCompliant(false)] public static unsafe void ProgramEnvParameterI4(GL.Enums.NV_gpu_program4 target, UInt32 index, Int32* @params) @@ -56588,28 +59606,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ProgramEnvParameterI4(GL.Enums.NV_gpu_program4 target, Int32 index, Int32* @params) - { - { - Delegates.glProgramEnvParameterI4ivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32*)@params); - } - } - - [System.CLSCompliant(false)] - public static - void ProgramEnvParameterI4(GL.Enums.NV_gpu_program4 target, UInt32 index, [In, Out] Int32[] @params) - { - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glProgramEnvParameterI4ivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32*)@params_ptr); - } - } - } - - public static - void ProgramEnvParameterI4(GL.Enums.NV_gpu_program4 target, Int32 index, [In, Out] Int32[] @params) + void ProgramEnvParameterI4(GL.Enums.NV_gpu_program4 target, UInt32 index, Int32[] @params) { unsafe { @@ -56633,18 +59630,6 @@ namespace OpenTK.OpenGL } } - public static - void ProgramEnvParameterI4(GL.Enums.NV_gpu_program4 target, Int32 index, ref Int32 @params) - { - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glProgramEnvParameterI4ivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32*)@params_ptr); - } - } - } - [System.CLSCompliant(false)] public static unsafe void ProgramEnvParametersI4(GL.Enums.NV_gpu_program4 target, UInt32 index, Int32 count, Int32* @params) @@ -56654,28 +59639,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ProgramEnvParametersI4(GL.Enums.NV_gpu_program4 target, Int32 index, Int32 count, Int32* @params) - { - { - Delegates.glProgramEnvParametersI4ivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32)count, (Int32*)@params); - } - } - - [System.CLSCompliant(false)] - public static - void ProgramEnvParametersI4(GL.Enums.NV_gpu_program4 target, UInt32 index, Int32 count, [In, Out] Int32[] @params) - { - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glProgramEnvParametersI4ivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); - } - } - } - - public static - void ProgramEnvParametersI4(GL.Enums.NV_gpu_program4 target, Int32 index, Int32 count, [In, Out] Int32[] @params) + void ProgramEnvParametersI4(GL.Enums.NV_gpu_program4 target, UInt32 index, Int32 count, Int32[] @params) { unsafe { @@ -56699,18 +59663,6 @@ namespace OpenTK.OpenGL } } - public static - void ProgramEnvParametersI4(GL.Enums.NV_gpu_program4 target, Int32 index, Int32 count, ref Int32 @params) - { - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glProgramEnvParametersI4ivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); - } - } - } - [System.CLSCompliant(false)] public static void ProgramEnvParameterI4(GL.Enums.NV_gpu_program4 target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) @@ -56718,6 +59670,12 @@ namespace OpenTK.OpenGL Delegates.glProgramEnvParameterI4uiNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); } + public static + void ProgramEnvParameterI4(GL.Enums.NV_gpu_program4 target, Int32 index, Int32 x, Int32 y, Int32 z, Int32 w) + { + Delegates.glProgramEnvParameterI4uiNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); + } + [System.CLSCompliant(false)] public static unsafe void ProgramEnvParameterI4(GL.Enums.NV_gpu_program4 target, UInt32 index, UInt32* @params) @@ -56727,7 +59685,17 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void ProgramEnvParameterI4(GL.Enums.NV_gpu_program4 target, UInt32 index, [In, Out] UInt32[] @params) + unsafe void ProgramEnvParameterI4(GL.Enums.NV_gpu_program4 target, Int32 index, Int32* @params) + { + unsafe + { + Delegates.glProgramEnvParameterI4uivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (UInt32*)@params); + } + } + + [System.CLSCompliant(false)] + public static + void ProgramEnvParameterI4(GL.Enums.NV_gpu_program4 target, UInt32 index, UInt32[] @params) { unsafe { @@ -56738,6 +59706,18 @@ namespace OpenTK.OpenGL } } + public static + void ProgramEnvParameterI4(GL.Enums.NV_gpu_program4 target, Int32 index, Int32[] @params) + { + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glProgramEnvParameterI4uivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (UInt32*)@params_ptr); + } + } + } + [System.CLSCompliant(false)] public static void ProgramEnvParameterI4(GL.Enums.NV_gpu_program4 target, UInt32 index, ref UInt32 @params) @@ -56751,6 +59731,18 @@ namespace OpenTK.OpenGL } } + public static + void ProgramEnvParameterI4(GL.Enums.NV_gpu_program4 target, Int32 index, ref Int32 @params) + { + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glProgramEnvParameterI4uivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (UInt32*)@params_ptr); + } + } + } + [System.CLSCompliant(false)] public static unsafe void ProgramEnvParametersI4(GL.Enums.NV_gpu_program4 target, UInt32 index, Int32 count, UInt32* @params) @@ -56760,7 +59752,17 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void ProgramEnvParametersI4(GL.Enums.NV_gpu_program4 target, UInt32 index, Int32 count, [In, Out] UInt32[] @params) + unsafe void ProgramEnvParametersI4(GL.Enums.NV_gpu_program4 target, Int32 index, Int32 count, Int32* @params) + { + unsafe + { + Delegates.glProgramEnvParametersI4uivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32)count, (UInt32*)@params); + } + } + + [System.CLSCompliant(false)] + public static + void ProgramEnvParametersI4(GL.Enums.NV_gpu_program4 target, UInt32 index, Int32 count, UInt32[] @params) { unsafe { @@ -56771,6 +59773,18 @@ namespace OpenTK.OpenGL } } + public static + void ProgramEnvParametersI4(GL.Enums.NV_gpu_program4 target, Int32 index, Int32 count, Int32[] @params) + { + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glProgramEnvParametersI4uivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); + } + } + } + [System.CLSCompliant(false)] public static void ProgramEnvParametersI4(GL.Enums.NV_gpu_program4 target, UInt32 index, Int32 count, ref UInt32 @params) @@ -56784,6 +59798,18 @@ namespace OpenTK.OpenGL } } + public static + void ProgramEnvParametersI4(GL.Enums.NV_gpu_program4 target, Int32 index, Int32 count, ref Int32 @params) + { + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glProgramEnvParametersI4uivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); + } + } + } + [System.CLSCompliant(false)] public static unsafe void GetProgramLocalParameterIv(GL.Enums.NV_gpu_program4 target, UInt32 index, [Out] Int32* @params) @@ -56793,29 +59819,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetProgramLocalParameterIv(GL.Enums.NV_gpu_program4 target, Int32 index, [Out] Int32* @params) - { - @params = default(Int32*); - { - Delegates.glGetProgramLocalParameterIivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32*)@params); - } - } - - [System.CLSCompliant(false)] - public static - void GetProgramLocalParameterIv(GL.Enums.NV_gpu_program4 target, UInt32 index, [In, Out] Int32[] @params) - { - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramLocalParameterIivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32*)@params_ptr); - } - } - } - - public static - void GetProgramLocalParameterIv(GL.Enums.NV_gpu_program4 target, Int32 index, [In, Out] Int32[] @params) + void GetProgramLocalParameterIv(GL.Enums.NV_gpu_program4 target, UInt32 index, [Out] Int32[] @params) { unsafe { @@ -56830,27 +59834,12 @@ namespace OpenTK.OpenGL public static void GetProgramLocalParameterIv(GL.Enums.NV_gpu_program4 target, UInt32 index, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetProgramLocalParameterIivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - } - - public static - void GetProgramLocalParameterIv(GL.Enums.NV_gpu_program4 target, Int32 index, [Out] out Int32 @params) - { - @params = default(Int32); - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramLocalParameterIivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -56864,7 +59853,17 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void GetProgramLocalParameterIv(GL.Enums.NV_gpu_program4 target, UInt32 index, [In, Out] UInt32[] @params) + unsafe void GetProgramLocalParameterIv(GL.Enums.NV_gpu_program4 target, Int32 index, [Out] Int32* @params) + { + unsafe + { + Delegates.glGetProgramLocalParameterIuivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (UInt32*)@params); + } + } + + [System.CLSCompliant(false)] + public static + void GetProgramLocalParameterIv(GL.Enums.NV_gpu_program4 target, UInt32 index, [Out] UInt32[] @params) { unsafe { @@ -56875,17 +59874,41 @@ namespace OpenTK.OpenGL } } + public static + void GetProgramLocalParameterIv(GL.Enums.NV_gpu_program4 target, Int32 index, [Out] Int32[] @params) + { + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetProgramLocalParameterIuivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (UInt32*)@params_ptr); + } + } + } + [System.CLSCompliant(false)] public static void GetProgramLocalParameterIv(GL.Enums.NV_gpu_program4 target, UInt32 index, [Out] out UInt32 @params) { - @params = default(UInt32); unsafe { fixed (UInt32* @params_ptr = &@params) { Delegates.glGetProgramLocalParameterIuivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (UInt32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; + } + } + } + + public static + void GetProgramLocalParameterIv(GL.Enums.NV_gpu_program4 target, Int32 index, [Out] out Int32 @params) + { + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetProgramLocalParameterIuivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (UInt32*)@params_ptr); + @params = *@params_ptr; } } } @@ -56899,29 +59922,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void GetProgramEnvParameterIv(GL.Enums.NV_gpu_program4 target, Int32 index, [Out] Int32* @params) - { - @params = default(Int32*); - { - Delegates.glGetProgramEnvParameterIivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32*)@params); - } - } - - [System.CLSCompliant(false)] - public static - void GetProgramEnvParameterIv(GL.Enums.NV_gpu_program4 target, UInt32 index, [In, Out] Int32[] @params) - { - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramEnvParameterIivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32*)@params_ptr); - } - } - } - - public static - void GetProgramEnvParameterIv(GL.Enums.NV_gpu_program4 target, Int32 index, [In, Out] Int32[] @params) + void GetProgramEnvParameterIv(GL.Enums.NV_gpu_program4 target, UInt32 index, [Out] Int32[] @params) { unsafe { @@ -56936,27 +59937,12 @@ namespace OpenTK.OpenGL public static void GetProgramEnvParameterIv(GL.Enums.NV_gpu_program4 target, UInt32 index, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetProgramEnvParameterIivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - } - - public static - void GetProgramEnvParameterIv(GL.Enums.NV_gpu_program4 target, Int32 index, [Out] out Int32 @params) - { - @params = default(Int32); - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramEnvParameterIivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -56970,7 +59956,17 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void GetProgramEnvParameterIv(GL.Enums.NV_gpu_program4 target, UInt32 index, [In, Out] UInt32[] @params) + unsafe void GetProgramEnvParameterIv(GL.Enums.NV_gpu_program4 target, Int32 index, [Out] Int32* @params) + { + unsafe + { + Delegates.glGetProgramEnvParameterIuivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (UInt32*)@params); + } + } + + [System.CLSCompliant(false)] + public static + void GetProgramEnvParameterIv(GL.Enums.NV_gpu_program4 target, UInt32 index, [Out] UInt32[] @params) { unsafe { @@ -56981,17 +59977,41 @@ namespace OpenTK.OpenGL } } + public static + void GetProgramEnvParameterIv(GL.Enums.NV_gpu_program4 target, Int32 index, [Out] Int32[] @params) + { + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetProgramEnvParameterIuivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (UInt32*)@params_ptr); + } + } + } + [System.CLSCompliant(false)] public static void GetProgramEnvParameterIv(GL.Enums.NV_gpu_program4 target, UInt32 index, [Out] out UInt32 @params) { - @params = default(UInt32); unsafe { fixed (UInt32* @params_ptr = &@params) { Delegates.glGetProgramEnvParameterIuivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (UInt32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; + } + } + } + + public static + void GetProgramEnvParameterIv(GL.Enums.NV_gpu_program4 target, Int32 index, [Out] out Int32 @params) + { + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetProgramEnvParameterIuivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (UInt32*)@params_ptr); + @params = *@params_ptr; } } } @@ -57037,14 +60057,15 @@ namespace OpenTK.OpenGL public static unsafe void ProgramBufferParametersv(GL.Enums.NV_parameter_buffer_object target, Int32 buffer, Int32 index, Int32 count, Single* @params) { - { - Delegates.glProgramBufferParametersfvNV((GL.Enums.NV_parameter_buffer_object)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params); - } + unsafe + { + Delegates.glProgramBufferParametersfvNV((GL.Enums.NV_parameter_buffer_object)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params); + } } [System.CLSCompliant(false)] public static - void ProgramBufferParametersv(GL.Enums.NV_parameter_buffer_object target, UInt32 buffer, UInt32 index, Int32 count, [In, Out] Single[] @params) + void ProgramBufferParametersv(GL.Enums.NV_parameter_buffer_object target, UInt32 buffer, UInt32 index, Int32 count, Single[] @params) { unsafe { @@ -57056,7 +60077,7 @@ namespace OpenTK.OpenGL } public static - void ProgramBufferParametersv(GL.Enums.NV_parameter_buffer_object target, Int32 buffer, Int32 index, Int32 count, [In, Out] Single[] @params) + void ProgramBufferParametersv(GL.Enums.NV_parameter_buffer_object target, Int32 buffer, Int32 index, Int32 count, Single[] @params) { unsafe { @@ -57101,28 +60122,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void ProgramBufferParametersIv(GL.Enums.NV_parameter_buffer_object target, Int32 buffer, Int32 index, Int32 count, Int32* @params) - { - { - Delegates.glProgramBufferParametersIivNV((GL.Enums.NV_parameter_buffer_object)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params); - } - } - - [System.CLSCompliant(false)] - public static - void ProgramBufferParametersIv(GL.Enums.NV_parameter_buffer_object target, UInt32 buffer, UInt32 index, Int32 count, [In, Out] Int32[] @params) - { - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glProgramBufferParametersIivNV((GL.Enums.NV_parameter_buffer_object)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params_ptr); - } - } - } - - public static - void ProgramBufferParametersIv(GL.Enums.NV_parameter_buffer_object target, Int32 buffer, Int32 index, Int32 count, [In, Out] Int32[] @params) + void ProgramBufferParametersIv(GL.Enums.NV_parameter_buffer_object target, UInt32 buffer, UInt32 index, Int32 count, Int32[] @params) { unsafe { @@ -57146,18 +60146,6 @@ namespace OpenTK.OpenGL } } - public static - void ProgramBufferParametersIv(GL.Enums.NV_parameter_buffer_object target, Int32 buffer, Int32 index, Int32 count, ref Int32 @params) - { - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glProgramBufferParametersIivNV((GL.Enums.NV_parameter_buffer_object)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params_ptr); - } - } - } - [System.CLSCompliant(false)] public static unsafe void ProgramBufferParametersIv(GL.Enums.NV_parameter_buffer_object target, UInt32 buffer, UInt32 index, Int32 count, UInt32* @params) @@ -57167,7 +60155,17 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void ProgramBufferParametersIv(GL.Enums.NV_parameter_buffer_object target, UInt32 buffer, UInt32 index, Int32 count, [In, Out] UInt32[] @params) + unsafe void ProgramBufferParametersIv(GL.Enums.NV_parameter_buffer_object target, Int32 buffer, Int32 index, Int32 count, Int32* @params) + { + unsafe + { + Delegates.glProgramBufferParametersIuivNV((GL.Enums.NV_parameter_buffer_object)target, (UInt32)buffer, (UInt32)index, (Int32)count, (UInt32*)@params); + } + } + + [System.CLSCompliant(false)] + public static + void ProgramBufferParametersIv(GL.Enums.NV_parameter_buffer_object target, UInt32 buffer, UInt32 index, Int32 count, UInt32[] @params) { unsafe { @@ -57178,6 +60176,18 @@ namespace OpenTK.OpenGL } } + public static + void ProgramBufferParametersIv(GL.Enums.NV_parameter_buffer_object target, Int32 buffer, Int32 index, Int32 count, Int32[] @params) + { + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glProgramBufferParametersIuivNV((GL.Enums.NV_parameter_buffer_object)target, (UInt32)buffer, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); + } + } + } + [System.CLSCompliant(false)] public static void ProgramBufferParametersIv(GL.Enums.NV_parameter_buffer_object target, UInt32 buffer, UInt32 index, Int32 count, ref UInt32 @params) @@ -57191,6 +60201,18 @@ namespace OpenTK.OpenGL } } + public static + void ProgramBufferParametersIv(GL.Enums.NV_parameter_buffer_object target, Int32 buffer, Int32 index, Int32 count, ref Int32 @params) + { + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glProgramBufferParametersIuivNV((GL.Enums.NV_parameter_buffer_object)target, (UInt32)buffer, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); + } + } + } + public static void BeginTransformFeedback(GL.Enums.NV_transform_feedback primitiveMode) { @@ -57214,14 +60236,15 @@ namespace OpenTK.OpenGL public static unsafe void TransformFeedbackAttribs(Int32 count, Int32* attribs, GL.Enums.NV_transform_feedback bufferMode) { - { - Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs, (GL.Enums.NV_transform_feedback)bufferMode); - } + unsafe + { + Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs, (GL.Enums.NV_transform_feedback)bufferMode); + } } [System.CLSCompliant(false)] public static - void TransformFeedbackAttribs(UInt32 count, [In, Out] Int32[] attribs, GL.Enums.NV_transform_feedback bufferMode) + void TransformFeedbackAttribs(UInt32 count, Int32[] attribs, GL.Enums.NV_transform_feedback bufferMode) { unsafe { @@ -57233,7 +60256,7 @@ namespace OpenTK.OpenGL } public static - void TransformFeedbackAttribs(Int32 count, [In, Out] Int32[] attribs, GL.Enums.NV_transform_feedback bufferMode) + void TransformFeedbackAttribs(Int32 count, Int32[] attribs, GL.Enums.NV_transform_feedback bufferMode) { unsafe { @@ -57319,14 +60342,15 @@ namespace OpenTK.OpenGL public static unsafe void TransformFeedbackVaryings(Int32 program, Int32 count, Int32* locations, GL.Enums.NV_transform_feedback bufferMode) { - { - Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations, (GL.Enums.NV_transform_feedback)bufferMode); - } + unsafe + { + Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations, (GL.Enums.NV_transform_feedback)bufferMode); + } } [System.CLSCompliant(false)] public static - void TransformFeedbackVaryings(UInt32 program, Int32 count, [In, Out] Int32[] locations, GL.Enums.NV_transform_feedback bufferMode) + void TransformFeedbackVaryings(UInt32 program, Int32 count, Int32[] locations, GL.Enums.NV_transform_feedback bufferMode) { unsafe { @@ -57338,7 +60362,7 @@ namespace OpenTK.OpenGL } public static - void TransformFeedbackVaryings(Int32 program, Int32 count, [In, Out] Int32[] locations, GL.Enums.NV_transform_feedback bufferMode) + void TransformFeedbackVaryings(Int32 program, Int32 count, Int32[] locations, GL.Enums.NV_transform_feedback bufferMode) { unsafe { @@ -57411,360 +60435,356 @@ namespace OpenTK.OpenGL public static unsafe void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] GL.Enums.NV_transform_feedback* type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32*); - type = default(GL.Enums.NV_transform_feedback*); - name = default(System.Text.StringBuilder); - { - Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (GL.Enums.NV_transform_feedback*)type, (System.Text.StringBuilder)name); - } + unsafe + { + Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (GL.Enums.NV_transform_feedback*)type, (System.Text.StringBuilder)name); + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [In, Out] GL.Enums.NV_transform_feedback[] type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] GL.Enums.NV_transform_feedback[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (GL.Enums.NV_transform_feedback* type_ptr = type) { Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (GL.Enums.NV_transform_feedback*)type_ptr, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [In, Out] GL.Enums.NV_transform_feedback[] type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] GL.Enums.NV_transform_feedback[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (GL.Enums.NV_transform_feedback* type_ptr = type) { Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (GL.Enums.NV_transform_feedback*)type_ptr, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static unsafe void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] out GL.Enums.NV_transform_feedback type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32*); - type = default(GL.Enums.NV_transform_feedback); - name = default(System.Text.StringBuilder); + unsafe + { fixed (GL.Enums.NV_transform_feedback* type_ptr = &type) { Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (GL.Enums.NV_transform_feedback*)type_ptr, (System.Text.StringBuilder)name); - type = *type_ptr; + type = *type_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] out GL.Enums.NV_transform_feedback type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32*); - type = default(GL.Enums.NV_transform_feedback); - name = default(System.Text.StringBuilder); + unsafe + { fixed (GL.Enums.NV_transform_feedback* type_ptr = &type) { Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (GL.Enums.NV_transform_feedback*)type_ptr, (System.Text.StringBuilder)name); - type = *type_ptr; + type = *type_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [In, Out] Int32[] size, [Out] GL.Enums.NV_transform_feedback* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32[] size, [Out] GL.Enums.NV_transform_feedback* type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - type = default(GL.Enums.NV_transform_feedback*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = size) { Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (GL.Enums.NV_transform_feedback*)type, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [In, Out] Int32[] size, [Out] GL.Enums.NV_transform_feedback* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32[] size, [Out] GL.Enums.NV_transform_feedback* type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - type = default(GL.Enums.NV_transform_feedback*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = size) { Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (GL.Enums.NV_transform_feedback*)type, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [In, Out] Int32[] size, [In, Out] GL.Enums.NV_transform_feedback[] type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32[] size, [Out] GL.Enums.NV_transform_feedback[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = size) fixed (GL.Enums.NV_transform_feedback* type_ptr = type) { Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (GL.Enums.NV_transform_feedback*)type_ptr, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [In, Out] Int32[] size, [In, Out] GL.Enums.NV_transform_feedback[] type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32[] size, [Out] GL.Enums.NV_transform_feedback[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = size) fixed (GL.Enums.NV_transform_feedback* type_ptr = type) { Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (GL.Enums.NV_transform_feedback*)type_ptr, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [In, Out] Int32[] size, [Out] out GL.Enums.NV_transform_feedback type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32[] size, [Out] out GL.Enums.NV_transform_feedback type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - type = default(GL.Enums.NV_transform_feedback); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = size) fixed (GL.Enums.NV_transform_feedback* type_ptr = &type) { Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (GL.Enums.NV_transform_feedback*)type_ptr, (System.Text.StringBuilder)name); - type = *type_ptr; + type = *type_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [In, Out] Int32[] size, [Out] out GL.Enums.NV_transform_feedback type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32[] size, [Out] out GL.Enums.NV_transform_feedback type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - type = default(GL.Enums.NV_transform_feedback); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = size) fixed (GL.Enums.NV_transform_feedback* type_ptr = &type) { Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (GL.Enums.NV_transform_feedback*)type_ptr, (System.Text.StringBuilder)name); - type = *type_ptr; + type = *type_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] out Int32 size, [Out] GL.Enums.NV_transform_feedback* type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32); - type = default(GL.Enums.NV_transform_feedback*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = &size) { Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (GL.Enums.NV_transform_feedback*)type, (System.Text.StringBuilder)name); - size = *size_ptr; + size = *size_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] out Int32 size, [Out] GL.Enums.NV_transform_feedback* type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32); - type = default(GL.Enums.NV_transform_feedback*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = &size) { Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (GL.Enums.NV_transform_feedback*)type, (System.Text.StringBuilder)name); - size = *size_ptr; + size = *size_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] out Int32 size, [In, Out] GL.Enums.NV_transform_feedback[] type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] out Int32 size, [Out] GL.Enums.NV_transform_feedback[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = &size) fixed (GL.Enums.NV_transform_feedback* type_ptr = type) { Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (GL.Enums.NV_transform_feedback*)type_ptr, (System.Text.StringBuilder)name); - size = *size_ptr; + size = *size_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] out Int32 size, [In, Out] GL.Enums.NV_transform_feedback[] type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] out Int32 size, [Out] GL.Enums.NV_transform_feedback[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = &size) fixed (GL.Enums.NV_transform_feedback* type_ptr = type) { Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (GL.Enums.NV_transform_feedback*)type_ptr, (System.Text.StringBuilder)name); - size = *size_ptr; + size = *size_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] out Int32 size, [Out] out GL.Enums.NV_transform_feedback type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32); - type = default(GL.Enums.NV_transform_feedback); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = &size) fixed (GL.Enums.NV_transform_feedback* type_ptr = &type) { Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (GL.Enums.NV_transform_feedback*)type_ptr, (System.Text.StringBuilder)name); - size = *size_ptr; - type = *type_ptr; + size = *size_ptr; + type = *type_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] out Int32 size, [Out] out GL.Enums.NV_transform_feedback type, [Out] System.Text.StringBuilder name) { - length = default(Int32*); - size = default(Int32); - type = default(GL.Enums.NV_transform_feedback); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* size_ptr = &size) fixed (GL.Enums.NV_transform_feedback* type_ptr = &type) { Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size_ptr, (GL.Enums.NV_transform_feedback*)type_ptr, (System.Text.StringBuilder)name); - size = *size_ptr; - type = *type_ptr; + size = *size_ptr; + type = *type_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [In, Out] Int32[] length, [Out] Int32* size, [Out] GL.Enums.NV_transform_feedback* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32* size, [Out] GL.Enums.NV_transform_feedback* type, [Out] System.Text.StringBuilder name) { - size = default(Int32*); - type = default(GL.Enums.NV_transform_feedback*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = length) { Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (GL.Enums.NV_transform_feedback*)type, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [In, Out] Int32[] length, [Out] Int32* size, [Out] GL.Enums.NV_transform_feedback* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32* size, [Out] GL.Enums.NV_transform_feedback* type, [Out] System.Text.StringBuilder name) { - size = default(Int32*); - type = default(GL.Enums.NV_transform_feedback*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = length) { Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (GL.Enums.NV_transform_feedback*)type, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [In, Out] Int32[] length, [Out] Int32* size, [In, Out] GL.Enums.NV_transform_feedback[] type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32* size, [Out] GL.Enums.NV_transform_feedback[] type, [Out] System.Text.StringBuilder name) { - size = default(Int32*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = length) fixed (GL.Enums.NV_transform_feedback* type_ptr = type) { Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (GL.Enums.NV_transform_feedback*)type_ptr, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [In, Out] Int32[] length, [Out] Int32* size, [In, Out] GL.Enums.NV_transform_feedback[] type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32* size, [Out] GL.Enums.NV_transform_feedback[] type, [Out] System.Text.StringBuilder name) { - size = default(Int32*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = length) fixed (GL.Enums.NV_transform_feedback* type_ptr = type) { Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (GL.Enums.NV_transform_feedback*)type_ptr, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [In, Out] Int32[] length, [Out] Int32* size, [Out] out GL.Enums.NV_transform_feedback type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32* size, [Out] out GL.Enums.NV_transform_feedback type, [Out] System.Text.StringBuilder name) { - size = default(Int32*); - type = default(GL.Enums.NV_transform_feedback); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = length) fixed (GL.Enums.NV_transform_feedback* type_ptr = &type) { Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (GL.Enums.NV_transform_feedback*)type_ptr, (System.Text.StringBuilder)name); - type = *type_ptr; + type = *type_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [In, Out] Int32[] length, [Out] Int32* size, [Out] out GL.Enums.NV_transform_feedback type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32* size, [Out] out GL.Enums.NV_transform_feedback type, [Out] System.Text.StringBuilder name) { - size = default(Int32*); - type = default(GL.Enums.NV_transform_feedback); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = length) fixed (GL.Enums.NV_transform_feedback* type_ptr = &type) { Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (GL.Enums.NV_transform_feedback*)type_ptr, (System.Text.StringBuilder)name); - type = *type_ptr; + type = *type_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [In, Out] Int32[] length, [In, Out] Int32[] size, [Out] GL.Enums.NV_transform_feedback* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32[] size, [Out] GL.Enums.NV_transform_feedback* type, [Out] System.Text.StringBuilder name) { - type = default(GL.Enums.NV_transform_feedback*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = length) fixed (Int32* size_ptr = size) { Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.NV_transform_feedback*)type, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [In, Out] Int32[] length, [In, Out] Int32[] size, [Out] GL.Enums.NV_transform_feedback* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32[] size, [Out] GL.Enums.NV_transform_feedback* type, [Out] System.Text.StringBuilder name) { - type = default(GL.Enums.NV_transform_feedback*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = length) fixed (Int32* size_ptr = size) { Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.NV_transform_feedback*)type, (System.Text.StringBuilder)name); } + } } [System.CLSCompliant(false)] public static - void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [In, Out] Int32[] length, [In, Out] Int32[] size, [In, Out] GL.Enums.NV_transform_feedback[] type, [Out] System.Text.StringBuilder name) + void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32[] size, [Out] GL.Enums.NV_transform_feedback[] type, [Out] System.Text.StringBuilder name) { - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = length) @@ -57777,9 +60797,8 @@ namespace OpenTK.OpenGL } public static - void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [In, Out] Int32[] length, [In, Out] Int32[] size, [In, Out] GL.Enums.NV_transform_feedback[] type, [Out] System.Text.StringBuilder name) + void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32[] size, [Out] GL.Enums.NV_transform_feedback[] type, [Out] System.Text.StringBuilder name) { - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = length) @@ -57793,10 +60812,8 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [In, Out] Int32[] length, [In, Out] Int32[] size, [Out] out GL.Enums.NV_transform_feedback type, [Out] System.Text.StringBuilder name) + void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32[] size, [Out] out GL.Enums.NV_transform_feedback type, [Out] System.Text.StringBuilder name) { - type = default(GL.Enums.NV_transform_feedback); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = length) @@ -57804,16 +60821,14 @@ namespace OpenTK.OpenGL fixed (GL.Enums.NV_transform_feedback* type_ptr = &type) { Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.NV_transform_feedback*)type_ptr, (System.Text.StringBuilder)name); - type = *type_ptr; + type = *type_ptr; } } } public static - void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [In, Out] Int32[] length, [In, Out] Int32[] size, [Out] out GL.Enums.NV_transform_feedback type, [Out] System.Text.StringBuilder name) + void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32[] size, [Out] out GL.Enums.NV_transform_feedback type, [Out] System.Text.StringBuilder name) { - type = default(GL.Enums.NV_transform_feedback); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = length) @@ -57821,47 +60836,45 @@ namespace OpenTK.OpenGL fixed (GL.Enums.NV_transform_feedback* type_ptr = &type) { Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.NV_transform_feedback*)type_ptr, (System.Text.StringBuilder)name); - type = *type_ptr; + type = *type_ptr; } } } [System.CLSCompliant(false)] public static - unsafe void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [In, Out] Int32[] length, [Out] out Int32 size, [Out] GL.Enums.NV_transform_feedback* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] out Int32 size, [Out] GL.Enums.NV_transform_feedback* type, [Out] System.Text.StringBuilder name) { - size = default(Int32); - type = default(GL.Enums.NV_transform_feedback*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = length) fixed (Int32* size_ptr = &size) { Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.NV_transform_feedback*)type, (System.Text.StringBuilder)name); - size = *size_ptr; + size = *size_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [In, Out] Int32[] length, [Out] out Int32 size, [Out] GL.Enums.NV_transform_feedback* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] out Int32 size, [Out] GL.Enums.NV_transform_feedback* type, [Out] System.Text.StringBuilder name) { - size = default(Int32); - type = default(GL.Enums.NV_transform_feedback*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = length) fixed (Int32* size_ptr = &size) { Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.NV_transform_feedback*)type, (System.Text.StringBuilder)name); - size = *size_ptr; + size = *size_ptr; } + } } [System.CLSCompliant(false)] public static - void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [In, Out] Int32[] length, [Out] out Int32 size, [In, Out] GL.Enums.NV_transform_feedback[] type, [Out] System.Text.StringBuilder name) + void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] out Int32 size, [Out] GL.Enums.NV_transform_feedback[] type, [Out] System.Text.StringBuilder name) { - size = default(Int32); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = length) @@ -57869,16 +60882,14 @@ namespace OpenTK.OpenGL fixed (GL.Enums.NV_transform_feedback* type_ptr = type) { Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.NV_transform_feedback*)type_ptr, (System.Text.StringBuilder)name); - size = *size_ptr; + size = *size_ptr; } } } public static - void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [In, Out] Int32[] length, [Out] out Int32 size, [In, Out] GL.Enums.NV_transform_feedback[] type, [Out] System.Text.StringBuilder name) + void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] out Int32 size, [Out] GL.Enums.NV_transform_feedback[] type, [Out] System.Text.StringBuilder name) { - size = default(Int32); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = length) @@ -57886,18 +60897,15 @@ namespace OpenTK.OpenGL fixed (GL.Enums.NV_transform_feedback* type_ptr = type) { Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.NV_transform_feedback*)type_ptr, (System.Text.StringBuilder)name); - size = *size_ptr; + size = *size_ptr; } } } [System.CLSCompliant(false)] public static - void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [In, Out] Int32[] length, [Out] out Int32 size, [Out] out GL.Enums.NV_transform_feedback type, [Out] System.Text.StringBuilder name) + void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] out Int32 size, [Out] out GL.Enums.NV_transform_feedback type, [Out] System.Text.StringBuilder name) { - size = default(Int32); - type = default(GL.Enums.NV_transform_feedback); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = length) @@ -57905,18 +60913,15 @@ namespace OpenTK.OpenGL fixed (GL.Enums.NV_transform_feedback* type_ptr = &type) { Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.NV_transform_feedback*)type_ptr, (System.Text.StringBuilder)name); - size = *size_ptr; - type = *type_ptr; + size = *size_ptr; + type = *type_ptr; } } } public static - void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [In, Out] Int32[] length, [Out] out Int32 size, [Out] out GL.Enums.NV_transform_feedback type, [Out] System.Text.StringBuilder name) + void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] out Int32 size, [Out] out GL.Enums.NV_transform_feedback type, [Out] System.Text.StringBuilder name) { - size = default(Int32); - type = default(GL.Enums.NV_transform_feedback); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = length) @@ -57924,8 +60929,8 @@ namespace OpenTK.OpenGL fixed (GL.Enums.NV_transform_feedback* type_ptr = &type) { Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.NV_transform_feedback*)type_ptr, (System.Text.StringBuilder)name); - size = *size_ptr; - type = *type_ptr; + size = *size_ptr; + type = *type_ptr; } } } @@ -57934,132 +60939,126 @@ namespace OpenTK.OpenGL public static unsafe void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32* size, [Out] GL.Enums.NV_transform_feedback* type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32*); - type = default(GL.Enums.NV_transform_feedback*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = &length) { Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (GL.Enums.NV_transform_feedback*)type, (System.Text.StringBuilder)name); - length = *length_ptr; + length = *length_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32* size, [Out] GL.Enums.NV_transform_feedback* type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32*); - type = default(GL.Enums.NV_transform_feedback*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = &length) { Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (GL.Enums.NV_transform_feedback*)type, (System.Text.StringBuilder)name); - length = *length_ptr; + length = *length_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32* size, [In, Out] GL.Enums.NV_transform_feedback[] type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32* size, [Out] GL.Enums.NV_transform_feedback[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = &length) fixed (GL.Enums.NV_transform_feedback* type_ptr = type) { Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (GL.Enums.NV_transform_feedback*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; + length = *length_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32* size, [In, Out] GL.Enums.NV_transform_feedback[] type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32* size, [Out] GL.Enums.NV_transform_feedback[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = &length) fixed (GL.Enums.NV_transform_feedback* type_ptr = type) { Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (GL.Enums.NV_transform_feedback*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; + length = *length_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32* size, [Out] out GL.Enums.NV_transform_feedback type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32*); - type = default(GL.Enums.NV_transform_feedback); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = &length) fixed (GL.Enums.NV_transform_feedback* type_ptr = &type) { Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (GL.Enums.NV_transform_feedback*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - type = *type_ptr; + length = *length_ptr; + type = *type_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32* size, [Out] out GL.Enums.NV_transform_feedback type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32*); - type = default(GL.Enums.NV_transform_feedback); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = &length) fixed (GL.Enums.NV_transform_feedback* type_ptr = &type) { Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size, (GL.Enums.NV_transform_feedback*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - type = *type_ptr; + length = *length_ptr; + type = *type_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [In, Out] Int32[] size, [Out] GL.Enums.NV_transform_feedback* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32[] size, [Out] GL.Enums.NV_transform_feedback* type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - type = default(GL.Enums.NV_transform_feedback*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = &length) fixed (Int32* size_ptr = size) { Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.NV_transform_feedback*)type, (System.Text.StringBuilder)name); - length = *length_ptr; + length = *length_ptr; } + } } [System.CLSCompliant(false)] public static - unsafe void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [In, Out] Int32[] size, [Out] GL.Enums.NV_transform_feedback* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32[] size, [Out] GL.Enums.NV_transform_feedback* type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - type = default(GL.Enums.NV_transform_feedback*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = &length) fixed (Int32* size_ptr = size) { Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.NV_transform_feedback*)type, (System.Text.StringBuilder)name); - length = *length_ptr; + length = *length_ptr; } + } } [System.CLSCompliant(false)] public static - void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [In, Out] Int32[] size, [In, Out] GL.Enums.NV_transform_feedback[] type, [Out] System.Text.StringBuilder name) + void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32[] size, [Out] GL.Enums.NV_transform_feedback[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = &length) @@ -58067,16 +61066,14 @@ namespace OpenTK.OpenGL fixed (GL.Enums.NV_transform_feedback* type_ptr = type) { Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.NV_transform_feedback*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; + length = *length_ptr; } } } public static - void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [In, Out] Int32[] size, [In, Out] GL.Enums.NV_transform_feedback[] type, [Out] System.Text.StringBuilder name) + void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32[] size, [Out] GL.Enums.NV_transform_feedback[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = &length) @@ -58084,18 +61081,15 @@ namespace OpenTK.OpenGL fixed (GL.Enums.NV_transform_feedback* type_ptr = type) { Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.NV_transform_feedback*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; + length = *length_ptr; } } } [System.CLSCompliant(false)] public static - void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [In, Out] Int32[] size, [Out] out GL.Enums.NV_transform_feedback type, [Out] System.Text.StringBuilder name) + void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32[] size, [Out] out GL.Enums.NV_transform_feedback type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - type = default(GL.Enums.NV_transform_feedback); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = &length) @@ -58103,18 +61097,15 @@ namespace OpenTK.OpenGL fixed (GL.Enums.NV_transform_feedback* type_ptr = &type) { Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.NV_transform_feedback*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - type = *type_ptr; + length = *length_ptr; + type = *type_ptr; } } } public static - void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [In, Out] Int32[] size, [Out] out GL.Enums.NV_transform_feedback type, [Out] System.Text.StringBuilder name) + void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] Int32[] size, [Out] out GL.Enums.NV_transform_feedback type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - type = default(GL.Enums.NV_transform_feedback); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = &length) @@ -58122,8 +61113,8 @@ namespace OpenTK.OpenGL fixed (GL.Enums.NV_transform_feedback* type_ptr = &type) { Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.NV_transform_feedback*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - type = *type_ptr; + length = *length_ptr; + type = *type_ptr; } } } @@ -58132,43 +61123,38 @@ namespace OpenTK.OpenGL public static unsafe void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] GL.Enums.NV_transform_feedback* type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32); - type = default(GL.Enums.NV_transform_feedback*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = &length) fixed (Int32* size_ptr = &size) { Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.NV_transform_feedback*)type, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; + length = *length_ptr; + size = *size_ptr; } + } } [System.CLSCompliant(false)] public static unsafe void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] GL.Enums.NV_transform_feedback* type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32); - type = default(GL.Enums.NV_transform_feedback*); - name = default(System.Text.StringBuilder); + unsafe + { fixed (Int32* length_ptr = &length) fixed (Int32* size_ptr = &size) { Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.NV_transform_feedback*)type, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; + length = *length_ptr; + size = *size_ptr; } + } } [System.CLSCompliant(false)] public static - void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [In, Out] GL.Enums.NV_transform_feedback[] type, [Out] System.Text.StringBuilder name) + void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] GL.Enums.NV_transform_feedback[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = &length) @@ -58176,18 +61162,15 @@ namespace OpenTK.OpenGL fixed (GL.Enums.NV_transform_feedback* type_ptr = type) { Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.NV_transform_feedback*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; + length = *length_ptr; + size = *size_ptr; } } } public static - void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [In, Out] GL.Enums.NV_transform_feedback[] type, [Out] System.Text.StringBuilder name) + void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] GL.Enums.NV_transform_feedback[] type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = &length) @@ -58195,8 +61178,8 @@ namespace OpenTK.OpenGL fixed (GL.Enums.NV_transform_feedback* type_ptr = type) { Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.NV_transform_feedback*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; + length = *length_ptr; + size = *size_ptr; } } } @@ -58205,10 +61188,6 @@ namespace OpenTK.OpenGL public static void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out GL.Enums.NV_transform_feedback type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32); - type = default(GL.Enums.NV_transform_feedback); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = &length) @@ -58216,9 +61195,9 @@ namespace OpenTK.OpenGL fixed (GL.Enums.NV_transform_feedback* type_ptr = &type) { Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.NV_transform_feedback*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; } } } @@ -58226,10 +61205,6 @@ namespace OpenTK.OpenGL public static void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out GL.Enums.NV_transform_feedback type, [Out] System.Text.StringBuilder name) { - length = default(Int32); - size = default(Int32); - type = default(GL.Enums.NV_transform_feedback); - name = default(System.Text.StringBuilder); unsafe { fixed (Int32* length_ptr = &length) @@ -58237,9 +61212,9 @@ namespace OpenTK.OpenGL fixed (GL.Enums.NV_transform_feedback* type_ptr = &type) { Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.NV_transform_feedback*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; } } } @@ -58255,15 +61230,15 @@ namespace OpenTK.OpenGL public static unsafe void GetTransformFeedbackVarying(Int32 program, Int32 index, [Out] Int32* location) { - location = default(Int32*); - { - Delegates.glGetTransformFeedbackVaryingNV((UInt32)program, (UInt32)index, (Int32*)location); - } + unsafe + { + Delegates.glGetTransformFeedbackVaryingNV((UInt32)program, (UInt32)index, (Int32*)location); + } } [System.CLSCompliant(false)] public static - void GetTransformFeedbackVarying(UInt32 program, UInt32 index, [In, Out] Int32[] location) + void GetTransformFeedbackVarying(UInt32 program, UInt32 index, [Out] Int32[] location) { unsafe { @@ -58275,7 +61250,7 @@ namespace OpenTK.OpenGL } public static - void GetTransformFeedbackVarying(Int32 program, Int32 index, [In, Out] Int32[] location) + void GetTransformFeedbackVarying(Int32 program, Int32 index, [Out] Int32[] location) { unsafe { @@ -58290,13 +61265,12 @@ namespace OpenTK.OpenGL public static void GetTransformFeedbackVarying(UInt32 program, UInt32 index, [Out] out Int32 location) { - location = default(Int32); unsafe { fixed (Int32* location_ptr = &location) { Delegates.glGetTransformFeedbackVaryingNV((UInt32)program, (UInt32)index, (Int32*)location_ptr); - location = *location_ptr; + location = *location_ptr; } } } @@ -58304,13 +61278,12 @@ namespace OpenTK.OpenGL public static void GetTransformFeedbackVarying(Int32 program, Int32 index, [Out] out Int32 location) { - location = default(Int32); unsafe { fixed (Int32* location_ptr = &location) { Delegates.glGetTransformFeedbackVaryingNV((UInt32)program, (UInt32)index, (Int32*)location_ptr); - location = *location_ptr; + location = *location_ptr; } } } @@ -58339,7 +61312,7 @@ namespace OpenTK.OpenGL } public static - void WindowPos2([In, Out] Double[] v) + void WindowPos2(Double[] v) { unsafe { @@ -58376,7 +61349,7 @@ namespace OpenTK.OpenGL } public static - void WindowPos2([In, Out] Single[] v) + void WindowPos2(Single[] v) { unsafe { @@ -58413,7 +61386,7 @@ namespace OpenTK.OpenGL } public static - void WindowPos2([In, Out] Int32[] v) + void WindowPos2(Int32[] v) { unsafe { @@ -58450,7 +61423,7 @@ namespace OpenTK.OpenGL } public static - void WindowPos2([In, Out] Int16[] v) + void WindowPos2(Int16[] v) { unsafe { @@ -58487,7 +61460,7 @@ namespace OpenTK.OpenGL } public static - void WindowPos3([In, Out] Double[] v) + void WindowPos3(Double[] v) { unsafe { @@ -58524,7 +61497,7 @@ namespace OpenTK.OpenGL } public static - void WindowPos3([In, Out] Single[] v) + void WindowPos3(Single[] v) { unsafe { @@ -58561,7 +61534,7 @@ namespace OpenTK.OpenGL } public static - void WindowPos3([In, Out] Int32[] v) + void WindowPos3(Int32[] v) { unsafe { @@ -58598,7 +61571,7 @@ namespace OpenTK.OpenGL } public static - void WindowPos3([In, Out] Int16[] v) + void WindowPos3(Int16[] v) { unsafe { @@ -58635,7 +61608,7 @@ namespace OpenTK.OpenGL } public static - void WindowPos4([In, Out] Double[] v) + void WindowPos4(Double[] v) { unsafe { @@ -58672,7 +61645,7 @@ namespace OpenTK.OpenGL } public static - void WindowPos4([In, Out] Single[] v) + void WindowPos4(Single[] v) { unsafe { @@ -58709,7 +61682,7 @@ namespace OpenTK.OpenGL } public static - void WindowPos4([In, Out] Int32[] v) + void WindowPos4(Int32[] v) { unsafe { @@ -58746,7 +61719,7 @@ namespace OpenTK.OpenGL } public static - void WindowPos4([In, Out] Int16[] v) + void WindowPos4(Int16[] v) { unsafe { @@ -58782,133 +61755,169 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void MultiModeDrawArrays(GL.Enums.BeginMode* mode, Int32* first, [In, Out] Int32[] count, Int32 primcount, Int32 modestride) + unsafe void MultiModeDrawArrays(GL.Enums.BeginMode* mode, Int32* first, Int32[] count, Int32 primcount, Int32 modestride) { + unsafe + { fixed (Int32* count_ptr = count) { Delegates.glMultiModeDrawArraysIBM((GL.Enums.BeginMode*)mode, (Int32*)first, (Int32*)count_ptr, (Int32)primcount, (Int32)modestride); } + } } [System.CLSCompliant(false)] public static unsafe void MultiModeDrawArrays(GL.Enums.BeginMode* mode, Int32* first, ref Int32 count, Int32 primcount, Int32 modestride) { + unsafe + { fixed (Int32* count_ptr = &count) { Delegates.glMultiModeDrawArraysIBM((GL.Enums.BeginMode*)mode, (Int32*)first, (Int32*)count_ptr, (Int32)primcount, (Int32)modestride); } + } } [System.CLSCompliant(false)] public static - unsafe void MultiModeDrawArrays(GL.Enums.BeginMode* mode, [In, Out] Int32[] first, Int32* count, Int32 primcount, Int32 modestride) + unsafe void MultiModeDrawArrays(GL.Enums.BeginMode* mode, Int32[] first, Int32* count, Int32 primcount, Int32 modestride) { + unsafe + { fixed (Int32* first_ptr = first) { Delegates.glMultiModeDrawArraysIBM((GL.Enums.BeginMode*)mode, (Int32*)first_ptr, (Int32*)count, (Int32)primcount, (Int32)modestride); } + } } [System.CLSCompliant(false)] public static - unsafe void MultiModeDrawArrays(GL.Enums.BeginMode* mode, [In, Out] Int32[] first, [In, Out] Int32[] count, Int32 primcount, Int32 modestride) + unsafe void MultiModeDrawArrays(GL.Enums.BeginMode* mode, Int32[] first, Int32[] count, Int32 primcount, Int32 modestride) { + unsafe + { fixed (Int32* first_ptr = first) fixed (Int32* count_ptr = count) { Delegates.glMultiModeDrawArraysIBM((GL.Enums.BeginMode*)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount, (Int32)modestride); } + } } [System.CLSCompliant(false)] public static - unsafe void MultiModeDrawArrays(GL.Enums.BeginMode* mode, [In, Out] Int32[] first, ref Int32 count, Int32 primcount, Int32 modestride) + unsafe void MultiModeDrawArrays(GL.Enums.BeginMode* mode, Int32[] first, ref Int32 count, Int32 primcount, Int32 modestride) { + unsafe + { fixed (Int32* first_ptr = first) fixed (Int32* count_ptr = &count) { Delegates.glMultiModeDrawArraysIBM((GL.Enums.BeginMode*)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount, (Int32)modestride); } + } } [System.CLSCompliant(false)] public static unsafe void MultiModeDrawArrays(GL.Enums.BeginMode* mode, ref Int32 first, Int32* count, Int32 primcount, Int32 modestride) { + unsafe + { fixed (Int32* first_ptr = &first) { Delegates.glMultiModeDrawArraysIBM((GL.Enums.BeginMode*)mode, (Int32*)first_ptr, (Int32*)count, (Int32)primcount, (Int32)modestride); } + } } [System.CLSCompliant(false)] public static - unsafe void MultiModeDrawArrays(GL.Enums.BeginMode* mode, ref Int32 first, [In, Out] Int32[] count, Int32 primcount, Int32 modestride) + unsafe void MultiModeDrawArrays(GL.Enums.BeginMode* mode, ref Int32 first, Int32[] count, Int32 primcount, Int32 modestride) { + unsafe + { fixed (Int32* first_ptr = &first) fixed (Int32* count_ptr = count) { Delegates.glMultiModeDrawArraysIBM((GL.Enums.BeginMode*)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount, (Int32)modestride); } + } } [System.CLSCompliant(false)] public static unsafe void MultiModeDrawArrays(GL.Enums.BeginMode* mode, ref Int32 first, ref Int32 count, Int32 primcount, Int32 modestride) { + unsafe + { fixed (Int32* first_ptr = &first) fixed (Int32* count_ptr = &count) { Delegates.glMultiModeDrawArraysIBM((GL.Enums.BeginMode*)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount, (Int32)modestride); } + } } [System.CLSCompliant(false)] public static - unsafe void MultiModeDrawArrays([In, Out] GL.Enums.BeginMode[] mode, Int32* first, Int32* count, Int32 primcount, Int32 modestride) + unsafe void MultiModeDrawArrays(GL.Enums.BeginMode[] mode, Int32* first, Int32* count, Int32 primcount, Int32 modestride) { + unsafe + { fixed (GL.Enums.BeginMode* mode_ptr = mode) { Delegates.glMultiModeDrawArraysIBM((GL.Enums.BeginMode*)mode_ptr, (Int32*)first, (Int32*)count, (Int32)primcount, (Int32)modestride); } + } } [System.CLSCompliant(false)] public static - unsafe void MultiModeDrawArrays([In, Out] GL.Enums.BeginMode[] mode, Int32* first, [In, Out] Int32[] count, Int32 primcount, Int32 modestride) + unsafe void MultiModeDrawArrays(GL.Enums.BeginMode[] mode, Int32* first, Int32[] count, Int32 primcount, Int32 modestride) { + unsafe + { fixed (GL.Enums.BeginMode* mode_ptr = mode) fixed (Int32* count_ptr = count) { Delegates.glMultiModeDrawArraysIBM((GL.Enums.BeginMode*)mode_ptr, (Int32*)first, (Int32*)count_ptr, (Int32)primcount, (Int32)modestride); } + } } [System.CLSCompliant(false)] public static - unsafe void MultiModeDrawArrays([In, Out] GL.Enums.BeginMode[] mode, Int32* first, ref Int32 count, Int32 primcount, Int32 modestride) + unsafe void MultiModeDrawArrays(GL.Enums.BeginMode[] mode, Int32* first, ref Int32 count, Int32 primcount, Int32 modestride) { + unsafe + { fixed (GL.Enums.BeginMode* mode_ptr = mode) fixed (Int32* count_ptr = &count) { Delegates.glMultiModeDrawArraysIBM((GL.Enums.BeginMode*)mode_ptr, (Int32*)first, (Int32*)count_ptr, (Int32)primcount, (Int32)modestride); } + } } [System.CLSCompliant(false)] public static - unsafe void MultiModeDrawArrays([In, Out] GL.Enums.BeginMode[] mode, [In, Out] Int32[] first, Int32* count, Int32 primcount, Int32 modestride) + unsafe void MultiModeDrawArrays(GL.Enums.BeginMode[] mode, Int32[] first, Int32* count, Int32 primcount, Int32 modestride) { + unsafe + { fixed (GL.Enums.BeginMode* mode_ptr = mode) fixed (Int32* first_ptr = first) { Delegates.glMultiModeDrawArraysIBM((GL.Enums.BeginMode*)mode_ptr, (Int32*)first_ptr, (Int32*)count, (Int32)primcount, (Int32)modestride); } + } } public static - void MultiModeDrawArrays([In, Out] GL.Enums.BeginMode[] mode, [In, Out] Int32[] first, [In, Out] Int32[] count, Int32 primcount, Int32 modestride) + void MultiModeDrawArrays(GL.Enums.BeginMode[] mode, Int32[] first, Int32[] count, Int32 primcount, Int32 modestride) { unsafe { @@ -58922,7 +61931,7 @@ namespace OpenTK.OpenGL } public static - void MultiModeDrawArrays([In, Out] GL.Enums.BeginMode[] mode, [In, Out] Int32[] first, ref Int32 count, Int32 primcount, Int32 modestride) + void MultiModeDrawArrays(GL.Enums.BeginMode[] mode, Int32[] first, ref Int32 count, Int32 primcount, Int32 modestride) { unsafe { @@ -58937,17 +61946,20 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void MultiModeDrawArrays([In, Out] GL.Enums.BeginMode[] mode, ref Int32 first, Int32* count, Int32 primcount, Int32 modestride) + unsafe void MultiModeDrawArrays(GL.Enums.BeginMode[] mode, ref Int32 first, Int32* count, Int32 primcount, Int32 modestride) { + unsafe + { fixed (GL.Enums.BeginMode* mode_ptr = mode) fixed (Int32* first_ptr = &first) { Delegates.glMultiModeDrawArraysIBM((GL.Enums.BeginMode*)mode_ptr, (Int32*)first_ptr, (Int32*)count, (Int32)primcount, (Int32)modestride); } + } } public static - void MultiModeDrawArrays([In, Out] GL.Enums.BeginMode[] mode, ref Int32 first, [In, Out] Int32[] count, Int32 primcount, Int32 modestride) + void MultiModeDrawArrays(GL.Enums.BeginMode[] mode, ref Int32 first, Int32[] count, Int32 primcount, Int32 modestride) { unsafe { @@ -58961,7 +61973,7 @@ namespace OpenTK.OpenGL } public static - void MultiModeDrawArrays([In, Out] GL.Enums.BeginMode[] mode, ref Int32 first, ref Int32 count, Int32 primcount, Int32 modestride) + void MultiModeDrawArrays(GL.Enums.BeginMode[] mode, ref Int32 first, ref Int32 count, Int32 primcount, Int32 modestride) { unsafe { @@ -58978,47 +61990,59 @@ namespace OpenTK.OpenGL public static unsafe void MultiModeDrawArrays(ref GL.Enums.BeginMode mode, Int32* first, Int32* count, Int32 primcount, Int32 modestride) { + unsafe + { fixed (GL.Enums.BeginMode* mode_ptr = &mode) { Delegates.glMultiModeDrawArraysIBM((GL.Enums.BeginMode*)mode_ptr, (Int32*)first, (Int32*)count, (Int32)primcount, (Int32)modestride); } + } } [System.CLSCompliant(false)] public static - unsafe void MultiModeDrawArrays(ref GL.Enums.BeginMode mode, Int32* first, [In, Out] Int32[] count, Int32 primcount, Int32 modestride) + unsafe void MultiModeDrawArrays(ref GL.Enums.BeginMode mode, Int32* first, Int32[] count, Int32 primcount, Int32 modestride) { + unsafe + { fixed (GL.Enums.BeginMode* mode_ptr = &mode) fixed (Int32* count_ptr = count) { Delegates.glMultiModeDrawArraysIBM((GL.Enums.BeginMode*)mode_ptr, (Int32*)first, (Int32*)count_ptr, (Int32)primcount, (Int32)modestride); } + } } [System.CLSCompliant(false)] public static unsafe void MultiModeDrawArrays(ref GL.Enums.BeginMode mode, Int32* first, ref Int32 count, Int32 primcount, Int32 modestride) { + unsafe + { fixed (GL.Enums.BeginMode* mode_ptr = &mode) fixed (Int32* count_ptr = &count) { Delegates.glMultiModeDrawArraysIBM((GL.Enums.BeginMode*)mode_ptr, (Int32*)first, (Int32*)count_ptr, (Int32)primcount, (Int32)modestride); } + } } [System.CLSCompliant(false)] public static - unsafe void MultiModeDrawArrays(ref GL.Enums.BeginMode mode, [In, Out] Int32[] first, Int32* count, Int32 primcount, Int32 modestride) + unsafe void MultiModeDrawArrays(ref GL.Enums.BeginMode mode, Int32[] first, Int32* count, Int32 primcount, Int32 modestride) { + unsafe + { fixed (GL.Enums.BeginMode* mode_ptr = &mode) fixed (Int32* first_ptr = first) { Delegates.glMultiModeDrawArraysIBM((GL.Enums.BeginMode*)mode_ptr, (Int32*)first_ptr, (Int32*)count, (Int32)primcount, (Int32)modestride); } + } } public static - void MultiModeDrawArrays(ref GL.Enums.BeginMode mode, [In, Out] Int32[] first, [In, Out] Int32[] count, Int32 primcount, Int32 modestride) + void MultiModeDrawArrays(ref GL.Enums.BeginMode mode, Int32[] first, Int32[] count, Int32 primcount, Int32 modestride) { unsafe { @@ -59032,7 +62056,7 @@ namespace OpenTK.OpenGL } public static - void MultiModeDrawArrays(ref GL.Enums.BeginMode mode, [In, Out] Int32[] first, ref Int32 count, Int32 primcount, Int32 modestride) + void MultiModeDrawArrays(ref GL.Enums.BeginMode mode, Int32[] first, ref Int32 count, Int32 primcount, Int32 modestride) { unsafe { @@ -59049,15 +62073,18 @@ namespace OpenTK.OpenGL public static unsafe void MultiModeDrawArrays(ref GL.Enums.BeginMode mode, ref Int32 first, Int32* count, Int32 primcount, Int32 modestride) { + unsafe + { fixed (GL.Enums.BeginMode* mode_ptr = &mode) fixed (Int32* first_ptr = &first) { Delegates.glMultiModeDrawArraysIBM((GL.Enums.BeginMode*)mode_ptr, (Int32*)first_ptr, (Int32*)count, (Int32)primcount, (Int32)modestride); } + } } public static - void MultiModeDrawArrays(ref GL.Enums.BeginMode mode, ref Int32 first, [In, Out] Int32[] count, Int32 primcount, Int32 modestride) + void MultiModeDrawArrays(ref GL.Enums.BeginMode mode, ref Int32 first, Int32[] count, Int32 primcount, Int32 modestride) { unsafe { @@ -59095,151 +62122,182 @@ namespace OpenTK.OpenGL public static unsafe void MultiModeDrawElements(GL.Enums.BeginMode* mode, Int32* count, GL.Enums.IBM_multimode_draw_arrays type, [In, Out] object indices, Int32 primcount, Int32 modestride) { - System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); + unsafe + { + System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glMultiModeDrawElementsIBM((GL.Enums.BeginMode*)mode, (Int32*)count, (GL.Enums.IBM_multimode_draw_arrays)type, (void*)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); } finally { - indices_ptr.Free(); - } - } - - [System.CLSCompliant(false)] - public static - unsafe void MultiModeDrawElements(GL.Enums.BeginMode* mode, [In, Out] Int32[] count, GL.Enums.IBM_multimode_draw_arrays type, void* indices, Int32 primcount, Int32 modestride) - { - fixed (Int32* count_ptr = count) - { - Delegates.glMultiModeDrawElementsIBM((GL.Enums.BeginMode*)mode, (Int32*)count_ptr, (GL.Enums.IBM_multimode_draw_arrays)type, (void*)indices, (Int32)primcount, (Int32)modestride); - } - } - - [System.CLSCompliant(false)] - public static - unsafe void MultiModeDrawElements(GL.Enums.BeginMode* mode, [In, Out] Int32[] count, GL.Enums.IBM_multimode_draw_arrays type, [In, Out] object indices, Int32 primcount, Int32 modestride) - { - System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); - fixed (Int32* count_ptr = count) - try - { - Delegates.glMultiModeDrawElementsIBM((GL.Enums.BeginMode*)mode, (Int32*)count_ptr, (GL.Enums.IBM_multimode_draw_arrays)type, (void*)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - } - finally - { - indices_ptr.Free(); - } - } - - [System.CLSCompliant(false)] - public static - unsafe void MultiModeDrawElements(GL.Enums.BeginMode* mode, ref Int32 count, GL.Enums.IBM_multimode_draw_arrays type, void* indices, Int32 primcount, Int32 modestride) - { - fixed (Int32* count_ptr = &count) - { - Delegates.glMultiModeDrawElementsIBM((GL.Enums.BeginMode*)mode, (Int32*)count_ptr, (GL.Enums.IBM_multimode_draw_arrays)type, (void*)indices, (Int32)primcount, (Int32)modestride); - } - } - - [System.CLSCompliant(false)] - public static - unsafe void MultiModeDrawElements(GL.Enums.BeginMode* mode, ref Int32 count, GL.Enums.IBM_multimode_draw_arrays type, [In, Out] object indices, Int32 primcount, Int32 modestride) - { - System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); - fixed (Int32* count_ptr = &count) - try - { - Delegates.glMultiModeDrawElementsIBM((GL.Enums.BeginMode*)mode, (Int32*)count_ptr, (GL.Enums.IBM_multimode_draw_arrays)type, (void*)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - } - finally - { - indices_ptr.Free(); - } - } - - [System.CLSCompliant(false)] - public static - unsafe void MultiModeDrawElements([In, Out] GL.Enums.BeginMode[] mode, Int32* count, GL.Enums.IBM_multimode_draw_arrays type, void* indices, Int32 primcount, Int32 modestride) - { - fixed (GL.Enums.BeginMode* mode_ptr = mode) - { - Delegates.glMultiModeDrawElementsIBM((GL.Enums.BeginMode*)mode_ptr, (Int32*)count, (GL.Enums.IBM_multimode_draw_arrays)type, (void*)indices, (Int32)primcount, (Int32)modestride); - } - } - - [System.CLSCompliant(false)] - public static - unsafe void MultiModeDrawElements([In, Out] GL.Enums.BeginMode[] mode, Int32* count, GL.Enums.IBM_multimode_draw_arrays type, [In, Out] object indices, Int32 primcount, Int32 modestride) - { - System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); - fixed (GL.Enums.BeginMode* mode_ptr = mode) - try - { - Delegates.glMultiModeDrawElementsIBM((GL.Enums.BeginMode*)mode_ptr, (Int32*)count, (GL.Enums.IBM_multimode_draw_arrays)type, (void*)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - } - finally - { - indices_ptr.Free(); - } - } - - [System.CLSCompliant(false)] - public static - unsafe void MultiModeDrawElements([In, Out] GL.Enums.BeginMode[] mode, [In, Out] Int32[] count, GL.Enums.IBM_multimode_draw_arrays type, void* indices, Int32 primcount, Int32 modestride) - { - fixed (GL.Enums.BeginMode* mode_ptr = mode) - fixed (Int32* count_ptr = count) - { - Delegates.glMultiModeDrawElementsIBM((GL.Enums.BeginMode*)mode_ptr, (Int32*)count_ptr, (GL.Enums.IBM_multimode_draw_arrays)type, (void*)indices, (Int32)primcount, (Int32)modestride); - } - } - - public static - void MultiModeDrawElements([In, Out] GL.Enums.BeginMode[] mode, [In, Out] Int32[] count, GL.Enums.IBM_multimode_draw_arrays type, [In, Out] object indices, Int32 primcount, Int32 modestride) - { - System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); - unsafe - { - fixed (GL.Enums.BeginMode* mode_ptr = mode) - fixed (Int32* count_ptr = count) - try - { - Delegates.glMultiModeDrawElementsIBM((GL.Enums.BeginMode*)mode_ptr, (Int32*)count_ptr, (GL.Enums.IBM_multimode_draw_arrays)type, (void*)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - } - finally - { - indices_ptr.Free(); } } } [System.CLSCompliant(false)] public static - unsafe void MultiModeDrawElements([In, Out] GL.Enums.BeginMode[] mode, ref Int32 count, GL.Enums.IBM_multimode_draw_arrays type, void* indices, Int32 primcount, Int32 modestride) + unsafe void MultiModeDrawElements(GL.Enums.BeginMode* mode, Int32[] count, GL.Enums.IBM_multimode_draw_arrays type, void* indices, Int32 primcount, Int32 modestride) { + unsafe + { + fixed (Int32* count_ptr = count) + { + Delegates.glMultiModeDrawElementsIBM((GL.Enums.BeginMode*)mode, (Int32*)count_ptr, (GL.Enums.IBM_multimode_draw_arrays)type, (void*)indices, (Int32)primcount, (Int32)modestride); + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe void MultiModeDrawElements(GL.Enums.BeginMode* mode, Int32[] count, GL.Enums.IBM_multimode_draw_arrays type, [In, Out] object indices, Int32 primcount, Int32 modestride) + { + unsafe + { + fixed (Int32* count_ptr = count) + { + System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((GL.Enums.BeginMode*)mode, (Int32*)count_ptr, (GL.Enums.IBM_multimode_draw_arrays)type, (void*)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + } + finally + { + } + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe void MultiModeDrawElements(GL.Enums.BeginMode* mode, ref Int32 count, GL.Enums.IBM_multimode_draw_arrays type, void* indices, Int32 primcount, Int32 modestride) + { + unsafe + { + fixed (Int32* count_ptr = &count) + { + Delegates.glMultiModeDrawElementsIBM((GL.Enums.BeginMode*)mode, (Int32*)count_ptr, (GL.Enums.IBM_multimode_draw_arrays)type, (void*)indices, (Int32)primcount, (Int32)modestride); + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe void MultiModeDrawElements(GL.Enums.BeginMode* mode, ref Int32 count, GL.Enums.IBM_multimode_draw_arrays type, [In, Out] object indices, Int32 primcount, Int32 modestride) + { + unsafe + { + fixed (Int32* count_ptr = &count) + { + System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((GL.Enums.BeginMode*)mode, (Int32*)count_ptr, (GL.Enums.IBM_multimode_draw_arrays)type, (void*)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + } + finally + { + } + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe void MultiModeDrawElements(GL.Enums.BeginMode[] mode, Int32* count, GL.Enums.IBM_multimode_draw_arrays type, void* indices, Int32 primcount, Int32 modestride) + { + unsafe + { + fixed (GL.Enums.BeginMode* mode_ptr = mode) + { + Delegates.glMultiModeDrawElementsIBM((GL.Enums.BeginMode*)mode_ptr, (Int32*)count, (GL.Enums.IBM_multimode_draw_arrays)type, (void*)indices, (Int32)primcount, (Int32)modestride); + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe void MultiModeDrawElements(GL.Enums.BeginMode[] mode, Int32* count, GL.Enums.IBM_multimode_draw_arrays type, [In, Out] object indices, Int32 primcount, Int32 modestride) + { + unsafe + { + fixed (GL.Enums.BeginMode* mode_ptr = mode) + { + System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((GL.Enums.BeginMode*)mode_ptr, (Int32*)count, (GL.Enums.IBM_multimode_draw_arrays)type, (void*)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + } + finally + { + } + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe void MultiModeDrawElements(GL.Enums.BeginMode[] mode, Int32[] count, GL.Enums.IBM_multimode_draw_arrays type, void* indices, Int32 primcount, Int32 modestride) + { + unsafe + { + fixed (GL.Enums.BeginMode* mode_ptr = mode) + fixed (Int32* count_ptr = count) + { + Delegates.glMultiModeDrawElementsIBM((GL.Enums.BeginMode*)mode_ptr, (Int32*)count_ptr, (GL.Enums.IBM_multimode_draw_arrays)type, (void*)indices, (Int32)primcount, (Int32)modestride); + } + } + } + + public static + void MultiModeDrawElements(GL.Enums.BeginMode[] mode, Int32[] count, GL.Enums.IBM_multimode_draw_arrays type, [In, Out] object indices, Int32 primcount, Int32 modestride) + { + unsafe + { + fixed (GL.Enums.BeginMode* mode_ptr = mode) + fixed (Int32* count_ptr = count) + { + System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((GL.Enums.BeginMode*)mode_ptr, (Int32*)count_ptr, (GL.Enums.IBM_multimode_draw_arrays)type, (void*)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + } + finally + { + } + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe void MultiModeDrawElements(GL.Enums.BeginMode[] mode, ref Int32 count, GL.Enums.IBM_multimode_draw_arrays type, void* indices, Int32 primcount, Int32 modestride) + { + unsafe + { fixed (GL.Enums.BeginMode* mode_ptr = mode) fixed (Int32* count_ptr = &count) { Delegates.glMultiModeDrawElementsIBM((GL.Enums.BeginMode*)mode_ptr, (Int32*)count_ptr, (GL.Enums.IBM_multimode_draw_arrays)type, (void*)indices, (Int32)primcount, (Int32)modestride); } + } } public static - void MultiModeDrawElements([In, Out] GL.Enums.BeginMode[] mode, ref Int32 count, GL.Enums.IBM_multimode_draw_arrays type, [In, Out] object indices, Int32 primcount, Int32 modestride) + void MultiModeDrawElements(GL.Enums.BeginMode[] mode, ref Int32 count, GL.Enums.IBM_multimode_draw_arrays type, [In, Out] object indices, Int32 primcount, Int32 modestride) { - System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { fixed (GL.Enums.BeginMode* mode_ptr = mode) fixed (Int32* count_ptr = &count) - try { - Delegates.glMultiModeDrawElementsIBM((GL.Enums.BeginMode*)mode_ptr, (Int32*)count_ptr, (GL.Enums.IBM_multimode_draw_arrays)type, (void*)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - } - finally - { - indices_ptr.Free(); + System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((GL.Enums.BeginMode*)mode_ptr, (Int32*)count_ptr, (GL.Enums.IBM_multimode_draw_arrays)type, (void*)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + } + finally + { + } } } } @@ -59248,54 +62306,65 @@ namespace OpenTK.OpenGL public static unsafe void MultiModeDrawElements(ref GL.Enums.BeginMode mode, Int32* count, GL.Enums.IBM_multimode_draw_arrays type, void* indices, Int32 primcount, Int32 modestride) { + unsafe + { fixed (GL.Enums.BeginMode* mode_ptr = &mode) { Delegates.glMultiModeDrawElementsIBM((GL.Enums.BeginMode*)mode_ptr, (Int32*)count, (GL.Enums.IBM_multimode_draw_arrays)type, (void*)indices, (Int32)primcount, (Int32)modestride); } + } } [System.CLSCompliant(false)] public static unsafe void MultiModeDrawElements(ref GL.Enums.BeginMode mode, Int32* count, GL.Enums.IBM_multimode_draw_arrays type, [In, Out] object indices, Int32 primcount, Int32 modestride) { - System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); + unsafe + { fixed (GL.Enums.BeginMode* mode_ptr = &mode) - try { - Delegates.glMultiModeDrawElementsIBM((GL.Enums.BeginMode*)mode_ptr, (Int32*)count, (GL.Enums.IBM_multimode_draw_arrays)type, (void*)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - } - finally - { - indices_ptr.Free(); + System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((GL.Enums.BeginMode*)mode_ptr, (Int32*)count, (GL.Enums.IBM_multimode_draw_arrays)type, (void*)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + } + finally + { + } } + } } [System.CLSCompliant(false)] public static - unsafe void MultiModeDrawElements(ref GL.Enums.BeginMode mode, [In, Out] Int32[] count, GL.Enums.IBM_multimode_draw_arrays type, void* indices, Int32 primcount, Int32 modestride) + unsafe void MultiModeDrawElements(ref GL.Enums.BeginMode mode, Int32[] count, GL.Enums.IBM_multimode_draw_arrays type, void* indices, Int32 primcount, Int32 modestride) { + unsafe + { fixed (GL.Enums.BeginMode* mode_ptr = &mode) fixed (Int32* count_ptr = count) { Delegates.glMultiModeDrawElementsIBM((GL.Enums.BeginMode*)mode_ptr, (Int32*)count_ptr, (GL.Enums.IBM_multimode_draw_arrays)type, (void*)indices, (Int32)primcount, (Int32)modestride); } + } } public static - void MultiModeDrawElements(ref GL.Enums.BeginMode mode, [In, Out] Int32[] count, GL.Enums.IBM_multimode_draw_arrays type, [In, Out] object indices, Int32 primcount, Int32 modestride) + void MultiModeDrawElements(ref GL.Enums.BeginMode mode, Int32[] count, GL.Enums.IBM_multimode_draw_arrays type, [In, Out] object indices, Int32 primcount, Int32 modestride) { - System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { fixed (GL.Enums.BeginMode* mode_ptr = &mode) fixed (Int32* count_ptr = count) - try { - Delegates.glMultiModeDrawElementsIBM((GL.Enums.BeginMode*)mode_ptr, (Int32*)count_ptr, (GL.Enums.IBM_multimode_draw_arrays)type, (void*)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - } - finally - { - indices_ptr.Free(); + System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((GL.Enums.BeginMode*)mode_ptr, (Int32*)count_ptr, (GL.Enums.IBM_multimode_draw_arrays)type, (void*)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + } + finally + { + } } } } @@ -59304,28 +62373,32 @@ namespace OpenTK.OpenGL public static unsafe void MultiModeDrawElements(ref GL.Enums.BeginMode mode, ref Int32 count, GL.Enums.IBM_multimode_draw_arrays type, void* indices, Int32 primcount, Int32 modestride) { + unsafe + { fixed (GL.Enums.BeginMode* mode_ptr = &mode) fixed (Int32* count_ptr = &count) { Delegates.glMultiModeDrawElementsIBM((GL.Enums.BeginMode*)mode_ptr, (Int32*)count_ptr, (GL.Enums.IBM_multimode_draw_arrays)type, (void*)indices, (Int32)primcount, (Int32)modestride); } + } } public static void MultiModeDrawElements(ref GL.Enums.BeginMode mode, ref Int32 count, GL.Enums.IBM_multimode_draw_arrays type, [In, Out] object indices, Int32 primcount, Int32 modestride) { - System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { fixed (GL.Enums.BeginMode* mode_ptr = &mode) fixed (Int32* count_ptr = &count) - try { - Delegates.glMultiModeDrawElementsIBM((GL.Enums.BeginMode*)mode_ptr, (Int32*)count_ptr, (GL.Enums.IBM_multimode_draw_arrays)type, (void*)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - } - finally - { - indices_ptr.Free(); + System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((GL.Enums.BeginMode*)mode_ptr, (Int32*)count_ptr, (GL.Enums.IBM_multimode_draw_arrays)type, (void*)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + } + finally + { + } } } } @@ -59340,16 +62413,15 @@ namespace OpenTK.OpenGL public static void ColorPointerList(Int32 size, GL.Enums.ColorPointerType type, Int32 stride, [In, Out] object pointer, Int32 ptrstride) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glColorPointerListIBM((Int32)size, (GL.Enums.ColorPointerType)type, (Int32)stride, (void*)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); } finally { - pointer_ptr.Free(); } } } @@ -59364,16 +62436,15 @@ namespace OpenTK.OpenGL public static void SecondaryColorPointerList(Int32 size, GL.Enums.IBM_vertex_array_lists type, Int32 stride, [In, Out] object pointer, Int32 ptrstride) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glSecondaryColorPointerListIBM((Int32)size, (GL.Enums.IBM_vertex_array_lists)type, (Int32)stride, (void*)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); } finally { - pointer_ptr.Free(); } } } @@ -59395,16 +62466,15 @@ namespace OpenTK.OpenGL public static void FogCoordPointerList(GL.Enums.IBM_vertex_array_lists type, Int32 stride, [In, Out] object pointer, Int32 ptrstride) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glFogCoordPointerListIBM((GL.Enums.IBM_vertex_array_lists)type, (Int32)stride, (void*)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); } finally { - pointer_ptr.Free(); } } } @@ -59419,16 +62489,15 @@ namespace OpenTK.OpenGL public static void IndexPointerList(GL.Enums.IndexPointerType type, Int32 stride, [In, Out] object pointer, Int32 ptrstride) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glIndexPointerListIBM((GL.Enums.IndexPointerType)type, (Int32)stride, (void*)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); } finally { - pointer_ptr.Free(); } } } @@ -59443,16 +62512,15 @@ namespace OpenTK.OpenGL public static void NormalPointerList(GL.Enums.NormalPointerType type, Int32 stride, [In, Out] object pointer, Int32 ptrstride) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glNormalPointerListIBM((GL.Enums.NormalPointerType)type, (Int32)stride, (void*)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); } finally { - pointer_ptr.Free(); } } } @@ -59467,16 +62535,15 @@ namespace OpenTK.OpenGL public static void TexCoordPointerList(Int32 size, GL.Enums.TexCoordPointerType type, Int32 stride, [In, Out] object pointer, Int32 ptrstride) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glTexCoordPointerListIBM((Int32)size, (GL.Enums.TexCoordPointerType)type, (Int32)stride, (void*)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); } finally { - pointer_ptr.Free(); } } } @@ -59491,23 +62558,22 @@ namespace OpenTK.OpenGL public static void VertexPointerList(Int32 size, GL.Enums.VertexPointerType type, Int32 stride, [In, Out] object pointer, Int32 ptrstride) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glVertexPointerListIBM((Int32)size, (GL.Enums.VertexPointerType)type, (Int32)stride, (void*)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); } finally { - pointer_ptr.Free(); } } } } - public static class GL_3DFX + public static class gl3DFX { [System.CLSCompliant(false)] public static @@ -59534,7 +62600,7 @@ namespace OpenTK.OpenGL } public static - void TexBumpParameterv(GL.Enums.ATI_envmap_bumpmap pname, [In, Out] Int32[] param) + void TexBumpParameterv(GL.Enums.ATI_envmap_bumpmap pname, Int32[] param) { unsafe { @@ -59565,7 +62631,7 @@ namespace OpenTK.OpenGL } public static - void TexBumpParameterv(GL.Enums.ATI_envmap_bumpmap pname, [In, Out] Single[] param) + void TexBumpParameterv(GL.Enums.ATI_envmap_bumpmap pname, Single[] param) { unsafe { @@ -59596,7 +62662,7 @@ namespace OpenTK.OpenGL } public static - void GetTexBumpParameterv(GL.Enums.ATI_envmap_bumpmap pname, [In, Out] Int32[] param) + void GetTexBumpParameterv(GL.Enums.ATI_envmap_bumpmap pname, [Out] Int32[] param) { unsafe { @@ -59610,13 +62676,12 @@ namespace OpenTK.OpenGL public static void GetTexBumpParameterv(GL.Enums.ATI_envmap_bumpmap pname, [Out] out Int32 param) { - param = default(Int32); unsafe { fixed (Int32* param_ptr = ¶m) { Delegates.glGetTexBumpParameterivATI((GL.Enums.ATI_envmap_bumpmap)pname, (Int32*)param_ptr); - param = *param_ptr; + param = *param_ptr; } } } @@ -59629,7 +62694,7 @@ namespace OpenTK.OpenGL } public static - void GetTexBumpParameterv(GL.Enums.ATI_envmap_bumpmap pname, [In, Out] Single[] param) + void GetTexBumpParameterv(GL.Enums.ATI_envmap_bumpmap pname, [Out] Single[] param) { unsafe { @@ -59643,13 +62708,12 @@ namespace OpenTK.OpenGL public static void GetTexBumpParameterv(GL.Enums.ATI_envmap_bumpmap pname, [Out] out Single param) { - param = default(Single); unsafe { fixed (Single* param_ptr = ¶m) { Delegates.glGetTexBumpParameterfvATI((GL.Enums.ATI_envmap_bumpmap)pname, (Single*)param_ptr); - param = *param_ptr; + param = *param_ptr; } } } @@ -59820,14 +62884,15 @@ namespace OpenTK.OpenGL public static unsafe void SetFragmentShaderConstant(Int32 dst, Single* value) { - { - Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value); - } + unsafe + { + Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value); + } } [System.CLSCompliant(false)] public static - void SetFragmentShaderConstant(UInt32 dst, [In, Out] Single[] value) + void SetFragmentShaderConstant(UInt32 dst, Single[] value) { unsafe { @@ -59839,7 +62904,7 @@ namespace OpenTK.OpenGL } public static - void SetFragmentShaderConstant(Int32 dst, [In, Out] Single[] value) + void SetFragmentShaderConstant(Int32 dst, Single[] value) { unsafe { @@ -59897,9 +62962,9 @@ namespace OpenTK.OpenGL public static Int32 NewObjectBuffer(Int32 size, [In, Out] object pointer, GL.Enums.ATI_vertex_array_object usage) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Int32 retval = Delegates.glNewObjectBufferATI((Int32)size, (void*)pointer_ptr.AddrOfPinnedObject(), (GL.Enums.ATI_vertex_array_object)usage); @@ -59907,7 +62972,6 @@ namespace OpenTK.OpenGL } finally { - pointer_ptr.Free(); } } } @@ -59936,25 +63000,25 @@ namespace OpenTK.OpenGL public static unsafe void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, void* pointer, GL.Enums.ATI_vertex_array_object preserve) { - { - Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (void*)pointer, (GL.Enums.ATI_vertex_array_object)preserve); - } + unsafe + { + Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (void*)pointer, (GL.Enums.ATI_vertex_array_object)preserve); + } } [System.CLSCompliant(false)] public static void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, [In, Out] object pointer, GL.Enums.ATI_vertex_array_object preserve) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (void*)pointer_ptr.AddrOfPinnedObject(), (GL.Enums.ATI_vertex_array_object)preserve); } finally { - pointer_ptr.Free(); } } } @@ -59962,16 +63026,15 @@ namespace OpenTK.OpenGL public static void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, [In, Out] object pointer, GL.Enums.ATI_vertex_array_object preserve) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (void*)pointer_ptr.AddrOfPinnedObject(), (GL.Enums.ATI_vertex_array_object)preserve); } finally { - pointer_ptr.Free(); } } } @@ -59987,15 +63050,15 @@ namespace OpenTK.OpenGL public static unsafe void GetObjectBufferv(Int32 buffer, GL.Enums.ATI_vertex_array_object pname, [Out] Single* @params) { - @params = default(Single*); - { - Delegates.glGetObjectBufferfvATI((UInt32)buffer, (GL.Enums.ATI_vertex_array_object)pname, (Single*)@params); - } + unsafe + { + Delegates.glGetObjectBufferfvATI((UInt32)buffer, (GL.Enums.ATI_vertex_array_object)pname, (Single*)@params); + } } [System.CLSCompliant(false)] public static - void GetObjectBufferv(UInt32 buffer, GL.Enums.ATI_vertex_array_object pname, [In, Out] Single[] @params) + void GetObjectBufferv(UInt32 buffer, GL.Enums.ATI_vertex_array_object pname, [Out] Single[] @params) { unsafe { @@ -60007,7 +63070,7 @@ namespace OpenTK.OpenGL } public static - void GetObjectBufferv(Int32 buffer, GL.Enums.ATI_vertex_array_object pname, [In, Out] Single[] @params) + void GetObjectBufferv(Int32 buffer, GL.Enums.ATI_vertex_array_object pname, [Out] Single[] @params) { unsafe { @@ -60022,13 +63085,12 @@ namespace OpenTK.OpenGL public static void GetObjectBufferv(UInt32 buffer, GL.Enums.ATI_vertex_array_object pname, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetObjectBufferfvATI((UInt32)buffer, (GL.Enums.ATI_vertex_array_object)pname, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -60036,13 +63098,12 @@ namespace OpenTK.OpenGL public static void GetObjectBufferv(Int32 buffer, GL.Enums.ATI_vertex_array_object pname, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetObjectBufferfvATI((UInt32)buffer, (GL.Enums.ATI_vertex_array_object)pname, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -60058,15 +63119,15 @@ namespace OpenTK.OpenGL public static unsafe void GetObjectBufferv(Int32 buffer, GL.Enums.ATI_vertex_array_object pname, [Out] Int32* @params) { - @params = default(Int32*); - { - Delegates.glGetObjectBufferivATI((UInt32)buffer, (GL.Enums.ATI_vertex_array_object)pname, (Int32*)@params); - } + unsafe + { + Delegates.glGetObjectBufferivATI((UInt32)buffer, (GL.Enums.ATI_vertex_array_object)pname, (Int32*)@params); + } } [System.CLSCompliant(false)] public static - void GetObjectBufferv(UInt32 buffer, GL.Enums.ATI_vertex_array_object pname, [In, Out] Int32[] @params) + void GetObjectBufferv(UInt32 buffer, GL.Enums.ATI_vertex_array_object pname, [Out] Int32[] @params) { unsafe { @@ -60078,7 +63139,7 @@ namespace OpenTK.OpenGL } public static - void GetObjectBufferv(Int32 buffer, GL.Enums.ATI_vertex_array_object pname, [In, Out] Int32[] @params) + void GetObjectBufferv(Int32 buffer, GL.Enums.ATI_vertex_array_object pname, [Out] Int32[] @params) { unsafe { @@ -60093,13 +63154,12 @@ namespace OpenTK.OpenGL public static void GetObjectBufferv(UInt32 buffer, GL.Enums.ATI_vertex_array_object pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetObjectBufferivATI((UInt32)buffer, (GL.Enums.ATI_vertex_array_object)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -60107,13 +63167,12 @@ namespace OpenTK.OpenGL public static void GetObjectBufferv(Int32 buffer, GL.Enums.ATI_vertex_array_object pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetObjectBufferivATI((UInt32)buffer, (GL.Enums.ATI_vertex_array_object)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -60152,7 +63211,7 @@ namespace OpenTK.OpenGL } public static - void GetArrayObjectv(GL.Enums.EnableCap array, GL.Enums.ATI_vertex_array_object pname, [In, Out] Single[] @params) + void GetArrayObjectv(GL.Enums.EnableCap array, GL.Enums.ATI_vertex_array_object pname, [Out] Single[] @params) { unsafe { @@ -60166,13 +63225,12 @@ namespace OpenTK.OpenGL public static void GetArrayObjectv(GL.Enums.EnableCap array, GL.Enums.ATI_vertex_array_object pname, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetArrayObjectfvATI((GL.Enums.EnableCap)array, (GL.Enums.ATI_vertex_array_object)pname, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -60185,7 +63243,7 @@ namespace OpenTK.OpenGL } public static - void GetArrayObjectv(GL.Enums.EnableCap array, GL.Enums.ATI_vertex_array_object pname, [In, Out] Int32[] @params) + void GetArrayObjectv(GL.Enums.EnableCap array, GL.Enums.ATI_vertex_array_object pname, [Out] Int32[] @params) { unsafe { @@ -60199,13 +63257,12 @@ namespace OpenTK.OpenGL public static void GetArrayObjectv(GL.Enums.EnableCap array, GL.Enums.ATI_vertex_array_object pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetArrayObjectivATI((GL.Enums.EnableCap)array, (GL.Enums.ATI_vertex_array_object)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -60234,15 +63291,15 @@ namespace OpenTK.OpenGL public static unsafe void GetVariantArrayObjectv(Int32 id, GL.Enums.ATI_vertex_array_object pname, [Out] Single* @params) { - @params = default(Single*); - { - Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (GL.Enums.ATI_vertex_array_object)pname, (Single*)@params); - } + unsafe + { + Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (GL.Enums.ATI_vertex_array_object)pname, (Single*)@params); + } } [System.CLSCompliant(false)] public static - void GetVariantArrayObjectv(UInt32 id, GL.Enums.ATI_vertex_array_object pname, [In, Out] Single[] @params) + void GetVariantArrayObjectv(UInt32 id, GL.Enums.ATI_vertex_array_object pname, [Out] Single[] @params) { unsafe { @@ -60254,7 +63311,7 @@ namespace OpenTK.OpenGL } public static - void GetVariantArrayObjectv(Int32 id, GL.Enums.ATI_vertex_array_object pname, [In, Out] Single[] @params) + void GetVariantArrayObjectv(Int32 id, GL.Enums.ATI_vertex_array_object pname, [Out] Single[] @params) { unsafe { @@ -60269,13 +63326,12 @@ namespace OpenTK.OpenGL public static void GetVariantArrayObjectv(UInt32 id, GL.Enums.ATI_vertex_array_object pname, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (GL.Enums.ATI_vertex_array_object)pname, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -60283,13 +63339,12 @@ namespace OpenTK.OpenGL public static void GetVariantArrayObjectv(Int32 id, GL.Enums.ATI_vertex_array_object pname, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (GL.Enums.ATI_vertex_array_object)pname, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -60305,15 +63360,15 @@ namespace OpenTK.OpenGL public static unsafe void GetVariantArrayObjectv(Int32 id, GL.Enums.ATI_vertex_array_object pname, [Out] Int32* @params) { - @params = default(Int32*); - { - Delegates.glGetVariantArrayObjectivATI((UInt32)id, (GL.Enums.ATI_vertex_array_object)pname, (Int32*)@params); - } + unsafe + { + Delegates.glGetVariantArrayObjectivATI((UInt32)id, (GL.Enums.ATI_vertex_array_object)pname, (Int32*)@params); + } } [System.CLSCompliant(false)] public static - void GetVariantArrayObjectv(UInt32 id, GL.Enums.ATI_vertex_array_object pname, [In, Out] Int32[] @params) + void GetVariantArrayObjectv(UInt32 id, GL.Enums.ATI_vertex_array_object pname, [Out] Int32[] @params) { unsafe { @@ -60325,7 +63380,7 @@ namespace OpenTK.OpenGL } public static - void GetVariantArrayObjectv(Int32 id, GL.Enums.ATI_vertex_array_object pname, [In, Out] Int32[] @params) + void GetVariantArrayObjectv(Int32 id, GL.Enums.ATI_vertex_array_object pname, [Out] Int32[] @params) { unsafe { @@ -60340,13 +63395,12 @@ namespace OpenTK.OpenGL public static void GetVariantArrayObjectv(UInt32 id, GL.Enums.ATI_vertex_array_object pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetVariantArrayObjectivATI((UInt32)id, (GL.Enums.ATI_vertex_array_object)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -60354,13 +63408,12 @@ namespace OpenTK.OpenGL public static void GetVariantArrayObjectv(Int32 id, GL.Enums.ATI_vertex_array_object pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetVariantArrayObjectivATI((UInt32)id, (GL.Enums.ATI_vertex_array_object)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -60379,7 +63432,7 @@ namespace OpenTK.OpenGL } public static - void VertexStream1sv(GL.Enums.ATI_vertex_streams stream, [In, Out] Int16[] coords) + void VertexStream1sv(GL.Enums.ATI_vertex_streams stream, Int16[] coords) { unsafe { @@ -60416,7 +63469,7 @@ namespace OpenTK.OpenGL } public static - void VertexStream1iv(GL.Enums.ATI_vertex_streams stream, [In, Out] Int32[] coords) + void VertexStream1iv(GL.Enums.ATI_vertex_streams stream, Int32[] coords) { unsafe { @@ -60453,7 +63506,7 @@ namespace OpenTK.OpenGL } public static - void VertexStream1fv(GL.Enums.ATI_vertex_streams stream, [In, Out] Single[] coords) + void VertexStream1fv(GL.Enums.ATI_vertex_streams stream, Single[] coords) { unsafe { @@ -60490,7 +63543,7 @@ namespace OpenTK.OpenGL } public static - void VertexStream1dv(GL.Enums.ATI_vertex_streams stream, [In, Out] Double[] coords) + void VertexStream1dv(GL.Enums.ATI_vertex_streams stream, Double[] coords) { unsafe { @@ -60527,7 +63580,7 @@ namespace OpenTK.OpenGL } public static - void VertexStream2(GL.Enums.ATI_vertex_streams stream, [In, Out] Int16[] coords) + void VertexStream2(GL.Enums.ATI_vertex_streams stream, Int16[] coords) { unsafe { @@ -60564,7 +63617,7 @@ namespace OpenTK.OpenGL } public static - void VertexStream2(GL.Enums.ATI_vertex_streams stream, [In, Out] Int32[] coords) + void VertexStream2(GL.Enums.ATI_vertex_streams stream, Int32[] coords) { unsafe { @@ -60601,7 +63654,7 @@ namespace OpenTK.OpenGL } public static - void VertexStream2(GL.Enums.ATI_vertex_streams stream, [In, Out] Single[] coords) + void VertexStream2(GL.Enums.ATI_vertex_streams stream, Single[] coords) { unsafe { @@ -60638,7 +63691,7 @@ namespace OpenTK.OpenGL } public static - void VertexStream2(GL.Enums.ATI_vertex_streams stream, [In, Out] Double[] coords) + void VertexStream2(GL.Enums.ATI_vertex_streams stream, Double[] coords) { unsafe { @@ -60675,7 +63728,7 @@ namespace OpenTK.OpenGL } public static - void VertexStream3(GL.Enums.ATI_vertex_streams stream, [In, Out] Int16[] coords) + void VertexStream3(GL.Enums.ATI_vertex_streams stream, Int16[] coords) { unsafe { @@ -60712,7 +63765,7 @@ namespace OpenTK.OpenGL } public static - void VertexStream3(GL.Enums.ATI_vertex_streams stream, [In, Out] Int32[] coords) + void VertexStream3(GL.Enums.ATI_vertex_streams stream, Int32[] coords) { unsafe { @@ -60749,7 +63802,7 @@ namespace OpenTK.OpenGL } public static - void VertexStream3(GL.Enums.ATI_vertex_streams stream, [In, Out] Single[] coords) + void VertexStream3(GL.Enums.ATI_vertex_streams stream, Single[] coords) { unsafe { @@ -60786,7 +63839,7 @@ namespace OpenTK.OpenGL } public static - void VertexStream3(GL.Enums.ATI_vertex_streams stream, [In, Out] Double[] coords) + void VertexStream3(GL.Enums.ATI_vertex_streams stream, Double[] coords) { unsafe { @@ -60823,7 +63876,7 @@ namespace OpenTK.OpenGL } public static - void VertexStream4(GL.Enums.ATI_vertex_streams stream, [In, Out] Int16[] coords) + void VertexStream4(GL.Enums.ATI_vertex_streams stream, Int16[] coords) { unsafe { @@ -60860,7 +63913,7 @@ namespace OpenTK.OpenGL } public static - void VertexStream4(GL.Enums.ATI_vertex_streams stream, [In, Out] Int32[] coords) + void VertexStream4(GL.Enums.ATI_vertex_streams stream, Int32[] coords) { unsafe { @@ -60897,7 +63950,7 @@ namespace OpenTK.OpenGL } public static - void VertexStream4(GL.Enums.ATI_vertex_streams stream, [In, Out] Single[] coords) + void VertexStream4(GL.Enums.ATI_vertex_streams stream, Single[] coords) { unsafe { @@ -60934,7 +63987,7 @@ namespace OpenTK.OpenGL } public static - void VertexStream4(GL.Enums.ATI_vertex_streams stream, [In, Out] Double[] coords) + void VertexStream4(GL.Enums.ATI_vertex_streams stream, Double[] coords) { unsafe { @@ -60981,14 +64034,15 @@ namespace OpenTK.OpenGL public static unsafe void NormalStream3(GL.Enums.ATI_vertex_streams stream, Byte* coords) { - { - Delegates.glNormalStream3bvATI((GL.Enums.ATI_vertex_streams)stream, (SByte*)coords); - } + unsafe + { + Delegates.glNormalStream3bvATI((GL.Enums.ATI_vertex_streams)stream, (SByte*)coords); + } } [System.CLSCompliant(false)] public static - void NormalStream3(GL.Enums.ATI_vertex_streams stream, [In, Out] SByte[] coords) + void NormalStream3(GL.Enums.ATI_vertex_streams stream, SByte[] coords) { unsafe { @@ -61000,7 +64054,7 @@ namespace OpenTK.OpenGL } public static - void NormalStream3(GL.Enums.ATI_vertex_streams stream, [In, Out] Byte[] coords) + void NormalStream3(GL.Enums.ATI_vertex_streams stream, Byte[] coords) { unsafe { @@ -61050,7 +64104,7 @@ namespace OpenTK.OpenGL } public static - void NormalStream3(GL.Enums.ATI_vertex_streams stream, [In, Out] Int16[] coords) + void NormalStream3(GL.Enums.ATI_vertex_streams stream, Int16[] coords) { unsafe { @@ -61087,7 +64141,7 @@ namespace OpenTK.OpenGL } public static - void NormalStream3(GL.Enums.ATI_vertex_streams stream, [In, Out] Int32[] coords) + void NormalStream3(GL.Enums.ATI_vertex_streams stream, Int32[] coords) { unsafe { @@ -61124,7 +64178,7 @@ namespace OpenTK.OpenGL } public static - void NormalStream3(GL.Enums.ATI_vertex_streams stream, [In, Out] Single[] coords) + void NormalStream3(GL.Enums.ATI_vertex_streams stream, Single[] coords) { unsafe { @@ -61161,7 +64215,7 @@ namespace OpenTK.OpenGL } public static - void NormalStream3(GL.Enums.ATI_vertex_streams stream, [In, Out] Double[] coords) + void NormalStream3(GL.Enums.ATI_vertex_streams stream, Double[] coords) { unsafe { @@ -61212,16 +64266,15 @@ namespace OpenTK.OpenGL public static void ElementPointer(GL.Enums.ATI_element_array type, [In, Out] object pointer) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glElementPointerATI((GL.Enums.ATI_element_array)type, (void*)pointer_ptr.AddrOfPinnedObject()); } finally { - pointer_ptr.Free(); } } } @@ -61253,7 +64306,7 @@ namespace OpenTK.OpenGL } public static - void DrawBuffers(Int32 n, [In, Out] GL.Enums.ATI_draw_buffers[] bufs) + void DrawBuffers(Int32 n, GL.Enums.ATI_draw_buffers[] bufs) { unsafe { @@ -61288,10 +64341,8 @@ namespace OpenTK.OpenGL { unsafe { - { - IntPtr retval = Delegates.glMapObjectBufferATI((UInt32)buffer); - return retval; - } + IntPtr retval = Delegates.glMapObjectBufferATI((UInt32)buffer); + return retval; } } @@ -61339,9 +64390,7 @@ namespace OpenTK.OpenGL { unsafe { - { - Delegates.glVertexAttribArrayObjectATI((UInt32)index, (Int32)size, (GL.Enums.ATI_vertex_attrib_array_object)type, (GL.Enums.Boolean)normalized, (Int32)stride, (UInt32)buffer, (UInt32)offset); - } + Delegates.glVertexAttribArrayObjectATI((UInt32)index, (Int32)size, (GL.Enums.ATI_vertex_attrib_array_object)type, (GL.Enums.Boolean)normalized, (Int32)stride, (UInt32)buffer, (UInt32)offset); } } @@ -61356,15 +64405,15 @@ namespace OpenTK.OpenGL public static unsafe void GetVertexAttribArrayObjectv(Int32 index, GL.Enums.ATI_vertex_attrib_array_object pname, [Out] Single* @params) { - @params = default(Single*); - { - Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (GL.Enums.ATI_vertex_attrib_array_object)pname, (Single*)@params); - } + unsafe + { + Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (GL.Enums.ATI_vertex_attrib_array_object)pname, (Single*)@params); + } } [System.CLSCompliant(false)] public static - void GetVertexAttribArrayObjectv(UInt32 index, GL.Enums.ATI_vertex_attrib_array_object pname, [In, Out] Single[] @params) + void GetVertexAttribArrayObjectv(UInt32 index, GL.Enums.ATI_vertex_attrib_array_object pname, [Out] Single[] @params) { unsafe { @@ -61376,7 +64425,7 @@ namespace OpenTK.OpenGL } public static - void GetVertexAttribArrayObjectv(Int32 index, GL.Enums.ATI_vertex_attrib_array_object pname, [In, Out] Single[] @params) + void GetVertexAttribArrayObjectv(Int32 index, GL.Enums.ATI_vertex_attrib_array_object pname, [Out] Single[] @params) { unsafe { @@ -61391,13 +64440,12 @@ namespace OpenTK.OpenGL public static void GetVertexAttribArrayObjectv(UInt32 index, GL.Enums.ATI_vertex_attrib_array_object pname, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (GL.Enums.ATI_vertex_attrib_array_object)pname, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -61405,13 +64453,12 @@ namespace OpenTK.OpenGL public static void GetVertexAttribArrayObjectv(Int32 index, GL.Enums.ATI_vertex_attrib_array_object pname, [Out] out Single @params) { - @params = default(Single); unsafe { fixed (Single* @params_ptr = &@params) { Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (GL.Enums.ATI_vertex_attrib_array_object)pname, (Single*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -61427,15 +64474,15 @@ namespace OpenTK.OpenGL public static unsafe void GetVertexAttribArrayObjectv(Int32 index, GL.Enums.ATI_vertex_attrib_array_object pname, [Out] Int32* @params) { - @params = default(Int32*); - { - Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (GL.Enums.ATI_vertex_attrib_array_object)pname, (Int32*)@params); - } + unsafe + { + Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (GL.Enums.ATI_vertex_attrib_array_object)pname, (Int32*)@params); + } } [System.CLSCompliant(false)] public static - void GetVertexAttribArrayObjectv(UInt32 index, GL.Enums.ATI_vertex_attrib_array_object pname, [In, Out] Int32[] @params) + void GetVertexAttribArrayObjectv(UInt32 index, GL.Enums.ATI_vertex_attrib_array_object pname, [Out] Int32[] @params) { unsafe { @@ -61447,7 +64494,7 @@ namespace OpenTK.OpenGL } public static - void GetVertexAttribArrayObjectv(Int32 index, GL.Enums.ATI_vertex_attrib_array_object pname, [In, Out] Int32[] @params) + void GetVertexAttribArrayObjectv(Int32 index, GL.Enums.ATI_vertex_attrib_array_object pname, [Out] Int32[] @params) { unsafe { @@ -61462,13 +64509,12 @@ namespace OpenTK.OpenGL public static void GetVertexAttribArrayObjectv(UInt32 index, GL.Enums.ATI_vertex_attrib_array_object pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (GL.Enums.ATI_vertex_attrib_array_object)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -61476,13 +64522,12 @@ namespace OpenTK.OpenGL public static void GetVertexAttribArrayObjectv(Int32 index, GL.Enums.ATI_vertex_attrib_array_object pname, [Out] out Int32 @params) { - @params = default(Int32); unsafe { fixed (Int32* @params_ptr = &@params) { Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (GL.Enums.ATI_vertex_attrib_array_object)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + @params = *@params_ptr; } } } @@ -61501,16 +64546,15 @@ namespace OpenTK.OpenGL public static void ElementPointer(GL.Enums.APPLE_element_array type, [In, Out] object pointer) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glElementPointerAPPLE((GL.Enums.APPLE_element_array)type, (void*)pointer_ptr.AddrOfPinnedObject()); } finally { - pointer_ptr.Free(); } } } @@ -61543,36 +64587,45 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - unsafe void MultiDrawElementArray(GL.Enums.BeginMode mode, Int32* first, [In, Out] Int32[] count, Int32 primcount) + unsafe void MultiDrawElementArray(GL.Enums.BeginMode mode, Int32* first, Int32[] count, Int32 primcount) { + unsafe + { fixed (Int32* count_ptr = count) { Delegates.glMultiDrawElementArrayAPPLE((GL.Enums.BeginMode)mode, (Int32*)first, (Int32*)count_ptr, (Int32)primcount); } + } } [System.CLSCompliant(false)] public static unsafe void MultiDrawElementArray(GL.Enums.BeginMode mode, Int32* first, ref Int32 count, Int32 primcount) { + unsafe + { fixed (Int32* count_ptr = &count) { Delegates.glMultiDrawElementArrayAPPLE((GL.Enums.BeginMode)mode, (Int32*)first, (Int32*)count_ptr, (Int32)primcount); } + } } [System.CLSCompliant(false)] public static - unsafe void MultiDrawElementArray(GL.Enums.BeginMode mode, [In, Out] Int32[] first, Int32* count, Int32 primcount) + unsafe void MultiDrawElementArray(GL.Enums.BeginMode mode, Int32[] first, Int32* count, Int32 primcount) { + unsafe + { fixed (Int32* first_ptr = first) { Delegates.glMultiDrawElementArrayAPPLE((GL.Enums.BeginMode)mode, (Int32*)first_ptr, (Int32*)count, (Int32)primcount); } + } } public static - void MultiDrawElementArray(GL.Enums.BeginMode mode, [In, Out] Int32[] first, [In, Out] Int32[] count, Int32 primcount) + void MultiDrawElementArray(GL.Enums.BeginMode mode, Int32[] first, Int32[] count, Int32 primcount) { unsafe { @@ -61585,7 +64638,7 @@ namespace OpenTK.OpenGL } public static - void MultiDrawElementArray(GL.Enums.BeginMode mode, [In, Out] Int32[] first, ref Int32 count, Int32 primcount) + void MultiDrawElementArray(GL.Enums.BeginMode mode, Int32[] first, ref Int32 count, Int32 primcount) { unsafe { @@ -61601,14 +64654,17 @@ namespace OpenTK.OpenGL public static unsafe void MultiDrawElementArray(GL.Enums.BeginMode mode, ref Int32 first, Int32* count, Int32 primcount) { + unsafe + { fixed (Int32* first_ptr = &first) { Delegates.glMultiDrawElementArrayAPPLE((GL.Enums.BeginMode)mode, (Int32*)first_ptr, (Int32*)count, (Int32)primcount); } + } } public static - void MultiDrawElementArray(GL.Enums.BeginMode mode, ref Int32 first, [In, Out] Int32[] count, Int32 primcount) + void MultiDrawElementArray(GL.Enums.BeginMode mode, ref Int32 first, Int32[] count, Int32 primcount) { unsafe { @@ -61644,74 +64700,93 @@ namespace OpenTK.OpenGL public static unsafe void MultiDrawRangeElementArray(GL.Enums.BeginMode mode, Int32 start, Int32 end, Int32* first, Int32* count, Int32 primcount) { - { - Delegates.glMultiDrawRangeElementArrayAPPLE((GL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first, (Int32*)count, (Int32)primcount); - } + unsafe + { + Delegates.glMultiDrawRangeElementArrayAPPLE((GL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first, (Int32*)count, (Int32)primcount); + } } [System.CLSCompliant(false)] public static - unsafe void MultiDrawRangeElementArray(GL.Enums.BeginMode mode, UInt32 start, UInt32 end, Int32* first, [In, Out] Int32[] count, Int32 primcount) + unsafe void MultiDrawRangeElementArray(GL.Enums.BeginMode mode, UInt32 start, UInt32 end, Int32* first, Int32[] count, Int32 primcount) { + unsafe + { fixed (Int32* count_ptr = count) { Delegates.glMultiDrawRangeElementArrayAPPLE((GL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first, (Int32*)count_ptr, (Int32)primcount); } + } } [System.CLSCompliant(false)] public static - unsafe void MultiDrawRangeElementArray(GL.Enums.BeginMode mode, Int32 start, Int32 end, Int32* first, [In, Out] Int32[] count, Int32 primcount) + unsafe void MultiDrawRangeElementArray(GL.Enums.BeginMode mode, Int32 start, Int32 end, Int32* first, Int32[] count, Int32 primcount) { + unsafe + { fixed (Int32* count_ptr = count) { Delegates.glMultiDrawRangeElementArrayAPPLE((GL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first, (Int32*)count_ptr, (Int32)primcount); } + } } [System.CLSCompliant(false)] public static unsafe void MultiDrawRangeElementArray(GL.Enums.BeginMode mode, UInt32 start, UInt32 end, Int32* first, ref Int32 count, Int32 primcount) { + unsafe + { fixed (Int32* count_ptr = &count) { Delegates.glMultiDrawRangeElementArrayAPPLE((GL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first, (Int32*)count_ptr, (Int32)primcount); } + } } [System.CLSCompliant(false)] public static unsafe void MultiDrawRangeElementArray(GL.Enums.BeginMode mode, Int32 start, Int32 end, Int32* first, ref Int32 count, Int32 primcount) { + unsafe + { fixed (Int32* count_ptr = &count) { Delegates.glMultiDrawRangeElementArrayAPPLE((GL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first, (Int32*)count_ptr, (Int32)primcount); } + } } [System.CLSCompliant(false)] public static - unsafe void MultiDrawRangeElementArray(GL.Enums.BeginMode mode, UInt32 start, UInt32 end, [In, Out] Int32[] first, Int32* count, Int32 primcount) + unsafe void MultiDrawRangeElementArray(GL.Enums.BeginMode mode, UInt32 start, UInt32 end, Int32[] first, Int32* count, Int32 primcount) { + unsafe + { fixed (Int32* first_ptr = first) { Delegates.glMultiDrawRangeElementArrayAPPLE((GL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count, (Int32)primcount); } + } } [System.CLSCompliant(false)] public static - unsafe void MultiDrawRangeElementArray(GL.Enums.BeginMode mode, Int32 start, Int32 end, [In, Out] Int32[] first, Int32* count, Int32 primcount) + unsafe void MultiDrawRangeElementArray(GL.Enums.BeginMode mode, Int32 start, Int32 end, Int32[] first, Int32* count, Int32 primcount) { + unsafe + { fixed (Int32* first_ptr = first) { Delegates.glMultiDrawRangeElementArrayAPPLE((GL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count, (Int32)primcount); } + } } [System.CLSCompliant(false)] public static - void MultiDrawRangeElementArray(GL.Enums.BeginMode mode, UInt32 start, UInt32 end, [In, Out] Int32[] first, [In, Out] Int32[] count, Int32 primcount) + void MultiDrawRangeElementArray(GL.Enums.BeginMode mode, UInt32 start, UInt32 end, Int32[] first, Int32[] count, Int32 primcount) { unsafe { @@ -61724,7 +64799,7 @@ namespace OpenTK.OpenGL } public static - void MultiDrawRangeElementArray(GL.Enums.BeginMode mode, Int32 start, Int32 end, [In, Out] Int32[] first, [In, Out] Int32[] count, Int32 primcount) + void MultiDrawRangeElementArray(GL.Enums.BeginMode mode, Int32 start, Int32 end, Int32[] first, Int32[] count, Int32 primcount) { unsafe { @@ -61738,7 +64813,7 @@ namespace OpenTK.OpenGL [System.CLSCompliant(false)] public static - void MultiDrawRangeElementArray(GL.Enums.BeginMode mode, UInt32 start, UInt32 end, [In, Out] Int32[] first, ref Int32 count, Int32 primcount) + void MultiDrawRangeElementArray(GL.Enums.BeginMode mode, UInt32 start, UInt32 end, Int32[] first, ref Int32 count, Int32 primcount) { unsafe { @@ -61751,7 +64826,7 @@ namespace OpenTK.OpenGL } public static - void MultiDrawRangeElementArray(GL.Enums.BeginMode mode, Int32 start, Int32 end, [In, Out] Int32[] first, ref Int32 count, Int32 primcount) + void MultiDrawRangeElementArray(GL.Enums.BeginMode mode, Int32 start, Int32 end, Int32[] first, ref Int32 count, Int32 primcount) { unsafe { @@ -61767,25 +64842,31 @@ namespace OpenTK.OpenGL public static unsafe void MultiDrawRangeElementArray(GL.Enums.BeginMode mode, UInt32 start, UInt32 end, ref Int32 first, Int32* count, Int32 primcount) { + unsafe + { fixed (Int32* first_ptr = &first) { Delegates.glMultiDrawRangeElementArrayAPPLE((GL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count, (Int32)primcount); } + } } [System.CLSCompliant(false)] public static unsafe void MultiDrawRangeElementArray(GL.Enums.BeginMode mode, Int32 start, Int32 end, ref Int32 first, Int32* count, Int32 primcount) { + unsafe + { fixed (Int32* first_ptr = &first) { Delegates.glMultiDrawRangeElementArrayAPPLE((GL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count, (Int32)primcount); } + } } [System.CLSCompliant(false)] public static - void MultiDrawRangeElementArray(GL.Enums.BeginMode mode, UInt32 start, UInt32 end, ref Int32 first, [In, Out] Int32[] count, Int32 primcount) + void MultiDrawRangeElementArray(GL.Enums.BeginMode mode, UInt32 start, UInt32 end, ref Int32 first, Int32[] count, Int32 primcount) { unsafe { @@ -61798,7 +64879,7 @@ namespace OpenTK.OpenGL } public static - void MultiDrawRangeElementArray(GL.Enums.BeginMode mode, Int32 start, Int32 end, ref Int32 first, [In, Out] Int32[] count, Int32 primcount) + void MultiDrawRangeElementArray(GL.Enums.BeginMode mode, Int32 start, Int32 end, ref Int32 first, Int32[] count, Int32 primcount) { unsafe { @@ -61848,15 +64929,15 @@ namespace OpenTK.OpenGL public static unsafe void GenFences(Int32 n, [Out] Int32* fences) { - fences = default(Int32*); - { - Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences); - } + unsafe + { + Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences); + } } [System.CLSCompliant(false)] public static - void GenFences(Int32 n, [In, Out] UInt32[] fences) + void GenFences(Int32 n, [Out] UInt32[] fences) { unsafe { @@ -61868,7 +64949,7 @@ namespace OpenTK.OpenGL } public static - void GenFences(Int32 n, [In, Out] Int32[] fences) + void GenFences(Int32 n, [Out] Int32[] fences) { unsafe { @@ -61883,13 +64964,12 @@ namespace OpenTK.OpenGL public static void GenFences(Int32 n, [Out] out UInt32 fences) { - fences = default(UInt32); unsafe { fixed (UInt32* fences_ptr = &fences) { Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences_ptr); - fences = *fences_ptr; + fences = *fences_ptr; } } } @@ -61897,13 +64977,12 @@ namespace OpenTK.OpenGL public static void GenFences(Int32 n, [Out] out Int32 fences) { - fences = default(Int32); unsafe { fixed (Int32* fences_ptr = &fences) { Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences_ptr); - fences = *fences_ptr; + fences = *fences_ptr; } } } @@ -61919,14 +64998,15 @@ namespace OpenTK.OpenGL public static unsafe void DeleteFences(Int32 n, Int32* fences) { - { - Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences); - } + unsafe + { + Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences); + } } [System.CLSCompliant(false)] public static - void DeleteFences(Int32 n, [In, Out] UInt32[] fences) + void DeleteFences(Int32 n, UInt32[] fences) { unsafe { @@ -61938,7 +65018,7 @@ namespace OpenTK.OpenGL } public static - void DeleteFences(Int32 n, [In, Out] Int32[] fences) + void DeleteFences(Int32 n, Int32[] fences) { unsafe { @@ -62069,14 +65149,15 @@ namespace OpenTK.OpenGL public static unsafe void DeleteVertexArrays(Int32 n, Int32* arrays) { - { - Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays); - } + unsafe + { + Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays); + } } [System.CLSCompliant(false)] public static - void DeleteVertexArrays(Int32 n, [In, Out] UInt32[] arrays) + void DeleteVertexArrays(Int32 n, UInt32[] arrays) { unsafe { @@ -62088,7 +65169,7 @@ namespace OpenTK.OpenGL } public static - void DeleteVertexArrays(Int32 n, [In, Out] Int32[] arrays) + void DeleteVertexArrays(Int32 n, Int32[] arrays) { unsafe { @@ -62135,15 +65216,15 @@ namespace OpenTK.OpenGL public static unsafe void GenVertexArrays(Int32 n, [Out] Int32* arrays) { - arrays = default(Int32*); - { - Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays); - } + unsafe + { + Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays); + } } [System.CLSCompliant(false)] public static - void GenVertexArrays(Int32 n, [In, Out] UInt32[] arrays) + void GenVertexArrays(Int32 n, [Out] UInt32[] arrays) { unsafe { @@ -62155,7 +65236,7 @@ namespace OpenTK.OpenGL } public static - void GenVertexArrays(Int32 n, [In, Out] Int32[] arrays) + void GenVertexArrays(Int32 n, [Out] Int32[] arrays) { unsafe { @@ -62170,13 +65251,12 @@ namespace OpenTK.OpenGL public static void GenVertexArrays(Int32 n, [Out] out UInt32 arrays) { - arrays = default(UInt32); unsafe { fixed (UInt32* arrays_ptr = &arrays) { Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr); - arrays = *arrays_ptr; + arrays = *arrays_ptr; } } } @@ -62184,13 +65264,12 @@ namespace OpenTK.OpenGL public static void GenVertexArrays(Int32 n, [Out] out Int32 arrays) { - arrays = default(Int32); unsafe { fixed (Int32* arrays_ptr = &arrays) { Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr); - arrays = *arrays_ptr; + arrays = *arrays_ptr; } } } @@ -62218,16 +65297,15 @@ namespace OpenTK.OpenGL public static void VertexArrayRange(Int32 length, [In, Out] object pointer) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glVertexArrayRangeAPPLE((Int32)length, (void*)pointer_ptr.AddrOfPinnedObject()); } finally { - pointer_ptr.Free(); } } } @@ -62242,16 +65320,15 @@ namespace OpenTK.OpenGL public static void FlushVertexArrayRange(Int32 length, [In, Out] object pointer) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glFlushVertexArrayRangeAPPLE((Int32)length, (void*)pointer_ptr.AddrOfPinnedObject()); } finally { - pointer_ptr.Free(); } } } @@ -62288,16 +65365,15 @@ namespace OpenTK.OpenGL public static void StringMarker(Int32 len, [In, Out] object @string) { - System.Runtime.InteropServices.GCHandle @string_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@string, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle @string_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@string, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.glStringMarkerGREMEDY((Int32)len, (void*)@string_ptr.AddrOfPinnedObject()); } finally { - @string_ptr.Free(); } } } diff --git a/Source/OpenTK/OpenGL/Bindings/GLDelegates.cs b/Source/OpenTK/OpenGL/Bindings/GLDelegates.cs index 386b3d5f..c009b277 100644 --- a/Source/OpenTK/OpenGL/Bindings/GLDelegates.cs +++ b/Source/OpenTK/OpenGL/Bindings/GLDelegates.cs @@ -10,7 +10,6 @@ namespace OpenTK.OpenGL { static Delegates() { - GL.LoadAll(); } [System.Security.SuppressUnmanagedCodeSecurity()] diff --git a/Source/OpenTK/OpenGL/GLHelper.cs b/Source/OpenTK/OpenGL/GLHelper.cs index f4493c7d..0d880683 100644 --- a/Source/OpenTK/OpenGL/GLHelper.cs +++ b/Source/OpenTK/OpenGL/GLHelper.cs @@ -77,7 +77,7 @@ namespace OpenTK.OpenGL #region --- Fields --- - internal const string Library = "OPENGL32.DLL"; + internal const string Library = "opengl32.dll"; private static System.Collections.Generic.Dictionary AvailableExtensions = new Dictionary(); private static bool rebuildExtensionList; diff --git a/Source/OpenTK/Platform/IGLControl.cs b/Source/OpenTK/Platform/IGLControl.cs index 3d709c61..5f2bf974 100644 --- a/Source/OpenTK/Platform/IGLControl.cs +++ b/Source/OpenTK/Platform/IGLControl.cs @@ -14,7 +14,6 @@ namespace OpenTK.Platform { public interface IGLControl : IDisposable { - bool IsIdle { get; } bool Fullscreen { get; set; } IGLContext Context { get; } diff --git a/Source/OpenTK/Platform/Windows/API.cs b/Source/OpenTK/Platform/Windows/API.cs index e1fba18c..177aafa4 100644 --- a/Source/OpenTK/Platform/Windows/API.cs +++ b/Source/OpenTK/Platform/Windows/API.cs @@ -64,9 +64,11 @@ namespace OpenTK.Platform.Windows RawInputDeviceSize = Marshal.SizeOf(typeof(RawInputDevice)); RawInputDeviceListSize = Marshal.SizeOf(typeof(RawInputDeviceList)); RawInputDeviceInfoSize = Marshal.SizeOf(typeof(RawInputDeviceInfo)); + PixelFormatDescriptorVersion = 1; + PixelFormatDescriptorSize = (short)Marshal.SizeOf(typeof(PixelFormatDescriptor)); } - #region Constants + #region --- Constants --- public struct Constants { @@ -401,7 +403,7 @@ namespace OpenTK.Platform.Windows /// /// [DllImport("gdi32.dll")] - public static extern int ChoosePixelFormat(IntPtr dc, [In, MarshalAs(UnmanagedType.LPStruct)]PixelFormatDescriptor pfd); + public static extern int ChoosePixelFormat(IntPtr dc, ref PixelFormatDescriptor pfd); #endregion @@ -416,12 +418,7 @@ namespace OpenTK.Platform.Windows /// [DllImport("gdi32.dll")] [return: MarshalAs(UnmanagedType.Bool)] - public static extern bool SetPixelFormat( - IntPtr dc, - int format, - [In, MarshalAs(UnmanagedType.LPStruct)]PixelFormatDescriptor pfd - ); - + public static extern bool SetPixelFormat(IntPtr dc, int format, ref PixelFormatDescriptor pfd); #endregion @@ -1275,54 +1272,56 @@ namespace OpenTK.Platform.Windows #endregion #region PixelFormatDescriptor + + internal static short PixelFormatDescriptorSize; + internal static short PixelFormatDescriptorVersion; + /// /// Describes a pixel format. It is used when interfacing with the WINAPI to create a new Context. /// Found in WinGDI.h /// [StructLayout(LayoutKind.Sequential)] - public class PixelFormatDescriptor + public struct PixelFormatDescriptor { - public readonly short Size = (short)Marshal.SizeOf(typeof(PixelFormatDescriptor)); // No need for the user to set the size, since it is predefined. - public short Version = 1; - public PixelFormatDescriptorFlags Flags = - //PixelFormatDescriptorFlags.DOUBLEBUFFER | - PixelFormatDescriptorFlags.DRAW_TO_WINDOW | - PixelFormatDescriptorFlags.SUPPORT_OPENGL; - public byte PixelType = Constants.PFD_TYPE_RGBA; - public byte ColorBits = 0; - public byte RedBits = 0; - public byte RedShift = 0; - public byte GreenBits = 0; - public byte GreenShift = 0; - public byte BlueBits = 0; - public byte BlueShift = 0; - public byte AlphaBits = 8; - public byte AlphaShift = 0; - public byte AccumBits = 0; - public byte AccumRedBits = 0; - public byte AccumGreenBits = 0; - public byte AccumBlueBits = 0; - public byte AccumAlphaBits = 0; - public byte DepthBits = 0; - public byte StencilBits = 0; - public byte AuxBuffers = 0; - public byte LayerType = unchecked((byte)Constants.PFD_MAIN_PLANE); - byte Reserved = 0; - public int LayerMask = 0; - public int VisibleMask = 0; - public int DamageMask = 0; + internal short Size; + internal short Version; + public PixelFormatDescriptorFlags Flags; + public PixelType PixelType; + public byte ColorBits; + public byte RedBits; + public byte RedShift; + public byte GreenBits; + public byte GreenShift; + public byte BlueBits; + public byte BlueShift; + public byte AlphaBits; + public byte AlphaShift; + public byte AccumBits; + public byte AccumRedBits; + public byte AccumGreenBits; + public byte AccumBlueBits; + public byte AccumAlphaBits; + public byte DepthBits; + public byte StencilBits; + public byte AuxBuffers; + public byte LayerType; + private byte Reserved; + public int LayerMask; + public int VisibleMask; + public int DamageMask; } + #endregion #region public class LayerPlaneDescriptor - + /// /// Describes the pixel format of a drawing surface. /// [StructLayout(LayoutKind.Sequential)] - public class LayerPlaneDescriptor + public struct LayerPlaneDescriptor { - public readonly WORD Size = (WORD)Marshal.SizeOf(typeof(PixelFormatDescriptor)); + public static readonly WORD Size = (WORD)Marshal.SizeOf(typeof(LayerPlaneDescriptor)); public WORD Version; public DWORD Flags; public BYTE PixelType; @@ -1350,6 +1349,63 @@ namespace OpenTK.Platform.Windows #endregion + #region GlyphMetricsFloat + + /// + /// The GlyphMetricsFloat structure contains information about the placement and orientation of a glyph in a + /// character cell. + /// + /// The values of GlyphMetricsFloat are specified as notional units. + /// + /// + [StructLayout(LayoutKind.Sequential)] + public struct GlyphMetricsFloat + { + /// + /// Specifies the width of the smallest rectangle (the glyph's black box) that completely encloses the glyph. + /// + public float BlackBoxX; + /// + /// Specifies the height of the smallest rectangle (the glyph's black box) that completely encloses the glyph. + /// + public float BlackBoxY; + /// + /// Specifies the x and y coordinates of the upper-left corner of the smallest rectangle that completely encloses the glyph. + /// + public PointFloat GlyphOrigin; + /// + /// Specifies the horizontal distance from the origin of the current character cell to the origin of the next character cell. + /// + public float CellIncX; + /// + /// Specifies the vertical distance from the origin of the current character cell to the origin of the next character cell. + /// + public float CellIncY; + } + + #endregion + + #region PointFloat + + /// + /// The POINTFLOAT structure contains the x and y coordinates of a point. + /// + /// + [StructLayout(LayoutKind.Sequential)] + public struct PointFloat + { + /// + /// Specifies the horizontal (x) coordinate of a point. + /// + public float X; + /// + /// Specifies the vertical (y) coordinate of a point. + /// + public float Y; + }; + + #endregion + #region DeviceMode /* typedef struct _devicemode { @@ -2108,6 +2164,16 @@ namespace OpenTK.Platform.Windows } #endregion + #region PixelType + + public enum PixelType : byte + { + RGBA = 0, + INDEXED = 1 + } + + #endregion + #region WindowPlacementOptions enum public enum WindowPlacementOptions diff --git a/Source/OpenTK/Platform/Windows/Bindings/Wgl.cs b/Source/OpenTK/Platform/Windows/Bindings/Wgl.cs index 336eb359..4d088bf0 100644 --- a/Source/OpenTK/Platform/Windows/Bindings/Wgl.cs +++ b/Source/OpenTK/Platform/Windows/Bindings/Wgl.cs @@ -43,23 +43,83 @@ namespace OpenTK.Platform.Windows return Delegates.wglCopyContext((IntPtr)hglrcSrc, (IntPtr)hglrcDst, (UInt32)mask); } + [System.CLSCompliant(false)] public static - int ChoosePixelFormat(IntPtr hDc, OpenTK.Platform.Windows.API.PixelFormatDescriptor pPfd) + unsafe int ChoosePixelFormat(IntPtr hDc, API.PixelFormatDescriptor* pPfd) { - return Delegates.wglChoosePixelFormat((IntPtr)hDc, (OpenTK.Platform.Windows.API.PixelFormatDescriptor)pPfd); + unsafe { return Delegates.wglChoosePixelFormat((IntPtr)hDc, (API.PixelFormatDescriptor*)pPfd); } + } + + public static + int ChoosePixelFormat(IntPtr hDc, API.PixelFormatDescriptor[] pPfd) + { + unsafe + { + fixed (API.PixelFormatDescriptor* pPfd_ptr = pPfd) + { + int retval = Delegates.wglChoosePixelFormat((IntPtr)hDc, (API.PixelFormatDescriptor*)pPfd_ptr); + return retval; + } + } + } + + public static + int ChoosePixelFormat(IntPtr hDc, ref API.PixelFormatDescriptor pPfd) + { + unsafe + { + fixed (API.PixelFormatDescriptor* pPfd_ptr = &pPfd) + { + int retval = Delegates.wglChoosePixelFormat((IntPtr)hDc, (API.PixelFormatDescriptor*)pPfd_ptr); + return retval; + } + } } [System.CLSCompliant(false)] public static - int DescribePixelFormat(IntPtr hdc, int ipfd, UInt32 cjpfd, OpenTK.Platform.Windows.API.PixelFormatDescriptor ppfd) + unsafe int DescribePixelFormat(IntPtr hdc, int ipfd, UInt32 cjpfd, API.PixelFormatDescriptor* ppfd) { - return Delegates.wglDescribePixelFormat((IntPtr)hdc, (int)ipfd, (UInt32)cjpfd, (OpenTK.Platform.Windows.API.PixelFormatDescriptor)ppfd); + unsafe { return Delegates.wglDescribePixelFormat((IntPtr)hdc, (int)ipfd, (UInt32)cjpfd, (API.PixelFormatDescriptor*)ppfd); } } + [System.CLSCompliant(false)] public static - int DescribePixelFormat(IntPtr hdc, int ipfd, Int32 cjpfd, OpenTK.Platform.Windows.API.PixelFormatDescriptor ppfd) + unsafe int DescribePixelFormat(IntPtr hdc, int ipfd, Int32 cjpfd, API.PixelFormatDescriptor* ppfd) { - return Delegates.wglDescribePixelFormat((IntPtr)hdc, (int)ipfd, (UInt32)cjpfd, (OpenTK.Platform.Windows.API.PixelFormatDescriptor)ppfd); + unsafe + { + int retval = Delegates.wglDescribePixelFormat((IntPtr)hdc, (int)ipfd, (UInt32)cjpfd, (API.PixelFormatDescriptor*)ppfd); + return retval; + } + } + + [System.CLSCompliant(false)] + public static + int DescribePixelFormat(IntPtr hdc, int ipfd, UInt32 cjpfd, API.PixelFormatDescriptor[] ppfd) + { + unsafe + { + fixed (API.PixelFormatDescriptor* ppfd_ptr = ppfd) + { + int retval = Delegates.wglDescribePixelFormat((IntPtr)hdc, (int)ipfd, (UInt32)cjpfd, (API.PixelFormatDescriptor*)ppfd_ptr); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + int DescribePixelFormat(IntPtr hdc, int ipfd, UInt32 cjpfd, ref API.PixelFormatDescriptor ppfd) + { + unsafe + { + fixed (API.PixelFormatDescriptor* ppfd_ptr = &ppfd) + { + int retval = Delegates.wglDescribePixelFormat((IntPtr)hdc, (int)ipfd, (UInt32)cjpfd, (API.PixelFormatDescriptor*)ppfd_ptr); + return retval; + } + } } public static @@ -86,10 +146,37 @@ namespace OpenTK.Platform.Windows return Delegates.wglGetPixelFormat((IntPtr)hdc); } + [System.CLSCompliant(false)] public static - Boolean SetPixelFormat(IntPtr hdc, int ipfd, OpenTK.Platform.Windows.API.PixelFormatDescriptor ppfd) + unsafe Boolean SetPixelFormat(IntPtr hdc, int ipfd, API.PixelFormatDescriptor* ppfd) { - return Delegates.wglSetPixelFormat((IntPtr)hdc, (int)ipfd, (OpenTK.Platform.Windows.API.PixelFormatDescriptor)ppfd); + unsafe { return Delegates.wglSetPixelFormat((IntPtr)hdc, (int)ipfd, (API.PixelFormatDescriptor*)ppfd); } + } + + public static + Boolean SetPixelFormat(IntPtr hdc, int ipfd, API.PixelFormatDescriptor[] ppfd) + { + unsafe + { + fixed (API.PixelFormatDescriptor* ppfd_ptr = ppfd) + { + Boolean retval = Delegates.wglSetPixelFormat((IntPtr)hdc, (int)ipfd, (API.PixelFormatDescriptor*)ppfd_ptr); + return retval; + } + } + } + + public static + Boolean SetPixelFormat(IntPtr hdc, int ipfd, ref API.PixelFormatDescriptor ppfd) + { + unsafe + { + fixed (API.PixelFormatDescriptor* ppfd_ptr = &ppfd) + { + Boolean retval = Delegates.wglSetPixelFormat((IntPtr)hdc, (int)ipfd, (API.PixelFormatDescriptor*)ppfd_ptr); + return retval; + } + } } public static @@ -112,27 +199,114 @@ namespace OpenTK.Platform.Windows [System.CLSCompliant(false)] public static - Boolean DescribeLayerPlane(IntPtr hDc, int pixelFormat, int layerPlane, UInt32 nBytes, OpenTK.Platform.Windows.API.LayerPlaneDescriptor plpd) + unsafe Boolean DescribeLayerPlane(IntPtr hDc, int pixelFormat, int layerPlane, UInt32 nBytes, API.LayerPlaneDescriptor* plpd) { - return Delegates.wglDescribeLayerPlane((IntPtr)hDc, (int)pixelFormat, (int)layerPlane, (UInt32)nBytes, (OpenTK.Platform.Windows.API.LayerPlaneDescriptor)plpd); + unsafe { return Delegates.wglDescribeLayerPlane((IntPtr)hDc, (int)pixelFormat, (int)layerPlane, (UInt32)nBytes, (API.LayerPlaneDescriptor*)plpd); } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean DescribeLayerPlane(IntPtr hDc, int pixelFormat, int layerPlane, Int32 nBytes, API.LayerPlaneDescriptor* plpd) + { + unsafe + { + Boolean retval = Delegates.wglDescribeLayerPlane((IntPtr)hDc, (int)pixelFormat, (int)layerPlane, (UInt32)nBytes, (API.LayerPlaneDescriptor*)plpd); + return retval; + } + } + + [System.CLSCompliant(false)] + public static + Boolean DescribeLayerPlane(IntPtr hDc, int pixelFormat, int layerPlane, UInt32 nBytes, API.LayerPlaneDescriptor[] plpd) + { + unsafe + { + fixed (API.LayerPlaneDescriptor* plpd_ptr = plpd) + { + Boolean retval = Delegates.wglDescribeLayerPlane((IntPtr)hDc, (int)pixelFormat, (int)layerPlane, (UInt32)nBytes, (API.LayerPlaneDescriptor*)plpd_ptr); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + Boolean DescribeLayerPlane(IntPtr hDc, int pixelFormat, int layerPlane, UInt32 nBytes, ref API.LayerPlaneDescriptor plpd) + { + unsafe + { + fixed (API.LayerPlaneDescriptor* plpd_ptr = &plpd) + { + Boolean retval = Delegates.wglDescribeLayerPlane((IntPtr)hDc, (int)pixelFormat, (int)layerPlane, (UInt32)nBytes, (API.LayerPlaneDescriptor*)plpd_ptr); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe int SetLayerPaletteEntries(IntPtr hdc, int iLayerPlane, int iStart, int cEntries, Int32* pcr) + { + unsafe { return Delegates.wglSetLayerPaletteEntries((IntPtr)hdc, (int)iLayerPlane, (int)iStart, (int)cEntries, (Int32*)pcr); } } public static - Boolean DescribeLayerPlane(IntPtr hDc, int pixelFormat, int layerPlane, Int32 nBytes, OpenTK.Platform.Windows.API.LayerPlaneDescriptor plpd) + int SetLayerPaletteEntries(IntPtr hdc, int iLayerPlane, int iStart, int cEntries, Int32[] pcr) { - return Delegates.wglDescribeLayerPlane((IntPtr)hDc, (int)pixelFormat, (int)layerPlane, (UInt32)nBytes, (OpenTK.Platform.Windows.API.LayerPlaneDescriptor)plpd); + unsafe + { + fixed (Int32* pcr_ptr = pcr) + { + int retval = Delegates.wglSetLayerPaletteEntries((IntPtr)hdc, (int)iLayerPlane, (int)iStart, (int)cEntries, (Int32*)pcr_ptr); + return retval; + } + } } public static - int SetLayerPaletteEntries(IntPtr hdc, int iLayerPlane, int iStart, int cEntries, Int32 pcr) + int SetLayerPaletteEntries(IntPtr hdc, int iLayerPlane, int iStart, int cEntries, ref Int32 pcr) { - return Delegates.wglSetLayerPaletteEntries((IntPtr)hdc, (int)iLayerPlane, (int)iStart, (int)cEntries, (Int32)pcr); + unsafe + { + fixed (Int32* pcr_ptr = &pcr) + { + int retval = Delegates.wglSetLayerPaletteEntries((IntPtr)hdc, (int)iLayerPlane, (int)iStart, (int)cEntries, (Int32*)pcr_ptr); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe int GetLayerPaletteEntries(IntPtr hdc, int iLayerPlane, int iStart, int cEntries, Int32* pcr) + { + unsafe { return Delegates.wglGetLayerPaletteEntries((IntPtr)hdc, (int)iLayerPlane, (int)iStart, (int)cEntries, (Int32*)pcr); } } public static - int GetLayerPaletteEntries(IntPtr hdc, int iLayerPlane, int iStart, int cEntries, Int32 pcr) + int GetLayerPaletteEntries(IntPtr hdc, int iLayerPlane, int iStart, int cEntries, Int32[] pcr) { - return Delegates.wglGetLayerPaletteEntries((IntPtr)hdc, (int)iLayerPlane, (int)iStart, (int)cEntries, (Int32)pcr); + unsafe + { + fixed (Int32* pcr_ptr = pcr) + { + int retval = Delegates.wglGetLayerPaletteEntries((IntPtr)hdc, (int)iLayerPlane, (int)iStart, (int)cEntries, (Int32*)pcr_ptr); + return retval; + } + } + } + + public static + int GetLayerPaletteEntries(IntPtr hdc, int iLayerPlane, int iStart, int cEntries, ref Int32 pcr) + { + unsafe + { + fixed (Int32* pcr_ptr = &pcr) + { + int retval = Delegates.wglGetLayerPaletteEntries((IntPtr)hdc, (int)iLayerPlane, (int)iStart, (int)cEntries, (Int32*)pcr_ptr); + return retval; + } + } } public static @@ -166,6 +340,72 @@ namespace OpenTK.Platform.Windows return Delegates.wglUseFontBitmapsW((IntPtr)hDC, (Int32)first, (Int32)count, (Int32)listBase); } + [System.CLSCompliant(false)] + public static + unsafe Boolean UseFontOutlinesA(IntPtr hDC, Int32 first, Int32 count, Int32 listBase, float thickness, float deviation, Int32 fontMode, API.GlyphMetricsFloat* glyphMetrics) + { + unsafe { return Delegates.wglUseFontOutlinesA((IntPtr)hDC, (Int32)first, (Int32)count, (Int32)listBase, (float)thickness, (float)deviation, (Int32)fontMode, (API.GlyphMetricsFloat*)glyphMetrics); } + } + + public static + Boolean UseFontOutlinesA(IntPtr hDC, Int32 first, Int32 count, Int32 listBase, float thickness, float deviation, Int32 fontMode, API.GlyphMetricsFloat[] glyphMetrics) + { + unsafe + { + fixed (API.GlyphMetricsFloat* glyphMetrics_ptr = glyphMetrics) + { + Boolean retval = Delegates.wglUseFontOutlinesA((IntPtr)hDC, (Int32)first, (Int32)count, (Int32)listBase, (float)thickness, (float)deviation, (Int32)fontMode, (API.GlyphMetricsFloat*)glyphMetrics_ptr); + return retval; + } + } + } + + public static + Boolean UseFontOutlinesA(IntPtr hDC, Int32 first, Int32 count, Int32 listBase, float thickness, float deviation, Int32 fontMode, ref API.GlyphMetricsFloat glyphMetrics) + { + unsafe + { + fixed (API.GlyphMetricsFloat* glyphMetrics_ptr = &glyphMetrics) + { + Boolean retval = Delegates.wglUseFontOutlinesA((IntPtr)hDC, (Int32)first, (Int32)count, (Int32)listBase, (float)thickness, (float)deviation, (Int32)fontMode, (API.GlyphMetricsFloat*)glyphMetrics_ptr); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean UseFontOutlinesW(IntPtr hDC, Int32 first, Int32 count, Int32 listBase, float thickness, float deviation, Int32 fontMode, API.GlyphMetricsFloat* glyphMetrics) + { + unsafe { return Delegates.wglUseFontOutlinesW((IntPtr)hDC, (Int32)first, (Int32)count, (Int32)listBase, (float)thickness, (float)deviation, (Int32)fontMode, (API.GlyphMetricsFloat*)glyphMetrics); } + } + + public static + Boolean UseFontOutlinesW(IntPtr hDC, Int32 first, Int32 count, Int32 listBase, float thickness, float deviation, Int32 fontMode, API.GlyphMetricsFloat[] glyphMetrics) + { + unsafe + { + fixed (API.GlyphMetricsFloat* glyphMetrics_ptr = glyphMetrics) + { + Boolean retval = Delegates.wglUseFontOutlinesW((IntPtr)hDC, (Int32)first, (Int32)count, (Int32)listBase, (float)thickness, (float)deviation, (Int32)fontMode, (API.GlyphMetricsFloat*)glyphMetrics_ptr); + return retval; + } + } + } + + public static + Boolean UseFontOutlinesW(IntPtr hDC, Int32 first, Int32 count, Int32 listBase, float thickness, float deviation, Int32 fontMode, ref API.GlyphMetricsFloat glyphMetrics) + { + unsafe + { + fixed (API.GlyphMetricsFloat* glyphMetrics_ptr = &glyphMetrics) + { + Boolean retval = Delegates.wglUseFontOutlinesW((IntPtr)hDC, (Int32)first, (Int32)count, (Int32)listBase, (float)thickness, (float)deviation, (Int32)fontMode, (API.GlyphMetricsFloat*)glyphMetrics_ptr); + return retval; + } + } + } + public static class ARB { [System.CLSCompliant(false)] @@ -216,102 +456,59 @@ namespace OpenTK.Platform.Windows public static unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, int* piAttributes, [Out] int* piValues) { - piValues = default(int*); - { - Boolean retval = Delegates.wglGetPixelFormatAttribivARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes, (int*)piValues); - return retval; - } + unsafe + { + Boolean retval = Delegates.wglGetPixelFormatAttribivARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes, (int*)piValues); + return retval; + } } [System.CLSCompliant(false)] public static - unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, int* piAttributes, [In, Out] int[] piValues) - { - fixed (int* piValues_ptr = piValues) - { - Boolean retval = Delegates.wglGetPixelFormatAttribivARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes, (int*)piValues_ptr); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, int* piAttributes, [In, Out] int[] piValues) + unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, int* piAttributes, [Out] int[] piValues) { + unsafe + { fixed (int* piValues_ptr = piValues) { Boolean retval = Delegates.wglGetPixelFormatAttribivARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes, (int*)piValues_ptr); return retval; } + } } [System.CLSCompliant(false)] public static unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, int* piAttributes, [Out] out int piValues) - { - piValues = default(int); - fixed (int* piValues_ptr = &piValues) - { - Boolean retval = Delegates.wglGetPixelFormatAttribivARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes, (int*)piValues_ptr); - piValues = *piValues_ptr; - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, int* piAttributes, [Out] out int piValues) - { - piValues = default(int); - fixed (int* piValues_ptr = &piValues) - { - Boolean retval = Delegates.wglGetPixelFormatAttribivARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes, (int*)piValues_ptr); - piValues = *piValues_ptr; - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [In, Out] int[] piAttributes, [Out] int* piValues) - { - piValues = default(int*); - fixed (int* piAttributes_ptr = piAttributes) - { - Boolean retval = Delegates.wglGetPixelFormatAttribivARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (int*)piValues); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [In, Out] int[] piAttributes, [Out] int* piValues) - { - piValues = default(int*); - fixed (int* piAttributes_ptr = piAttributes) - { - Boolean retval = Delegates.wglGetPixelFormatAttribivARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (int*)piValues); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [In, Out] int[] piAttributes, [In, Out] int[] piValues) { unsafe { - fixed (int* piAttributes_ptr = piAttributes) - fixed (int* piValues_ptr = piValues) + fixed (int* piValues_ptr = &piValues) { - Boolean retval = Delegates.wglGetPixelFormatAttribivARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (int*)piValues_ptr); + Boolean retval = Delegates.wglGetPixelFormatAttribivARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes, (int*)piValues_ptr); + piValues = *piValues_ptr; return retval; } } } + [System.CLSCompliant(false)] public static - Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [In, Out] int[] piAttributes, [In, Out] int[] piValues) + unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, int[] piAttributes, [Out] int* piValues) + { + unsafe + { + fixed (int* piAttributes_ptr = piAttributes) + { + Boolean retval = Delegates.wglGetPixelFormatAttribivARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (int*)piValues); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, int[] piAttributes, [Out] int[] piValues) { unsafe { @@ -326,32 +523,15 @@ namespace OpenTK.Platform.Windows [System.CLSCompliant(false)] public static - Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [In, Out] int[] piAttributes, [Out] out int piValues) + Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, int[] piAttributes, [Out] out int piValues) { - piValues = default(int); unsafe { fixed (int* piAttributes_ptr = piAttributes) fixed (int* piValues_ptr = &piValues) { Boolean retval = Delegates.wglGetPixelFormatAttribivARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (int*)piValues_ptr); - piValues = *piValues_ptr; - return retval; - } - } - } - - public static - Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [In, Out] int[] piAttributes, [Out] out int piValues) - { - piValues = default(int); - unsafe - { - fixed (int* piAttributes_ptr = piAttributes) - fixed (int* piValues_ptr = &piValues) - { - Boolean retval = Delegates.wglGetPixelFormatAttribivARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (int*)piValues_ptr); - piValues = *piValues_ptr; + piValues = *piValues_ptr; return retval; } } @@ -360,44 +540,20 @@ namespace OpenTK.Platform.Windows [System.CLSCompliant(false)] public static unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, ref int piAttributes, [Out] int* piValues) - { - piValues = default(int*); - fixed (int* piAttributes_ptr = &piAttributes) - { - Boolean retval = Delegates.wglGetPixelFormatAttribivARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (int*)piValues); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, ref int piAttributes, [Out] int* piValues) - { - piValues = default(int*); - fixed (int* piAttributes_ptr = &piAttributes) - { - Boolean retval = Delegates.wglGetPixelFormatAttribivARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (int*)piValues); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, ref int piAttributes, [In, Out] int[] piValues) { unsafe { fixed (int* piAttributes_ptr = &piAttributes) - fixed (int* piValues_ptr = piValues) { - Boolean retval = Delegates.wglGetPixelFormatAttribivARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (int*)piValues_ptr); + Boolean retval = Delegates.wglGetPixelFormatAttribivARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (int*)piValues); return retval; } } } + [System.CLSCompliant(false)] public static - Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, ref int piAttributes, [In, Out] int[] piValues) + Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, ref int piAttributes, [Out] int[] piValues) { unsafe { @@ -414,30 +570,13 @@ namespace OpenTK.Platform.Windows public static Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, ref int piAttributes, [Out] out int piValues) { - piValues = default(int); unsafe { fixed (int* piAttributes_ptr = &piAttributes) fixed (int* piValues_ptr = &piValues) { Boolean retval = Delegates.wglGetPixelFormatAttribivARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (int*)piValues_ptr); - piValues = *piValues_ptr; - return retval; - } - } - } - - public static - Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, ref int piAttributes, [Out] out int piValues) - { - piValues = default(int); - unsafe - { - fixed (int* piAttributes_ptr = &piAttributes) - fixed (int* piValues_ptr = &piValues) - { - Boolean retval = Delegates.wglGetPixelFormatAttribivARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (int*)piValues_ptr); - piValues = *piValues_ptr; + piValues = *piValues_ptr; return retval; } } @@ -454,102 +593,59 @@ namespace OpenTK.Platform.Windows public static unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, int* piAttributes, [Out] Single* pfValues) { - pfValues = default(Single*); - { - Boolean retval = Delegates.wglGetPixelFormatAttribfvARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes, (Single*)pfValues); - return retval; - } + unsafe + { + Boolean retval = Delegates.wglGetPixelFormatAttribfvARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes, (Single*)pfValues); + return retval; + } } [System.CLSCompliant(false)] public static - unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, int* piAttributes, [In, Out] Single[] pfValues) - { - fixed (Single* pfValues_ptr = pfValues) - { - Boolean retval = Delegates.wglGetPixelFormatAttribfvARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes, (Single*)pfValues_ptr); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, int* piAttributes, [In, Out] Single[] pfValues) + unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, int* piAttributes, [Out] Single[] pfValues) { + unsafe + { fixed (Single* pfValues_ptr = pfValues) { Boolean retval = Delegates.wglGetPixelFormatAttribfvARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes, (Single*)pfValues_ptr); return retval; } + } } [System.CLSCompliant(false)] public static unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, int* piAttributes, [Out] out Single pfValues) - { - pfValues = default(Single); - fixed (Single* pfValues_ptr = &pfValues) - { - Boolean retval = Delegates.wglGetPixelFormatAttribfvARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes, (Single*)pfValues_ptr); - pfValues = *pfValues_ptr; - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, int* piAttributes, [Out] out Single pfValues) - { - pfValues = default(Single); - fixed (Single* pfValues_ptr = &pfValues) - { - Boolean retval = Delegates.wglGetPixelFormatAttribfvARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes, (Single*)pfValues_ptr); - pfValues = *pfValues_ptr; - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [In, Out] int[] piAttributes, [Out] Single* pfValues) - { - pfValues = default(Single*); - fixed (int* piAttributes_ptr = piAttributes) - { - Boolean retval = Delegates.wglGetPixelFormatAttribfvARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (Single*)pfValues); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [In, Out] int[] piAttributes, [Out] Single* pfValues) - { - pfValues = default(Single*); - fixed (int* piAttributes_ptr = piAttributes) - { - Boolean retval = Delegates.wglGetPixelFormatAttribfvARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (Single*)pfValues); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [In, Out] int[] piAttributes, [In, Out] Single[] pfValues) { unsafe { - fixed (int* piAttributes_ptr = piAttributes) - fixed (Single* pfValues_ptr = pfValues) + fixed (Single* pfValues_ptr = &pfValues) { - Boolean retval = Delegates.wglGetPixelFormatAttribfvARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (Single*)pfValues_ptr); + Boolean retval = Delegates.wglGetPixelFormatAttribfvARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes, (Single*)pfValues_ptr); + pfValues = *pfValues_ptr; return retval; } } } + [System.CLSCompliant(false)] public static - Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [In, Out] int[] piAttributes, [In, Out] Single[] pfValues) + unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, int[] piAttributes, [Out] Single* pfValues) + { + unsafe + { + fixed (int* piAttributes_ptr = piAttributes) + { + Boolean retval = Delegates.wglGetPixelFormatAttribfvARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (Single*)pfValues); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, int[] piAttributes, [Out] Single[] pfValues) { unsafe { @@ -564,32 +660,15 @@ namespace OpenTK.Platform.Windows [System.CLSCompliant(false)] public static - Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [In, Out] int[] piAttributes, [Out] out Single pfValues) + Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, int[] piAttributes, [Out] out Single pfValues) { - pfValues = default(Single); unsafe { fixed (int* piAttributes_ptr = piAttributes) fixed (Single* pfValues_ptr = &pfValues) { Boolean retval = Delegates.wglGetPixelFormatAttribfvARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (Single*)pfValues_ptr); - pfValues = *pfValues_ptr; - return retval; - } - } - } - - public static - Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [In, Out] int[] piAttributes, [Out] out Single pfValues) - { - pfValues = default(Single); - unsafe - { - fixed (int* piAttributes_ptr = piAttributes) - fixed (Single* pfValues_ptr = &pfValues) - { - Boolean retval = Delegates.wglGetPixelFormatAttribfvARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (Single*)pfValues_ptr); - pfValues = *pfValues_ptr; + pfValues = *pfValues_ptr; return retval; } } @@ -598,44 +677,20 @@ namespace OpenTK.Platform.Windows [System.CLSCompliant(false)] public static unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, ref int piAttributes, [Out] Single* pfValues) - { - pfValues = default(Single*); - fixed (int* piAttributes_ptr = &piAttributes) - { - Boolean retval = Delegates.wglGetPixelFormatAttribfvARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (Single*)pfValues); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, ref int piAttributes, [Out] Single* pfValues) - { - pfValues = default(Single*); - fixed (int* piAttributes_ptr = &piAttributes) - { - Boolean retval = Delegates.wglGetPixelFormatAttribfvARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (Single*)pfValues); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, ref int piAttributes, [In, Out] Single[] pfValues) { unsafe { fixed (int* piAttributes_ptr = &piAttributes) - fixed (Single* pfValues_ptr = pfValues) { - Boolean retval = Delegates.wglGetPixelFormatAttribfvARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (Single*)pfValues_ptr); + Boolean retval = Delegates.wglGetPixelFormatAttribfvARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (Single*)pfValues); return retval; } } } + [System.CLSCompliant(false)] public static - Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, ref int piAttributes, [In, Out] Single[] pfValues) + Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, ref int piAttributes, [Out] Single[] pfValues) { unsafe { @@ -652,30 +707,13 @@ namespace OpenTK.Platform.Windows public static Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, ref int piAttributes, [Out] out Single pfValues) { - pfValues = default(Single); unsafe { fixed (int* piAttributes_ptr = &piAttributes) fixed (Single* pfValues_ptr = &pfValues) { Boolean retval = Delegates.wglGetPixelFormatAttribfvARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (Single*)pfValues_ptr); - pfValues = *pfValues_ptr; - return retval; - } - } - } - - public static - Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, ref int piAttributes, [Out] out Single pfValues) - { - pfValues = default(Single); - unsafe - { - fixed (int* piAttributes_ptr = &piAttributes) - fixed (Single* pfValues_ptr = &pfValues) - { - Boolean retval = Delegates.wglGetPixelFormatAttribfvARB((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (Single*)pfValues_ptr); - pfValues = *pfValues_ptr; + pfValues = *pfValues_ptr; return retval; } } @@ -683,377 +721,31 @@ namespace OpenTK.Platform.Windows [System.CLSCompliant(false)] public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32 nNumFormats) + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32* nNumFormats) { - unsafe { return Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32)nNumFormats); } + unsafe { return Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats); } } [System.CLSCompliant(false)] public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32 nNumFormats) + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32* nNumFormats) { - piFormats = default(int*); - nNumFormats = default(Int32); - { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32)nNumFormats); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [In, Out] int[] piFormats, [Out] UInt32 nNumFormats) - { - nNumFormats = default(UInt32); - fixed (int* piFormats_ptr = piFormats) - { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [In, Out] int[] piFormats, [Out] Int32 nNumFormats) - { - nNumFormats = default(Int32); - fixed (int* piFormats_ptr = piFormats) - { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32 nNumFormats) - { - piFormats = default(int); - nNumFormats = default(UInt32); - fixed (int* piFormats_ptr = &piFormats) - { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - piFormats = *piFormats_ptr; - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32 nNumFormats) - { - piFormats = default(int); - nNumFormats = default(Int32); - fixed (int* piFormats_ptr = &piFormats) - { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - piFormats = *piFormats_ptr; - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, [In, Out] Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32 nNumFormats) - { - piFormats = default(int*); - nNumFormats = default(UInt32); - fixed (Single* pfAttribFList_ptr = pfAttribFList) - { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32)nNumFormats); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, [In, Out] Single[] pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32 nNumFormats) - { - piFormats = default(int*); - nNumFormats = default(Int32); - fixed (Single* pfAttribFList_ptr = pfAttribFList) - { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32)nNumFormats); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, [In, Out] Single[] pfAttribFList, UInt32 nMaxFormats, [In, Out] int[] piFormats, [Out] UInt32 nNumFormats) - { - nNumFormats = default(UInt32); - fixed (Single* pfAttribFList_ptr = pfAttribFList) - fixed (int* piFormats_ptr = piFormats) - { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, [In, Out] Single[] pfAttribFList, Int32 nMaxFormats, [In, Out] int[] piFormats, [Out] Int32 nNumFormats) - { - nNumFormats = default(Int32); - fixed (Single* pfAttribFList_ptr = pfAttribFList) - fixed (int* piFormats_ptr = piFormats) - { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, [In, Out] Single[] pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32 nNumFormats) - { - piFormats = default(int); - nNumFormats = default(UInt32); - fixed (Single* pfAttribFList_ptr = pfAttribFList) - fixed (int* piFormats_ptr = &piFormats) - { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - piFormats = *piFormats_ptr; - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, [In, Out] Single[] pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32 nNumFormats) - { - piFormats = default(int); - nNumFormats = default(Int32); - fixed (Single* pfAttribFList_ptr = pfAttribFList) - fixed (int* piFormats_ptr = &piFormats) - { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - piFormats = *piFormats_ptr; - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32 nNumFormats) - { - piFormats = default(int*); - nNumFormats = default(UInt32); - fixed (Single* pfAttribFList_ptr = &pfAttribFList) - { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32)nNumFormats); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32 nNumFormats) - { - piFormats = default(int*); - nNumFormats = default(Int32); - fixed (Single* pfAttribFList_ptr = &pfAttribFList) - { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32)nNumFormats); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [In, Out] int[] piFormats, [Out] UInt32 nNumFormats) - { - nNumFormats = default(UInt32); - fixed (Single* pfAttribFList_ptr = &pfAttribFList) - fixed (int* piFormats_ptr = piFormats) - { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [In, Out] int[] piFormats, [Out] Int32 nNumFormats) - { - nNumFormats = default(Int32); - fixed (Single* pfAttribFList_ptr = &pfAttribFList) - fixed (int* piFormats_ptr = piFormats) - { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32 nNumFormats) - { - piFormats = default(int); - nNumFormats = default(UInt32); - fixed (Single* pfAttribFList_ptr = &pfAttribFList) - fixed (int* piFormats_ptr = &piFormats) - { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - piFormats = *piFormats_ptr; - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32 nNumFormats) - { - piFormats = default(int); - nNumFormats = default(Int32); - fixed (Single* pfAttribFList_ptr = &pfAttribFList) - fixed (int* piFormats_ptr = &piFormats) - { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - piFormats = *piFormats_ptr; - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, [In, Out] int[] piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32 nNumFormats) - { - piFormats = default(int*); - nNumFormats = default(UInt32); - fixed (int* piAttribIList_ptr = piAttribIList) - { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32)nNumFormats); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, [In, Out] int[] piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32 nNumFormats) - { - piFormats = default(int*); - nNumFormats = default(Int32); - fixed (int* piAttribIList_ptr = piAttribIList) - { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32)nNumFormats); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, [In, Out] int[] piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [In, Out] int[] piFormats, [Out] UInt32 nNumFormats) - { - nNumFormats = default(UInt32); - fixed (int* piAttribIList_ptr = piAttribIList) - fixed (int* piFormats_ptr = piFormats) - { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, [In, Out] int[] piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [In, Out] int[] piFormats, [Out] Int32 nNumFormats) - { - nNumFormats = default(Int32); - fixed (int* piAttribIList_ptr = piAttribIList) - fixed (int* piFormats_ptr = piFormats) - { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, [In, Out] int[] piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32 nNumFormats) - { - piFormats = default(int); - nNumFormats = default(UInt32); - fixed (int* piAttribIList_ptr = piAttribIList) - fixed (int* piFormats_ptr = &piFormats) - { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - piFormats = *piFormats_ptr; - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, [In, Out] int[] piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32 nNumFormats) - { - piFormats = default(int); - nNumFormats = default(Int32); - fixed (int* piAttribIList_ptr = piAttribIList) - fixed (int* piFormats_ptr = &piFormats) - { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - piFormats = *piFormats_ptr; - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, [In, Out] int[] piAttribIList, [In, Out] Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32 nNumFormats) - { - piFormats = default(int*); - nNumFormats = default(UInt32); - fixed (int* piAttribIList_ptr = piAttribIList) - fixed (Single* pfAttribFList_ptr = pfAttribFList) - { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32)nNumFormats); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, [In, Out] int[] piAttribIList, [In, Out] Single[] pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32 nNumFormats) - { - piFormats = default(int*); - nNumFormats = default(Int32); - fixed (int* piAttribIList_ptr = piAttribIList) - fixed (Single* pfAttribFList_ptr = pfAttribFList) - { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32)nNumFormats); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - Boolean ChoosePixelFormat(IntPtr hdc, [In, Out] int[] piAttribIList, [In, Out] Single[] pfAttribFList, UInt32 nMaxFormats, [In, Out] int[] piFormats, [Out] UInt32 nNumFormats) - { - nNumFormats = default(UInt32); unsafe { - fixed (int* piAttribIList_ptr = piAttribIList) - fixed (Single* pfAttribFList_ptr = pfAttribFList) - fixed (int* piFormats_ptr = piFormats) - { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - return retval; - } + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats); + return retval; } } + [System.CLSCompliant(false)] public static - Boolean ChoosePixelFormat(IntPtr hdc, [In, Out] int[] piAttribIList, [In, Out] Single[] pfAttribFList, Int32 nMaxFormats, [In, Out] int[] piFormats, [Out] Int32 nNumFormats) + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32[] nNumFormats) { - nNumFormats = default(Int32); unsafe { - fixed (int* piAttribIList_ptr = piAttribIList) - fixed (Single* pfAttribFList_ptr = pfAttribFList) - fixed (int* piFormats_ptr = piFormats) + fixed (UInt32* nNumFormats_ptr = nNumFormats) { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); return retval; } } @@ -1061,36 +753,673 @@ namespace OpenTK.Platform.Windows [System.CLSCompliant(false)] public static - Boolean ChoosePixelFormat(IntPtr hdc, [In, Out] int[] piAttribIList, [In, Out] Single[] pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32 nNumFormats) + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] out UInt32 nNumFormats) + { + unsafe + { + fixed (UInt32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32* nNumFormats) + { + unsafe + { + fixed (int* piFormats_ptr = piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32[] nNumFormats) + { + unsafe + { + fixed (int* piFormats_ptr = piFormats) + fixed (UInt32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] out UInt32 nNumFormats) + { + unsafe + { + fixed (int* piFormats_ptr = piFormats) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32* nNumFormats) + { + unsafe + { + fixed (int* piFormats_ptr = &piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + piFormats = *piFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32[] nNumFormats) + { + unsafe + { + fixed (int* piFormats_ptr = &piFormats) + fixed (UInt32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] out UInt32 nNumFormats) + { + unsafe + { + fixed (int* piFormats_ptr = &piFormats) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32* nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = pfAttribFList) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32[] nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (UInt32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] out UInt32 nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32* nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32[] nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + fixed (UInt32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] out UInt32 nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32* nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + piFormats = *piFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32[] nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + fixed (UInt32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] out UInt32 nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32* nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32[] nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (UInt32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] out UInt32 nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32* nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32[] nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + fixed (UInt32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] out UInt32 nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32* nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + piFormats = *piFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32[] nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + fixed (UInt32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] out UInt32 nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32* nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (UInt32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] out UInt32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32* nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (int* piFormats_ptr = piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (int* piFormats_ptr = piFormats) + fixed (UInt32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] out UInt32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (int* piFormats_ptr = piFormats) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32* nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (int* piFormats_ptr = &piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + piFormats = *piFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (int* piFormats_ptr = &piFormats) + fixed (UInt32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] out UInt32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (int* piFormats_ptr = &piFormats) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32* nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (UInt32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] out UInt32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32* nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + fixed (UInt32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] out UInt32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32* nNumFormats) { - piFormats = default(int); - nNumFormats = default(UInt32); unsafe { fixed (int* piAttribIList_ptr = piAttribIList) fixed (Single* pfAttribFList_ptr = pfAttribFList) fixed (int* piFormats_ptr = &piFormats) { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - piFormats = *piFormats_ptr; + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + piFormats = *piFormats_ptr; return retval; } } } + [System.CLSCompliant(false)] public static - Boolean ChoosePixelFormat(IntPtr hdc, [In, Out] int[] piAttribIList, [In, Out] Single[] pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32 nNumFormats) + Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32[] nNumFormats) { - piFormats = default(int); - nNumFormats = default(Int32); unsafe { fixed (int* piAttribIList_ptr = piAttribIList) fixed (Single* pfAttribFList_ptr = pfAttribFList) fixed (int* piFormats_ptr = &piFormats) + fixed (UInt32* nNumFormats_ptr = nNumFormats) { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - piFormats = *piFormats_ptr; + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; return retval; } } @@ -1098,60 +1427,82 @@ namespace OpenTK.Platform.Windows [System.CLSCompliant(false)] public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, [In, Out] int[] piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32 nNumFormats) + Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] out UInt32 nNumFormats) { - piFormats = default(int*); - nNumFormats = default(UInt32); + unsafe + { fixed (int* piAttribIList_ptr = piAttribIList) - fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32)nNumFormats); + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + nNumFormats = *nNumFormats_ptr; return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, [In, Out] int[] piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32 nNumFormats) + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32* nNumFormats) { - piFormats = default(int*); - nNumFormats = default(Int32); + unsafe + { fixed (int* piAttribIList_ptr = piAttribIList) fixed (Single* pfAttribFList_ptr = &pfAttribFList) { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32)nNumFormats); + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats); return retval; } + } } [System.CLSCompliant(false)] public static - Boolean ChoosePixelFormat(IntPtr hdc, [In, Out] int[] piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [In, Out] int[] piFormats, [Out] UInt32 nNumFormats) + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (UInt32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] out UInt32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32* nNumFormats) { - nNumFormats = default(UInt32); unsafe { fixed (int* piAttribIList_ptr = piAttribIList) fixed (Single* pfAttribFList_ptr = &pfAttribFList) fixed (int* piFormats_ptr = piFormats) { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - return retval; - } - } - } - - public static - Boolean ChoosePixelFormat(IntPtr hdc, [In, Out] int[] piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [In, Out] int[] piFormats, [Out] Int32 nNumFormats) - { - nNumFormats = default(Int32); - unsafe - { - fixed (int* piAttribIList_ptr = piAttribIList) - fixed (Single* pfAttribFList_ptr = &pfAttribFList) - fixed (int* piFormats_ptr = piFormats) - { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); return retval; } } @@ -1159,36 +1510,69 @@ namespace OpenTK.Platform.Windows [System.CLSCompliant(false)] public static - Boolean ChoosePixelFormat(IntPtr hdc, [In, Out] int[] piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32 nNumFormats) + Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + fixed (UInt32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] out UInt32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32* nNumFormats) { - piFormats = default(int); - nNumFormats = default(UInt32); unsafe { fixed (int* piAttribIList_ptr = piAttribIList) fixed (Single* pfAttribFList_ptr = &pfAttribFList) fixed (int* piFormats_ptr = &piFormats) { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - piFormats = *piFormats_ptr; + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + piFormats = *piFormats_ptr; return retval; } } } + [System.CLSCompliant(false)] public static - Boolean ChoosePixelFormat(IntPtr hdc, [In, Out] int[] piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32 nNumFormats) + Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32[] nNumFormats) { - piFormats = default(int); - nNumFormats = default(Int32); unsafe { fixed (int* piAttribIList_ptr = piAttribIList) fixed (Single* pfAttribFList_ptr = &pfAttribFList) fixed (int* piFormats_ptr = &piFormats) + fixed (UInt32* nNumFormats_ptr = nNumFormats) { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - piFormats = *piFormats_ptr; + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; return retval; } } @@ -1196,142 +1580,226 @@ namespace OpenTK.Platform.Windows [System.CLSCompliant(false)] public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32 nNumFormats) + Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] out UInt32 nNumFormats) { - piFormats = default(int*); - nNumFormats = default(UInt32); - fixed (int* piAttribIList_ptr = &piAttribIList) + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32)nNumFormats); + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + nNumFormats = *nNumFormats_ptr; return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32 nNumFormats) + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32* nNumFormats) { - piFormats = default(int*); - nNumFormats = default(Int32); + unsafe + { fixed (int* piAttribIList_ptr = &piAttribIList) { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32)nNumFormats); + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats); return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [In, Out] int[] piFormats, [Out] UInt32 nNumFormats) + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32[] nNumFormats) { - nNumFormats = default(UInt32); + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (UInt32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] out UInt32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32* nNumFormats) + { + unsafe + { fixed (int* piAttribIList_ptr = &piAttribIList) fixed (int* piFormats_ptr = piFormats) { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [In, Out] int[] piFormats, [Out] Int32 nNumFormats) + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32[] nNumFormats) { - nNumFormats = default(Int32); + unsafe + { fixed (int* piAttribIList_ptr = &piAttribIList) fixed (int* piFormats_ptr = piFormats) + fixed (UInt32* nNumFormats_ptr = nNumFormats) { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32 nNumFormats) + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] out UInt32 nNumFormats) { - piFormats = default(int); - nNumFormats = default(UInt32); + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (int* piFormats_ptr = piFormats) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32* nNumFormats) + { + unsafe + { fixed (int* piAttribIList_ptr = &piAttribIList) fixed (int* piFormats_ptr = &piFormats) { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - piFormats = *piFormats_ptr; + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + piFormats = *piFormats_ptr; return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32 nNumFormats) + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32[] nNumFormats) { - piFormats = default(int); - nNumFormats = default(Int32); + unsafe + { fixed (int* piAttribIList_ptr = &piAttribIList) fixed (int* piFormats_ptr = &piFormats) + fixed (UInt32* nNumFormats_ptr = nNumFormats) { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - piFormats = *piFormats_ptr; + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, [In, Out] Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32 nNumFormats) + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] out UInt32 nNumFormats) { - piFormats = default(int*); - nNumFormats = default(UInt32); + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (int* piFormats_ptr = &piFormats) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32* nNumFormats) + { + unsafe + { fixed (int* piAttribIList_ptr = &piAttribIList) fixed (Single* pfAttribFList_ptr = pfAttribFList) { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32)nNumFormats); + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats); return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, [In, Out] Single[] pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32 nNumFormats) + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32[] nNumFormats) { - piFormats = default(int*); - nNumFormats = default(Int32); + unsafe + { fixed (int* piAttribIList_ptr = &piAttribIList) fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (UInt32* nNumFormats_ptr = nNumFormats) { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32)nNumFormats); + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); return retval; } + } } [System.CLSCompliant(false)] public static - Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, [In, Out] Single[] pfAttribFList, UInt32 nMaxFormats, [In, Out] int[] piFormats, [Out] UInt32 nNumFormats) + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] out UInt32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32* nNumFormats) { - nNumFormats = default(UInt32); unsafe { fixed (int* piAttribIList_ptr = &piAttribIList) fixed (Single* pfAttribFList_ptr = pfAttribFList) fixed (int* piFormats_ptr = piFormats) { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - return retval; - } - } - } - - public static - Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, [In, Out] Single[] pfAttribFList, Int32 nMaxFormats, [In, Out] int[] piFormats, [Out] Int32 nNumFormats) - { - nNumFormats = default(Int32); - unsafe - { - fixed (int* piAttribIList_ptr = &piAttribIList) - fixed (Single* pfAttribFList_ptr = pfAttribFList) - fixed (int* piFormats_ptr = piFormats) - { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); return retval; } } @@ -1339,36 +1807,69 @@ namespace OpenTK.Platform.Windows [System.CLSCompliant(false)] public static - Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, [In, Out] Single[] pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32 nNumFormats) + Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + fixed (UInt32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] out UInt32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32* nNumFormats) { - piFormats = default(int); - nNumFormats = default(UInt32); unsafe { fixed (int* piAttribIList_ptr = &piAttribIList) fixed (Single* pfAttribFList_ptr = pfAttribFList) fixed (int* piFormats_ptr = &piFormats) { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - piFormats = *piFormats_ptr; + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + piFormats = *piFormats_ptr; return retval; } } } + [System.CLSCompliant(false)] public static - Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, [In, Out] Single[] pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32 nNumFormats) + Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32[] nNumFormats) { - piFormats = default(int); - nNumFormats = default(Int32); unsafe { fixed (int* piAttribIList_ptr = &piAttribIList) fixed (Single* pfAttribFList_ptr = pfAttribFList) fixed (int* piFormats_ptr = &piFormats) + fixed (UInt32* nNumFormats_ptr = nNumFormats) { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - piFormats = *piFormats_ptr; + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; return retval; } } @@ -1376,60 +1877,82 @@ namespace OpenTK.Platform.Windows [System.CLSCompliant(false)] public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32 nNumFormats) + Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] out UInt32 nNumFormats) { - piFormats = default(int*); - nNumFormats = default(UInt32); + unsafe + { fixed (int* piAttribIList_ptr = &piAttribIList) - fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32)nNumFormats); + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + nNumFormats = *nNumFormats_ptr; return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32 nNumFormats) + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32* nNumFormats) { - piFormats = default(int*); - nNumFormats = default(Int32); + unsafe + { fixed (int* piAttribIList_ptr = &piAttribIList) fixed (Single* pfAttribFList_ptr = &pfAttribFList) { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32)nNumFormats); + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats); return retval; } + } } [System.CLSCompliant(false)] public static - Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [In, Out] int[] piFormats, [Out] UInt32 nNumFormats) + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (UInt32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] out UInt32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32* nNumFormats) { - nNumFormats = default(UInt32); unsafe { fixed (int* piAttribIList_ptr = &piAttribIList) fixed (Single* pfAttribFList_ptr = &pfAttribFList) fixed (int* piFormats_ptr = piFormats) { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - return retval; - } - } - } - - public static - Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [In, Out] int[] piFormats, [Out] Int32 nNumFormats) - { - nNumFormats = default(Int32); - unsafe - { - fixed (int* piAttribIList_ptr = &piAttribIList) - fixed (Single* pfAttribFList_ptr = &pfAttribFList) - fixed (int* piFormats_ptr = piFormats) - { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); return retval; } } @@ -1437,36 +1960,88 @@ namespace OpenTK.Platform.Windows [System.CLSCompliant(false)] public static - Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32 nNumFormats) + Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32[] nNumFormats) { - piFormats = default(int); - nNumFormats = default(UInt32); unsafe { fixed (int* piAttribIList_ptr = &piAttribIList) fixed (Single* pfAttribFList_ptr = &pfAttribFList) - fixed (int* piFormats_ptr = &piFormats) + fixed (int* piFormats_ptr = piFormats) + fixed (UInt32* nNumFormats_ptr = nNumFormats) { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - piFormats = *piFormats_ptr; + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); return retval; } } } + [System.CLSCompliant(false)] public static - Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32 nNumFormats) + Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] out UInt32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32* nNumFormats) { - piFormats = default(int); - nNumFormats = default(Int32); unsafe { fixed (int* piAttribIList_ptr = &piAttribIList) fixed (Single* pfAttribFList_ptr = &pfAttribFList) fixed (int* piFormats_ptr = &piFormats) { - Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - piFormats = *piFormats_ptr; + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + piFormats = *piFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + fixed (UInt32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] out UInt32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatARB((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + nNumFormats = *nNumFormats_ptr; return retval; } } @@ -1492,7 +2067,7 @@ namespace OpenTK.Platform.Windows } public static - IntPtr CreatePbuffer(IntPtr hDC, int iPixelFormat, int iWidth, int iHeight, [In, Out] int[] piAttribList) + IntPtr CreatePbuffer(IntPtr hDC, int iPixelFormat, int iWidth, int iHeight, int[] piAttribList) { unsafe { @@ -1535,10 +2110,38 @@ namespace OpenTK.Platform.Windows return Delegates.wglDestroyPbufferARB((IntPtr)hPbuffer); } + [System.CLSCompliant(false)] public static - Boolean QueryPbuffer(IntPtr hPbuffer, int iAttribute, [Out] int piValue) + unsafe Boolean QueryPbuffer(IntPtr hPbuffer, int iAttribute, [Out] int* piValue) { - return Delegates.wglQueryPbufferARB((IntPtr)hPbuffer, (int)iAttribute, (int)piValue); + unsafe { return Delegates.wglQueryPbufferARB((IntPtr)hPbuffer, (int)iAttribute, (int*)piValue); } + } + + public static + Boolean QueryPbuffer(IntPtr hPbuffer, int iAttribute, [Out] int[] piValue) + { + unsafe + { + fixed (int* piValue_ptr = piValue) + { + Boolean retval = Delegates.wglQueryPbufferARB((IntPtr)hPbuffer, (int)iAttribute, (int*)piValue_ptr); + return retval; + } + } + } + + public static + Boolean QueryPbuffer(IntPtr hPbuffer, int iAttribute, [Out] out int piValue) + { + unsafe + { + fixed (int* piValue_ptr = &piValue) + { + Boolean retval = Delegates.wglQueryPbufferARB((IntPtr)hPbuffer, (int)iAttribute, (int*)piValue_ptr); + piValue = *piValue_ptr; + return retval; + } + } } public static @@ -1561,7 +2164,7 @@ namespace OpenTK.Platform.Windows } public static - Boolean SetPbufferAttrib(IntPtr hPbuffer, [In, Out] int[] piAttribList) + Boolean SetPbufferAttrib(IntPtr hPbuffer, int[] piAttribList) { unsafe { @@ -1614,15 +2217,16 @@ namespace OpenTK.Platform.Windows public static unsafe Boolean LoadDisplayColorTable(Int16* table, Int32 length) { - { - Boolean retval = Delegates.wglLoadDisplayColorTableEXT((UInt16*)table, (UInt32)length); - return retval; - } + unsafe + { + Boolean retval = Delegates.wglLoadDisplayColorTableEXT((UInt16*)table, (UInt32)length); + return retval; + } } [System.CLSCompliant(false)] public static - Boolean LoadDisplayColorTable([In, Out] UInt16[] table, UInt32 length) + Boolean LoadDisplayColorTable(UInt16[] table, UInt32 length) { unsafe { @@ -1634,19 +2238,6 @@ namespace OpenTK.Platform.Windows } } - public static - Boolean LoadDisplayColorTable([In, Out] Int16[] table, Int32 length) - { - unsafe - { - fixed (Int16* table_ptr = table) - { - Boolean retval = Delegates.wglLoadDisplayColorTableEXT((UInt16*)table_ptr, (UInt32)length); - return retval; - } - } - } - [System.CLSCompliant(false)] public static Boolean LoadDisplayColorTable(ref UInt16 table, UInt32 length) @@ -1661,19 +2252,6 @@ namespace OpenTK.Platform.Windows } } - public static - Boolean LoadDisplayColorTable(ref Int16 table, Int32 length) - { - unsafe - { - fixed (Int16* table_ptr = &table) - { - Boolean retval = Delegates.wglLoadDisplayColorTableEXT((UInt16*)table_ptr, (UInt32)length); - return retval; - } - } - } - [System.CLSCompliant(false)] public static Boolean BindDisplayColorTable(UInt16 id) @@ -1726,7 +2304,7 @@ namespace OpenTK.Platform.Windows } public static - IntPtr CreatePbuffer(IntPtr hDC, int iPixelFormat, int iWidth, int iHeight, [In, Out] int[] piAttribList) + IntPtr CreatePbuffer(IntPtr hDC, int iPixelFormat, int iWidth, int iHeight, int[] piAttribList) { unsafe { @@ -1769,10 +2347,38 @@ namespace OpenTK.Platform.Windows return Delegates.wglDestroyPbufferEXT((IntPtr)hPbuffer); } + [System.CLSCompliant(false)] public static - Boolean QueryPbuffer(IntPtr hPbuffer, int iAttribute, [Out] int piValue) + unsafe Boolean QueryPbuffer(IntPtr hPbuffer, int iAttribute, [Out] int* piValue) { - return Delegates.wglQueryPbufferEXT((IntPtr)hPbuffer, (int)iAttribute, (int)piValue); + unsafe { return Delegates.wglQueryPbufferEXT((IntPtr)hPbuffer, (int)iAttribute, (int*)piValue); } + } + + public static + Boolean QueryPbuffer(IntPtr hPbuffer, int iAttribute, [Out] int[] piValue) + { + unsafe + { + fixed (int* piValue_ptr = piValue) + { + Boolean retval = Delegates.wglQueryPbufferEXT((IntPtr)hPbuffer, (int)iAttribute, (int*)piValue_ptr); + return retval; + } + } + } + + public static + Boolean QueryPbuffer(IntPtr hPbuffer, int iAttribute, [Out] out int piValue) + { + unsafe + { + fixed (int* piValue_ptr = &piValue) + { + Boolean retval = Delegates.wglQueryPbufferEXT((IntPtr)hPbuffer, (int)iAttribute, (int*)piValue_ptr); + piValue = *piValue_ptr; + return retval; + } + } } [System.CLSCompliant(false)] @@ -1786,107 +2392,59 @@ namespace OpenTK.Platform.Windows public static unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [Out] int* piAttributes, [Out] int* piValues) { - piAttributes = default(int*); - piValues = default(int*); - { - Boolean retval = Delegates.wglGetPixelFormatAttribivEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes, (int*)piValues); - return retval; - } + unsafe + { + Boolean retval = Delegates.wglGetPixelFormatAttribivEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes, (int*)piValues); + return retval; + } } [System.CLSCompliant(false)] public static - unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] int* piAttributes, [In, Out] int[] piValues) + unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] int* piAttributes, [Out] int[] piValues) { - piAttributes = default(int*); - fixed (int* piValues_ptr = piValues) - { - Boolean retval = Delegates.wglGetPixelFormatAttribivEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes, (int*)piValues_ptr); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [Out] int* piAttributes, [In, Out] int[] piValues) - { - piAttributes = default(int*); + unsafe + { fixed (int* piValues_ptr = piValues) { Boolean retval = Delegates.wglGetPixelFormatAttribivEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes, (int*)piValues_ptr); return retval; } + } } [System.CLSCompliant(false)] public static unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] int* piAttributes, [Out] out int piValues) - { - piAttributes = default(int*); - piValues = default(int); - fixed (int* piValues_ptr = &piValues) - { - Boolean retval = Delegates.wglGetPixelFormatAttribivEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes, (int*)piValues_ptr); - piValues = *piValues_ptr; - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [Out] int* piAttributes, [Out] out int piValues) - { - piAttributes = default(int*); - piValues = default(int); - fixed (int* piValues_ptr = &piValues) - { - Boolean retval = Delegates.wglGetPixelFormatAttribivEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes, (int*)piValues_ptr); - piValues = *piValues_ptr; - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [In, Out] int[] piAttributes, [Out] int* piValues) - { - piValues = default(int*); - fixed (int* piAttributes_ptr = piAttributes) - { - Boolean retval = Delegates.wglGetPixelFormatAttribivEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (int*)piValues); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [In, Out] int[] piAttributes, [Out] int* piValues) - { - piValues = default(int*); - fixed (int* piAttributes_ptr = piAttributes) - { - Boolean retval = Delegates.wglGetPixelFormatAttribivEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (int*)piValues); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [In, Out] int[] piAttributes, [In, Out] int[] piValues) { unsafe { - fixed (int* piAttributes_ptr = piAttributes) - fixed (int* piValues_ptr = piValues) + fixed (int* piValues_ptr = &piValues) { - Boolean retval = Delegates.wglGetPixelFormatAttribivEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (int*)piValues_ptr); + Boolean retval = Delegates.wglGetPixelFormatAttribivEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes, (int*)piValues_ptr); + piValues = *piValues_ptr; return retval; } } } + [System.CLSCompliant(false)] public static - Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [In, Out] int[] piAttributes, [In, Out] int[] piValues) + unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] int[] piAttributes, [Out] int* piValues) + { + unsafe + { + fixed (int* piAttributes_ptr = piAttributes) + { + Boolean retval = Delegates.wglGetPixelFormatAttribivEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (int*)piValues); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] int[] piAttributes, [Out] int[] piValues) { unsafe { @@ -1901,32 +2459,15 @@ namespace OpenTK.Platform.Windows [System.CLSCompliant(false)] public static - Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [In, Out] int[] piAttributes, [Out] out int piValues) + Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] int[] piAttributes, [Out] out int piValues) { - piValues = default(int); unsafe { fixed (int* piAttributes_ptr = piAttributes) fixed (int* piValues_ptr = &piValues) { Boolean retval = Delegates.wglGetPixelFormatAttribivEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (int*)piValues_ptr); - piValues = *piValues_ptr; - return retval; - } - } - } - - public static - Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [In, Out] int[] piAttributes, [Out] out int piValues) - { - piValues = default(int); - unsafe - { - fixed (int* piAttributes_ptr = piAttributes) - fixed (int* piValues_ptr = &piValues) - { - Boolean retval = Delegates.wglGetPixelFormatAttribivEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (int*)piValues_ptr); - piValues = *piValues_ptr; + piValues = *piValues_ptr; return retval; } } @@ -1936,58 +2477,28 @@ namespace OpenTK.Platform.Windows public static unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] out int piAttributes, [Out] int* piValues) { - piAttributes = default(int); - piValues = default(int*); - fixed (int* piAttributes_ptr = &piAttributes) - { - Boolean retval = Delegates.wglGetPixelFormatAttribivEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (int*)piValues); - piAttributes = *piAttributes_ptr; - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [Out] out int piAttributes, [Out] int* piValues) - { - piAttributes = default(int); - piValues = default(int*); - fixed (int* piAttributes_ptr = &piAttributes) - { - Boolean retval = Delegates.wglGetPixelFormatAttribivEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (int*)piValues); - piAttributes = *piAttributes_ptr; - return retval; - } - } - - [System.CLSCompliant(false)] - public static - Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] out int piAttributes, [In, Out] int[] piValues) - { - piAttributes = default(int); unsafe { fixed (int* piAttributes_ptr = &piAttributes) - fixed (int* piValues_ptr = piValues) { - Boolean retval = Delegates.wglGetPixelFormatAttribivEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (int*)piValues_ptr); - piAttributes = *piAttributes_ptr; + Boolean retval = Delegates.wglGetPixelFormatAttribivEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (int*)piValues); + piAttributes = *piAttributes_ptr; return retval; } } } + [System.CLSCompliant(false)] public static - Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [Out] out int piAttributes, [In, Out] int[] piValues) + Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] out int piAttributes, [Out] int[] piValues) { - piAttributes = default(int); unsafe { fixed (int* piAttributes_ptr = &piAttributes) fixed (int* piValues_ptr = piValues) { Boolean retval = Delegates.wglGetPixelFormatAttribivEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (int*)piValues_ptr); - piAttributes = *piAttributes_ptr; + piAttributes = *piAttributes_ptr; return retval; } } @@ -1997,34 +2508,14 @@ namespace OpenTK.Platform.Windows public static Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] out int piAttributes, [Out] out int piValues) { - piAttributes = default(int); - piValues = default(int); unsafe { fixed (int* piAttributes_ptr = &piAttributes) fixed (int* piValues_ptr = &piValues) { Boolean retval = Delegates.wglGetPixelFormatAttribivEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (int*)piValues_ptr); - piAttributes = *piAttributes_ptr; - piValues = *piValues_ptr; - return retval; - } - } - } - - public static - Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [Out] out int piAttributes, [Out] out int piValues) - { - piAttributes = default(int); - piValues = default(int); - unsafe - { - fixed (int* piAttributes_ptr = &piAttributes) - fixed (int* piValues_ptr = &piValues) - { - Boolean retval = Delegates.wglGetPixelFormatAttribivEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (int*)piValues_ptr); - piAttributes = *piAttributes_ptr; - piValues = *piValues_ptr; + piAttributes = *piAttributes_ptr; + piValues = *piValues_ptr; return retval; } } @@ -2041,107 +2532,59 @@ namespace OpenTK.Platform.Windows public static unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [Out] int* piAttributes, [Out] Single* pfValues) { - piAttributes = default(int*); - pfValues = default(Single*); - { - Boolean retval = Delegates.wglGetPixelFormatAttribfvEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes, (Single*)pfValues); - return retval; - } + unsafe + { + Boolean retval = Delegates.wglGetPixelFormatAttribfvEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes, (Single*)pfValues); + return retval; + } } [System.CLSCompliant(false)] public static - unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] int* piAttributes, [In, Out] Single[] pfValues) + unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] int* piAttributes, [Out] Single[] pfValues) { - piAttributes = default(int*); - fixed (Single* pfValues_ptr = pfValues) - { - Boolean retval = Delegates.wglGetPixelFormatAttribfvEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes, (Single*)pfValues_ptr); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [Out] int* piAttributes, [In, Out] Single[] pfValues) - { - piAttributes = default(int*); + unsafe + { fixed (Single* pfValues_ptr = pfValues) { Boolean retval = Delegates.wglGetPixelFormatAttribfvEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes, (Single*)pfValues_ptr); return retval; } + } } [System.CLSCompliant(false)] public static unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] int* piAttributes, [Out] out Single pfValues) - { - piAttributes = default(int*); - pfValues = default(Single); - fixed (Single* pfValues_ptr = &pfValues) - { - Boolean retval = Delegates.wglGetPixelFormatAttribfvEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes, (Single*)pfValues_ptr); - pfValues = *pfValues_ptr; - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [Out] int* piAttributes, [Out] out Single pfValues) - { - piAttributes = default(int*); - pfValues = default(Single); - fixed (Single* pfValues_ptr = &pfValues) - { - Boolean retval = Delegates.wglGetPixelFormatAttribfvEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes, (Single*)pfValues_ptr); - pfValues = *pfValues_ptr; - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [In, Out] int[] piAttributes, [Out] Single* pfValues) - { - pfValues = default(Single*); - fixed (int* piAttributes_ptr = piAttributes) - { - Boolean retval = Delegates.wglGetPixelFormatAttribfvEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (Single*)pfValues); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [In, Out] int[] piAttributes, [Out] Single* pfValues) - { - pfValues = default(Single*); - fixed (int* piAttributes_ptr = piAttributes) - { - Boolean retval = Delegates.wglGetPixelFormatAttribfvEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (Single*)pfValues); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [In, Out] int[] piAttributes, [In, Out] Single[] pfValues) { unsafe { - fixed (int* piAttributes_ptr = piAttributes) - fixed (Single* pfValues_ptr = pfValues) + fixed (Single* pfValues_ptr = &pfValues) { - Boolean retval = Delegates.wglGetPixelFormatAttribfvEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (Single*)pfValues_ptr); + Boolean retval = Delegates.wglGetPixelFormatAttribfvEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes, (Single*)pfValues_ptr); + pfValues = *pfValues_ptr; return retval; } } } + [System.CLSCompliant(false)] public static - Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [In, Out] int[] piAttributes, [In, Out] Single[] pfValues) + unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] int[] piAttributes, [Out] Single* pfValues) + { + unsafe + { + fixed (int* piAttributes_ptr = piAttributes) + { + Boolean retval = Delegates.wglGetPixelFormatAttribfvEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (Single*)pfValues); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] int[] piAttributes, [Out] Single[] pfValues) { unsafe { @@ -2156,32 +2599,15 @@ namespace OpenTK.Platform.Windows [System.CLSCompliant(false)] public static - Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [In, Out] int[] piAttributes, [Out] out Single pfValues) + Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] int[] piAttributes, [Out] out Single pfValues) { - pfValues = default(Single); unsafe { fixed (int* piAttributes_ptr = piAttributes) fixed (Single* pfValues_ptr = &pfValues) { Boolean retval = Delegates.wglGetPixelFormatAttribfvEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (Single*)pfValues_ptr); - pfValues = *pfValues_ptr; - return retval; - } - } - } - - public static - Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [In, Out] int[] piAttributes, [Out] out Single pfValues) - { - pfValues = default(Single); - unsafe - { - fixed (int* piAttributes_ptr = piAttributes) - fixed (Single* pfValues_ptr = &pfValues) - { - Boolean retval = Delegates.wglGetPixelFormatAttribfvEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (Single*)pfValues_ptr); - pfValues = *pfValues_ptr; + pfValues = *pfValues_ptr; return retval; } } @@ -2191,58 +2617,28 @@ namespace OpenTK.Platform.Windows public static unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] out int piAttributes, [Out] Single* pfValues) { - piAttributes = default(int); - pfValues = default(Single*); - fixed (int* piAttributes_ptr = &piAttributes) - { - Boolean retval = Delegates.wglGetPixelFormatAttribfvEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (Single*)pfValues); - piAttributes = *piAttributes_ptr; - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [Out] out int piAttributes, [Out] Single* pfValues) - { - piAttributes = default(int); - pfValues = default(Single*); - fixed (int* piAttributes_ptr = &piAttributes) - { - Boolean retval = Delegates.wglGetPixelFormatAttribfvEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (Single*)pfValues); - piAttributes = *piAttributes_ptr; - return retval; - } - } - - [System.CLSCompliant(false)] - public static - Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] out int piAttributes, [In, Out] Single[] pfValues) - { - piAttributes = default(int); unsafe { fixed (int* piAttributes_ptr = &piAttributes) - fixed (Single* pfValues_ptr = pfValues) { - Boolean retval = Delegates.wglGetPixelFormatAttribfvEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (Single*)pfValues_ptr); - piAttributes = *piAttributes_ptr; + Boolean retval = Delegates.wglGetPixelFormatAttribfvEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (Single*)pfValues); + piAttributes = *piAttributes_ptr; return retval; } } } + [System.CLSCompliant(false)] public static - Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [Out] out int piAttributes, [In, Out] Single[] pfValues) + Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] out int piAttributes, [Out] Single[] pfValues) { - piAttributes = default(int); unsafe { fixed (int* piAttributes_ptr = &piAttributes) fixed (Single* pfValues_ptr = pfValues) { Boolean retval = Delegates.wglGetPixelFormatAttribfvEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (Single*)pfValues_ptr); - piAttributes = *piAttributes_ptr; + piAttributes = *piAttributes_ptr; return retval; } } @@ -2252,34 +2648,14 @@ namespace OpenTK.Platform.Windows public static Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] out int piAttributes, [Out] out Single pfValues) { - piAttributes = default(int); - pfValues = default(Single); unsafe { fixed (int* piAttributes_ptr = &piAttributes) fixed (Single* pfValues_ptr = &pfValues) { Boolean retval = Delegates.wglGetPixelFormatAttribfvEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (Single*)pfValues_ptr); - piAttributes = *piAttributes_ptr; - pfValues = *pfValues_ptr; - return retval; - } - } - } - - public static - Boolean GetPixelFormatAttribv(IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [Out] out int piAttributes, [Out] out Single pfValues) - { - piAttributes = default(int); - pfValues = default(Single); - unsafe - { - fixed (int* piAttributes_ptr = &piAttributes) - fixed (Single* pfValues_ptr = &pfValues) - { - Boolean retval = Delegates.wglGetPixelFormatAttribfvEXT((IntPtr)hdc, (int)iPixelFormat, (int)iLayerPlane, (UInt32)nAttributes, (int*)piAttributes_ptr, (Single*)pfValues_ptr); - piAttributes = *piAttributes_ptr; - pfValues = *pfValues_ptr; + piAttributes = *piAttributes_ptr; + pfValues = *pfValues_ptr; return retval; } } @@ -2287,377 +2663,31 @@ namespace OpenTK.Platform.Windows [System.CLSCompliant(false)] public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32 nNumFormats) + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32* nNumFormats) { - unsafe { return Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32)nNumFormats); } + unsafe { return Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats); } } [System.CLSCompliant(false)] public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32 nNumFormats) + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32* nNumFormats) { - piFormats = default(int*); - nNumFormats = default(Int32); - { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32)nNumFormats); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [In, Out] int[] piFormats, [Out] UInt32 nNumFormats) - { - nNumFormats = default(UInt32); - fixed (int* piFormats_ptr = piFormats) - { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [In, Out] int[] piFormats, [Out] Int32 nNumFormats) - { - nNumFormats = default(Int32); - fixed (int* piFormats_ptr = piFormats) - { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32 nNumFormats) - { - piFormats = default(int); - nNumFormats = default(UInt32); - fixed (int* piFormats_ptr = &piFormats) - { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - piFormats = *piFormats_ptr; - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32 nNumFormats) - { - piFormats = default(int); - nNumFormats = default(Int32); - fixed (int* piFormats_ptr = &piFormats) - { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - piFormats = *piFormats_ptr; - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, [In, Out] Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32 nNumFormats) - { - piFormats = default(int*); - nNumFormats = default(UInt32); - fixed (Single* pfAttribFList_ptr = pfAttribFList) - { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32)nNumFormats); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, [In, Out] Single[] pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32 nNumFormats) - { - piFormats = default(int*); - nNumFormats = default(Int32); - fixed (Single* pfAttribFList_ptr = pfAttribFList) - { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32)nNumFormats); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, [In, Out] Single[] pfAttribFList, UInt32 nMaxFormats, [In, Out] int[] piFormats, [Out] UInt32 nNumFormats) - { - nNumFormats = default(UInt32); - fixed (Single* pfAttribFList_ptr = pfAttribFList) - fixed (int* piFormats_ptr = piFormats) - { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, [In, Out] Single[] pfAttribFList, Int32 nMaxFormats, [In, Out] int[] piFormats, [Out] Int32 nNumFormats) - { - nNumFormats = default(Int32); - fixed (Single* pfAttribFList_ptr = pfAttribFList) - fixed (int* piFormats_ptr = piFormats) - { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, [In, Out] Single[] pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32 nNumFormats) - { - piFormats = default(int); - nNumFormats = default(UInt32); - fixed (Single* pfAttribFList_ptr = pfAttribFList) - fixed (int* piFormats_ptr = &piFormats) - { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - piFormats = *piFormats_ptr; - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, [In, Out] Single[] pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32 nNumFormats) - { - piFormats = default(int); - nNumFormats = default(Int32); - fixed (Single* pfAttribFList_ptr = pfAttribFList) - fixed (int* piFormats_ptr = &piFormats) - { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - piFormats = *piFormats_ptr; - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32 nNumFormats) - { - piFormats = default(int*); - nNumFormats = default(UInt32); - fixed (Single* pfAttribFList_ptr = &pfAttribFList) - { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32)nNumFormats); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32 nNumFormats) - { - piFormats = default(int*); - nNumFormats = default(Int32); - fixed (Single* pfAttribFList_ptr = &pfAttribFList) - { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32)nNumFormats); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [In, Out] int[] piFormats, [Out] UInt32 nNumFormats) - { - nNumFormats = default(UInt32); - fixed (Single* pfAttribFList_ptr = &pfAttribFList) - fixed (int* piFormats_ptr = piFormats) - { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [In, Out] int[] piFormats, [Out] Int32 nNumFormats) - { - nNumFormats = default(Int32); - fixed (Single* pfAttribFList_ptr = &pfAttribFList) - fixed (int* piFormats_ptr = piFormats) - { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32 nNumFormats) - { - piFormats = default(int); - nNumFormats = default(UInt32); - fixed (Single* pfAttribFList_ptr = &pfAttribFList) - fixed (int* piFormats_ptr = &piFormats) - { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - piFormats = *piFormats_ptr; - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32 nNumFormats) - { - piFormats = default(int); - nNumFormats = default(Int32); - fixed (Single* pfAttribFList_ptr = &pfAttribFList) - fixed (int* piFormats_ptr = &piFormats) - { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - piFormats = *piFormats_ptr; - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, [In, Out] int[] piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32 nNumFormats) - { - piFormats = default(int*); - nNumFormats = default(UInt32); - fixed (int* piAttribIList_ptr = piAttribIList) - { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32)nNumFormats); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, [In, Out] int[] piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32 nNumFormats) - { - piFormats = default(int*); - nNumFormats = default(Int32); - fixed (int* piAttribIList_ptr = piAttribIList) - { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32)nNumFormats); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, [In, Out] int[] piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [In, Out] int[] piFormats, [Out] UInt32 nNumFormats) - { - nNumFormats = default(UInt32); - fixed (int* piAttribIList_ptr = piAttribIList) - fixed (int* piFormats_ptr = piFormats) - { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, [In, Out] int[] piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [In, Out] int[] piFormats, [Out] Int32 nNumFormats) - { - nNumFormats = default(Int32); - fixed (int* piAttribIList_ptr = piAttribIList) - fixed (int* piFormats_ptr = piFormats) - { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, [In, Out] int[] piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32 nNumFormats) - { - piFormats = default(int); - nNumFormats = default(UInt32); - fixed (int* piAttribIList_ptr = piAttribIList) - fixed (int* piFormats_ptr = &piFormats) - { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - piFormats = *piFormats_ptr; - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, [In, Out] int[] piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32 nNumFormats) - { - piFormats = default(int); - nNumFormats = default(Int32); - fixed (int* piAttribIList_ptr = piAttribIList) - fixed (int* piFormats_ptr = &piFormats) - { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - piFormats = *piFormats_ptr; - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, [In, Out] int[] piAttribIList, [In, Out] Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32 nNumFormats) - { - piFormats = default(int*); - nNumFormats = default(UInt32); - fixed (int* piAttribIList_ptr = piAttribIList) - fixed (Single* pfAttribFList_ptr = pfAttribFList) - { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32)nNumFormats); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, [In, Out] int[] piAttribIList, [In, Out] Single[] pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32 nNumFormats) - { - piFormats = default(int*); - nNumFormats = default(Int32); - fixed (int* piAttribIList_ptr = piAttribIList) - fixed (Single* pfAttribFList_ptr = pfAttribFList) - { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32)nNumFormats); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - Boolean ChoosePixelFormat(IntPtr hdc, [In, Out] int[] piAttribIList, [In, Out] Single[] pfAttribFList, UInt32 nMaxFormats, [In, Out] int[] piFormats, [Out] UInt32 nNumFormats) - { - nNumFormats = default(UInt32); unsafe { - fixed (int* piAttribIList_ptr = piAttribIList) - fixed (Single* pfAttribFList_ptr = pfAttribFList) - fixed (int* piFormats_ptr = piFormats) - { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - return retval; - } + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats); + return retval; } } + [System.CLSCompliant(false)] public static - Boolean ChoosePixelFormat(IntPtr hdc, [In, Out] int[] piAttribIList, [In, Out] Single[] pfAttribFList, Int32 nMaxFormats, [In, Out] int[] piFormats, [Out] Int32 nNumFormats) + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32[] nNumFormats) { - nNumFormats = default(Int32); unsafe { - fixed (int* piAttribIList_ptr = piAttribIList) - fixed (Single* pfAttribFList_ptr = pfAttribFList) - fixed (int* piFormats_ptr = piFormats) + fixed (UInt32* nNumFormats_ptr = nNumFormats) { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); return retval; } } @@ -2665,36 +2695,673 @@ namespace OpenTK.Platform.Windows [System.CLSCompliant(false)] public static - Boolean ChoosePixelFormat(IntPtr hdc, [In, Out] int[] piAttribIList, [In, Out] Single[] pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32 nNumFormats) + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] out UInt32 nNumFormats) + { + unsafe + { + fixed (UInt32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32* nNumFormats) + { + unsafe + { + fixed (int* piFormats_ptr = piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32[] nNumFormats) + { + unsafe + { + fixed (int* piFormats_ptr = piFormats) + fixed (UInt32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] out UInt32 nNumFormats) + { + unsafe + { + fixed (int* piFormats_ptr = piFormats) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32* nNumFormats) + { + unsafe + { + fixed (int* piFormats_ptr = &piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + piFormats = *piFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32[] nNumFormats) + { + unsafe + { + fixed (int* piFormats_ptr = &piFormats) + fixed (UInt32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] out UInt32 nNumFormats) + { + unsafe + { + fixed (int* piFormats_ptr = &piFormats) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32* nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = pfAttribFList) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32[] nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (UInt32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] out UInt32 nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32* nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32[] nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + fixed (UInt32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] out UInt32 nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32* nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + piFormats = *piFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32[] nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + fixed (UInt32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] out UInt32 nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32* nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32[] nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (UInt32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] out UInt32 nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32* nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32[] nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + fixed (UInt32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] out UInt32 nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32* nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + piFormats = *piFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32[] nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + fixed (UInt32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int* piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] out UInt32 nNumFormats) + { + unsafe + { + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32* nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (UInt32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] out UInt32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32* nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (int* piFormats_ptr = piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (int* piFormats_ptr = piFormats) + fixed (UInt32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] out UInt32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (int* piFormats_ptr = piFormats) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32* nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (int* piFormats_ptr = &piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + piFormats = *piFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (int* piFormats_ptr = &piFormats) + fixed (UInt32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] out UInt32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (int* piFormats_ptr = &piFormats) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32* nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (UInt32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] out UInt32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32* nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + fixed (UInt32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] out UInt32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32* nNumFormats) { - piFormats = default(int); - nNumFormats = default(UInt32); unsafe { fixed (int* piAttribIList_ptr = piAttribIList) fixed (Single* pfAttribFList_ptr = pfAttribFList) fixed (int* piFormats_ptr = &piFormats) { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - piFormats = *piFormats_ptr; + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + piFormats = *piFormats_ptr; return retval; } } } + [System.CLSCompliant(false)] public static - Boolean ChoosePixelFormat(IntPtr hdc, [In, Out] int[] piAttribIList, [In, Out] Single[] pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32 nNumFormats) + Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32[] nNumFormats) { - piFormats = default(int); - nNumFormats = default(Int32); unsafe { fixed (int* piAttribIList_ptr = piAttribIList) fixed (Single* pfAttribFList_ptr = pfAttribFList) fixed (int* piFormats_ptr = &piFormats) + fixed (UInt32* nNumFormats_ptr = nNumFormats) { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - piFormats = *piFormats_ptr; + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; return retval; } } @@ -2702,60 +3369,82 @@ namespace OpenTK.Platform.Windows [System.CLSCompliant(false)] public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, [In, Out] int[] piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32 nNumFormats) + Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] out UInt32 nNumFormats) { - piFormats = default(int*); - nNumFormats = default(UInt32); + unsafe + { fixed (int* piAttribIList_ptr = piAttribIList) - fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32)nNumFormats); + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + nNumFormats = *nNumFormats_ptr; return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, [In, Out] int[] piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32 nNumFormats) + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32* nNumFormats) { - piFormats = default(int*); - nNumFormats = default(Int32); + unsafe + { fixed (int* piAttribIList_ptr = piAttribIList) fixed (Single* pfAttribFList_ptr = &pfAttribFList) { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32)nNumFormats); + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats); return retval; } + } } [System.CLSCompliant(false)] public static - Boolean ChoosePixelFormat(IntPtr hdc, [In, Out] int[] piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [In, Out] int[] piFormats, [Out] UInt32 nNumFormats) + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (UInt32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] out UInt32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32* nNumFormats) { - nNumFormats = default(UInt32); unsafe { fixed (int* piAttribIList_ptr = piAttribIList) fixed (Single* pfAttribFList_ptr = &pfAttribFList) fixed (int* piFormats_ptr = piFormats) { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - return retval; - } - } - } - - public static - Boolean ChoosePixelFormat(IntPtr hdc, [In, Out] int[] piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [In, Out] int[] piFormats, [Out] Int32 nNumFormats) - { - nNumFormats = default(Int32); - unsafe - { - fixed (int* piAttribIList_ptr = piAttribIList) - fixed (Single* pfAttribFList_ptr = &pfAttribFList) - fixed (int* piFormats_ptr = piFormats) - { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); return retval; } } @@ -2763,36 +3452,69 @@ namespace OpenTK.Platform.Windows [System.CLSCompliant(false)] public static - Boolean ChoosePixelFormat(IntPtr hdc, [In, Out] int[] piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32 nNumFormats) + Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + fixed (UInt32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] out UInt32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32* nNumFormats) { - piFormats = default(int); - nNumFormats = default(UInt32); unsafe { fixed (int* piAttribIList_ptr = piAttribIList) fixed (Single* pfAttribFList_ptr = &pfAttribFList) fixed (int* piFormats_ptr = &piFormats) { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - piFormats = *piFormats_ptr; + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + piFormats = *piFormats_ptr; return retval; } } } + [System.CLSCompliant(false)] public static - Boolean ChoosePixelFormat(IntPtr hdc, [In, Out] int[] piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32 nNumFormats) + Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32[] nNumFormats) { - piFormats = default(int); - nNumFormats = default(Int32); unsafe { fixed (int* piAttribIList_ptr = piAttribIList) fixed (Single* pfAttribFList_ptr = &pfAttribFList) fixed (int* piFormats_ptr = &piFormats) + fixed (UInt32* nNumFormats_ptr = nNumFormats) { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - piFormats = *piFormats_ptr; + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; return retval; } } @@ -2800,142 +3522,226 @@ namespace OpenTK.Platform.Windows [System.CLSCompliant(false)] public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32 nNumFormats) + Boolean ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] out UInt32 nNumFormats) { - piFormats = default(int*); - nNumFormats = default(UInt32); - fixed (int* piAttribIList_ptr = &piAttribIList) + unsafe + { + fixed (int* piAttribIList_ptr = piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32)nNumFormats); + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + nNumFormats = *nNumFormats_ptr; return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32 nNumFormats) + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32* nNumFormats) { - piFormats = default(int*); - nNumFormats = default(Int32); + unsafe + { fixed (int* piAttribIList_ptr = &piAttribIList) { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32)nNumFormats); + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats); return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [In, Out] int[] piFormats, [Out] UInt32 nNumFormats) + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32[] nNumFormats) { - nNumFormats = default(UInt32); + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (UInt32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] out UInt32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32* nNumFormats) + { + unsafe + { fixed (int* piAttribIList_ptr = &piAttribIList) fixed (int* piFormats_ptr = piFormats) { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [In, Out] int[] piFormats, [Out] Int32 nNumFormats) + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32[] nNumFormats) { - nNumFormats = default(Int32); + unsafe + { fixed (int* piAttribIList_ptr = &piAttribIList) fixed (int* piFormats_ptr = piFormats) + fixed (UInt32* nNumFormats_ptr = nNumFormats) { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32 nNumFormats) + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] out UInt32 nNumFormats) { - piFormats = default(int); - nNumFormats = default(UInt32); + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (int* piFormats_ptr = piFormats) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32* nNumFormats) + { + unsafe + { fixed (int* piAttribIList_ptr = &piAttribIList) fixed (int* piFormats_ptr = &piFormats) { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - piFormats = *piFormats_ptr; + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + piFormats = *piFormats_ptr; return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32 nNumFormats) + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32[] nNumFormats) { - piFormats = default(int); - nNumFormats = default(Int32); + unsafe + { fixed (int* piAttribIList_ptr = &piAttribIList) fixed (int* piFormats_ptr = &piFormats) + fixed (UInt32* nNumFormats_ptr = nNumFormats) { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - piFormats = *piFormats_ptr; + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, [In, Out] Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32 nNumFormats) + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] out UInt32 nNumFormats) { - piFormats = default(int*); - nNumFormats = default(UInt32); + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (int* piFormats_ptr = &piFormats) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32* nNumFormats) + { + unsafe + { fixed (int* piAttribIList_ptr = &piAttribIList) fixed (Single* pfAttribFList_ptr = pfAttribFList) { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32)nNumFormats); + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats); return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, [In, Out] Single[] pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32 nNumFormats) + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32[] nNumFormats) { - piFormats = default(int*); - nNumFormats = default(Int32); + unsafe + { fixed (int* piAttribIList_ptr = &piAttribIList) fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (UInt32* nNumFormats_ptr = nNumFormats) { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32)nNumFormats); + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); return retval; } + } } [System.CLSCompliant(false)] public static - Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, [In, Out] Single[] pfAttribFList, UInt32 nMaxFormats, [In, Out] int[] piFormats, [Out] UInt32 nNumFormats) + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] out UInt32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32* nNumFormats) { - nNumFormats = default(UInt32); unsafe { fixed (int* piAttribIList_ptr = &piAttribIList) fixed (Single* pfAttribFList_ptr = pfAttribFList) fixed (int* piFormats_ptr = piFormats) { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - return retval; - } - } - } - - public static - Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, [In, Out] Single[] pfAttribFList, Int32 nMaxFormats, [In, Out] int[] piFormats, [Out] Int32 nNumFormats) - { - nNumFormats = default(Int32); - unsafe - { - fixed (int* piAttribIList_ptr = &piAttribIList) - fixed (Single* pfAttribFList_ptr = pfAttribFList) - fixed (int* piFormats_ptr = piFormats) - { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); return retval; } } @@ -2943,36 +3749,69 @@ namespace OpenTK.Platform.Windows [System.CLSCompliant(false)] public static - Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, [In, Out] Single[] pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32 nNumFormats) + Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + fixed (UInt32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] out UInt32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32* nNumFormats) { - piFormats = default(int); - nNumFormats = default(UInt32); unsafe { fixed (int* piAttribIList_ptr = &piAttribIList) fixed (Single* pfAttribFList_ptr = pfAttribFList) fixed (int* piFormats_ptr = &piFormats) { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - piFormats = *piFormats_ptr; + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + piFormats = *piFormats_ptr; return retval; } } } + [System.CLSCompliant(false)] public static - Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, [In, Out] Single[] pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32 nNumFormats) + Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32[] nNumFormats) { - piFormats = default(int); - nNumFormats = default(Int32); unsafe { fixed (int* piAttribIList_ptr = &piAttribIList) fixed (Single* pfAttribFList_ptr = pfAttribFList) fixed (int* piFormats_ptr = &piFormats) + fixed (UInt32* nNumFormats_ptr = nNumFormats) { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - piFormats = *piFormats_ptr; + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; return retval; } } @@ -2980,60 +3819,82 @@ namespace OpenTK.Platform.Windows [System.CLSCompliant(false)] public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32 nNumFormats) + Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, Single[] pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] out UInt32 nNumFormats) { - piFormats = default(int*); - nNumFormats = default(UInt32); + unsafe + { fixed (int* piAttribIList_ptr = &piAttribIList) - fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (Single* pfAttribFList_ptr = pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32)nNumFormats); + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + nNumFormats = *nNumFormats_ptr; return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] int* piFormats, [Out] Int32 nNumFormats) + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32* nNumFormats) { - piFormats = default(int*); - nNumFormats = default(Int32); + unsafe + { fixed (int* piAttribIList_ptr = &piAttribIList) fixed (Single* pfAttribFList_ptr = &pfAttribFList) { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32)nNumFormats); + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats); return retval; } + } } [System.CLSCompliant(false)] public static - Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [In, Out] int[] piFormats, [Out] UInt32 nNumFormats) + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (UInt32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] out UInt32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32* nNumFormats) { - nNumFormats = default(UInt32); unsafe { fixed (int* piAttribIList_ptr = &piAttribIList) fixed (Single* pfAttribFList_ptr = &pfAttribFList) fixed (int* piFormats_ptr = piFormats) { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - return retval; - } - } - } - - public static - Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [In, Out] int[] piFormats, [Out] Int32 nNumFormats) - { - nNumFormats = default(Int32); - unsafe - { - fixed (int* piAttribIList_ptr = &piAttribIList) - fixed (Single* pfAttribFList_ptr = &pfAttribFList) - fixed (int* piFormats_ptr = piFormats) - { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); return retval; } } @@ -3041,36 +3902,88 @@ namespace OpenTK.Platform.Windows [System.CLSCompliant(false)] public static - Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32 nNumFormats) + Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] UInt32[] nNumFormats) { - piFormats = default(int); - nNumFormats = default(UInt32); unsafe { fixed (int* piAttribIList_ptr = &piAttribIList) fixed (Single* pfAttribFList_ptr = &pfAttribFList) - fixed (int* piFormats_ptr = &piFormats) + fixed (int* piFormats_ptr = piFormats) + fixed (UInt32* nNumFormats_ptr = nNumFormats) { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - piFormats = *piFormats_ptr; + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); return retval; } } } + [System.CLSCompliant(false)] public static - Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, Int32 nMaxFormats, [Out] out int piFormats, [Out] Int32 nNumFormats) + Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] int[] piFormats, [Out] out UInt32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = piFormats) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + nNumFormats = *nNumFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32* nNumFormats) { - piFormats = default(int); - nNumFormats = default(Int32); unsafe { fixed (int* piAttribIList_ptr = &piAttribIList) fixed (Single* pfAttribFList_ptr = &pfAttribFList) fixed (int* piFormats_ptr = &piFormats) { - Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32)nNumFormats); - piFormats = *piFormats_ptr; + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats); + piFormats = *piFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] UInt32[] nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + fixed (UInt32* nNumFormats_ptr = nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + Boolean ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref Single pfAttribFList, UInt32 nMaxFormats, [Out] out int piFormats, [Out] out UInt32 nNumFormats) + { + unsafe + { + fixed (int* piAttribIList_ptr = &piAttribIList) + fixed (Single* pfAttribFList_ptr = &pfAttribFList) + fixed (int* piFormats_ptr = &piFormats) + fixed (UInt32* nNumFormats_ptr = &nNumFormats) + { + Boolean retval = Delegates.wglChoosePixelFormatEXT((IntPtr)hdc, (int*)piAttribIList_ptr, (Single*)pfAttribFList_ptr, (UInt32)nMaxFormats, (int*)piFormats_ptr, (UInt32*)nNumFormats_ptr); + piFormats = *piFormats_ptr; + nNumFormats = *nNumFormats_ptr; return retval; } } @@ -3108,16 +4021,15 @@ namespace OpenTK.Platform.Windows public static void FreeMemory([In, Out] object pointer) { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); try { Delegates.wglFreeMemoryNV((void*)pointer_ptr.AddrOfPinnedObject()); } finally { - pointer_ptr.Free(); } } } @@ -3135,176 +4047,188 @@ namespace OpenTK.Platform.Windows [System.CLSCompliant(false)] public static - unsafe Boolean GetSyncValues(IntPtr hdc, [Out] Int64* ust, [Out] Int64* msc, [In, Out] Int64[] sbc) + unsafe Boolean GetSyncValues(IntPtr hdc, [Out] Int64* ust, [Out] Int64* msc, [Out] Int64[] sbc) { - ust = default(Int64*); - msc = default(Int64*); + unsafe + { fixed (Int64* sbc_ptr = sbc) { Boolean retval = Delegates.wglGetSyncValuesOML((IntPtr)hdc, (Int64*)ust, (Int64*)msc, (Int64*)sbc_ptr); return retval; } + } } [System.CLSCompliant(false)] public static unsafe Boolean GetSyncValues(IntPtr hdc, [Out] Int64* ust, [Out] Int64* msc, [Out] out Int64 sbc) { - ust = default(Int64*); - msc = default(Int64*); - sbc = default(Int64); + unsafe + { fixed (Int64* sbc_ptr = &sbc) { Boolean retval = Delegates.wglGetSyncValuesOML((IntPtr)hdc, (Int64*)ust, (Int64*)msc, (Int64*)sbc_ptr); - sbc = *sbc_ptr; + sbc = *sbc_ptr; return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean GetSyncValues(IntPtr hdc, [Out] Int64* ust, [In, Out] Int64[] msc, [Out] Int64* sbc) + unsafe Boolean GetSyncValues(IntPtr hdc, [Out] Int64* ust, [Out] Int64[] msc, [Out] Int64* sbc) { - ust = default(Int64*); - sbc = default(Int64*); + unsafe + { fixed (Int64* msc_ptr = msc) { Boolean retval = Delegates.wglGetSyncValuesOML((IntPtr)hdc, (Int64*)ust, (Int64*)msc_ptr, (Int64*)sbc); return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean GetSyncValues(IntPtr hdc, [Out] Int64* ust, [In, Out] Int64[] msc, [In, Out] Int64[] sbc) + unsafe Boolean GetSyncValues(IntPtr hdc, [Out] Int64* ust, [Out] Int64[] msc, [Out] Int64[] sbc) { - ust = default(Int64*); + unsafe + { fixed (Int64* msc_ptr = msc) fixed (Int64* sbc_ptr = sbc) { Boolean retval = Delegates.wglGetSyncValuesOML((IntPtr)hdc, (Int64*)ust, (Int64*)msc_ptr, (Int64*)sbc_ptr); return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean GetSyncValues(IntPtr hdc, [Out] Int64* ust, [In, Out] Int64[] msc, [Out] out Int64 sbc) + unsafe Boolean GetSyncValues(IntPtr hdc, [Out] Int64* ust, [Out] Int64[] msc, [Out] out Int64 sbc) { - ust = default(Int64*); - sbc = default(Int64); + unsafe + { fixed (Int64* msc_ptr = msc) fixed (Int64* sbc_ptr = &sbc) { Boolean retval = Delegates.wglGetSyncValuesOML((IntPtr)hdc, (Int64*)ust, (Int64*)msc_ptr, (Int64*)sbc_ptr); - sbc = *sbc_ptr; + sbc = *sbc_ptr; return retval; } + } } [System.CLSCompliant(false)] public static unsafe Boolean GetSyncValues(IntPtr hdc, [Out] Int64* ust, [Out] out Int64 msc, [Out] Int64* sbc) { - ust = default(Int64*); - msc = default(Int64); - sbc = default(Int64*); + unsafe + { fixed (Int64* msc_ptr = &msc) { Boolean retval = Delegates.wglGetSyncValuesOML((IntPtr)hdc, (Int64*)ust, (Int64*)msc_ptr, (Int64*)sbc); - msc = *msc_ptr; + msc = *msc_ptr; return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean GetSyncValues(IntPtr hdc, [Out] Int64* ust, [Out] out Int64 msc, [In, Out] Int64[] sbc) + unsafe Boolean GetSyncValues(IntPtr hdc, [Out] Int64* ust, [Out] out Int64 msc, [Out] Int64[] sbc) { - ust = default(Int64*); - msc = default(Int64); + unsafe + { fixed (Int64* msc_ptr = &msc) fixed (Int64* sbc_ptr = sbc) { Boolean retval = Delegates.wglGetSyncValuesOML((IntPtr)hdc, (Int64*)ust, (Int64*)msc_ptr, (Int64*)sbc_ptr); - msc = *msc_ptr; + msc = *msc_ptr; return retval; } + } } [System.CLSCompliant(false)] public static unsafe Boolean GetSyncValues(IntPtr hdc, [Out] Int64* ust, [Out] out Int64 msc, [Out] out Int64 sbc) { - ust = default(Int64*); - msc = default(Int64); - sbc = default(Int64); + unsafe + { fixed (Int64* msc_ptr = &msc) fixed (Int64* sbc_ptr = &sbc) { Boolean retval = Delegates.wglGetSyncValuesOML((IntPtr)hdc, (Int64*)ust, (Int64*)msc_ptr, (Int64*)sbc_ptr); - msc = *msc_ptr; - sbc = *sbc_ptr; + msc = *msc_ptr; + sbc = *sbc_ptr; return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean GetSyncValues(IntPtr hdc, [In, Out] Int64[] ust, [Out] Int64* msc, [Out] Int64* sbc) + unsafe Boolean GetSyncValues(IntPtr hdc, [Out] Int64[] ust, [Out] Int64* msc, [Out] Int64* sbc) { - msc = default(Int64*); - sbc = default(Int64*); + unsafe + { fixed (Int64* ust_ptr = ust) { Boolean retval = Delegates.wglGetSyncValuesOML((IntPtr)hdc, (Int64*)ust_ptr, (Int64*)msc, (Int64*)sbc); return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean GetSyncValues(IntPtr hdc, [In, Out] Int64[] ust, [Out] Int64* msc, [In, Out] Int64[] sbc) + unsafe Boolean GetSyncValues(IntPtr hdc, [Out] Int64[] ust, [Out] Int64* msc, [Out] Int64[] sbc) { - msc = default(Int64*); + unsafe + { fixed (Int64* ust_ptr = ust) fixed (Int64* sbc_ptr = sbc) { Boolean retval = Delegates.wglGetSyncValuesOML((IntPtr)hdc, (Int64*)ust_ptr, (Int64*)msc, (Int64*)sbc_ptr); return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean GetSyncValues(IntPtr hdc, [In, Out] Int64[] ust, [Out] Int64* msc, [Out] out Int64 sbc) + unsafe Boolean GetSyncValues(IntPtr hdc, [Out] Int64[] ust, [Out] Int64* msc, [Out] out Int64 sbc) { - msc = default(Int64*); - sbc = default(Int64); + unsafe + { fixed (Int64* ust_ptr = ust) fixed (Int64* sbc_ptr = &sbc) { Boolean retval = Delegates.wglGetSyncValuesOML((IntPtr)hdc, (Int64*)ust_ptr, (Int64*)msc, (Int64*)sbc_ptr); - sbc = *sbc_ptr; + sbc = *sbc_ptr; return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean GetSyncValues(IntPtr hdc, [In, Out] Int64[] ust, [In, Out] Int64[] msc, [Out] Int64* sbc) + unsafe Boolean GetSyncValues(IntPtr hdc, [Out] Int64[] ust, [Out] Int64[] msc, [Out] Int64* sbc) { - sbc = default(Int64*); + unsafe + { fixed (Int64* ust_ptr = ust) fixed (Int64* msc_ptr = msc) { Boolean retval = Delegates.wglGetSyncValuesOML((IntPtr)hdc, (Int64*)ust_ptr, (Int64*)msc_ptr, (Int64*)sbc); return retval; } + } } public static - Boolean GetSyncValues(IntPtr hdc, [In, Out] Int64[] ust, [In, Out] Int64[] msc, [In, Out] Int64[] sbc) + Boolean GetSyncValues(IntPtr hdc, [Out] Int64[] ust, [Out] Int64[] msc, [Out] Int64[] sbc) { unsafe { @@ -3319,9 +4243,8 @@ namespace OpenTK.Platform.Windows } public static - Boolean GetSyncValues(IntPtr hdc, [In, Out] Int64[] ust, [In, Out] Int64[] msc, [Out] out Int64 sbc) + Boolean GetSyncValues(IntPtr hdc, [Out] Int64[] ust, [Out] Int64[] msc, [Out] out Int64 sbc) { - sbc = default(Int64); unsafe { fixed (Int64* ust_ptr = ust) @@ -3329,7 +4252,7 @@ namespace OpenTK.Platform.Windows fixed (Int64* sbc_ptr = &sbc) { Boolean retval = Delegates.wglGetSyncValuesOML((IntPtr)hdc, (Int64*)ust_ptr, (Int64*)msc_ptr, (Int64*)sbc_ptr); - sbc = *sbc_ptr; + sbc = *sbc_ptr; return retval; } } @@ -3337,23 +4260,23 @@ namespace OpenTK.Platform.Windows [System.CLSCompliant(false)] public static - unsafe Boolean GetSyncValues(IntPtr hdc, [In, Out] Int64[] ust, [Out] out Int64 msc, [Out] Int64* sbc) + unsafe Boolean GetSyncValues(IntPtr hdc, [Out] Int64[] ust, [Out] out Int64 msc, [Out] Int64* sbc) { - msc = default(Int64); - sbc = default(Int64*); + unsafe + { fixed (Int64* ust_ptr = ust) fixed (Int64* msc_ptr = &msc) { Boolean retval = Delegates.wglGetSyncValuesOML((IntPtr)hdc, (Int64*)ust_ptr, (Int64*)msc_ptr, (Int64*)sbc); - msc = *msc_ptr; + msc = *msc_ptr; return retval; } + } } public static - Boolean GetSyncValues(IntPtr hdc, [In, Out] Int64[] ust, [Out] out Int64 msc, [In, Out] Int64[] sbc) + Boolean GetSyncValues(IntPtr hdc, [Out] Int64[] ust, [Out] out Int64 msc, [Out] Int64[] sbc) { - msc = default(Int64); unsafe { fixed (Int64* ust_ptr = ust) @@ -3361,17 +4284,15 @@ namespace OpenTK.Platform.Windows fixed (Int64* sbc_ptr = sbc) { Boolean retval = Delegates.wglGetSyncValuesOML((IntPtr)hdc, (Int64*)ust_ptr, (Int64*)msc_ptr, (Int64*)sbc_ptr); - msc = *msc_ptr; + msc = *msc_ptr; return retval; } } } public static - Boolean GetSyncValues(IntPtr hdc, [In, Out] Int64[] ust, [Out] out Int64 msc, [Out] out Int64 sbc) + Boolean GetSyncValues(IntPtr hdc, [Out] Int64[] ust, [Out] out Int64 msc, [Out] out Int64 sbc) { - msc = default(Int64); - sbc = default(Int64); unsafe { fixed (Int64* ust_ptr = ust) @@ -3379,8 +4300,8 @@ namespace OpenTK.Platform.Windows fixed (Int64* sbc_ptr = &sbc) { Boolean retval = Delegates.wglGetSyncValuesOML((IntPtr)hdc, (Int64*)ust_ptr, (Int64*)msc_ptr, (Int64*)sbc_ptr); - msc = *msc_ptr; - sbc = *sbc_ptr; + msc = *msc_ptr; + sbc = *sbc_ptr; return retval; } } @@ -3390,68 +4311,69 @@ namespace OpenTK.Platform.Windows public static unsafe Boolean GetSyncValues(IntPtr hdc, [Out] out Int64 ust, [Out] Int64* msc, [Out] Int64* sbc) { - ust = default(Int64); - msc = default(Int64*); - sbc = default(Int64*); + unsafe + { fixed (Int64* ust_ptr = &ust) { Boolean retval = Delegates.wglGetSyncValuesOML((IntPtr)hdc, (Int64*)ust_ptr, (Int64*)msc, (Int64*)sbc); - ust = *ust_ptr; + ust = *ust_ptr; return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean GetSyncValues(IntPtr hdc, [Out] out Int64 ust, [Out] Int64* msc, [In, Out] Int64[] sbc) + unsafe Boolean GetSyncValues(IntPtr hdc, [Out] out Int64 ust, [Out] Int64* msc, [Out] Int64[] sbc) { - ust = default(Int64); - msc = default(Int64*); + unsafe + { fixed (Int64* ust_ptr = &ust) fixed (Int64* sbc_ptr = sbc) { Boolean retval = Delegates.wglGetSyncValuesOML((IntPtr)hdc, (Int64*)ust_ptr, (Int64*)msc, (Int64*)sbc_ptr); - ust = *ust_ptr; + ust = *ust_ptr; return retval; } + } } [System.CLSCompliant(false)] public static unsafe Boolean GetSyncValues(IntPtr hdc, [Out] out Int64 ust, [Out] Int64* msc, [Out] out Int64 sbc) { - ust = default(Int64); - msc = default(Int64*); - sbc = default(Int64); + unsafe + { fixed (Int64* ust_ptr = &ust) fixed (Int64* sbc_ptr = &sbc) { Boolean retval = Delegates.wglGetSyncValuesOML((IntPtr)hdc, (Int64*)ust_ptr, (Int64*)msc, (Int64*)sbc_ptr); - ust = *ust_ptr; - sbc = *sbc_ptr; + ust = *ust_ptr; + sbc = *sbc_ptr; return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean GetSyncValues(IntPtr hdc, [Out] out Int64 ust, [In, Out] Int64[] msc, [Out] Int64* sbc) + unsafe Boolean GetSyncValues(IntPtr hdc, [Out] out Int64 ust, [Out] Int64[] msc, [Out] Int64* sbc) { - ust = default(Int64); - sbc = default(Int64*); + unsafe + { fixed (Int64* ust_ptr = &ust) fixed (Int64* msc_ptr = msc) { Boolean retval = Delegates.wglGetSyncValuesOML((IntPtr)hdc, (Int64*)ust_ptr, (Int64*)msc_ptr, (Int64*)sbc); - ust = *ust_ptr; + ust = *ust_ptr; return retval; } + } } public static - Boolean GetSyncValues(IntPtr hdc, [Out] out Int64 ust, [In, Out] Int64[] msc, [In, Out] Int64[] sbc) + Boolean GetSyncValues(IntPtr hdc, [Out] out Int64 ust, [Out] Int64[] msc, [Out] Int64[] sbc) { - ust = default(Int64); unsafe { fixed (Int64* ust_ptr = &ust) @@ -3459,17 +4381,15 @@ namespace OpenTK.Platform.Windows fixed (Int64* sbc_ptr = sbc) { Boolean retval = Delegates.wglGetSyncValuesOML((IntPtr)hdc, (Int64*)ust_ptr, (Int64*)msc_ptr, (Int64*)sbc_ptr); - ust = *ust_ptr; + ust = *ust_ptr; return retval; } } } public static - Boolean GetSyncValues(IntPtr hdc, [Out] out Int64 ust, [In, Out] Int64[] msc, [Out] out Int64 sbc) + Boolean GetSyncValues(IntPtr hdc, [Out] out Int64 ust, [Out] Int64[] msc, [Out] out Int64 sbc) { - ust = default(Int64); - sbc = default(Int64); unsafe { fixed (Int64* ust_ptr = &ust) @@ -3477,8 +4397,8 @@ namespace OpenTK.Platform.Windows fixed (Int64* sbc_ptr = &sbc) { Boolean retval = Delegates.wglGetSyncValuesOML((IntPtr)hdc, (Int64*)ust_ptr, (Int64*)msc_ptr, (Int64*)sbc_ptr); - ust = *ust_ptr; - sbc = *sbc_ptr; + ust = *ust_ptr; + sbc = *sbc_ptr; return retval; } } @@ -3488,24 +4408,22 @@ namespace OpenTK.Platform.Windows public static unsafe Boolean GetSyncValues(IntPtr hdc, [Out] out Int64 ust, [Out] out Int64 msc, [Out] Int64* sbc) { - ust = default(Int64); - msc = default(Int64); - sbc = default(Int64*); + unsafe + { fixed (Int64* ust_ptr = &ust) fixed (Int64* msc_ptr = &msc) { Boolean retval = Delegates.wglGetSyncValuesOML((IntPtr)hdc, (Int64*)ust_ptr, (Int64*)msc_ptr, (Int64*)sbc); - ust = *ust_ptr; - msc = *msc_ptr; + ust = *ust_ptr; + msc = *msc_ptr; return retval; } + } } public static - Boolean GetSyncValues(IntPtr hdc, [Out] out Int64 ust, [Out] out Int64 msc, [In, Out] Int64[] sbc) + Boolean GetSyncValues(IntPtr hdc, [Out] out Int64 ust, [Out] out Int64 msc, [Out] Int64[] sbc) { - ust = default(Int64); - msc = default(Int64); unsafe { fixed (Int64* ust_ptr = &ust) @@ -3513,8 +4431,8 @@ namespace OpenTK.Platform.Windows fixed (Int64* sbc_ptr = sbc) { Boolean retval = Delegates.wglGetSyncValuesOML((IntPtr)hdc, (Int64*)ust_ptr, (Int64*)msc_ptr, (Int64*)sbc_ptr); - ust = *ust_ptr; - msc = *msc_ptr; + ust = *ust_ptr; + msc = *msc_ptr; return retval; } } @@ -3523,9 +4441,6 @@ namespace OpenTK.Platform.Windows public static Boolean GetSyncValues(IntPtr hdc, [Out] out Int64 ust, [Out] out Int64 msc, [Out] out Int64 sbc) { - ust = default(Int64); - msc = default(Int64); - sbc = default(Int64); unsafe { fixed (Int64* ust_ptr = &ust) @@ -3533,9 +4448,9 @@ namespace OpenTK.Platform.Windows fixed (Int64* sbc_ptr = &sbc) { Boolean retval = Delegates.wglGetSyncValuesOML((IntPtr)hdc, (Int64*)ust_ptr, (Int64*)msc_ptr, (Int64*)sbc_ptr); - ust = *ust_ptr; - msc = *msc_ptr; - sbc = *sbc_ptr; + ust = *ust_ptr; + msc = *msc_ptr; + sbc = *sbc_ptr; return retval; } } @@ -3550,44 +4465,49 @@ namespace OpenTK.Platform.Windows [System.CLSCompliant(false)] public static - unsafe Boolean GetMscRate(IntPtr hdc, [Out] Int32* numerator, [In, Out] Int32[] denominator) + unsafe Boolean GetMscRate(IntPtr hdc, [Out] Int32* numerator, [Out] Int32[] denominator) { - numerator = default(Int32*); + unsafe + { fixed (Int32* denominator_ptr = denominator) { Boolean retval = Delegates.wglGetMscRateOML((IntPtr)hdc, (Int32*)numerator, (Int32*)denominator_ptr); return retval; } + } } [System.CLSCompliant(false)] public static unsafe Boolean GetMscRate(IntPtr hdc, [Out] Int32* numerator, [Out] out Int32 denominator) { - numerator = default(Int32*); - denominator = default(Int32); + unsafe + { fixed (Int32* denominator_ptr = &denominator) { Boolean retval = Delegates.wglGetMscRateOML((IntPtr)hdc, (Int32*)numerator, (Int32*)denominator_ptr); - denominator = *denominator_ptr; + denominator = *denominator_ptr; return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean GetMscRate(IntPtr hdc, [In, Out] Int32[] numerator, [Out] Int32* denominator) + unsafe Boolean GetMscRate(IntPtr hdc, [Out] Int32[] numerator, [Out] Int32* denominator) { - denominator = default(Int32*); + unsafe + { fixed (Int32* numerator_ptr = numerator) { Boolean retval = Delegates.wglGetMscRateOML((IntPtr)hdc, (Int32*)numerator_ptr, (Int32*)denominator); return retval; } + } } public static - Boolean GetMscRate(IntPtr hdc, [In, Out] Int32[] numerator, [In, Out] Int32[] denominator) + Boolean GetMscRate(IntPtr hdc, [Out] Int32[] numerator, [Out] Int32[] denominator) { unsafe { @@ -3601,16 +4521,15 @@ namespace OpenTK.Platform.Windows } public static - Boolean GetMscRate(IntPtr hdc, [In, Out] Int32[] numerator, [Out] out Int32 denominator) + Boolean GetMscRate(IntPtr hdc, [Out] Int32[] numerator, [Out] out Int32 denominator) { - denominator = default(Int32); unsafe { fixed (Int32* numerator_ptr = numerator) fixed (Int32* denominator_ptr = &denominator) { Boolean retval = Delegates.wglGetMscRateOML((IntPtr)hdc, (Int32*)numerator_ptr, (Int32*)denominator_ptr); - denominator = *denominator_ptr; + denominator = *denominator_ptr; return retval; } } @@ -3620,27 +4539,27 @@ namespace OpenTK.Platform.Windows public static unsafe Boolean GetMscRate(IntPtr hdc, [Out] out Int32 numerator, [Out] Int32* denominator) { - numerator = default(Int32); - denominator = default(Int32*); + unsafe + { fixed (Int32* numerator_ptr = &numerator) { Boolean retval = Delegates.wglGetMscRateOML((IntPtr)hdc, (Int32*)numerator_ptr, (Int32*)denominator); - numerator = *numerator_ptr; + numerator = *numerator_ptr; return retval; } + } } public static - Boolean GetMscRate(IntPtr hdc, [Out] out Int32 numerator, [In, Out] Int32[] denominator) + Boolean GetMscRate(IntPtr hdc, [Out] out Int32 numerator, [Out] Int32[] denominator) { - numerator = default(Int32); unsafe { fixed (Int32* numerator_ptr = &numerator) fixed (Int32* denominator_ptr = denominator) { Boolean retval = Delegates.wglGetMscRateOML((IntPtr)hdc, (Int32*)numerator_ptr, (Int32*)denominator_ptr); - numerator = *numerator_ptr; + numerator = *numerator_ptr; return retval; } } @@ -3649,16 +4568,14 @@ namespace OpenTK.Platform.Windows public static Boolean GetMscRate(IntPtr hdc, [Out] out Int32 numerator, [Out] out Int32 denominator) { - numerator = default(Int32); - denominator = default(Int32); unsafe { fixed (Int32* numerator_ptr = &numerator) fixed (Int32* denominator_ptr = &denominator) { Boolean retval = Delegates.wglGetMscRateOML((IntPtr)hdc, (Int32*)numerator_ptr, (Int32*)denominator_ptr); - numerator = *numerator_ptr; - denominator = *denominator_ptr; + numerator = *numerator_ptr; + denominator = *denominator_ptr; return retval; } } @@ -3685,176 +4602,188 @@ namespace OpenTK.Platform.Windows [System.CLSCompliant(false)] public static - unsafe Boolean WaitForMsc(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [Out] Int64* ust, [Out] Int64* msc, [In, Out] Int64[] sbc) + unsafe Boolean WaitForMsc(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [Out] Int64* ust, [Out] Int64* msc, [Out] Int64[] sbc) { - ust = default(Int64*); - msc = default(Int64*); + unsafe + { fixed (Int64* sbc_ptr = sbc) { Boolean retval = Delegates.wglWaitForMscOML((IntPtr)hdc, (Int64)target_msc, (Int64)divisor, (Int64)remainder, (Int64*)ust, (Int64*)msc, (Int64*)sbc_ptr); return retval; } + } } [System.CLSCompliant(false)] public static unsafe Boolean WaitForMsc(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [Out] Int64* ust, [Out] Int64* msc, [Out] out Int64 sbc) { - ust = default(Int64*); - msc = default(Int64*); - sbc = default(Int64); + unsafe + { fixed (Int64* sbc_ptr = &sbc) { Boolean retval = Delegates.wglWaitForMscOML((IntPtr)hdc, (Int64)target_msc, (Int64)divisor, (Int64)remainder, (Int64*)ust, (Int64*)msc, (Int64*)sbc_ptr); - sbc = *sbc_ptr; + sbc = *sbc_ptr; return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean WaitForMsc(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [Out] Int64* ust, [In, Out] Int64[] msc, [Out] Int64* sbc) + unsafe Boolean WaitForMsc(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [Out] Int64* ust, [Out] Int64[] msc, [Out] Int64* sbc) { - ust = default(Int64*); - sbc = default(Int64*); + unsafe + { fixed (Int64* msc_ptr = msc) { Boolean retval = Delegates.wglWaitForMscOML((IntPtr)hdc, (Int64)target_msc, (Int64)divisor, (Int64)remainder, (Int64*)ust, (Int64*)msc_ptr, (Int64*)sbc); return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean WaitForMsc(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [Out] Int64* ust, [In, Out] Int64[] msc, [In, Out] Int64[] sbc) + unsafe Boolean WaitForMsc(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [Out] Int64* ust, [Out] Int64[] msc, [Out] Int64[] sbc) { - ust = default(Int64*); + unsafe + { fixed (Int64* msc_ptr = msc) fixed (Int64* sbc_ptr = sbc) { Boolean retval = Delegates.wglWaitForMscOML((IntPtr)hdc, (Int64)target_msc, (Int64)divisor, (Int64)remainder, (Int64*)ust, (Int64*)msc_ptr, (Int64*)sbc_ptr); return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean WaitForMsc(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [Out] Int64* ust, [In, Out] Int64[] msc, [Out] out Int64 sbc) + unsafe Boolean WaitForMsc(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [Out] Int64* ust, [Out] Int64[] msc, [Out] out Int64 sbc) { - ust = default(Int64*); - sbc = default(Int64); + unsafe + { fixed (Int64* msc_ptr = msc) fixed (Int64* sbc_ptr = &sbc) { Boolean retval = Delegates.wglWaitForMscOML((IntPtr)hdc, (Int64)target_msc, (Int64)divisor, (Int64)remainder, (Int64*)ust, (Int64*)msc_ptr, (Int64*)sbc_ptr); - sbc = *sbc_ptr; + sbc = *sbc_ptr; return retval; } + } } [System.CLSCompliant(false)] public static unsafe Boolean WaitForMsc(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [Out] Int64* ust, [Out] out Int64 msc, [Out] Int64* sbc) { - ust = default(Int64*); - msc = default(Int64); - sbc = default(Int64*); + unsafe + { fixed (Int64* msc_ptr = &msc) { Boolean retval = Delegates.wglWaitForMscOML((IntPtr)hdc, (Int64)target_msc, (Int64)divisor, (Int64)remainder, (Int64*)ust, (Int64*)msc_ptr, (Int64*)sbc); - msc = *msc_ptr; + msc = *msc_ptr; return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean WaitForMsc(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [Out] Int64* ust, [Out] out Int64 msc, [In, Out] Int64[] sbc) + unsafe Boolean WaitForMsc(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [Out] Int64* ust, [Out] out Int64 msc, [Out] Int64[] sbc) { - ust = default(Int64*); - msc = default(Int64); + unsafe + { fixed (Int64* msc_ptr = &msc) fixed (Int64* sbc_ptr = sbc) { Boolean retval = Delegates.wglWaitForMscOML((IntPtr)hdc, (Int64)target_msc, (Int64)divisor, (Int64)remainder, (Int64*)ust, (Int64*)msc_ptr, (Int64*)sbc_ptr); - msc = *msc_ptr; + msc = *msc_ptr; return retval; } + } } [System.CLSCompliant(false)] public static unsafe Boolean WaitForMsc(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [Out] Int64* ust, [Out] out Int64 msc, [Out] out Int64 sbc) { - ust = default(Int64*); - msc = default(Int64); - sbc = default(Int64); + unsafe + { fixed (Int64* msc_ptr = &msc) fixed (Int64* sbc_ptr = &sbc) { Boolean retval = Delegates.wglWaitForMscOML((IntPtr)hdc, (Int64)target_msc, (Int64)divisor, (Int64)remainder, (Int64*)ust, (Int64*)msc_ptr, (Int64*)sbc_ptr); - msc = *msc_ptr; - sbc = *sbc_ptr; + msc = *msc_ptr; + sbc = *sbc_ptr; return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean WaitForMsc(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [In, Out] Int64[] ust, [Out] Int64* msc, [Out] Int64* sbc) + unsafe Boolean WaitForMsc(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [Out] Int64[] ust, [Out] Int64* msc, [Out] Int64* sbc) { - msc = default(Int64*); - sbc = default(Int64*); + unsafe + { fixed (Int64* ust_ptr = ust) { Boolean retval = Delegates.wglWaitForMscOML((IntPtr)hdc, (Int64)target_msc, (Int64)divisor, (Int64)remainder, (Int64*)ust_ptr, (Int64*)msc, (Int64*)sbc); return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean WaitForMsc(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [In, Out] Int64[] ust, [Out] Int64* msc, [In, Out] Int64[] sbc) + unsafe Boolean WaitForMsc(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [Out] Int64[] ust, [Out] Int64* msc, [Out] Int64[] sbc) { - msc = default(Int64*); + unsafe + { fixed (Int64* ust_ptr = ust) fixed (Int64* sbc_ptr = sbc) { Boolean retval = Delegates.wglWaitForMscOML((IntPtr)hdc, (Int64)target_msc, (Int64)divisor, (Int64)remainder, (Int64*)ust_ptr, (Int64*)msc, (Int64*)sbc_ptr); return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean WaitForMsc(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [In, Out] Int64[] ust, [Out] Int64* msc, [Out] out Int64 sbc) + unsafe Boolean WaitForMsc(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [Out] Int64[] ust, [Out] Int64* msc, [Out] out Int64 sbc) { - msc = default(Int64*); - sbc = default(Int64); + unsafe + { fixed (Int64* ust_ptr = ust) fixed (Int64* sbc_ptr = &sbc) { Boolean retval = Delegates.wglWaitForMscOML((IntPtr)hdc, (Int64)target_msc, (Int64)divisor, (Int64)remainder, (Int64*)ust_ptr, (Int64*)msc, (Int64*)sbc_ptr); - sbc = *sbc_ptr; + sbc = *sbc_ptr; return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean WaitForMsc(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [In, Out] Int64[] ust, [In, Out] Int64[] msc, [Out] Int64* sbc) + unsafe Boolean WaitForMsc(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [Out] Int64[] ust, [Out] Int64[] msc, [Out] Int64* sbc) { - sbc = default(Int64*); + unsafe + { fixed (Int64* ust_ptr = ust) fixed (Int64* msc_ptr = msc) { Boolean retval = Delegates.wglWaitForMscOML((IntPtr)hdc, (Int64)target_msc, (Int64)divisor, (Int64)remainder, (Int64*)ust_ptr, (Int64*)msc_ptr, (Int64*)sbc); return retval; } + } } public static - Boolean WaitForMsc(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [In, Out] Int64[] ust, [In, Out] Int64[] msc, [In, Out] Int64[] sbc) + Boolean WaitForMsc(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [Out] Int64[] ust, [Out] Int64[] msc, [Out] Int64[] sbc) { unsafe { @@ -3869,9 +4798,8 @@ namespace OpenTK.Platform.Windows } public static - Boolean WaitForMsc(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [In, Out] Int64[] ust, [In, Out] Int64[] msc, [Out] out Int64 sbc) + Boolean WaitForMsc(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [Out] Int64[] ust, [Out] Int64[] msc, [Out] out Int64 sbc) { - sbc = default(Int64); unsafe { fixed (Int64* ust_ptr = ust) @@ -3879,7 +4807,7 @@ namespace OpenTK.Platform.Windows fixed (Int64* sbc_ptr = &sbc) { Boolean retval = Delegates.wglWaitForMscOML((IntPtr)hdc, (Int64)target_msc, (Int64)divisor, (Int64)remainder, (Int64*)ust_ptr, (Int64*)msc_ptr, (Int64*)sbc_ptr); - sbc = *sbc_ptr; + sbc = *sbc_ptr; return retval; } } @@ -3887,23 +4815,23 @@ namespace OpenTK.Platform.Windows [System.CLSCompliant(false)] public static - unsafe Boolean WaitForMsc(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [In, Out] Int64[] ust, [Out] out Int64 msc, [Out] Int64* sbc) + unsafe Boolean WaitForMsc(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [Out] Int64[] ust, [Out] out Int64 msc, [Out] Int64* sbc) { - msc = default(Int64); - sbc = default(Int64*); + unsafe + { fixed (Int64* ust_ptr = ust) fixed (Int64* msc_ptr = &msc) { Boolean retval = Delegates.wglWaitForMscOML((IntPtr)hdc, (Int64)target_msc, (Int64)divisor, (Int64)remainder, (Int64*)ust_ptr, (Int64*)msc_ptr, (Int64*)sbc); - msc = *msc_ptr; + msc = *msc_ptr; return retval; } + } } public static - Boolean WaitForMsc(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [In, Out] Int64[] ust, [Out] out Int64 msc, [In, Out] Int64[] sbc) + Boolean WaitForMsc(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [Out] Int64[] ust, [Out] out Int64 msc, [Out] Int64[] sbc) { - msc = default(Int64); unsafe { fixed (Int64* ust_ptr = ust) @@ -3911,17 +4839,15 @@ namespace OpenTK.Platform.Windows fixed (Int64* sbc_ptr = sbc) { Boolean retval = Delegates.wglWaitForMscOML((IntPtr)hdc, (Int64)target_msc, (Int64)divisor, (Int64)remainder, (Int64*)ust_ptr, (Int64*)msc_ptr, (Int64*)sbc_ptr); - msc = *msc_ptr; + msc = *msc_ptr; return retval; } } } public static - Boolean WaitForMsc(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [In, Out] Int64[] ust, [Out] out Int64 msc, [Out] out Int64 sbc) + Boolean WaitForMsc(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [Out] Int64[] ust, [Out] out Int64 msc, [Out] out Int64 sbc) { - msc = default(Int64); - sbc = default(Int64); unsafe { fixed (Int64* ust_ptr = ust) @@ -3929,8 +4855,8 @@ namespace OpenTK.Platform.Windows fixed (Int64* sbc_ptr = &sbc) { Boolean retval = Delegates.wglWaitForMscOML((IntPtr)hdc, (Int64)target_msc, (Int64)divisor, (Int64)remainder, (Int64*)ust_ptr, (Int64*)msc_ptr, (Int64*)sbc_ptr); - msc = *msc_ptr; - sbc = *sbc_ptr; + msc = *msc_ptr; + sbc = *sbc_ptr; return retval; } } @@ -3940,68 +4866,69 @@ namespace OpenTK.Platform.Windows public static unsafe Boolean WaitForMsc(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [Out] out Int64 ust, [Out] Int64* msc, [Out] Int64* sbc) { - ust = default(Int64); - msc = default(Int64*); - sbc = default(Int64*); + unsafe + { fixed (Int64* ust_ptr = &ust) { Boolean retval = Delegates.wglWaitForMscOML((IntPtr)hdc, (Int64)target_msc, (Int64)divisor, (Int64)remainder, (Int64*)ust_ptr, (Int64*)msc, (Int64*)sbc); - ust = *ust_ptr; + ust = *ust_ptr; return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean WaitForMsc(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [Out] out Int64 ust, [Out] Int64* msc, [In, Out] Int64[] sbc) + unsafe Boolean WaitForMsc(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [Out] out Int64 ust, [Out] Int64* msc, [Out] Int64[] sbc) { - ust = default(Int64); - msc = default(Int64*); + unsafe + { fixed (Int64* ust_ptr = &ust) fixed (Int64* sbc_ptr = sbc) { Boolean retval = Delegates.wglWaitForMscOML((IntPtr)hdc, (Int64)target_msc, (Int64)divisor, (Int64)remainder, (Int64*)ust_ptr, (Int64*)msc, (Int64*)sbc_ptr); - ust = *ust_ptr; + ust = *ust_ptr; return retval; } + } } [System.CLSCompliant(false)] public static unsafe Boolean WaitForMsc(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [Out] out Int64 ust, [Out] Int64* msc, [Out] out Int64 sbc) { - ust = default(Int64); - msc = default(Int64*); - sbc = default(Int64); + unsafe + { fixed (Int64* ust_ptr = &ust) fixed (Int64* sbc_ptr = &sbc) { Boolean retval = Delegates.wglWaitForMscOML((IntPtr)hdc, (Int64)target_msc, (Int64)divisor, (Int64)remainder, (Int64*)ust_ptr, (Int64*)msc, (Int64*)sbc_ptr); - ust = *ust_ptr; - sbc = *sbc_ptr; + ust = *ust_ptr; + sbc = *sbc_ptr; return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean WaitForMsc(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [Out] out Int64 ust, [In, Out] Int64[] msc, [Out] Int64* sbc) + unsafe Boolean WaitForMsc(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [Out] out Int64 ust, [Out] Int64[] msc, [Out] Int64* sbc) { - ust = default(Int64); - sbc = default(Int64*); + unsafe + { fixed (Int64* ust_ptr = &ust) fixed (Int64* msc_ptr = msc) { Boolean retval = Delegates.wglWaitForMscOML((IntPtr)hdc, (Int64)target_msc, (Int64)divisor, (Int64)remainder, (Int64*)ust_ptr, (Int64*)msc_ptr, (Int64*)sbc); - ust = *ust_ptr; + ust = *ust_ptr; return retval; } + } } public static - Boolean WaitForMsc(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [Out] out Int64 ust, [In, Out] Int64[] msc, [In, Out] Int64[] sbc) + Boolean WaitForMsc(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [Out] out Int64 ust, [Out] Int64[] msc, [Out] Int64[] sbc) { - ust = default(Int64); unsafe { fixed (Int64* ust_ptr = &ust) @@ -4009,17 +4936,15 @@ namespace OpenTK.Platform.Windows fixed (Int64* sbc_ptr = sbc) { Boolean retval = Delegates.wglWaitForMscOML((IntPtr)hdc, (Int64)target_msc, (Int64)divisor, (Int64)remainder, (Int64*)ust_ptr, (Int64*)msc_ptr, (Int64*)sbc_ptr); - ust = *ust_ptr; + ust = *ust_ptr; return retval; } } } public static - Boolean WaitForMsc(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [Out] out Int64 ust, [In, Out] Int64[] msc, [Out] out Int64 sbc) + Boolean WaitForMsc(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [Out] out Int64 ust, [Out] Int64[] msc, [Out] out Int64 sbc) { - ust = default(Int64); - sbc = default(Int64); unsafe { fixed (Int64* ust_ptr = &ust) @@ -4027,8 +4952,8 @@ namespace OpenTK.Platform.Windows fixed (Int64* sbc_ptr = &sbc) { Boolean retval = Delegates.wglWaitForMscOML((IntPtr)hdc, (Int64)target_msc, (Int64)divisor, (Int64)remainder, (Int64*)ust_ptr, (Int64*)msc_ptr, (Int64*)sbc_ptr); - ust = *ust_ptr; - sbc = *sbc_ptr; + ust = *ust_ptr; + sbc = *sbc_ptr; return retval; } } @@ -4038,24 +4963,22 @@ namespace OpenTK.Platform.Windows public static unsafe Boolean WaitForMsc(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [Out] out Int64 ust, [Out] out Int64 msc, [Out] Int64* sbc) { - ust = default(Int64); - msc = default(Int64); - sbc = default(Int64*); + unsafe + { fixed (Int64* ust_ptr = &ust) fixed (Int64* msc_ptr = &msc) { Boolean retval = Delegates.wglWaitForMscOML((IntPtr)hdc, (Int64)target_msc, (Int64)divisor, (Int64)remainder, (Int64*)ust_ptr, (Int64*)msc_ptr, (Int64*)sbc); - ust = *ust_ptr; - msc = *msc_ptr; + ust = *ust_ptr; + msc = *msc_ptr; return retval; } + } } public static - Boolean WaitForMsc(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [Out] out Int64 ust, [Out] out Int64 msc, [In, Out] Int64[] sbc) + Boolean WaitForMsc(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [Out] out Int64 ust, [Out] out Int64 msc, [Out] Int64[] sbc) { - ust = default(Int64); - msc = default(Int64); unsafe { fixed (Int64* ust_ptr = &ust) @@ -4063,8 +4986,8 @@ namespace OpenTK.Platform.Windows fixed (Int64* sbc_ptr = sbc) { Boolean retval = Delegates.wglWaitForMscOML((IntPtr)hdc, (Int64)target_msc, (Int64)divisor, (Int64)remainder, (Int64*)ust_ptr, (Int64*)msc_ptr, (Int64*)sbc_ptr); - ust = *ust_ptr; - msc = *msc_ptr; + ust = *ust_ptr; + msc = *msc_ptr; return retval; } } @@ -4073,9 +4996,6 @@ namespace OpenTK.Platform.Windows public static Boolean WaitForMsc(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [Out] out Int64 ust, [Out] out Int64 msc, [Out] out Int64 sbc) { - ust = default(Int64); - msc = default(Int64); - sbc = default(Int64); unsafe { fixed (Int64* ust_ptr = &ust) @@ -4083,9 +5003,9 @@ namespace OpenTK.Platform.Windows fixed (Int64* sbc_ptr = &sbc) { Boolean retval = Delegates.wglWaitForMscOML((IntPtr)hdc, (Int64)target_msc, (Int64)divisor, (Int64)remainder, (Int64*)ust_ptr, (Int64*)msc_ptr, (Int64*)sbc_ptr); - ust = *ust_ptr; - msc = *msc_ptr; - sbc = *sbc_ptr; + ust = *ust_ptr; + msc = *msc_ptr; + sbc = *sbc_ptr; return retval; } } @@ -4100,176 +5020,188 @@ namespace OpenTK.Platform.Windows [System.CLSCompliant(false)] public static - unsafe Boolean WaitForSbc(IntPtr hdc, Int64 target_sbc, [Out] Int64* ust, [Out] Int64* msc, [In, Out] Int64[] sbc) + unsafe Boolean WaitForSbc(IntPtr hdc, Int64 target_sbc, [Out] Int64* ust, [Out] Int64* msc, [Out] Int64[] sbc) { - ust = default(Int64*); - msc = default(Int64*); + unsafe + { fixed (Int64* sbc_ptr = sbc) { Boolean retval = Delegates.wglWaitForSbcOML((IntPtr)hdc, (Int64)target_sbc, (Int64*)ust, (Int64*)msc, (Int64*)sbc_ptr); return retval; } + } } [System.CLSCompliant(false)] public static unsafe Boolean WaitForSbc(IntPtr hdc, Int64 target_sbc, [Out] Int64* ust, [Out] Int64* msc, [Out] out Int64 sbc) { - ust = default(Int64*); - msc = default(Int64*); - sbc = default(Int64); + unsafe + { fixed (Int64* sbc_ptr = &sbc) { Boolean retval = Delegates.wglWaitForSbcOML((IntPtr)hdc, (Int64)target_sbc, (Int64*)ust, (Int64*)msc, (Int64*)sbc_ptr); - sbc = *sbc_ptr; + sbc = *sbc_ptr; return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean WaitForSbc(IntPtr hdc, Int64 target_sbc, [Out] Int64* ust, [In, Out] Int64[] msc, [Out] Int64* sbc) + unsafe Boolean WaitForSbc(IntPtr hdc, Int64 target_sbc, [Out] Int64* ust, [Out] Int64[] msc, [Out] Int64* sbc) { - ust = default(Int64*); - sbc = default(Int64*); + unsafe + { fixed (Int64* msc_ptr = msc) { Boolean retval = Delegates.wglWaitForSbcOML((IntPtr)hdc, (Int64)target_sbc, (Int64*)ust, (Int64*)msc_ptr, (Int64*)sbc); return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean WaitForSbc(IntPtr hdc, Int64 target_sbc, [Out] Int64* ust, [In, Out] Int64[] msc, [In, Out] Int64[] sbc) + unsafe Boolean WaitForSbc(IntPtr hdc, Int64 target_sbc, [Out] Int64* ust, [Out] Int64[] msc, [Out] Int64[] sbc) { - ust = default(Int64*); + unsafe + { fixed (Int64* msc_ptr = msc) fixed (Int64* sbc_ptr = sbc) { Boolean retval = Delegates.wglWaitForSbcOML((IntPtr)hdc, (Int64)target_sbc, (Int64*)ust, (Int64*)msc_ptr, (Int64*)sbc_ptr); return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean WaitForSbc(IntPtr hdc, Int64 target_sbc, [Out] Int64* ust, [In, Out] Int64[] msc, [Out] out Int64 sbc) + unsafe Boolean WaitForSbc(IntPtr hdc, Int64 target_sbc, [Out] Int64* ust, [Out] Int64[] msc, [Out] out Int64 sbc) { - ust = default(Int64*); - sbc = default(Int64); + unsafe + { fixed (Int64* msc_ptr = msc) fixed (Int64* sbc_ptr = &sbc) { Boolean retval = Delegates.wglWaitForSbcOML((IntPtr)hdc, (Int64)target_sbc, (Int64*)ust, (Int64*)msc_ptr, (Int64*)sbc_ptr); - sbc = *sbc_ptr; + sbc = *sbc_ptr; return retval; } + } } [System.CLSCompliant(false)] public static unsafe Boolean WaitForSbc(IntPtr hdc, Int64 target_sbc, [Out] Int64* ust, [Out] out Int64 msc, [Out] Int64* sbc) { - ust = default(Int64*); - msc = default(Int64); - sbc = default(Int64*); + unsafe + { fixed (Int64* msc_ptr = &msc) { Boolean retval = Delegates.wglWaitForSbcOML((IntPtr)hdc, (Int64)target_sbc, (Int64*)ust, (Int64*)msc_ptr, (Int64*)sbc); - msc = *msc_ptr; + msc = *msc_ptr; return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean WaitForSbc(IntPtr hdc, Int64 target_sbc, [Out] Int64* ust, [Out] out Int64 msc, [In, Out] Int64[] sbc) + unsafe Boolean WaitForSbc(IntPtr hdc, Int64 target_sbc, [Out] Int64* ust, [Out] out Int64 msc, [Out] Int64[] sbc) { - ust = default(Int64*); - msc = default(Int64); + unsafe + { fixed (Int64* msc_ptr = &msc) fixed (Int64* sbc_ptr = sbc) { Boolean retval = Delegates.wglWaitForSbcOML((IntPtr)hdc, (Int64)target_sbc, (Int64*)ust, (Int64*)msc_ptr, (Int64*)sbc_ptr); - msc = *msc_ptr; + msc = *msc_ptr; return retval; } + } } [System.CLSCompliant(false)] public static unsafe Boolean WaitForSbc(IntPtr hdc, Int64 target_sbc, [Out] Int64* ust, [Out] out Int64 msc, [Out] out Int64 sbc) { - ust = default(Int64*); - msc = default(Int64); - sbc = default(Int64); + unsafe + { fixed (Int64* msc_ptr = &msc) fixed (Int64* sbc_ptr = &sbc) { Boolean retval = Delegates.wglWaitForSbcOML((IntPtr)hdc, (Int64)target_sbc, (Int64*)ust, (Int64*)msc_ptr, (Int64*)sbc_ptr); - msc = *msc_ptr; - sbc = *sbc_ptr; + msc = *msc_ptr; + sbc = *sbc_ptr; return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean WaitForSbc(IntPtr hdc, Int64 target_sbc, [In, Out] Int64[] ust, [Out] Int64* msc, [Out] Int64* sbc) + unsafe Boolean WaitForSbc(IntPtr hdc, Int64 target_sbc, [Out] Int64[] ust, [Out] Int64* msc, [Out] Int64* sbc) { - msc = default(Int64*); - sbc = default(Int64*); + unsafe + { fixed (Int64* ust_ptr = ust) { Boolean retval = Delegates.wglWaitForSbcOML((IntPtr)hdc, (Int64)target_sbc, (Int64*)ust_ptr, (Int64*)msc, (Int64*)sbc); return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean WaitForSbc(IntPtr hdc, Int64 target_sbc, [In, Out] Int64[] ust, [Out] Int64* msc, [In, Out] Int64[] sbc) + unsafe Boolean WaitForSbc(IntPtr hdc, Int64 target_sbc, [Out] Int64[] ust, [Out] Int64* msc, [Out] Int64[] sbc) { - msc = default(Int64*); + unsafe + { fixed (Int64* ust_ptr = ust) fixed (Int64* sbc_ptr = sbc) { Boolean retval = Delegates.wglWaitForSbcOML((IntPtr)hdc, (Int64)target_sbc, (Int64*)ust_ptr, (Int64*)msc, (Int64*)sbc_ptr); return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean WaitForSbc(IntPtr hdc, Int64 target_sbc, [In, Out] Int64[] ust, [Out] Int64* msc, [Out] out Int64 sbc) + unsafe Boolean WaitForSbc(IntPtr hdc, Int64 target_sbc, [Out] Int64[] ust, [Out] Int64* msc, [Out] out Int64 sbc) { - msc = default(Int64*); - sbc = default(Int64); + unsafe + { fixed (Int64* ust_ptr = ust) fixed (Int64* sbc_ptr = &sbc) { Boolean retval = Delegates.wglWaitForSbcOML((IntPtr)hdc, (Int64)target_sbc, (Int64*)ust_ptr, (Int64*)msc, (Int64*)sbc_ptr); - sbc = *sbc_ptr; + sbc = *sbc_ptr; return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean WaitForSbc(IntPtr hdc, Int64 target_sbc, [In, Out] Int64[] ust, [In, Out] Int64[] msc, [Out] Int64* sbc) + unsafe Boolean WaitForSbc(IntPtr hdc, Int64 target_sbc, [Out] Int64[] ust, [Out] Int64[] msc, [Out] Int64* sbc) { - sbc = default(Int64*); + unsafe + { fixed (Int64* ust_ptr = ust) fixed (Int64* msc_ptr = msc) { Boolean retval = Delegates.wglWaitForSbcOML((IntPtr)hdc, (Int64)target_sbc, (Int64*)ust_ptr, (Int64*)msc_ptr, (Int64*)sbc); return retval; } + } } public static - Boolean WaitForSbc(IntPtr hdc, Int64 target_sbc, [In, Out] Int64[] ust, [In, Out] Int64[] msc, [In, Out] Int64[] sbc) + Boolean WaitForSbc(IntPtr hdc, Int64 target_sbc, [Out] Int64[] ust, [Out] Int64[] msc, [Out] Int64[] sbc) { unsafe { @@ -4284,9 +5216,8 @@ namespace OpenTK.Platform.Windows } public static - Boolean WaitForSbc(IntPtr hdc, Int64 target_sbc, [In, Out] Int64[] ust, [In, Out] Int64[] msc, [Out] out Int64 sbc) + Boolean WaitForSbc(IntPtr hdc, Int64 target_sbc, [Out] Int64[] ust, [Out] Int64[] msc, [Out] out Int64 sbc) { - sbc = default(Int64); unsafe { fixed (Int64* ust_ptr = ust) @@ -4294,7 +5225,7 @@ namespace OpenTK.Platform.Windows fixed (Int64* sbc_ptr = &sbc) { Boolean retval = Delegates.wglWaitForSbcOML((IntPtr)hdc, (Int64)target_sbc, (Int64*)ust_ptr, (Int64*)msc_ptr, (Int64*)sbc_ptr); - sbc = *sbc_ptr; + sbc = *sbc_ptr; return retval; } } @@ -4302,23 +5233,23 @@ namespace OpenTK.Platform.Windows [System.CLSCompliant(false)] public static - unsafe Boolean WaitForSbc(IntPtr hdc, Int64 target_sbc, [In, Out] Int64[] ust, [Out] out Int64 msc, [Out] Int64* sbc) + unsafe Boolean WaitForSbc(IntPtr hdc, Int64 target_sbc, [Out] Int64[] ust, [Out] out Int64 msc, [Out] Int64* sbc) { - msc = default(Int64); - sbc = default(Int64*); + unsafe + { fixed (Int64* ust_ptr = ust) fixed (Int64* msc_ptr = &msc) { Boolean retval = Delegates.wglWaitForSbcOML((IntPtr)hdc, (Int64)target_sbc, (Int64*)ust_ptr, (Int64*)msc_ptr, (Int64*)sbc); - msc = *msc_ptr; + msc = *msc_ptr; return retval; } + } } public static - Boolean WaitForSbc(IntPtr hdc, Int64 target_sbc, [In, Out] Int64[] ust, [Out] out Int64 msc, [In, Out] Int64[] sbc) + Boolean WaitForSbc(IntPtr hdc, Int64 target_sbc, [Out] Int64[] ust, [Out] out Int64 msc, [Out] Int64[] sbc) { - msc = default(Int64); unsafe { fixed (Int64* ust_ptr = ust) @@ -4326,17 +5257,15 @@ namespace OpenTK.Platform.Windows fixed (Int64* sbc_ptr = sbc) { Boolean retval = Delegates.wglWaitForSbcOML((IntPtr)hdc, (Int64)target_sbc, (Int64*)ust_ptr, (Int64*)msc_ptr, (Int64*)sbc_ptr); - msc = *msc_ptr; + msc = *msc_ptr; return retval; } } } public static - Boolean WaitForSbc(IntPtr hdc, Int64 target_sbc, [In, Out] Int64[] ust, [Out] out Int64 msc, [Out] out Int64 sbc) + Boolean WaitForSbc(IntPtr hdc, Int64 target_sbc, [Out] Int64[] ust, [Out] out Int64 msc, [Out] out Int64 sbc) { - msc = default(Int64); - sbc = default(Int64); unsafe { fixed (Int64* ust_ptr = ust) @@ -4344,8 +5273,8 @@ namespace OpenTK.Platform.Windows fixed (Int64* sbc_ptr = &sbc) { Boolean retval = Delegates.wglWaitForSbcOML((IntPtr)hdc, (Int64)target_sbc, (Int64*)ust_ptr, (Int64*)msc_ptr, (Int64*)sbc_ptr); - msc = *msc_ptr; - sbc = *sbc_ptr; + msc = *msc_ptr; + sbc = *sbc_ptr; return retval; } } @@ -4355,68 +5284,69 @@ namespace OpenTK.Platform.Windows public static unsafe Boolean WaitForSbc(IntPtr hdc, Int64 target_sbc, [Out] out Int64 ust, [Out] Int64* msc, [Out] Int64* sbc) { - ust = default(Int64); - msc = default(Int64*); - sbc = default(Int64*); + unsafe + { fixed (Int64* ust_ptr = &ust) { Boolean retval = Delegates.wglWaitForSbcOML((IntPtr)hdc, (Int64)target_sbc, (Int64*)ust_ptr, (Int64*)msc, (Int64*)sbc); - ust = *ust_ptr; + ust = *ust_ptr; return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean WaitForSbc(IntPtr hdc, Int64 target_sbc, [Out] out Int64 ust, [Out] Int64* msc, [In, Out] Int64[] sbc) + unsafe Boolean WaitForSbc(IntPtr hdc, Int64 target_sbc, [Out] out Int64 ust, [Out] Int64* msc, [Out] Int64[] sbc) { - ust = default(Int64); - msc = default(Int64*); + unsafe + { fixed (Int64* ust_ptr = &ust) fixed (Int64* sbc_ptr = sbc) { Boolean retval = Delegates.wglWaitForSbcOML((IntPtr)hdc, (Int64)target_sbc, (Int64*)ust_ptr, (Int64*)msc, (Int64*)sbc_ptr); - ust = *ust_ptr; + ust = *ust_ptr; return retval; } + } } [System.CLSCompliant(false)] public static unsafe Boolean WaitForSbc(IntPtr hdc, Int64 target_sbc, [Out] out Int64 ust, [Out] Int64* msc, [Out] out Int64 sbc) { - ust = default(Int64); - msc = default(Int64*); - sbc = default(Int64); + unsafe + { fixed (Int64* ust_ptr = &ust) fixed (Int64* sbc_ptr = &sbc) { Boolean retval = Delegates.wglWaitForSbcOML((IntPtr)hdc, (Int64)target_sbc, (Int64*)ust_ptr, (Int64*)msc, (Int64*)sbc_ptr); - ust = *ust_ptr; - sbc = *sbc_ptr; + ust = *ust_ptr; + sbc = *sbc_ptr; return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean WaitForSbc(IntPtr hdc, Int64 target_sbc, [Out] out Int64 ust, [In, Out] Int64[] msc, [Out] Int64* sbc) + unsafe Boolean WaitForSbc(IntPtr hdc, Int64 target_sbc, [Out] out Int64 ust, [Out] Int64[] msc, [Out] Int64* sbc) { - ust = default(Int64); - sbc = default(Int64*); + unsafe + { fixed (Int64* ust_ptr = &ust) fixed (Int64* msc_ptr = msc) { Boolean retval = Delegates.wglWaitForSbcOML((IntPtr)hdc, (Int64)target_sbc, (Int64*)ust_ptr, (Int64*)msc_ptr, (Int64*)sbc); - ust = *ust_ptr; + ust = *ust_ptr; return retval; } + } } public static - Boolean WaitForSbc(IntPtr hdc, Int64 target_sbc, [Out] out Int64 ust, [In, Out] Int64[] msc, [In, Out] Int64[] sbc) + Boolean WaitForSbc(IntPtr hdc, Int64 target_sbc, [Out] out Int64 ust, [Out] Int64[] msc, [Out] Int64[] sbc) { - ust = default(Int64); unsafe { fixed (Int64* ust_ptr = &ust) @@ -4424,17 +5354,15 @@ namespace OpenTK.Platform.Windows fixed (Int64* sbc_ptr = sbc) { Boolean retval = Delegates.wglWaitForSbcOML((IntPtr)hdc, (Int64)target_sbc, (Int64*)ust_ptr, (Int64*)msc_ptr, (Int64*)sbc_ptr); - ust = *ust_ptr; + ust = *ust_ptr; return retval; } } } public static - Boolean WaitForSbc(IntPtr hdc, Int64 target_sbc, [Out] out Int64 ust, [In, Out] Int64[] msc, [Out] out Int64 sbc) + Boolean WaitForSbc(IntPtr hdc, Int64 target_sbc, [Out] out Int64 ust, [Out] Int64[] msc, [Out] out Int64 sbc) { - ust = default(Int64); - sbc = default(Int64); unsafe { fixed (Int64* ust_ptr = &ust) @@ -4442,8 +5370,8 @@ namespace OpenTK.Platform.Windows fixed (Int64* sbc_ptr = &sbc) { Boolean retval = Delegates.wglWaitForSbcOML((IntPtr)hdc, (Int64)target_sbc, (Int64*)ust_ptr, (Int64*)msc_ptr, (Int64*)sbc_ptr); - ust = *ust_ptr; - sbc = *sbc_ptr; + ust = *ust_ptr; + sbc = *sbc_ptr; return retval; } } @@ -4453,24 +5381,22 @@ namespace OpenTK.Platform.Windows public static unsafe Boolean WaitForSbc(IntPtr hdc, Int64 target_sbc, [Out] out Int64 ust, [Out] out Int64 msc, [Out] Int64* sbc) { - ust = default(Int64); - msc = default(Int64); - sbc = default(Int64*); + unsafe + { fixed (Int64* ust_ptr = &ust) fixed (Int64* msc_ptr = &msc) { Boolean retval = Delegates.wglWaitForSbcOML((IntPtr)hdc, (Int64)target_sbc, (Int64*)ust_ptr, (Int64*)msc_ptr, (Int64*)sbc); - ust = *ust_ptr; - msc = *msc_ptr; + ust = *ust_ptr; + msc = *msc_ptr; return retval; } + } } public static - Boolean WaitForSbc(IntPtr hdc, Int64 target_sbc, [Out] out Int64 ust, [Out] out Int64 msc, [In, Out] Int64[] sbc) + Boolean WaitForSbc(IntPtr hdc, Int64 target_sbc, [Out] out Int64 ust, [Out] out Int64 msc, [Out] Int64[] sbc) { - ust = default(Int64); - msc = default(Int64); unsafe { fixed (Int64* ust_ptr = &ust) @@ -4478,8 +5404,8 @@ namespace OpenTK.Platform.Windows fixed (Int64* sbc_ptr = sbc) { Boolean retval = Delegates.wglWaitForSbcOML((IntPtr)hdc, (Int64)target_sbc, (Int64*)ust_ptr, (Int64*)msc_ptr, (Int64*)sbc_ptr); - ust = *ust_ptr; - msc = *msc_ptr; + ust = *ust_ptr; + msc = *msc_ptr; return retval; } } @@ -4488,9 +5414,6 @@ namespace OpenTK.Platform.Windows public static Boolean WaitForSbc(IntPtr hdc, Int64 target_sbc, [Out] out Int64 ust, [Out] out Int64 msc, [Out] out Int64 sbc) { - ust = default(Int64); - msc = default(Int64); - sbc = default(Int64); unsafe { fixed (Int64* ust_ptr = &ust) @@ -4498,9 +5421,9 @@ namespace OpenTK.Platform.Windows fixed (Int64* sbc_ptr = &sbc) { Boolean retval = Delegates.wglWaitForSbcOML((IntPtr)hdc, (Int64)target_sbc, (Int64*)ust_ptr, (Int64*)msc_ptr, (Int64*)sbc_ptr); - ust = *ust_ptr; - msc = *msc_ptr; - sbc = *sbc_ptr; + ust = *ust_ptr; + msc = *msc_ptr; + sbc = *sbc_ptr; return retval; } } @@ -4518,7 +5441,7 @@ namespace OpenTK.Platform.Windows } public static - Boolean GetDigitalVideoParameters(IntPtr hDC, int iAttribute, [In, Out] int[] piValue) + Boolean GetDigitalVideoParameters(IntPtr hDC, int iAttribute, [Out] int[] piValue) { unsafe { @@ -4533,13 +5456,12 @@ namespace OpenTK.Platform.Windows public static Boolean GetDigitalVideoParameters(IntPtr hDC, int iAttribute, [Out] out int piValue) { - piValue = default(int); unsafe { fixed (int* piValue_ptr = &piValue) { Boolean retval = Delegates.wglGetDigitalVideoParametersI3D((IntPtr)hDC, (int)iAttribute, (int*)piValue_ptr); - piValue = *piValue_ptr; + piValue = *piValue_ptr; return retval; } } @@ -4553,7 +5475,7 @@ namespace OpenTK.Platform.Windows } public static - Boolean SetDigitalVideoParameters(IntPtr hDC, int iAttribute, [In, Out] int[] piValue) + Boolean SetDigitalVideoParameters(IntPtr hDC, int iAttribute, int[] piValue) { unsafe { @@ -4586,7 +5508,7 @@ namespace OpenTK.Platform.Windows } public static - Boolean GetGammaTableParameters(IntPtr hDC, int iAttribute, [In, Out] int[] piValue) + Boolean GetGammaTableParameters(IntPtr hDC, int iAttribute, [Out] int[] piValue) { unsafe { @@ -4601,13 +5523,12 @@ namespace OpenTK.Platform.Windows public static Boolean GetGammaTableParameters(IntPtr hDC, int iAttribute, [Out] out int piValue) { - piValue = default(int); unsafe { fixed (int* piValue_ptr = &piValue) { Boolean retval = Delegates.wglGetGammaTableParametersI3D((IntPtr)hDC, (int)iAttribute, (int*)piValue_ptr); - piValue = *piValue_ptr; + piValue = *piValue_ptr; return retval; } } @@ -4621,7 +5542,7 @@ namespace OpenTK.Platform.Windows } public static - Boolean SetGammaTableParameters(IntPtr hDC, int iAttribute, [In, Out] int[] piValue) + Boolean SetGammaTableParameters(IntPtr hDC, int iAttribute, int[] piValue) { unsafe { @@ -4657,358 +5578,198 @@ namespace OpenTK.Platform.Windows public static unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] Int16* puRed, [Out] Int16* puGreen, [Out] Int16* puBlue) { - puRed = default(Int16*); - puGreen = default(Int16*); - puBlue = default(Int16*); - { - Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen, (UInt16*)puBlue); - return retval; - } + unsafe + { + Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen, (UInt16*)puBlue); + return retval; + } } [System.CLSCompliant(false)] public static - unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] UInt16* puRed, [Out] UInt16* puGreen, [In, Out] UInt16[] puBlue) + unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] UInt16* puRed, [Out] UInt16* puGreen, [Out] UInt16[] puBlue) { - puRed = default(UInt16*); - puGreen = default(UInt16*); + unsafe + { fixed (UInt16* puBlue_ptr = puBlue) { Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen, (UInt16*)puBlue_ptr); return retval; } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] Int16* puRed, [Out] Int16* puGreen, [In, Out] Int16[] puBlue) - { - puRed = default(Int16*); - puGreen = default(Int16*); - fixed (Int16* puBlue_ptr = puBlue) - { - Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen, (UInt16*)puBlue_ptr); - return retval; - } + } } [System.CLSCompliant(false)] public static unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] UInt16* puRed, [Out] UInt16* puGreen, [Out] out UInt16 puBlue) { - puRed = default(UInt16*); - puGreen = default(UInt16*); - puBlue = default(UInt16); + unsafe + { fixed (UInt16* puBlue_ptr = &puBlue) { Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen, (UInt16*)puBlue_ptr); - puBlue = *puBlue_ptr; + puBlue = *puBlue_ptr; return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] Int16* puRed, [Out] Int16* puGreen, [Out] out Int16 puBlue) + unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] UInt16* puRed, [Out] UInt16[] puGreen, [Out] UInt16* puBlue) { - puRed = default(Int16*); - puGreen = default(Int16*); - puBlue = default(Int16); - fixed (Int16* puBlue_ptr = &puBlue) - { - Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen, (UInt16*)puBlue_ptr); - puBlue = *puBlue_ptr; - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] UInt16* puRed, [In, Out] UInt16[] puGreen, [Out] UInt16* puBlue) - { - puRed = default(UInt16*); - puBlue = default(UInt16*); + unsafe + { fixed (UInt16* puGreen_ptr = puGreen) { Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen_ptr, (UInt16*)puBlue); return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] Int16* puRed, [In, Out] Int16[] puGreen, [Out] Int16* puBlue) + unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] UInt16* puRed, [Out] UInt16[] puGreen, [Out] UInt16[] puBlue) { - puRed = default(Int16*); - puBlue = default(Int16*); - fixed (Int16* puGreen_ptr = puGreen) - { - Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen_ptr, (UInt16*)puBlue); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] UInt16* puRed, [In, Out] UInt16[] puGreen, [In, Out] UInt16[] puBlue) - { - puRed = default(UInt16*); + unsafe + { fixed (UInt16* puGreen_ptr = puGreen) fixed (UInt16* puBlue_ptr = puBlue) { Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] Int16* puRed, [In, Out] Int16[] puGreen, [In, Out] Int16[] puBlue) + unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] UInt16* puRed, [Out] UInt16[] puGreen, [Out] out UInt16 puBlue) { - puRed = default(Int16*); - fixed (Int16* puGreen_ptr = puGreen) - fixed (Int16* puBlue_ptr = puBlue) - { - Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] UInt16* puRed, [In, Out] UInt16[] puGreen, [Out] out UInt16 puBlue) - { - puRed = default(UInt16*); - puBlue = default(UInt16); + unsafe + { fixed (UInt16* puGreen_ptr = puGreen) fixed (UInt16* puBlue_ptr = &puBlue) { Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); - puBlue = *puBlue_ptr; - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] Int16* puRed, [In, Out] Int16[] puGreen, [Out] out Int16 puBlue) - { - puRed = default(Int16*); - puBlue = default(Int16); - fixed (Int16* puGreen_ptr = puGreen) - fixed (Int16* puBlue_ptr = &puBlue) - { - Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); - puBlue = *puBlue_ptr; + puBlue = *puBlue_ptr; return retval; } + } } [System.CLSCompliant(false)] public static unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] UInt16* puRed, [Out] out UInt16 puGreen, [Out] UInt16* puBlue) { - puRed = default(UInt16*); - puGreen = default(UInt16); - puBlue = default(UInt16*); + unsafe + { fixed (UInt16* puGreen_ptr = &puGreen) { Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen_ptr, (UInt16*)puBlue); - puGreen = *puGreen_ptr; + puGreen = *puGreen_ptr; return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] Int16* puRed, [Out] out Int16 puGreen, [Out] Int16* puBlue) + unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] UInt16* puRed, [Out] out UInt16 puGreen, [Out] UInt16[] puBlue) { - puRed = default(Int16*); - puGreen = default(Int16); - puBlue = default(Int16*); - fixed (Int16* puGreen_ptr = &puGreen) - { - Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen_ptr, (UInt16*)puBlue); - puGreen = *puGreen_ptr; - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] UInt16* puRed, [Out] out UInt16 puGreen, [In, Out] UInt16[] puBlue) - { - puRed = default(UInt16*); - puGreen = default(UInt16); + unsafe + { fixed (UInt16* puGreen_ptr = &puGreen) fixed (UInt16* puBlue_ptr = puBlue) { Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); - puGreen = *puGreen_ptr; - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] Int16* puRed, [Out] out Int16 puGreen, [In, Out] Int16[] puBlue) - { - puRed = default(Int16*); - puGreen = default(Int16); - fixed (Int16* puGreen_ptr = &puGreen) - fixed (Int16* puBlue_ptr = puBlue) - { - Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); - puGreen = *puGreen_ptr; + puGreen = *puGreen_ptr; return retval; } + } } [System.CLSCompliant(false)] public static unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] UInt16* puRed, [Out] out UInt16 puGreen, [Out] out UInt16 puBlue) { - puRed = default(UInt16*); - puGreen = default(UInt16); - puBlue = default(UInt16); + unsafe + { fixed (UInt16* puGreen_ptr = &puGreen) fixed (UInt16* puBlue_ptr = &puBlue) { Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); - puGreen = *puGreen_ptr; - puBlue = *puBlue_ptr; + puGreen = *puGreen_ptr; + puBlue = *puBlue_ptr; return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] Int16* puRed, [Out] out Int16 puGreen, [Out] out Int16 puBlue) + unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] UInt16[] puRed, [Out] UInt16* puGreen, [Out] UInt16* puBlue) { - puRed = default(Int16*); - puGreen = default(Int16); - puBlue = default(Int16); - fixed (Int16* puGreen_ptr = &puGreen) - fixed (Int16* puBlue_ptr = &puBlue) - { - Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); - puGreen = *puGreen_ptr; - puBlue = *puBlue_ptr; - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [In, Out] UInt16[] puRed, [Out] UInt16* puGreen, [Out] UInt16* puBlue) - { - puGreen = default(UInt16*); - puBlue = default(UInt16*); + unsafe + { fixed (UInt16* puRed_ptr = puRed) { Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen, (UInt16*)puBlue); return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [In, Out] Int16[] puRed, [Out] Int16* puGreen, [Out] Int16* puBlue) + unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] UInt16[] puRed, [Out] UInt16* puGreen, [Out] UInt16[] puBlue) { - puGreen = default(Int16*); - puBlue = default(Int16*); - fixed (Int16* puRed_ptr = puRed) - { - Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen, (UInt16*)puBlue); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [In, Out] UInt16[] puRed, [Out] UInt16* puGreen, [In, Out] UInt16[] puBlue) - { - puGreen = default(UInt16*); + unsafe + { fixed (UInt16* puRed_ptr = puRed) fixed (UInt16* puBlue_ptr = puBlue) { Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen, (UInt16*)puBlue_ptr); return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [In, Out] Int16[] puRed, [Out] Int16* puGreen, [In, Out] Int16[] puBlue) + unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] UInt16[] puRed, [Out] UInt16* puGreen, [Out] out UInt16 puBlue) { - puGreen = default(Int16*); - fixed (Int16* puRed_ptr = puRed) - fixed (Int16* puBlue_ptr = puBlue) - { - Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen, (UInt16*)puBlue_ptr); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [In, Out] UInt16[] puRed, [Out] UInt16* puGreen, [Out] out UInt16 puBlue) - { - puGreen = default(UInt16*); - puBlue = default(UInt16); + unsafe + { fixed (UInt16* puRed_ptr = puRed) fixed (UInt16* puBlue_ptr = &puBlue) { Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen, (UInt16*)puBlue_ptr); - puBlue = *puBlue_ptr; + puBlue = *puBlue_ptr; return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [In, Out] Int16[] puRed, [Out] Int16* puGreen, [Out] out Int16 puBlue) + unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] UInt16[] puRed, [Out] UInt16[] puGreen, [Out] UInt16* puBlue) { - puGreen = default(Int16*); - puBlue = default(Int16); - fixed (Int16* puRed_ptr = puRed) - fixed (Int16* puBlue_ptr = &puBlue) - { - Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen, (UInt16*)puBlue_ptr); - puBlue = *puBlue_ptr; - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [In, Out] UInt16[] puRed, [In, Out] UInt16[] puGreen, [Out] UInt16* puBlue) - { - puBlue = default(UInt16*); + unsafe + { fixed (UInt16* puRed_ptr = puRed) fixed (UInt16* puGreen_ptr = puGreen) { Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue); return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [In, Out] Int16[] puRed, [In, Out] Int16[] puGreen, [Out] Int16* puBlue) - { - puBlue = default(Int16*); - fixed (Int16* puRed_ptr = puRed) - fixed (Int16* puGreen_ptr = puGreen) - { - Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - Boolean GetGammaTable(IntPtr hDC, int iEntries, [In, Out] UInt16[] puRed, [In, Out] UInt16[] puGreen, [In, Out] UInt16[] puBlue) + Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] UInt16[] puRed, [Out] UInt16[] puGreen, [Out] UInt16[] puBlue) { unsafe { @@ -5022,26 +5783,10 @@ namespace OpenTK.Platform.Windows } } - public static - Boolean GetGammaTable(IntPtr hDC, int iEntries, [In, Out] Int16[] puRed, [In, Out] Int16[] puGreen, [In, Out] Int16[] puBlue) - { - unsafe - { - fixed (Int16* puRed_ptr = puRed) - fixed (Int16* puGreen_ptr = puGreen) - fixed (Int16* puBlue_ptr = puBlue) - { - Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); - return retval; - } - } - } - [System.CLSCompliant(false)] public static - Boolean GetGammaTable(IntPtr hDC, int iEntries, [In, Out] UInt16[] puRed, [In, Out] UInt16[] puGreen, [Out] out UInt16 puBlue) + Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] UInt16[] puRed, [Out] UInt16[] puGreen, [Out] out UInt16 puBlue) { - puBlue = default(UInt16); unsafe { fixed (UInt16* puRed_ptr = puRed) @@ -5049,24 +5794,7 @@ namespace OpenTK.Platform.Windows fixed (UInt16* puBlue_ptr = &puBlue) { Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); - puBlue = *puBlue_ptr; - return retval; - } - } - } - - public static - Boolean GetGammaTable(IntPtr hDC, int iEntries, [In, Out] Int16[] puRed, [In, Out] Int16[] puGreen, [Out] out Int16 puBlue) - { - puBlue = default(Int16); - unsafe - { - fixed (Int16* puRed_ptr = puRed) - fixed (Int16* puGreen_ptr = puGreen) - fixed (Int16* puBlue_ptr = &puBlue) - { - Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); - puBlue = *puBlue_ptr; + puBlue = *puBlue_ptr; return retval; } } @@ -5074,39 +5802,24 @@ namespace OpenTK.Platform.Windows [System.CLSCompliant(false)] public static - unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [In, Out] UInt16[] puRed, [Out] out UInt16 puGreen, [Out] UInt16* puBlue) + unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] UInt16[] puRed, [Out] out UInt16 puGreen, [Out] UInt16* puBlue) { - puGreen = default(UInt16); - puBlue = default(UInt16*); + unsafe + { fixed (UInt16* puRed_ptr = puRed) fixed (UInt16* puGreen_ptr = &puGreen) { Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue); - puGreen = *puGreen_ptr; + puGreen = *puGreen_ptr; return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [In, Out] Int16[] puRed, [Out] out Int16 puGreen, [Out] Int16* puBlue) + Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] UInt16[] puRed, [Out] out UInt16 puGreen, [Out] UInt16[] puBlue) { - puGreen = default(Int16); - puBlue = default(Int16*); - fixed (Int16* puRed_ptr = puRed) - fixed (Int16* puGreen_ptr = &puGreen) - { - Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue); - puGreen = *puGreen_ptr; - return retval; - } - } - - [System.CLSCompliant(false)] - public static - Boolean GetGammaTable(IntPtr hDC, int iEntries, [In, Out] UInt16[] puRed, [Out] out UInt16 puGreen, [In, Out] UInt16[] puBlue) - { - puGreen = default(UInt16); unsafe { fixed (UInt16* puRed_ptr = puRed) @@ -5114,24 +5827,7 @@ namespace OpenTK.Platform.Windows fixed (UInt16* puBlue_ptr = puBlue) { Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); - puGreen = *puGreen_ptr; - return retval; - } - } - } - - public static - Boolean GetGammaTable(IntPtr hDC, int iEntries, [In, Out] Int16[] puRed, [Out] out Int16 puGreen, [In, Out] Int16[] puBlue) - { - puGreen = default(Int16); - unsafe - { - fixed (Int16* puRed_ptr = puRed) - fixed (Int16* puGreen_ptr = &puGreen) - fixed (Int16* puBlue_ptr = puBlue) - { - Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); - puGreen = *puGreen_ptr; + puGreen = *puGreen_ptr; return retval; } } @@ -5139,10 +5835,8 @@ namespace OpenTK.Platform.Windows [System.CLSCompliant(false)] public static - Boolean GetGammaTable(IntPtr hDC, int iEntries, [In, Out] UInt16[] puRed, [Out] out UInt16 puGreen, [Out] out UInt16 puBlue) + Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] UInt16[] puRed, [Out] out UInt16 puGreen, [Out] out UInt16 puBlue) { - puGreen = default(UInt16); - puBlue = default(UInt16); unsafe { fixed (UInt16* puRed_ptr = puRed) @@ -5150,27 +5844,8 @@ namespace OpenTK.Platform.Windows fixed (UInt16* puBlue_ptr = &puBlue) { Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); - puGreen = *puGreen_ptr; - puBlue = *puBlue_ptr; - return retval; - } - } - } - - public static - Boolean GetGammaTable(IntPtr hDC, int iEntries, [In, Out] Int16[] puRed, [Out] out Int16 puGreen, [Out] out Int16 puBlue) - { - puGreen = default(Int16); - puBlue = default(Int16); - unsafe - { - fixed (Int16* puRed_ptr = puRed) - fixed (Int16* puGreen_ptr = &puGreen) - fixed (Int16* puBlue_ptr = &puBlue) - { - Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); - puGreen = *puGreen_ptr; - puBlue = *puBlue_ptr; + puGreen = *puGreen_ptr; + puBlue = *puBlue_ptr; return retval; } } @@ -5180,131 +5855,70 @@ namespace OpenTK.Platform.Windows public static unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] out UInt16 puRed, [Out] UInt16* puGreen, [Out] UInt16* puBlue) { - puRed = default(UInt16); - puGreen = default(UInt16*); - puBlue = default(UInt16*); + unsafe + { fixed (UInt16* puRed_ptr = &puRed) { Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen, (UInt16*)puBlue); - puRed = *puRed_ptr; + puRed = *puRed_ptr; return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] out Int16 puRed, [Out] Int16* puGreen, [Out] Int16* puBlue) + unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] out UInt16 puRed, [Out] UInt16* puGreen, [Out] UInt16[] puBlue) { - puRed = default(Int16); - puGreen = default(Int16*); - puBlue = default(Int16*); - fixed (Int16* puRed_ptr = &puRed) - { - Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen, (UInt16*)puBlue); - puRed = *puRed_ptr; - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] out UInt16 puRed, [Out] UInt16* puGreen, [In, Out] UInt16[] puBlue) - { - puRed = default(UInt16); - puGreen = default(UInt16*); + unsafe + { fixed (UInt16* puRed_ptr = &puRed) fixed (UInt16* puBlue_ptr = puBlue) { Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen, (UInt16*)puBlue_ptr); - puRed = *puRed_ptr; - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] out Int16 puRed, [Out] Int16* puGreen, [In, Out] Int16[] puBlue) - { - puRed = default(Int16); - puGreen = default(Int16*); - fixed (Int16* puRed_ptr = &puRed) - fixed (Int16* puBlue_ptr = puBlue) - { - Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen, (UInt16*)puBlue_ptr); - puRed = *puRed_ptr; + puRed = *puRed_ptr; return retval; } + } } [System.CLSCompliant(false)] public static unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] out UInt16 puRed, [Out] UInt16* puGreen, [Out] out UInt16 puBlue) { - puRed = default(UInt16); - puGreen = default(UInt16*); - puBlue = default(UInt16); + unsafe + { fixed (UInt16* puRed_ptr = &puRed) fixed (UInt16* puBlue_ptr = &puBlue) { Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen, (UInt16*)puBlue_ptr); - puRed = *puRed_ptr; - puBlue = *puBlue_ptr; + puRed = *puRed_ptr; + puBlue = *puBlue_ptr; return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] out Int16 puRed, [Out] Int16* puGreen, [Out] out Int16 puBlue) + unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] out UInt16 puRed, [Out] UInt16[] puGreen, [Out] UInt16* puBlue) { - puRed = default(Int16); - puGreen = default(Int16*); - puBlue = default(Int16); - fixed (Int16* puRed_ptr = &puRed) - fixed (Int16* puBlue_ptr = &puBlue) - { - Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen, (UInt16*)puBlue_ptr); - puRed = *puRed_ptr; - puBlue = *puBlue_ptr; - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] out UInt16 puRed, [In, Out] UInt16[] puGreen, [Out] UInt16* puBlue) - { - puRed = default(UInt16); - puBlue = default(UInt16*); + unsafe + { fixed (UInt16* puRed_ptr = &puRed) fixed (UInt16* puGreen_ptr = puGreen) { Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue); - puRed = *puRed_ptr; + puRed = *puRed_ptr; return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] out Int16 puRed, [In, Out] Int16[] puGreen, [Out] Int16* puBlue) + Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] out UInt16 puRed, [Out] UInt16[] puGreen, [Out] UInt16[] puBlue) { - puRed = default(Int16); - puBlue = default(Int16*); - fixed (Int16* puRed_ptr = &puRed) - fixed (Int16* puGreen_ptr = puGreen) - { - Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue); - puRed = *puRed_ptr; - return retval; - } - } - - [System.CLSCompliant(false)] - public static - Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] out UInt16 puRed, [In, Out] UInt16[] puGreen, [In, Out] UInt16[] puBlue) - { - puRed = default(UInt16); unsafe { fixed (UInt16* puRed_ptr = &puRed) @@ -5312,24 +5926,7 @@ namespace OpenTK.Platform.Windows fixed (UInt16* puBlue_ptr = puBlue) { Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); - puRed = *puRed_ptr; - return retval; - } - } - } - - public static - Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] out Int16 puRed, [In, Out] Int16[] puGreen, [In, Out] Int16[] puBlue) - { - puRed = default(Int16); - unsafe - { - fixed (Int16* puRed_ptr = &puRed) - fixed (Int16* puGreen_ptr = puGreen) - fixed (Int16* puBlue_ptr = puBlue) - { - Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); - puRed = *puRed_ptr; + puRed = *puRed_ptr; return retval; } } @@ -5337,10 +5934,8 @@ namespace OpenTK.Platform.Windows [System.CLSCompliant(false)] public static - Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] out UInt16 puRed, [In, Out] UInt16[] puGreen, [Out] out UInt16 puBlue) + Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] out UInt16 puRed, [Out] UInt16[] puGreen, [Out] out UInt16 puBlue) { - puRed = default(UInt16); - puBlue = default(UInt16); unsafe { fixed (UInt16* puRed_ptr = &puRed) @@ -5348,27 +5943,8 @@ namespace OpenTK.Platform.Windows fixed (UInt16* puBlue_ptr = &puBlue) { Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); - puRed = *puRed_ptr; - puBlue = *puBlue_ptr; - return retval; - } - } - } - - public static - Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] out Int16 puRed, [In, Out] Int16[] puGreen, [Out] out Int16 puBlue) - { - puRed = default(Int16); - puBlue = default(Int16); - unsafe - { - fixed (Int16* puRed_ptr = &puRed) - fixed (Int16* puGreen_ptr = puGreen) - fixed (Int16* puBlue_ptr = &puBlue) - { - Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); - puRed = *puRed_ptr; - puBlue = *puBlue_ptr; + puRed = *puRed_ptr; + puBlue = *puBlue_ptr; return retval; } } @@ -5378,42 +5954,23 @@ namespace OpenTK.Platform.Windows public static unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] out UInt16 puRed, [Out] out UInt16 puGreen, [Out] UInt16* puBlue) { - puRed = default(UInt16); - puGreen = default(UInt16); - puBlue = default(UInt16*); + unsafe + { fixed (UInt16* puRed_ptr = &puRed) fixed (UInt16* puGreen_ptr = &puGreen) { Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue); - puRed = *puRed_ptr; - puGreen = *puGreen_ptr; + puRed = *puRed_ptr; + puGreen = *puGreen_ptr; return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] out Int16 puRed, [Out] out Int16 puGreen, [Out] Int16* puBlue) + Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] out UInt16 puRed, [Out] out UInt16 puGreen, [Out] UInt16[] puBlue) { - puRed = default(Int16); - puGreen = default(Int16); - puBlue = default(Int16*); - fixed (Int16* puRed_ptr = &puRed) - fixed (Int16* puGreen_ptr = &puGreen) - { - Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue); - puRed = *puRed_ptr; - puGreen = *puGreen_ptr; - return retval; - } - } - - [System.CLSCompliant(false)] - public static - Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] out UInt16 puRed, [Out] out UInt16 puGreen, [In, Out] UInt16[] puBlue) - { - puRed = default(UInt16); - puGreen = default(UInt16); unsafe { fixed (UInt16* puRed_ptr = &puRed) @@ -5421,27 +5978,8 @@ namespace OpenTK.Platform.Windows fixed (UInt16* puBlue_ptr = puBlue) { Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); - puRed = *puRed_ptr; - puGreen = *puGreen_ptr; - return retval; - } - } - } - - public static - Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] out Int16 puRed, [Out] out Int16 puGreen, [In, Out] Int16[] puBlue) - { - puRed = default(Int16); - puGreen = default(Int16); - unsafe - { - fixed (Int16* puRed_ptr = &puRed) - fixed (Int16* puGreen_ptr = &puGreen) - fixed (Int16* puBlue_ptr = puBlue) - { - Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); - puRed = *puRed_ptr; - puGreen = *puGreen_ptr; + puRed = *puRed_ptr; + puGreen = *puGreen_ptr; return retval; } } @@ -5451,9 +5989,6 @@ namespace OpenTK.Platform.Windows public static Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] out UInt16 puRed, [Out] out UInt16 puGreen, [Out] out UInt16 puBlue) { - puRed = default(UInt16); - puGreen = default(UInt16); - puBlue = default(UInt16); unsafe { fixed (UInt16* puRed_ptr = &puRed) @@ -5461,30 +5996,9 @@ namespace OpenTK.Platform.Windows fixed (UInt16* puBlue_ptr = &puBlue) { Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); - puRed = *puRed_ptr; - puGreen = *puGreen_ptr; - puBlue = *puBlue_ptr; - return retval; - } - } - } - - public static - Boolean GetGammaTable(IntPtr hDC, int iEntries, [Out] out Int16 puRed, [Out] out Int16 puGreen, [Out] out Int16 puBlue) - { - puRed = default(Int16); - puGreen = default(Int16); - puBlue = default(Int16); - unsafe - { - fixed (Int16* puRed_ptr = &puRed) - fixed (Int16* puGreen_ptr = &puGreen) - fixed (Int16* puBlue_ptr = &puBlue) - { - Boolean retval = Delegates.wglGetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); - puRed = *puRed_ptr; - puGreen = *puGreen_ptr; - puBlue = *puBlue_ptr; + puRed = *puRed_ptr; + puGreen = *puGreen_ptr; + puBlue = *puBlue_ptr; return retval; } } @@ -5501,293 +6015,191 @@ namespace OpenTK.Platform.Windows public static unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, Int16* puRed, Int16* puGreen, Int16* puBlue) { - { - Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen, (UInt16*)puBlue); - return retval; - } + unsafe + { + Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen, (UInt16*)puBlue); + return retval; + } } [System.CLSCompliant(false)] public static - unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, UInt16* puRed, UInt16* puGreen, [In, Out] UInt16[] puBlue) + unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, UInt16* puRed, UInt16* puGreen, UInt16[] puBlue) { + unsafe + { fixed (UInt16* puBlue_ptr = puBlue) { Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen, (UInt16*)puBlue_ptr); return retval; } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, Int16* puRed, Int16* puGreen, [In, Out] Int16[] puBlue) - { - fixed (Int16* puBlue_ptr = puBlue) - { - Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen, (UInt16*)puBlue_ptr); - return retval; - } + } } [System.CLSCompliant(false)] public static unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, UInt16* puRed, UInt16* puGreen, ref UInt16 puBlue) { + unsafe + { fixed (UInt16* puBlue_ptr = &puBlue) { Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen, (UInt16*)puBlue_ptr); return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, Int16* puRed, Int16* puGreen, ref Int16 puBlue) - { - fixed (Int16* puBlue_ptr = &puBlue) - { - Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen, (UInt16*)puBlue_ptr); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, UInt16* puRed, [In, Out] UInt16[] puGreen, UInt16* puBlue) + unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, UInt16* puRed, UInt16[] puGreen, UInt16* puBlue) { + unsafe + { fixed (UInt16* puGreen_ptr = puGreen) { Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen_ptr, (UInt16*)puBlue); return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, Int16* puRed, [In, Out] Int16[] puGreen, Int16* puBlue) - { - fixed (Int16* puGreen_ptr = puGreen) - { - Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen_ptr, (UInt16*)puBlue); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, UInt16* puRed, [In, Out] UInt16[] puGreen, [In, Out] UInt16[] puBlue) + unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, UInt16* puRed, UInt16[] puGreen, UInt16[] puBlue) { + unsafe + { fixed (UInt16* puGreen_ptr = puGreen) fixed (UInt16* puBlue_ptr = puBlue) { Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, Int16* puRed, [In, Out] Int16[] puGreen, [In, Out] Int16[] puBlue) - { - fixed (Int16* puGreen_ptr = puGreen) - fixed (Int16* puBlue_ptr = puBlue) - { - Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, UInt16* puRed, [In, Out] UInt16[] puGreen, ref UInt16 puBlue) + unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, UInt16* puRed, UInt16[] puGreen, ref UInt16 puBlue) { + unsafe + { fixed (UInt16* puGreen_ptr = puGreen) fixed (UInt16* puBlue_ptr = &puBlue) { Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); return retval; } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, Int16* puRed, [In, Out] Int16[] puGreen, ref Int16 puBlue) - { - fixed (Int16* puGreen_ptr = puGreen) - fixed (Int16* puBlue_ptr = &puBlue) - { - Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); - return retval; - } + } } [System.CLSCompliant(false)] public static unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, UInt16* puRed, ref UInt16 puGreen, UInt16* puBlue) { + unsafe + { fixed (UInt16* puGreen_ptr = &puGreen) { Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen_ptr, (UInt16*)puBlue); return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, Int16* puRed, ref Int16 puGreen, Int16* puBlue) - { - fixed (Int16* puGreen_ptr = &puGreen) - { - Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen_ptr, (UInt16*)puBlue); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, UInt16* puRed, ref UInt16 puGreen, [In, Out] UInt16[] puBlue) + unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, UInt16* puRed, ref UInt16 puGreen, UInt16[] puBlue) { + unsafe + { fixed (UInt16* puGreen_ptr = &puGreen) fixed (UInt16* puBlue_ptr = puBlue) { Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); return retval; } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, Int16* puRed, ref Int16 puGreen, [In, Out] Int16[] puBlue) - { - fixed (Int16* puGreen_ptr = &puGreen) - fixed (Int16* puBlue_ptr = puBlue) - { - Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); - return retval; - } + } } [System.CLSCompliant(false)] public static unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, UInt16* puRed, ref UInt16 puGreen, ref UInt16 puBlue) { + unsafe + { fixed (UInt16* puGreen_ptr = &puGreen) fixed (UInt16* puBlue_ptr = &puBlue) { Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, Int16* puRed, ref Int16 puGreen, ref Int16 puBlue) - { - fixed (Int16* puGreen_ptr = &puGreen) - fixed (Int16* puBlue_ptr = &puBlue) - { - Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, [In, Out] UInt16[] puRed, UInt16* puGreen, UInt16* puBlue) + unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, UInt16[] puRed, UInt16* puGreen, UInt16* puBlue) { + unsafe + { fixed (UInt16* puRed_ptr = puRed) { Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen, (UInt16*)puBlue); return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, [In, Out] Int16[] puRed, Int16* puGreen, Int16* puBlue) - { - fixed (Int16* puRed_ptr = puRed) - { - Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen, (UInt16*)puBlue); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, [In, Out] UInt16[] puRed, UInt16* puGreen, [In, Out] UInt16[] puBlue) + unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, UInt16[] puRed, UInt16* puGreen, UInt16[] puBlue) { + unsafe + { fixed (UInt16* puRed_ptr = puRed) fixed (UInt16* puBlue_ptr = puBlue) { Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen, (UInt16*)puBlue_ptr); return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, [In, Out] Int16[] puRed, Int16* puGreen, [In, Out] Int16[] puBlue) - { - fixed (Int16* puRed_ptr = puRed) - fixed (Int16* puBlue_ptr = puBlue) - { - Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen, (UInt16*)puBlue_ptr); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, [In, Out] UInt16[] puRed, UInt16* puGreen, ref UInt16 puBlue) + unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, UInt16[] puRed, UInt16* puGreen, ref UInt16 puBlue) { + unsafe + { fixed (UInt16* puRed_ptr = puRed) fixed (UInt16* puBlue_ptr = &puBlue) { Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen, (UInt16*)puBlue_ptr); return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, [In, Out] Int16[] puRed, Int16* puGreen, ref Int16 puBlue) - { - fixed (Int16* puRed_ptr = puRed) - fixed (Int16* puBlue_ptr = &puBlue) - { - Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen, (UInt16*)puBlue_ptr); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, [In, Out] UInt16[] puRed, [In, Out] UInt16[] puGreen, UInt16* puBlue) + unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, UInt16[] puRed, UInt16[] puGreen, UInt16* puBlue) { + unsafe + { fixed (UInt16* puRed_ptr = puRed) fixed (UInt16* puGreen_ptr = puGreen) { Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue); return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, [In, Out] Int16[] puRed, [In, Out] Int16[] puGreen, Int16* puBlue) - { - fixed (Int16* puRed_ptr = puRed) - fixed (Int16* puGreen_ptr = puGreen) - { - Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - Boolean SetGammaTable(IntPtr hDC, int iEntries, [In, Out] UInt16[] puRed, [In, Out] UInt16[] puGreen, [In, Out] UInt16[] puBlue) + Boolean SetGammaTable(IntPtr hDC, int iEntries, UInt16[] puRed, UInt16[] puGreen, UInt16[] puBlue) { unsafe { @@ -5801,24 +6213,9 @@ namespace OpenTK.Platform.Windows } } - public static - Boolean SetGammaTable(IntPtr hDC, int iEntries, [In, Out] Int16[] puRed, [In, Out] Int16[] puGreen, [In, Out] Int16[] puBlue) - { - unsafe - { - fixed (Int16* puRed_ptr = puRed) - fixed (Int16* puGreen_ptr = puGreen) - fixed (Int16* puBlue_ptr = puBlue) - { - Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); - return retval; - } - } - } - [System.CLSCompliant(false)] public static - Boolean SetGammaTable(IntPtr hDC, int iEntries, [In, Out] UInt16[] puRed, [In, Out] UInt16[] puGreen, ref UInt16 puBlue) + Boolean SetGammaTable(IntPtr hDC, int iEntries, UInt16[] puRed, UInt16[] puGreen, ref UInt16 puBlue) { unsafe { @@ -5832,16 +6229,16 @@ namespace OpenTK.Platform.Windows } } + [System.CLSCompliant(false)] public static - Boolean SetGammaTable(IntPtr hDC, int iEntries, [In, Out] Int16[] puRed, [In, Out] Int16[] puGreen, ref Int16 puBlue) + unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, UInt16[] puRed, ref UInt16 puGreen, UInt16* puBlue) { unsafe { - fixed (Int16* puRed_ptr = puRed) - fixed (Int16* puGreen_ptr = puGreen) - fixed (Int16* puBlue_ptr = &puBlue) + fixed (UInt16* puRed_ptr = puRed) + fixed (UInt16* puGreen_ptr = &puGreen) { - Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); + Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue); return retval; } } @@ -5849,31 +6246,7 @@ namespace OpenTK.Platform.Windows [System.CLSCompliant(false)] public static - unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, [In, Out] UInt16[] puRed, ref UInt16 puGreen, UInt16* puBlue) - { - fixed (UInt16* puRed_ptr = puRed) - fixed (UInt16* puGreen_ptr = &puGreen) - { - Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, [In, Out] Int16[] puRed, ref Int16 puGreen, Int16* puBlue) - { - fixed (Int16* puRed_ptr = puRed) - fixed (Int16* puGreen_ptr = &puGreen) - { - Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - Boolean SetGammaTable(IntPtr hDC, int iEntries, [In, Out] UInt16[] puRed, ref UInt16 puGreen, [In, Out] UInt16[] puBlue) + Boolean SetGammaTable(IntPtr hDC, int iEntries, UInt16[] puRed, ref UInt16 puGreen, UInt16[] puBlue) { unsafe { @@ -5887,24 +6260,9 @@ namespace OpenTK.Platform.Windows } } - public static - Boolean SetGammaTable(IntPtr hDC, int iEntries, [In, Out] Int16[] puRed, ref Int16 puGreen, [In, Out] Int16[] puBlue) - { - unsafe - { - fixed (Int16* puRed_ptr = puRed) - fixed (Int16* puGreen_ptr = &puGreen) - fixed (Int16* puBlue_ptr = puBlue) - { - Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); - return retval; - } - } - } - [System.CLSCompliant(false)] public static - Boolean SetGammaTable(IntPtr hDC, int iEntries, [In, Out] UInt16[] puRed, ref UInt16 puGreen, ref UInt16 puBlue) + Boolean SetGammaTable(IntPtr hDC, int iEntries, UInt16[] puRed, ref UInt16 puGreen, ref UInt16 puBlue) { unsafe { @@ -5918,118 +6276,68 @@ namespace OpenTK.Platform.Windows } } - public static - Boolean SetGammaTable(IntPtr hDC, int iEntries, [In, Out] Int16[] puRed, ref Int16 puGreen, ref Int16 puBlue) - { - unsafe - { - fixed (Int16* puRed_ptr = puRed) - fixed (Int16* puGreen_ptr = &puGreen) - fixed (Int16* puBlue_ptr = &puBlue) - { - Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); - return retval; - } - } - } - [System.CLSCompliant(false)] public static unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, ref UInt16 puRed, UInt16* puGreen, UInt16* puBlue) { + unsafe + { fixed (UInt16* puRed_ptr = &puRed) { Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen, (UInt16*)puBlue); return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, ref Int16 puRed, Int16* puGreen, Int16* puBlue) - { - fixed (Int16* puRed_ptr = &puRed) - { - Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen, (UInt16*)puBlue); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, ref UInt16 puRed, UInt16* puGreen, [In, Out] UInt16[] puBlue) + unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, ref UInt16 puRed, UInt16* puGreen, UInt16[] puBlue) { + unsafe + { fixed (UInt16* puRed_ptr = &puRed) fixed (UInt16* puBlue_ptr = puBlue) { Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen, (UInt16*)puBlue_ptr); return retval; } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, ref Int16 puRed, Int16* puGreen, [In, Out] Int16[] puBlue) - { - fixed (Int16* puRed_ptr = &puRed) - fixed (Int16* puBlue_ptr = puBlue) - { - Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen, (UInt16*)puBlue_ptr); - return retval; - } + } } [System.CLSCompliant(false)] public static unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, ref UInt16 puRed, UInt16* puGreen, ref UInt16 puBlue) { + unsafe + { fixed (UInt16* puRed_ptr = &puRed) fixed (UInt16* puBlue_ptr = &puBlue) { Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen, (UInt16*)puBlue_ptr); return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, ref Int16 puRed, Int16* puGreen, ref Int16 puBlue) - { - fixed (Int16* puRed_ptr = &puRed) - fixed (Int16* puBlue_ptr = &puBlue) - { - Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen, (UInt16*)puBlue_ptr); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, ref UInt16 puRed, [In, Out] UInt16[] puGreen, UInt16* puBlue) + unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, ref UInt16 puRed, UInt16[] puGreen, UInt16* puBlue) { + unsafe + { fixed (UInt16* puRed_ptr = &puRed) fixed (UInt16* puGreen_ptr = puGreen) { Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue); return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, ref Int16 puRed, [In, Out] Int16[] puGreen, Int16* puBlue) - { - fixed (Int16* puRed_ptr = &puRed) - fixed (Int16* puGreen_ptr = puGreen) - { - Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - Boolean SetGammaTable(IntPtr hDC, int iEntries, ref UInt16 puRed, [In, Out] UInt16[] puGreen, [In, Out] UInt16[] puBlue) + Boolean SetGammaTable(IntPtr hDC, int iEntries, ref UInt16 puRed, UInt16[] puGreen, UInt16[] puBlue) { unsafe { @@ -6043,24 +6351,9 @@ namespace OpenTK.Platform.Windows } } - public static - Boolean SetGammaTable(IntPtr hDC, int iEntries, ref Int16 puRed, [In, Out] Int16[] puGreen, [In, Out] Int16[] puBlue) - { - unsafe - { - fixed (Int16* puRed_ptr = &puRed) - fixed (Int16* puGreen_ptr = puGreen) - fixed (Int16* puBlue_ptr = puBlue) - { - Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); - return retval; - } - } - } - [System.CLSCompliant(false)] public static - Boolean SetGammaTable(IntPtr hDC, int iEntries, ref UInt16 puRed, [In, Out] UInt16[] puGreen, ref UInt16 puBlue) + Boolean SetGammaTable(IntPtr hDC, int iEntries, ref UInt16 puRed, UInt16[] puGreen, ref UInt16 puBlue) { unsafe { @@ -6074,48 +6367,24 @@ namespace OpenTK.Platform.Windows } } - public static - Boolean SetGammaTable(IntPtr hDC, int iEntries, ref Int16 puRed, [In, Out] Int16[] puGreen, ref Int16 puBlue) - { - unsafe - { - fixed (Int16* puRed_ptr = &puRed) - fixed (Int16* puGreen_ptr = puGreen) - fixed (Int16* puBlue_ptr = &puBlue) - { - Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); - return retval; - } - } - } - [System.CLSCompliant(false)] public static unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, ref UInt16 puRed, ref UInt16 puGreen, UInt16* puBlue) { + unsafe + { fixed (UInt16* puRed_ptr = &puRed) fixed (UInt16* puGreen_ptr = &puGreen) { Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue); return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean SetGammaTable(IntPtr hDC, int iEntries, ref Int16 puRed, ref Int16 puGreen, Int16* puBlue) - { - fixed (Int16* puRed_ptr = &puRed) - fixed (Int16* puGreen_ptr = &puGreen) - { - Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - Boolean SetGammaTable(IntPtr hDC, int iEntries, ref UInt16 puRed, ref UInt16 puGreen, [In, Out] UInt16[] puBlue) + Boolean SetGammaTable(IntPtr hDC, int iEntries, ref UInt16 puRed, ref UInt16 puGreen, UInt16[] puBlue) { unsafe { @@ -6129,21 +6398,6 @@ namespace OpenTK.Platform.Windows } } - public static - Boolean SetGammaTable(IntPtr hDC, int iEntries, ref Int16 puRed, ref Int16 puGreen, [In, Out] Int16[] puBlue) - { - unsafe - { - fixed (Int16* puRed_ptr = &puRed) - fixed (Int16* puGreen_ptr = &puGreen) - fixed (Int16* puBlue_ptr = puBlue) - { - Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); - return retval; - } - } - } - [System.CLSCompliant(false)] public static Boolean SetGammaTable(IntPtr hDC, int iEntries, ref UInt16 puRed, ref UInt16 puGreen, ref UInt16 puBlue) @@ -6160,21 +6414,6 @@ namespace OpenTK.Platform.Windows } } - public static - Boolean SetGammaTable(IntPtr hDC, int iEntries, ref Int16 puRed, ref Int16 puGreen, ref Int16 puBlue) - { - unsafe - { - fixed (Int16* puRed_ptr = &puRed) - fixed (Int16* puGreen_ptr = &puGreen) - fixed (Int16* puBlue_ptr = &puBlue) - { - Boolean retval = Delegates.wglSetGammaTableI3D((IntPtr)hDC, (int)iEntries, (UInt16*)puRed_ptr, (UInt16*)puGreen_ptr, (UInt16*)puBlue_ptr); - return retval; - } - } - } - public static Boolean EnableGenlock(IntPtr hDC) { @@ -6187,10 +6426,11 @@ namespace OpenTK.Platform.Windows return Delegates.wglDisableGenlockI3D((IntPtr)hDC); } + [System.CLSCompliant(false)] public static - Boolean IsEnabledGenlock(IntPtr hDC, [Out] Boolean pFlag) + unsafe Boolean IsEnabledGenlock(IntPtr hDC, [Out] Boolean* pFlag) { - return Delegates.wglIsEnabledGenlockI3D((IntPtr)hDC, (Boolean)pFlag); + unsafe { return Delegates.wglIsEnabledGenlockI3D((IntPtr)hDC, (Boolean*)pFlag); } } [System.CLSCompliant(false)] @@ -6208,15 +6448,49 @@ namespace OpenTK.Platform.Windows [System.CLSCompliant(false)] public static - Boolean GetGenlockSource(IntPtr hDC, [Out] UInt32 uSource) + unsafe Boolean GetGenlockSource(IntPtr hDC, [Out] UInt32* uSource) { - return Delegates.wglGetGenlockSourceI3D((IntPtr)hDC, (UInt32)uSource); + unsafe { return Delegates.wglGetGenlockSourceI3D((IntPtr)hDC, (UInt32*)uSource); } } + [System.CLSCompliant(false)] public static - Boolean GetGenlockSource(IntPtr hDC, [Out] Int32 uSource) + unsafe Boolean GetGenlockSource(IntPtr hDC, [Out] Int32* uSource) { - return Delegates.wglGetGenlockSourceI3D((IntPtr)hDC, (UInt32)uSource); + unsafe + { + Boolean retval = Delegates.wglGetGenlockSourceI3D((IntPtr)hDC, (UInt32*)uSource); + return retval; + } + } + + [System.CLSCompliant(false)] + public static + Boolean GetGenlockSource(IntPtr hDC, [Out] UInt32[] uSource) + { + unsafe + { + fixed (UInt32* uSource_ptr = uSource) + { + Boolean retval = Delegates.wglGetGenlockSourceI3D((IntPtr)hDC, (UInt32*)uSource_ptr); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + Boolean GetGenlockSource(IntPtr hDC, [Out] out UInt32 uSource) + { + unsafe + { + fixed (UInt32* uSource_ptr = &uSource) + { + Boolean retval = Delegates.wglGetGenlockSourceI3D((IntPtr)hDC, (UInt32*)uSource_ptr); + uSource = *uSource_ptr; + return retval; + } + } } [System.CLSCompliant(false)] @@ -6234,15 +6508,49 @@ namespace OpenTK.Platform.Windows [System.CLSCompliant(false)] public static - Boolean GetGenlockSourceEdge(IntPtr hDC, [Out] UInt32 uEdge) + unsafe Boolean GetGenlockSourceEdge(IntPtr hDC, [Out] UInt32* uEdge) { - return Delegates.wglGetGenlockSourceEdgeI3D((IntPtr)hDC, (UInt32)uEdge); + unsafe { return Delegates.wglGetGenlockSourceEdgeI3D((IntPtr)hDC, (UInt32*)uEdge); } } + [System.CLSCompliant(false)] public static - Boolean GetGenlockSourceEdge(IntPtr hDC, [Out] Int32 uEdge) + unsafe Boolean GetGenlockSourceEdge(IntPtr hDC, [Out] Int32* uEdge) { - return Delegates.wglGetGenlockSourceEdgeI3D((IntPtr)hDC, (UInt32)uEdge); + unsafe + { + Boolean retval = Delegates.wglGetGenlockSourceEdgeI3D((IntPtr)hDC, (UInt32*)uEdge); + return retval; + } + } + + [System.CLSCompliant(false)] + public static + Boolean GetGenlockSourceEdge(IntPtr hDC, [Out] UInt32[] uEdge) + { + unsafe + { + fixed (UInt32* uEdge_ptr = uEdge) + { + Boolean retval = Delegates.wglGetGenlockSourceEdgeI3D((IntPtr)hDC, (UInt32*)uEdge_ptr); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + Boolean GetGenlockSourceEdge(IntPtr hDC, [Out] out UInt32 uEdge) + { + unsafe + { + fixed (UInt32* uEdge_ptr = &uEdge) + { + Boolean retval = Delegates.wglGetGenlockSourceEdgeI3D((IntPtr)hDC, (UInt32*)uEdge_ptr); + uEdge = *uEdge_ptr; + return retval; + } + } } [System.CLSCompliant(false)] @@ -6260,15 +6568,49 @@ namespace OpenTK.Platform.Windows [System.CLSCompliant(false)] public static - Boolean GetGenlockSampleRate(IntPtr hDC, [Out] UInt32 uRate) + unsafe Boolean GetGenlockSampleRate(IntPtr hDC, [Out] UInt32* uRate) { - return Delegates.wglGetGenlockSampleRateI3D((IntPtr)hDC, (UInt32)uRate); + unsafe { return Delegates.wglGetGenlockSampleRateI3D((IntPtr)hDC, (UInt32*)uRate); } } + [System.CLSCompliant(false)] public static - Boolean GetGenlockSampleRate(IntPtr hDC, [Out] Int32 uRate) + unsafe Boolean GetGenlockSampleRate(IntPtr hDC, [Out] Int32* uRate) { - return Delegates.wglGetGenlockSampleRateI3D((IntPtr)hDC, (UInt32)uRate); + unsafe + { + Boolean retval = Delegates.wglGetGenlockSampleRateI3D((IntPtr)hDC, (UInt32*)uRate); + return retval; + } + } + + [System.CLSCompliant(false)] + public static + Boolean GetGenlockSampleRate(IntPtr hDC, [Out] UInt32[] uRate) + { + unsafe + { + fixed (UInt32* uRate_ptr = uRate) + { + Boolean retval = Delegates.wglGetGenlockSampleRateI3D((IntPtr)hDC, (UInt32*)uRate_ptr); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + Boolean GetGenlockSampleRate(IntPtr hDC, [Out] out UInt32 uRate) + { + unsafe + { + fixed (UInt32* uRate_ptr = &uRate) + { + Boolean retval = Delegates.wglGetGenlockSampleRateI3D((IntPtr)hDC, (UInt32*)uRate_ptr); + uRate = *uRate_ptr; + return retval; + } + } } [System.CLSCompliant(false)] @@ -6286,28 +6628,189 @@ namespace OpenTK.Platform.Windows [System.CLSCompliant(false)] public static - Boolean GetGenlockSourceDelay(IntPtr hDC, [Out] UInt32 uDelay) + unsafe Boolean GetGenlockSourceDelay(IntPtr hDC, [Out] UInt32* uDelay) { - return Delegates.wglGetGenlockSourceDelayI3D((IntPtr)hDC, (UInt32)uDelay); - } - - public static - Boolean GetGenlockSourceDelay(IntPtr hDC, [Out] Int32 uDelay) - { - return Delegates.wglGetGenlockSourceDelayI3D((IntPtr)hDC, (UInt32)uDelay); + unsafe { return Delegates.wglGetGenlockSourceDelayI3D((IntPtr)hDC, (UInt32*)uDelay); } } [System.CLSCompliant(false)] public static - Boolean QueryGenlockMaxSourceDelay(IntPtr hDC, [Out] UInt32 uMaxLineDelay, [Out] UInt32 uMaxPixelDelay) + unsafe Boolean GetGenlockSourceDelay(IntPtr hDC, [Out] Int32* uDelay) { - return Delegates.wglQueryGenlockMaxSourceDelayI3D((IntPtr)hDC, (UInt32)uMaxLineDelay, (UInt32)uMaxPixelDelay); + unsafe + { + Boolean retval = Delegates.wglGetGenlockSourceDelayI3D((IntPtr)hDC, (UInt32*)uDelay); + return retval; + } } + [System.CLSCompliant(false)] public static - Boolean QueryGenlockMaxSourceDelay(IntPtr hDC, [Out] Int32 uMaxLineDelay, [Out] Int32 uMaxPixelDelay) + Boolean GetGenlockSourceDelay(IntPtr hDC, [Out] UInt32[] uDelay) { - return Delegates.wglQueryGenlockMaxSourceDelayI3D((IntPtr)hDC, (UInt32)uMaxLineDelay, (UInt32)uMaxPixelDelay); + unsafe + { + fixed (UInt32* uDelay_ptr = uDelay) + { + Boolean retval = Delegates.wglGetGenlockSourceDelayI3D((IntPtr)hDC, (UInt32*)uDelay_ptr); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + Boolean GetGenlockSourceDelay(IntPtr hDC, [Out] out UInt32 uDelay) + { + unsafe + { + fixed (UInt32* uDelay_ptr = &uDelay) + { + Boolean retval = Delegates.wglGetGenlockSourceDelayI3D((IntPtr)hDC, (UInt32*)uDelay_ptr); + uDelay = *uDelay_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean QueryGenlockMaxSourceDelay(IntPtr hDC, [Out] UInt32* uMaxLineDelay, [Out] UInt32* uMaxPixelDelay) + { + unsafe { return Delegates.wglQueryGenlockMaxSourceDelayI3D((IntPtr)hDC, (UInt32*)uMaxLineDelay, (UInt32*)uMaxPixelDelay); } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean QueryGenlockMaxSourceDelay(IntPtr hDC, [Out] Int32* uMaxLineDelay, [Out] Int32* uMaxPixelDelay) + { + unsafe + { + Boolean retval = Delegates.wglQueryGenlockMaxSourceDelayI3D((IntPtr)hDC, (UInt32*)uMaxLineDelay, (UInt32*)uMaxPixelDelay); + return retval; + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean QueryGenlockMaxSourceDelay(IntPtr hDC, [Out] UInt32* uMaxLineDelay, [Out] UInt32[] uMaxPixelDelay) + { + unsafe + { + fixed (UInt32* uMaxPixelDelay_ptr = uMaxPixelDelay) + { + Boolean retval = Delegates.wglQueryGenlockMaxSourceDelayI3D((IntPtr)hDC, (UInt32*)uMaxLineDelay, (UInt32*)uMaxPixelDelay_ptr); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean QueryGenlockMaxSourceDelay(IntPtr hDC, [Out] UInt32* uMaxLineDelay, [Out] out UInt32 uMaxPixelDelay) + { + unsafe + { + fixed (UInt32* uMaxPixelDelay_ptr = &uMaxPixelDelay) + { + Boolean retval = Delegates.wglQueryGenlockMaxSourceDelayI3D((IntPtr)hDC, (UInt32*)uMaxLineDelay, (UInt32*)uMaxPixelDelay_ptr); + uMaxPixelDelay = *uMaxPixelDelay_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean QueryGenlockMaxSourceDelay(IntPtr hDC, [Out] UInt32[] uMaxLineDelay, [Out] UInt32* uMaxPixelDelay) + { + unsafe + { + fixed (UInt32* uMaxLineDelay_ptr = uMaxLineDelay) + { + Boolean retval = Delegates.wglQueryGenlockMaxSourceDelayI3D((IntPtr)hDC, (UInt32*)uMaxLineDelay_ptr, (UInt32*)uMaxPixelDelay); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + Boolean QueryGenlockMaxSourceDelay(IntPtr hDC, [Out] UInt32[] uMaxLineDelay, [Out] UInt32[] uMaxPixelDelay) + { + unsafe + { + fixed (UInt32* uMaxLineDelay_ptr = uMaxLineDelay) + fixed (UInt32* uMaxPixelDelay_ptr = uMaxPixelDelay) + { + Boolean retval = Delegates.wglQueryGenlockMaxSourceDelayI3D((IntPtr)hDC, (UInt32*)uMaxLineDelay_ptr, (UInt32*)uMaxPixelDelay_ptr); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + Boolean QueryGenlockMaxSourceDelay(IntPtr hDC, [Out] UInt32[] uMaxLineDelay, [Out] out UInt32 uMaxPixelDelay) + { + unsafe + { + fixed (UInt32* uMaxLineDelay_ptr = uMaxLineDelay) + fixed (UInt32* uMaxPixelDelay_ptr = &uMaxPixelDelay) + { + Boolean retval = Delegates.wglQueryGenlockMaxSourceDelayI3D((IntPtr)hDC, (UInt32*)uMaxLineDelay_ptr, (UInt32*)uMaxPixelDelay_ptr); + uMaxPixelDelay = *uMaxPixelDelay_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean QueryGenlockMaxSourceDelay(IntPtr hDC, [Out] out UInt32 uMaxLineDelay, [Out] UInt32* uMaxPixelDelay) + { + unsafe + { + fixed (UInt32* uMaxLineDelay_ptr = &uMaxLineDelay) + { + Boolean retval = Delegates.wglQueryGenlockMaxSourceDelayI3D((IntPtr)hDC, (UInt32*)uMaxLineDelay_ptr, (UInt32*)uMaxPixelDelay); + uMaxLineDelay = *uMaxLineDelay_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + Boolean QueryGenlockMaxSourceDelay(IntPtr hDC, [Out] out UInt32 uMaxLineDelay, [Out] UInt32[] uMaxPixelDelay) + { + unsafe + { + fixed (UInt32* uMaxLineDelay_ptr = &uMaxLineDelay) + fixed (UInt32* uMaxPixelDelay_ptr = uMaxPixelDelay) + { + Boolean retval = Delegates.wglQueryGenlockMaxSourceDelayI3D((IntPtr)hDC, (UInt32*)uMaxLineDelay_ptr, (UInt32*)uMaxPixelDelay_ptr); + uMaxLineDelay = *uMaxLineDelay_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + Boolean QueryGenlockMaxSourceDelay(IntPtr hDC, [Out] out UInt32 uMaxLineDelay, [Out] out UInt32 uMaxPixelDelay) + { + unsafe + { + fixed (UInt32* uMaxLineDelay_ptr = &uMaxLineDelay) + fixed (UInt32* uMaxPixelDelay_ptr = &uMaxPixelDelay) + { + Boolean retval = Delegates.wglQueryGenlockMaxSourceDelayI3D((IntPtr)hDC, (UInt32*)uMaxLineDelay_ptr, (UInt32*)uMaxPixelDelay_ptr); + uMaxLineDelay = *uMaxLineDelay_ptr; + uMaxPixelDelay = *uMaxPixelDelay_ptr; + return retval; + } + } } [System.CLSCompliant(false)] @@ -6322,10 +6825,8 @@ namespace OpenTK.Platform.Windows { unsafe { - { - IntPtr retval = Delegates.wglCreateImageBufferI3D((IntPtr)hDC, (Int32)dwSize, (UInt32)uFlags); - return retval; - } + IntPtr retval = Delegates.wglCreateImageBufferI3D((IntPtr)hDC, (Int32)dwSize, (UInt32)uFlags); + return retval; } } @@ -6339,9 +6840,9 @@ namespace OpenTK.Platform.Windows public static Boolean DestroyImageBuffer(IntPtr hDC, [In, Out] object pAddress) { - System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); try { Boolean retval = Delegates.wglDestroyImageBufferI3D((IntPtr)hDC, (void*)pAddress_ptr.AddrOfPinnedObject()); @@ -6349,7 +6850,6 @@ namespace OpenTK.Platform.Windows } finally { - pAddress_ptr.Free(); } } } @@ -6365,61 +6865,48 @@ namespace OpenTK.Platform.Windows public static unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr* pEvent, void* pAddress, Int32* pSize, Int32 count) { - { - Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent, (void*)pAddress, (Int32*)pSize, (UInt32)count); - return retval; - } + unsafe + { + Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent, (void*)pAddress, (Int32*)pSize, (UInt32)count); + return retval; + } } [System.CLSCompliant(false)] public static - unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr* pEvent, void* pAddress, [In, Out] Int32[] pSize, UInt32 count) - { - fixed (Int32* pSize_ptr = pSize) - { - Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent, (void*)pAddress, (Int32*)pSize_ptr, (UInt32)count); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr* pEvent, void* pAddress, [In, Out] Int32[] pSize, Int32 count) + unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr* pEvent, void* pAddress, Int32[] pSize, UInt32 count) { + unsafe + { fixed (Int32* pSize_ptr = pSize) { Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent, (void*)pAddress, (Int32*)pSize_ptr, (UInt32)count); return retval; } + } } [System.CLSCompliant(false)] public static unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr* pEvent, void* pAddress, ref Int32 pSize, UInt32 count) { + unsafe + { fixed (Int32* pSize_ptr = &pSize) { Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent, (void*)pAddress, (Int32*)pSize_ptr, (UInt32)count); return retval; } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr* pEvent, void* pAddress, ref Int32 pSize, Int32 count) - { - fixed (Int32* pSize_ptr = &pSize) - { - Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent, (void*)pAddress, (Int32*)pSize_ptr, (UInt32)count); - return retval; - } + } } [System.CLSCompliant(false)] public static unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr* pEvent, [In, Out] object pAddress, Int32* pSize, UInt32 count) { - System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); + unsafe + { + System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); try { Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent, (void*)pAddress_ptr.AddrOfPinnedObject(), (Int32*)pSize, (UInt32)count); @@ -6427,276 +6914,157 @@ namespace OpenTK.Platform.Windows } finally { - pAddress_ptr.Free(); } + } } [System.CLSCompliant(false)] public static - unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr* pEvent, [In, Out] object pAddress, Int32* pSize, Int32 count) + unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr* pEvent, [In, Out] object pAddress, Int32[] pSize, UInt32 count) { - System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); - try - { - Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent, (void*)pAddress_ptr.AddrOfPinnedObject(), (Int32*)pSize, (UInt32)count); - return retval; - } - finally - { - pAddress_ptr.Free(); - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr* pEvent, [In, Out] object pAddress, [In, Out] Int32[] pSize, UInt32 count) - { - System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); + unsafe + { fixed (Int32* pSize_ptr = pSize) - try { - Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent, (void*)pAddress_ptr.AddrOfPinnedObject(), (Int32*)pSize_ptr, (UInt32)count); - return retval; - } - finally - { - pAddress_ptr.Free(); - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr* pEvent, [In, Out] object pAddress, [In, Out] Int32[] pSize, Int32 count) - { - System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); - fixed (Int32* pSize_ptr = pSize) - try - { - Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent, (void*)pAddress_ptr.AddrOfPinnedObject(), (Int32*)pSize_ptr, (UInt32)count); - return retval; - } - finally - { - pAddress_ptr.Free(); + System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); + try + { + Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent, (void*)pAddress_ptr.AddrOfPinnedObject(), (Int32*)pSize_ptr, (UInt32)count); + return retval; + } + finally + { + } } + } } [System.CLSCompliant(false)] public static unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr* pEvent, [In, Out] object pAddress, ref Int32 pSize, UInt32 count) { - System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); + unsafe + { fixed (Int32* pSize_ptr = &pSize) - try { - Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent, (void*)pAddress_ptr.AddrOfPinnedObject(), (Int32*)pSize_ptr, (UInt32)count); - return retval; - } - finally - { - pAddress_ptr.Free(); + System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); + try + { + Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent, (void*)pAddress_ptr.AddrOfPinnedObject(), (Int32*)pSize_ptr, (UInt32)count); + return retval; + } + finally + { + } } + } } [System.CLSCompliant(false)] public static - unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr* pEvent, [In, Out] object pAddress, ref Int32 pSize, Int32 count) - { - System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); - fixed (Int32* pSize_ptr = &pSize) - try - { - Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent, (void*)pAddress_ptr.AddrOfPinnedObject(), (Int32*)pSize_ptr, (UInt32)count); - return retval; - } - finally - { - pAddress_ptr.Free(); - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, [In, Out] IntPtr[] pEvent, void* pAddress, Int32* pSize, UInt32 count) + unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr[] pEvent, void* pAddress, Int32* pSize, UInt32 count) { + unsafe + { fixed (IntPtr* pEvent_ptr = pEvent) { Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (void*)pAddress, (Int32*)pSize, (UInt32)count); return retval; } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, [In, Out] IntPtr[] pEvent, void* pAddress, Int32* pSize, Int32 count) - { - fixed (IntPtr* pEvent_ptr = pEvent) - { - Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (void*)pAddress, (Int32*)pSize, (UInt32)count); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, [In, Out] IntPtr[] pEvent, void* pAddress, [In, Out] Int32[] pSize, UInt32 count) - { - fixed (IntPtr* pEvent_ptr = pEvent) - fixed (Int32* pSize_ptr = pSize) - { - Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (void*)pAddress, (Int32*)pSize_ptr, (UInt32)count); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, [In, Out] IntPtr[] pEvent, void* pAddress, [In, Out] Int32[] pSize, Int32 count) - { - fixed (IntPtr* pEvent_ptr = pEvent) - fixed (Int32* pSize_ptr = pSize) - { - Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (void*)pAddress, (Int32*)pSize_ptr, (UInt32)count); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, [In, Out] IntPtr[] pEvent, void* pAddress, ref Int32 pSize, UInt32 count) - { - fixed (IntPtr* pEvent_ptr = pEvent) - fixed (Int32* pSize_ptr = &pSize) - { - Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (void*)pAddress, (Int32*)pSize_ptr, (UInt32)count); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, [In, Out] IntPtr[] pEvent, void* pAddress, ref Int32 pSize, Int32 count) - { - fixed (IntPtr* pEvent_ptr = pEvent) - fixed (Int32* pSize_ptr = &pSize) - { - Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (void*)pAddress, (Int32*)pSize_ptr, (UInt32)count); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, [In, Out] IntPtr[] pEvent, [In, Out] object pAddress, Int32* pSize, UInt32 count) - { - System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); - fixed (IntPtr* pEvent_ptr = pEvent) - try - { - Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (void*)pAddress_ptr.AddrOfPinnedObject(), (Int32*)pSize, (UInt32)count); - return retval; - } - finally - { - pAddress_ptr.Free(); - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, [In, Out] IntPtr[] pEvent, [In, Out] object pAddress, Int32* pSize, Int32 count) - { - System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); - fixed (IntPtr* pEvent_ptr = pEvent) - try - { - Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (void*)pAddress_ptr.AddrOfPinnedObject(), (Int32*)pSize, (UInt32)count); - return retval; - } - finally - { - pAddress_ptr.Free(); - } - } - - [System.CLSCompliant(false)] - public static - Boolean AssociateImageBufferEvents(IntPtr hDC, [In, Out] IntPtr[] pEvent, [In, Out] object pAddress, [In, Out] Int32[] pSize, UInt32 count) - { - System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); - unsafe - { - fixed (IntPtr* pEvent_ptr = pEvent) - fixed (Int32* pSize_ptr = pSize) - try - { - Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (void*)pAddress_ptr.AddrOfPinnedObject(), (Int32*)pSize_ptr, (UInt32)count); - return retval; - } - finally - { - pAddress_ptr.Free(); - } } } + [System.CLSCompliant(false)] public static - Boolean AssociateImageBufferEvents(IntPtr hDC, [In, Out] IntPtr[] pEvent, [In, Out] object pAddress, [In, Out] Int32[] pSize, Int32 count) + unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr[] pEvent, void* pAddress, Int32[] pSize, UInt32 count) { - System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { fixed (IntPtr* pEvent_ptr = pEvent) fixed (Int32* pSize_ptr = pSize) - try { - Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (void*)pAddress_ptr.AddrOfPinnedObject(), (Int32*)pSize_ptr, (UInt32)count); + Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (void*)pAddress, (Int32*)pSize_ptr, (UInt32)count); return retval; } - finally - { - pAddress_ptr.Free(); - } } } [System.CLSCompliant(false)] public static - Boolean AssociateImageBufferEvents(IntPtr hDC, [In, Out] IntPtr[] pEvent, [In, Out] object pAddress, ref Int32 pSize, UInt32 count) + unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr[] pEvent, void* pAddress, ref Int32 pSize, UInt32 count) { - System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { fixed (IntPtr* pEvent_ptr = pEvent) fixed (Int32* pSize_ptr = &pSize) - try { - Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (void*)pAddress_ptr.AddrOfPinnedObject(), (Int32*)pSize_ptr, (UInt32)count); + Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (void*)pAddress, (Int32*)pSize_ptr, (UInt32)count); return retval; } - finally - { - pAddress_ptr.Free(); - } } } + [System.CLSCompliant(false)] public static - Boolean AssociateImageBufferEvents(IntPtr hDC, [In, Out] IntPtr[] pEvent, [In, Out] object pAddress, ref Int32 pSize, Int32 count) + unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr[] pEvent, [In, Out] object pAddress, Int32* pSize, UInt32 count) + { + unsafe + { + fixed (IntPtr* pEvent_ptr = pEvent) + { + System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); + try + { + Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (void*)pAddress_ptr.AddrOfPinnedObject(), (Int32*)pSize, (UInt32)count); + return retval; + } + finally + { + } + } + } + } + + [System.CLSCompliant(false)] + public static + Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr[] pEvent, [In, Out] object pAddress, Int32[] pSize, UInt32 count) + { + unsafe + { + fixed (IntPtr* pEvent_ptr = pEvent) + fixed (Int32* pSize_ptr = pSize) + { + System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); + try + { + Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (void*)pAddress_ptr.AddrOfPinnedObject(), (Int32*)pSize_ptr, (UInt32)count); + return retval; + } + finally + { + } + } + } + } + + [System.CLSCompliant(false)] + public static + Boolean AssociateImageBufferEvents(IntPtr hDC, IntPtr[] pEvent, [In, Out] object pAddress, ref Int32 pSize, UInt32 count) { - System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { fixed (IntPtr* pEvent_ptr = pEvent) fixed (Int32* pSize_ptr = &pSize) - try { - Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (void*)pAddress_ptr.AddrOfPinnedObject(), (Int32*)pSize_ptr, (UInt32)count); - return retval; - } - finally - { - pAddress_ptr.Free(); + System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); + try + { + Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (void*)pAddress_ptr.AddrOfPinnedObject(), (Int32*)pSize_ptr, (UInt32)count); + return retval; + } + finally + { + } } } } @@ -6705,143 +7073,85 @@ namespace OpenTK.Platform.Windows public static unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, ref IntPtr pEvent, void* pAddress, Int32* pSize, UInt32 count) { + unsafe + { fixed (IntPtr* pEvent_ptr = &pEvent) { Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (void*)pAddress, (Int32*)pSize, (UInt32)count); return retval; } + } } [System.CLSCompliant(false)] public static - unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, ref IntPtr pEvent, void* pAddress, Int32* pSize, Int32 count) - { - fixed (IntPtr* pEvent_ptr = &pEvent) - { - Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (void*)pAddress, (Int32*)pSize, (UInt32)count); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, ref IntPtr pEvent, void* pAddress, [In, Out] Int32[] pSize, UInt32 count) - { - fixed (IntPtr* pEvent_ptr = &pEvent) - fixed (Int32* pSize_ptr = pSize) - { - Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (void*)pAddress, (Int32*)pSize_ptr, (UInt32)count); - return retval; - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, ref IntPtr pEvent, void* pAddress, [In, Out] Int32[] pSize, Int32 count) + unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, ref IntPtr pEvent, void* pAddress, Int32[] pSize, UInt32 count) { + unsafe + { fixed (IntPtr* pEvent_ptr = &pEvent) fixed (Int32* pSize_ptr = pSize) { Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (void*)pAddress, (Int32*)pSize_ptr, (UInt32)count); return retval; } + } } [System.CLSCompliant(false)] public static unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, ref IntPtr pEvent, void* pAddress, ref Int32 pSize, UInt32 count) { + unsafe + { fixed (IntPtr* pEvent_ptr = &pEvent) fixed (Int32* pSize_ptr = &pSize) { Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (void*)pAddress, (Int32*)pSize_ptr, (UInt32)count); return retval; } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, ref IntPtr pEvent, void* pAddress, ref Int32 pSize, Int32 count) - { - fixed (IntPtr* pEvent_ptr = &pEvent) - fixed (Int32* pSize_ptr = &pSize) - { - Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (void*)pAddress, (Int32*)pSize_ptr, (UInt32)count); - return retval; - } + } } [System.CLSCompliant(false)] public static unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, ref IntPtr pEvent, [In, Out] object pAddress, Int32* pSize, UInt32 count) { - System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); - fixed (IntPtr* pEvent_ptr = &pEvent) - try - { - Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (void*)pAddress_ptr.AddrOfPinnedObject(), (Int32*)pSize, (UInt32)count); - return retval; - } - finally - { - pAddress_ptr.Free(); - } - } - - [System.CLSCompliant(false)] - public static - unsafe Boolean AssociateImageBufferEvents(IntPtr hDC, ref IntPtr pEvent, [In, Out] object pAddress, Int32* pSize, Int32 count) - { - System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); - fixed (IntPtr* pEvent_ptr = &pEvent) - try - { - Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (void*)pAddress_ptr.AddrOfPinnedObject(), (Int32*)pSize, (UInt32)count); - return retval; - } - finally - { - pAddress_ptr.Free(); - } - } - - [System.CLSCompliant(false)] - public static - Boolean AssociateImageBufferEvents(IntPtr hDC, ref IntPtr pEvent, [In, Out] object pAddress, [In, Out] Int32[] pSize, UInt32 count) - { - System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { fixed (IntPtr* pEvent_ptr = &pEvent) - fixed (Int32* pSize_ptr = pSize) - try { - Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (void*)pAddress_ptr.AddrOfPinnedObject(), (Int32*)pSize_ptr, (UInt32)count); - return retval; - } - finally - { - pAddress_ptr.Free(); + System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); + try + { + Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (void*)pAddress_ptr.AddrOfPinnedObject(), (Int32*)pSize, (UInt32)count); + return retval; + } + finally + { + } } } } + [System.CLSCompliant(false)] public static - Boolean AssociateImageBufferEvents(IntPtr hDC, ref IntPtr pEvent, [In, Out] object pAddress, [In, Out] Int32[] pSize, Int32 count) + Boolean AssociateImageBufferEvents(IntPtr hDC, ref IntPtr pEvent, [In, Out] object pAddress, Int32[] pSize, UInt32 count) { - System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { fixed (IntPtr* pEvent_ptr = &pEvent) fixed (Int32* pSize_ptr = pSize) - try { - Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (void*)pAddress_ptr.AddrOfPinnedObject(), (Int32*)pSize_ptr, (UInt32)count); - return retval; - } - finally - { - pAddress_ptr.Free(); + System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); + try + { + Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (void*)pAddress_ptr.AddrOfPinnedObject(), (Int32*)pSize_ptr, (UInt32)count); + return retval; + } + finally + { + } } } } @@ -6850,39 +7160,20 @@ namespace OpenTK.Platform.Windows public static Boolean AssociateImageBufferEvents(IntPtr hDC, ref IntPtr pEvent, [In, Out] object pAddress, ref Int32 pSize, UInt32 count) { - System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { fixed (IntPtr* pEvent_ptr = &pEvent) fixed (Int32* pSize_ptr = &pSize) - try { - Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (void*)pAddress_ptr.AddrOfPinnedObject(), (Int32*)pSize_ptr, (UInt32)count); - return retval; - } - finally - { - pAddress_ptr.Free(); - } - } - } - - public static - Boolean AssociateImageBufferEvents(IntPtr hDC, ref IntPtr pEvent, [In, Out] object pAddress, ref Int32 pSize, Int32 count) - { - System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); - unsafe - { - fixed (IntPtr* pEvent_ptr = &pEvent) - fixed (Int32* pSize_ptr = &pSize) - try - { - Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (void*)pAddress_ptr.AddrOfPinnedObject(), (Int32*)pSize_ptr, (UInt32)count); - return retval; - } - finally - { - pAddress_ptr.Free(); + System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); + try + { + Boolean retval = Delegates.wglAssociateImageBufferEventsI3D((IntPtr)hDC, (IntPtr*)pEvent_ptr, (void*)pAddress_ptr.AddrOfPinnedObject(), (Int32*)pSize_ptr, (UInt32)count); + return retval; + } + finally + { + } } } } @@ -6898,19 +7189,20 @@ namespace OpenTK.Platform.Windows public static unsafe Boolean ReleaseImageBufferEvents(IntPtr hDC, void* pAddress, Int32 count) { - { - Boolean retval = Delegates.wglReleaseImageBufferEventsI3D((IntPtr)hDC, (void*)pAddress, (UInt32)count); - return retval; - } + unsafe + { + Boolean retval = Delegates.wglReleaseImageBufferEventsI3D((IntPtr)hDC, (void*)pAddress, (UInt32)count); + return retval; + } } [System.CLSCompliant(false)] public static Boolean ReleaseImageBufferEvents(IntPtr hDC, [In, Out] object pAddress, UInt32 count) { - System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); unsafe { + System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); try { Boolean retval = Delegates.wglReleaseImageBufferEventsI3D((IntPtr)hDC, (void*)pAddress_ptr.AddrOfPinnedObject(), (UInt32)count); @@ -6918,25 +7210,6 @@ namespace OpenTK.Platform.Windows } finally { - pAddress_ptr.Free(); - } - } - } - - public static - Boolean ReleaseImageBufferEvents(IntPtr hDC, [In, Out] object pAddress, Int32 count) - { - System.Runtime.InteropServices.GCHandle pAddress_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pAddress, System.Runtime.InteropServices.GCHandleType.Pinned); - unsafe - { - try - { - Boolean retval = Delegates.wglReleaseImageBufferEventsI3D((IntPtr)hDC, (void*)pAddress_ptr.AddrOfPinnedObject(), (UInt32)count); - return retval; - } - finally - { - pAddress_ptr.Free(); } } } @@ -6953,22 +7226,52 @@ namespace OpenTK.Platform.Windows return Delegates.wglDisableFrameLockI3D(); } + [System.CLSCompliant(false)] public static - Boolean IsEnabledFrameLock([Out] Boolean pFlag) + unsafe Boolean IsEnabledFrameLock([Out] Boolean* pFlag) { - return Delegates.wglIsEnabledFrameLockI3D((Boolean)pFlag); + unsafe { return Delegates.wglIsEnabledFrameLockI3D((Boolean*)pFlag); } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean QueryFrameLockMaster([Out] Boolean* pFlag) + { + unsafe { return Delegates.wglQueryFrameLockMasterI3D((Boolean*)pFlag); } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean GetFrameUsage([Out] float* pUsage) + { + unsafe { return Delegates.wglGetFrameUsageI3D((float*)pUsage); } } public static - Boolean QueryFrameLockMaster([Out] Boolean pFlag) + Boolean GetFrameUsage([Out] float[] pUsage) { - return Delegates.wglQueryFrameLockMasterI3D((Boolean)pFlag); + unsafe + { + fixed (float* pUsage_ptr = pUsage) + { + Boolean retval = Delegates.wglGetFrameUsageI3D((float*)pUsage_ptr); + return retval; + } + } } public static - Boolean GetFrameUsage([Out] float pUsage) + Boolean GetFrameUsage([Out] out float pUsage) { - return Delegates.wglGetFrameUsageI3D((float)pUsage); + unsafe + { + fixed (float* pUsage_ptr = &pUsage) + { + Boolean retval = Delegates.wglGetFrameUsageI3D((float*)pUsage_ptr); + pUsage = *pUsage_ptr; + return retval; + } + } } public static @@ -6983,10 +7286,422 @@ namespace OpenTK.Platform.Windows return Delegates.wglEndFrameTrackingI3D(); } + [System.CLSCompliant(false)] public static - Boolean QueryFrameTracking([Out] Int32 pFrameCount, [Out] Int32 pMissedFrames, [Out] float pLastMissedUsage) + unsafe Boolean QueryFrameTracking([Out] Int32* pFrameCount, [Out] Int32* pMissedFrames, [Out] float* pLastMissedUsage) { - return Delegates.wglQueryFrameTrackingI3D((Int32)pFrameCount, (Int32)pMissedFrames, (float)pLastMissedUsage); + unsafe { return Delegates.wglQueryFrameTrackingI3D((Int32*)pFrameCount, (Int32*)pMissedFrames, (float*)pLastMissedUsage); } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean QueryFrameTracking([Out] Int32* pFrameCount, [Out] Int32* pMissedFrames, [Out] float[] pLastMissedUsage) + { + unsafe + { + fixed (float* pLastMissedUsage_ptr = pLastMissedUsage) + { + Boolean retval = Delegates.wglQueryFrameTrackingI3D((Int32*)pFrameCount, (Int32*)pMissedFrames, (float*)pLastMissedUsage_ptr); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean QueryFrameTracking([Out] Int32* pFrameCount, [Out] Int32* pMissedFrames, [Out] out float pLastMissedUsage) + { + unsafe + { + fixed (float* pLastMissedUsage_ptr = &pLastMissedUsage) + { + Boolean retval = Delegates.wglQueryFrameTrackingI3D((Int32*)pFrameCount, (Int32*)pMissedFrames, (float*)pLastMissedUsage_ptr); + pLastMissedUsage = *pLastMissedUsage_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean QueryFrameTracking([Out] Int32* pFrameCount, [Out] Int32[] pMissedFrames, [Out] float* pLastMissedUsage) + { + unsafe + { + fixed (Int32* pMissedFrames_ptr = pMissedFrames) + { + Boolean retval = Delegates.wglQueryFrameTrackingI3D((Int32*)pFrameCount, (Int32*)pMissedFrames_ptr, (float*)pLastMissedUsage); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean QueryFrameTracking([Out] Int32* pFrameCount, [Out] Int32[] pMissedFrames, [Out] float[] pLastMissedUsage) + { + unsafe + { + fixed (Int32* pMissedFrames_ptr = pMissedFrames) + fixed (float* pLastMissedUsage_ptr = pLastMissedUsage) + { + Boolean retval = Delegates.wglQueryFrameTrackingI3D((Int32*)pFrameCount, (Int32*)pMissedFrames_ptr, (float*)pLastMissedUsage_ptr); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean QueryFrameTracking([Out] Int32* pFrameCount, [Out] Int32[] pMissedFrames, [Out] out float pLastMissedUsage) + { + unsafe + { + fixed (Int32* pMissedFrames_ptr = pMissedFrames) + fixed (float* pLastMissedUsage_ptr = &pLastMissedUsage) + { + Boolean retval = Delegates.wglQueryFrameTrackingI3D((Int32*)pFrameCount, (Int32*)pMissedFrames_ptr, (float*)pLastMissedUsage_ptr); + pLastMissedUsage = *pLastMissedUsage_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean QueryFrameTracking([Out] Int32* pFrameCount, [Out] out Int32 pMissedFrames, [Out] float* pLastMissedUsage) + { + unsafe + { + fixed (Int32* pMissedFrames_ptr = &pMissedFrames) + { + Boolean retval = Delegates.wglQueryFrameTrackingI3D((Int32*)pFrameCount, (Int32*)pMissedFrames_ptr, (float*)pLastMissedUsage); + pMissedFrames = *pMissedFrames_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean QueryFrameTracking([Out] Int32* pFrameCount, [Out] out Int32 pMissedFrames, [Out] float[] pLastMissedUsage) + { + unsafe + { + fixed (Int32* pMissedFrames_ptr = &pMissedFrames) + fixed (float* pLastMissedUsage_ptr = pLastMissedUsage) + { + Boolean retval = Delegates.wglQueryFrameTrackingI3D((Int32*)pFrameCount, (Int32*)pMissedFrames_ptr, (float*)pLastMissedUsage_ptr); + pMissedFrames = *pMissedFrames_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean QueryFrameTracking([Out] Int32* pFrameCount, [Out] out Int32 pMissedFrames, [Out] out float pLastMissedUsage) + { + unsafe + { + fixed (Int32* pMissedFrames_ptr = &pMissedFrames) + fixed (float* pLastMissedUsage_ptr = &pLastMissedUsage) + { + Boolean retval = Delegates.wglQueryFrameTrackingI3D((Int32*)pFrameCount, (Int32*)pMissedFrames_ptr, (float*)pLastMissedUsage_ptr); + pMissedFrames = *pMissedFrames_ptr; + pLastMissedUsage = *pLastMissedUsage_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean QueryFrameTracking([Out] Int32[] pFrameCount, [Out] Int32* pMissedFrames, [Out] float* pLastMissedUsage) + { + unsafe + { + fixed (Int32* pFrameCount_ptr = pFrameCount) + { + Boolean retval = Delegates.wglQueryFrameTrackingI3D((Int32*)pFrameCount_ptr, (Int32*)pMissedFrames, (float*)pLastMissedUsage); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean QueryFrameTracking([Out] Int32[] pFrameCount, [Out] Int32* pMissedFrames, [Out] float[] pLastMissedUsage) + { + unsafe + { + fixed (Int32* pFrameCount_ptr = pFrameCount) + fixed (float* pLastMissedUsage_ptr = pLastMissedUsage) + { + Boolean retval = Delegates.wglQueryFrameTrackingI3D((Int32*)pFrameCount_ptr, (Int32*)pMissedFrames, (float*)pLastMissedUsage_ptr); + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean QueryFrameTracking([Out] Int32[] pFrameCount, [Out] Int32* pMissedFrames, [Out] out float pLastMissedUsage) + { + unsafe + { + fixed (Int32* pFrameCount_ptr = pFrameCount) + fixed (float* pLastMissedUsage_ptr = &pLastMissedUsage) + { + Boolean retval = Delegates.wglQueryFrameTrackingI3D((Int32*)pFrameCount_ptr, (Int32*)pMissedFrames, (float*)pLastMissedUsage_ptr); + pLastMissedUsage = *pLastMissedUsage_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean QueryFrameTracking([Out] Int32[] pFrameCount, [Out] Int32[] pMissedFrames, [Out] float* pLastMissedUsage) + { + unsafe + { + fixed (Int32* pFrameCount_ptr = pFrameCount) + fixed (Int32* pMissedFrames_ptr = pMissedFrames) + { + Boolean retval = Delegates.wglQueryFrameTrackingI3D((Int32*)pFrameCount_ptr, (Int32*)pMissedFrames_ptr, (float*)pLastMissedUsage); + return retval; + } + } + } + + public static + Boolean QueryFrameTracking([Out] Int32[] pFrameCount, [Out] Int32[] pMissedFrames, [Out] float[] pLastMissedUsage) + { + unsafe + { + fixed (Int32* pFrameCount_ptr = pFrameCount) + fixed (Int32* pMissedFrames_ptr = pMissedFrames) + fixed (float* pLastMissedUsage_ptr = pLastMissedUsage) + { + Boolean retval = Delegates.wglQueryFrameTrackingI3D((Int32*)pFrameCount_ptr, (Int32*)pMissedFrames_ptr, (float*)pLastMissedUsage_ptr); + return retval; + } + } + } + + public static + Boolean QueryFrameTracking([Out] Int32[] pFrameCount, [Out] Int32[] pMissedFrames, [Out] out float pLastMissedUsage) + { + unsafe + { + fixed (Int32* pFrameCount_ptr = pFrameCount) + fixed (Int32* pMissedFrames_ptr = pMissedFrames) + fixed (float* pLastMissedUsage_ptr = &pLastMissedUsage) + { + Boolean retval = Delegates.wglQueryFrameTrackingI3D((Int32*)pFrameCount_ptr, (Int32*)pMissedFrames_ptr, (float*)pLastMissedUsage_ptr); + pLastMissedUsage = *pLastMissedUsage_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean QueryFrameTracking([Out] Int32[] pFrameCount, [Out] out Int32 pMissedFrames, [Out] float* pLastMissedUsage) + { + unsafe + { + fixed (Int32* pFrameCount_ptr = pFrameCount) + fixed (Int32* pMissedFrames_ptr = &pMissedFrames) + { + Boolean retval = Delegates.wglQueryFrameTrackingI3D((Int32*)pFrameCount_ptr, (Int32*)pMissedFrames_ptr, (float*)pLastMissedUsage); + pMissedFrames = *pMissedFrames_ptr; + return retval; + } + } + } + + public static + Boolean QueryFrameTracking([Out] Int32[] pFrameCount, [Out] out Int32 pMissedFrames, [Out] float[] pLastMissedUsage) + { + unsafe + { + fixed (Int32* pFrameCount_ptr = pFrameCount) + fixed (Int32* pMissedFrames_ptr = &pMissedFrames) + fixed (float* pLastMissedUsage_ptr = pLastMissedUsage) + { + Boolean retval = Delegates.wglQueryFrameTrackingI3D((Int32*)pFrameCount_ptr, (Int32*)pMissedFrames_ptr, (float*)pLastMissedUsage_ptr); + pMissedFrames = *pMissedFrames_ptr; + return retval; + } + } + } + + public static + Boolean QueryFrameTracking([Out] Int32[] pFrameCount, [Out] out Int32 pMissedFrames, [Out] out float pLastMissedUsage) + { + unsafe + { + fixed (Int32* pFrameCount_ptr = pFrameCount) + fixed (Int32* pMissedFrames_ptr = &pMissedFrames) + fixed (float* pLastMissedUsage_ptr = &pLastMissedUsage) + { + Boolean retval = Delegates.wglQueryFrameTrackingI3D((Int32*)pFrameCount_ptr, (Int32*)pMissedFrames_ptr, (float*)pLastMissedUsage_ptr); + pMissedFrames = *pMissedFrames_ptr; + pLastMissedUsage = *pLastMissedUsage_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean QueryFrameTracking([Out] out Int32 pFrameCount, [Out] Int32* pMissedFrames, [Out] float* pLastMissedUsage) + { + unsafe + { + fixed (Int32* pFrameCount_ptr = &pFrameCount) + { + Boolean retval = Delegates.wglQueryFrameTrackingI3D((Int32*)pFrameCount_ptr, (Int32*)pMissedFrames, (float*)pLastMissedUsage); + pFrameCount = *pFrameCount_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean QueryFrameTracking([Out] out Int32 pFrameCount, [Out] Int32* pMissedFrames, [Out] float[] pLastMissedUsage) + { + unsafe + { + fixed (Int32* pFrameCount_ptr = &pFrameCount) + fixed (float* pLastMissedUsage_ptr = pLastMissedUsage) + { + Boolean retval = Delegates.wglQueryFrameTrackingI3D((Int32*)pFrameCount_ptr, (Int32*)pMissedFrames, (float*)pLastMissedUsage_ptr); + pFrameCount = *pFrameCount_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean QueryFrameTracking([Out] out Int32 pFrameCount, [Out] Int32* pMissedFrames, [Out] out float pLastMissedUsage) + { + unsafe + { + fixed (Int32* pFrameCount_ptr = &pFrameCount) + fixed (float* pLastMissedUsage_ptr = &pLastMissedUsage) + { + Boolean retval = Delegates.wglQueryFrameTrackingI3D((Int32*)pFrameCount_ptr, (Int32*)pMissedFrames, (float*)pLastMissedUsage_ptr); + pFrameCount = *pFrameCount_ptr; + pLastMissedUsage = *pLastMissedUsage_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean QueryFrameTracking([Out] out Int32 pFrameCount, [Out] Int32[] pMissedFrames, [Out] float* pLastMissedUsage) + { + unsafe + { + fixed (Int32* pFrameCount_ptr = &pFrameCount) + fixed (Int32* pMissedFrames_ptr = pMissedFrames) + { + Boolean retval = Delegates.wglQueryFrameTrackingI3D((Int32*)pFrameCount_ptr, (Int32*)pMissedFrames_ptr, (float*)pLastMissedUsage); + pFrameCount = *pFrameCount_ptr; + return retval; + } + } + } + + public static + Boolean QueryFrameTracking([Out] out Int32 pFrameCount, [Out] Int32[] pMissedFrames, [Out] float[] pLastMissedUsage) + { + unsafe + { + fixed (Int32* pFrameCount_ptr = &pFrameCount) + fixed (Int32* pMissedFrames_ptr = pMissedFrames) + fixed (float* pLastMissedUsage_ptr = pLastMissedUsage) + { + Boolean retval = Delegates.wglQueryFrameTrackingI3D((Int32*)pFrameCount_ptr, (Int32*)pMissedFrames_ptr, (float*)pLastMissedUsage_ptr); + pFrameCount = *pFrameCount_ptr; + return retval; + } + } + } + + public static + Boolean QueryFrameTracking([Out] out Int32 pFrameCount, [Out] Int32[] pMissedFrames, [Out] out float pLastMissedUsage) + { + unsafe + { + fixed (Int32* pFrameCount_ptr = &pFrameCount) + fixed (Int32* pMissedFrames_ptr = pMissedFrames) + fixed (float* pLastMissedUsage_ptr = &pLastMissedUsage) + { + Boolean retval = Delegates.wglQueryFrameTrackingI3D((Int32*)pFrameCount_ptr, (Int32*)pMissedFrames_ptr, (float*)pLastMissedUsage_ptr); + pFrameCount = *pFrameCount_ptr; + pLastMissedUsage = *pLastMissedUsage_ptr; + return retval; + } + } + } + + [System.CLSCompliant(false)] + public static + unsafe Boolean QueryFrameTracking([Out] out Int32 pFrameCount, [Out] out Int32 pMissedFrames, [Out] float* pLastMissedUsage) + { + unsafe + { + fixed (Int32* pFrameCount_ptr = &pFrameCount) + fixed (Int32* pMissedFrames_ptr = &pMissedFrames) + { + Boolean retval = Delegates.wglQueryFrameTrackingI3D((Int32*)pFrameCount_ptr, (Int32*)pMissedFrames_ptr, (float*)pLastMissedUsage); + pFrameCount = *pFrameCount_ptr; + pMissedFrames = *pMissedFrames_ptr; + return retval; + } + } + } + + public static + Boolean QueryFrameTracking([Out] out Int32 pFrameCount, [Out] out Int32 pMissedFrames, [Out] float[] pLastMissedUsage) + { + unsafe + { + fixed (Int32* pFrameCount_ptr = &pFrameCount) + fixed (Int32* pMissedFrames_ptr = &pMissedFrames) + fixed (float* pLastMissedUsage_ptr = pLastMissedUsage) + { + Boolean retval = Delegates.wglQueryFrameTrackingI3D((Int32*)pFrameCount_ptr, (Int32*)pMissedFrames_ptr, (float*)pLastMissedUsage_ptr); + pFrameCount = *pFrameCount_ptr; + pMissedFrames = *pMissedFrames_ptr; + return retval; + } + } + } + + public static + Boolean QueryFrameTracking([Out] out Int32 pFrameCount, [Out] out Int32 pMissedFrames, [Out] out float pLastMissedUsage) + { + unsafe + { + fixed (Int32* pFrameCount_ptr = &pFrameCount) + fixed (Int32* pMissedFrames_ptr = &pMissedFrames) + fixed (float* pLastMissedUsage_ptr = &pLastMissedUsage) + { + Boolean retval = Delegates.wglQueryFrameTrackingI3D((Int32*)pFrameCount_ptr, (Int32*)pMissedFrames_ptr, (float*)pLastMissedUsage_ptr); + pFrameCount = *pFrameCount_ptr; + pMissedFrames = *pMissedFrames_ptr; + pLastMissedUsage = *pLastMissedUsage_ptr; + return retval; + } + } } } diff --git a/Source/OpenTK/Platform/Windows/Bindings/WglCore.cs b/Source/OpenTK/Platform/Windows/Bindings/WglCore.cs index b962fdc8..1d97c005 100644 --- a/Source/OpenTK/Platform/Windows/Bindings/WglCore.cs +++ b/Source/OpenTK/Platform/Windows/Bindings/WglCore.cs @@ -27,10 +27,10 @@ namespace OpenTK.Platform.Windows internal extern static Boolean CopyContext(IntPtr hglrcSrc, IntPtr hglrcDst, UInt32 mask); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Wgl.Library, EntryPoint = "wglChoosePixelFormat", ExactSpelling = true)] - internal extern static int ChoosePixelFormat(IntPtr hDc, OpenTK.Platform.Windows.API.PixelFormatDescriptor pPfd); + internal extern static unsafe int ChoosePixelFormat(IntPtr hDc, API.PixelFormatDescriptor* pPfd); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Wgl.Library, EntryPoint = "wglDescribePixelFormat", ExactSpelling = true)] - internal extern static int DescribePixelFormat(IntPtr hdc, int ipfd, UInt32 cjpfd, OpenTK.Platform.Windows.API.PixelFormatDescriptor ppfd); + internal extern static unsafe int DescribePixelFormat(IntPtr hdc, int ipfd, UInt32 cjpfd, API.PixelFormatDescriptor* ppfd); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Wgl.Library, EntryPoint = "wglGetCurrentDC", ExactSpelling = true)] internal extern static IntPtr GetCurrentDC(); @@ -45,7 +45,7 @@ namespace OpenTK.Platform.Windows internal extern static int GetPixelFormat(IntPtr hdc); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Wgl.Library, EntryPoint = "wglSetPixelFormat", ExactSpelling = true)] - internal extern static Boolean SetPixelFormat(IntPtr hdc, int ipfd, OpenTK.Platform.Windows.API.PixelFormatDescriptor ppfd); + internal extern static unsafe Boolean SetPixelFormat(IntPtr hdc, int ipfd, API.PixelFormatDescriptor* ppfd); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Wgl.Library, EntryPoint = "wglSwapBuffers", ExactSpelling = true)] internal extern static Boolean SwapBuffers(IntPtr hdc); @@ -57,13 +57,13 @@ namespace OpenTK.Platform.Windows internal extern static IntPtr CreateLayerContext(IntPtr hDc, int level); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Wgl.Library, EntryPoint = "wglDescribeLayerPlane", ExactSpelling = true)] - internal extern static Boolean DescribeLayerPlane(IntPtr hDc, int pixelFormat, int layerPlane, UInt32 nBytes, OpenTK.Platform.Windows.API.LayerPlaneDescriptor plpd); + internal extern static unsafe Boolean DescribeLayerPlane(IntPtr hDc, int pixelFormat, int layerPlane, UInt32 nBytes, API.LayerPlaneDescriptor* plpd); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Wgl.Library, EntryPoint = "wglSetLayerPaletteEntries", ExactSpelling = true)] - internal extern static int SetLayerPaletteEntries(IntPtr hdc, int iLayerPlane, int iStart, int cEntries, Int32 pcr); + internal extern static unsafe int SetLayerPaletteEntries(IntPtr hdc, int iLayerPlane, int iStart, int cEntries, Int32* pcr); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Wgl.Library, EntryPoint = "wglGetLayerPaletteEntries", ExactSpelling = true)] - internal extern static int GetLayerPaletteEntries(IntPtr hdc, int iLayerPlane, int iStart, int cEntries, Int32 pcr); + internal extern static unsafe int GetLayerPaletteEntries(IntPtr hdc, int iLayerPlane, int iStart, int cEntries, Int32* pcr); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(Wgl.Library, EntryPoint = "wglRealizeLayerPalette", ExactSpelling = true)] internal extern static Boolean RealizeLayerPalette(IntPtr hdc, int iLayerPlane, Boolean bRealize); @@ -71,11 +71,17 @@ namespace OpenTK.Platform.Windows [System.Runtime.InteropServices.DllImport(Wgl.Library, EntryPoint = "wglSwapLayerBuffers", ExactSpelling = true)] internal extern static Boolean SwapLayerBuffers(IntPtr hdc, UInt32 fuFlags); [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Wgl.Library, EntryPoint = "wglUseFontBitmapsA", ExactSpelling = true)] + [System.Runtime.InteropServices.DllImport(Wgl.Library, EntryPoint = "wglUseFontBitmapsA", CharSet = CharSet.Auto)] internal extern static Boolean UseFontBitmapsA(IntPtr hDC, Int32 first, Int32 count, Int32 listBase); [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Wgl.Library, EntryPoint = "wglUseFontBitmapsW", ExactSpelling = true)] + [System.Runtime.InteropServices.DllImport(Wgl.Library, EntryPoint = "wglUseFontBitmapsW", CharSet = CharSet.Auto)] internal extern static Boolean UseFontBitmapsW(IntPtr hDC, Int32 first, Int32 count, Int32 listBase); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(Wgl.Library, EntryPoint = "wglUseFontOutlinesA", CharSet = CharSet.Auto)] + internal extern static unsafe Boolean UseFontOutlinesA(IntPtr hDC, Int32 first, Int32 count, Int32 listBase, float thickness, float deviation, Int32 fontMode, API.GlyphMetricsFloat* glyphMetrics); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(Wgl.Library, EntryPoint = "wglUseFontOutlinesW", CharSet = CharSet.Auto)] + internal extern static unsafe Boolean UseFontOutlinesW(IntPtr hDC, Int32 first, Int32 count, Int32 listBase, float thickness, float deviation, Int32 fontMode, API.GlyphMetricsFloat* glyphMetrics); } } } diff --git a/Source/OpenTK/Platform/Windows/Bindings/WglDelegates.cs b/Source/OpenTK/Platform/Windows/Bindings/WglDelegates.cs index fada74f6..37c46ab6 100644 --- a/Source/OpenTK/Platform/Windows/Bindings/WglDelegates.cs +++ b/Source/OpenTK/Platform/Windows/Bindings/WglDelegates.cs @@ -10,7 +10,6 @@ namespace OpenTK.Platform.Windows { static Delegates() { - Wgl.LoadAll(); } [System.Security.SuppressUnmanagedCodeSecurity()] @@ -29,11 +28,11 @@ namespace OpenTK.Platform.Windows internal delegate Boolean CopyContext(IntPtr hglrcSrc, IntPtr hglrcDst, UInt32 mask); internal static CopyContext wglCopyContext = null; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate int ChoosePixelFormat(IntPtr hDc, OpenTK.Platform.Windows.API.PixelFormatDescriptor pPfd); - internal static ChoosePixelFormat wglChoosePixelFormat = null; + internal unsafe delegate int ChoosePixelFormat(IntPtr hDc, API.PixelFormatDescriptor* pPfd); + internal unsafe static ChoosePixelFormat wglChoosePixelFormat = null; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate int DescribePixelFormat(IntPtr hdc, int ipfd, UInt32 cjpfd, OpenTK.Platform.Windows.API.PixelFormatDescriptor ppfd); - internal static DescribePixelFormat wglDescribePixelFormat = null; + internal unsafe delegate int DescribePixelFormat(IntPtr hdc, int ipfd, UInt32 cjpfd, API.PixelFormatDescriptor* ppfd); + internal unsafe static DescribePixelFormat wglDescribePixelFormat = null; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate IntPtr GetCurrentDC(); internal static GetCurrentDC wglGetCurrentDC = null; @@ -47,8 +46,8 @@ namespace OpenTK.Platform.Windows internal delegate int GetPixelFormat(IntPtr hdc); internal static GetPixelFormat wglGetPixelFormat = null; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Boolean SetPixelFormat(IntPtr hdc, int ipfd, OpenTK.Platform.Windows.API.PixelFormatDescriptor ppfd); - internal static SetPixelFormat wglSetPixelFormat = null; + internal unsafe delegate Boolean SetPixelFormat(IntPtr hdc, int ipfd, API.PixelFormatDescriptor* ppfd); + internal unsafe static SetPixelFormat wglSetPixelFormat = null; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate Boolean SwapBuffers(IntPtr hdc); internal static SwapBuffers wglSwapBuffers = null; @@ -59,14 +58,14 @@ namespace OpenTK.Platform.Windows internal delegate IntPtr CreateLayerContext(IntPtr hDc, int level); internal static CreateLayerContext wglCreateLayerContext = null; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Boolean DescribeLayerPlane(IntPtr hDc, int pixelFormat, int layerPlane, UInt32 nBytes, OpenTK.Platform.Windows.API.LayerPlaneDescriptor plpd); - internal static DescribeLayerPlane wglDescribeLayerPlane = null; + internal unsafe delegate Boolean DescribeLayerPlane(IntPtr hDc, int pixelFormat, int layerPlane, UInt32 nBytes, API.LayerPlaneDescriptor* plpd); + internal unsafe static DescribeLayerPlane wglDescribeLayerPlane = null; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate int SetLayerPaletteEntries(IntPtr hdc, int iLayerPlane, int iStart, int cEntries, Int32 pcr); - internal static SetLayerPaletteEntries wglSetLayerPaletteEntries = null; + internal unsafe delegate int SetLayerPaletteEntries(IntPtr hdc, int iLayerPlane, int iStart, int cEntries, Int32* pcr); + internal unsafe static SetLayerPaletteEntries wglSetLayerPaletteEntries = null; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate int GetLayerPaletteEntries(IntPtr hdc, int iLayerPlane, int iStart, int cEntries, Int32 pcr); - internal static GetLayerPaletteEntries wglGetLayerPaletteEntries = null; + internal unsafe delegate int GetLayerPaletteEntries(IntPtr hdc, int iLayerPlane, int iStart, int cEntries, Int32* pcr); + internal unsafe static GetLayerPaletteEntries wglGetLayerPaletteEntries = null; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate Boolean RealizeLayerPalette(IntPtr hdc, int iLayerPlane, Boolean bRealize); internal static RealizeLayerPalette wglRealizeLayerPalette = null; @@ -80,6 +79,12 @@ namespace OpenTK.Platform.Windows internal delegate Boolean UseFontBitmapsW(IntPtr hDC, Int32 first, Int32 count, Int32 listBase); internal static UseFontBitmapsW wglUseFontBitmapsW = null; [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate Boolean UseFontOutlinesA(IntPtr hDC, Int32 first, Int32 count, Int32 listBase, float thickness, float deviation, Int32 fontMode, API.GlyphMetricsFloat* glyphMetrics); + internal unsafe static UseFontOutlinesA wglUseFontOutlinesA = null; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate Boolean UseFontOutlinesW(IntPtr hDC, Int32 first, Int32 count, Int32 listBase, float thickness, float deviation, Int32 fontMode, API.GlyphMetricsFloat* glyphMetrics); + internal unsafe static UseFontOutlinesW wglUseFontOutlinesW = null; + [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate IntPtr CreateBufferRegionARB(IntPtr hDC, int iLayerPlane, UInt32 uType); internal static CreateBufferRegionARB wglCreateBufferRegionARB = null; [System.Security.SuppressUnmanagedCodeSecurity()] @@ -101,7 +106,7 @@ namespace OpenTK.Platform.Windows internal unsafe delegate Boolean GetPixelFormatAttribfvARB(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, int* piAttributes, [Out] Single* pfValues); internal unsafe static GetPixelFormatAttribfvARB wglGetPixelFormatAttribfvARB = null; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Boolean ChoosePixelFormatARB(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32 nNumFormats); + internal unsafe delegate Boolean ChoosePixelFormatARB(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32* nNumFormats); internal unsafe static ChoosePixelFormatARB wglChoosePixelFormatARB = null; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate Boolean MakeContextCurrentARB(IntPtr hDrawDC, IntPtr hReadDC, IntPtr hglrc); @@ -122,8 +127,8 @@ namespace OpenTK.Platform.Windows internal delegate Boolean DestroyPbufferARB(IntPtr hPbuffer); internal static DestroyPbufferARB wglDestroyPbufferARB = null; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Boolean QueryPbufferARB(IntPtr hPbuffer, int iAttribute, [Out] int piValue); - internal static QueryPbufferARB wglQueryPbufferARB = null; + internal unsafe delegate Boolean QueryPbufferARB(IntPtr hPbuffer, int iAttribute, [Out] int* piValue); + internal unsafe static QueryPbufferARB wglQueryPbufferARB = null; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate Boolean BindTexImageARB(IntPtr hPbuffer, int iBuffer); internal static BindTexImageARB wglBindTexImageARB = null; @@ -167,8 +172,8 @@ namespace OpenTK.Platform.Windows internal delegate Boolean DestroyPbufferEXT(IntPtr hPbuffer); internal static DestroyPbufferEXT wglDestroyPbufferEXT = null; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Boolean QueryPbufferEXT(IntPtr hPbuffer, int iAttribute, [Out] int piValue); - internal static QueryPbufferEXT wglQueryPbufferEXT = null; + internal unsafe delegate Boolean QueryPbufferEXT(IntPtr hPbuffer, int iAttribute, [Out] int* piValue); + internal unsafe static QueryPbufferEXT wglQueryPbufferEXT = null; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate Boolean GetPixelFormatAttribivEXT(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] int* piAttributes, [Out] int* piValues); internal unsafe static GetPixelFormatAttribivEXT wglGetPixelFormatAttribivEXT = null; @@ -176,7 +181,7 @@ namespace OpenTK.Platform.Windows internal unsafe delegate Boolean GetPixelFormatAttribfvEXT(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] int* piAttributes, [Out] Single* pfValues); internal unsafe static GetPixelFormatAttribfvEXT wglGetPixelFormatAttribfvEXT = null; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Boolean ChoosePixelFormatEXT(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32 nNumFormats); + internal unsafe delegate Boolean ChoosePixelFormatEXT(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32* nNumFormats); internal unsafe static ChoosePixelFormatEXT wglChoosePixelFormatEXT = null; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate Boolean SwapIntervalEXT(int interval); @@ -233,35 +238,35 @@ namespace OpenTK.Platform.Windows internal delegate Boolean DisableGenlockI3D(IntPtr hDC); internal static DisableGenlockI3D wglDisableGenlockI3D = null; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Boolean IsEnabledGenlockI3D(IntPtr hDC, [Out] Boolean pFlag); - internal static IsEnabledGenlockI3D wglIsEnabledGenlockI3D = null; + internal unsafe delegate Boolean IsEnabledGenlockI3D(IntPtr hDC, [Out] Boolean* pFlag); + internal unsafe static IsEnabledGenlockI3D wglIsEnabledGenlockI3D = null; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate Boolean GenlockSourceI3D(IntPtr hDC, UInt32 uSource); internal static GenlockSourceI3D wglGenlockSourceI3D = null; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Boolean GetGenlockSourceI3D(IntPtr hDC, [Out] UInt32 uSource); - internal static GetGenlockSourceI3D wglGetGenlockSourceI3D = null; + internal unsafe delegate Boolean GetGenlockSourceI3D(IntPtr hDC, [Out] UInt32* uSource); + internal unsafe static GetGenlockSourceI3D wglGetGenlockSourceI3D = null; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate Boolean GenlockSourceEdgeI3D(IntPtr hDC, UInt32 uEdge); internal static GenlockSourceEdgeI3D wglGenlockSourceEdgeI3D = null; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Boolean GetGenlockSourceEdgeI3D(IntPtr hDC, [Out] UInt32 uEdge); - internal static GetGenlockSourceEdgeI3D wglGetGenlockSourceEdgeI3D = null; + internal unsafe delegate Boolean GetGenlockSourceEdgeI3D(IntPtr hDC, [Out] UInt32* uEdge); + internal unsafe static GetGenlockSourceEdgeI3D wglGetGenlockSourceEdgeI3D = null; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate Boolean GenlockSampleRateI3D(IntPtr hDC, UInt32 uRate); internal static GenlockSampleRateI3D wglGenlockSampleRateI3D = null; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Boolean GetGenlockSampleRateI3D(IntPtr hDC, [Out] UInt32 uRate); - internal static GetGenlockSampleRateI3D wglGetGenlockSampleRateI3D = null; + internal unsafe delegate Boolean GetGenlockSampleRateI3D(IntPtr hDC, [Out] UInt32* uRate); + internal unsafe static GetGenlockSampleRateI3D wglGetGenlockSampleRateI3D = null; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate Boolean GenlockSourceDelayI3D(IntPtr hDC, UInt32 uDelay); internal static GenlockSourceDelayI3D wglGenlockSourceDelayI3D = null; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Boolean GetGenlockSourceDelayI3D(IntPtr hDC, [Out] UInt32 uDelay); - internal static GetGenlockSourceDelayI3D wglGetGenlockSourceDelayI3D = null; + internal unsafe delegate Boolean GetGenlockSourceDelayI3D(IntPtr hDC, [Out] UInt32* uDelay); + internal unsafe static GetGenlockSourceDelayI3D wglGetGenlockSourceDelayI3D = null; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Boolean QueryGenlockMaxSourceDelayI3D(IntPtr hDC, [Out] UInt32 uMaxLineDelay, [Out] UInt32 uMaxPixelDelay); - internal static QueryGenlockMaxSourceDelayI3D wglQueryGenlockMaxSourceDelayI3D = null; + internal unsafe delegate Boolean QueryGenlockMaxSourceDelayI3D(IntPtr hDC, [Out] UInt32* uMaxLineDelay, [Out] UInt32* uMaxPixelDelay); + internal unsafe static QueryGenlockMaxSourceDelayI3D wglQueryGenlockMaxSourceDelayI3D = null; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate IntPtr CreateImageBufferI3D(IntPtr hDC, Int32 dwSize, UInt32 uFlags); internal static CreateImageBufferI3D wglCreateImageBufferI3D = null; @@ -281,14 +286,14 @@ namespace OpenTK.Platform.Windows internal delegate Boolean DisableFrameLockI3D(); internal static DisableFrameLockI3D wglDisableFrameLockI3D = null; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Boolean IsEnabledFrameLockI3D([Out] Boolean pFlag); - internal static IsEnabledFrameLockI3D wglIsEnabledFrameLockI3D = null; + internal unsafe delegate Boolean IsEnabledFrameLockI3D([Out] Boolean* pFlag); + internal unsafe static IsEnabledFrameLockI3D wglIsEnabledFrameLockI3D = null; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Boolean QueryFrameLockMasterI3D([Out] Boolean pFlag); - internal static QueryFrameLockMasterI3D wglQueryFrameLockMasterI3D = null; + internal unsafe delegate Boolean QueryFrameLockMasterI3D([Out] Boolean* pFlag); + internal unsafe static QueryFrameLockMasterI3D wglQueryFrameLockMasterI3D = null; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Boolean GetFrameUsageI3D([Out] float pUsage); - internal static GetFrameUsageI3D wglGetFrameUsageI3D = null; + internal unsafe delegate Boolean GetFrameUsageI3D([Out] float* pUsage); + internal unsafe static GetFrameUsageI3D wglGetFrameUsageI3D = null; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate Boolean BeginFrameTrackingI3D(); internal static BeginFrameTrackingI3D wglBeginFrameTrackingI3D = null; @@ -296,8 +301,8 @@ namespace OpenTK.Platform.Windows internal delegate Boolean EndFrameTrackingI3D(); internal static EndFrameTrackingI3D wglEndFrameTrackingI3D = null; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Boolean QueryFrameTrackingI3D([Out] Int32 pFrameCount, [Out] Int32 pMissedFrames, [Out] float pLastMissedUsage); - internal static QueryFrameTrackingI3D wglQueryFrameTrackingI3D = null; + internal unsafe delegate Boolean QueryFrameTrackingI3D([Out] Int32* pFrameCount, [Out] Int32* pMissedFrames, [Out] float* pLastMissedUsage); + internal unsafe static QueryFrameTrackingI3D wglQueryFrameTrackingI3D = null; } } } diff --git a/Source/OpenTK/Platform/Windows/Bindings/WglEnums.cs b/Source/OpenTK/Platform/Windows/Bindings/WglEnums.cs index a4c52819..ee00a523 100644 --- a/Source/OpenTK/Platform/Windows/Bindings/WglEnums.cs +++ b/Source/OpenTK/Platform/Windows/Bindings/WglEnums.cs @@ -6,166 +6,166 @@ namespace OpenTK.Platform.Windows { public enum WGL_ARB_buffer_region { - WGL_DEPTH_BUFFER_BIT_ARB = ((int)0x00000004), - WGL_BACK_COLOR_BUFFER_BIT_ARB = ((int)0x00000002), - WGL_STENCIL_BUFFER_BIT_ARB = ((int)0x00000008), - WGL_FRONT_COLOR_BUFFER_BIT_ARB = ((int)0x00000001), + STENCIL_BUFFER_BIT_ARB = ((int)0x00000008), + DEPTH_BUFFER_BIT_ARB = ((int)0x00000004), + BACK_COLOR_BUFFER_BIT_ARB = ((int)0x00000002), + FRONT_COLOR_BUFFER_BIT_ARB = ((int)0x00000001), } public enum WGL_EXT_pixel_format { - WGL_RED_BITS_EXT = ((int)0x2015), - WGL_GENERIC_ACCELERATION_EXT = ((int)0x2026), - WGL_FULL_ACCELERATION_EXT = ((int)0x2027), - WGL_ACCUM_RED_BITS_EXT = ((int)0x201E), - WGL_SUPPORT_OPENGL_EXT = ((int)0x2010), - WGL_DEPTH_BITS_EXT = ((int)0x2022), - WGL_SHARE_STENCIL_EXT = ((int)0x200D), - WGL_SWAP_LAYER_BUFFERS_EXT = ((int)0x2006), - WGL_GREEN_BITS_EXT = ((int)0x2017), - WGL_STENCIL_BITS_EXT = ((int)0x2023), - WGL_NEED_PALETTE_EXT = ((int)0x2004), - WGL_ACCELERATION_EXT = ((int)0x2003), - WGL_TYPE_RGBA_EXT = ((int)0x202B), - WGL_TYPE_COLORINDEX_EXT = ((int)0x202C), - WGL_NUMBER_PIXEL_FORMATS_EXT = ((int)0x2000), - WGL_ACCUM_GREEN_BITS_EXT = ((int)0x201F), - WGL_NEED_SYSTEM_PALETTE_EXT = ((int)0x2005), - WGL_ACCUM_BITS_EXT = ((int)0x201D), - WGL_TRANSPARENT_EXT = ((int)0x200A), - WGL_NUMBER_UNDERLAYS_EXT = ((int)0x2009), - WGL_RED_SHIFT_EXT = ((int)0x2016), - WGL_DRAW_TO_WINDOW_EXT = ((int)0x2001), - WGL_BLUE_BITS_EXT = ((int)0x2019), - WGL_SWAP_EXCHANGE_EXT = ((int)0x2028), - WGL_SHARE_ACCUM_EXT = ((int)0x200E), - WGL_DOUBLE_BUFFER_EXT = ((int)0x2011), - WGL_BLUE_SHIFT_EXT = ((int)0x201A), - WGL_PIXEL_TYPE_EXT = ((int)0x2013), - WGL_AUX_BUFFERS_EXT = ((int)0x2024), - WGL_DRAW_TO_BITMAP_EXT = ((int)0x2002), - WGL_ACCUM_BLUE_BITS_EXT = ((int)0x2020), - WGL_STEREO_EXT = ((int)0x2012), - WGL_TRANSPARENT_VALUE_EXT = ((int)0x200B), - WGL_SWAP_METHOD_EXT = ((int)0x2007), - WGL_SWAP_COPY_EXT = ((int)0x2029), - WGL_ACCUM_ALPHA_BITS_EXT = ((int)0x2021), - WGL_ALPHA_BITS_EXT = ((int)0x201B), - WGL_SUPPORT_GDI_EXT = ((int)0x200F), - WGL_COLOR_BITS_EXT = ((int)0x2014), - WGL_NUMBER_OVERLAYS_EXT = ((int)0x2008), - WGL_ALPHA_SHIFT_EXT = ((int)0x201C), - WGL_GREEN_SHIFT_EXT = ((int)0x2018), - WGL_NO_ACCELERATION_EXT = ((int)0x2025), - WGL_SWAP_UNDEFINED_EXT = ((int)0x202A), - WGL_SHARE_DEPTH_EXT = ((int)0x200C), + SWAP_LAYER_BUFFERS_EXT = ((int)0x2006), + NUMBER_UNDERLAYS_EXT = ((int)0x2009), + SHARE_STENCIL_EXT = ((int)0x200D), + ACCELERATION_EXT = ((int)0x2003), + GREEN_SHIFT_EXT = ((int)0x2018), + TRANSPARENT_EXT = ((int)0x200A), + DRAW_TO_WINDOW_EXT = ((int)0x2001), + TYPE_COLORINDEX_EXT = ((int)0x202C), + PIXEL_TYPE_EXT = ((int)0x2013), + ACCUM_ALPHA_BITS_EXT = ((int)0x2021), + STEREO_EXT = ((int)0x2012), + BLUE_SHIFT_EXT = ((int)0x201A), + GENERIC_ACCELERATION_EXT = ((int)0x2026), + ACCUM_RED_BITS_EXT = ((int)0x201E), + STENCIL_BITS_EXT = ((int)0x2023), + FULL_ACCELERATION_EXT = ((int)0x2027), + NO_ACCELERATION_EXT = ((int)0x2025), + ALPHA_BITS_EXT = ((int)0x201B), + DRAW_TO_BITMAP_EXT = ((int)0x2002), + DEPTH_BITS_EXT = ((int)0x2022), + SWAP_METHOD_EXT = ((int)0x2007), + BLUE_BITS_EXT = ((int)0x2019), + SWAP_UNDEFINED_EXT = ((int)0x202A), + SUPPORT_OPENGL_EXT = ((int)0x2010), + NUMBER_OVERLAYS_EXT = ((int)0x2008), + AUX_BUFFERS_EXT = ((int)0x2024), + SHARE_DEPTH_EXT = ((int)0x200C), + TRANSPARENT_VALUE_EXT = ((int)0x200B), + SUPPORT_GDI_EXT = ((int)0x200F), + SWAP_COPY_EXT = ((int)0x2029), + TYPE_RGBA_EXT = ((int)0x202B), + SWAP_EXCHANGE_EXT = ((int)0x2028), + NEED_SYSTEM_PALETTE_EXT = ((int)0x2005), + DOUBLE_BUFFER_EXT = ((int)0x2011), + ACCUM_GREEN_BITS_EXT = ((int)0x201F), + RED_SHIFT_EXT = ((int)0x2016), + COLOR_BITS_EXT = ((int)0x2014), + ALPHA_SHIFT_EXT = ((int)0x201C), + SHARE_ACCUM_EXT = ((int)0x200E), + NUMBER_PIXEL_FORMATS_EXT = ((int)0x2000), + RED_BITS_EXT = ((int)0x2015), + GREEN_BITS_EXT = ((int)0x2017), + ACCUM_BITS_EXT = ((int)0x201D), + ACCUM_BLUE_BITS_EXT = ((int)0x2020), + NEED_PALETTE_EXT = ((int)0x2004), } public enum WGL_ARB_pixel_format { - WGL_RED_BITS_ARB = ((int)0x2015), - WGL_NEED_PALETTE_ARB = ((int)0x2004), - WGL_ACCUM_ALPHA_BITS_ARB = ((int)0x2021), - WGL_ALPHA_BITS_ARB = ((int)0x201B), - WGL_DRAW_TO_BITMAP_ARB = ((int)0x2002), - WGL_NUMBER_UNDERLAYS_ARB = ((int)0x2009), - WGL_GREEN_SHIFT_ARB = ((int)0x2018), - WGL_NUMBER_PIXEL_FORMATS_ARB = ((int)0x2000), - WGL_GENERIC_ACCELERATION_ARB = ((int)0x2026), - WGL_SWAP_UNDEFINED_ARB = ((int)0x202A), - WGL_NUMBER_OVERLAYS_ARB = ((int)0x2008), - WGL_BLUE_SHIFT_ARB = ((int)0x201A), - WGL_ACCUM_BITS_ARB = ((int)0x201D), - WGL_SWAP_LAYER_BUFFERS_ARB = ((int)0x2006), - WGL_PBUFFER_HEIGHT_ARB = ((int)0x2035), - WGL_TRANSPARENT_INDEX_VALUE_ARB = ((int)0x203B), - WGL_ALPHA_SHIFT_ARB = ((int)0x201C), - WGL_DEPTH_BITS_ARB = ((int)0x2022), - WGL_SHARE_DEPTH_ARB = ((int)0x200C), - WGL_TYPE_COLORINDEX_ARB = ((int)0x202C), - WGL_FULL_ACCELERATION_ARB = ((int)0x2027), - WGL_ACCUM_BLUE_BITS_ARB = ((int)0x2020), - WGL_SWAP_COPY_ARB = ((int)0x2029), - WGL_SHARE_ACCUM_ARB = ((int)0x200E), - WGL_SUPPORT_OPENGL_ARB = ((int)0x2010), - WGL_DRAW_TO_WINDOW_ARB = ((int)0x2001), - WGL_SHARE_STENCIL_ARB = ((int)0x200D), - WGL_RED_SHIFT_ARB = ((int)0x2016), - WGL_GREEN_BITS_ARB = ((int)0x2017), - WGL_SWAP_METHOD_ARB = ((int)0x2007), - WGL_PIXEL_TYPE_ARB = ((int)0x2013), - WGL_TYPE_RGBA_ARB = ((int)0x202B), - WGL_AUX_BUFFERS_ARB = ((int)0x2024), - WGL_TRANSPARENT_BLUE_VALUE_ARB = ((int)0x2039), - WGL_PBUFFER_WIDTH_ARB = ((int)0x2034), - WGL_DRAW_TO_PBUFFER_ARB = ((int)0x202D), - WGL_SUPPORT_GDI_ARB = ((int)0x200F), - WGL_DOUBLE_BUFFER_ARB = ((int)0x2011), - WGL_NEED_SYSTEM_PALETTE_ARB = ((int)0x2005), - WGL_TRANSPARENT_GREEN_VALUE_ARB = ((int)0x2038), - WGL_STEREO_ARB = ((int)0x2012), - WGL_BLUE_BITS_ARB = ((int)0x2019), - WGL_ACCUM_GREEN_BITS_ARB = ((int)0x201F), - WGL_SWAP_EXCHANGE_ARB = ((int)0x2028), - WGL_TRANSPARENT_ARB = ((int)0x200A), - WGL_MAX_PBUFFER_HEIGHT_ARB = ((int)0x2030), - WGL_ACCUM_RED_BITS_ARB = ((int)0x201E), - WGL_TRANSPARENT_RED_VALUE_ARB = ((int)0x2037), - WGL_MAX_PBUFFER_PIXELS_ARB = ((int)0x202E), - WGL_TRANSPARENT_ALPHA_VALUE_ARB = ((int)0x203A), - WGL_PBUFFER_LARGEST_ARB = ((int)0x2033), - WGL_COLOR_BITS_ARB = ((int)0x2014), - WGL_MAX_PBUFFER_WIDTH_ARB = ((int)0x202F), - WGL_ACCELERATION_ARB = ((int)0x2003), - WGL_STENCIL_BITS_ARB = ((int)0x2023), - WGL_NO_ACCELERATION_ARB = ((int)0x2025), + SHARE_DEPTH_ARB = ((int)0x200C), + RED_BITS_ARB = ((int)0x2015), + BLUE_BITS_ARB = ((int)0x2019), + BLUE_SHIFT_ARB = ((int)0x201A), + GREEN_BITS_ARB = ((int)0x2017), + MAX_PBUFFER_PIXELS_ARB = ((int)0x202E), + TYPE_COLORINDEX_ARB = ((int)0x202C), + NO_ACCELERATION_ARB = ((int)0x2025), + SWAP_COPY_ARB = ((int)0x2029), + PBUFFER_LARGEST_ARB = ((int)0x2033), + ACCUM_BITS_ARB = ((int)0x201D), + ACCUM_GREEN_BITS_ARB = ((int)0x201F), + ALPHA_SHIFT_ARB = ((int)0x201C), + FULL_ACCELERATION_ARB = ((int)0x2027), + SWAP_METHOD_ARB = ((int)0x2007), + STENCIL_BITS_ARB = ((int)0x2023), + STEREO_ARB = ((int)0x2012), + MAX_PBUFFER_WIDTH_ARB = ((int)0x202F), + DRAW_TO_PBUFFER_ARB = ((int)0x202D), + TYPE_RGBA_ARB = ((int)0x202B), + MAX_PBUFFER_HEIGHT_ARB = ((int)0x2030), + DRAW_TO_BITMAP_ARB = ((int)0x2002), + GREEN_SHIFT_ARB = ((int)0x2018), + SUPPORT_GDI_ARB = ((int)0x200F), + PBUFFER_WIDTH_ARB = ((int)0x2034), + DOUBLE_BUFFER_ARB = ((int)0x2011), + TRANSPARENT_ALPHA_VALUE_ARB = ((int)0x203A), + ACCUM_ALPHA_BITS_ARB = ((int)0x2021), + AUX_BUFFERS_ARB = ((int)0x2024), + ALPHA_BITS_ARB = ((int)0x201B), + NUMBER_OVERLAYS_ARB = ((int)0x2008), + SHARE_ACCUM_ARB = ((int)0x200E), + SWAP_EXCHANGE_ARB = ((int)0x2028), + ACCELERATION_ARB = ((int)0x2003), + TRANSPARENT_GREEN_VALUE_ARB = ((int)0x2038), + ACCUM_RED_BITS_ARB = ((int)0x201E), + TRANSPARENT_BLUE_VALUE_ARB = ((int)0x2039), + TRANSPARENT_INDEX_VALUE_ARB = ((int)0x203B), + GENERIC_ACCELERATION_ARB = ((int)0x2026), + TRANSPARENT_ARB = ((int)0x200A), + NUMBER_UNDERLAYS_ARB = ((int)0x2009), + SWAP_UNDEFINED_ARB = ((int)0x202A), + DEPTH_BITS_ARB = ((int)0x2022), + NUMBER_PIXEL_FORMATS_ARB = ((int)0x2000), + TRANSPARENT_RED_VALUE_ARB = ((int)0x2037), + SHARE_STENCIL_ARB = ((int)0x200D), + DRAW_TO_WINDOW_ARB = ((int)0x2001), + PBUFFER_HEIGHT_ARB = ((int)0x2035), + PIXEL_TYPE_ARB = ((int)0x2013), + COLOR_BITS_ARB = ((int)0x2014), + NEED_PALETTE_ARB = ((int)0x2004), + NEED_SYSTEM_PALETTE_ARB = ((int)0x2005), + SWAP_LAYER_BUFFERS_ARB = ((int)0x2006), + RED_SHIFT_ARB = ((int)0x2016), + SUPPORT_OPENGL_ARB = ((int)0x2010), + ACCUM_BLUE_BITS_ARB = ((int)0x2020), } public enum WGL_EXT_pbuffer { - WGL_MAX_PBUFFER_HEIGHT_EXT = ((int)0x2030), - WGL_PBUFFER_LARGEST_EXT = ((int)0x2033), - WGL_PBUFFER_WIDTH_EXT = ((int)0x2034), - WGL_OPTIMAL_PBUFFER_HEIGHT_EXT = ((int)0x2032), - WGL_DRAW_TO_PBUFFER_EXT = ((int)0x202D), - WGL_PBUFFER_HEIGHT_EXT = ((int)0x2035), - WGL_MAX_PBUFFER_WIDTH_EXT = ((int)0x202F), - WGL_MAX_PBUFFER_PIXELS_EXT = ((int)0x202E), - WGL_OPTIMAL_PBUFFER_WIDTH_EXT = ((int)0x2031), + DRAW_TO_PBUFFER_EXT = ((int)0x202D), + OPTIMAL_PBUFFER_WIDTH_EXT = ((int)0x2031), + PBUFFER_LARGEST_EXT = ((int)0x2033), + PBUFFER_WIDTH_EXT = ((int)0x2034), + OPTIMAL_PBUFFER_HEIGHT_EXT = ((int)0x2032), + MAX_PBUFFER_HEIGHT_EXT = ((int)0x2030), + PBUFFER_HEIGHT_EXT = ((int)0x2035), + MAX_PBUFFER_WIDTH_EXT = ((int)0x202F), + MAX_PBUFFER_PIXELS_EXT = ((int)0x202E), } public enum WGL_ARB_pbuffer { - WGL_PBUFFER_LARGEST_ARB = ((int)0x2033), - WGL_PBUFFER_HEIGHT_ARB = ((int)0x2035), - WGL_MAX_PBUFFER_WIDTH_ARB = ((int)0x202F), - WGL_TRANSPARENT_BLUE_VALUE_ARB = ((int)0x2039), - WGL_TRANSPARENT_INDEX_VALUE_ARB = ((int)0x203B), - WGL_DRAW_TO_PBUFFER_ARB = ((int)0x202D), - WGL_MAX_PBUFFER_PIXELS_ARB = ((int)0x202E), - WGL_TRANSPARENT_ALPHA_VALUE_ARB = ((int)0x203A), - WGL_PBUFFER_LOST_ARB = ((int)0x2036), - WGL_TRANSPARENT_GREEN_VALUE_ARB = ((int)0x2038), - WGL_MAX_PBUFFER_HEIGHT_ARB = ((int)0x2030), - WGL_PBUFFER_WIDTH_ARB = ((int)0x2034), - WGL_TRANSPARENT_RED_VALUE_ARB = ((int)0x2037), + MAX_PBUFFER_WIDTH_ARB = ((int)0x202F), + DRAW_TO_PBUFFER_ARB = ((int)0x202D), + PBUFFER_WIDTH_ARB = ((int)0x2034), + MAX_PBUFFER_HEIGHT_ARB = ((int)0x2030), + PBUFFER_HEIGHT_ARB = ((int)0x2035), + PBUFFER_LOST_ARB = ((int)0x2036), + PBUFFER_LARGEST_ARB = ((int)0x2033), + TRANSPARENT_BLUE_VALUE_ARB = ((int)0x2039), + TRANSPARENT_INDEX_VALUE_ARB = ((int)0x203B), + TRANSPARENT_ALPHA_VALUE_ARB = ((int)0x203A), + MAX_PBUFFER_PIXELS_ARB = ((int)0x202E), + TRANSPARENT_GREEN_VALUE_ARB = ((int)0x2038), + TRANSPARENT_RED_VALUE_ARB = ((int)0x2037), } public enum WGL_EXT_depth_float { - WGL_DEPTH_FLOAT_EXT = ((int)0x2040), + DEPTH_FLOAT_EXT = ((int)0x2040), } public enum WGL_EXT_multisample { - WGL_SAMPLE_BUFFERS_EXT = ((int)0x2041), - WGL_SAMPLES_EXT = ((int)0x2042), + SAMPLE_BUFFERS_EXT = ((int)0x2041), + SAMPLES_EXT = ((int)0x2042), } public enum WGL_ARB_multisample { - WGL_SAMPLES_ARB = ((int)0x2042), - WGL_SAMPLE_BUFFERS_ARB = ((int)0x2041), + SAMPLE_BUFFERS_ARB = ((int)0x2041), + SAMPLES_ARB = ((int)0x2042), } public enum WGL_EXT_make_current_read @@ -181,309 +181,315 @@ namespace OpenTK.Platform.Windows public enum WGL_I3D_genlock { - WGL_GENLOCK_SOURCE_DIGITAL_SYNC_I3D = ((int)0x2048), - WGL_GENLOCK_SOURCE_EXTENAL_FIELD_I3D = ((int)0x2046), - WGL_GENLOCK_SOURCE_EDGE_FALLING_I3D = ((int)0x204A), - WGL_GENLOCK_SOURCE_EXTENAL_TTL_I3D = ((int)0x2047), - WGL_GENLOCK_SOURCE_DIGITAL_FIELD_I3D = ((int)0x2049), - WGL_GENLOCK_SOURCE_EXTENAL_SYNC_I3D = ((int)0x2045), - WGL_GENLOCK_SOURCE_EDGE_BOTH_I3D = ((int)0x204C), - WGL_GENLOCK_SOURCE_MULTIVIEW_I3D = ((int)0x2044), - WGL_GENLOCK_SOURCE_EDGE_RISING_I3D = ((int)0x204B), + GENLOCK_SOURCE_EDGE_BOTH_I3D = ((int)0x204C), + GENLOCK_SOURCE_EXTENAL_SYNC_I3D = ((int)0x2045), + GENLOCK_SOURCE_DIGITAL_FIELD_I3D = ((int)0x2049), + GENLOCK_SOURCE_EDGE_FALLING_I3D = ((int)0x204A), + GENLOCK_SOURCE_EDGE_RISING_I3D = ((int)0x204B), + GENLOCK_SOURCE_DIGITAL_SYNC_I3D = ((int)0x2048), + GENLOCK_SOURCE_EXTENAL_TTL_I3D = ((int)0x2047), + GENLOCK_SOURCE_MULTIVIEW_I3D = ((int)0x2044), + GENLOCK_SOURCE_EXTENAL_FIELD_I3D = ((int)0x2046), } public enum WGL_I3D_gamma { - WGL_GAMMA_TABLE_SIZE_I3D = ((int)0x204E), - WGL_GAMMA_EXCLUDE_DESKTOP_I3D = ((int)0x204F), + GAMMA_TABLE_SIZE_I3D = ((int)0x204E), + GAMMA_EXCLUDE_DESKTOP_I3D = ((int)0x204F), } public enum WGL_I3D_digital_video_control { - WGL_DIGITAL_VIDEO_GAMMA_CORRECTED_I3D = ((int)0x2053), - WGL_DIGITAL_VIDEO_CURSOR_ALPHA_VALUE_I3D = ((int)0x2051), - WGL_DIGITAL_VIDEO_CURSOR_ALPHA_FRAMEBUFFER_I3D = ((int)0x2050), - WGL_DIGITAL_VIDEO_CURSOR_INCLUDED_I3D = ((int)0x2052), + DIGITAL_VIDEO_GAMMA_CORRECTED_I3D = ((int)0x2053), + DIGITAL_VIDEO_CURSOR_ALPHA_FRAMEBUFFER_I3D = ((int)0x2050), + DIGITAL_VIDEO_CURSOR_INCLUDED_I3D = ((int)0x2052), + DIGITAL_VIDEO_CURSOR_ALPHA_VALUE_I3D = ((int)0x2051), } public enum WGL_3DFX_multisample { - WGL_SAMPLES_3DFX = ((int)0x2061), - WGL_SAMPLE_BUFFERS_3DFX = ((int)0x2060), + SAMPLES_3DFX = ((int)0x2061), + SAMPLE_BUFFERS_3DFX = ((int)0x2060), } public enum WGL_ARB_render_texture { - WGL_BACK_LEFT_ARB = ((int)0x2085), - WGL_AUX3_ARB = ((int)0x208A), - WGL_TEXTURE_RGB_ARB = ((int)0x2075), - WGL_TEXTURE_1D_ARB = ((int)0x2079), - WGL_BIND_TO_TEXTURE_RGBA_ARB = ((int)0x2071), - WGL_AUX5_ARB = ((int)0x208C), - WGL_MIPMAP_LEVEL_ARB = ((int)0x207B), - WGL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB = ((int)0x207E), - WGL_BIND_TO_TEXTURE_RGB_ARB = ((int)0x2070), - WGL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB = ((int)0x207F), - WGL_CUBE_MAP_FACE_ARB = ((int)0x207C), - WGL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB = ((int)0x2080), - WGL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB = ((int)0x2082), - WGL_AUX7_ARB = ((int)0x208E), - WGL_TEXTURE_RGBA_ARB = ((int)0x2076), - WGL_AUX2_ARB = ((int)0x2089), - WGL_TEXTURE_2D_ARB = ((int)0x207A), - WGL_AUX0_ARB = ((int)0x2087), - WGL_AUX9_ARB = ((int)0x2090), - WGL_FRONT_LEFT_ARB = ((int)0x2083), - WGL_AUX8_ARB = ((int)0x208F), - WGL_FRONT_RIGHT_ARB = ((int)0x2084), - WGL_AUX6_ARB = ((int)0x208D), - WGL_AUX1_ARB = ((int)0x2088), - WGL_NO_TEXTURE_ARB = ((int)0x2077), - WGL_BACK_RIGHT_ARB = ((int)0x2086), - WGL_AUX4_ARB = ((int)0x208B), - WGL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB = ((int)0x2081), - WGL_TEXTURE_FORMAT_ARB = ((int)0x2072), - WGL_TEXTURE_TARGET_ARB = ((int)0x2073), - WGL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB = ((int)0x207D), - WGL_TEXTURE_CUBE_MAP_ARB = ((int)0x2078), - WGL_MIPMAP_TEXTURE_ARB = ((int)0x2074), + CUBE_MAP_FACE_ARB = ((int)0x207C), + TEXTURE_CUBE_MAP_POSITIVE_Z_ARB = ((int)0x2081), + AUX0_ARB = ((int)0x2087), + TEXTURE_CUBE_MAP_ARB = ((int)0x2078), + TEXTURE_1D_ARB = ((int)0x2079), + AUX3_ARB = ((int)0x208A), + TEXTURE_CUBE_MAP_NEGATIVE_X_ARB = ((int)0x207E), + NO_TEXTURE_ARB = ((int)0x2077), + TEXTURE_CUBE_MAP_POSITIVE_Y_ARB = ((int)0x207F), + AUX1_ARB = ((int)0x2088), + BACK_LEFT_ARB = ((int)0x2085), + AUX7_ARB = ((int)0x208E), + FRONT_LEFT_ARB = ((int)0x2083), + TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB = ((int)0x2080), + BIND_TO_TEXTURE_RGB_ARB = ((int)0x2070), + AUX8_ARB = ((int)0x208F), + TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB = ((int)0x2082), + TEXTURE_CUBE_MAP_POSITIVE_X_ARB = ((int)0x207D), + BIND_TO_TEXTURE_RGBA_ARB = ((int)0x2071), + AUX6_ARB = ((int)0x208D), + TEXTURE_TARGET_ARB = ((int)0x2073), + AUX2_ARB = ((int)0x2089), + AUX5_ARB = ((int)0x208C), + TEXTURE_2D_ARB = ((int)0x207A), + AUX4_ARB = ((int)0x208B), + FRONT_RIGHT_ARB = ((int)0x2084), + TEXTURE_RGB_ARB = ((int)0x2075), + MIPMAP_TEXTURE_ARB = ((int)0x2074), + MIPMAP_LEVEL_ARB = ((int)0x207B), + TEXTURE_RGBA_ARB = ((int)0x2076), + AUX9_ARB = ((int)0x2090), + BACK_RIGHT_ARB = ((int)0x2086), + TEXTURE_FORMAT_ARB = ((int)0x2072), } public enum WGL_NV_render_texture_rectangle { - WGL_BIND_TO_TEXTURE_RECTANGLE_RGBA_NV = ((int)0x20A1), - WGL_TEXTURE_RECTANGLE_NV = ((int)0x20A2), - WGL_BIND_TO_TEXTURE_RECTANGLE_RGB_NV = ((int)0x20A0), + BIND_TO_TEXTURE_RECTANGLE_RGBA_NV = ((int)0x20A1), + TEXTURE_RECTANGLE_NV = ((int)0x20A2), + BIND_TO_TEXTURE_RECTANGLE_RGB_NV = ((int)0x20A0), } public enum WGL_NV_render_depth_texture { - WGL_BIND_TO_TEXTURE_RECTANGLE_DEPTH_NV = ((int)0x20A4), - WGL_DEPTH_TEXTURE_FORMAT_NV = ((int)0x20A5), - WGL_TEXTURE_DEPTH_COMPONENT_NV = ((int)0x20A6), - WGL_BIND_TO_TEXTURE_DEPTH_NV = ((int)0x20A3), - WGL_DEPTH_COMPONENT_NV = ((int)0x20A7), + BIND_TO_TEXTURE_RECTANGLE_DEPTH_NV = ((int)0x20A4), + TEXTURE_DEPTH_COMPONENT_NV = ((int)0x20A6), + DEPTH_COMPONENT_NV = ((int)0x20A7), + DEPTH_TEXTURE_FORMAT_NV = ((int)0x20A5), + BIND_TO_TEXTURE_DEPTH_NV = ((int)0x20A3), } public enum WGL_NV_float_buffer { - WGL_TEXTURE_FLOAT_RG_NV = ((int)0x20B6), - WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV = ((int)0x20B2), - WGL_TEXTURE_FLOAT_R_NV = ((int)0x20B5), - WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV = ((int)0x20B4), - WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV = ((int)0x20B3), - WGL_TEXTURE_FLOAT_RGB_NV = ((int)0x20B7), - WGL_FLOAT_COMPONENTS_NV = ((int)0x20B0), - WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV = ((int)0x20B1), - WGL_TEXTURE_FLOAT_RGBA_NV = ((int)0x20B8), + TEXTURE_FLOAT_RG_NV = ((int)0x20B6), + BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV = ((int)0x20B4), + FLOAT_COMPONENTS_NV = ((int)0x20B0), + BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV = ((int)0x20B2), + TEXTURE_FLOAT_RGB_NV = ((int)0x20B7), + BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV = ((int)0x20B3), + TEXTURE_FLOAT_R_NV = ((int)0x20B5), + TEXTURE_FLOAT_RGBA_NV = ((int)0x20B8), + BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV = ((int)0x20B1), } public enum WGL_ARB_pixel_format_float { - WGL_TYPE_RGBA_FLOAT_ARB = ((int)0x21A0), + TYPE_RGBA_FLOAT_ARB = ((int)0x21A0), } public enum WGL_ATI_pixel_format_float { - WGL_TYPE_RGBA_FLOAT_ATI = ((int)0x21A0), + TYPE_RGBA_FLOAT_ATI = ((int)0x21A0), + } + + public enum WGL_font_type + { + FONT_LINES = ((int)0), } public enum All { - WGL_SWAP_METHOD_EXT = ((int)0x2007), - WGL_MIPMAP_TEXTURE_ARB = ((int)0x2074), - WGL_AUX4_ARB = ((int)0x208B), - WGL_SAMPLE_BUFFERS_EXT = ((int)0x2041), - WGL_BIND_TO_TEXTURE_RGB_ARB = ((int)0x2070), - WGL_AUX_BUFFERS_EXT = ((int)0x2024), - WGL_AUX0_ARB = ((int)0x2087), - WGL_GENLOCK_SOURCE_EDGE_FALLING_I3D = ((int)0x204A), - WGL_ACCUM_ALPHA_BITS_EXT = ((int)0x2021), - WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV = ((int)0x20B1), - WGL_IMAGE_BUFFER_LOCK_I3D = ((int)0x00000002), - WGL_BLUE_SHIFT_EXT = ((int)0x201A), - WGL_NEED_SYSTEM_PALETTE_EXT = ((int)0x2005), - WGL_SHARE_ACCUM_EXT = ((int)0x200E), - WGL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB = ((int)0x207E), - WGL_DRAW_TO_PBUFFER_ARB = ((int)0x202D), - WGL_DIGITAL_VIDEO_GAMMA_CORRECTED_I3D = ((int)0x2053), - WGL_TEXTURE_CUBE_MAP_ARB = ((int)0x2078), - WGL_TYPE_RGBA_FLOAT_ARB = ((int)0x21A0), - WGL_FULL_ACCELERATION_EXT = ((int)0x2027), - WGL_ACCUM_GREEN_BITS_EXT = ((int)0x201F), - WGL_BACK_COLOR_BUFFER_BIT_ARB = ((int)0x00000002), - WGL_ACCUM_GREEN_BITS_ARB = ((int)0x201F), - WGL_MAX_PBUFFER_WIDTH_EXT = ((int)0x202F), - WGL_ACCUM_RED_BITS_EXT = ((int)0x201E), - WGL_AUX9_ARB = ((int)0x2090), - WGL_TRANSPARENT_EXT = ((int)0x200A), - WGL_ACCUM_ALPHA_BITS_ARB = ((int)0x2021), - WGL_GENERIC_ACCELERATION_EXT = ((int)0x2026), - WGL_AUX2_ARB = ((int)0x2089), - WGL_PIXEL_TYPE_EXT = ((int)0x2013), - WGL_NUMBER_PIXEL_FORMATS_EXT = ((int)0x2000), - WGL_ACCELERATION_ARB = ((int)0x2003), - WGL_IMAGE_BUFFER_MIN_ACCESS_I3D = ((int)0x00000001), - WGL_DOUBLE_BUFFER_EXT = ((int)0x2011), - WGL_NEED_PALETTE_EXT = ((int)0x2004), - WGL_TEXTURE_FLOAT_RG_NV = ((int)0x20B6), - WGL_DEPTH_FLOAT_EXT = ((int)0x2040), - WGL_BLUE_BITS_ARB = ((int)0x2019), - WGL_ACCUM_BITS_EXT = ((int)0x201D), - WGL_MAX_PBUFFER_WIDTH_ARB = ((int)0x202F), - WGL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB = ((int)0x2080), - WGL_NUMBER_OVERLAYS_ARB = ((int)0x2008), - WGL_TEXTURE_RGB_ARB = ((int)0x2075), - WGL_SUPPORT_GDI_EXT = ((int)0x200F), - WGL_PBUFFER_HEIGHT_EXT = ((int)0x2035), - WGL_BIND_TO_TEXTURE_RECTANGLE_DEPTH_NV = ((int)0x20A4), - WGL_SAMPLE_BUFFERS_ARB = ((int)0x2041), - WGL_TRANSPARENT_ALPHA_VALUE_ARB = ((int)0x203A), - WGL_NEED_PALETTE_ARB = ((int)0x2004), - WGL_GREEN_SHIFT_ARB = ((int)0x2018), - WGL_BIND_TO_TEXTURE_RECTANGLE_RGBA_NV = ((int)0x20A1), - WGL_TYPE_COLORINDEX_EXT = ((int)0x202C), - WGL_SHARE_STENCIL_ARB = ((int)0x200D), - WGL_GENLOCK_SOURCE_DIGITAL_SYNC_I3D = ((int)0x2048), - WGL_SHARE_DEPTH_EXT = ((int)0x200C), - WGL_NO_ACCELERATION_EXT = ((int)0x2025), - WGL_BLUE_SHIFT_ARB = ((int)0x201A), - WGL_SUPPORT_GDI_ARB = ((int)0x200F), - WGL_NO_TEXTURE_ARB = ((int)0x2077), - WGL_TEXTURE_FLOAT_RGBA_NV = ((int)0x20B8), - WGL_DEPTH_TEXTURE_FORMAT_NV = ((int)0x20A5), - WGL_TRANSPARENT_BLUE_VALUE_ARB = ((int)0x2039), - WGL_DEPTH_BUFFER_BIT_ARB = ((int)0x00000004), - WGL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB = ((int)0x2082), - WGL_SWAP_EXCHANGE_ARB = ((int)0x2028), - WGL_TRANSPARENT_RED_VALUE_ARB = ((int)0x2037), - WGL_SWAP_COPY_ARB = ((int)0x2029), - WGL_GREEN_SHIFT_EXT = ((int)0x2018), - WGL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB = ((int)0x2081), - WGL_TYPE_RGBA_EXT = ((int)0x202B), - WGL_TYPE_RGBA_FLOAT_ATI = ((int)0x21A0), - WGL_NUMBER_PIXEL_FORMATS_ARB = ((int)0x2000), - WGL_TEXTURE_RGBA_ARB = ((int)0x2076), - WGL_SWAP_COPY_EXT = ((int)0x2029), - WGL_NEED_SYSTEM_PALETTE_ARB = ((int)0x2005), - WGL_TEXTURE_FLOAT_RGB_NV = ((int)0x20B7), - WGL_OPTIMAL_PBUFFER_HEIGHT_EXT = ((int)0x2032), - WGL_SWAP_UNDEFINED_ARB = ((int)0x202A), - WGL_GENLOCK_SOURCE_DIGITAL_FIELD_I3D = ((int)0x2049), - WGL_GENLOCK_SOURCE_EDGE_RISING_I3D = ((int)0x204B), - WGL_SWAP_LAYER_BUFFERS_EXT = ((int)0x2006), - WGL_SWAP_UNDEFINED_EXT = ((int)0x202A), - WGL_FULL_ACCELERATION_ARB = ((int)0x2027), - WGL_NUMBER_UNDERLAYS_ARB = ((int)0x2009), - WGL_BIND_TO_TEXTURE_RGBA_ARB = ((int)0x2071), - WGL_TRANSPARENT_GREEN_VALUE_ARB = ((int)0x2038), - WGL_PIXEL_TYPE_ARB = ((int)0x2013), - WGL_NO_ACCELERATION_ARB = ((int)0x2025), - WGL_NUMBER_OVERLAYS_EXT = ((int)0x2008), - WGL_DEPTH_BITS_EXT = ((int)0x2022), - WGL_AUX3_ARB = ((int)0x208A), - WGL_DEPTH_BITS_ARB = ((int)0x2022), - WGL_GENERIC_ACCELERATION_ARB = ((int)0x2026), - WGL_TYPE_RGBA_ARB = ((int)0x202B), - WGL_DRAW_TO_WINDOW_EXT = ((int)0x2001), - WGL_TEXTURE_2D_ARB = ((int)0x207A), - WGL_STENCIL_BUFFER_BIT_ARB = ((int)0x00000008), - WGL_SWAP_EXCHANGE_EXT = ((int)0x2028), - WGL_SHARE_STENCIL_EXT = ((int)0x200D), - WGL_STEREO_ARB = ((int)0x2012), - WGL_SHARE_ACCUM_ARB = ((int)0x200E), - WGL_TEXTURE_RECTANGLE_NV = ((int)0x20A2), - WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV = ((int)0x20B3), - WGL_STENCIL_BITS_EXT = ((int)0x2023), - WGL_MIPMAP_LEVEL_ARB = ((int)0x207B), - WGL_DRAW_TO_WINDOW_ARB = ((int)0x2001), - WGL_AUX5_ARB = ((int)0x208C), - WGL_DEPTH_COMPONENT_NV = ((int)0x20A7), - WGL_AUX1_ARB = ((int)0x2088), - WGL_TEXTURE_DEPTH_COMPONENT_NV = ((int)0x20A6), - WGL_FRONT_LEFT_ARB = ((int)0x2083), - WGL_MAX_PBUFFER_HEIGHT_EXT = ((int)0x2030), - WGL_RED_BITS_EXT = ((int)0x2015), - WGL_GENLOCK_SOURCE_EXTENAL_TTL_I3D = ((int)0x2047), - WGL_RED_SHIFT_ARB = ((int)0x2016), - WGL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB = ((int)0x207F), - WGL_DIGITAL_VIDEO_CURSOR_ALPHA_VALUE_I3D = ((int)0x2051), - WGL_TRANSPARENT_INDEX_VALUE_ARB = ((int)0x203B), - WGL_ALPHA_BITS_EXT = ((int)0x201B), - WGL_TRANSPARENT_VALUE_EXT = ((int)0x200B), - WGL_BIND_TO_TEXTURE_DEPTH_NV = ((int)0x20A3), - WGL_TEXTURE_1D_ARB = ((int)0x2079), - WGL_MAX_PBUFFER_PIXELS_ARB = ((int)0x202E), - WGL_SUPPORT_OPENGL_ARB = ((int)0x2010), - WGL_TEXTURE_TARGET_ARB = ((int)0x2073), - WGL_SAMPLE_BUFFERS_3DFX = ((int)0x2060), - WGL_TEXTURE_FLOAT_R_NV = ((int)0x20B5), - WGL_COLOR_BITS_EXT = ((int)0x2014), - WGL_BACK_RIGHT_ARB = ((int)0x2086), - WGL_PBUFFER_HEIGHT_ARB = ((int)0x2035), - WGL_ACCUM_BLUE_BITS_ARB = ((int)0x2020), - WGL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB = ((int)0x207D), - WGL_GENLOCK_SOURCE_EXTENAL_SYNC_I3D = ((int)0x2045), - WGL_SWAP_METHOD_ARB = ((int)0x2007), - WGL_AUX8_ARB = ((int)0x208F), - WGL_TYPE_COLORINDEX_ARB = ((int)0x202C), - WGL_DRAW_TO_PBUFFER_EXT = ((int)0x202D), - WGL_CUBE_MAP_FACE_ARB = ((int)0x207C), - WGL_GENLOCK_SOURCE_EDGE_BOTH_I3D = ((int)0x204C), - WGL_SAMPLES_3DFX = ((int)0x2061), - WGL_MAX_PBUFFER_PIXELS_EXT = ((int)0x202E), - WGL_DOUBLE_BUFFER_ARB = ((int)0x2011), - WGL_STEREO_EXT = ((int)0x2012), - WGL_RED_SHIFT_EXT = ((int)0x2016), - WGL_ALPHA_BITS_ARB = ((int)0x201B), - WGL_COLOR_BITS_ARB = ((int)0x2014), - WGL_GAMMA_TABLE_SIZE_I3D = ((int)0x204E), - WGL_AUX_BUFFERS_ARB = ((int)0x2024), + GENLOCK_SOURCE_EXTENAL_SYNC_I3D = ((int)0x2045), + NUMBER_PIXEL_FORMATS_EXT = ((int)0x2000), + SAMPLES_EXT = ((int)0x2042), + TYPE_RGBA_FLOAT_ARB = ((int)0x21A0), + NEED_SYSTEM_PALETTE_ARB = ((int)0x2005), + TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB = ((int)0x2082), + TEXTURE_1D_ARB = ((int)0x2079), + ACCELERATION_ARB = ((int)0x2003), + STEREO_ARB = ((int)0x2012), + SHARE_ACCUM_ARB = ((int)0x200E), + MAX_PBUFFER_PIXELS_ARB = ((int)0x202E), + BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV = ((int)0x20B3), + DEPTH_COMPONENT_NV = ((int)0x20A7), + GAMMA_TABLE_SIZE_I3D = ((int)0x204E), + GENERIC_ACCELERATION_ARB = ((int)0x2026), + NEED_SYSTEM_PALETTE_EXT = ((int)0x2005), + MAX_PBUFFER_WIDTH_EXT = ((int)0x202F), + TEXTURE_CUBE_MAP_ARB = ((int)0x2078), + TEXTURE_2D_ARB = ((int)0x207A), + TEXTURE_DEPTH_COMPONENT_NV = ((int)0x20A6), + MIPMAP_LEVEL_ARB = ((int)0x207B), + ALPHA_BITS_ARB = ((int)0x201B), + TEXTURE_FLOAT_R_NV = ((int)0x20B5), + PBUFFER_WIDTH_EXT = ((int)0x2034), + BACK_LEFT_ARB = ((int)0x2085), + MAX_PBUFFER_HEIGHT_EXT = ((int)0x2030), + FULL_ACCELERATION_ARB = ((int)0x2027), + TYPE_RGBA_FLOAT_ATI = ((int)0x21A0), + SHARE_ACCUM_EXT = ((int)0x200E), + FRONT_RIGHT_ARB = ((int)0x2084), + ACCUM_BLUE_BITS_ARB = ((int)0x2020), + BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV = ((int)0x20B1), + TRANSPARENT_BLUE_VALUE_ARB = ((int)0x2039), + SWAP_LAYER_BUFFERS_EXT = ((int)0x2006), + AUX8_ARB = ((int)0x208F), + RED_BITS_EXT = ((int)0x2015), + STENCIL_BITS_ARB = ((int)0x2023), + NUMBER_OVERLAYS_ARB = ((int)0x2008), + AUX4_ARB = ((int)0x208B), + STENCIL_BUFFER_BIT_ARB = ((int)0x00000008), + GREEN_BITS_ARB = ((int)0x2017), + ACCUM_GREEN_BITS_ARB = ((int)0x201F), + FULL_ACCELERATION_EXT = ((int)0x2027), + TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB = ((int)0x2080), + OPTIMAL_PBUFFER_HEIGHT_EXT = ((int)0x2032), + AUX_BUFFERS_ARB = ((int)0x2024), + DRAW_TO_BITMAP_EXT = ((int)0x2002), + AUX7_ARB = ((int)0x208E), + SUPPORT_OPENGL_ARB = ((int)0x2010), + TEXTURE_CUBE_MAP_NEGATIVE_X_ARB = ((int)0x207E), + PBUFFER_LARGEST_EXT = ((int)0x2033), + GREEN_SHIFT_EXT = ((int)0x2018), + BLUE_BITS_EXT = ((int)0x2019), + ACCUM_BITS_ARB = ((int)0x201D), + DIGITAL_VIDEO_CURSOR_ALPHA_FRAMEBUFFER_I3D = ((int)0x2050), + ACCUM_BITS_EXT = ((int)0x201D), + SHARE_DEPTH_EXT = ((int)0x200C), + STEREO_EXT = ((int)0x2012), + GREEN_SHIFT_ARB = ((int)0x2018), + SWAP_EXCHANGE_ARB = ((int)0x2028), + GENLOCK_SOURCE_EXTENAL_TTL_I3D = ((int)0x2047), + SUPPORT_GDI_EXT = ((int)0x200F), + PBUFFER_HEIGHT_ARB = ((int)0x2035), + TRANSPARENT_GREEN_VALUE_ARB = ((int)0x2038), + AUX6_ARB = ((int)0x208D), + FRONT_LEFT_ARB = ((int)0x2083), + NUMBER_UNDERLAYS_ARB = ((int)0x2009), + AUX2_ARB = ((int)0x2089), + SAMPLE_BUFFERS_ARB = ((int)0x2041), + RED_SHIFT_ARB = ((int)0x2016), + MAX_PBUFFER_HEIGHT_ARB = ((int)0x2030), + DIGITAL_VIDEO_CURSOR_ALPHA_VALUE_I3D = ((int)0x2051), + NUMBER_UNDERLAYS_EXT = ((int)0x2009), + TRANSPARENT_ALPHA_VALUE_ARB = ((int)0x203A), + SAMPLE_BUFFERS_3DFX = ((int)0x2060), + IMAGE_BUFFER_LOCK_I3D = ((int)0x00000002), + TRANSPARENT_RED_VALUE_ARB = ((int)0x2037), + ACCUM_ALPHA_BITS_ARB = ((int)0x2021), + SWAP_EXCHANGE_EXT = ((int)0x2028), + DEPTH_BUFFER_BIT_ARB = ((int)0x00000004), + ALPHA_BITS_EXT = ((int)0x201B), + ACCELERATION_EXT = ((int)0x2003), + GENLOCK_SOURCE_DIGITAL_SYNC_I3D = ((int)0x2048), + DOUBLE_BUFFER_EXT = ((int)0x2011), + BIND_TO_TEXTURE_RGBA_ARB = ((int)0x2071), + SWAP_COPY_EXT = ((int)0x2029), + FRONT_COLOR_BUFFER_BIT_ARB = ((int)0x00000001), + BIND_TO_TEXTURE_RECTANGLE_RGB_NV = ((int)0x20A0), + TYPE_COLORINDEX_EXT = ((int)0x202C), + TEXTURE_CUBE_MAP_POSITIVE_Y_ARB = ((int)0x207F), + SAMPLE_BUFFERS_EXT = ((int)0x2041), + IMAGE_BUFFER_MIN_ACCESS_I3D = ((int)0x00000001), + GENLOCK_SOURCE_EDGE_FALLING_I3D = ((int)0x204A), + BIND_TO_TEXTURE_RGB_ARB = ((int)0x2070), + DRAW_TO_WINDOW_ARB = ((int)0x2001), + AUX5_ARB = ((int)0x208C), + DRAW_TO_PBUFFER_EXT = ((int)0x202D), + GENLOCK_SOURCE_DIGITAL_FIELD_I3D = ((int)0x2049), + DRAW_TO_WINDOW_EXT = ((int)0x2001), + DEPTH_BITS_EXT = ((int)0x2022), + SHARE_STENCIL_ARB = ((int)0x200D), + TYPE_RGBA_EXT = ((int)0x202B), + DEPTH_BITS_ARB = ((int)0x2022), + TRANSPARENT_EXT = ((int)0x200A), + MIPMAP_TEXTURE_ARB = ((int)0x2074), + GENLOCK_SOURCE_EXTENAL_FIELD_I3D = ((int)0x2046), + SWAP_LAYER_BUFFERS_ARB = ((int)0x2006), + TEXTURE_TARGET_ARB = ((int)0x2073), + PBUFFER_HEIGHT_EXT = ((int)0x2035), + TRANSPARENT_ARB = ((int)0x200A), + BIND_TO_TEXTURE_DEPTH_NV = ((int)0x20A3), + SWAP_COPY_ARB = ((int)0x2029), + NO_ACCELERATION_EXT = ((int)0x2025), + TEXTURE_RECTANGLE_NV = ((int)0x20A2), + SAMPLES_ARB = ((int)0x2042), + BLUE_SHIFT_EXT = ((int)0x201A), + BLUE_BITS_ARB = ((int)0x2019), + BIND_TO_TEXTURE_RECTANGLE_RGBA_NV = ((int)0x20A1), + DRAW_TO_BITMAP_ARB = ((int)0x2002), + TEXTURE_CUBE_MAP_POSITIVE_X_ARB = ((int)0x207D), + NO_ACCELERATION_ARB = ((int)0x2025), + PIXEL_TYPE_ARB = ((int)0x2013), + ACCUM_ALPHA_BITS_EXT = ((int)0x2021), + NEED_PALETTE_EXT = ((int)0x2004), + BIND_TO_TEXTURE_RECTANGLE_DEPTH_NV = ((int)0x20A4), + BACK_COLOR_BUFFER_BIT_ARB = ((int)0x00000002), + DOUBLE_BUFFER_ARB = ((int)0x2011), + NEED_PALETTE_ARB = ((int)0x2004), + ALPHA_SHIFT_EXT = ((int)0x201C), + NO_TEXTURE_ARB = ((int)0x2077), + TEXTURE_FLOAT_RG_NV = ((int)0x20B6), + SHARE_STENCIL_EXT = ((int)0x200D), + TEXTURE_FLOAT_RGBA_NV = ((int)0x20B8), + PBUFFER_LARGEST_ARB = ((int)0x2033), + DIGITAL_VIDEO_CURSOR_INCLUDED_I3D = ((int)0x2052), + TYPE_RGBA_ARB = ((int)0x202B), + ACCUM_RED_BITS_ARB = ((int)0x201E), + GREEN_BITS_EXT = ((int)0x2017), + GENLOCK_SOURCE_MULTIVIEW_I3D = ((int)0x2044), + GENERIC_ACCELERATION_EXT = ((int)0x2026), + FONT_LINES = ((int)0), ERROR_INCOMPATIBLE_DEVICE_CONTEXTS_ARB = ((int)0x2054), - WGL_FRONT_COLOR_BUFFER_BIT_ARB = ((int)0x00000001), - WGL_SAMPLES_EXT = ((int)0x2042), - WGL_ALPHA_SHIFT_EXT = ((int)0x201C), - WGL_ACCELERATION_EXT = ((int)0x2003), - WGL_AUX6_ARB = ((int)0x208D), - WGL_FRONT_RIGHT_ARB = ((int)0x2084), - WGL_PBUFFER_WIDTH_ARB = ((int)0x2034), - WGL_PBUFFER_LARGEST_ARB = ((int)0x2033), - WGL_NUMBER_UNDERLAYS_EXT = ((int)0x2009), - WGL_ACCUM_BITS_ARB = ((int)0x201D), - WGL_STENCIL_BITS_ARB = ((int)0x2023), - WGL_ACCUM_BLUE_BITS_EXT = ((int)0x2020), - WGL_MAX_PBUFFER_HEIGHT_ARB = ((int)0x2030), - WGL_TEXTURE_FORMAT_ARB = ((int)0x2072), - WGL_ACCUM_RED_BITS_ARB = ((int)0x201E), - WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV = ((int)0x20B4), - WGL_FLOAT_COMPONENTS_NV = ((int)0x20B0), - WGL_TRANSPARENT_ARB = ((int)0x200A), - WGL_RED_BITS_ARB = ((int)0x2015), - WGL_GREEN_BITS_ARB = ((int)0x2017), - WGL_GENLOCK_SOURCE_MULTIVIEW_I3D = ((int)0x2044), - WGL_BLUE_BITS_EXT = ((int)0x2019), - WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV = ((int)0x20B2), - WGL_GREEN_BITS_EXT = ((int)0x2017), - WGL_SHARE_DEPTH_ARB = ((int)0x200C), - WGL_ALPHA_SHIFT_ARB = ((int)0x201C), - WGL_PBUFFER_WIDTH_EXT = ((int)0x2034), - WGL_BIND_TO_TEXTURE_RECTANGLE_RGB_NV = ((int)0x20A0), - WGL_SWAP_LAYER_BUFFERS_ARB = ((int)0x2006), + SWAP_METHOD_EXT = ((int)0x2007), + PIXEL_TYPE_EXT = ((int)0x2013), + TEXTURE_FLOAT_RGB_NV = ((int)0x20B7), + NUMBER_OVERLAYS_EXT = ((int)0x2008), + GAMMA_EXCLUDE_DESKTOP_I3D = ((int)0x204F), + COLOR_BITS_EXT = ((int)0x2014), + DEPTH_FLOAT_EXT = ((int)0x2040), + BACK_RIGHT_ARB = ((int)0x2086), + MAX_PBUFFER_WIDTH_ARB = ((int)0x202F), + OPTIMAL_PBUFFER_WIDTH_EXT = ((int)0x2031), + AUX1_ARB = ((int)0x2088), + COLOR_BITS_ARB = ((int)0x2014), + ACCUM_BLUE_BITS_EXT = ((int)0x2020), + TEXTURE_RGBA_ARB = ((int)0x2076), + PBUFFER_LOST_ARB = ((int)0x2036), + GENLOCK_SOURCE_EDGE_RISING_I3D = ((int)0x204B), + AUX9_ARB = ((int)0x2090), + NUMBER_PIXEL_FORMATS_ARB = ((int)0x2000), + SWAP_METHOD_ARB = ((int)0x2007), + RED_SHIFT_EXT = ((int)0x2016), + MAX_PBUFFER_PIXELS_EXT = ((int)0x202E), + AUX0_ARB = ((int)0x2087), + TRANSPARENT_VALUE_EXT = ((int)0x200B), + FLOAT_COMPONENTS_NV = ((int)0x20B0), + BLUE_SHIFT_ARB = ((int)0x201A), + TEXTURE_RGB_ARB = ((int)0x2075), + BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV = ((int)0x20B4), + ACCUM_GREEN_BITS_EXT = ((int)0x201F), ERROR_INVALID_PIXEL_TYPE_ARB = ((int)0x2043), - WGL_AUX7_ARB = ((int)0x208E), - WGL_PBUFFER_LOST_ARB = ((int)0x2036), + DIGITAL_VIDEO_GAMMA_CORRECTED_I3D = ((int)0x2053), + TEXTURE_CUBE_MAP_POSITIVE_Z_ARB = ((int)0x2081), + AUX_BUFFERS_EXT = ((int)0x2024), + CUBE_MAP_FACE_ARB = ((int)0x207C), + TYPE_COLORINDEX_ARB = ((int)0x202C), ERROR_INVALID_PIXEL_TYPE_EXT = ((int)0x2043), - WGL_SAMPLES_ARB = ((int)0x2042), - WGL_GENLOCK_SOURCE_EXTENAL_FIELD_I3D = ((int)0x2046), - WGL_GAMMA_EXCLUDE_DESKTOP_I3D = ((int)0x204F), - WGL_DIGITAL_VIDEO_CURSOR_INCLUDED_I3D = ((int)0x2052), - WGL_PBUFFER_LARGEST_EXT = ((int)0x2033), - WGL_DRAW_TO_BITMAP_EXT = ((int)0x2002), - WGL_DIGITAL_VIDEO_CURSOR_ALPHA_FRAMEBUFFER_I3D = ((int)0x2050), - WGL_OPTIMAL_PBUFFER_WIDTH_EXT = ((int)0x2031), - WGL_DRAW_TO_BITMAP_ARB = ((int)0x2002), - WGL_BACK_LEFT_ARB = ((int)0x2085), - WGL_SUPPORT_OPENGL_EXT = ((int)0x2010), + AUX3_ARB = ((int)0x208A), + SHARE_DEPTH_ARB = ((int)0x200C), + SAMPLES_3DFX = ((int)0x2061), + ALPHA_SHIFT_ARB = ((int)0x201C), + GENLOCK_SOURCE_EDGE_BOTH_I3D = ((int)0x204C), + SUPPORT_OPENGL_EXT = ((int)0x2010), + SWAP_UNDEFINED_ARB = ((int)0x202A), + RED_BITS_ARB = ((int)0x2015), + STENCIL_BITS_EXT = ((int)0x2023), + DEPTH_TEXTURE_FORMAT_NV = ((int)0x20A5), + ACCUM_RED_BITS_EXT = ((int)0x201E), + PBUFFER_WIDTH_ARB = ((int)0x2034), + SWAP_UNDEFINED_EXT = ((int)0x202A), + DRAW_TO_PBUFFER_ARB = ((int)0x202D), + BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV = ((int)0x20B2), + TEXTURE_FORMAT_ARB = ((int)0x2072), + TRANSPARENT_INDEX_VALUE_ARB = ((int)0x203B), + SUPPORT_GDI_ARB = ((int)0x200F), } public enum WGL_ARB_extensions_string @@ -492,8 +498,8 @@ namespace OpenTK.Platform.Windows public enum WGL_I3D_image_buffer { - WGL_IMAGE_BUFFER_MIN_ACCESS_I3D = ((int)0x00000001), - WGL_IMAGE_BUFFER_LOCK_I3D = ((int)0x00000002), + IMAGE_BUFFER_LOCK_I3D = ((int)0x00000002), + IMAGE_BUFFER_MIN_ACCESS_I3D = ((int)0x00000001), } public enum WGL_I3D_swap_frame_lock diff --git a/Source/OpenTK/Platform/Windows/WglHelper.cs b/Source/OpenTK/Platform/Windows/WglHelper.cs index aac281ce..6a72cbbd 100644 --- a/Source/OpenTK/Platform/Windows/WglHelper.cs +++ b/Source/OpenTK/Platform/Windows/WglHelper.cs @@ -1,9 +1,9 @@ -#region --- License --- +#region --- License --- /* Copyright (c) 2006, 2007 Stefanos Apostolopoulos * See license.txt for license info * * Date: 12/8/2007 - * Time: 6:43 μμ + * Time: 6:43 ìì */ #endregion @@ -102,6 +102,21 @@ namespace OpenTK.Platform.Windows return f.GetValue(null) != null; } - + /* + /// + /// Checks if an extension is supported by the given context. + /// + /// The device context to check. + /// The extension to check. + /// True if the extension is supported by the given context, false otherwise + public static bool SupportsExtensionARB(IntPtr deviceContext, string ext) + { + string extension_string = Wgl.ARB.GetExtensionsString(deviceContext); + string[] extensions = extension_string.Split(" ".ToCharArray(), StringSplitOptions.RemoveEmptyEntries); + + Array.Sort(extensions); + return Array.BinarySearch(extensions, ext) != -1; + } + */ } } diff --git a/Source/OpenTK/Platform/Windows/WinGLContext.cs b/Source/OpenTK/Platform/Windows/WinGLContext.cs index 902b8c55..b5e3ab73 100644 --- a/Source/OpenTK/Platform/Windows/WinGLContext.cs +++ b/Source/OpenTK/Platform/Windows/WinGLContext.cs @@ -24,44 +24,32 @@ namespace OpenTK.Platform.Windows static private readonly string opengl32Name = "OPENGL32.DLL"; private IntPtr windowHandle; + private DisplayMode mode; + private bool disposed; #region --- Contructors --- - public WinGLContext(IntPtr windowHandle) - : this(windowHandle, new DisplayMode(640, 480, new ColorDepth(32), 16, 0, 0, 2, false, false, false, 0.0f)) + public WinGLContext() + : this(new DisplayMode(640, 480, new ColorDepth(32), 16, 0, 0, 2, false, false, false, 0.0f)) { } - public WinGLContext(IntPtr windowHandle, DisplayMode mode) + public WinGLContext(DisplayMode mode) { Trace.WriteLine(String.Format("Creating opengl context (driver: {0})", this.ToString())); - Trace.Indent(); - - this.windowHandle = windowHandle; - Trace.WriteLine(String.Format("Window handle: {0}", windowHandle)); - - PrepareContext(mode); - - Trace.Unindent(); + this.mode = mode; } #endregion - public void CreateContext() - { - Trace.Write("Creating render context... "); - // Do not rely on OpenTK.Platform.Windows.Wgl - the context is not ready yet, - // and Wgl extensions will fail to load. - //renderContext = Wgl.CreateContext(deviceContext); - renderContext = Wgl.Imports.CreateContext(deviceContext); - Trace.WriteLine(String.Format("done! (id: {0})", renderContext)); - Wgl.Imports.MakeCurrent(deviceContext, renderContext); - Wgl.LoadAll(); - } - - public void PrepareContext(DisplayMode mode) + #region public void PrepareContext(IntPtr handle) + + public void PrepareContext(IntPtr handle) { + this.windowHandle = handle; + Debug.WriteLine(String.Format("OpenGL context is bound to handle: {0}", windowHandle)); + // Dynamically load the OpenGL32.dll in order to use the extension loading capabilities of Wgl. if (opengl32Handle == IntPtr.Zero) { @@ -77,20 +65,33 @@ namespace OpenTK.Platform.Windows ) ); } - Trace.WriteLine(String.Format("Loaded opengl32.dll: {0}", opengl32Handle)); + Debug.WriteLine(String.Format("Loaded opengl32.dll: {0}", opengl32Handle)); } deviceContext = API.GetDC(windowHandle); - Trace.WriteLine(String.Format("Device context: {0}", deviceContext)); + Debug.WriteLine(String.Format("Device context: {0}", deviceContext)); - Trace.Write("Setting pixel format... "); + Debug.Write("Setting pixel format... "); API.PixelFormatDescriptor pixelFormat = new API.PixelFormatDescriptor(); - + pixelFormat.Size = API.PixelFormatDescriptorSize; + pixelFormat.Version = API.PixelFormatDescriptorVersion; + pixelFormat.Flags = + API.PixelFormatDescriptorFlags.SUPPORT_OPENGL | + API.PixelFormatDescriptorFlags.DRAW_TO_WINDOW; pixelFormat.ColorBits = (byte)(mode.Color.Red + mode.Color.Green + mode.Color.Blue); - pixelFormat.RedBits = (byte)mode.Color.Red; - pixelFormat.GreenBits = (byte)mode.Color.Green; - pixelFormat.BlueBits = (byte)mode.Color.Blue; - pixelFormat.AlphaBits = (byte)mode.Color.Alpha; + if (mode.Color.IsIndexed) + { + pixelFormat.PixelType = API.PixelType.INDEXED; + } + else + { + pixelFormat.PixelType = API.PixelType.RGBA; + pixelFormat.RedBits = (byte)mode.Color.Red; + pixelFormat.GreenBits = (byte)mode.Color.Green; + pixelFormat.BlueBits = (byte)mode.Color.Blue; + pixelFormat.AlphaBits = (byte)mode.Color.Alpha; + } + /* if (accum != null) { @@ -120,19 +121,55 @@ namespace OpenTK.Platform.Windows } // TODO: More elaborate mode setting, using DescribePixelFormat. + /* + unsafe + { + int pixel = Wgl.Imports.ChoosePixelFormat(deviceContext, &pixelFormat); - int pixel = API.ChoosePixelFormat(deviceContext, pixelFormat); + if (pixel == 0) + { + throw new ApplicationException("The requested pixel format is not supported by the hardware configuration."); + } + Wgl.Imports.SetPixelFormat(deviceContext, pixel, &pixelFormat); + + Debug.WriteLine(String.Format("done! (format: {0})", pixel)); + } + */ + int pixel = API.ChoosePixelFormat(deviceContext, ref pixelFormat); if (pixel == 0) { throw new ApplicationException("The requested pixel format is not supported by the hardware configuration."); } + API.SetPixelFormat(deviceContext, pixel, ref pixelFormat); - API.SetPixelFormat(deviceContext, pixel, pixelFormat); - - Trace.WriteLine(String.Format("done! (format: {0})", pixel)); + Debug.Print("done! (format: {0})", pixel); } + #endregion + + #region public void CreateContext() + + public void CreateContext() + { + Debug.Write("Creating render context... "); + // Do not rely on OpenTK.Platform.Windows.Wgl - the context is not ready yet, + // and Wgl extensions will fail to load. + renderContext = Wgl.Imports.CreateContext(deviceContext); + if (renderContext != IntPtr.Zero) + { + Debug.WriteLine(String.Format("done! (id: {0})", renderContext)); + } + else + { + throw new ApplicationException("Could not create opengl Rendering Context."); + } + Wgl.Imports.MakeCurrent(deviceContext, renderContext); + Wgl.LoadAll(); + } + + #endregion + #region --- IGLContext Members --- #region public void SwapBuffers() @@ -148,7 +185,7 @@ namespace OpenTK.Platform.Windows public IntPtr GetAddress(string function_string) { - return Wgl.GetProcAddress(function_string); + return Wgl.Imports.GetProcAddress(function_string); } #endregion @@ -157,7 +194,7 @@ namespace OpenTK.Platform.Windows public void MakeCurrent() { - Wgl.MakeCurrent(deviceContext, renderContext); + Wgl.Imports.MakeCurrent(deviceContext, renderContext); } #endregion @@ -219,6 +256,7 @@ namespace OpenTK.Platform.Windows public void Dispose() { + Debug.Print("Manually disposing WinGLContext {0}.", this.renderContext); Dispose(true); GC.SuppressFinalize(this); } @@ -228,10 +266,7 @@ namespace OpenTK.Platform.Windows if (!disposed) { // Clean unmanaged resources here: - Wgl.MakeCurrent(deviceContext, renderContext); - Wgl.DeleteContext(renderContext); - API.ReleaseDC(windowHandle, deviceContext); - API.FreeLibrary(opengl32Handle); + ReleaseResources(); if (calledManually) { @@ -252,7 +287,8 @@ namespace OpenTK.Platform.Windows { if (renderContext != IntPtr.Zero) { - if (!Wgl.DeleteContext(renderContext)) + Wgl.Imports.MakeCurrent(IntPtr.Zero, IntPtr.Zero); + if (!Wgl.Imports.DeleteContext(renderContext)) { throw new ApplicationException( "Could not destroy the OpenGL render context. Error: " + Marshal.GetLastWin32Error() @@ -261,6 +297,15 @@ namespace OpenTK.Platform.Windows renderContext = IntPtr.Zero; } + if (deviceContext != IntPtr.Zero) + { + if (!API.ReleaseDC(windowHandle, deviceContext)) + { + throw new ApplicationException( + "Could not release device context. Error: " + Marshal.GetLastWin32Error()); + } + } + if (opengl32Handle != IntPtr.Zero) { if (!API.FreeLibrary(opengl32Handle)) diff --git a/Source/OpenTK/Platform/Windows/WinGLControl.cs b/Source/OpenTK/Platform/Windows/WinGLControl.cs index 78b0b12e..9dd9aa38 100644 --- a/Source/OpenTK/Platform/Windows/WinGLControl.cs +++ b/Source/OpenTK/Platform/Windows/WinGLControl.cs @@ -11,6 +11,7 @@ using System; using System.Collections.Generic; using System.Text; using System.Windows.Forms; +using System.Diagnostics; #endregion @@ -21,39 +22,52 @@ namespace OpenTK.Platform.Windows private WinGLContext glContext; private bool fullscreen; private ResizeEventArgs resizeEventArgs = new ResizeEventArgs(); + private DisplayMode mode; private bool disposed; private Message msg; // Used only by the IsIdle event. #region --- Constructors --- - public WinGLControl(Control c, DisplayMode mode) + public WinGLControl(UserControl c, DisplayMode mode) { - glContext = new WinGLContext(c.Handle, mode); + this.mode = mode; + + c.HandleCreated += new EventHandler(c_HandleCreated); + c.HandleDestroyed += new EventHandler(c_HandleDestroyed); - glContext.CreateContext(); + glContext = new WinGLContext(mode); + + // Create the actual context + c.Visible = true; + //c.CreateControl(); + glContext.MakeCurrent(); } - [Obsolete("Use WinGLControl(Control c, DisplayMode mode) instead")] - public WinGLControl(Control c, int width, int height, bool fullscreen) + void c_HandleCreated(object sender, EventArgs e) { - glContext = new WinGLContext( - c.Handle, - new DisplayMode( - width, height, - new ColorDepth(32), - 16, 0, 0, 2, - fullscreen, - false, - false, - 0.0f - ) - ); + Debug.Print("GLControl handle created, creating WinGLContext."); + Debug.Indent(); - glContext.CreateContext(); + try + { + glContext.PrepareContext((sender as Control).Handle); + glContext.CreateContext(); + } + catch (ApplicationException expt) + { + Debug.Print(expt.ToString()); + throw; + } + finally + { + Debug.Unindent(); + } + } - glContext.MakeCurrent(); - OpenTK.OpenGL.GL.LoadAll(); + void c_HandleDestroyed(object sender, EventArgs e) + { + glContext.Dispose(); } #endregion @@ -106,7 +120,6 @@ namespace OpenTK.Platform.Windows { this.Dispose(true); GC.SuppressFinalize(this); - } private void Dispose(bool calledManually) diff --git a/Source/OpenTK/Platform/Windows/WinGLNative.cs b/Source/OpenTK/Platform/Windows/WinGLNative.cs index 7957350e..adb5b37e 100644 --- a/Source/OpenTK/Platform/Windows/WinGLNative.cs +++ b/Source/OpenTK/Platform/Windows/WinGLNative.cs @@ -258,22 +258,17 @@ namespace OpenTK.Platform.Windows Debug.Print("Window created: {0}", window); - glContext = new WinGLContext( - this.Handle, - new DisplayMode( - width, height, - new ColorDepth(32), - 16, 0, 0, 2, - fullscreen, - false, - false, - 0.0f - ) - ); - - glContext.CreateContext(); - - OpenTK.OpenGL.GL.LoadAll(); + try + { + glContext = new WinGLContext(this.mode); + glContext.PrepareContext(this.Handle); + glContext.CreateContext(); + } + catch (ApplicationException expt) + { + Debug.Print("Could not create opengl context, error: {0}", expt.ToString()); + throw; + } if (this.Create != null) { diff --git a/Source/OpenTK/Platform/X11/API.cs b/Source/OpenTK/Platform/X11/API.cs index 9203be53..d202476a 100644 --- a/Source/OpenTK/Platform/X11/API.cs +++ b/Source/OpenTK/Platform/X11/API.cs @@ -144,21 +144,12 @@ namespace OpenTK.Platform.X11 ); [DllImport(_dll_name, EntryPoint = "XPeekEvent")] - extern internal static void PeekEvent( - Display display, - [In, Out]XEvent event_return - ); + extern internal static void PeekEvent(Display display, [In, Out]XEvent event_return); [DllImport(_dll_name, EntryPoint = "XSendEvent")] [return: MarshalAs(UnmanagedType.Bool)] - extern internal static bool SendEvent( - Display display, - Window window, - bool propagate, - [MarshalAs(UnmanagedType.SysInt)] - EventMask event_mask, - ref XEvent event_send - ); + extern internal static bool SendEvent(Display display, Window window, bool propagate, + [MarshalAs(UnmanagedType.SysInt)]EventMask event_mask, ref XEvent event_send); /// /// The XSelectInput() function requests that the X server report the events associated @@ -197,8 +188,12 @@ namespace OpenTK.Platform.X11 internal static extern bool CheckIfEvent(Display display, ref XEvent event_return, /*[MarshalAs(UnmanagedType.FunctionPtr)] */ CheckEventPredicate predicate, /*XPointer*/ IntPtr arg); - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + [DllImport(_dll_name, EntryPoint = "XIfEvent")] [return: MarshalAs(UnmanagedType.Bool)] + internal static extern bool IfEvent(Display display, ref XEvent event_return, + /*[MarshalAs(UnmanagedType.FunctionPtr)] */ CheckEventPredicate predicate, /*XPointer*/ IntPtr arg); + + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] internal delegate bool CheckEventPredicate(Display display, ref XEvent @event, IntPtr arg); [DllImport(_dll_name, EntryPoint = "XCheckMaskEvent")] @@ -551,8 +546,8 @@ XF86VidModeGetGammaRampSize( public override string ToString() { - // return base.ToString(); - return String.Format("id ({0}), screen ({1}), depth ({2}), class ({3})", + // return base.ToString(); + return String.Format("id ({0}), screen ({1}), depth ({2}), class ({3})", visualid, screen, depth, @class); } } diff --git a/Source/OpenTK/Platform/X11/Structs.cs b/Source/OpenTK/Platform/X11/Structs.cs index 69f15a39..77f4d4cd 100644 --- a/Source/OpenTK/Platform/X11/Structs.cs +++ b/Source/OpenTK/Platform/X11/Structs.cs @@ -1654,4 +1654,4 @@ namespace OpenTK.Platform.X11 UnregisterAccelerator = 13, ActivateAccelerator = 14 } -} +} diff --git a/Source/OpenTK/Platform/X11/X11GLContext.cs b/Source/OpenTK/Platform/X11/X11GLContext.cs index abc61d19..2cb6baf5 100644 --- a/Source/OpenTK/Platform/X11/X11GLContext.cs +++ b/Source/OpenTK/Platform/X11/X11GLContext.cs @@ -19,8 +19,7 @@ namespace OpenTK.Platform.X11 /// public sealed class X11GLContext : OpenTK.Platform.IGLContext { - private IntPtr x11context; - + private IntPtr context; private DisplayMode mode;// = new DisplayMode(); internal WindowInfo windowInfo; @@ -37,25 +36,132 @@ namespace OpenTK.Platform.X11 #region --- Public Constructor --- internal X11GLContext() + : this(new DisplayMode()) { - this.windowInfo = new WindowInfo(); - this.mode = new DisplayMode(); } - internal X11GLContext(WindowInfo window, DisplayMode mode) + internal X11GLContext(DisplayMode mode) { - this.windowInfo = new WindowInfo(window); + this.windowInfo = new WindowInfo(); this.mode = mode; } #endregion + #region internal DisplayMode Mode + + internal DisplayMode Mode + { + get { return mode; } + set + { + if (context == IntPtr.Zero) + { + mode = value; + } + else + { + Debug.Print("Cannot change DisplayMode of an existing context."); + } + } + } + + #endregion + + #region internal void PrepareContext(X11.WindowInfo info) + + internal void PrepareContext(X11.WindowInfo info) + { + this.windowInfo = new WindowInfo(info); + + Debug.Print("Preparing visual for DisplayMode: {0}", mode.ToString()); + + /* +int[] attrib = + { + (int)Glx.Enums.GLXAttribute.RGBA, + (int)Glx.Enums.GLXAttribute.RED_SIZE, 1, + (int)Glx.Enums.GLXAttribute.GREEN_SIZE, 1, + (int)Glx.Enums.GLXAttribute.BLUE_SIZE, 1, + (int)Glx.Enums.GLXAttribute.DEPTH_SIZE, 1, + (int)Glx.Enums.GLXAttribute.DOUBLEBUFFER, + 0 + }; +visual = Glx.ChooseVisual(windowInfo.Display, windowInfo.Screen, attrib); +*/ + + List visualAttributes = new List(); + visualAttributes.Add((int)Glx.Enums.GLXAttribute.RGBA); + visualAttributes.Add((int)Glx.Enums.GLXAttribute.RED_SIZE); + visualAttributes.Add((int)mode.Color.Red); + visualAttributes.Add((int)Glx.Enums.GLXAttribute.GREEN_SIZE); + visualAttributes.Add((int)mode.Color.Green); + visualAttributes.Add((int)Glx.Enums.GLXAttribute.BLUE_SIZE); + visualAttributes.Add((int)mode.Color.Blue); + //visualAttributes.Add((int)Glx.Enums.GLXAttribute.ALPHA_SIZE); + //visualAttributes.Add((int)mode.Color.Alpha); + visualAttributes.Add((int)Glx.Enums.GLXAttribute.DEPTH_SIZE); + visualAttributes.Add((int)mode.DepthBits); + visualAttributes.Add((int)1); + visualAttributes.Add((int)Glx.Enums.GLXAttribute.DOUBLEBUFFER); + visualAttributes.Add((int)0); + + //try + //{ + visual = Glx.ChooseVisual(windowInfo.Display, windowInfo.Screen, visualAttributes.ToArray()); + if (visual == IntPtr.Zero) + { + throw new ApplicationException(String.Format("Requested DisplayMode not available ({0}).", mode.ToString())); + } + else + { + windowInfo.VisualInfo = (VisualInfo)Marshal.PtrToStructure(visual, typeof(VisualInfo)); + Debug.Print("Prepared visual: {0}", windowInfo.VisualInfo.ToString()); + } + //} + //catch (Exception e) + //{ + // Debug.Print(e.ToString()); + // throw; + //} + } + + #endregion + + #region internal void CreateContext(X11GLContext shareContext, bool direct) + + internal void CreateContext(X11GLContext shareContext, bool direct) + { + Debug.WriteLine("Creating opengl context."); + Debug.Indent(); + + IntPtr shareHandle = shareContext != null ? shareContext.windowInfo.Handle : IntPtr.Zero; + Debug.WriteLine(shareHandle == IntPtr.Zero ? "Context is not shared." : + String.Format("Context is shared with context: {0}", shareHandle)); + + Debug.WriteLine(direct ? "Context is direct." : "Context is indirect."); + + context = Glx.CreateContext(windowInfo.Display, visual, shareHandle, direct); + if (context != IntPtr.Zero) + { + Debug.WriteLine(String.Format("New opengl context created. (id: {0})", context)); + Debug.Unindent(); + } + else + { + throw new ApplicationException("Glx.CreateContext call failed (returned 0)."); + } + } + + #endregion + #region --- IGLContext Members --- #region public void SwapBuffers() public void SwapBuffers() { + Debug.Print("Swapping buffers"); Glx.SwapBuffers(windowInfo.Display, windowInfo.Handle); } @@ -63,29 +169,27 @@ namespace OpenTK.Platform.X11 #region public void MakeCurrent() + bool result; public void MakeCurrent() { - Debug.Write( - String.Format( - "Making context {0} current on thread {1} (Display: {2}, Screen: {3}, Window: {4})... ", - x11context, - System.Threading.Thread.CurrentThread.ManagedThreadId, - windowInfo.Display, - windowInfo.Screen, - windowInfo.Handle - ) - ); - bool result = Glx.MakeCurrent(windowInfo.Display, windowInfo.Handle, x11context); + Debug.Write(String.Format("Making context {0} current on thread {1} (Display: {2}, Screen: {3}, Window: {4})... ", + context, System.Threading.Thread.CurrentThread.ManagedThreadId, windowInfo.Display, windowInfo.Screen, windowInfo.Handle)); - if (!result) + if (windowInfo.Display != IntPtr.Zero && windowInfo.Handle != IntPtr.Zero && context != IntPtr.Zero) { - Debug.WriteLine("failed..."); - // probably need to recreate context here. - //throw new Exception(String.Format("Failed to make context {0} current.", x11context)); - } - else - { - Debug.WriteLine("done!"); + result = Glx.MakeCurrent(windowInfo.Display, windowInfo.Handle, context); + + if (!result) + { + Debug.WriteLine("failed."); + // probably need to recreate context here. + //throw new ApplicationException(String.Format("Failed to make context {0} current on thread {1}.", + // context, System.Threading.Thread.CurrentThread.ManagedThreadId)); + } + else + { + Debug.WriteLine("done!"); + } } } @@ -125,7 +229,8 @@ namespace OpenTK.Platform.X11 if (!disposed) { // Clean unmanaged resources: - Glx.DestroyContext(windowInfo.Display, x11context); + Glx.MakeCurrent(windowInfo.Display, IntPtr.Zero, IntPtr.Zero); + Glx.DestroyContext(windowInfo.Display, context); API.Free(visual); if (manuallyCalled) @@ -142,101 +247,5 @@ namespace OpenTK.Platform.X11 } #endregion - - #region public void CreateContext(X11GLContext shareContext, bool direct) - - public void CreateContext(X11GLContext shareContext, bool direct) - { - Debug.WriteLine("Creating opengl context."); - Debug.Indent(); - - IntPtr shareHandle = shareContext != null ? shareContext.windowInfo.Handle : IntPtr.Zero; - Debug.WriteLine( - shareHandle == IntPtr.Zero ? - "Context is not shared." : - String.Format("Context is shared with context: {0}", shareHandle) - ); - Debug.WriteLine( - direct ? - "Context is direct." : - "Context is indirect." - ); - x11context = Glx.CreateContext( - windowInfo.Display, - visual, - shareHandle, - direct - ); - if (x11context != IntPtr.Zero) - { - Debug.WriteLine(String.Format("New opengl context created. (id: {0})", x11context)); - Debug.Unindent(); - } - else - { - throw new ApplicationException("Could not create opengl context."); - } - - this.MakeCurrent(); - OpenTK.OpenGL.GL.LoadAll(); - } - - #endregion - - #region public void CreateVisual() - - internal VisualInfo CreateVisual() - { - Debug.WriteLine("Creating visual."); - Debug.Indent(); - - Debug.Print("Requesting DisplayMode: {0}. ", mode.ToString()); - - List visualAttributes = new List(); - visualAttributes.Add((int)Glx.Enums.GLXAttribute.RGBA); - visualAttributes.Add((int)Glx.Enums.GLXAttribute.RED_SIZE); - visualAttributes.Add((int)mode.Color.Red); - visualAttributes.Add((int)Glx.Enums.GLXAttribute.GREEN_SIZE); - visualAttributes.Add((int)mode.Color.Green); - visualAttributes.Add((int)Glx.Enums.GLXAttribute.BLUE_SIZE); - visualAttributes.Add((int)mode.Color.Blue); - visualAttributes.Add((int)Glx.Enums.GLXAttribute.ALPHA_SIZE); - visualAttributes.Add((int)mode.Color.Alpha); - visualAttributes.Add((int)Glx.Enums.GLXAttribute.DEPTH_SIZE); - visualAttributes.Add((int)mode.DepthBits); - visualAttributes.Add((int)Glx.Enums.GLXAttribute.DOUBLEBUFFER); - visualAttributes.Add((int)0); - - visual = Glx.ChooseVisual(windowInfo.Display, windowInfo.Screen, visualAttributes.ToArray()); - if (visual == IntPtr.Zero) - { - throw new ApplicationException("Requested mode not available (Glx.ChooseVisual returned 0)."); - } - windowInfo.VisualInfo = (VisualInfo)Marshal.PtrToStructure(visual, typeof(VisualInfo)); - Debug.Print("Got visual: {0}", windowInfo.VisualInfo.ToString()); - - Debug.Unindent(); - - return windowInfo.VisualInfo; - } - - #endregion - - [Obsolete] - internal IntPtr XVisual - { - get { return this.visual; } - } - - internal VisualInfo XVisualInfo - { - get { return windowInfo.VisualInfo; } - } - - [Obsolete] - internal IntPtr Handle - { - get { return this.x11context; } - } } } diff --git a/Source/OpenTK/Platform/X11/X11GLControl.cs b/Source/OpenTK/Platform/X11/X11GLControl.cs index fe633b7d..2fb57cd7 100644 --- a/Source/OpenTK/Platform/X11/X11GLControl.cs +++ b/Source/OpenTK/Platform/X11/X11GLControl.cs @@ -16,6 +16,7 @@ namespace OpenTK.Platform.X11 sealed class X11GLControl : IGLControl { WindowInfo info = new WindowInfo(); + DisplayMode mode; private Type xplatui; X11GLContext glContext; @@ -24,25 +25,25 @@ namespace OpenTK.Platform.X11 #region --- Contructors --- - [Obsolete("Use X11GLControl(UserControl c, DisplayMode mode) instead.")] - public X11GLControl(UserControl c, int width, int height, bool fullscreen) - : this(c, new DisplayMode(width, height, new ColorDepth(32), 16, - 0, 0, 2, false, false, false, 0.0f)) { } - public X11GLControl(UserControl c, DisplayMode mode) { Debug.WriteLine("Creating opengl control (X11GLControl driver)"); Debug.Indent(); + if (c == null/* || c.TopLevelControl == null*/) { throw new ArgumentException("UserControl c may not be null."); } - //c.ParentChanged += new EventHandler(c_ParentChanged); + this.mode = mode;//new DisplayMode(mode); + glContext = new X11GLContext(mode); - info.Handle = c.Handle; - Debug.Print("Binding to control: {0}", String.IsNullOrEmpty(c.Name) ? c.Text : c.Name); + c.HandleCreated += new EventHandler(c_HandleCreated); + c.HandleDestroyed += new EventHandler(c_HandleDestroyed); + //c.ParentChanged += new EventHandler(c_ParentChanged); + //c.Load += new EventHandler(c_Load); + //Debug.Print("GLControl events hooked to X11GLControl."); xplatui = Type.GetType("System.Windows.Forms.XplatUIX11, System.Windows.Forms"); Debug.Write("System.Windows.Forms.XplatUIX11: "); @@ -50,73 +51,151 @@ namespace OpenTK.Platform.X11 if (xplatui != null) { info.Display = (IntPtr)xplatui.GetField("DisplayHandle", - System.Reflection.BindingFlags.Static | - System.Reflection.BindingFlags.NonPublic).GetValue(null); + System.Reflection.BindingFlags.Static | System.Reflection.BindingFlags.NonPublic).GetValue(null); info.RootWindow = (IntPtr)xplatui.GetField("RootWindow", - System.Reflection.BindingFlags.Static | - System.Reflection.BindingFlags.NonPublic).GetValue(null); + System.Reflection.BindingFlags.Static | System.Reflection.BindingFlags.NonPublic).GetValue(null); info.Screen = (int)xplatui.GetField("ScreenNo", - System.Reflection.BindingFlags.Static | - System.Reflection.BindingFlags.NonPublic).GetValue(null); + System.Reflection.BindingFlags.Static | System.Reflection.BindingFlags.NonPublic).GetValue(null); - Debug.Print( - "Screen: {0}, Display: {1}, Root Window: {2}, Handle: {3}", - info.Screen, info.Display, info.RootWindow, info.Handle); - - glContext = new X11GLContext(info, mode); + Debug.Print("Display: {0}, Screen: {1}, Root Window: {2}, GLControl: {3}", + info.Display, info.Screen, info.RootWindow, info.Handle); - info.VisualInfo = glContext.CreateVisual(); + glContext.PrepareContext(info); + info.VisualInfo = glContext.windowInfo.VisualInfo; + xplatui.GetField("CustomVisual", System.Reflection.BindingFlags.Static | System.Reflection.BindingFlags.NonPublic) + .SetValue(null, info.VisualInfo.visual); - xplatui.GetField( - "CustomVisual", - System.Reflection.BindingFlags.Static | - System.Reflection.BindingFlags.NonPublic).SetValue( - null, - //glContext.XVisual - info.VisualInfo.visual - ); + xplatui.GetField("CustomColormap", System.Reflection.BindingFlags.Static | System.Reflection.BindingFlags.NonPublic) + .SetValue(null, API.CreateColormap(info.Display, info.RootWindow, info.VisualInfo.visual, 0)); - xplatui.GetField( - "CustomColormap", - System.Reflection.BindingFlags.Static | - System.Reflection.BindingFlags.NonPublic).SetValue( - null, - API.CreateColormap(info.Display, info.RootWindow, info.VisualInfo.visual, 0/*AllocNone*/) - //glContext.colormap - ); - - glContext.CreateContext(null, true); - this.c_ParentChanged(c, EventArgs.Empty); + c.Visible = true; + glContext.windowInfo.Handle = info.Handle = c.Handle; } + + //Debug.Print("Parent: {0}", c.ParentForm.Handle); + //API.MapRaised(info.Display, info.Handle); + //API.MapRaised(info.Display, c.ParentForm.Handle); + + //OpenTK.OpenGL.GL.Imports.Flush(); + + /* + // Wait until the GLControl is mapped. + XEvent ev = new XEvent(); + API.IfEvent(info.Display, ref ev, + delegate(IntPtr display, ref XEvent @event, IntPtr arg) + { + Debug.Print("Checking event: {0}", @event.type); + if (@event.type == XEventName.MapNotify) + { + Debug.Print("Map event for window: {0}", @event.MapEvent.window); + } + return (@event.type == XEventName.MapNotify) && (@event.MapEvent.window == arg); + }, + info.Handle); + */ + //glContext.MakeCurrent(); + //OpenTK.OpenGL.GL.LoadAll(); + } + + void c_HandleCreated(object sender, EventArgs e) + { + UserControl c = (sender as UserControl); + Debug.Print("GLControl handle created, creating X11GLContext."); + Debug.Indent(); + glContext.windowInfo.Handle = info.Handle = (sender as UserControl).Handle; + + try + { + glContext.CreateContext(null, true); + } + catch (ApplicationException expt) + { + Debug.Print(expt.ToString()); + throw; + } + finally + { + Debug.Unindent(); + /* + Debug.WriteLine(String.Format("Mapping control {0} to parent {1}", c.Handle, c.Handle)); + API.MapRaised(info.Display, c.Handle); + + Context.MakeCurrent(); + OpenTK.OpenGL.GL.LoadAll(); + */ + } + } + + void c_HandleDestroyed(object sender, EventArgs e) + { + Debug.Print("X11GLControl handle destroyed, disposing X11GLContext."); + glContext.Dispose(); } void c_ParentChanged(object sender, EventArgs e) { - UserControl c = sender as UserControl; - Debug.WriteLine( - String.Format( - "TopLevel control is {0}", - c.TopLevelControl != null ? c.TopLevelControl.ToString() : "not available" - ) - ); + Debug.Print("Mapping X11GLControl."); + Debug.Indent(); + + Control c = sender as Control; + Debug.Print("TopLevel control is {0}", + c.TopLevelControl != null ? c.TopLevelControl.ToString() : "not available"); if (c.TopLevelControl == null) { - info.TopLevelWindow = c.Handle; - throw new Exception("GLControl does not have a parent."); + throw new ApplicationException("Problem: GLControl does not have a parent, aborting."); } else { info.TopLevelWindow = c.TopLevelControl.Handle; } - Debug.WriteLine(String.Format("Mapping window to top level: {0}", info.TopLevelWindow)); - API.MapRaised(info.Display, info.TopLevelWindow); + Debug.WriteLine(String.Format("Mapping GLControl {0} to window {1}", info.Handle, info.TopLevelWindow)); + //API.MapRaised(info.Display, info.TopLevelWindow); + /* + // Wait until the GLControl is mapped. + XEvent ev = new XEvent(); + API.IfEvent(info.Display, ref ev, + delegate(IntPtr display, ref XEvent @event, IntPtr arg) + { + //Debug.Print("Checking event: {0}", @event.type); + return (@event.type == XEventName.MapNotify) && (@event.MapEvent.window == arg); + }, + info.Handle); + + glContext.MakeCurrent(); + OpenTK.OpenGL.GL.LoadAll();*/ Debug.Unindent(); } + void c_Load(object sender, EventArgs e) + { + Debug.Print("GLControl loaded, will now try to make context current and load all GL functions."); + Context.MakeCurrent(); + OpenTK.OpenGL.GL.LoadAll(); + } + + /// + /// Finds a colormap suitable for use with the GLControl. + /// + /// A pointer to the colormap + /// + /// If the visual of the GLControl matches the default visual, the function returns + /// the default colormap (i.e. the colormap of the root window). Otherwise, it creates + /// a new, private colormap. + /// + private IntPtr FindColormap() + { + if (info.VisualInfo.visual == Functions.XDefaultVisual(info.Display, info.Screen)) + { + return Functions.XDefaultColormap(info.Display, info.Screen); + } + + return API.CreateColormap(info.Display, info.RootWindow, glContext.windowInfo.VisualInfo.visual, 0/*AllocNone*/); + } + #endregion #region --- IGLControl Members --- diff --git a/Source/OpenTK/Platform/X11/X11GLNative.cs b/Source/OpenTK/Platform/X11/X11GLNative.cs index 31a192c6..b58e3bc4 100644 --- a/Source/OpenTK/Platform/X11/X11GLNative.cs +++ b/Source/OpenTK/Platform/X11/X11GLNative.cs @@ -51,6 +51,7 @@ namespace OpenTK.Platform.X11 public X11GLNative() { Debug.Print("Native window driver: {0}", this.ToString()); + window = new WindowInfo(); } #endregion @@ -225,7 +226,7 @@ namespace OpenTK.Platform.X11 } else { - Debug.Print("Creating native window with mode: {0}", mode.ToString()); + Debug.Print("Creating GameWindow with mode: {0}", mode.ToString()); Debug.Indent(); window.Display = API.OpenDisplay(null); // null == default display @@ -243,11 +244,12 @@ namespace OpenTK.Platform.X11 window.RootWindow ); - glContext = new X11GLContext(window, mode); - window.VisualInfo = glContext.CreateVisual(); + glContext = new X11GLContext(mode); + glContext.PrepareContext(window); + window.VisualInfo = glContext.windowInfo.VisualInfo; // Create a window on this display using the visual above - Debug.Write("Creating output window... "); + Debug.Write("Opening render window... "); XSetWindowAttributes attributes = new XSetWindowAttributes(); attributes.background_pixel = IntPtr.Zero; @@ -267,7 +269,7 @@ namespace OpenTK.Platform.X11 if (window.Handle == IntPtr.Zero) { - throw new ApplicationException("Could not create window."); + throw new ApplicationException("XCreateWindow call failed (returned 0)."); } /* // Set the window hints @@ -295,6 +297,24 @@ namespace OpenTK.Platform.X11 Debug.Print("done! (id: {0})", window.Handle); + API.MapRaised(window.Display, window.Handle); + + /*Debug.WriteLine("Mapped window."); + + XEvent ev = new XEvent(); + API.IfEvent(window.Display, ref ev, + delegate(IntPtr display, ref XEvent @event, IntPtr arg) + { + Debug.Print("Checking event: {0}", @event.type); + if (@event.type == XEventName.MapNotify) + { + Debug.Print("Map event for window: {0}", @event.MapEvent.window); + } + return (@event.type == XEventName.MapNotify) && (@event.MapEvent.window == arg); + }, + window.Handle); + */ + glContext.Mode = mode;//new DisplayMode(mode); glContext.windowInfo.Handle = window.Handle; glContext.CreateContext(null, true); diff --git a/Source/OpenTK/Properties/AssemblyInfo.cs b/Source/OpenTK/Properties/AssemblyInfo.cs index 42399b06..d97282c7 100644 --- a/Source/OpenTK/Properties/AssemblyInfo.cs +++ b/Source/OpenTK/Properties/AssemblyInfo.cs @@ -31,5 +31,5 @@ using System.Runtime.InteropServices; // // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("0.3.9.7")] -[assembly: AssemblyFileVersion("0.3.9.7")] +[assembly: AssemblyVersion("0.3.10.1")] +[assembly: AssemblyFileVersion("0.3.10.1")]