mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-25 18:05:37 +00:00
Updated bindings with the last generator version.
This commit is contained in:
parent
7922243aef
commit
99fafa1049
|
@ -5572,23 +5572,23 @@ namespace OpenTK.OpenGL
|
|||
}
|
||||
|
||||
public static
|
||||
void DrawElements(OpenTK.OpenGL.Enums.BeginMode mode, Int32 count, OpenTK.OpenGL.Enums.All type, IntPtr indices)
|
||||
void DrawElements(OpenTK.OpenGL.Enums.BeginMode mode, Int32 count, OpenTK.OpenGL.Enums.DrawElementsType type, IntPtr indices)
|
||||
{
|
||||
unsafe
|
||||
{
|
||||
Delegates.glDrawElements((OpenTK.OpenGL.Enums.BeginMode)mode, (Int32)count, (OpenTK.OpenGL.Enums.All)type, (IntPtr)indices);
|
||||
Delegates.glDrawElements((OpenTK.OpenGL.Enums.BeginMode)mode, (Int32)count, (OpenTK.OpenGL.Enums.DrawElementsType)type, (IntPtr)indices);
|
||||
}
|
||||
}
|
||||
|
||||
public static
|
||||
void DrawElements(OpenTK.OpenGL.Enums.BeginMode mode, Int32 count, OpenTK.OpenGL.Enums.All type, [In, Out] object indices)
|
||||
void DrawElements(OpenTK.OpenGL.Enums.BeginMode mode, Int32 count, OpenTK.OpenGL.Enums.DrawElementsType type, [In, Out] object indices)
|
||||
{
|
||||
unsafe
|
||||
{
|
||||
System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned);
|
||||
try
|
||||
{
|
||||
Delegates.glDrawElements((OpenTK.OpenGL.Enums.BeginMode)mode, (Int32)count, (OpenTK.OpenGL.Enums.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
|
||||
Delegates.glDrawElements((OpenTK.OpenGL.Enums.BeginMode)mode, (Int32)count, (OpenTK.OpenGL.Enums.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
@ -6219,40 +6219,40 @@ namespace OpenTK.OpenGL
|
|||
}
|
||||
|
||||
public static
|
||||
void BlendEquation(OpenTK.OpenGL.Enums.All mode)
|
||||
void BlendEquation(OpenTK.OpenGL.Enums.BlendEquationMode mode)
|
||||
{
|
||||
Delegates.glBlendEquation((OpenTK.OpenGL.Enums.All)mode);
|
||||
Delegates.glBlendEquation((OpenTK.OpenGL.Enums.BlendEquationMode)mode);
|
||||
}
|
||||
|
||||
[System.CLSCompliant(false)]
|
||||
public static
|
||||
void DrawRangeElements(OpenTK.OpenGL.Enums.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.OpenGL.Enums.All type, IntPtr indices)
|
||||
void DrawRangeElements(OpenTK.OpenGL.Enums.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.OpenGL.Enums.DrawElementsType type, IntPtr indices)
|
||||
{
|
||||
unsafe
|
||||
{
|
||||
Delegates.glDrawRangeElements((OpenTK.OpenGL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.OpenGL.Enums.All)type, (IntPtr)indices);
|
||||
Delegates.glDrawRangeElements((OpenTK.OpenGL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.OpenGL.Enums.DrawElementsType)type, (IntPtr)indices);
|
||||
}
|
||||
}
|
||||
|
||||
public static
|
||||
void DrawRangeElements(OpenTK.OpenGL.Enums.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.OpenGL.Enums.All type, IntPtr indices)
|
||||
void DrawRangeElements(OpenTK.OpenGL.Enums.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.OpenGL.Enums.DrawElementsType type, IntPtr indices)
|
||||
{
|
||||
unsafe
|
||||
{
|
||||
Delegates.glDrawRangeElements((OpenTK.OpenGL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.OpenGL.Enums.All)type, (IntPtr)indices);
|
||||
Delegates.glDrawRangeElements((OpenTK.OpenGL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.OpenGL.Enums.DrawElementsType)type, (IntPtr)indices);
|
||||
}
|
||||
}
|
||||
|
||||
[System.CLSCompliant(false)]
|
||||
public static
|
||||
void DrawRangeElements(OpenTK.OpenGL.Enums.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.OpenGL.Enums.All type, [In, Out] object indices)
|
||||
void DrawRangeElements(OpenTK.OpenGL.Enums.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.OpenGL.Enums.DrawElementsType type, [In, Out] object indices)
|
||||
{
|
||||
unsafe
|
||||
{
|
||||
System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned);
|
||||
try
|
||||
{
|
||||
Delegates.glDrawRangeElements((OpenTK.OpenGL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.OpenGL.Enums.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
|
||||
Delegates.glDrawRangeElements((OpenTK.OpenGL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.OpenGL.Enums.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
@ -6262,14 +6262,14 @@ namespace OpenTK.OpenGL
|
|||
}
|
||||
|
||||
public static
|
||||
void DrawRangeElements(OpenTK.OpenGL.Enums.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.OpenGL.Enums.All type, [In, Out] object indices)
|
||||
void DrawRangeElements(OpenTK.OpenGL.Enums.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.OpenGL.Enums.DrawElementsType type, [In, Out] object indices)
|
||||
{
|
||||
unsafe
|
||||
{
|
||||
System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned);
|
||||
try
|
||||
{
|
||||
Delegates.glDrawRangeElements((OpenTK.OpenGL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.OpenGL.Enums.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
|
||||
Delegates.glDrawRangeElements((OpenTK.OpenGL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.OpenGL.Enums.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
@ -8119,25 +8119,25 @@ namespace OpenTK.OpenGL
|
|||
}
|
||||
|
||||
public static
|
||||
void MultiDrawElements(OpenTK.OpenGL.Enums.BeginMode mode, Int32[] count, OpenTK.OpenGL.Enums.All type, IntPtr indices, Int32 primcount)
|
||||
void MultiDrawElements(OpenTK.OpenGL.Enums.BeginMode mode, Int32[] count, OpenTK.OpenGL.Enums.DrawElementsType type, IntPtr indices, Int32 primcount)
|
||||
{
|
||||
unsafe
|
||||
{
|
||||
fixed (Int32* count_ptr = count)
|
||||
{
|
||||
Delegates.glMultiDrawElements((OpenTK.OpenGL.Enums.BeginMode)mode, (Int32*)count_ptr, (OpenTK.OpenGL.Enums.All)type, (IntPtr)indices, (Int32)primcount);
|
||||
Delegates.glMultiDrawElements((OpenTK.OpenGL.Enums.BeginMode)mode, (Int32*)count_ptr, (OpenTK.OpenGL.Enums.DrawElementsType)type, (IntPtr)indices, (Int32)primcount);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[System.CLSCompliant(false)]
|
||||
public static
|
||||
unsafe void MultiDrawElements(OpenTK.OpenGL.Enums.BeginMode mode, Int32* count, OpenTK.OpenGL.Enums.All type, [In, Out] object indices, Int32 primcount)
|
||||
unsafe void MultiDrawElements(OpenTK.OpenGL.Enums.BeginMode mode, Int32* count, OpenTK.OpenGL.Enums.DrawElementsType type, [In, Out] object indices, Int32 primcount)
|
||||
{
|
||||
System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned);
|
||||
try
|
||||
{
|
||||
Delegates.glMultiDrawElements((OpenTK.OpenGL.Enums.BeginMode)mode, (Int32*)count, (OpenTK.OpenGL.Enums.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
|
||||
Delegates.glMultiDrawElements((OpenTK.OpenGL.Enums.BeginMode)mode, (Int32*)count, (OpenTK.OpenGL.Enums.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
@ -8146,7 +8146,7 @@ namespace OpenTK.OpenGL
|
|||
}
|
||||
|
||||
public static
|
||||
void MultiDrawElements(OpenTK.OpenGL.Enums.BeginMode mode, ref Int32 count, OpenTK.OpenGL.Enums.All type, [In, Out] object indices, Int32 primcount)
|
||||
void MultiDrawElements(OpenTK.OpenGL.Enums.BeginMode mode, ref Int32 count, OpenTK.OpenGL.Enums.DrawElementsType type, [In, Out] object indices, Int32 primcount)
|
||||
{
|
||||
unsafe
|
||||
{
|
||||
|
@ -8155,7 +8155,7 @@ namespace OpenTK.OpenGL
|
|||
System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned);
|
||||
try
|
||||
{
|
||||
Delegates.glMultiDrawElements((OpenTK.OpenGL.Enums.BeginMode)mode, (Int32*)count_ptr, (OpenTK.OpenGL.Enums.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
|
||||
Delegates.glMultiDrawElements((OpenTK.OpenGL.Enums.BeginMode)mode, (Int32*)count_ptr, (OpenTK.OpenGL.Enums.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
@ -28468,33 +28468,33 @@ namespace OpenTK.OpenGL
|
|||
|
||||
[System.CLSCompliant(false)]
|
||||
public static
|
||||
void DrawRangeElements(OpenTK.OpenGL.Enums.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.OpenGL.Enums.All type, IntPtr indices)
|
||||
void DrawRangeElements(OpenTK.OpenGL.Enums.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.OpenGL.Enums.DrawElementsType type, IntPtr indices)
|
||||
{
|
||||
unsafe
|
||||
{
|
||||
Delegates.glDrawRangeElementsEXT((OpenTK.OpenGL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.OpenGL.Enums.All)type, (IntPtr)indices);
|
||||
Delegates.glDrawRangeElementsEXT((OpenTK.OpenGL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.OpenGL.Enums.DrawElementsType)type, (IntPtr)indices);
|
||||
}
|
||||
}
|
||||
|
||||
public static
|
||||
void DrawRangeElements(OpenTK.OpenGL.Enums.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.OpenGL.Enums.All type, IntPtr indices)
|
||||
void DrawRangeElements(OpenTK.OpenGL.Enums.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.OpenGL.Enums.DrawElementsType type, IntPtr indices)
|
||||
{
|
||||
unsafe
|
||||
{
|
||||
Delegates.glDrawRangeElementsEXT((OpenTK.OpenGL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.OpenGL.Enums.All)type, (IntPtr)indices);
|
||||
Delegates.glDrawRangeElementsEXT((OpenTK.OpenGL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.OpenGL.Enums.DrawElementsType)type, (IntPtr)indices);
|
||||
}
|
||||
}
|
||||
|
||||
[System.CLSCompliant(false)]
|
||||
public static
|
||||
void DrawRangeElements(OpenTK.OpenGL.Enums.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.OpenGL.Enums.All type, [In, Out] object indices)
|
||||
void DrawRangeElements(OpenTK.OpenGL.Enums.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.OpenGL.Enums.DrawElementsType type, [In, Out] object indices)
|
||||
{
|
||||
unsafe
|
||||
{
|
||||
System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned);
|
||||
try
|
||||
{
|
||||
Delegates.glDrawRangeElementsEXT((OpenTK.OpenGL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.OpenGL.Enums.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
|
||||
Delegates.glDrawRangeElementsEXT((OpenTK.OpenGL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.OpenGL.Enums.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
@ -28504,14 +28504,14 @@ namespace OpenTK.OpenGL
|
|||
}
|
||||
|
||||
public static
|
||||
void DrawRangeElements(OpenTK.OpenGL.Enums.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.OpenGL.Enums.All type, [In, Out] object indices)
|
||||
void DrawRangeElements(OpenTK.OpenGL.Enums.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.OpenGL.Enums.DrawElementsType type, [In, Out] object indices)
|
||||
{
|
||||
unsafe
|
||||
{
|
||||
System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned);
|
||||
try
|
||||
{
|
||||
Delegates.glDrawRangeElementsEXT((OpenTK.OpenGL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.OpenGL.Enums.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
|
||||
Delegates.glDrawRangeElementsEXT((OpenTK.OpenGL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.OpenGL.Enums.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
@ -28985,25 +28985,25 @@ namespace OpenTK.OpenGL
|
|||
}
|
||||
|
||||
public static
|
||||
void MultiDrawElements(OpenTK.OpenGL.Enums.BeginMode mode, Int32[] count, OpenTK.OpenGL.Enums.All type, IntPtr indices, Int32 primcount)
|
||||
void MultiDrawElements(OpenTK.OpenGL.Enums.BeginMode mode, Int32[] count, OpenTK.OpenGL.Enums.DrawElementsType type, IntPtr indices, Int32 primcount)
|
||||
{
|
||||
unsafe
|
||||
{
|
||||
fixed (Int32* count_ptr = count)
|
||||
{
|
||||
Delegates.glMultiDrawElementsEXT((OpenTK.OpenGL.Enums.BeginMode)mode, (Int32*)count_ptr, (OpenTK.OpenGL.Enums.All)type, (IntPtr)indices, (Int32)primcount);
|
||||
Delegates.glMultiDrawElementsEXT((OpenTK.OpenGL.Enums.BeginMode)mode, (Int32*)count_ptr, (OpenTK.OpenGL.Enums.DrawElementsType)type, (IntPtr)indices, (Int32)primcount);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[System.CLSCompliant(false)]
|
||||
public static
|
||||
unsafe void MultiDrawElements(OpenTK.OpenGL.Enums.BeginMode mode, Int32* count, OpenTK.OpenGL.Enums.All type, [In, Out] object indices, Int32 primcount)
|
||||
unsafe void MultiDrawElements(OpenTK.OpenGL.Enums.BeginMode mode, Int32* count, OpenTK.OpenGL.Enums.DrawElementsType type, [In, Out] object indices, Int32 primcount)
|
||||
{
|
||||
System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned);
|
||||
try
|
||||
{
|
||||
Delegates.glMultiDrawElementsEXT((OpenTK.OpenGL.Enums.BeginMode)mode, (Int32*)count, (OpenTK.OpenGL.Enums.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
|
||||
Delegates.glMultiDrawElementsEXT((OpenTK.OpenGL.Enums.BeginMode)mode, (Int32*)count, (OpenTK.OpenGL.Enums.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
@ -29012,7 +29012,7 @@ namespace OpenTK.OpenGL
|
|||
}
|
||||
|
||||
public static
|
||||
void MultiDrawElements(OpenTK.OpenGL.Enums.BeginMode mode, ref Int32 count, OpenTK.OpenGL.Enums.All type, [In, Out] object indices, Int32 primcount)
|
||||
void MultiDrawElements(OpenTK.OpenGL.Enums.BeginMode mode, ref Int32 count, OpenTK.OpenGL.Enums.DrawElementsType type, [In, Out] object indices, Int32 primcount)
|
||||
{
|
||||
unsafe
|
||||
{
|
||||
|
@ -29021,7 +29021,7 @@ namespace OpenTK.OpenGL
|
|||
System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned);
|
||||
try
|
||||
{
|
||||
Delegates.glMultiDrawElementsEXT((OpenTK.OpenGL.Enums.BeginMode)mode, (Int32*)count_ptr, (OpenTK.OpenGL.Enums.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
|
||||
Delegates.glMultiDrawElementsEXT((OpenTK.OpenGL.Enums.BeginMode)mode, (Int32*)count_ptr, (OpenTK.OpenGL.Enums.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
@ -33191,23 +33191,23 @@ namespace OpenTK.OpenGL
|
|||
}
|
||||
|
||||
public static
|
||||
void DrawElementsInstance(OpenTK.OpenGL.Enums.BeginMode mode, Int32 count, OpenTK.OpenGL.Enums.All type, IntPtr indices, Int32 primcount)
|
||||
void DrawElementsInstance(OpenTK.OpenGL.Enums.BeginMode mode, Int32 count, OpenTK.OpenGL.Enums.DrawElementsType type, IntPtr indices, Int32 primcount)
|
||||
{
|
||||
unsafe
|
||||
{
|
||||
Delegates.glDrawElementsInstancedEXT((OpenTK.OpenGL.Enums.BeginMode)mode, (Int32)count, (OpenTK.OpenGL.Enums.All)type, (IntPtr)indices, (Int32)primcount);
|
||||
Delegates.glDrawElementsInstancedEXT((OpenTK.OpenGL.Enums.BeginMode)mode, (Int32)count, (OpenTK.OpenGL.Enums.DrawElementsType)type, (IntPtr)indices, (Int32)primcount);
|
||||
}
|
||||
}
|
||||
|
||||
public static
|
||||
void DrawElementsInstance(OpenTK.OpenGL.Enums.BeginMode mode, Int32 count, OpenTK.OpenGL.Enums.All type, [In, Out] object indices, Int32 primcount)
|
||||
void DrawElementsInstance(OpenTK.OpenGL.Enums.BeginMode mode, Int32 count, OpenTK.OpenGL.Enums.DrawElementsType type, [In, Out] object indices, Int32 primcount)
|
||||
{
|
||||
unsafe
|
||||
{
|
||||
System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned);
|
||||
try
|
||||
{
|
||||
Delegates.glDrawElementsInstancedEXT((OpenTK.OpenGL.Enums.BeginMode)mode, (Int32)count, (OpenTK.OpenGL.Enums.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
|
||||
Delegates.glDrawElementsInstancedEXT((OpenTK.OpenGL.Enums.BeginMode)mode, (Int32)count, (OpenTK.OpenGL.Enums.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
@ -37683,26 +37683,26 @@ namespace OpenTK.OpenGL
|
|||
}
|
||||
|
||||
public static
|
||||
void MultiModeDrawElements(OpenTK.OpenGL.Enums.BeginMode[] mode, Int32[] count, OpenTK.OpenGL.Enums.All type, IntPtr indices, Int32 primcount, Int32 modestride)
|
||||
void MultiModeDrawElements(OpenTK.OpenGL.Enums.BeginMode[] mode, Int32[] count, OpenTK.OpenGL.Enums.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride)
|
||||
{
|
||||
unsafe
|
||||
{
|
||||
fixed (OpenTK.OpenGL.Enums.BeginMode* mode_ptr = mode)
|
||||
fixed (Int32* count_ptr = count)
|
||||
{
|
||||
Delegates.glMultiModeDrawElementsIBM((OpenTK.OpenGL.Enums.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.OpenGL.Enums.All)type, (IntPtr)indices, (Int32)primcount, (Int32)modestride);
|
||||
Delegates.glMultiModeDrawElementsIBM((OpenTK.OpenGL.Enums.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.OpenGL.Enums.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32)modestride);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[System.CLSCompliant(false)]
|
||||
public static
|
||||
unsafe void MultiModeDrawElements(OpenTK.OpenGL.Enums.BeginMode* mode, Int32* count, OpenTK.OpenGL.Enums.All type, [In, Out] object indices, Int32 primcount, Int32 modestride)
|
||||
unsafe void MultiModeDrawElements(OpenTK.OpenGL.Enums.BeginMode* mode, Int32* count, OpenTK.OpenGL.Enums.DrawElementsType 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);
|
||||
try
|
||||
{
|
||||
Delegates.glMultiModeDrawElementsIBM((OpenTK.OpenGL.Enums.BeginMode*)mode, (Int32*)count, (OpenTK.OpenGL.Enums.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride);
|
||||
Delegates.glMultiModeDrawElementsIBM((OpenTK.OpenGL.Enums.BeginMode*)mode, (Int32*)count, (OpenTK.OpenGL.Enums.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride);
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
@ -37711,7 +37711,7 @@ namespace OpenTK.OpenGL
|
|||
}
|
||||
|
||||
public static
|
||||
void MultiModeDrawElements(ref OpenTK.OpenGL.Enums.BeginMode mode, ref Int32 count, OpenTK.OpenGL.Enums.All type, [In, Out] object indices, Int32 primcount, Int32 modestride)
|
||||
void MultiModeDrawElements(ref OpenTK.OpenGL.Enums.BeginMode mode, ref Int32 count, OpenTK.OpenGL.Enums.DrawElementsType type, [In, Out] object indices, Int32 primcount, Int32 modestride)
|
||||
{
|
||||
unsafe
|
||||
{
|
||||
|
@ -37721,7 +37721,7 @@ namespace OpenTK.OpenGL
|
|||
System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned);
|
||||
try
|
||||
{
|
||||
Delegates.glMultiModeDrawElementsIBM((OpenTK.OpenGL.Enums.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.OpenGL.Enums.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride);
|
||||
Delegates.glMultiModeDrawElementsIBM((OpenTK.OpenGL.Enums.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.OpenGL.Enums.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride);
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
|
|
@ -938,7 +938,7 @@ namespace OpenTK.OpenGL
|
|||
internal extern static void DrawArrays(OpenTK.OpenGL.Enums.BeginMode mode, Int32 first, Int32 count);
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElements", ExactSpelling = true)]
|
||||
internal extern static void DrawElements(OpenTK.OpenGL.Enums.BeginMode mode, Int32 count, OpenTK.OpenGL.Enums.All type, IntPtr indices);
|
||||
internal extern static void DrawElements(OpenTK.OpenGL.Enums.BeginMode mode, Int32 count, OpenTK.OpenGL.Enums.DrawElementsType type, IntPtr indices);
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEdgeFlagPointer", ExactSpelling = true)]
|
||||
internal extern static void EdgeFlagPointer(Int32 stride, IntPtr pointer);
|
||||
|
@ -1019,10 +1019,10 @@ namespace OpenTK.OpenGL
|
|||
internal extern static void BlendColor(Single red, Single green, Single blue, Single alpha);
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquation", ExactSpelling = true)]
|
||||
internal extern static void BlendEquation(OpenTK.OpenGL.Enums.All mode);
|
||||
internal extern static void BlendEquation(OpenTK.OpenGL.Enums.BlendEquationMode mode);
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawRangeElements", ExactSpelling = true)]
|
||||
internal extern static void DrawRangeElements(OpenTK.OpenGL.Enums.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.OpenGL.Enums.All type, IntPtr indices);
|
||||
internal extern static void DrawRangeElements(OpenTK.OpenGL.Enums.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.OpenGL.Enums.DrawElementsType type, IntPtr indices);
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorTable", ExactSpelling = true)]
|
||||
internal extern static void ColorTable(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.PixelInternalFormat internalformat, Int32 width, OpenTK.OpenGL.Enums.PixelFormat format, OpenTK.OpenGL.Enums.PixelType type, IntPtr table);
|
||||
|
@ -1289,7 +1289,7 @@ namespace OpenTK.OpenGL
|
|||
internal extern static unsafe void MultiDrawArrays(OpenTK.OpenGL.Enums.BeginMode mode, [Out] Int32* first, [Out] Int32* count, Int32 primcount);
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawElements", ExactSpelling = true)]
|
||||
internal extern static unsafe void MultiDrawElements(OpenTK.OpenGL.Enums.BeginMode mode, Int32* count, OpenTK.OpenGL.Enums.All type, IntPtr indices, Int32 primcount);
|
||||
internal extern static unsafe void MultiDrawElements(OpenTK.OpenGL.Enums.BeginMode mode, Int32* count, OpenTK.OpenGL.Enums.DrawElementsType type, IntPtr indices, Int32 primcount);
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterf", ExactSpelling = true)]
|
||||
internal extern static void PointParameterf(OpenTK.OpenGL.Enums.PointParameterName pname, Single param);
|
||||
|
|
|
@ -939,7 +939,7 @@ namespace OpenTK.OpenGL
|
|||
internal delegate void DrawArrays(OpenTK.OpenGL.Enums.BeginMode mode, Int32 first, Int32 count);
|
||||
internal static DrawArrays glDrawArrays;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void DrawElements(OpenTK.OpenGL.Enums.BeginMode mode, Int32 count, OpenTK.OpenGL.Enums.All type, IntPtr indices);
|
||||
internal delegate void DrawElements(OpenTK.OpenGL.Enums.BeginMode mode, Int32 count, OpenTK.OpenGL.Enums.DrawElementsType type, IntPtr indices);
|
||||
internal static DrawElements glDrawElements;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void EdgeFlagPointer(Int32 stride, IntPtr pointer);
|
||||
|
@ -1020,10 +1020,10 @@ namespace OpenTK.OpenGL
|
|||
internal delegate void BlendColor(Single red, Single green, Single blue, Single alpha);
|
||||
internal static BlendColor glBlendColor;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void BlendEquation(OpenTK.OpenGL.Enums.All mode);
|
||||
internal delegate void BlendEquation(OpenTK.OpenGL.Enums.BlendEquationMode mode);
|
||||
internal static BlendEquation glBlendEquation;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void DrawRangeElements(OpenTK.OpenGL.Enums.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.OpenGL.Enums.All type, IntPtr indices);
|
||||
internal delegate void DrawRangeElements(OpenTK.OpenGL.Enums.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.OpenGL.Enums.DrawElementsType type, IntPtr indices);
|
||||
internal static DrawRangeElements glDrawRangeElements;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void ColorTable(OpenTK.OpenGL.Enums.All target, OpenTK.OpenGL.Enums.PixelInternalFormat internalformat, Int32 width, OpenTK.OpenGL.Enums.PixelFormat format, OpenTK.OpenGL.Enums.PixelType type, IntPtr table);
|
||||
|
@ -1290,7 +1290,7 @@ namespace OpenTK.OpenGL
|
|||
internal unsafe delegate void MultiDrawArrays(OpenTK.OpenGL.Enums.BeginMode mode, [Out] Int32* first, [Out] Int32* count, Int32 primcount);
|
||||
internal unsafe static MultiDrawArrays glMultiDrawArrays;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal unsafe delegate void MultiDrawElements(OpenTK.OpenGL.Enums.BeginMode mode, Int32* count, OpenTK.OpenGL.Enums.All type, IntPtr indices, Int32 primcount);
|
||||
internal unsafe delegate void MultiDrawElements(OpenTK.OpenGL.Enums.BeginMode mode, Int32* count, OpenTK.OpenGL.Enums.DrawElementsType type, IntPtr indices, Int32 primcount);
|
||||
internal unsafe static MultiDrawElements glMultiDrawElements;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void PointParameterf(OpenTK.OpenGL.Enums.PointParameterName pname, Single param);
|
||||
|
@ -2793,7 +2793,7 @@ namespace OpenTK.OpenGL
|
|||
internal delegate void LightEnviSGIX(OpenTK.OpenGL.Enums.All pname, Int32 param);
|
||||
internal static LightEnviSGIX glLightEnviSGIX;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void DrawRangeElementsEXT(OpenTK.OpenGL.Enums.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.OpenGL.Enums.All type, IntPtr indices);
|
||||
internal delegate void DrawRangeElementsEXT(OpenTK.OpenGL.Enums.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.OpenGL.Enums.DrawElementsType type, IntPtr indices);
|
||||
internal static DrawRangeElementsEXT glDrawRangeElementsEXT;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void ApplyTextureEXT(OpenTK.OpenGL.Enums.All mode);
|
||||
|
@ -2904,7 +2904,7 @@ namespace OpenTK.OpenGL
|
|||
internal unsafe delegate void MultiDrawArraysEXT(OpenTK.OpenGL.Enums.BeginMode mode, [Out] Int32* first, [Out] Int32* count, Int32 primcount);
|
||||
internal unsafe static MultiDrawArraysEXT glMultiDrawArraysEXT;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal unsafe delegate void MultiDrawElementsEXT(OpenTK.OpenGL.Enums.BeginMode mode, Int32* count, OpenTK.OpenGL.Enums.All type, IntPtr indices, Int32 primcount);
|
||||
internal unsafe delegate void MultiDrawElementsEXT(OpenTK.OpenGL.Enums.BeginMode mode, Int32* count, OpenTK.OpenGL.Enums.DrawElementsType type, IntPtr indices, Int32 primcount);
|
||||
internal unsafe static MultiDrawElementsEXT glMultiDrawElementsEXT;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void FogCoordfEXT(Single coord);
|
||||
|
@ -3294,7 +3294,7 @@ namespace OpenTK.OpenGL
|
|||
internal unsafe delegate void MultiModeDrawArraysIBM(OpenTK.OpenGL.Enums.BeginMode* mode, Int32* first, Int32* count, Int32 primcount, Int32 modestride);
|
||||
internal unsafe static MultiModeDrawArraysIBM glMultiModeDrawArraysIBM;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal unsafe delegate void MultiModeDrawElementsIBM(OpenTK.OpenGL.Enums.BeginMode* mode, Int32* count, OpenTK.OpenGL.Enums.All type, IntPtr indices, Int32 primcount, Int32 modestride);
|
||||
internal unsafe delegate void MultiModeDrawElementsIBM(OpenTK.OpenGL.Enums.BeginMode* mode, Int32* count, OpenTK.OpenGL.Enums.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride);
|
||||
internal unsafe static MultiModeDrawElementsIBM glMultiModeDrawElementsIBM;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void ColorPointerListIBM(Int32 size, OpenTK.OpenGL.Enums.ColorPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride);
|
||||
|
@ -4488,7 +4488,7 @@ namespace OpenTK.OpenGL
|
|||
internal delegate void DrawArraysInstancedEXT(OpenTK.OpenGL.Enums.BeginMode mode, Int32 start, Int32 count, Int32 primcount);
|
||||
internal static DrawArraysInstancedEXT glDrawArraysInstancedEXT;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void DrawElementsInstancedEXT(OpenTK.OpenGL.Enums.BeginMode mode, Int32 count, OpenTK.OpenGL.Enums.All type, IntPtr indices, Int32 primcount);
|
||||
internal delegate void DrawElementsInstancedEXT(OpenTK.OpenGL.Enums.BeginMode mode, Int32 count, OpenTK.OpenGL.Enums.DrawElementsType type, IntPtr indices, Int32 primcount);
|
||||
internal static DrawElementsInstancedEXT glDrawElementsInstancedEXT;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void TexBufferEXT(OpenTK.OpenGL.Enums.TextureTarget target, OpenTK.OpenGL.Enums.All internalformat, UInt32 buffer);
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue