diff --git a/Source/Bind/Structures/Function.cs b/Source/Bind/Structures/Function.cs index 0169322f..3f3b743d 100644 --- a/Source/Bind/Structures/Function.cs +++ b/Source/Bind/Structures/Function.cs @@ -34,7 +34,7 @@ namespace Bind.Structures #endregion static Regex endings = new Regex(@"((([df]|u?[isb])v?)|v)", RegexOptions.Compiled | RegexOptions.RightToLeft); - static Regex endingsNotToTrim = new Regex("(ib|[tdrey]s|[eE]n[vd]|bled|Flagv|Tess|Status|Pixels|Instanced)", RegexOptions.Compiled | RegexOptions.RightToLeft); + static Regex endingsNotToTrim = new Regex("(ib|[tdrey]s|[eE]n[vd]|bled|Flagv|Tess|Status|Pixels|Instanced|Indexed)", RegexOptions.Compiled | RegexOptions.RightToLeft); // Add a trailing v to functions matching this regex. Used to differntiate between overloads taking both // a 'type' and a 'ref type' (such overloads are not CLS Compliant). diff --git a/Source/OpenTK/Graphics/GL/GL.cs b/Source/OpenTK/Graphics/GL/GL.cs index 51a671e3..df492ff6 100644 --- a/Source/OpenTK/Graphics/GL/GL.cs +++ b/Source/OpenTK/Graphics/GL/GL.cs @@ -72282,7 +72282,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvExplicitMultisample", Version = "", EntryPoint = "glSampleMaskIndexedNV")] public static - void SampleMaskIndexe(UInt32 index, UInt32 mask) + void SampleMaskIndexed(UInt32 index, UInt32 mask) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -72296,7 +72296,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvExplicitMultisample", Version = "", EntryPoint = "glSampleMaskIndexedNV")] public static - void SampleMaskIndexe(Int32 index, Int32 mask) + void SampleMaskIndexed(Int32 index, Int32 mask) { Delegates.glSampleMaskIndexedNV((UInt32)index, (UInt32)mask); } @@ -113132,7 +113132,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glColorMaskIndexedEXT")] public static - void ColorMaskIndexe(UInt32 index, bool r, bool g, bool b, bool a) + void ColorMaskIndexed(UInt32 index, bool r, bool g, bool b, bool a) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -113146,7 +113146,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glColorMaskIndexedEXT")] public static - void ColorMaskIndexe(Int32 index, bool r, bool g, bool b, bool a) + void ColorMaskIndexed(Int32 index, bool r, bool g, bool b, bool a) { Delegates.glColorMaskIndexedEXT((UInt32)index, (bool)r, (bool)g, (bool)b, (bool)a); } @@ -113382,7 +113382,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glEnableIndexedEXT")] public static - void EnableIndexe(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index) + void EnableIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -113396,7 +113396,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glEnableIndexedEXT")] public static - void EnableIndexe(OpenTK.Graphics.ExtDrawBuffers2 target, Int32 index) + void EnableIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, Int32 index) { Delegates.glEnableIndexedEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index); } @@ -113404,7 +113404,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glDisableIndexedEXT")] public static - void DisableIndexe(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index) + void DisableIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -113418,7 +113418,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glDisableIndexedEXT")] public static - void DisableIndexe(OpenTK.Graphics.ExtDrawBuffers2 target, Int32 index) + void DisableIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, Int32 index) { Delegates.glDisableIndexedEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index); } @@ -113426,7 +113426,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glIsEnabledIndexedEXT")] public static - bool IsEnabledIndexe(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index) + bool IsEnabledIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -113440,7 +113440,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glIsEnabledIndexedEXT")] public static - bool IsEnabledIndexe(OpenTK.Graphics.ExtDrawBuffers2 target, Int32 index) + bool IsEnabledIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, Int32 index) { return Delegates.glIsEnabledIndexedEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index); } @@ -118182,7 +118182,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glEnableClientStateIndexedEXT")] public static - void EnableClientStateIndexe(OpenTK.Graphics.EnableCap array, UInt32 index) + void EnableClientStateIndexed(OpenTK.Graphics.EnableCap array, UInt32 index) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -118196,7 +118196,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glEnableClientStateIndexedEXT")] public static - void EnableClientStateIndexe(OpenTK.Graphics.EnableCap array, Int32 index) + void EnableClientStateIndexed(OpenTK.Graphics.EnableCap array, Int32 index) { Delegates.glEnableClientStateIndexedEXT((OpenTK.Graphics.EnableCap)array, (UInt32)index); } @@ -118204,7 +118204,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glDisableClientStateIndexedEXT")] public static - void DisableClientStateIndexe(OpenTK.Graphics.EnableCap array, UInt32 index) + void DisableClientStateIndexed(OpenTK.Graphics.EnableCap array, UInt32 index) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -118218,7 +118218,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glDisableClientStateIndexedEXT")] public static - void DisableClientStateIndexe(OpenTK.Graphics.EnableCap array, Int32 index) + void DisableClientStateIndexed(OpenTK.Graphics.EnableCap array, Int32 index) { Delegates.glDisableClientStateIndexedEXT((OpenTK.Graphics.EnableCap)array, (UInt32)index); }