Fixed '*Indexed' functions (they were wrapped as '*Indexe', with a missing 'd').

This commit is contained in:
the_fiddler 2009-03-29 14:27:07 +00:00
parent 7da0ca28ca
commit 9daced745e
2 changed files with 15 additions and 15 deletions

View file

@ -34,7 +34,7 @@ namespace Bind.Structures
#endregion #endregion
static Regex endings = new Regex(@"((([df]|u?[isb])v?)|v)", RegexOptions.Compiled | RegexOptions.RightToLeft); 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 // 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). // a 'type' and a 'ref type' (such overloads are not CLS Compliant).

View file

@ -72282,7 +72282,7 @@ namespace OpenTK.Graphics
[System.CLSCompliant(false)] [System.CLSCompliant(false)]
[AutoGenerated(Category = "NvExplicitMultisample", Version = "", EntryPoint = "glSampleMaskIndexedNV")] [AutoGenerated(Category = "NvExplicitMultisample", Version = "", EntryPoint = "glSampleMaskIndexedNV")]
public static public static
void SampleMaskIndexe(UInt32 index, UInt32 mask) void SampleMaskIndexed(UInt32 index, UInt32 mask)
{ {
#if DEBUG #if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext)) using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -72296,7 +72296,7 @@ namespace OpenTK.Graphics
[AutoGenerated(Category = "NvExplicitMultisample", Version = "", EntryPoint = "glSampleMaskIndexedNV")] [AutoGenerated(Category = "NvExplicitMultisample", Version = "", EntryPoint = "glSampleMaskIndexedNV")]
public static public static
void SampleMaskIndexe(Int32 index, Int32 mask) void SampleMaskIndexed(Int32 index, Int32 mask)
{ {
Delegates.glSampleMaskIndexedNV((UInt32)index, (UInt32)mask); Delegates.glSampleMaskIndexedNV((UInt32)index, (UInt32)mask);
} }
@ -113132,7 +113132,7 @@ namespace OpenTK.Graphics
[System.CLSCompliant(false)] [System.CLSCompliant(false)]
[AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glColorMaskIndexedEXT")] [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glColorMaskIndexedEXT")]
public static 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 #if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext)) using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -113146,7 +113146,7 @@ namespace OpenTK.Graphics
[AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glColorMaskIndexedEXT")] [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glColorMaskIndexedEXT")]
public static 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); Delegates.glColorMaskIndexedEXT((UInt32)index, (bool)r, (bool)g, (bool)b, (bool)a);
} }
@ -113382,7 +113382,7 @@ namespace OpenTK.Graphics
[System.CLSCompliant(false)] [System.CLSCompliant(false)]
[AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glEnableIndexedEXT")] [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glEnableIndexedEXT")]
public static public static
void EnableIndexe(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index) void EnableIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index)
{ {
#if DEBUG #if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext)) using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -113396,7 +113396,7 @@ namespace OpenTK.Graphics
[AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glEnableIndexedEXT")] [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glEnableIndexedEXT")]
public static 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); Delegates.glEnableIndexedEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index);
} }
@ -113404,7 +113404,7 @@ namespace OpenTK.Graphics
[System.CLSCompliant(false)] [System.CLSCompliant(false)]
[AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glDisableIndexedEXT")] [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glDisableIndexedEXT")]
public static public static
void DisableIndexe(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index) void DisableIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index)
{ {
#if DEBUG #if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext)) using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -113418,7 +113418,7 @@ namespace OpenTK.Graphics
[AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glDisableIndexedEXT")] [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glDisableIndexedEXT")]
public static 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); Delegates.glDisableIndexedEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index);
} }
@ -113426,7 +113426,7 @@ namespace OpenTK.Graphics
[System.CLSCompliant(false)] [System.CLSCompliant(false)]
[AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glIsEnabledIndexedEXT")] [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glIsEnabledIndexedEXT")]
public static public static
bool IsEnabledIndexe(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index) bool IsEnabledIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index)
{ {
#if DEBUG #if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext)) using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -113440,7 +113440,7 @@ namespace OpenTK.Graphics
[AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glIsEnabledIndexedEXT")] [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glIsEnabledIndexedEXT")]
public static 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); return Delegates.glIsEnabledIndexedEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index);
} }
@ -118182,7 +118182,7 @@ namespace OpenTK.Graphics
[System.CLSCompliant(false)] [System.CLSCompliant(false)]
[AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glEnableClientStateIndexedEXT")] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glEnableClientStateIndexedEXT")]
public static public static
void EnableClientStateIndexe(OpenTK.Graphics.EnableCap array, UInt32 index) void EnableClientStateIndexed(OpenTK.Graphics.EnableCap array, UInt32 index)
{ {
#if DEBUG #if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext)) using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -118196,7 +118196,7 @@ namespace OpenTK.Graphics
[AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glEnableClientStateIndexedEXT")] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glEnableClientStateIndexedEXT")]
public static 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); Delegates.glEnableClientStateIndexedEXT((OpenTK.Graphics.EnableCap)array, (UInt32)index);
} }
@ -118204,7 +118204,7 @@ namespace OpenTK.Graphics
[System.CLSCompliant(false)] [System.CLSCompliant(false)]
[AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glDisableClientStateIndexedEXT")] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glDisableClientStateIndexedEXT")]
public static public static
void DisableClientStateIndexe(OpenTK.Graphics.EnableCap array, UInt32 index) void DisableClientStateIndexed(OpenTK.Graphics.EnableCap array, UInt32 index)
{ {
#if DEBUG #if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext)) using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -118218,7 +118218,7 @@ namespace OpenTK.Graphics
[AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glDisableClientStateIndexedEXT")] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glDisableClientStateIndexedEXT")]
public static 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); Delegates.glDisableClientStateIndexedEXT((OpenTK.Graphics.EnableCap)array, (UInt32)index);
} }