mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-26 03:35:33 +00:00
40581 lines
1.4 MiB
40581 lines
1.4 MiB
namespace OpenTK.Graphics
|
|
{
|
|
using System;
|
|
using System.Runtime.InteropServices;
|
|
#pragma warning disable 3019
|
|
#pragma warning disable 1591
|
|
|
|
static partial class GL
|
|
{
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void NewList(UInt32 list, OpenTK.Graphics.ListMode mode)
|
|
{
|
|
Delegates.glNewList((UInt32)list, (OpenTK.Graphics.ListMode)mode);
|
|
}
|
|
|
|
public static
|
|
void NewList(Int32 list, OpenTK.Graphics.ListMode mode)
|
|
{
|
|
Delegates.glNewList((UInt32)list, (OpenTK.Graphics.ListMode)mode);
|
|
}
|
|
|
|
public static
|
|
void EndList()
|
|
{
|
|
Delegates.glEndList();
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void CallList(UInt32 list)
|
|
{
|
|
Delegates.glCallList((UInt32)list);
|
|
}
|
|
|
|
public static
|
|
void CallList(Int32 list)
|
|
{
|
|
Delegates.glCallList((UInt32)list);
|
|
}
|
|
|
|
public static
|
|
void CallLists(Int32 n, OpenTK.Graphics.ListNameType type, IntPtr lists)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glCallLists((Int32)n, (OpenTK.Graphics.ListNameType)type, (IntPtr)lists);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CallLists(Int32 n, OpenTK.Graphics.ListNameType type, [In, Out] object lists)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle lists_ptr = System.Runtime.InteropServices.GCHandle.Alloc(lists, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glCallLists((Int32)n, (OpenTK.Graphics.ListNameType)type, (IntPtr)lists_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
lists_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DeleteLists(UInt32 list, Int32 range)
|
|
{
|
|
Delegates.glDeleteLists((UInt32)list, (Int32)range);
|
|
}
|
|
|
|
public static
|
|
void DeleteLists(Int32 list, Int32 range)
|
|
{
|
|
Delegates.glDeleteLists((UInt32)list, (Int32)range);
|
|
}
|
|
|
|
public static
|
|
Int32 GenLists(Int32 range)
|
|
{
|
|
return Delegates.glGenLists((Int32)range);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ListBase(UInt32 @base)
|
|
{
|
|
Delegates.glListBase((UInt32)@base);
|
|
}
|
|
|
|
public static
|
|
void ListBase(Int32 @base)
|
|
{
|
|
Delegates.glListBase((UInt32)@base);
|
|
}
|
|
|
|
public static
|
|
void Begin(OpenTK.Graphics.BeginMode mode)
|
|
{
|
|
Delegates.glBegin((OpenTK.Graphics.BeginMode)mode);
|
|
}
|
|
|
|
public static
|
|
void Bitmap(Int32 width, Int32 height, Single xorig, Single yorig, Single xmove, Single ymove, Byte[] bitmap)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* bitmap_ptr = bitmap)
|
|
{
|
|
Delegates.glBitmap((Int32)width, (Int32)height, (Single)xorig, (Single)yorig, (Single)xmove, (Single)ymove, (Byte*)bitmap_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Bitmap(Int32 width, Int32 height, Single xorig, Single yorig, Single xmove, Single ymove, ref Byte bitmap)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* bitmap_ptr = &bitmap)
|
|
{
|
|
Delegates.glBitmap((Int32)width, (Int32)height, (Single)xorig, (Single)yorig, (Single)xmove, (Single)ymove, (Byte*)bitmap_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Bitmap(Int32 width, Int32 height, Single xorig, Single yorig, Single xmove, Single ymove, Byte* bitmap)
|
|
{
|
|
Delegates.glBitmap((Int32)width, (Int32)height, (Single)xorig, (Single)yorig, (Single)xmove, (Single)ymove, (Byte*)bitmap);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Color3(SByte red, SByte green, SByte blue)
|
|
{
|
|
Delegates.glColor3b((SByte)red, (SByte)green, (SByte)blue);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Color3(SByte[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (SByte* v_ptr = v)
|
|
{
|
|
Delegates.glColor3bv((SByte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Color3(ref SByte v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (SByte* v_ptr = &v)
|
|
{
|
|
Delegates.glColor3bv((SByte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Color3(SByte* v)
|
|
{
|
|
Delegates.glColor3bv((SByte*)v);
|
|
}
|
|
|
|
public static
|
|
void Color3(Double red, Double green, Double blue)
|
|
{
|
|
Delegates.glColor3d((Double)red, (Double)green, (Double)blue);
|
|
}
|
|
|
|
public static
|
|
void Color3(Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glColor3dv((Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Color3(ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glColor3dv((Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Color3(Double* v)
|
|
{
|
|
Delegates.glColor3dv((Double*)v);
|
|
}
|
|
|
|
public static
|
|
void Color3(Single red, Single green, Single blue)
|
|
{
|
|
Delegates.glColor3f((Single)red, (Single)green, (Single)blue);
|
|
}
|
|
|
|
public static
|
|
void Color3(Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glColor3fv((Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Color3(ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glColor3fv((Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Color3(Single* v)
|
|
{
|
|
Delegates.glColor3fv((Single*)v);
|
|
}
|
|
|
|
public static
|
|
void Color3(Byte red, Byte green, Byte blue)
|
|
{
|
|
Delegates.glColor3ub((Byte)red, (Byte)green, (Byte)blue);
|
|
}
|
|
|
|
public static
|
|
void Color3(Byte[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* v_ptr = v)
|
|
{
|
|
Delegates.glColor3ubv((Byte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Color3(ref Byte v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* v_ptr = &v)
|
|
{
|
|
Delegates.glColor3ubv((Byte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Color3(Byte* v)
|
|
{
|
|
Delegates.glColor3ubv((Byte*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Color3(UInt32 red, UInt32 green, UInt32 blue)
|
|
{
|
|
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
|
|
void Color3(UInt32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* v_ptr = v)
|
|
{
|
|
Delegates.glColor3uiv((UInt32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
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)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* v_ptr = &v)
|
|
{
|
|
Delegates.glColor3uiv((UInt32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Color3(ref Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glColor3uiv((UInt32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Color3(UInt32* v)
|
|
{
|
|
Delegates.glColor3uiv((UInt32*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Color3(Int32* v)
|
|
{
|
|
Delegates.glColor3uiv((UInt32*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Color3(UInt16 red, UInt16 green, UInt16 blue)
|
|
{
|
|
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
|
|
void Color3(UInt16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = v)
|
|
{
|
|
Delegates.glColor3usv((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
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)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = &v)
|
|
{
|
|
Delegates.glColor3usv((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Color3(ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glColor3usv((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Color3(UInt16* v)
|
|
{
|
|
Delegates.glColor3usv((UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Color3(Int16* v)
|
|
{
|
|
Delegates.glColor3usv((UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Color4(SByte red, SByte green, SByte blue, SByte alpha)
|
|
{
|
|
Delegates.glColor4b((SByte)red, (SByte)green, (SByte)blue, (SByte)alpha);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Color4(SByte[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (SByte* v_ptr = v)
|
|
{
|
|
Delegates.glColor4bv((SByte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Color4(ref SByte v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (SByte* v_ptr = &v)
|
|
{
|
|
Delegates.glColor4bv((SByte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Color4(SByte* v)
|
|
{
|
|
Delegates.glColor4bv((SByte*)v);
|
|
}
|
|
|
|
public static
|
|
void Color4(Double red, Double green, Double blue, Double alpha)
|
|
{
|
|
Delegates.glColor4d((Double)red, (Double)green, (Double)blue, (Double)alpha);
|
|
}
|
|
|
|
public static
|
|
void Color4(Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glColor4dv((Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Color4(ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glColor4dv((Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Color4(Double* v)
|
|
{
|
|
Delegates.glColor4dv((Double*)v);
|
|
}
|
|
|
|
public static
|
|
void Color4(Single red, Single green, Single blue, Single alpha)
|
|
{
|
|
Delegates.glColor4f((Single)red, (Single)green, (Single)blue, (Single)alpha);
|
|
}
|
|
|
|
public static
|
|
void Color4(Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glColor4fv((Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Color4(ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glColor4fv((Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Color4(Single* v)
|
|
{
|
|
Delegates.glColor4fv((Single*)v);
|
|
}
|
|
|
|
public static
|
|
void Color4(Byte red, Byte green, Byte blue, Byte alpha)
|
|
{
|
|
Delegates.glColor4ub((Byte)red, (Byte)green, (Byte)blue, (Byte)alpha);
|
|
}
|
|
|
|
public static
|
|
void Color4(Byte[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* v_ptr = v)
|
|
{
|
|
Delegates.glColor4ubv((Byte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Color4(ref Byte v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* v_ptr = &v)
|
|
{
|
|
Delegates.glColor4ubv((Byte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Color4(Byte* v)
|
|
{
|
|
Delegates.glColor4ubv((Byte*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Color4(UInt32 red, UInt32 green, UInt32 blue, UInt32 alpha)
|
|
{
|
|
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
|
|
void Color4(UInt32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* v_ptr = v)
|
|
{
|
|
Delegates.glColor4uiv((UInt32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
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)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* v_ptr = &v)
|
|
{
|
|
Delegates.glColor4uiv((UInt32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Color4(ref Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glColor4uiv((UInt32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Color4(UInt32* v)
|
|
{
|
|
Delegates.glColor4uiv((UInt32*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Color4(Int32* v)
|
|
{
|
|
Delegates.glColor4uiv((UInt32*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Color4(UInt16 red, UInt16 green, UInt16 blue, UInt16 alpha)
|
|
{
|
|
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
|
|
void Color4(UInt16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = v)
|
|
{
|
|
Delegates.glColor4usv((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
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)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = &v)
|
|
{
|
|
Delegates.glColor4usv((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Color4(ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glColor4usv((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Color4(UInt16* v)
|
|
{
|
|
Delegates.glColor4usv((UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Color4(Int16* v)
|
|
{
|
|
Delegates.glColor4usv((UInt16*)v);
|
|
}
|
|
|
|
public static
|
|
void EdgeFlag(bool flag)
|
|
{
|
|
Delegates.glEdgeFlag((bool)flag);
|
|
}
|
|
|
|
public static
|
|
void EdgeFlagv(bool[] flag)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (bool* flag_ptr = flag)
|
|
{
|
|
Delegates.glEdgeFlagv((bool*)flag_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void EdgeFlagv(ref bool flag)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (bool* flag_ptr = &flag)
|
|
{
|
|
Delegates.glEdgeFlagv((bool*)flag_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void EdgeFlagv(bool* flag)
|
|
{
|
|
Delegates.glEdgeFlagv((bool*)flag);
|
|
}
|
|
|
|
public static
|
|
void End()
|
|
{
|
|
Delegates.glEnd();
|
|
}
|
|
|
|
public static
|
|
void Index(Double c)
|
|
{
|
|
Delegates.glIndexd((Double)c);
|
|
}
|
|
|
|
public static
|
|
void Indexv(Double[] c)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* c_ptr = c)
|
|
{
|
|
Delegates.glIndexdv((Double*)c_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Indexv(ref Double c)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* c_ptr = &c)
|
|
{
|
|
Delegates.glIndexdv((Double*)c_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Indexv(Double* c)
|
|
{
|
|
Delegates.glIndexdv((Double*)c);
|
|
}
|
|
|
|
public static
|
|
void Index(Single c)
|
|
{
|
|
Delegates.glIndexf((Single)c);
|
|
}
|
|
|
|
public static
|
|
void Indexv(Single[] c)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* c_ptr = c)
|
|
{
|
|
Delegates.glIndexfv((Single*)c_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Indexv(ref Single c)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* c_ptr = &c)
|
|
{
|
|
Delegates.glIndexfv((Single*)c_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Indexv(Single* c)
|
|
{
|
|
Delegates.glIndexfv((Single*)c);
|
|
}
|
|
|
|
public static
|
|
void Index(Int32 c)
|
|
{
|
|
Delegates.glIndexi((Int32)c);
|
|
}
|
|
|
|
public static
|
|
void Indexv(Int32[] c)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* c_ptr = c)
|
|
{
|
|
Delegates.glIndexiv((Int32*)c_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Indexv(ref Int32 c)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* c_ptr = &c)
|
|
{
|
|
Delegates.glIndexiv((Int32*)c_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Indexv(Int32* c)
|
|
{
|
|
Delegates.glIndexiv((Int32*)c);
|
|
}
|
|
|
|
public static
|
|
void Index(Int16 c)
|
|
{
|
|
Delegates.glIndexs((Int16)c);
|
|
}
|
|
|
|
public static
|
|
void Indexv(Int16[] c)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* c_ptr = c)
|
|
{
|
|
Delegates.glIndexsv((Int16*)c_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Indexv(ref Int16 c)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* c_ptr = &c)
|
|
{
|
|
Delegates.glIndexsv((Int16*)c_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Indexv(Int16* c)
|
|
{
|
|
Delegates.glIndexsv((Int16*)c);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Normal3(SByte nx, SByte ny, SByte nz)
|
|
{
|
|
Delegates.glNormal3b((SByte)nx, (SByte)ny, (SByte)nz);
|
|
}
|
|
|
|
public static
|
|
void Normal3(Byte nx, Byte ny, Byte nz)
|
|
{
|
|
Delegates.glNormal3b((SByte)nx, (SByte)ny, (SByte)nz);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Normal3(SByte[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (SByte* v_ptr = v)
|
|
{
|
|
Delegates.glNormal3bv((SByte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Normal3(Byte[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* v_ptr = v)
|
|
{
|
|
Delegates.glNormal3bv((SByte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Normal3(ref SByte v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (SByte* v_ptr = &v)
|
|
{
|
|
Delegates.glNormal3bv((SByte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Normal3(ref Byte v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* v_ptr = &v)
|
|
{
|
|
Delegates.glNormal3bv((SByte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Normal3(SByte* v)
|
|
{
|
|
Delegates.glNormal3bv((SByte*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Normal3(Byte* v)
|
|
{
|
|
Delegates.glNormal3bv((SByte*)v);
|
|
}
|
|
|
|
public static
|
|
void Normal3(Double nx, Double ny, Double nz)
|
|
{
|
|
Delegates.glNormal3d((Double)nx, (Double)ny, (Double)nz);
|
|
}
|
|
|
|
public static
|
|
void Normal3(Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glNormal3dv((Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Normal3(ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glNormal3dv((Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Normal3(Double* v)
|
|
{
|
|
Delegates.glNormal3dv((Double*)v);
|
|
}
|
|
|
|
public static
|
|
void Normal3(Single nx, Single ny, Single nz)
|
|
{
|
|
Delegates.glNormal3f((Single)nx, (Single)ny, (Single)nz);
|
|
}
|
|
|
|
public static
|
|
void Normal3(Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glNormal3fv((Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Normal3(ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glNormal3fv((Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Normal3(Single* v)
|
|
{
|
|
Delegates.glNormal3fv((Single*)v);
|
|
}
|
|
|
|
public static
|
|
void Normal3(Int32 nx, Int32 ny, Int32 nz)
|
|
{
|
|
Delegates.glNormal3i((Int32)nx, (Int32)ny, (Int32)nz);
|
|
}
|
|
|
|
public static
|
|
void Normal3(Int32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = v)
|
|
{
|
|
Delegates.glNormal3iv((Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Normal3(ref Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glNormal3iv((Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Normal3(Int32* v)
|
|
{
|
|
Delegates.glNormal3iv((Int32*)v);
|
|
}
|
|
|
|
public static
|
|
void Normal3(Int16 nx, Int16 ny, Int16 nz)
|
|
{
|
|
Delegates.glNormal3s((Int16)nx, (Int16)ny, (Int16)nz);
|
|
}
|
|
|
|
public static
|
|
void Normal3(Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glNormal3sv((Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Normal3(ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glNormal3sv((Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Normal3(Int16* v)
|
|
{
|
|
Delegates.glNormal3sv((Int16*)v);
|
|
}
|
|
|
|
public static
|
|
void RasterPos2(Double x, Double y)
|
|
{
|
|
Delegates.glRasterPos2d((Double)x, (Double)y);
|
|
}
|
|
|
|
public static
|
|
void RasterPos2(Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glRasterPos2dv((Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void RasterPos2(ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glRasterPos2dv((Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void RasterPos2(Double* v)
|
|
{
|
|
Delegates.glRasterPos2dv((Double*)v);
|
|
}
|
|
|
|
public static
|
|
void RasterPos2(Single x, Single y)
|
|
{
|
|
Delegates.glRasterPos2f((Single)x, (Single)y);
|
|
}
|
|
|
|
public static
|
|
void RasterPos2(Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glRasterPos2fv((Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void RasterPos2(ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glRasterPos2fv((Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void RasterPos2(Single* v)
|
|
{
|
|
Delegates.glRasterPos2fv((Single*)v);
|
|
}
|
|
|
|
public static
|
|
void RasterPos2(Int32 x, Int32 y)
|
|
{
|
|
Delegates.glRasterPos2i((Int32)x, (Int32)y);
|
|
}
|
|
|
|
public static
|
|
void RasterPos2(Int32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = v)
|
|
{
|
|
Delegates.glRasterPos2iv((Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void RasterPos2(ref Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glRasterPos2iv((Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void RasterPos2(Int32* v)
|
|
{
|
|
Delegates.glRasterPos2iv((Int32*)v);
|
|
}
|
|
|
|
public static
|
|
void RasterPos2(Int16 x, Int16 y)
|
|
{
|
|
Delegates.glRasterPos2s((Int16)x, (Int16)y);
|
|
}
|
|
|
|
public static
|
|
void RasterPos2(Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glRasterPos2sv((Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void RasterPos2(ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glRasterPos2sv((Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void RasterPos2(Int16* v)
|
|
{
|
|
Delegates.glRasterPos2sv((Int16*)v);
|
|
}
|
|
|
|
public static
|
|
void RasterPos3(Double x, Double y, Double z)
|
|
{
|
|
Delegates.glRasterPos3d((Double)x, (Double)y, (Double)z);
|
|
}
|
|
|
|
public static
|
|
void RasterPos3(Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glRasterPos3dv((Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void RasterPos3(ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glRasterPos3dv((Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void RasterPos3(Double* v)
|
|
{
|
|
Delegates.glRasterPos3dv((Double*)v);
|
|
}
|
|
|
|
public static
|
|
void RasterPos3(Single x, Single y, Single z)
|
|
{
|
|
Delegates.glRasterPos3f((Single)x, (Single)y, (Single)z);
|
|
}
|
|
|
|
public static
|
|
void RasterPos3(Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glRasterPos3fv((Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void RasterPos3(ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glRasterPos3fv((Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void RasterPos3(Single* v)
|
|
{
|
|
Delegates.glRasterPos3fv((Single*)v);
|
|
}
|
|
|
|
public static
|
|
void RasterPos3(Int32 x, Int32 y, Int32 z)
|
|
{
|
|
Delegates.glRasterPos3i((Int32)x, (Int32)y, (Int32)z);
|
|
}
|
|
|
|
public static
|
|
void RasterPos3(Int32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = v)
|
|
{
|
|
Delegates.glRasterPos3iv((Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void RasterPos3(ref Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glRasterPos3iv((Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void RasterPos3(Int32* v)
|
|
{
|
|
Delegates.glRasterPos3iv((Int32*)v);
|
|
}
|
|
|
|
public static
|
|
void RasterPos3(Int16 x, Int16 y, Int16 z)
|
|
{
|
|
Delegates.glRasterPos3s((Int16)x, (Int16)y, (Int16)z);
|
|
}
|
|
|
|
public static
|
|
void RasterPos3(Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glRasterPos3sv((Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void RasterPos3(ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glRasterPos3sv((Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void RasterPos3(Int16* v)
|
|
{
|
|
Delegates.glRasterPos3sv((Int16*)v);
|
|
}
|
|
|
|
public static
|
|
void RasterPos4(Double x, Double y, Double z, Double w)
|
|
{
|
|
Delegates.glRasterPos4d((Double)x, (Double)y, (Double)z, (Double)w);
|
|
}
|
|
|
|
public static
|
|
void RasterPos4(Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glRasterPos4dv((Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void RasterPos4(ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glRasterPos4dv((Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void RasterPos4(Double* v)
|
|
{
|
|
Delegates.glRasterPos4dv((Double*)v);
|
|
}
|
|
|
|
public static
|
|
void RasterPos4(Single x, Single y, Single z, Single w)
|
|
{
|
|
Delegates.glRasterPos4f((Single)x, (Single)y, (Single)z, (Single)w);
|
|
}
|
|
|
|
public static
|
|
void RasterPos4(Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glRasterPos4fv((Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void RasterPos4(ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glRasterPos4fv((Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void RasterPos4(Single* v)
|
|
{
|
|
Delegates.glRasterPos4fv((Single*)v);
|
|
}
|
|
|
|
public static
|
|
void RasterPos4(Int32 x, Int32 y, Int32 z, Int32 w)
|
|
{
|
|
Delegates.glRasterPos4i((Int32)x, (Int32)y, (Int32)z, (Int32)w);
|
|
}
|
|
|
|
public static
|
|
void RasterPos4(Int32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = v)
|
|
{
|
|
Delegates.glRasterPos4iv((Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void RasterPos4(ref Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glRasterPos4iv((Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void RasterPos4(Int32* v)
|
|
{
|
|
Delegates.glRasterPos4iv((Int32*)v);
|
|
}
|
|
|
|
public static
|
|
void RasterPos4(Int16 x, Int16 y, Int16 z, Int16 w)
|
|
{
|
|
Delegates.glRasterPos4s((Int16)x, (Int16)y, (Int16)z, (Int16)w);
|
|
}
|
|
|
|
public static
|
|
void RasterPos4(Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glRasterPos4sv((Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void RasterPos4(ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glRasterPos4sv((Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void RasterPos4(Int16* v)
|
|
{
|
|
Delegates.glRasterPos4sv((Int16*)v);
|
|
}
|
|
|
|
public static
|
|
void Rect(Double x1, Double y1, Double x2, Double y2)
|
|
{
|
|
Delegates.glRectd((Double)x1, (Double)y1, (Double)x2, (Double)y2);
|
|
}
|
|
|
|
public static
|
|
void Rect(Double[] v1, Double[] v2)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v1_ptr = v1)
|
|
fixed (Double* v2_ptr = v2)
|
|
{
|
|
Delegates.glRectdv((Double*)v1_ptr, (Double*)v2_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Rect(ref Double v1, ref Double v2)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v1_ptr = &v1)
|
|
fixed (Double* v2_ptr = &v2)
|
|
{
|
|
Delegates.glRectdv((Double*)v1_ptr, (Double*)v2_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Rect(Double* v1, Double* v2)
|
|
{
|
|
Delegates.glRectdv((Double*)v1, (Double*)v2);
|
|
}
|
|
|
|
public static
|
|
void Rect(Single x1, Single y1, Single x2, Single y2)
|
|
{
|
|
Delegates.glRectf((Single)x1, (Single)y1, (Single)x2, (Single)y2);
|
|
}
|
|
|
|
public static
|
|
void Rect(Single[] v1, Single[] v2)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v1_ptr = v1)
|
|
fixed (Single* v2_ptr = v2)
|
|
{
|
|
Delegates.glRectfv((Single*)v1_ptr, (Single*)v2_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Rect(ref Single v1, ref Single v2)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v1_ptr = &v1)
|
|
fixed (Single* v2_ptr = &v2)
|
|
{
|
|
Delegates.glRectfv((Single*)v1_ptr, (Single*)v2_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Rect(Single* v1, Single* v2)
|
|
{
|
|
Delegates.glRectfv((Single*)v1, (Single*)v2);
|
|
}
|
|
|
|
public static
|
|
void Rect(Int32 x1, Int32 y1, Int32 x2, Int32 y2)
|
|
{
|
|
Delegates.glRecti((Int32)x1, (Int32)y1, (Int32)x2, (Int32)y2);
|
|
}
|
|
|
|
public static
|
|
void Rect(Int32[] v1, Int32[] v2)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v1_ptr = v1)
|
|
fixed (Int32* v2_ptr = v2)
|
|
{
|
|
Delegates.glRectiv((Int32*)v1_ptr, (Int32*)v2_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Rect(ref Int32 v1, ref Int32 v2)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v1_ptr = &v1)
|
|
fixed (Int32* v2_ptr = &v2)
|
|
{
|
|
Delegates.glRectiv((Int32*)v1_ptr, (Int32*)v2_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Rect(Int32* v1, Int32* v2)
|
|
{
|
|
Delegates.glRectiv((Int32*)v1, (Int32*)v2);
|
|
}
|
|
|
|
public static
|
|
void Rects(Int16 x1, Int16 y1, Int16 x2, Int16 y2)
|
|
{
|
|
Delegates.glRects((Int16)x1, (Int16)y1, (Int16)x2, (Int16)y2);
|
|
}
|
|
|
|
public static
|
|
void Rect(Int16[] v1, Int16[] v2)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v1_ptr = v1)
|
|
fixed (Int16* v2_ptr = v2)
|
|
{
|
|
Delegates.glRectsv((Int16*)v1_ptr, (Int16*)v2_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Rect(ref Int16 v1, ref Int16 v2)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v1_ptr = &v1)
|
|
fixed (Int16* v2_ptr = &v2)
|
|
{
|
|
Delegates.glRectsv((Int16*)v1_ptr, (Int16*)v2_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Rect(Int16* v1, Int16* v2)
|
|
{
|
|
Delegates.glRectsv((Int16*)v1, (Int16*)v2);
|
|
}
|
|
|
|
public static
|
|
void TexCoord1(Double s)
|
|
{
|
|
Delegates.glTexCoord1d((Double)s);
|
|
}
|
|
|
|
public static
|
|
void TexCoord1v(Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glTexCoord1dv((Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexCoord1v(ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glTexCoord1dv((Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexCoord1v(Double* v)
|
|
{
|
|
Delegates.glTexCoord1dv((Double*)v);
|
|
}
|
|
|
|
public static
|
|
void TexCoord1(Single s)
|
|
{
|
|
Delegates.glTexCoord1f((Single)s);
|
|
}
|
|
|
|
public static
|
|
void TexCoord1v(Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glTexCoord1fv((Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexCoord1v(ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glTexCoord1fv((Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexCoord1v(Single* v)
|
|
{
|
|
Delegates.glTexCoord1fv((Single*)v);
|
|
}
|
|
|
|
public static
|
|
void TexCoord1(Int32 s)
|
|
{
|
|
Delegates.glTexCoord1i((Int32)s);
|
|
}
|
|
|
|
public static
|
|
void TexCoord1v(Int32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = v)
|
|
{
|
|
Delegates.glTexCoord1iv((Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexCoord1v(ref Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glTexCoord1iv((Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexCoord1v(Int32* v)
|
|
{
|
|
Delegates.glTexCoord1iv((Int32*)v);
|
|
}
|
|
|
|
public static
|
|
void TexCoord1(Int16 s)
|
|
{
|
|
Delegates.glTexCoord1s((Int16)s);
|
|
}
|
|
|
|
public static
|
|
void TexCoord1v(Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glTexCoord1sv((Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexCoord1v(ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glTexCoord1sv((Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexCoord1v(Int16* v)
|
|
{
|
|
Delegates.glTexCoord1sv((Int16*)v);
|
|
}
|
|
|
|
public static
|
|
void TexCoord2(Double s, Double t)
|
|
{
|
|
Delegates.glTexCoord2d((Double)s, (Double)t);
|
|
}
|
|
|
|
public static
|
|
void TexCoord2(Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glTexCoord2dv((Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexCoord2(ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glTexCoord2dv((Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexCoord2(Double* v)
|
|
{
|
|
Delegates.glTexCoord2dv((Double*)v);
|
|
}
|
|
|
|
public static
|
|
void TexCoord2(Single s, Single t)
|
|
{
|
|
Delegates.glTexCoord2f((Single)s, (Single)t);
|
|
}
|
|
|
|
public static
|
|
void TexCoord2(Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glTexCoord2fv((Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexCoord2(ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glTexCoord2fv((Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexCoord2(Single* v)
|
|
{
|
|
Delegates.glTexCoord2fv((Single*)v);
|
|
}
|
|
|
|
public static
|
|
void TexCoord2(Int32 s, Int32 t)
|
|
{
|
|
Delegates.glTexCoord2i((Int32)s, (Int32)t);
|
|
}
|
|
|
|
public static
|
|
void TexCoord2(Int32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = v)
|
|
{
|
|
Delegates.glTexCoord2iv((Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexCoord2(ref Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glTexCoord2iv((Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexCoord2(Int32* v)
|
|
{
|
|
Delegates.glTexCoord2iv((Int32*)v);
|
|
}
|
|
|
|
public static
|
|
void TexCoord2(Int16 s, Int16 t)
|
|
{
|
|
Delegates.glTexCoord2s((Int16)s, (Int16)t);
|
|
}
|
|
|
|
public static
|
|
void TexCoord2(Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glTexCoord2sv((Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexCoord2(ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glTexCoord2sv((Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexCoord2(Int16* v)
|
|
{
|
|
Delegates.glTexCoord2sv((Int16*)v);
|
|
}
|
|
|
|
public static
|
|
void TexCoord3(Double s, Double t, Double r)
|
|
{
|
|
Delegates.glTexCoord3d((Double)s, (Double)t, (Double)r);
|
|
}
|
|
|
|
public static
|
|
void TexCoord3(Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glTexCoord3dv((Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexCoord3(ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glTexCoord3dv((Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexCoord3(Double* v)
|
|
{
|
|
Delegates.glTexCoord3dv((Double*)v);
|
|
}
|
|
|
|
public static
|
|
void TexCoord3(Single s, Single t, Single r)
|
|
{
|
|
Delegates.glTexCoord3f((Single)s, (Single)t, (Single)r);
|
|
}
|
|
|
|
public static
|
|
void TexCoord3(Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glTexCoord3fv((Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexCoord3(ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glTexCoord3fv((Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexCoord3(Single* v)
|
|
{
|
|
Delegates.glTexCoord3fv((Single*)v);
|
|
}
|
|
|
|
public static
|
|
void TexCoord3(Int32 s, Int32 t, Int32 r)
|
|
{
|
|
Delegates.glTexCoord3i((Int32)s, (Int32)t, (Int32)r);
|
|
}
|
|
|
|
public static
|
|
void TexCoord3(Int32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = v)
|
|
{
|
|
Delegates.glTexCoord3iv((Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexCoord3(ref Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glTexCoord3iv((Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexCoord3(Int32* v)
|
|
{
|
|
Delegates.glTexCoord3iv((Int32*)v);
|
|
}
|
|
|
|
public static
|
|
void TexCoord3(Int16 s, Int16 t, Int16 r)
|
|
{
|
|
Delegates.glTexCoord3s((Int16)s, (Int16)t, (Int16)r);
|
|
}
|
|
|
|
public static
|
|
void TexCoord3(Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glTexCoord3sv((Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexCoord3(ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glTexCoord3sv((Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexCoord3(Int16* v)
|
|
{
|
|
Delegates.glTexCoord3sv((Int16*)v);
|
|
}
|
|
|
|
public static
|
|
void TexCoord4(Double s, Double t, Double r, Double q)
|
|
{
|
|
Delegates.glTexCoord4d((Double)s, (Double)t, (Double)r, (Double)q);
|
|
}
|
|
|
|
public static
|
|
void TexCoord4(Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glTexCoord4dv((Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexCoord4(ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glTexCoord4dv((Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexCoord4(Double* v)
|
|
{
|
|
Delegates.glTexCoord4dv((Double*)v);
|
|
}
|
|
|
|
public static
|
|
void TexCoord4(Single s, Single t, Single r, Single q)
|
|
{
|
|
Delegates.glTexCoord4f((Single)s, (Single)t, (Single)r, (Single)q);
|
|
}
|
|
|
|
public static
|
|
void TexCoord4(Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glTexCoord4fv((Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexCoord4(ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glTexCoord4fv((Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexCoord4(Single* v)
|
|
{
|
|
Delegates.glTexCoord4fv((Single*)v);
|
|
}
|
|
|
|
public static
|
|
void TexCoord4(Int32 s, Int32 t, Int32 r, Int32 q)
|
|
{
|
|
Delegates.glTexCoord4i((Int32)s, (Int32)t, (Int32)r, (Int32)q);
|
|
}
|
|
|
|
public static
|
|
void TexCoord4(Int32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = v)
|
|
{
|
|
Delegates.glTexCoord4iv((Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexCoord4(ref Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glTexCoord4iv((Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexCoord4(Int32* v)
|
|
{
|
|
Delegates.glTexCoord4iv((Int32*)v);
|
|
}
|
|
|
|
public static
|
|
void TexCoord4(Int16 s, Int16 t, Int16 r, Int16 q)
|
|
{
|
|
Delegates.glTexCoord4s((Int16)s, (Int16)t, (Int16)r, (Int16)q);
|
|
}
|
|
|
|
public static
|
|
void TexCoord4(Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glTexCoord4sv((Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexCoord4(ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glTexCoord4sv((Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexCoord4(Int16* v)
|
|
{
|
|
Delegates.glTexCoord4sv((Int16*)v);
|
|
}
|
|
|
|
public static
|
|
void Vertex2(Double x, Double y)
|
|
{
|
|
Delegates.glVertex2d((Double)x, (Double)y);
|
|
}
|
|
|
|
public static
|
|
void Vertex2(Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glVertex2dv((Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Vertex2(ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glVertex2dv((Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Vertex2(Double* v)
|
|
{
|
|
Delegates.glVertex2dv((Double*)v);
|
|
}
|
|
|
|
public static
|
|
void Vertex2(Single x, Single y)
|
|
{
|
|
Delegates.glVertex2f((Single)x, (Single)y);
|
|
}
|
|
|
|
public static
|
|
void Vertex2(Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glVertex2fv((Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Vertex2(ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glVertex2fv((Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Vertex2(Single* v)
|
|
{
|
|
Delegates.glVertex2fv((Single*)v);
|
|
}
|
|
|
|
public static
|
|
void Vertex2(Int32 x, Int32 y)
|
|
{
|
|
Delegates.glVertex2i((Int32)x, (Int32)y);
|
|
}
|
|
|
|
public static
|
|
void Vertex2(Int32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = v)
|
|
{
|
|
Delegates.glVertex2iv((Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Vertex2(ref Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glVertex2iv((Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Vertex2(Int32* v)
|
|
{
|
|
Delegates.glVertex2iv((Int32*)v);
|
|
}
|
|
|
|
public static
|
|
void Vertex2(Int16 x, Int16 y)
|
|
{
|
|
Delegates.glVertex2s((Int16)x, (Int16)y);
|
|
}
|
|
|
|
public static
|
|
void Vertex2(Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glVertex2sv((Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Vertex2(ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertex2sv((Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Vertex2(Int16* v)
|
|
{
|
|
Delegates.glVertex2sv((Int16*)v);
|
|
}
|
|
|
|
public static
|
|
void Vertex3(Double x, Double y, Double z)
|
|
{
|
|
Delegates.glVertex3d((Double)x, (Double)y, (Double)z);
|
|
}
|
|
|
|
public static
|
|
void Vertex3(Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glVertex3dv((Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Vertex3(ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glVertex3dv((Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Vertex3(Double* v)
|
|
{
|
|
Delegates.glVertex3dv((Double*)v);
|
|
}
|
|
|
|
public static
|
|
void Vertex3(Single x, Single y, Single z)
|
|
{
|
|
Delegates.glVertex3f((Single)x, (Single)y, (Single)z);
|
|
}
|
|
|
|
public static
|
|
void Vertex3(Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glVertex3fv((Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Vertex3(ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glVertex3fv((Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Vertex3(Single* v)
|
|
{
|
|
Delegates.glVertex3fv((Single*)v);
|
|
}
|
|
|
|
public static
|
|
void Vertex3(Int32 x, Int32 y, Int32 z)
|
|
{
|
|
Delegates.glVertex3i((Int32)x, (Int32)y, (Int32)z);
|
|
}
|
|
|
|
public static
|
|
void Vertex3(Int32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = v)
|
|
{
|
|
Delegates.glVertex3iv((Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Vertex3(ref Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glVertex3iv((Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Vertex3(Int32* v)
|
|
{
|
|
Delegates.glVertex3iv((Int32*)v);
|
|
}
|
|
|
|
public static
|
|
void Vertex3(Int16 x, Int16 y, Int16 z)
|
|
{
|
|
Delegates.glVertex3s((Int16)x, (Int16)y, (Int16)z);
|
|
}
|
|
|
|
public static
|
|
void Vertex3(Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glVertex3sv((Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Vertex3(ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertex3sv((Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Vertex3(Int16* v)
|
|
{
|
|
Delegates.glVertex3sv((Int16*)v);
|
|
}
|
|
|
|
public static
|
|
void Vertex4(Double x, Double y, Double z, Double w)
|
|
{
|
|
Delegates.glVertex4d((Double)x, (Double)y, (Double)z, (Double)w);
|
|
}
|
|
|
|
public static
|
|
void Vertex4(Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glVertex4dv((Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Vertex4(ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glVertex4dv((Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Vertex4(Double* v)
|
|
{
|
|
Delegates.glVertex4dv((Double*)v);
|
|
}
|
|
|
|
public static
|
|
void Vertex4(Single x, Single y, Single z, Single w)
|
|
{
|
|
Delegates.glVertex4f((Single)x, (Single)y, (Single)z, (Single)w);
|
|
}
|
|
|
|
public static
|
|
void Vertex4(Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glVertex4fv((Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Vertex4(ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glVertex4fv((Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Vertex4(Single* v)
|
|
{
|
|
Delegates.glVertex4fv((Single*)v);
|
|
}
|
|
|
|
public static
|
|
void Vertex4(Int32 x, Int32 y, Int32 z, Int32 w)
|
|
{
|
|
Delegates.glVertex4i((Int32)x, (Int32)y, (Int32)z, (Int32)w);
|
|
}
|
|
|
|
public static
|
|
void Vertex4(Int32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = v)
|
|
{
|
|
Delegates.glVertex4iv((Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Vertex4(ref Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glVertex4iv((Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Vertex4(Int32* v)
|
|
{
|
|
Delegates.glVertex4iv((Int32*)v);
|
|
}
|
|
|
|
public static
|
|
void Vertex4(Int16 x, Int16 y, Int16 z, Int16 w)
|
|
{
|
|
Delegates.glVertex4s((Int16)x, (Int16)y, (Int16)z, (Int16)w);
|
|
}
|
|
|
|
public static
|
|
void Vertex4(Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glVertex4sv((Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Vertex4(ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertex4sv((Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Vertex4(Int16* v)
|
|
{
|
|
Delegates.glVertex4sv((Int16*)v);
|
|
}
|
|
|
|
public static
|
|
void ClipPlane(OpenTK.Graphics.ClipPlaneName plane, Double[] equation)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* equation_ptr = equation)
|
|
{
|
|
Delegates.glClipPlane((OpenTK.Graphics.ClipPlaneName)plane, (Double*)equation_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ClipPlane(OpenTK.Graphics.ClipPlaneName plane, ref Double equation)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* equation_ptr = &equation)
|
|
{
|
|
Delegates.glClipPlane((OpenTK.Graphics.ClipPlaneName)plane, (Double*)equation_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ClipPlane(OpenTK.Graphics.ClipPlaneName plane, Double* equation)
|
|
{
|
|
Delegates.glClipPlane((OpenTK.Graphics.ClipPlaneName)plane, (Double*)equation);
|
|
}
|
|
|
|
public static
|
|
void ColorMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.ColorMaterialParameter mode)
|
|
{
|
|
Delegates.glColorMaterial((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.ColorMaterialParameter)mode);
|
|
}
|
|
|
|
public static
|
|
void CullFace(OpenTK.Graphics.CullFaceMode mode)
|
|
{
|
|
Delegates.glCullFace((OpenTK.Graphics.CullFaceMode)mode);
|
|
}
|
|
|
|
public static
|
|
void Fog(OpenTK.Graphics.FogParameter pname, Single param)
|
|
{
|
|
Delegates.glFogf((OpenTK.Graphics.FogParameter)pname, (Single)param);
|
|
}
|
|
|
|
public static
|
|
void Fogv(OpenTK.Graphics.FogParameter pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glFogfv((OpenTK.Graphics.FogParameter)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Fogv(OpenTK.Graphics.FogParameter pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glFogfv((OpenTK.Graphics.FogParameter)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Fogv(OpenTK.Graphics.FogParameter pname, Single* @params)
|
|
{
|
|
Delegates.glFogfv((OpenTK.Graphics.FogParameter)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void Fog(OpenTK.Graphics.FogParameter pname, Int32 param)
|
|
{
|
|
Delegates.glFogi((OpenTK.Graphics.FogParameter)pname, (Int32)param);
|
|
}
|
|
|
|
public static
|
|
void Fogv(OpenTK.Graphics.FogParameter pname, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glFogiv((OpenTK.Graphics.FogParameter)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Fogv(OpenTK.Graphics.FogParameter pname, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glFogiv((OpenTK.Graphics.FogParameter)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Fogv(OpenTK.Graphics.FogParameter pname, Int32* @params)
|
|
{
|
|
Delegates.glFogiv((OpenTK.Graphics.FogParameter)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void FrontFace(OpenTK.Graphics.FrontFaceDirection mode)
|
|
{
|
|
Delegates.glFrontFace((OpenTK.Graphics.FrontFaceDirection)mode);
|
|
}
|
|
|
|
public static
|
|
void Hint(OpenTK.Graphics.HintTarget target, OpenTK.Graphics.HintMode mode)
|
|
{
|
|
Delegates.glHint((OpenTK.Graphics.HintTarget)target, (OpenTK.Graphics.HintMode)mode);
|
|
}
|
|
|
|
public static
|
|
void Light(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, Single param)
|
|
{
|
|
Delegates.glLightf((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Single)param);
|
|
}
|
|
|
|
public static
|
|
void Lightv(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glLightfv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Lightv(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glLightfv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Lightv(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, Single* @params)
|
|
{
|
|
Delegates.glLightfv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void Light(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, Int32 param)
|
|
{
|
|
Delegates.glLighti((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Int32)param);
|
|
}
|
|
|
|
public static
|
|
void Lightv(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glLightiv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Lightv(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glLightiv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Lightv(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, Int32* @params)
|
|
{
|
|
Delegates.glLightiv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void LightModel(OpenTK.Graphics.LightModelParameter pname, Single param)
|
|
{
|
|
Delegates.glLightModelf((OpenTK.Graphics.LightModelParameter)pname, (Single)param);
|
|
}
|
|
|
|
public static
|
|
void LightModelv(OpenTK.Graphics.LightModelParameter pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glLightModelfv((OpenTK.Graphics.LightModelParameter)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void LightModelv(OpenTK.Graphics.LightModelParameter pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glLightModelfv((OpenTK.Graphics.LightModelParameter)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void LightModelv(OpenTK.Graphics.LightModelParameter pname, Single* @params)
|
|
{
|
|
Delegates.glLightModelfv((OpenTK.Graphics.LightModelParameter)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void LightModel(OpenTK.Graphics.LightModelParameter pname, Int32 param)
|
|
{
|
|
Delegates.glLightModeli((OpenTK.Graphics.LightModelParameter)pname, (Int32)param);
|
|
}
|
|
|
|
public static
|
|
void LightModelv(OpenTK.Graphics.LightModelParameter pname, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glLightModeliv((OpenTK.Graphics.LightModelParameter)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void LightModelv(OpenTK.Graphics.LightModelParameter pname, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glLightModeliv((OpenTK.Graphics.LightModelParameter)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void LightModelv(OpenTK.Graphics.LightModelParameter pname, Int32* @params)
|
|
{
|
|
Delegates.glLightModeliv((OpenTK.Graphics.LightModelParameter)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void LineStipple(Int32 factor, UInt16 pattern)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glLineStipple((Int32)factor, (UInt16)pattern);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void LineStipple(Int32 factor, Int16 pattern)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glLineStipple((Int32)factor, (UInt16)pattern);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void LineWidth(Single width)
|
|
{
|
|
Delegates.glLineWidth((Single)width);
|
|
}
|
|
|
|
public static
|
|
void Material(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Single param)
|
|
{
|
|
Delegates.glMaterialf((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Single)param);
|
|
}
|
|
|
|
public static
|
|
void Materialv(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glMaterialfv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Materialv(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glMaterialfv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Materialv(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Single* @params)
|
|
{
|
|
Delegates.glMaterialfv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void Material(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Int32 param)
|
|
{
|
|
Delegates.glMateriali((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32)param);
|
|
}
|
|
|
|
public static
|
|
void Materialv(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glMaterialiv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Materialv(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glMaterialiv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Materialv(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Int32* @params)
|
|
{
|
|
Delegates.glMaterialiv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void PointSize(Single size)
|
|
{
|
|
Delegates.glPointSize((Single)size);
|
|
}
|
|
|
|
public static
|
|
void PolygonMode(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.PolygonMode mode)
|
|
{
|
|
Delegates.glPolygonMode((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.PolygonMode)mode);
|
|
}
|
|
|
|
public static
|
|
void PolygonStipple(Byte[] mask)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* mask_ptr = mask)
|
|
{
|
|
Delegates.glPolygonStipple((Byte*)mask_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void PolygonStipple(ref Byte mask)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* mask_ptr = &mask)
|
|
{
|
|
Delegates.glPolygonStipple((Byte*)mask_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void PolygonStipple(Byte* mask)
|
|
{
|
|
Delegates.glPolygonStipple((Byte*)mask);
|
|
}
|
|
|
|
public static
|
|
void Scissor(Int32 x, Int32 y, Int32 width, Int32 height)
|
|
{
|
|
Delegates.glScissor((Int32)x, (Int32)y, (Int32)width, (Int32)height);
|
|
}
|
|
|
|
public static
|
|
void ShadeModel(OpenTK.Graphics.ShadingModel mode)
|
|
{
|
|
Delegates.glShadeModel((OpenTK.Graphics.ShadingModel)mode);
|
|
}
|
|
|
|
public static
|
|
void TexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single param)
|
|
{
|
|
Delegates.glTexParameterf((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Single)param);
|
|
}
|
|
|
|
public static
|
|
void TexParameterv(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glTexParameterfv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexParameterv(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glTexParameterfv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexParameterv(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single* @params)
|
|
{
|
|
Delegates.glTexParameterfv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void TexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32 param)
|
|
{
|
|
Delegates.glTexParameteri((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32)param);
|
|
}
|
|
|
|
public static
|
|
void TexParameterv(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glTexParameteriv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexParameterv(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glTexParameteriv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexParameterv(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params)
|
|
{
|
|
Delegates.glTexParameteriv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void TexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pixels_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glTexImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glTexImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pixels_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Single param)
|
|
{
|
|
Delegates.glTexEnvf((OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Single)param);
|
|
}
|
|
|
|
public static
|
|
void TexEnvv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glTexEnvfv((OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexEnvv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glTexEnvfv((OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexEnvv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Single* @params)
|
|
{
|
|
Delegates.glTexEnvfv((OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void TexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Int32 param)
|
|
{
|
|
Delegates.glTexEnvi((OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Int32)param);
|
|
}
|
|
|
|
public static
|
|
void TexEnvv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glTexEnviv((OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexEnvv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glTexEnviv((OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexEnvv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Int32* @params)
|
|
{
|
|
Delegates.glTexEnviv((OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void TexGend(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Double param)
|
|
{
|
|
Delegates.glTexGend((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double)param);
|
|
}
|
|
|
|
public static
|
|
void TexGenv(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Double[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = @params)
|
|
{
|
|
Delegates.glTexGendv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexGenv(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, ref Double @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = &@params)
|
|
{
|
|
Delegates.glTexGendv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexGenv(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Double* @params)
|
|
{
|
|
Delegates.glTexGendv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double*)@params);
|
|
}
|
|
|
|
public static
|
|
void TexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Single param)
|
|
{
|
|
Delegates.glTexGenf((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Single)param);
|
|
}
|
|
|
|
public static
|
|
void TexGenv(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glTexGenfv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexGenv(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glTexGenfv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexGenv(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Single* @params)
|
|
{
|
|
Delegates.glTexGenfv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void TexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Int32 param)
|
|
{
|
|
Delegates.glTexGeni((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Int32)param);
|
|
}
|
|
|
|
public static
|
|
void TexGenv(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glTexGeniv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexGenv(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glTexGeniv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexGenv(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Int32* @params)
|
|
{
|
|
Delegates.glTexGeniv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void FeedbackBuffer(Int32 size, OpenTK.Graphics.FeedbackType type, [Out] Single[] buffer)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* buffer_ptr = buffer)
|
|
{
|
|
Delegates.glFeedbackBuffer((Int32)size, (OpenTK.Graphics.FeedbackType)type, (Single*)buffer_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void FeedbackBuffer(Int32 size, OpenTK.Graphics.FeedbackType type, [Out] out Single buffer)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* buffer_ptr = &buffer)
|
|
{
|
|
Delegates.glFeedbackBuffer((Int32)size, (OpenTK.Graphics.FeedbackType)type, (Single*)buffer_ptr);
|
|
buffer = *buffer_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void FeedbackBuffer(Int32 size, OpenTK.Graphics.FeedbackType type, [Out] Single* buffer)
|
|
{
|
|
Delegates.glFeedbackBuffer((Int32)size, (OpenTK.Graphics.FeedbackType)type, (Single*)buffer);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void SelectBuffer(Int32 size, [Out] UInt32[] buffer)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* buffer_ptr = buffer)
|
|
{
|
|
Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void SelectBuffer(Int32 size, [Out] Int32[] buffer)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* buffer_ptr = buffer)
|
|
{
|
|
Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void SelectBuffer(Int32 size, [Out] out UInt32 buffer)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* buffer_ptr = &buffer)
|
|
{
|
|
Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer_ptr);
|
|
buffer = *buffer_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void SelectBuffer(Int32 size, [Out] out Int32 buffer)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* buffer_ptr = &buffer)
|
|
{
|
|
Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer_ptr);
|
|
buffer = *buffer_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void SelectBuffer(Int32 size, [Out] UInt32* buffer)
|
|
{
|
|
Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void SelectBuffer(Int32 size, [Out] Int32* buffer)
|
|
{
|
|
Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer);
|
|
}
|
|
|
|
public static
|
|
Int32 RenderMode(OpenTK.Graphics.RenderingMode mode)
|
|
{
|
|
return Delegates.glRenderMode((OpenTK.Graphics.RenderingMode)mode);
|
|
}
|
|
|
|
public static
|
|
void InitNames()
|
|
{
|
|
Delegates.glInitNames();
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void LoadName(UInt32 name)
|
|
{
|
|
Delegates.glLoadName((UInt32)name);
|
|
}
|
|
|
|
public static
|
|
void LoadName(Int32 name)
|
|
{
|
|
Delegates.glLoadName((UInt32)name);
|
|
}
|
|
|
|
public static
|
|
void PassThrough(Single token)
|
|
{
|
|
Delegates.glPassThrough((Single)token);
|
|
}
|
|
|
|
public static
|
|
void PopName()
|
|
{
|
|
Delegates.glPopName();
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void PushName(UInt32 name)
|
|
{
|
|
Delegates.glPushName((UInt32)name);
|
|
}
|
|
|
|
public static
|
|
void PushName(Int32 name)
|
|
{
|
|
Delegates.glPushName((UInt32)name);
|
|
}
|
|
|
|
public static
|
|
void DrawBuffer(OpenTK.Graphics.DrawBufferMode mode)
|
|
{
|
|
Delegates.glDrawBuffer((OpenTK.Graphics.DrawBufferMode)mode);
|
|
}
|
|
|
|
public static
|
|
void Clear(OpenTK.Graphics.ClearBufferMask mask)
|
|
{
|
|
Delegates.glClear((OpenTK.Graphics.ClearBufferMask)mask);
|
|
}
|
|
|
|
public static
|
|
void ClearAccum(Single red, Single green, Single blue, Single alpha)
|
|
{
|
|
Delegates.glClearAccum((Single)red, (Single)green, (Single)blue, (Single)alpha);
|
|
}
|
|
|
|
public static
|
|
void ClearIndex(Single c)
|
|
{
|
|
Delegates.glClearIndex((Single)c);
|
|
}
|
|
|
|
public static
|
|
void ClearColor(Single red, Single green, Single blue, Single alpha)
|
|
{
|
|
Delegates.glClearColor((Single)red, (Single)green, (Single)blue, (Single)alpha);
|
|
}
|
|
|
|
public static
|
|
void ClearStencil(Int32 s)
|
|
{
|
|
Delegates.glClearStencil((Int32)s);
|
|
}
|
|
|
|
public static
|
|
void ClearDepth(Double depth)
|
|
{
|
|
Delegates.glClearDepth((Double)depth);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void StencilMask(UInt32 mask)
|
|
{
|
|
Delegates.glStencilMask((UInt32)mask);
|
|
}
|
|
|
|
public static
|
|
void StencilMask(Int32 mask)
|
|
{
|
|
Delegates.glStencilMask((UInt32)mask);
|
|
}
|
|
|
|
public static
|
|
void ColorMask(bool red, bool green, bool blue, bool alpha)
|
|
{
|
|
Delegates.glColorMask((bool)red, (bool)green, (bool)blue, (bool)alpha);
|
|
}
|
|
|
|
public static
|
|
void DepthMask(bool flag)
|
|
{
|
|
Delegates.glDepthMask((bool)flag);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void IndexMask(UInt32 mask)
|
|
{
|
|
Delegates.glIndexMask((UInt32)mask);
|
|
}
|
|
|
|
public static
|
|
void IndexMask(Int32 mask)
|
|
{
|
|
Delegates.glIndexMask((UInt32)mask);
|
|
}
|
|
|
|
public static
|
|
void Accum(OpenTK.Graphics.AccumOp op, Single value)
|
|
{
|
|
Delegates.glAccum((OpenTK.Graphics.AccumOp)op, (Single)value);
|
|
}
|
|
|
|
public static
|
|
void Disable(OpenTK.Graphics.EnableCap cap)
|
|
{
|
|
Delegates.glDisable((OpenTK.Graphics.EnableCap)cap);
|
|
}
|
|
|
|
public static
|
|
void Enable(OpenTK.Graphics.EnableCap cap)
|
|
{
|
|
Delegates.glEnable((OpenTK.Graphics.EnableCap)cap);
|
|
}
|
|
|
|
public static
|
|
void Finish()
|
|
{
|
|
Delegates.glFinish();
|
|
}
|
|
|
|
public static
|
|
void Flush()
|
|
{
|
|
Delegates.glFlush();
|
|
}
|
|
|
|
public static
|
|
void PopAttrib()
|
|
{
|
|
Delegates.glPopAttrib();
|
|
}
|
|
|
|
public static
|
|
void PushAttrib(OpenTK.Graphics.AttribMask mask)
|
|
{
|
|
Delegates.glPushAttrib((OpenTK.Graphics.AttribMask)mask);
|
|
}
|
|
|
|
public static
|
|
void Map1(OpenTK.Graphics.MapTarget target, Double u1, Double u2, Int32 stride, Int32 order, Double[] points)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* points_ptr = points)
|
|
{
|
|
Delegates.glMap1d((OpenTK.Graphics.MapTarget)target, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Map1(OpenTK.Graphics.MapTarget target, Double u1, Double u2, Int32 stride, Int32 order, ref Double points)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* points_ptr = &points)
|
|
{
|
|
Delegates.glMap1d((OpenTK.Graphics.MapTarget)target, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Map1(OpenTK.Graphics.MapTarget target, Double u1, Double u2, Int32 stride, Int32 order, Double* points)
|
|
{
|
|
Delegates.glMap1d((OpenTK.Graphics.MapTarget)target, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points);
|
|
}
|
|
|
|
public static
|
|
void Map1(OpenTK.Graphics.MapTarget target, Single u1, Single u2, Int32 stride, Int32 order, Single[] points)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* points_ptr = points)
|
|
{
|
|
Delegates.glMap1f((OpenTK.Graphics.MapTarget)target, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Map1(OpenTK.Graphics.MapTarget target, Single u1, Single u2, Int32 stride, Int32 order, ref Single points)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* points_ptr = &points)
|
|
{
|
|
Delegates.glMap1f((OpenTK.Graphics.MapTarget)target, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Map1(OpenTK.Graphics.MapTarget target, Single u1, Single u2, Int32 stride, Int32 order, Single* points)
|
|
{
|
|
Delegates.glMap1f((OpenTK.Graphics.MapTarget)target, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points);
|
|
}
|
|
|
|
public static
|
|
void Map2(OpenTK.Graphics.MapTarget target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double[] points)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* points_ptr = points)
|
|
{
|
|
Delegates.glMap2d((OpenTK.Graphics.MapTarget)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Map2(OpenTK.Graphics.MapTarget target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, ref Double points)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* points_ptr = &points)
|
|
{
|
|
Delegates.glMap2d((OpenTK.Graphics.MapTarget)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Map2(OpenTK.Graphics.MapTarget target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double* points)
|
|
{
|
|
Delegates.glMap2d((OpenTK.Graphics.MapTarget)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points);
|
|
}
|
|
|
|
public static
|
|
void Map2(OpenTK.Graphics.MapTarget target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single[] points)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* points_ptr = points)
|
|
{
|
|
Delegates.glMap2f((OpenTK.Graphics.MapTarget)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Map2(OpenTK.Graphics.MapTarget target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, ref Single points)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* points_ptr = &points)
|
|
{
|
|
Delegates.glMap2f((OpenTK.Graphics.MapTarget)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Map2(OpenTK.Graphics.MapTarget target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single* points)
|
|
{
|
|
Delegates.glMap2f((OpenTK.Graphics.MapTarget)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points);
|
|
}
|
|
|
|
public static
|
|
void MapGrid1(Int32 un, Double u1, Double u2)
|
|
{
|
|
Delegates.glMapGrid1d((Int32)un, (Double)u1, (Double)u2);
|
|
}
|
|
|
|
public static
|
|
void MapGrid1(Int32 un, Single u1, Single u2)
|
|
{
|
|
Delegates.glMapGrid1f((Int32)un, (Single)u1, (Single)u2);
|
|
}
|
|
|
|
public static
|
|
void MapGrid2(Int32 un, Double u1, Double u2, Int32 vn, Double v1, Double v2)
|
|
{
|
|
Delegates.glMapGrid2d((Int32)un, (Double)u1, (Double)u2, (Int32)vn, (Double)v1, (Double)v2);
|
|
}
|
|
|
|
public static
|
|
void MapGrid2(Int32 un, Single u1, Single u2, Int32 vn, Single v1, Single v2)
|
|
{
|
|
Delegates.glMapGrid2f((Int32)un, (Single)u1, (Single)u2, (Int32)vn, (Single)v1, (Single)v2);
|
|
}
|
|
|
|
public static
|
|
void EvalCoord1(Double u)
|
|
{
|
|
Delegates.glEvalCoord1d((Double)u);
|
|
}
|
|
|
|
public static
|
|
void EvalCoord1v(Double[] u)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* u_ptr = u)
|
|
{
|
|
Delegates.glEvalCoord1dv((Double*)u_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void EvalCoord1v(ref Double u)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* u_ptr = &u)
|
|
{
|
|
Delegates.glEvalCoord1dv((Double*)u_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void EvalCoord1v(Double* u)
|
|
{
|
|
Delegates.glEvalCoord1dv((Double*)u);
|
|
}
|
|
|
|
public static
|
|
void EvalCoord1(Single u)
|
|
{
|
|
Delegates.glEvalCoord1f((Single)u);
|
|
}
|
|
|
|
public static
|
|
void EvalCoord1v(Single[] u)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* u_ptr = u)
|
|
{
|
|
Delegates.glEvalCoord1fv((Single*)u_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void EvalCoord1v(ref Single u)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* u_ptr = &u)
|
|
{
|
|
Delegates.glEvalCoord1fv((Single*)u_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void EvalCoord1v(Single* u)
|
|
{
|
|
Delegates.glEvalCoord1fv((Single*)u);
|
|
}
|
|
|
|
public static
|
|
void EvalCoord2(Double u, Double v)
|
|
{
|
|
Delegates.glEvalCoord2d((Double)u, (Double)v);
|
|
}
|
|
|
|
public static
|
|
void EvalCoord2(Double[] u)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* u_ptr = u)
|
|
{
|
|
Delegates.glEvalCoord2dv((Double*)u_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void EvalCoord2(ref Double u)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* u_ptr = &u)
|
|
{
|
|
Delegates.glEvalCoord2dv((Double*)u_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void EvalCoord2(Double* u)
|
|
{
|
|
Delegates.glEvalCoord2dv((Double*)u);
|
|
}
|
|
|
|
public static
|
|
void EvalCoord2(Single u, Single v)
|
|
{
|
|
Delegates.glEvalCoord2f((Single)u, (Single)v);
|
|
}
|
|
|
|
public static
|
|
void EvalCoord2(Single[] u)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* u_ptr = u)
|
|
{
|
|
Delegates.glEvalCoord2fv((Single*)u_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void EvalCoord2(ref Single u)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* u_ptr = &u)
|
|
{
|
|
Delegates.glEvalCoord2fv((Single*)u_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void EvalCoord2(Single* u)
|
|
{
|
|
Delegates.glEvalCoord2fv((Single*)u);
|
|
}
|
|
|
|
public static
|
|
void EvalMesh1(OpenTK.Graphics.MeshMode1 mode, Int32 i1, Int32 i2)
|
|
{
|
|
Delegates.glEvalMesh1((OpenTK.Graphics.MeshMode1)mode, (Int32)i1, (Int32)i2);
|
|
}
|
|
|
|
public static
|
|
void EvalPoint1(Int32 i)
|
|
{
|
|
Delegates.glEvalPoint1((Int32)i);
|
|
}
|
|
|
|
public static
|
|
void EvalMesh2(OpenTK.Graphics.MeshMode2 mode, Int32 i1, Int32 i2, Int32 j1, Int32 j2)
|
|
{
|
|
Delegates.glEvalMesh2((OpenTK.Graphics.MeshMode2)mode, (Int32)i1, (Int32)i2, (Int32)j1, (Int32)j2);
|
|
}
|
|
|
|
public static
|
|
void EvalPoint2(Int32 i, Int32 j)
|
|
{
|
|
Delegates.glEvalPoint2((Int32)i, (Int32)j);
|
|
}
|
|
|
|
public static
|
|
void AlphaFunc(OpenTK.Graphics.AlphaFunction func, Single @ref)
|
|
{
|
|
Delegates.glAlphaFunc((OpenTK.Graphics.AlphaFunction)func, (Single)@ref);
|
|
}
|
|
|
|
public static
|
|
void BlendFunc(OpenTK.Graphics.BlendingFactorSrc sfactor, OpenTK.Graphics.BlendingFactorDest dfactor)
|
|
{
|
|
Delegates.glBlendFunc((OpenTK.Graphics.BlendingFactorSrc)sfactor, (OpenTK.Graphics.BlendingFactorDest)dfactor);
|
|
}
|
|
|
|
public static
|
|
void LogicOp(OpenTK.Graphics.LogicOp opcode)
|
|
{
|
|
Delegates.glLogicOp((OpenTK.Graphics.LogicOp)opcode);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void StencilFunc(OpenTK.Graphics.StencilFunction func, Int32 @ref, UInt32 mask)
|
|
{
|
|
Delegates.glStencilFunc((OpenTK.Graphics.StencilFunction)func, (Int32)@ref, (UInt32)mask);
|
|
}
|
|
|
|
public static
|
|
void StencilFunc(OpenTK.Graphics.StencilFunction func, Int32 @ref, Int32 mask)
|
|
{
|
|
Delegates.glStencilFunc((OpenTK.Graphics.StencilFunction)func, (Int32)@ref, (UInt32)mask);
|
|
}
|
|
|
|
public static
|
|
void StencilOp(OpenTK.Graphics.StencilOp fail, OpenTK.Graphics.StencilOp zfail, OpenTK.Graphics.StencilOp zpass)
|
|
{
|
|
Delegates.glStencilOp((OpenTK.Graphics.StencilOp)fail, (OpenTK.Graphics.StencilOp)zfail, (OpenTK.Graphics.StencilOp)zpass);
|
|
}
|
|
|
|
public static
|
|
void DepthFunc(OpenTK.Graphics.DepthFunction func)
|
|
{
|
|
Delegates.glDepthFunc((OpenTK.Graphics.DepthFunction)func);
|
|
}
|
|
|
|
public static
|
|
void PixelZoom(Single xfactor, Single yfactor)
|
|
{
|
|
Delegates.glPixelZoom((Single)xfactor, (Single)yfactor);
|
|
}
|
|
|
|
public static
|
|
void PixelTransfer(OpenTK.Graphics.PixelTransferParameter pname, Single param)
|
|
{
|
|
Delegates.glPixelTransferf((OpenTK.Graphics.PixelTransferParameter)pname, (Single)param);
|
|
}
|
|
|
|
public static
|
|
void PixelTransfer(OpenTK.Graphics.PixelTransferParameter pname, Int32 param)
|
|
{
|
|
Delegates.glPixelTransferi((OpenTK.Graphics.PixelTransferParameter)pname, (Int32)param);
|
|
}
|
|
|
|
public static
|
|
void PixelStore(OpenTK.Graphics.PixelStoreParameter pname, Single param)
|
|
{
|
|
Delegates.glPixelStoref((OpenTK.Graphics.PixelStoreParameter)pname, (Single)param);
|
|
}
|
|
|
|
public static
|
|
void PixelStore(OpenTK.Graphics.PixelStoreParameter pname, Int32 param)
|
|
{
|
|
Delegates.glPixelStorei((OpenTK.Graphics.PixelStoreParameter)pname, (Int32)param);
|
|
}
|
|
|
|
public static
|
|
void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, Single[] values)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* values_ptr = values)
|
|
{
|
|
Delegates.glPixelMapfv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (Single*)values_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, ref Single values)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* values_ptr = &values)
|
|
{
|
|
Delegates.glPixelMapfv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (Single*)values_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, Single* values)
|
|
{
|
|
Delegates.glPixelMapfv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (Single*)values);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, UInt32[] values)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* values_ptr = values)
|
|
{
|
|
Delegates.glPixelMapuiv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt32*)values_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, Int32[] values)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* values_ptr = values)
|
|
{
|
|
Delegates.glPixelMapuiv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt32*)values_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, ref UInt32 values)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* values_ptr = &values)
|
|
{
|
|
Delegates.glPixelMapuiv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt32*)values_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, ref Int32 values)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* values_ptr = &values)
|
|
{
|
|
Delegates.glPixelMapuiv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt32*)values_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, UInt32* values)
|
|
{
|
|
Delegates.glPixelMapuiv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt32*)values);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, Int32* values)
|
|
{
|
|
Delegates.glPixelMapuiv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt32*)values);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, UInt16[] values)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* values_ptr = values)
|
|
{
|
|
Delegates.glPixelMapusv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt16*)values_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, Int16[] values)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* values_ptr = values)
|
|
{
|
|
Delegates.glPixelMapusv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt16*)values_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, ref UInt16 values)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* values_ptr = &values)
|
|
{
|
|
Delegates.glPixelMapusv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt16*)values_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, ref Int16 values)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* values_ptr = &values)
|
|
{
|
|
Delegates.glPixelMapusv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt16*)values_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, UInt16* values)
|
|
{
|
|
Delegates.glPixelMapusv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt16*)values);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, Int16* values)
|
|
{
|
|
Delegates.glPixelMapusv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt16*)values);
|
|
}
|
|
|
|
public static
|
|
void ReadBuffer(OpenTK.Graphics.ReadBufferMode mode)
|
|
{
|
|
Delegates.glReadBuffer((OpenTK.Graphics.ReadBufferMode)mode);
|
|
}
|
|
|
|
public static
|
|
void CopyPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.PixelCopyType type)
|
|
{
|
|
Delegates.glCopyPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelCopyType)type);
|
|
}
|
|
|
|
public static
|
|
void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr pixels)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels)
|
|
{
|
|
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, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pixels_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glDrawPixels((Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels)
|
|
{
|
|
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, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pixels_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetClipPlane(OpenTK.Graphics.ClipPlaneName plane, [Out] Double[] equation)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* equation_ptr = equation)
|
|
{
|
|
Delegates.glGetClipPlane((OpenTK.Graphics.ClipPlaneName)plane, (Double*)equation_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetClipPlane(OpenTK.Graphics.ClipPlaneName plane, [Out] out Double equation)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* equation_ptr = &equation)
|
|
{
|
|
Delegates.glGetClipPlane((OpenTK.Graphics.ClipPlaneName)plane, (Double*)equation_ptr);
|
|
equation = *equation_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetClipPlane(OpenTK.Graphics.ClipPlaneName plane, [Out] Double* equation)
|
|
{
|
|
Delegates.glGetClipPlane((OpenTK.Graphics.ClipPlaneName)plane, (Double*)equation);
|
|
}
|
|
|
|
public static
|
|
void GetDouble(OpenTK.Graphics.GetPName pname, [Out] Double[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetDoublev((OpenTK.Graphics.GetPName)pname, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetDouble(OpenTK.Graphics.GetPName pname, [Out] out Double @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetDoublev((OpenTK.Graphics.GetPName)pname, (Double*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetDouble(OpenTK.Graphics.GetPName pname, [Out] Double* @params)
|
|
{
|
|
Delegates.glGetDoublev((OpenTK.Graphics.GetPName)pname, (Double*)@params);
|
|
}
|
|
|
|
public static
|
|
OpenTK.Graphics.ErrorCode GetError()
|
|
{
|
|
return Delegates.glGetError();
|
|
}
|
|
|
|
public static
|
|
void GetFloat(OpenTK.Graphics.GetPName pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetFloatv((OpenTK.Graphics.GetPName)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetFloat(OpenTK.Graphics.GetPName pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetFloatv((OpenTK.Graphics.GetPName)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetFloat(OpenTK.Graphics.GetPName pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetFloatv((OpenTK.Graphics.GetPName)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetInteger(OpenTK.Graphics.GetPName pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetIntegerv((OpenTK.Graphics.GetPName)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetInteger(OpenTK.Graphics.GetPName pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetIntegerv((OpenTK.Graphics.GetPName)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetInteger(OpenTK.Graphics.GetPName pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetIntegerv((OpenTK.Graphics.GetPName)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetLight(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetLightfv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetLight(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetLightfv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetLight(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetLightfv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetLight(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetLightiv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetLight(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetLightiv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetLight(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetLightiv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glGetMapdv((OpenTK.Graphics.MapTarget)target, (OpenTK.Graphics.GetMapQuery)query, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] out Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glGetMapdv((OpenTK.Graphics.MapTarget)target, (OpenTK.Graphics.GetMapQuery)query, (Double*)v_ptr);
|
|
v = *v_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] Double* v)
|
|
{
|
|
Delegates.glGetMapdv((OpenTK.Graphics.MapTarget)target, (OpenTK.Graphics.GetMapQuery)query, (Double*)v);
|
|
}
|
|
|
|
public static
|
|
void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glGetMapfv((OpenTK.Graphics.MapTarget)target, (OpenTK.Graphics.GetMapQuery)query, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] out Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glGetMapfv((OpenTK.Graphics.MapTarget)target, (OpenTK.Graphics.GetMapQuery)query, (Single*)v_ptr);
|
|
v = *v_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] Single* v)
|
|
{
|
|
Delegates.glGetMapfv((OpenTK.Graphics.MapTarget)target, (OpenTK.Graphics.GetMapQuery)query, (Single*)v);
|
|
}
|
|
|
|
public static
|
|
void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] Int32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = v)
|
|
{
|
|
Delegates.glGetMapiv((OpenTK.Graphics.MapTarget)target, (OpenTK.Graphics.GetMapQuery)query, (Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] out Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glGetMapiv((OpenTK.Graphics.MapTarget)target, (OpenTK.Graphics.GetMapQuery)query, (Int32*)v_ptr);
|
|
v = *v_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] Int32* v)
|
|
{
|
|
Delegates.glGetMapiv((OpenTK.Graphics.MapTarget)target, (OpenTK.Graphics.GetMapQuery)query, (Int32*)v);
|
|
}
|
|
|
|
public static
|
|
void GetMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetMaterialfv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetMaterialfv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetMaterialfv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetMaterialiv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetMaterialiv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetMaterialiv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] Single[] values)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* values_ptr = values)
|
|
{
|
|
Delegates.glGetPixelMapfv((OpenTK.Graphics.PixelMap)map, (Single*)values_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] out Single values)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* values_ptr = &values)
|
|
{
|
|
Delegates.glGetPixelMapfv((OpenTK.Graphics.PixelMap)map, (Single*)values_ptr);
|
|
values = *values_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] Single* values)
|
|
{
|
|
Delegates.glGetPixelMapfv((OpenTK.Graphics.PixelMap)map, (Single*)values);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] UInt32[] values)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* values_ptr = values)
|
|
{
|
|
Delegates.glGetPixelMapuiv((OpenTK.Graphics.PixelMap)map, (UInt32*)values_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] Int32[] values)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* values_ptr = values)
|
|
{
|
|
Delegates.glGetPixelMapuiv((OpenTK.Graphics.PixelMap)map, (UInt32*)values_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] out UInt32 values)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* values_ptr = &values)
|
|
{
|
|
Delegates.glGetPixelMapuiv((OpenTK.Graphics.PixelMap)map, (UInt32*)values_ptr);
|
|
values = *values_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] out Int32 values)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* values_ptr = &values)
|
|
{
|
|
Delegates.glGetPixelMapuiv((OpenTK.Graphics.PixelMap)map, (UInt32*)values_ptr);
|
|
values = *values_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] UInt32* values)
|
|
{
|
|
Delegates.glGetPixelMapuiv((OpenTK.Graphics.PixelMap)map, (UInt32*)values);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] Int32* values)
|
|
{
|
|
Delegates.glGetPixelMapuiv((OpenTK.Graphics.PixelMap)map, (UInt32*)values);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] UInt16[] values)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* values_ptr = values)
|
|
{
|
|
Delegates.glGetPixelMapusv((OpenTK.Graphics.PixelMap)map, (UInt16*)values_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] Int16[] values)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* values_ptr = values)
|
|
{
|
|
Delegates.glGetPixelMapusv((OpenTK.Graphics.PixelMap)map, (UInt16*)values_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] out UInt16 values)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* values_ptr = &values)
|
|
{
|
|
Delegates.glGetPixelMapusv((OpenTK.Graphics.PixelMap)map, (UInt16*)values_ptr);
|
|
values = *values_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] out Int16 values)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* values_ptr = &values)
|
|
{
|
|
Delegates.glGetPixelMapusv((OpenTK.Graphics.PixelMap)map, (UInt16*)values_ptr);
|
|
values = *values_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] UInt16* values)
|
|
{
|
|
Delegates.glGetPixelMapusv((OpenTK.Graphics.PixelMap)map, (UInt16*)values);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] Int16* values)
|
|
{
|
|
Delegates.glGetPixelMapusv((OpenTK.Graphics.PixelMap)map, (UInt16*)values);
|
|
}
|
|
|
|
public static
|
|
void GetPolygonStipple([Out] Byte[] mask)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* mask_ptr = mask)
|
|
{
|
|
Delegates.glGetPolygonStipple((Byte*)mask_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetPolygonStipple([Out] out Byte mask)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* mask_ptr = &mask)
|
|
{
|
|
Delegates.glGetPolygonStipple((Byte*)mask_ptr);
|
|
mask = *mask_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetPolygonStipple([Out] Byte* mask)
|
|
{
|
|
Delegates.glGetPolygonStipple((Byte*)mask);
|
|
}
|
|
|
|
public static
|
|
string GetString(OpenTK.Graphics.StringName name)
|
|
{
|
|
unsafe
|
|
{
|
|
return System.Runtime.InteropServices.Marshal.PtrToStringAnsi(Delegates.glGetString((OpenTK.Graphics.StringName)name));
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetTexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetTexEnvfv((OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetTexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetTexEnvfv((OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetTexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetTexEnvfv((OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetTexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetTexEnviv((OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetTexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetTexEnviv((OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetTexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetTexEnviv((OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Double[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetTexGendv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] out Double @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetTexGendv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Double* @params)
|
|
{
|
|
Delegates.glGetTexGendv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetTexGenfv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetTexGenfv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetTexGenfv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetTexGeniv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetTexGeniv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetTexGeniv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr pixels)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glGetTexImage((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetTexImage((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pixels_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetTexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetTexParameterfv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetTexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetTexParameterfv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetTexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetTexParameterfv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetTexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetTexParameteriv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetTexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetTexParameteriv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetTexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetTexParameteriv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetTexLevelParameter(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetTexLevelParameterfv((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetTexLevelParameter(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetTexLevelParameterfv((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetTexLevelParameter(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetTexLevelParameterfv((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetTexLevelParameter(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetTexLevelParameteriv((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetTexLevelParameter(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetTexLevelParameteriv((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetTexLevelParameter(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetTexLevelParameteriv((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
bool IsEnabled(OpenTK.Graphics.EnableCap cap)
|
|
{
|
|
return Delegates.glIsEnabled((OpenTK.Graphics.EnableCap)cap);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
bool IsList(UInt32 list)
|
|
{
|
|
return Delegates.glIsList((UInt32)list);
|
|
}
|
|
|
|
public static
|
|
bool IsList(Int32 list)
|
|
{
|
|
return Delegates.glIsList((UInt32)list);
|
|
}
|
|
|
|
public static
|
|
void DepthRange(Double near, Double far)
|
|
{
|
|
Delegates.glDepthRange((Double)near, (Double)far);
|
|
}
|
|
|
|
public static
|
|
void Frustum(Double left, Double right, Double bottom, Double top, Double zNear, Double zFar)
|
|
{
|
|
Delegates.glFrustum((Double)left, (Double)right, (Double)bottom, (Double)top, (Double)zNear, (Double)zFar);
|
|
}
|
|
|
|
public static
|
|
void LoadIdentity()
|
|
{
|
|
Delegates.glLoadIdentity();
|
|
}
|
|
|
|
public static
|
|
void LoadMatrix(Single[] m)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* m_ptr = m)
|
|
{
|
|
Delegates.glLoadMatrixf((Single*)m_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void LoadMatrix(ref Single m)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* m_ptr = &m)
|
|
{
|
|
Delegates.glLoadMatrixf((Single*)m_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void LoadMatrix(Single* m)
|
|
{
|
|
Delegates.glLoadMatrixf((Single*)m);
|
|
}
|
|
|
|
public static
|
|
void LoadMatrix(Double[] m)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* m_ptr = m)
|
|
{
|
|
Delegates.glLoadMatrixd((Double*)m_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void LoadMatrix(ref Double m)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* m_ptr = &m)
|
|
{
|
|
Delegates.glLoadMatrixd((Double*)m_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void LoadMatrix(Double* m)
|
|
{
|
|
Delegates.glLoadMatrixd((Double*)m);
|
|
}
|
|
|
|
public static
|
|
void MatrixMode(OpenTK.Graphics.MatrixMode mode)
|
|
{
|
|
Delegates.glMatrixMode((OpenTK.Graphics.MatrixMode)mode);
|
|
}
|
|
|
|
public static
|
|
void MultMatrix(Single[] m)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* m_ptr = m)
|
|
{
|
|
Delegates.glMultMatrixf((Single*)m_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultMatrix(ref Single m)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* m_ptr = &m)
|
|
{
|
|
Delegates.glMultMatrixf((Single*)m_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultMatrix(Single* m)
|
|
{
|
|
Delegates.glMultMatrixf((Single*)m);
|
|
}
|
|
|
|
public static
|
|
void MultMatrix(Double[] m)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* m_ptr = m)
|
|
{
|
|
Delegates.glMultMatrixd((Double*)m_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultMatrix(ref Double m)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* m_ptr = &m)
|
|
{
|
|
Delegates.glMultMatrixd((Double*)m_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultMatrix(Double* m)
|
|
{
|
|
Delegates.glMultMatrixd((Double*)m);
|
|
}
|
|
|
|
public static
|
|
void Ortho(Double left, Double right, Double bottom, Double top, Double zNear, Double zFar)
|
|
{
|
|
Delegates.glOrtho((Double)left, (Double)right, (Double)bottom, (Double)top, (Double)zNear, (Double)zFar);
|
|
}
|
|
|
|
public static
|
|
void PopMatrix()
|
|
{
|
|
Delegates.glPopMatrix();
|
|
}
|
|
|
|
public static
|
|
void PushMatrix()
|
|
{
|
|
Delegates.glPushMatrix();
|
|
}
|
|
|
|
public static
|
|
void Rotate(Double angle, Double x, Double y, Double z)
|
|
{
|
|
Delegates.glRotated((Double)angle, (Double)x, (Double)y, (Double)z);
|
|
}
|
|
|
|
public static
|
|
void Rotate(Single angle, Single x, Single y, Single z)
|
|
{
|
|
Delegates.glRotatef((Single)angle, (Single)x, (Single)y, (Single)z);
|
|
}
|
|
|
|
public static
|
|
void Scale(Double x, Double y, Double z)
|
|
{
|
|
Delegates.glScaled((Double)x, (Double)y, (Double)z);
|
|
}
|
|
|
|
public static
|
|
void Scale(Single x, Single y, Single z)
|
|
{
|
|
Delegates.glScalef((Single)x, (Single)y, (Single)z);
|
|
}
|
|
|
|
public static
|
|
void Translate(Double x, Double y, Double z)
|
|
{
|
|
Delegates.glTranslated((Double)x, (Double)y, (Double)z);
|
|
}
|
|
|
|
public static
|
|
void Translate(Single x, Single y, Single z)
|
|
{
|
|
Delegates.glTranslatef((Single)x, (Single)y, (Single)z);
|
|
}
|
|
|
|
public static
|
|
void Viewport(Int32 x, Int32 y, Int32 width, Int32 height)
|
|
{
|
|
Delegates.glViewport((Int32)x, (Int32)y, (Int32)width, (Int32)height);
|
|
}
|
|
|
|
public static
|
|
void ArrayElement(Int32 i)
|
|
{
|
|
Delegates.glArrayElement((Int32)i);
|
|
}
|
|
|
|
public static
|
|
void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, IntPtr pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] object pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DisableClientState(OpenTK.Graphics.EnableCap array)
|
|
{
|
|
Delegates.glDisableClientState((OpenTK.Graphics.EnableCap)array);
|
|
}
|
|
|
|
public static
|
|
void DrawArrays(OpenTK.Graphics.BeginMode mode, Int32 first, Int32 count)
|
|
{
|
|
Delegates.glDrawArrays((OpenTK.Graphics.BeginMode)mode, (Int32)first, (Int32)count);
|
|
}
|
|
|
|
public static
|
|
void DrawElements(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DrawElements(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.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.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
indices_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void EdgeFlagPointer(Int32 stride, IntPtr pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glEdgeFlagPointer((Int32)stride, (IntPtr)pointer);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void EdgeFlagPointer(Int32 stride, [In, Out] object pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glEdgeFlagPointer((Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void EnableClientState(OpenTK.Graphics.EnableCap array)
|
|
{
|
|
Delegates.glEnableClientState((OpenTK.Graphics.EnableCap)array);
|
|
}
|
|
|
|
public static
|
|
void GetPointer(OpenTK.Graphics.GetPointervPName pname, [Out] IntPtr @params)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glGetPointerv((OpenTK.Graphics.GetPointervPName)pname, (IntPtr)@params);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetPointer(OpenTK.Graphics.GetPointervPName pname, [In, Out] object @params)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle @params_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@params, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetPointerv((OpenTK.Graphics.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
@params_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, IntPtr pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glIndexPointer((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (IntPtr)pointer);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, [In, Out] object pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glIndexPointer((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void InterleavedArrays(OpenTK.Graphics.InterleavedArrayFormat format, Int32 stride, IntPtr pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glInterleavedArrays((OpenTK.Graphics.InterleavedArrayFormat)format, (Int32)stride, (IntPtr)pointer);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void InterleavedArrays(OpenTK.Graphics.InterleavedArrayFormat format, Int32 stride, [In, Out] object pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glInterleavedArrays((OpenTK.Graphics.InterleavedArrayFormat)format, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, IntPtr pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glNormalPointer((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] object pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glNormalPointer((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, IntPtr pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] object pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, IntPtr pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (IntPtr)pointer);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, [In, Out] object pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void PolygonOffset(Single factor, Single units)
|
|
{
|
|
Delegates.glPolygonOffset((Single)factor, (Single)units);
|
|
}
|
|
|
|
public static
|
|
void CopyTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 border)
|
|
{
|
|
Delegates.glCopyTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border);
|
|
}
|
|
|
|
public static
|
|
void CopyTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border)
|
|
{
|
|
Delegates.glCopyTexImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border);
|
|
}
|
|
|
|
public static
|
|
void CopyTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width)
|
|
{
|
|
Delegates.glCopyTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width);
|
|
}
|
|
|
|
public static
|
|
void CopyTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height)
|
|
{
|
|
Delegates.glCopyTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height);
|
|
}
|
|
|
|
public static
|
|
void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pixels_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pixels_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
bool AreTexturesResident(Int32 n, UInt32[] textures, [Out] bool[] residences)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* textures_ptr = textures)
|
|
fixed (bool* residences_ptr = residences)
|
|
{
|
|
return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures_ptr, (bool*)residences_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
bool AreTexturesResident(Int32 n, Int32[] textures, [Out] bool[] residences)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* textures_ptr = textures)
|
|
fixed (bool* residences_ptr = residences)
|
|
{
|
|
return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures_ptr, (bool*)residences_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
bool AreTexturesResident(Int32 n, ref UInt32 textures, [Out] out bool residences)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* textures_ptr = &textures)
|
|
fixed (bool* residences_ptr = &residences)
|
|
{
|
|
bool retval = Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures_ptr, (bool*)residences_ptr);
|
|
residences = *residences_ptr;
|
|
return retval;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
bool AreTexturesResident(Int32 n, ref Int32 textures, [Out] out bool residences)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* textures_ptr = &textures)
|
|
fixed (bool* residences_ptr = &residences)
|
|
{
|
|
bool retval = Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures_ptr, (bool*)residences_ptr);
|
|
residences = *residences_ptr;
|
|
return retval;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe bool AreTexturesResident(Int32 n, UInt32* textures, [Out] bool* residences)
|
|
{
|
|
return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures, (bool*)residences);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe bool AreTexturesResident(Int32 n, Int32* textures, [Out] bool* residences)
|
|
{
|
|
return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures, (bool*)residences);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void BindTexture(OpenTK.Graphics.TextureTarget target, UInt32 texture)
|
|
{
|
|
Delegates.glBindTexture((OpenTK.Graphics.TextureTarget)target, (UInt32)texture);
|
|
}
|
|
|
|
public static
|
|
void BindTexture(OpenTK.Graphics.TextureTarget target, Int32 texture)
|
|
{
|
|
Delegates.glBindTexture((OpenTK.Graphics.TextureTarget)target, (UInt32)texture);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DeleteTextures(Int32 n, UInt32[] textures)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* textures_ptr = textures)
|
|
{
|
|
Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DeleteTextures(Int32 n, Int32[] textures)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* textures_ptr = textures)
|
|
{
|
|
Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DeleteTextures(Int32 n, ref UInt32 textures)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* textures_ptr = &textures)
|
|
{
|
|
Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DeleteTextures(Int32 n, ref Int32 textures)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* textures_ptr = &textures)
|
|
{
|
|
Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void DeleteTextures(Int32 n, UInt32* textures)
|
|
{
|
|
Delegates.glDeleteTextures((Int32)n, (UInt32*)textures);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void DeleteTextures(Int32 n, Int32* textures)
|
|
{
|
|
Delegates.glDeleteTextures((Int32)n, (UInt32*)textures);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GenTextures(Int32 n, [Out] UInt32[] textures)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* textures_ptr = textures)
|
|
{
|
|
Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GenTextures(Int32 n, [Out] Int32[] textures)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* textures_ptr = textures)
|
|
{
|
|
Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GenTextures(Int32 n, [Out] out UInt32 textures)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* textures_ptr = &textures)
|
|
{
|
|
Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr);
|
|
textures = *textures_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GenTextures(Int32 n, [Out] out Int32 textures)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* textures_ptr = &textures)
|
|
{
|
|
Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr);
|
|
textures = *textures_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GenTextures(Int32 n, [Out] UInt32* textures)
|
|
{
|
|
Delegates.glGenTextures((Int32)n, (UInt32*)textures);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GenTextures(Int32 n, [Out] Int32* textures)
|
|
{
|
|
Delegates.glGenTextures((Int32)n, (UInt32*)textures);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
bool IsTexture(UInt32 texture)
|
|
{
|
|
return Delegates.glIsTexture((UInt32)texture);
|
|
}
|
|
|
|
public static
|
|
bool IsTexture(Int32 texture)
|
|
{
|
|
return Delegates.glIsTexture((UInt32)texture);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void PrioritizeTextures(Int32 n, UInt32[] textures, Single[] priorities)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* textures_ptr = textures)
|
|
fixed (Single* priorities_ptr = priorities)
|
|
{
|
|
Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void PrioritizeTextures(Int32 n, Int32[] textures, Single[] priorities)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* textures_ptr = textures)
|
|
fixed (Single* priorities_ptr = priorities)
|
|
{
|
|
Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void PrioritizeTextures(Int32 n, ref UInt32 textures, ref Single priorities)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* textures_ptr = &textures)
|
|
fixed (Single* priorities_ptr = &priorities)
|
|
{
|
|
Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void PrioritizeTextures(Int32 n, ref Int32 textures, ref Single priorities)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* textures_ptr = &textures)
|
|
fixed (Single* priorities_ptr = &priorities)
|
|
{
|
|
Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void PrioritizeTextures(Int32 n, UInt32* textures, Single* priorities)
|
|
{
|
|
Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures, (Single*)priorities);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void PrioritizeTextures(Int32 n, Int32* textures, Single* priorities)
|
|
{
|
|
Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures, (Single*)priorities);
|
|
}
|
|
|
|
public static
|
|
void Index(Byte c)
|
|
{
|
|
Delegates.glIndexub((Byte)c);
|
|
}
|
|
|
|
public static
|
|
void Indexv(Byte[] c)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* c_ptr = c)
|
|
{
|
|
Delegates.glIndexubv((Byte*)c_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Indexv(ref Byte c)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* c_ptr = &c)
|
|
{
|
|
Delegates.glIndexubv((Byte*)c_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Indexv(Byte* c)
|
|
{
|
|
Delegates.glIndexubv((Byte*)c);
|
|
}
|
|
|
|
public static
|
|
void PopClientAttrib()
|
|
{
|
|
Delegates.glPopClientAttrib();
|
|
}
|
|
|
|
public static
|
|
void PushClientAttrib(OpenTK.Graphics.ClientAttribMask mask)
|
|
{
|
|
Delegates.glPushClientAttrib((OpenTK.Graphics.ClientAttribMask)mask);
|
|
}
|
|
|
|
public static
|
|
void BlendColor(Single red, Single green, Single blue, Single alpha)
|
|
{
|
|
Delegates.glBlendColor((Single)red, (Single)green, (Single)blue, (Single)alpha);
|
|
}
|
|
|
|
public static
|
|
void BlendEquation(OpenTK.Graphics.BlendEquationMode mode)
|
|
{
|
|
Delegates.glBlendEquation((OpenTK.Graphics.BlendEquationMode)mode);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices);
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.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.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
indices_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.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.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
indices_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ColorTable(OpenTK.Graphics.All target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr table)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glColorTable((OpenTK.Graphics.All)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ColorTable(OpenTK.Graphics.All target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object table)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle table_ptr = System.Runtime.InteropServices.GCHandle.Alloc(table, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glColorTable((OpenTK.Graphics.All)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
table_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ColorTableParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glColorTableParameterfv((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ColorTableParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glColorTableParameterfv((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ColorTableParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, Single* @params)
|
|
{
|
|
Delegates.glColorTableParameterfv((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void ColorTableParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glColorTableParameteriv((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ColorTableParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glColorTableParameteriv((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ColorTableParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, Int32* @params)
|
|
{
|
|
Delegates.glColorTableParameteriv((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void CopyColorTable(OpenTK.Graphics.All target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width)
|
|
{
|
|
Delegates.glCopyColorTable((OpenTK.Graphics.All)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width);
|
|
}
|
|
|
|
public static
|
|
void GetColorTable(OpenTK.Graphics.All target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr table)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glGetColorTable((OpenTK.Graphics.All)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetColorTable(OpenTK.Graphics.All target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object table)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle table_ptr = System.Runtime.InteropServices.GCHandle.Alloc(table, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetColorTable((OpenTK.Graphics.All)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
table_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetColorTableParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetColorTableParameterfv((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetColorTableParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetColorTableParameterfv((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetColorTableParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetColorTableParameterfv((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetColorTableParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetColorTableParameteriv((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetColorTableParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetColorTableParameteriv((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetColorTableParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetColorTableParameteriv((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void ColorSubTable(OpenTK.Graphics.All target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr data)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glColorSubTable((OpenTK.Graphics.All)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ColorSubTable(OpenTK.Graphics.All target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object data)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glColorSubTable((OpenTK.Graphics.All)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
data_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CopyColorSubTable(OpenTK.Graphics.All target, Int32 start, Int32 x, Int32 y, Int32 width)
|
|
{
|
|
Delegates.glCopyColorSubTable((OpenTK.Graphics.All)target, (Int32)start, (Int32)x, (Int32)y, (Int32)width);
|
|
}
|
|
|
|
public static
|
|
void ConvolutionFilter1D(OpenTK.Graphics.All target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr image)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glConvolutionFilter1D((OpenTK.Graphics.All)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ConvolutionFilter1D(OpenTK.Graphics.All target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object image)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle image_ptr = System.Runtime.InteropServices.GCHandle.Alloc(image, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glConvolutionFilter1D((OpenTK.Graphics.All)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
image_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ConvolutionFilter2D(OpenTK.Graphics.All target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr image)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glConvolutionFilter2D((OpenTK.Graphics.All)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ConvolutionFilter2D(OpenTK.Graphics.All target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object image)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle image_ptr = System.Runtime.InteropServices.GCHandle.Alloc(image, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glConvolutionFilter2D((OpenTK.Graphics.All)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
image_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ConvolutionParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, Single @params)
|
|
{
|
|
Delegates.glConvolutionParameterf((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single)@params);
|
|
}
|
|
|
|
public static
|
|
void ConvolutionParameterv(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glConvolutionParameterfv((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ConvolutionParameterv(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glConvolutionParameterfv((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ConvolutionParameterv(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, Single* @params)
|
|
{
|
|
Delegates.glConvolutionParameterfv((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void ConvolutionParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, Int32 @params)
|
|
{
|
|
Delegates.glConvolutionParameteri((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32)@params);
|
|
}
|
|
|
|
public static
|
|
void ConvolutionParameterv(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glConvolutionParameteriv((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ConvolutionParameterv(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glConvolutionParameteriv((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ConvolutionParameterv(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, Int32* @params)
|
|
{
|
|
Delegates.glConvolutionParameteriv((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void CopyConvolutionFilter1D(OpenTK.Graphics.All target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width)
|
|
{
|
|
Delegates.glCopyConvolutionFilter1D((OpenTK.Graphics.All)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width);
|
|
}
|
|
|
|
public static
|
|
void CopyConvolutionFilter2D(OpenTK.Graphics.All target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height)
|
|
{
|
|
Delegates.glCopyConvolutionFilter2D((OpenTK.Graphics.All)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height);
|
|
}
|
|
|
|
public static
|
|
void GetConvolutionFilter(OpenTK.Graphics.All target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr image)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glGetConvolutionFilter((OpenTK.Graphics.All)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetConvolutionFilter(OpenTK.Graphics.All target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object image)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle image_ptr = System.Runtime.InteropServices.GCHandle.Alloc(image, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetConvolutionFilter((OpenTK.Graphics.All)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
image_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetConvolutionParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetConvolutionParameterfv((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetConvolutionParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetConvolutionParameterfv((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetConvolutionParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetConvolutionParameterfv((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetConvolutionParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetConvolutionParameteriv((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetConvolutionParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetConvolutionParameteriv((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetConvolutionParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetConvolutionParameteriv((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetSeparableFilter(OpenTK.Graphics.All target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [Out] IntPtr span)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glGetSeparableFilter((OpenTK.Graphics.All)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetSeparableFilter(OpenTK.Graphics.All target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object row, [In, Out] object column, [In, Out] object span)
|
|
{
|
|
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((OpenTK.Graphics.All)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
row_ptr.Free();
|
|
column_ptr.Free();
|
|
span_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void SeparableFilter2D(OpenTK.Graphics.All target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, IntPtr column)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glSeparableFilter2D((OpenTK.Graphics.All)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void SeparableFilter2D(OpenTK.Graphics.All target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object row, [In, Out] object column)
|
|
{
|
|
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((OpenTK.Graphics.All)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
row_ptr.Free();
|
|
column_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetHistogram(OpenTK.Graphics.All target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr values)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glGetHistogram((OpenTK.Graphics.All)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetHistogram(OpenTK.Graphics.All target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object values)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle values_ptr = System.Runtime.InteropServices.GCHandle.Alloc(values, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetHistogram((OpenTK.Graphics.All)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
values_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetHistogramParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetHistogramParameterfv((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetHistogramParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetHistogramParameterfv((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetHistogramParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetHistogramParameterfv((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetHistogramParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetHistogramParameteriv((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetHistogramParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetHistogramParameteriv((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetHistogramParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetHistogramParameteriv((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetMinmax(OpenTK.Graphics.All target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr values)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glGetMinmax((OpenTK.Graphics.All)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetMinmax(OpenTK.Graphics.All target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object values)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle values_ptr = System.Runtime.InteropServices.GCHandle.Alloc(values, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetMinmax((OpenTK.Graphics.All)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
values_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetMinmaxParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetMinmaxParameterfv((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetMinmaxParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetMinmaxParameterfv((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetMinmaxParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetMinmaxParameterfv((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetMinmaxParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetMinmaxParameteriv((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetMinmaxParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetMinmaxParameteriv((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetMinmaxParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetMinmaxParameteriv((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void Histogram(OpenTK.Graphics.All target, Int32 width, OpenTK.Graphics.PixelInternalFormat internalformat, bool sink)
|
|
{
|
|
Delegates.glHistogram((OpenTK.Graphics.All)target, (Int32)width, (OpenTK.Graphics.PixelInternalFormat)internalformat, (bool)sink);
|
|
}
|
|
|
|
public static
|
|
void Minmax(OpenTK.Graphics.All target, OpenTK.Graphics.PixelInternalFormat internalformat, bool sink)
|
|
{
|
|
Delegates.glMinmax((OpenTK.Graphics.All)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (bool)sink);
|
|
}
|
|
|
|
public static
|
|
void ResetHistogram(OpenTK.Graphics.All target)
|
|
{
|
|
Delegates.glResetHistogram((OpenTK.Graphics.All)target);
|
|
}
|
|
|
|
public static
|
|
void ResetMinmax(OpenTK.Graphics.All target)
|
|
{
|
|
Delegates.glResetMinmax((OpenTK.Graphics.All)target);
|
|
}
|
|
|
|
public static
|
|
void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glTexImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glTexImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pixels_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glTexSubImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glTexSubImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pixels_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CopyTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height)
|
|
{
|
|
Delegates.glCopyTexSubImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height);
|
|
}
|
|
|
|
public static
|
|
void ActiveTexture(OpenTK.Graphics.TextureUnit texture)
|
|
{
|
|
Delegates.glActiveTexture((OpenTK.Graphics.TextureUnit)texture);
|
|
}
|
|
|
|
public static
|
|
void ClientActiveTexture(OpenTK.Graphics.TextureUnit texture)
|
|
{
|
|
Delegates.glClientActiveTexture((OpenTK.Graphics.TextureUnit)texture);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Double s)
|
|
{
|
|
Delegates.glMultiTexCoord1d((OpenTK.Graphics.TextureUnit)target, (Double)s);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1v(OpenTK.Graphics.TextureUnit target, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord1dv((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1v(OpenTK.Graphics.TextureUnit target, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord1dv((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord1v(OpenTK.Graphics.TextureUnit target, Double* v)
|
|
{
|
|
Delegates.glMultiTexCoord1dv((OpenTK.Graphics.TextureUnit)target, (Double*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Single s)
|
|
{
|
|
Delegates.glMultiTexCoord1f((OpenTK.Graphics.TextureUnit)target, (Single)s);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1v(OpenTK.Graphics.TextureUnit target, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord1fv((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1v(OpenTK.Graphics.TextureUnit target, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord1fv((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord1v(OpenTK.Graphics.TextureUnit target, Single* v)
|
|
{
|
|
Delegates.glMultiTexCoord1fv((OpenTK.Graphics.TextureUnit)target, (Single*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Int32 s)
|
|
{
|
|
Delegates.glMultiTexCoord1i((OpenTK.Graphics.TextureUnit)target, (Int32)s);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1v(OpenTK.Graphics.TextureUnit target, Int32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord1iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1v(OpenTK.Graphics.TextureUnit target, ref Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord1iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord1v(OpenTK.Graphics.TextureUnit target, Int32* v)
|
|
{
|
|
Delegates.glMultiTexCoord1iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Int16 s)
|
|
{
|
|
Delegates.glMultiTexCoord1s((OpenTK.Graphics.TextureUnit)target, (Int16)s);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1v(OpenTK.Graphics.TextureUnit target, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord1sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1v(OpenTK.Graphics.TextureUnit target, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord1sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord1v(OpenTK.Graphics.TextureUnit target, Int16* v)
|
|
{
|
|
Delegates.glMultiTexCoord1sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Double s, Double t)
|
|
{
|
|
Delegates.glMultiTexCoord2d((OpenTK.Graphics.TextureUnit)target, (Double)s, (Double)t);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord2dv((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord2dv((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Double* v)
|
|
{
|
|
Delegates.glMultiTexCoord2dv((OpenTK.Graphics.TextureUnit)target, (Double*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Single s, Single t)
|
|
{
|
|
Delegates.glMultiTexCoord2f((OpenTK.Graphics.TextureUnit)target, (Single)s, (Single)t);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord2fv((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord2fv((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Single* v)
|
|
{
|
|
Delegates.glMultiTexCoord2fv((OpenTK.Graphics.TextureUnit)target, (Single*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t)
|
|
{
|
|
Delegates.glMultiTexCoord2i((OpenTK.Graphics.TextureUnit)target, (Int32)s, (Int32)t);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord2iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, ref Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord2iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int32* v)
|
|
{
|
|
Delegates.glMultiTexCoord2iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t)
|
|
{
|
|
Delegates.glMultiTexCoord2s((OpenTK.Graphics.TextureUnit)target, (Int16)s, (Int16)t);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord2sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord2sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int16* v)
|
|
{
|
|
Delegates.glMultiTexCoord2sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Double s, Double t, Double r)
|
|
{
|
|
Delegates.glMultiTexCoord3d((OpenTK.Graphics.TextureUnit)target, (Double)s, (Double)t, (Double)r);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord3dv((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord3dv((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Double* v)
|
|
{
|
|
Delegates.glMultiTexCoord3dv((OpenTK.Graphics.TextureUnit)target, (Double*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Single s, Single t, Single r)
|
|
{
|
|
Delegates.glMultiTexCoord3f((OpenTK.Graphics.TextureUnit)target, (Single)s, (Single)t, (Single)r);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord3fv((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord3fv((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Single* v)
|
|
{
|
|
Delegates.glMultiTexCoord3fv((OpenTK.Graphics.TextureUnit)target, (Single*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t, Int32 r)
|
|
{
|
|
Delegates.glMultiTexCoord3i((OpenTK.Graphics.TextureUnit)target, (Int32)s, (Int32)t, (Int32)r);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord3iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, ref Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord3iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int32* v)
|
|
{
|
|
Delegates.glMultiTexCoord3iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t, Int16 r)
|
|
{
|
|
Delegates.glMultiTexCoord3s((OpenTK.Graphics.TextureUnit)target, (Int16)s, (Int16)t, (Int16)r);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord3sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord3sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int16* v)
|
|
{
|
|
Delegates.glMultiTexCoord3sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Double s, Double t, Double r, Double q)
|
|
{
|
|
Delegates.glMultiTexCoord4d((OpenTK.Graphics.TextureUnit)target, (Double)s, (Double)t, (Double)r, (Double)q);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord4dv((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord4dv((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Double* v)
|
|
{
|
|
Delegates.glMultiTexCoord4dv((OpenTK.Graphics.TextureUnit)target, (Double*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Single s, Single t, Single r, Single q)
|
|
{
|
|
Delegates.glMultiTexCoord4f((OpenTK.Graphics.TextureUnit)target, (Single)s, (Single)t, (Single)r, (Single)q);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord4fv((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord4fv((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Single* v)
|
|
{
|
|
Delegates.glMultiTexCoord4fv((OpenTK.Graphics.TextureUnit)target, (Single*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t, Int32 r, Int32 q)
|
|
{
|
|
Delegates.glMultiTexCoord4i((OpenTK.Graphics.TextureUnit)target, (Int32)s, (Int32)t, (Int32)r, (Int32)q);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord4iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, ref Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord4iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int32* v)
|
|
{
|
|
Delegates.glMultiTexCoord4iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t, Int16 r, Int16 q)
|
|
{
|
|
Delegates.glMultiTexCoord4s((OpenTK.Graphics.TextureUnit)target, (Int16)s, (Int16)t, (Int16)r, (Int16)q);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord4sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord4sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int16* v)
|
|
{
|
|
Delegates.glMultiTexCoord4sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v);
|
|
}
|
|
|
|
public static
|
|
void LoadTransposeMatrix(Single[] m)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* m_ptr = m)
|
|
{
|
|
Delegates.glLoadTransposeMatrixf((Single*)m_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void LoadTransposeMatrix(ref Single m)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* m_ptr = &m)
|
|
{
|
|
Delegates.glLoadTransposeMatrixf((Single*)m_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void LoadTransposeMatrix(Single* m)
|
|
{
|
|
Delegates.glLoadTransposeMatrixf((Single*)m);
|
|
}
|
|
|
|
public static
|
|
void LoadTransposeMatrix(Double[] m)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* m_ptr = m)
|
|
{
|
|
Delegates.glLoadTransposeMatrixd((Double*)m_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void LoadTransposeMatrix(ref Double m)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* m_ptr = &m)
|
|
{
|
|
Delegates.glLoadTransposeMatrixd((Double*)m_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void LoadTransposeMatrix(Double* m)
|
|
{
|
|
Delegates.glLoadTransposeMatrixd((Double*)m);
|
|
}
|
|
|
|
public static
|
|
void MultTransposeMatrix(Single[] m)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* m_ptr = m)
|
|
{
|
|
Delegates.glMultTransposeMatrixf((Single*)m_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultTransposeMatrix(ref Single m)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* m_ptr = &m)
|
|
{
|
|
Delegates.glMultTransposeMatrixf((Single*)m_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultTransposeMatrix(Single* m)
|
|
{
|
|
Delegates.glMultTransposeMatrixf((Single*)m);
|
|
}
|
|
|
|
public static
|
|
void MultTransposeMatrix(Double[] m)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* m_ptr = m)
|
|
{
|
|
Delegates.glMultTransposeMatrixd((Double*)m_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultTransposeMatrix(ref Double m)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* m_ptr = &m)
|
|
{
|
|
Delegates.glMultTransposeMatrixd((Double*)m_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultTransposeMatrix(Double* m)
|
|
{
|
|
Delegates.glMultTransposeMatrixd((Double*)m);
|
|
}
|
|
|
|
public static
|
|
void SampleCoverage(Single value, bool invert)
|
|
{
|
|
Delegates.glSampleCoverage((Single)value, (bool)invert);
|
|
}
|
|
|
|
public static
|
|
void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glCompressedTexImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] object data)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glCompressedTexImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
data_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glCompressedTexImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] object data)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glCompressedTexImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
data_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glCompressedTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] object data)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glCompressedTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
data_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] object data)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
data_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] object data)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
data_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glCompressedTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] object data)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glCompressedTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
data_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [Out] IntPtr img)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glGetCompressedTexImage((OpenTK.Graphics.TextureTarget)target, (Int32)level, (IntPtr)img);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [In, Out] object img)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle img_ptr = System.Runtime.InteropServices.GCHandle.Alloc(img, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetCompressedTexImage((OpenTK.Graphics.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
img_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void BlendFuncSeparate(OpenTK.Graphics.BlendingFactorSrc sfactorRGB, OpenTK.Graphics.BlendingFactorDest dfactorRGB, OpenTK.Graphics.BlendingFactorSrc sfactorAlpha, OpenTK.Graphics.BlendingFactorDest dfactorAlpha)
|
|
{
|
|
Delegates.glBlendFuncSeparate((OpenTK.Graphics.BlendingFactorSrc)sfactorRGB, (OpenTK.Graphics.BlendingFactorDest)dfactorRGB, (OpenTK.Graphics.BlendingFactorSrc)sfactorAlpha, (OpenTK.Graphics.BlendingFactorDest)dfactorAlpha);
|
|
}
|
|
|
|
public static
|
|
void FogCoord(Single coord)
|
|
{
|
|
Delegates.glFogCoordf((Single)coord);
|
|
}
|
|
|
|
public static
|
|
void FogCoordv(Single[] coord)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* coord_ptr = coord)
|
|
{
|
|
Delegates.glFogCoordfv((Single*)coord_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void FogCoordv(ref Single coord)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* coord_ptr = &coord)
|
|
{
|
|
Delegates.glFogCoordfv((Single*)coord_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void FogCoordv(Single* coord)
|
|
{
|
|
Delegates.glFogCoordfv((Single*)coord);
|
|
}
|
|
|
|
public static
|
|
void FogCoord(Double coord)
|
|
{
|
|
Delegates.glFogCoordd((Double)coord);
|
|
}
|
|
|
|
public static
|
|
void FogCoordv(Double[] coord)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* coord_ptr = coord)
|
|
{
|
|
Delegates.glFogCoorddv((Double*)coord_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void FogCoordv(ref Double coord)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* coord_ptr = &coord)
|
|
{
|
|
Delegates.glFogCoorddv((Double*)coord_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void FogCoordv(Double* coord)
|
|
{
|
|
Delegates.glFogCoorddv((Double*)coord);
|
|
}
|
|
|
|
public static
|
|
void FogCoordPointer(OpenTK.Graphics.FogPointerType type, Int32 stride, IntPtr pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glFogCoordPointer((OpenTK.Graphics.FogPointerType)type, (Int32)stride, (IntPtr)pointer);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void FogCoordPointer(OpenTK.Graphics.FogPointerType type, Int32 stride, [In, Out] object pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glFogCoordPointer((OpenTK.Graphics.FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiDrawArrays(OpenTK.Graphics.BeginMode mode, [Out] Int32[] first, [Out] Int32[] count, Int32 primcount)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* first_ptr = first)
|
|
fixed (Int32* count_ptr = count)
|
|
{
|
|
Delegates.glMultiDrawArrays((OpenTK.Graphics.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiDrawArrays(OpenTK.Graphics.BeginMode mode, [Out] out Int32 first, [Out] out Int32 count, Int32 primcount)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* first_ptr = &first)
|
|
fixed (Int32* count_ptr = &count)
|
|
{
|
|
Delegates.glMultiDrawArrays((OpenTK.Graphics.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
|
|
first = *first_ptr;
|
|
count = *count_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiDrawArrays(OpenTK.Graphics.BeginMode mode, [Out] Int32* first, [Out] Int32* count, Int32 primcount)
|
|
{
|
|
Delegates.glMultiDrawArrays((OpenTK.Graphics.BeginMode)mode, (Int32*)first, (Int32*)count, (Int32)primcount);
|
|
}
|
|
|
|
public static
|
|
void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* count_ptr = count)
|
|
{
|
|
Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] object indices, Int32 primcount)
|
|
{
|
|
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.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
|
|
}
|
|
finally
|
|
{
|
|
indices_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* count_ptr = &count)
|
|
{
|
|
Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] object indices, Int32 primcount)
|
|
{
|
|
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.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
|
|
}
|
|
finally
|
|
{
|
|
indices_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount)
|
|
{
|
|
Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.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.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
|
|
}
|
|
finally
|
|
{
|
|
indices_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void PointParameter(OpenTK.Graphics.PointParameterName pname, Single param)
|
|
{
|
|
Delegates.glPointParameterf((OpenTK.Graphics.PointParameterName)pname, (Single)param);
|
|
}
|
|
|
|
public static
|
|
void PointParameterv(OpenTK.Graphics.PointParameterName pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glPointParameterfv((OpenTK.Graphics.PointParameterName)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void PointParameterv(OpenTK.Graphics.PointParameterName pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glPointParameterfv((OpenTK.Graphics.PointParameterName)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void PointParameterv(OpenTK.Graphics.PointParameterName pname, Single* @params)
|
|
{
|
|
Delegates.glPointParameterfv((OpenTK.Graphics.PointParameterName)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void PointParameter(OpenTK.Graphics.PointParameterName pname, Int32 param)
|
|
{
|
|
Delegates.glPointParameteri((OpenTK.Graphics.PointParameterName)pname, (Int32)param);
|
|
}
|
|
|
|
public static
|
|
void PointParameterv(OpenTK.Graphics.PointParameterName pname, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glPointParameteriv((OpenTK.Graphics.PointParameterName)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void PointParameterv(OpenTK.Graphics.PointParameterName pname, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glPointParameteriv((OpenTK.Graphics.PointParameterName)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void PointParameterv(OpenTK.Graphics.PointParameterName pname, Int32* @params)
|
|
{
|
|
Delegates.glPointParameteriv((OpenTK.Graphics.PointParameterName)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void SecondaryColor3(SByte red, SByte green, SByte blue)
|
|
{
|
|
Delegates.glSecondaryColor3b((SByte)red, (SByte)green, (SByte)blue);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void SecondaryColor3(SByte[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (SByte* v_ptr = v)
|
|
{
|
|
Delegates.glSecondaryColor3bv((SByte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void SecondaryColor3(ref SByte v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (SByte* v_ptr = &v)
|
|
{
|
|
Delegates.glSecondaryColor3bv((SByte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void SecondaryColor3(SByte* v)
|
|
{
|
|
Delegates.glSecondaryColor3bv((SByte*)v);
|
|
}
|
|
|
|
public static
|
|
void SecondaryColor3(Double red, Double green, Double blue)
|
|
{
|
|
Delegates.glSecondaryColor3d((Double)red, (Double)green, (Double)blue);
|
|
}
|
|
|
|
public static
|
|
void SecondaryColor3(Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glSecondaryColor3dv((Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void SecondaryColor3(ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glSecondaryColor3dv((Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void SecondaryColor3(Double* v)
|
|
{
|
|
Delegates.glSecondaryColor3dv((Double*)v);
|
|
}
|
|
|
|
public static
|
|
void SecondaryColor3(Single red, Single green, Single blue)
|
|
{
|
|
Delegates.glSecondaryColor3f((Single)red, (Single)green, (Single)blue);
|
|
}
|
|
|
|
public static
|
|
void SecondaryColor3(Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glSecondaryColor3fv((Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void SecondaryColor3(ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glSecondaryColor3fv((Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void SecondaryColor3(Single* v)
|
|
{
|
|
Delegates.glSecondaryColor3fv((Single*)v);
|
|
}
|
|
|
|
public static
|
|
void SecondaryColor3(Byte red, Byte green, Byte blue)
|
|
{
|
|
Delegates.glSecondaryColor3ub((Byte)red, (Byte)green, (Byte)blue);
|
|
}
|
|
|
|
public static
|
|
void SecondaryColor3(Byte[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* v_ptr = v)
|
|
{
|
|
Delegates.glSecondaryColor3ubv((Byte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void SecondaryColor3(ref Byte v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* v_ptr = &v)
|
|
{
|
|
Delegates.glSecondaryColor3ubv((Byte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void SecondaryColor3(Byte* v)
|
|
{
|
|
Delegates.glSecondaryColor3ubv((Byte*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void SecondaryColor3(UInt32 red, UInt32 green, UInt32 blue)
|
|
{
|
|
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
|
|
void SecondaryColor3(UInt32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* v_ptr = v)
|
|
{
|
|
Delegates.glSecondaryColor3uiv((UInt32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
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)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* v_ptr = &v)
|
|
{
|
|
Delegates.glSecondaryColor3uiv((UInt32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void SecondaryColor3(ref Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glSecondaryColor3uiv((UInt32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void SecondaryColor3(UInt32* v)
|
|
{
|
|
Delegates.glSecondaryColor3uiv((UInt32*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void SecondaryColor3(Int32* v)
|
|
{
|
|
Delegates.glSecondaryColor3uiv((UInt32*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void SecondaryColor3(UInt16 red, UInt16 green, UInt16 blue)
|
|
{
|
|
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
|
|
void SecondaryColor3(UInt16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = v)
|
|
{
|
|
Delegates.glSecondaryColor3usv((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
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)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = &v)
|
|
{
|
|
Delegates.glSecondaryColor3usv((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
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 SecondaryColor3(UInt16* v)
|
|
{
|
|
Delegates.glSecondaryColor3usv((UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void SecondaryColor3(Int16* v)
|
|
{
|
|
Delegates.glSecondaryColor3usv((UInt16*)v);
|
|
}
|
|
|
|
public static
|
|
void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, IntPtr pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glSecondaryColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] object pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glSecondaryColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void WindowPos2(Double x, Double y)
|
|
{
|
|
Delegates.glWindowPos2d((Double)x, (Double)y);
|
|
}
|
|
|
|
public static
|
|
void WindowPos2(Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glWindowPos2dv((Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void WindowPos2(ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glWindowPos2dv((Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void WindowPos2(Double* v)
|
|
{
|
|
Delegates.glWindowPos2dv((Double*)v);
|
|
}
|
|
|
|
public static
|
|
void WindowPos2(Single x, Single y)
|
|
{
|
|
Delegates.glWindowPos2f((Single)x, (Single)y);
|
|
}
|
|
|
|
public static
|
|
void WindowPos2(Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glWindowPos2fv((Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void WindowPos2(ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glWindowPos2fv((Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void WindowPos2(Single* v)
|
|
{
|
|
Delegates.glWindowPos2fv((Single*)v);
|
|
}
|
|
|
|
public static
|
|
void WindowPos2(Int32 x, Int32 y)
|
|
{
|
|
Delegates.glWindowPos2i((Int32)x, (Int32)y);
|
|
}
|
|
|
|
public static
|
|
void WindowPos2(Int32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = v)
|
|
{
|
|
Delegates.glWindowPos2iv((Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void WindowPos2(ref Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glWindowPos2iv((Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void WindowPos2(Int32* v)
|
|
{
|
|
Delegates.glWindowPos2iv((Int32*)v);
|
|
}
|
|
|
|
public static
|
|
void WindowPos2(Int16 x, Int16 y)
|
|
{
|
|
Delegates.glWindowPos2s((Int16)x, (Int16)y);
|
|
}
|
|
|
|
public static
|
|
void WindowPos2(Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glWindowPos2sv((Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void WindowPos2(ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glWindowPos2sv((Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void WindowPos2(Int16* v)
|
|
{
|
|
Delegates.glWindowPos2sv((Int16*)v);
|
|
}
|
|
|
|
public static
|
|
void WindowPos3(Double x, Double y, Double z)
|
|
{
|
|
Delegates.glWindowPos3d((Double)x, (Double)y, (Double)z);
|
|
}
|
|
|
|
public static
|
|
void WindowPos3(Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glWindowPos3dv((Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void WindowPos3(ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glWindowPos3dv((Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void WindowPos3(Double* v)
|
|
{
|
|
Delegates.glWindowPos3dv((Double*)v);
|
|
}
|
|
|
|
public static
|
|
void WindowPos3(Single x, Single y, Single z)
|
|
{
|
|
Delegates.glWindowPos3f((Single)x, (Single)y, (Single)z);
|
|
}
|
|
|
|
public static
|
|
void WindowPos3(Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glWindowPos3fv((Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void WindowPos3(ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glWindowPos3fv((Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void WindowPos3(Single* v)
|
|
{
|
|
Delegates.glWindowPos3fv((Single*)v);
|
|
}
|
|
|
|
public static
|
|
void WindowPos3(Int32 x, Int32 y, Int32 z)
|
|
{
|
|
Delegates.glWindowPos3i((Int32)x, (Int32)y, (Int32)z);
|
|
}
|
|
|
|
public static
|
|
void WindowPos3(Int32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = v)
|
|
{
|
|
Delegates.glWindowPos3iv((Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void WindowPos3(ref Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glWindowPos3iv((Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void WindowPos3(Int32* v)
|
|
{
|
|
Delegates.glWindowPos3iv((Int32*)v);
|
|
}
|
|
|
|
public static
|
|
void WindowPos3(Int16 x, Int16 y, Int16 z)
|
|
{
|
|
Delegates.glWindowPos3s((Int16)x, (Int16)y, (Int16)z);
|
|
}
|
|
|
|
public static
|
|
void WindowPos3(Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glWindowPos3sv((Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void WindowPos3(ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glWindowPos3sv((Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void WindowPos3(Int16* v)
|
|
{
|
|
Delegates.glWindowPos3sv((Int16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GenQueries(Int32 n, [Out] UInt32[] ids)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* ids_ptr = ids)
|
|
{
|
|
Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GenQueries(Int32 n, [Out] Int32[] ids)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* ids_ptr = ids)
|
|
{
|
|
Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GenQueries(Int32 n, [Out] out UInt32 ids)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* ids_ptr = &ids)
|
|
{
|
|
Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr);
|
|
ids = *ids_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GenQueries(Int32 n, [Out] out Int32 ids)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* ids_ptr = &ids)
|
|
{
|
|
Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr);
|
|
ids = *ids_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GenQueries(Int32 n, [Out] UInt32* ids)
|
|
{
|
|
Delegates.glGenQueries((Int32)n, (UInt32*)ids);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GenQueries(Int32 n, [Out] Int32* ids)
|
|
{
|
|
Delegates.glGenQueries((Int32)n, (UInt32*)ids);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DeleteQueries(Int32 n, UInt32[] ids)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* ids_ptr = ids)
|
|
{
|
|
Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DeleteQueries(Int32 n, Int32[] ids)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* ids_ptr = ids)
|
|
{
|
|
Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DeleteQueries(Int32 n, ref UInt32 ids)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* ids_ptr = &ids)
|
|
{
|
|
Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DeleteQueries(Int32 n, ref Int32 ids)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* ids_ptr = &ids)
|
|
{
|
|
Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void DeleteQueries(Int32 n, UInt32* ids)
|
|
{
|
|
Delegates.glDeleteQueries((Int32)n, (UInt32*)ids);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void DeleteQueries(Int32 n, Int32* ids)
|
|
{
|
|
Delegates.glDeleteQueries((Int32)n, (UInt32*)ids);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
bool IsQuery(UInt32 id)
|
|
{
|
|
return Delegates.glIsQuery((UInt32)id);
|
|
}
|
|
|
|
public static
|
|
bool IsQuery(Int32 id)
|
|
{
|
|
return Delegates.glIsQuery((UInt32)id);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void BeginQuery(OpenTK.Graphics.QueryTarget target, UInt32 id)
|
|
{
|
|
Delegates.glBeginQuery((OpenTK.Graphics.QueryTarget)target, (UInt32)id);
|
|
}
|
|
|
|
public static
|
|
void BeginQuery(OpenTK.Graphics.QueryTarget target, Int32 id)
|
|
{
|
|
Delegates.glBeginQuery((OpenTK.Graphics.QueryTarget)target, (UInt32)id);
|
|
}
|
|
|
|
public static
|
|
void EndQuery(OpenTK.Graphics.QueryTarget target)
|
|
{
|
|
Delegates.glEndQuery((OpenTK.Graphics.QueryTarget)target);
|
|
}
|
|
|
|
public static
|
|
void GetQuery(OpenTK.Graphics.QueryTarget target, OpenTK.Graphics.GetQueryParam pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetQueryiv((OpenTK.Graphics.QueryTarget)target, (OpenTK.Graphics.GetQueryParam)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetQuery(OpenTK.Graphics.QueryTarget target, OpenTK.Graphics.GetQueryParam pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetQueryiv((OpenTK.Graphics.QueryTarget)target, (OpenTK.Graphics.GetQueryParam)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetQuery(OpenTK.Graphics.QueryTarget target, OpenTK.Graphics.GetQueryParam pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetQueryiv((OpenTK.Graphics.QueryTarget)target, (OpenTK.Graphics.GetQueryParam)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetQueryObject(UInt32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.GetQueryObjectParam)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetQueryObject(UInt32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.GetQueryObjectParam)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.GetQueryObjectParam)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetQueryObject(UInt32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] UInt32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.GetQueryObjectParam)pname, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetQueryObject(Int32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.GetQueryObjectParam)pname, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetQueryObject(UInt32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] out UInt32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.GetQueryObjectParam)pname, (UInt32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetQueryObject(Int32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.GetQueryObjectParam)pname, (UInt32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] UInt32* @params)
|
|
{
|
|
Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.GetQueryObjectParam)pname, (UInt32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.GetQueryObjectParam)pname, (UInt32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void BindBuffer(OpenTK.Graphics.BufferTarget target, UInt32 buffer)
|
|
{
|
|
Delegates.glBindBuffer((OpenTK.Graphics.BufferTarget)target, (UInt32)buffer);
|
|
}
|
|
|
|
public static
|
|
void BindBuffer(OpenTK.Graphics.BufferTarget target, Int32 buffer)
|
|
{
|
|
Delegates.glBindBuffer((OpenTK.Graphics.BufferTarget)target, (UInt32)buffer);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DeleteBuffers(Int32 n, UInt32[] buffers)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* buffers_ptr = buffers)
|
|
{
|
|
Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DeleteBuffers(Int32 n, Int32[] buffers)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* buffers_ptr = buffers)
|
|
{
|
|
Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DeleteBuffers(Int32 n, ref UInt32 buffers)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* buffers_ptr = &buffers)
|
|
{
|
|
Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DeleteBuffers(Int32 n, ref Int32 buffers)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* buffers_ptr = &buffers)
|
|
{
|
|
Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void DeleteBuffers(Int32 n, UInt32* buffers)
|
|
{
|
|
Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void DeleteBuffers(Int32 n, Int32* buffers)
|
|
{
|
|
Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GenBuffers(Int32 n, [Out] UInt32[] buffers)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* buffers_ptr = buffers)
|
|
{
|
|
Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GenBuffers(Int32 n, [Out] Int32[] buffers)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* buffers_ptr = buffers)
|
|
{
|
|
Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GenBuffers(Int32 n, [Out] out UInt32 buffers)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* buffers_ptr = &buffers)
|
|
{
|
|
Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr);
|
|
buffers = *buffers_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GenBuffers(Int32 n, [Out] out Int32 buffers)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* buffers_ptr = &buffers)
|
|
{
|
|
Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr);
|
|
buffers = *buffers_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GenBuffers(Int32 n, [Out] UInt32* buffers)
|
|
{
|
|
Delegates.glGenBuffers((Int32)n, (UInt32*)buffers);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GenBuffers(Int32 n, [Out] Int32* buffers)
|
|
{
|
|
Delegates.glGenBuffers((Int32)n, (UInt32*)buffers);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
bool IsBuffer(UInt32 buffer)
|
|
{
|
|
return Delegates.glIsBuffer((UInt32)buffer);
|
|
}
|
|
|
|
public static
|
|
bool IsBuffer(Int32 buffer)
|
|
{
|
|
return Delegates.glIsBuffer((UInt32)buffer);
|
|
}
|
|
|
|
public static
|
|
void BufferData(OpenTK.Graphics.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.BufferUsageHint usage)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glBufferData((OpenTK.Graphics.BufferTarget)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.BufferUsageHint)usage);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void BufferData(OpenTK.Graphics.BufferTarget target, IntPtr size, [In, Out] object data, OpenTK.Graphics.BufferUsageHint usage)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glBufferData((OpenTK.Graphics.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.BufferUsageHint)usage);
|
|
}
|
|
finally
|
|
{
|
|
data_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void BufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glBufferSubData((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void BufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [In, Out] object data)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glBufferSubData((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
data_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetBufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [Out] IntPtr data)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glGetBufferSubData((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetBufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [In, Out] object data)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetBufferSubData((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
data_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe IntPtr MapBuffer(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferAccess access)
|
|
{
|
|
return Delegates.glMapBuffer((OpenTK.Graphics.BufferTarget)target, (OpenTK.Graphics.BufferAccess)access);
|
|
}
|
|
|
|
public static
|
|
bool UnmapBuffer(OpenTK.Graphics.BufferTarget target)
|
|
{
|
|
return Delegates.glUnmapBuffer((OpenTK.Graphics.BufferTarget)target);
|
|
}
|
|
|
|
public static
|
|
void GetBufferParameter(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferParameterName pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetBufferParameteriv((OpenTK.Graphics.BufferTarget)target, (OpenTK.Graphics.BufferParameterName)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetBufferParameter(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferParameterName pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetBufferParameteriv((OpenTK.Graphics.BufferTarget)target, (OpenTK.Graphics.BufferParameterName)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetBufferParameter(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferParameterName pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetBufferParameteriv((OpenTK.Graphics.BufferTarget)target, (OpenTK.Graphics.BufferParameterName)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetBufferPointer(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferPointer pname, [Out] IntPtr @params)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glGetBufferPointerv((OpenTK.Graphics.BufferTarget)target, (OpenTK.Graphics.BufferPointer)pname, (IntPtr)@params);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetBufferPointer(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferPointer pname, [In, Out] object @params)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle @params_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@params, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetBufferPointerv((OpenTK.Graphics.BufferTarget)target, (OpenTK.Graphics.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
@params_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void BlendEquationSeparate(OpenTK.Graphics.All modeRGB, OpenTK.Graphics.All modeAlpha)
|
|
{
|
|
Delegates.glBlendEquationSeparate((OpenTK.Graphics.All)modeRGB, (OpenTK.Graphics.All)modeAlpha);
|
|
}
|
|
|
|
public static
|
|
void DrawBuffers(Int32 n, OpenTK.Graphics.DrawBuffersEnum[] bufs)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (OpenTK.Graphics.DrawBuffersEnum* bufs_ptr = bufs)
|
|
{
|
|
Delegates.glDrawBuffers((Int32)n, (OpenTK.Graphics.DrawBuffersEnum*)bufs_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DrawBuffers(Int32 n, ref OpenTK.Graphics.DrawBuffersEnum bufs)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (OpenTK.Graphics.DrawBuffersEnum* bufs_ptr = &bufs)
|
|
{
|
|
Delegates.glDrawBuffers((Int32)n, (OpenTK.Graphics.DrawBuffersEnum*)bufs_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.DrawBuffersEnum* bufs)
|
|
{
|
|
Delegates.glDrawBuffers((Int32)n, (OpenTK.Graphics.DrawBuffersEnum*)bufs);
|
|
}
|
|
|
|
public static
|
|
void StencilOpSeparate(OpenTK.Graphics.All face, OpenTK.Graphics.StencilOp sfail, OpenTK.Graphics.StencilOp dpfail, OpenTK.Graphics.StencilOp dppass)
|
|
{
|
|
Delegates.glStencilOpSeparate((OpenTK.Graphics.All)face, (OpenTK.Graphics.StencilOp)sfail, (OpenTK.Graphics.StencilOp)dpfail, (OpenTK.Graphics.StencilOp)dppass);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void StencilFuncSeparate(OpenTK.Graphics.StencilFace face, OpenTK.Graphics.StencilFunction func, Int32 @ref, UInt32 mask)
|
|
{
|
|
Delegates.glStencilFuncSeparate((OpenTK.Graphics.StencilFace)face, (OpenTK.Graphics.StencilFunction)func, (Int32)@ref, (UInt32)mask);
|
|
}
|
|
|
|
public static
|
|
void StencilFuncSeparate(OpenTK.Graphics.StencilFace face, OpenTK.Graphics.StencilFunction func, Int32 @ref, Int32 mask)
|
|
{
|
|
Delegates.glStencilFuncSeparate((OpenTK.Graphics.StencilFace)face, (OpenTK.Graphics.StencilFunction)func, (Int32)@ref, (UInt32)mask);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void StencilMaskSeparate(OpenTK.Graphics.All face, UInt32 mask)
|
|
{
|
|
Delegates.glStencilMaskSeparate((OpenTK.Graphics.All)face, (UInt32)mask);
|
|
}
|
|
|
|
public static
|
|
void StencilMaskSeparate(OpenTK.Graphics.All face, Int32 mask)
|
|
{
|
|
Delegates.glStencilMaskSeparate((OpenTK.Graphics.All)face, (UInt32)mask);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void AttachShader(UInt32 program, UInt32 shader)
|
|
{
|
|
Delegates.glAttachShader((UInt32)program, (UInt32)shader);
|
|
}
|
|
|
|
public static
|
|
void AttachShader(Int32 program, Int32 shader)
|
|
{
|
|
Delegates.glAttachShader((UInt32)program, (UInt32)shader);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void BindAttribLocation(UInt32 program, UInt32 index, System.String name)
|
|
{
|
|
Delegates.glBindAttribLocation((UInt32)program, (UInt32)index, (System.String)name);
|
|
}
|
|
|
|
public static
|
|
void BindAttribLocation(Int32 program, Int32 index, System.String name)
|
|
{
|
|
Delegates.glBindAttribLocation((UInt32)program, (UInt32)index, (System.String)name);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void CompileShader(UInt32 shader)
|
|
{
|
|
Delegates.glCompileShader((UInt32)shader);
|
|
}
|
|
|
|
public static
|
|
void CompileShader(Int32 shader)
|
|
{
|
|
Delegates.glCompileShader((UInt32)shader);
|
|
}
|
|
|
|
public static
|
|
Int32 CreateProgram()
|
|
{
|
|
return Delegates.glCreateProgram();
|
|
}
|
|
|
|
public static
|
|
Int32 CreateShader(OpenTK.Graphics.ShaderType type)
|
|
{
|
|
return Delegates.glCreateShader((OpenTK.Graphics.ShaderType)type);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DeleteProgram(UInt32 program)
|
|
{
|
|
Delegates.glDeleteProgram((UInt32)program);
|
|
}
|
|
|
|
public static
|
|
void DeleteProgram(Int32 program)
|
|
{
|
|
Delegates.glDeleteProgram((UInt32)program);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DeleteShader(UInt32 shader)
|
|
{
|
|
Delegates.glDeleteShader((UInt32)shader);
|
|
}
|
|
|
|
public static
|
|
void DeleteShader(Int32 shader)
|
|
{
|
|
Delegates.glDeleteShader((UInt32)shader);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DetachShader(UInt32 program, UInt32 shader)
|
|
{
|
|
Delegates.glDetachShader((UInt32)program, (UInt32)shader);
|
|
}
|
|
|
|
public static
|
|
void DetachShader(Int32 program, Int32 shader)
|
|
{
|
|
Delegates.glDetachShader((UInt32)program, (UInt32)shader);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DisableVertexAttribArray(UInt32 index)
|
|
{
|
|
Delegates.glDisableVertexAttribArray((UInt32)index);
|
|
}
|
|
|
|
public static
|
|
void DisableVertexAttribArray(Int32 index)
|
|
{
|
|
Delegates.glDisableVertexAttribArray((UInt32)index);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void EnableVertexAttribArray(UInt32 index)
|
|
{
|
|
Delegates.glEnableVertexAttribArray((UInt32)index);
|
|
}
|
|
|
|
public static
|
|
void EnableVertexAttribArray(Int32 index)
|
|
{
|
|
Delegates.glEnableVertexAttribArray((UInt32)index);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32[] size, [Out] OpenTK.Graphics.ActiveAttribType[] type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = length)
|
|
fixed (Int32* size_ptr = size)
|
|
fixed (OpenTK.Graphics.ActiveAttribType* type_ptr = type)
|
|
{
|
|
Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ActiveAttribType*)type_ptr, (System.Text.StringBuilder)name);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32[] size, [Out] OpenTK.Graphics.ActiveAttribType[] type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = length)
|
|
fixed (Int32* size_ptr = size)
|
|
fixed (OpenTK.Graphics.ActiveAttribType* type_ptr = type)
|
|
{
|
|
Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ActiveAttribType*)type_ptr, (System.Text.StringBuilder)name);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ActiveAttribType type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = &length)
|
|
fixed (Int32* size_ptr = &size)
|
|
fixed (OpenTK.Graphics.ActiveAttribType* type_ptr = &type)
|
|
{
|
|
Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ActiveAttribType*)type_ptr, (System.Text.StringBuilder)name);
|
|
length = *length_ptr;
|
|
size = *size_ptr;
|
|
type = *type_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ActiveAttribType type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = &length)
|
|
fixed (Int32* size_ptr = &size)
|
|
fixed (OpenTK.Graphics.ActiveAttribType* type_ptr = &type)
|
|
{
|
|
Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ActiveAttribType*)type_ptr, (System.Text.StringBuilder)name);
|
|
length = *length_ptr;
|
|
size = *size_ptr;
|
|
type = *type_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ActiveAttribType* type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ActiveAttribType*)type, (System.Text.StringBuilder)name);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ActiveAttribType* type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ActiveAttribType*)type, (System.Text.StringBuilder)name);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32[] size, [Out] OpenTK.Graphics.ActiveUniformType[] type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = length)
|
|
fixed (Int32* size_ptr = size)
|
|
fixed (OpenTK.Graphics.ActiveUniformType* type_ptr = type)
|
|
{
|
|
Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ActiveUniformType*)type_ptr, (System.Text.StringBuilder)name);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32[] size, [Out] OpenTK.Graphics.ActiveUniformType[] type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = length)
|
|
fixed (Int32* size_ptr = size)
|
|
fixed (OpenTK.Graphics.ActiveUniformType* type_ptr = type)
|
|
{
|
|
Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ActiveUniformType*)type_ptr, (System.Text.StringBuilder)name);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ActiveUniformType type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = &length)
|
|
fixed (Int32* size_ptr = &size)
|
|
fixed (OpenTK.Graphics.ActiveUniformType* type_ptr = &type)
|
|
{
|
|
Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ActiveUniformType*)type_ptr, (System.Text.StringBuilder)name);
|
|
length = *length_ptr;
|
|
size = *size_ptr;
|
|
type = *type_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ActiveUniformType type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = &length)
|
|
fixed (Int32* size_ptr = &size)
|
|
fixed (OpenTK.Graphics.ActiveUniformType* type_ptr = &type)
|
|
{
|
|
Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ActiveUniformType*)type_ptr, (System.Text.StringBuilder)name);
|
|
length = *length_ptr;
|
|
size = *size_ptr;
|
|
type = *type_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ActiveUniformType* type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ActiveUniformType*)type, (System.Text.StringBuilder)name);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ActiveUniformType* type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ActiveUniformType*)type, (System.Text.StringBuilder)name);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetAttachedShaders(UInt32 program, Int32 maxCount, [Out] Int32[] count, [Out] UInt32[] obj)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* count_ptr = count)
|
|
fixed (UInt32* obj_ptr = obj)
|
|
{
|
|
Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetAttachedShaders(Int32 program, Int32 maxCount, [Out] Int32[] count, [Out] Int32[] obj)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* count_ptr = count)
|
|
fixed (Int32* obj_ptr = obj)
|
|
{
|
|
Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetAttachedShaders(UInt32 program, Int32 maxCount, [Out] out Int32 count, [Out] out UInt32 obj)
|
|
{
|
|
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;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetAttachedShaders(Int32 program, Int32 maxCount, [Out] out Int32 count, [Out] out Int32 obj)
|
|
{
|
|
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;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetAttachedShaders(UInt32 program, Int32 maxCount, [Out] Int32* count, [Out] UInt32* obj)
|
|
{
|
|
Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)obj);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetAttachedShaders(Int32 program, Int32 maxCount, [Out] Int32* count, [Out] Int32* obj)
|
|
{
|
|
Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)obj);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
Int32 GetAttribLocation(UInt32 program, System.String name)
|
|
{
|
|
return Delegates.glGetAttribLocation((UInt32)program, (System.String)name);
|
|
}
|
|
|
|
public static
|
|
Int32 GetAttribLocation(Int32 program, System.String name)
|
|
{
|
|
return Delegates.glGetAttribLocation((UInt32)program, (System.String)name);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgram(UInt32 program, OpenTK.Graphics.ProgramParameter pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ProgramParameter)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgram(Int32 program, OpenTK.Graphics.ProgramParameter pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ProgramParameter)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgram(UInt32 program, OpenTK.Graphics.ProgramParameter pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ProgramParameter)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgram(Int32 program, OpenTK.Graphics.ProgramParameter pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ProgramParameter)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgram(UInt32 program, OpenTK.Graphics.ProgramParameter pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ProgramParameter)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgram(Int32 program, OpenTK.Graphics.ProgramParameter pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ProgramParameter)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgramInfoLog(UInt32 program, Int32 bufSize, [Out] Int32[] length, [Out] System.Text.StringBuilder infoLog)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = length)
|
|
{
|
|
Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgramInfoLog(Int32 program, Int32 bufSize, [Out] Int32[] length, [Out] System.Text.StringBuilder infoLog)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = length)
|
|
{
|
|
Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgramInfoLog(UInt32 program, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder infoLog)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = &length)
|
|
{
|
|
Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog);
|
|
length = *length_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgramInfoLog(Int32 program, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder infoLog)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = &length)
|
|
{
|
|
Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog);
|
|
length = *length_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgramInfoLog(UInt32 program, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog)
|
|
{
|
|
Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)infoLog);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgramInfoLog(Int32 program, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog)
|
|
{
|
|
Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)infoLog);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetShader(UInt32 shader, OpenTK.Graphics.ShaderParameter pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ShaderParameter)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetShader(Int32 shader, OpenTK.Graphics.ShaderParameter pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ShaderParameter)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetShader(UInt32 shader, OpenTK.Graphics.ShaderParameter pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ShaderParameter)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetShader(Int32 shader, OpenTK.Graphics.ShaderParameter pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ShaderParameter)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetShader(UInt32 shader, OpenTK.Graphics.ShaderParameter pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ShaderParameter)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetShader(Int32 shader, OpenTK.Graphics.ShaderParameter pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ShaderParameter)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [Out] Int32[] length, [Out] System.Text.StringBuilder infoLog)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = length)
|
|
{
|
|
Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetShaderInfoLog(Int32 shader, Int32 bufSize, [Out] Int32[] length, [Out] System.Text.StringBuilder infoLog)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = length)
|
|
{
|
|
Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder infoLog)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = &length)
|
|
{
|
|
Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog);
|
|
length = *length_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetShaderInfoLog(Int32 shader, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder infoLog)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = &length)
|
|
{
|
|
Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog);
|
|
length = *length_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog)
|
|
{
|
|
Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)infoLog);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetShaderInfoLog(Int32 shader, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog)
|
|
{
|
|
Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)infoLog);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetShaderSource(UInt32 shader, Int32 bufSize, [Out] Int32[] length, [Out] System.Text.StringBuilder[] source)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = length)
|
|
{
|
|
Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder[])source);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetShaderSource(Int32 shader, Int32 bufSize, [Out] Int32[] length, [Out] System.Text.StringBuilder[] source)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = length)
|
|
{
|
|
Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder[])source);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetShaderSource(UInt32 shader, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder[] source)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = &length)
|
|
{
|
|
Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder[])source);
|
|
length = *length_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetShaderSource(Int32 shader, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder[] source)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = &length)
|
|
{
|
|
Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder[])source);
|
|
length = *length_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetShaderSource(UInt32 shader, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder[] source)
|
|
{
|
|
Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder[])source);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetShaderSource(Int32 shader, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder[] source)
|
|
{
|
|
Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder[])source);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
Int32 GetUniformLocation(UInt32 program, System.String name)
|
|
{
|
|
return Delegates.glGetUniformLocation((UInt32)program, (System.String)name);
|
|
}
|
|
|
|
public static
|
|
Int32 GetUniformLocation(Int32 program, System.String name)
|
|
{
|
|
return Delegates.glGetUniformLocation((UInt32)program, (System.String)name);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetUniform(UInt32 program, Int32 location, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetUniform(Int32 program, Int32 location, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetUniform(UInt32 program, Int32 location, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetUniform(Int32 program, Int32 location, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetUniform(UInt32 program, Int32 location, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetUniform(Int32 program, Int32 location, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetUniform(UInt32 program, Int32 location, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetUniform(Int32 program, Int32 location, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetUniform(UInt32 program, Int32 location, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetUniform(Int32 program, Int32 location, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetUniform(UInt32 program, Int32 location, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetUniform(Int32 program, Int32 location, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Double[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Double[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] out Double @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Double*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] out Double @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Double*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Double* @params)
|
|
{
|
|
Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Double*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Double* @params)
|
|
{
|
|
Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Double*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerParameter pname, [Out] IntPtr pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameter)pname, (IntPtr)pointer);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerParameter pname, [Out] IntPtr pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameter)pname, (IntPtr)pointer);
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerParameter pname, [In, Out] object pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerParameter pname, [In, Out] object pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
bool IsProgram(UInt32 program)
|
|
{
|
|
return Delegates.glIsProgram((UInt32)program);
|
|
}
|
|
|
|
public static
|
|
bool IsProgram(Int32 program)
|
|
{
|
|
return Delegates.glIsProgram((UInt32)program);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
bool IsShader(UInt32 shader)
|
|
{
|
|
return Delegates.glIsShader((UInt32)shader);
|
|
}
|
|
|
|
public static
|
|
bool IsShader(Int32 shader)
|
|
{
|
|
return Delegates.glIsShader((UInt32)shader);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void LinkProgram(UInt32 program)
|
|
{
|
|
Delegates.glLinkProgram((UInt32)program);
|
|
}
|
|
|
|
public static
|
|
void LinkProgram(Int32 program)
|
|
{
|
|
Delegates.glLinkProgram((UInt32)program);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ShaderSource(UInt32 shader, Int32 count, System.String[] @string, Int32[] length)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = length)
|
|
{
|
|
Delegates.glShaderSource((UInt32)shader, (Int32)count, (System.String[])@string, (Int32*)length_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ShaderSource(Int32 shader, Int32 count, System.String[] @string, Int32[] length)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = length)
|
|
{
|
|
Delegates.glShaderSource((UInt32)shader, (Int32)count, (System.String[])@string, (Int32*)length_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ShaderSource(UInt32 shader, Int32 count, System.String[] @string, ref Int32 length)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = &length)
|
|
{
|
|
Delegates.glShaderSource((UInt32)shader, (Int32)count, (System.String[])@string, (Int32*)length_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ShaderSource(Int32 shader, Int32 count, System.String[] @string, ref Int32 length)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = &length)
|
|
{
|
|
Delegates.glShaderSource((UInt32)shader, (Int32)count, (System.String[])@string, (Int32*)length_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ShaderSource(UInt32 shader, Int32 count, System.String[] @string, Int32* length)
|
|
{
|
|
Delegates.glShaderSource((UInt32)shader, (Int32)count, (System.String[])@string, (Int32*)length);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
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);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void UseProgram(UInt32 program)
|
|
{
|
|
Delegates.glUseProgram((UInt32)program);
|
|
}
|
|
|
|
public static
|
|
void UseProgram(Int32 program)
|
|
{
|
|
Delegates.glUseProgram((UInt32)program);
|
|
}
|
|
|
|
public static
|
|
void Uniform1(Int32 location, Single v0)
|
|
{
|
|
Delegates.glUniform1f((Int32)location, (Single)v0);
|
|
}
|
|
|
|
public static
|
|
void Uniform2(Int32 location, Single v0, Single v1)
|
|
{
|
|
Delegates.glUniform2f((Int32)location, (Single)v0, (Single)v1);
|
|
}
|
|
|
|
public static
|
|
void Uniform3(Int32 location, Single v0, Single v1, Single v2)
|
|
{
|
|
Delegates.glUniform3f((Int32)location, (Single)v0, (Single)v1, (Single)v2);
|
|
}
|
|
|
|
public static
|
|
void Uniform4(Int32 location, Single v0, Single v1, Single v2, Single v3)
|
|
{
|
|
Delegates.glUniform4f((Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3);
|
|
}
|
|
|
|
public static
|
|
void Uniform1(Int32 location, Int32 v0)
|
|
{
|
|
Delegates.glUniform1i((Int32)location, (Int32)v0);
|
|
}
|
|
|
|
public static
|
|
void Uniform2(Int32 location, Int32 v0, Int32 v1)
|
|
{
|
|
Delegates.glUniform2i((Int32)location, (Int32)v0, (Int32)v1);
|
|
}
|
|
|
|
public static
|
|
void Uniform3(Int32 location, Int32 v0, Int32 v1, Int32 v2)
|
|
{
|
|
Delegates.glUniform3i((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2);
|
|
}
|
|
|
|
public static
|
|
void Uniform4(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3)
|
|
{
|
|
Delegates.glUniform4i((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3);
|
|
}
|
|
|
|
public static
|
|
void Uniform1(Int32 location, Int32 count, Single[] value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = value)
|
|
{
|
|
Delegates.glUniform1fv((Int32)location, (Int32)count, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Uniform1(Int32 location, Int32 count, ref Single value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = &value)
|
|
{
|
|
Delegates.glUniform1fv((Int32)location, (Int32)count, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Uniform1(Int32 location, Int32 count, Single* value)
|
|
{
|
|
Delegates.glUniform1fv((Int32)location, (Int32)count, (Single*)value);
|
|
}
|
|
|
|
public static
|
|
void Uniform2v(Int32 location, Int32 count, Single[] value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = value)
|
|
{
|
|
Delegates.glUniform2fv((Int32)location, (Int32)count, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Uniform2v(Int32 location, Int32 count, ref Single value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = &value)
|
|
{
|
|
Delegates.glUniform2fv((Int32)location, (Int32)count, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Uniform2v(Int32 location, Int32 count, Single* value)
|
|
{
|
|
Delegates.glUniform2fv((Int32)location, (Int32)count, (Single*)value);
|
|
}
|
|
|
|
public static
|
|
void Uniform3(Int32 location, Int32 count, Single[] value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = value)
|
|
{
|
|
Delegates.glUniform3fv((Int32)location, (Int32)count, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Uniform3(Int32 location, Int32 count, ref Single value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = &value)
|
|
{
|
|
Delegates.glUniform3fv((Int32)location, (Int32)count, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Uniform3(Int32 location, Int32 count, Single* value)
|
|
{
|
|
Delegates.glUniform3fv((Int32)location, (Int32)count, (Single*)value);
|
|
}
|
|
|
|
public static
|
|
void Uniform4(Int32 location, Int32 count, Single[] value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = value)
|
|
{
|
|
Delegates.glUniform4fv((Int32)location, (Int32)count, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Uniform4(Int32 location, Int32 count, ref Single value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = &value)
|
|
{
|
|
Delegates.glUniform4fv((Int32)location, (Int32)count, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Uniform4(Int32 location, Int32 count, Single* value)
|
|
{
|
|
Delegates.glUniform4fv((Int32)location, (Int32)count, (Single*)value);
|
|
}
|
|
|
|
public static
|
|
void Uniform1(Int32 location, Int32 count, Int32[] value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* value_ptr = value)
|
|
{
|
|
Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Uniform1(Int32 location, Int32 count, ref Int32 value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* value_ptr = &value)
|
|
{
|
|
Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Uniform1(Int32 location, Int32 count, Int32* value)
|
|
{
|
|
Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)value);
|
|
}
|
|
|
|
public static
|
|
void Uniform2v(Int32 location, Int32 count, Int32[] value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* value_ptr = value)
|
|
{
|
|
Delegates.glUniform2iv((Int32)location, (Int32)count, (Int32*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Uniform2v(Int32 location, Int32 count, ref Int32 value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* value_ptr = &value)
|
|
{
|
|
Delegates.glUniform2iv((Int32)location, (Int32)count, (Int32*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Uniform2v(Int32 location, Int32 count, Int32* value)
|
|
{
|
|
Delegates.glUniform2iv((Int32)location, (Int32)count, (Int32*)value);
|
|
}
|
|
|
|
public static
|
|
void Uniform3(Int32 location, Int32 count, Int32[] value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* value_ptr = value)
|
|
{
|
|
Delegates.glUniform3iv((Int32)location, (Int32)count, (Int32*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Uniform3(Int32 location, Int32 count, ref Int32 value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* value_ptr = &value)
|
|
{
|
|
Delegates.glUniform3iv((Int32)location, (Int32)count, (Int32*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Uniform3(Int32 location, Int32 count, Int32* value)
|
|
{
|
|
Delegates.glUniform3iv((Int32)location, (Int32)count, (Int32*)value);
|
|
}
|
|
|
|
public static
|
|
void Uniform4(Int32 location, Int32 count, Int32[] value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* value_ptr = value)
|
|
{
|
|
Delegates.glUniform4iv((Int32)location, (Int32)count, (Int32*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Uniform4(Int32 location, Int32 count, ref Int32 value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* value_ptr = &value)
|
|
{
|
|
Delegates.glUniform4iv((Int32)location, (Int32)count, (Int32*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Uniform4(Int32 location, Int32 count, Int32* value)
|
|
{
|
|
Delegates.glUniform4iv((Int32)location, (Int32)count, (Int32*)value);
|
|
}
|
|
|
|
public static
|
|
void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single[] value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = value)
|
|
{
|
|
Delegates.glUniformMatrix2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void UniformMatrix2(Int32 location, Int32 count, bool transpose, ref Single value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = &value)
|
|
{
|
|
Delegates.glUniformMatrix2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single* value)
|
|
{
|
|
Delegates.glUniformMatrix2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value);
|
|
}
|
|
|
|
public static
|
|
void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single[] value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = value)
|
|
{
|
|
Delegates.glUniformMatrix3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void UniformMatrix3(Int32 location, Int32 count, bool transpose, ref Single value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = &value)
|
|
{
|
|
Delegates.glUniformMatrix3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single* value)
|
|
{
|
|
Delegates.glUniformMatrix3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value);
|
|
}
|
|
|
|
public static
|
|
void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single[] value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = value)
|
|
{
|
|
Delegates.glUniformMatrix4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void UniformMatrix4(Int32 location, Int32 count, bool transpose, ref Single value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = &value)
|
|
{
|
|
Delegates.glUniformMatrix4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single* value)
|
|
{
|
|
Delegates.glUniformMatrix4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ValidateProgram(UInt32 program)
|
|
{
|
|
Delegates.glValidateProgram((UInt32)program);
|
|
}
|
|
|
|
public static
|
|
void ValidateProgram(Int32 program)
|
|
{
|
|
Delegates.glValidateProgram((UInt32)program);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib1(UInt32 index, Double x)
|
|
{
|
|
Delegates.glVertexAttrib1d((UInt32)index, (Double)x);
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib1(Int32 index, Double x)
|
|
{
|
|
Delegates.glVertexAttrib1d((UInt32)index, (Double)x);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib1v(UInt32 index, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib1dv((UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib1v(Int32 index, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib1dv((UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib1v(UInt32 index, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib1dv((UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib1v(Int32 index, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib1dv((UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib1v(UInt32 index, Double* v)
|
|
{
|
|
Delegates.glVertexAttrib1dv((UInt32)index, (Double*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib1v(Int32 index, Double* v)
|
|
{
|
|
Delegates.glVertexAttrib1dv((UInt32)index, (Double*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib1(UInt32 index, Single x)
|
|
{
|
|
Delegates.glVertexAttrib1f((UInt32)index, (Single)x);
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib1(Int32 index, Single x)
|
|
{
|
|
Delegates.glVertexAttrib1f((UInt32)index, (Single)x);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib1v(UInt32 index, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib1fv((UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib1v(Int32 index, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib1fv((UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib1v(UInt32 index, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib1fv((UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib1v(Int32 index, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib1fv((UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib1v(UInt32 index, Single* v)
|
|
{
|
|
Delegates.glVertexAttrib1fv((UInt32)index, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib1v(Int32 index, Single* v)
|
|
{
|
|
Delegates.glVertexAttrib1fv((UInt32)index, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib1(UInt32 index, Int16 x)
|
|
{
|
|
Delegates.glVertexAttrib1s((UInt32)index, (Int16)x);
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib1(Int32 index, Int16 x)
|
|
{
|
|
Delegates.glVertexAttrib1s((UInt32)index, (Int16)x);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib1v(UInt32 index, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib1sv((UInt32)index, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib1v(Int32 index, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib1sv((UInt32)index, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib1v(UInt32 index, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib1sv((UInt32)index, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib1v(Int32 index, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib1sv((UInt32)index, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib1v(UInt32 index, Int16* v)
|
|
{
|
|
Delegates.glVertexAttrib1sv((UInt32)index, (Int16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib1v(Int32 index, Int16* v)
|
|
{
|
|
Delegates.glVertexAttrib1sv((UInt32)index, (Int16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib2(UInt32 index, Double x, Double y)
|
|
{
|
|
Delegates.glVertexAttrib2d((UInt32)index, (Double)x, (Double)y);
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib2(Int32 index, Double x, Double y)
|
|
{
|
|
Delegates.glVertexAttrib2d((UInt32)index, (Double)x, (Double)y);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib2(UInt32 index, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib2(Int32 index, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib2(UInt32 index, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib2(Int32 index, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib2(UInt32 index, Double* v)
|
|
{
|
|
Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib2(Int32 index, Double* v)
|
|
{
|
|
Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib2(UInt32 index, Single x, Single y)
|
|
{
|
|
Delegates.glVertexAttrib2f((UInt32)index, (Single)x, (Single)y);
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib2(Int32 index, Single x, Single y)
|
|
{
|
|
Delegates.glVertexAttrib2f((UInt32)index, (Single)x, (Single)y);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib2(UInt32 index, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib2(Int32 index, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib2(UInt32 index, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib2(Int32 index, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib2(UInt32 index, Single* v)
|
|
{
|
|
Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib2(Int32 index, Single* v)
|
|
{
|
|
Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib2(UInt32 index, Int16 x, Int16 y)
|
|
{
|
|
Delegates.glVertexAttrib2s((UInt32)index, (Int16)x, (Int16)y);
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib2(Int32 index, Int16 x, Int16 y)
|
|
{
|
|
Delegates.glVertexAttrib2s((UInt32)index, (Int16)x, (Int16)y);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib2(UInt32 index, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib2(Int32 index, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib2(UInt32 index, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib2(Int32 index, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib2(UInt32 index, Int16* v)
|
|
{
|
|
Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib2(Int32 index, Int16* v)
|
|
{
|
|
Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib3(UInt32 index, Double x, Double y, Double z)
|
|
{
|
|
Delegates.glVertexAttrib3d((UInt32)index, (Double)x, (Double)y, (Double)z);
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib3(Int32 index, Double x, Double y, Double z)
|
|
{
|
|
Delegates.glVertexAttrib3d((UInt32)index, (Double)x, (Double)y, (Double)z);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib3(UInt32 index, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib3(Int32 index, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib3(UInt32 index, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib3(Int32 index, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib3(UInt32 index, Double* v)
|
|
{
|
|
Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib3(Int32 index, Double* v)
|
|
{
|
|
Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib3(UInt32 index, Single x, Single y, Single z)
|
|
{
|
|
Delegates.glVertexAttrib3f((UInt32)index, (Single)x, (Single)y, (Single)z);
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib3(Int32 index, Single x, Single y, Single z)
|
|
{
|
|
Delegates.glVertexAttrib3f((UInt32)index, (Single)x, (Single)y, (Single)z);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib3(UInt32 index, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib3(Int32 index, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib3(UInt32 index, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib3(Int32 index, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib3(UInt32 index, Single* v)
|
|
{
|
|
Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib3(Int32 index, Single* v)
|
|
{
|
|
Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib3(UInt32 index, Int16 x, Int16 y, Int16 z)
|
|
{
|
|
Delegates.glVertexAttrib3s((UInt32)index, (Int16)x, (Int16)y, (Int16)z);
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib3(Int32 index, Int16 x, Int16 y, Int16 z)
|
|
{
|
|
Delegates.glVertexAttrib3s((UInt32)index, (Int16)x, (Int16)y, (Int16)z);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib3(UInt32 index, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib3(Int32 index, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib3(UInt32 index, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib3(Int32 index, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib3(UInt32 index, Int16* v)
|
|
{
|
|
Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib3(Int32 index, Int16* v)
|
|
{
|
|
Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4N(UInt32 index, SByte[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (SByte* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib4Nbv((UInt32)index, (SByte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4N(UInt32 index, ref SByte v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (SByte* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib4Nbv((UInt32)index, (SByte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib4N(UInt32 index, SByte* v)
|
|
{
|
|
Delegates.glVertexAttrib4Nbv((UInt32)index, (SByte*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4N(UInt32 index, Int32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4N(UInt32 index, ref Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib4N(UInt32 index, Int32* v)
|
|
{
|
|
Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4N(UInt32 index, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4N(UInt32 index, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib4N(UInt32 index, Int16* v)
|
|
{
|
|
Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4N(UInt32 index, Byte x, Byte y, Byte z, Byte w)
|
|
{
|
|
Delegates.glVertexAttrib4Nub((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w);
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib4N(Int32 index, Byte x, Byte y, Byte z, Byte w)
|
|
{
|
|
Delegates.glVertexAttrib4Nub((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4N(UInt32 index, Byte[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib4N(Int32 index, Byte[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4N(UInt32 index, ref Byte v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib4N(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 VertexAttrib4N(UInt32 index, Byte* v)
|
|
{
|
|
Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib4N(Int32 index, Byte* v)
|
|
{
|
|
Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4N(UInt32 index, UInt32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib4Nuiv((UInt32)index, (UInt32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib4N(Int32 index, Int32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib4Nuiv((UInt32)index, (UInt32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4N(UInt32 index, ref UInt32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib4Nuiv((UInt32)index, (UInt32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib4N(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 VertexAttrib4N(UInt32 index, UInt32* v)
|
|
{
|
|
Delegates.glVertexAttrib4Nuiv((UInt32)index, (UInt32*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib4N(Int32 index, Int32* v)
|
|
{
|
|
Delegates.glVertexAttrib4Nuiv((UInt32)index, (UInt32*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4N(UInt32 index, UInt16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib4Nusv((UInt32)index, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib4N(Int32 index, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib4Nusv((UInt32)index, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4N(UInt32 index, ref UInt16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib4Nusv((UInt32)index, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib4N(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 VertexAttrib4N(UInt32 index, UInt16* v)
|
|
{
|
|
Delegates.glVertexAttrib4Nusv((UInt32)index, (UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib4N(Int32 index, Int16* v)
|
|
{
|
|
Delegates.glVertexAttrib4Nusv((UInt32)index, (UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4(UInt32 index, SByte[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (SByte* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib4bv((UInt32)index, (SByte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4(UInt32 index, ref SByte v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (SByte* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib4bv((UInt32)index, (SByte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib4(UInt32 index, SByte* v)
|
|
{
|
|
Delegates.glVertexAttrib4bv((UInt32)index, (SByte*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4(UInt32 index, Double x, Double y, Double z, Double w)
|
|
{
|
|
Delegates.glVertexAttrib4d((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w);
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib4(Int32 index, Double x, Double y, Double z, Double w)
|
|
{
|
|
Delegates.glVertexAttrib4d((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4(UInt32 index, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib4(Int32 index, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4(UInt32 index, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib4(Int32 index, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib4(UInt32 index, Double* v)
|
|
{
|
|
Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib4(Int32 index, Double* v)
|
|
{
|
|
Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4(UInt32 index, Single x, Single y, Single z, Single w)
|
|
{
|
|
Delegates.glVertexAttrib4f((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w);
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib4(Int32 index, Single x, Single y, Single z, Single w)
|
|
{
|
|
Delegates.glVertexAttrib4f((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4(UInt32 index, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib4(Int32 index, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4(UInt32 index, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib4(Int32 index, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib4(UInt32 index, Single* v)
|
|
{
|
|
Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib4(Int32 index, Single* v)
|
|
{
|
|
Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4(UInt32 index, Int32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4(UInt32 index, ref Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib4(UInt32 index, Int32* v)
|
|
{
|
|
Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w)
|
|
{
|
|
Delegates.glVertexAttrib4s((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w);
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib4(Int32 index, Int16 x, Int16 y, Int16 z, Int16 w)
|
|
{
|
|
Delegates.glVertexAttrib4s((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4(UInt32 index, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4(UInt32 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, Int16* v)
|
|
{
|
|
Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)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
|
|
{
|
|
fixed (Byte* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4(UInt32 index, ref Byte v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
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, Byte* v)
|
|
{
|
|
Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib4(Int32 index, Byte* v)
|
|
{
|
|
Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4(UInt32 index, UInt32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib4uiv((UInt32)index, (UInt32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
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)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib4uiv((UInt32)index, (UInt32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
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, UInt32* v)
|
|
{
|
|
Delegates.glVertexAttrib4uiv((UInt32)index, (UInt32*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib4(Int32 index, Int32* v)
|
|
{
|
|
Delegates.glVertexAttrib4uiv((UInt32)index, (UInt32*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4(UInt32 index, UInt16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib4usv((UInt32)index, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
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)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib4usv((UInt32)index, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
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 VertexAttrib4(UInt32 index, UInt16* v)
|
|
{
|
|
Delegates.glVertexAttrib4usv((UInt32)index, (UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib4(Int32 index, Int16* v)
|
|
{
|
|
Delegates.glVertexAttrib4usv((UInt32)index, (UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer);
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, [In, Out] object pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, [In, Out] object pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Single[] value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = value)
|
|
{
|
|
Delegates.glUniformMatrix2x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, ref Single value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = &value)
|
|
{
|
|
Delegates.glUniformMatrix2x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Single* value)
|
|
{
|
|
Delegates.glUniformMatrix2x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value);
|
|
}
|
|
|
|
public static
|
|
void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Single[] value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = value)
|
|
{
|
|
Delegates.glUniformMatrix3x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, ref Single value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = &value)
|
|
{
|
|
Delegates.glUniformMatrix3x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Single* value)
|
|
{
|
|
Delegates.glUniformMatrix3x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value);
|
|
}
|
|
|
|
public static
|
|
void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Single[] value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = value)
|
|
{
|
|
Delegates.glUniformMatrix2x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, ref Single value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = &value)
|
|
{
|
|
Delegates.glUniformMatrix2x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Single* value)
|
|
{
|
|
Delegates.glUniformMatrix2x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value);
|
|
}
|
|
|
|
public static
|
|
void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Single[] value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = value)
|
|
{
|
|
Delegates.glUniformMatrix4x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, ref Single value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = &value)
|
|
{
|
|
Delegates.glUniformMatrix4x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Single* value)
|
|
{
|
|
Delegates.glUniformMatrix4x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value);
|
|
}
|
|
|
|
public static
|
|
void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Single[] value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = value)
|
|
{
|
|
Delegates.glUniformMatrix3x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, ref Single value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = &value)
|
|
{
|
|
Delegates.glUniformMatrix3x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Single* value)
|
|
{
|
|
Delegates.glUniformMatrix3x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value);
|
|
}
|
|
|
|
public static
|
|
void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Single[] value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = value)
|
|
{
|
|
Delegates.glUniformMatrix4x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, ref Single value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = &value)
|
|
{
|
|
Delegates.glUniformMatrix4x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Single* value)
|
|
{
|
|
Delegates.glUniformMatrix4x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value);
|
|
}
|
|
|
|
public static
|
|
void PolygonOffsetEXT(Single factor, Single bias)
|
|
{
|
|
Delegates.glPolygonOffsetEXT((Single)factor, (Single)bias);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
bool AreTexturesResidentEXT(Int32 n, UInt32[] textures, [Out] bool[] residences)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* textures_ptr = textures)
|
|
fixed (bool* residences_ptr = residences)
|
|
{
|
|
return Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures_ptr, (bool*)residences_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
bool AreTexturesResidentEXT(Int32 n, Int32[] textures, [Out] bool[] residences)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* textures_ptr = textures)
|
|
fixed (bool* residences_ptr = residences)
|
|
{
|
|
return Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures_ptr, (bool*)residences_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
bool AreTexturesResidentEXT(Int32 n, ref UInt32 textures, [Out] out bool residences)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* textures_ptr = &textures)
|
|
fixed (bool* residences_ptr = &residences)
|
|
{
|
|
bool retval = Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures_ptr, (bool*)residences_ptr);
|
|
residences = *residences_ptr;
|
|
return retval;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
bool AreTexturesResidentEXT(Int32 n, ref Int32 textures, [Out] out bool residences)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* textures_ptr = &textures)
|
|
fixed (bool* residences_ptr = &residences)
|
|
{
|
|
bool retval = Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures_ptr, (bool*)residences_ptr);
|
|
residences = *residences_ptr;
|
|
return retval;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe bool AreTexturesResidentEXT(Int32 n, UInt32* textures, [Out] bool* residences)
|
|
{
|
|
return Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures, (bool*)residences);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe bool AreTexturesResidentEXT(Int32 n, Int32* textures, [Out] bool* residences)
|
|
{
|
|
return Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures, (bool*)residences);
|
|
}
|
|
|
|
public static
|
|
void ArrayElementEXT(Int32 i)
|
|
{
|
|
Delegates.glArrayElementEXT((Int32)i);
|
|
}
|
|
|
|
public static
|
|
void TextureLightEXT(OpenTK.Graphics.All pname)
|
|
{
|
|
Delegates.glTextureLightEXT((OpenTK.Graphics.All)pname);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void InsertComponentEXT(UInt32 res, UInt32 src, UInt32 num)
|
|
{
|
|
Delegates.glInsertComponentEXT((UInt32)res, (UInt32)src, (UInt32)num);
|
|
}
|
|
|
|
public static
|
|
void InsertComponentEXT(Int32 res, Int32 src, Int32 num)
|
|
{
|
|
Delegates.glInsertComponentEXT((UInt32)res, (UInt32)src, (UInt32)num);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ExtractComponentEXT(UInt32 res, UInt32 src, UInt32 num)
|
|
{
|
|
Delegates.glExtractComponentEXT((UInt32)res, (UInt32)src, (UInt32)num);
|
|
}
|
|
|
|
public static
|
|
void ExtractComponentEXT(Int32 res, Int32 src, Int32 num)
|
|
{
|
|
Delegates.glExtractComponentEXT((UInt32)res, (UInt32)src, (UInt32)num);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void SetInvariantEXT(UInt32 id, OpenTK.Graphics.All type, IntPtr addr)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.All)type, (IntPtr)addr);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void SetInvariantEXT(Int32 id, OpenTK.Graphics.All type, IntPtr addr)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.All)type, (IntPtr)addr);
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void SetInvariantEXT(UInt32 id, OpenTK.Graphics.All type, [In, Out] object addr)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle addr_ptr = System.Runtime.InteropServices.GCHandle.Alloc(addr, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.All)type, (IntPtr)addr_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
addr_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void SetInvariantEXT(Int32 id, OpenTK.Graphics.All type, [In, Out] object addr)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle addr_ptr = System.Runtime.InteropServices.GCHandle.Alloc(addr, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.All)type, (IntPtr)addr_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
addr_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void SetLocalConstantEXT(UInt32 id, OpenTK.Graphics.All type, IntPtr addr)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.All)type, (IntPtr)addr);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void SetLocalConstantEXT(Int32 id, OpenTK.Graphics.All type, IntPtr addr)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.All)type, (IntPtr)addr);
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void SetLocalConstantEXT(UInt32 id, OpenTK.Graphics.All type, [In, Out] object addr)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle addr_ptr = System.Runtime.InteropServices.GCHandle.Alloc(addr, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.All)type, (IntPtr)addr_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
addr_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void SetLocalConstantEXT(Int32 id, OpenTK.Graphics.All type, [In, Out] object addr)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle addr_ptr = System.Runtime.InteropServices.GCHandle.Alloc(addr, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.All)type, (IntPtr)addr_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
addr_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
IntPtr GetUniformOffsetEXT(UInt32 program, Int32 location)
|
|
{
|
|
return Delegates.glGetUniformOffsetEXT((UInt32)program, (Int32)location);
|
|
}
|
|
|
|
public static
|
|
IntPtr GetUniformOffsetEXT(Int32 program, Int32 location)
|
|
{
|
|
return Delegates.glGetUniformOffsetEXT((UInt32)program, (Int32)location);
|
|
}
|
|
|
|
public static partial class NV
|
|
{
|
|
public static
|
|
void GetBoolea(OpenTK.Graphics.GetPName pname, [Out] bool[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (bool* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetBooleanv((OpenTK.Graphics.GetPName)pname, (bool*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetBoolea(OpenTK.Graphics.GetPName pname, [Out] out bool @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (bool* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetBooleanv((OpenTK.Graphics.GetPName)pname, (bool*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetBoolea(OpenTK.Graphics.GetPName pname, [Out] bool* @params)
|
|
{
|
|
Delegates.glGetBooleanv((OpenTK.Graphics.GetPName)pname, (bool*)@params);
|
|
}
|
|
|
|
public static
|
|
void FlushVertexArrayRange()
|
|
{
|
|
Delegates.glFlushVertexArrayRangeNV();
|
|
}
|
|
|
|
public static
|
|
void VertexArrayRange(Int32 length, IntPtr pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glVertexArrayRangeNV((Int32)length, (IntPtr)pointer);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexArrayRange(Int32 length, [In, Out] object pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glVertexArrayRangeNV((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CombinerParameterv(OpenTK.Graphics.All pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glCombinerParameterfvNV((OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CombinerParameterv(OpenTK.Graphics.All pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glCombinerParameterfvNV((OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void CombinerParameterv(OpenTK.Graphics.All pname, Single* @params)
|
|
{
|
|
Delegates.glCombinerParameterfvNV((OpenTK.Graphics.All)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void CombinerParameter(OpenTK.Graphics.All pname, Single param)
|
|
{
|
|
Delegates.glCombinerParameterfNV((OpenTK.Graphics.All)pname, (Single)param);
|
|
}
|
|
|
|
public static
|
|
void CombinerParameterv(OpenTK.Graphics.All pname, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glCombinerParameterivNV((OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CombinerParameterv(OpenTK.Graphics.All pname, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glCombinerParameterivNV((OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void CombinerParameterv(OpenTK.Graphics.All pname, Int32* @params)
|
|
{
|
|
Delegates.glCombinerParameterivNV((OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void CombinerParameter(OpenTK.Graphics.All pname, Int32 param)
|
|
{
|
|
Delegates.glCombinerParameteriNV((OpenTK.Graphics.All)pname, (Int32)param);
|
|
}
|
|
|
|
public static
|
|
void CombinerInput(OpenTK.Graphics.All stage, OpenTK.Graphics.All portion, OpenTK.Graphics.All variable, OpenTK.Graphics.All input, OpenTK.Graphics.All mapping, OpenTK.Graphics.All componentUsage)
|
|
{
|
|
Delegates.glCombinerInputNV((OpenTK.Graphics.All)stage, (OpenTK.Graphics.All)portion, (OpenTK.Graphics.All)variable, (OpenTK.Graphics.All)input, (OpenTK.Graphics.All)mapping, (OpenTK.Graphics.All)componentUsage);
|
|
}
|
|
|
|
public static
|
|
void CombinerOutput(OpenTK.Graphics.All stage, OpenTK.Graphics.All portion, OpenTK.Graphics.All abOutput, OpenTK.Graphics.All cdOutput, OpenTK.Graphics.All sumOutput, OpenTK.Graphics.All scale, OpenTK.Graphics.All bias, bool abDotProduct, bool cdDotProduct, bool muxSum)
|
|
{
|
|
Delegates.glCombinerOutputNV((OpenTK.Graphics.All)stage, (OpenTK.Graphics.All)portion, (OpenTK.Graphics.All)abOutput, (OpenTK.Graphics.All)cdOutput, (OpenTK.Graphics.All)sumOutput, (OpenTK.Graphics.All)scale, (OpenTK.Graphics.All)bias, (bool)abDotProduct, (bool)cdDotProduct, (bool)muxSum);
|
|
}
|
|
|
|
public static
|
|
void FinalCombinerInput(OpenTK.Graphics.All variable, OpenTK.Graphics.All input, OpenTK.Graphics.All mapping, OpenTK.Graphics.All componentUsage)
|
|
{
|
|
Delegates.glFinalCombinerInputNV((OpenTK.Graphics.All)variable, (OpenTK.Graphics.All)input, (OpenTK.Graphics.All)mapping, (OpenTK.Graphics.All)componentUsage);
|
|
}
|
|
|
|
public static
|
|
void GetCombinerInputParameter(OpenTK.Graphics.All stage, OpenTK.Graphics.All portion, OpenTK.Graphics.All variable, OpenTK.Graphics.All pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetCombinerInputParameterfvNV((OpenTK.Graphics.All)stage, (OpenTK.Graphics.All)portion, (OpenTK.Graphics.All)variable, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetCombinerInputParameter(OpenTK.Graphics.All stage, OpenTK.Graphics.All portion, OpenTK.Graphics.All variable, OpenTK.Graphics.All pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetCombinerInputParameterfvNV((OpenTK.Graphics.All)stage, (OpenTK.Graphics.All)portion, (OpenTK.Graphics.All)variable, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetCombinerInputParameter(OpenTK.Graphics.All stage, OpenTK.Graphics.All portion, OpenTK.Graphics.All variable, OpenTK.Graphics.All pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetCombinerInputParameterfvNV((OpenTK.Graphics.All)stage, (OpenTK.Graphics.All)portion, (OpenTK.Graphics.All)variable, (OpenTK.Graphics.All)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetCombinerInputParameter(OpenTK.Graphics.All stage, OpenTK.Graphics.All portion, OpenTK.Graphics.All variable, OpenTK.Graphics.All pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetCombinerInputParameterivNV((OpenTK.Graphics.All)stage, (OpenTK.Graphics.All)portion, (OpenTK.Graphics.All)variable, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetCombinerInputParameter(OpenTK.Graphics.All stage, OpenTK.Graphics.All portion, OpenTK.Graphics.All variable, OpenTK.Graphics.All pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetCombinerInputParameterivNV((OpenTK.Graphics.All)stage, (OpenTK.Graphics.All)portion, (OpenTK.Graphics.All)variable, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetCombinerInputParameter(OpenTK.Graphics.All stage, OpenTK.Graphics.All portion, OpenTK.Graphics.All variable, OpenTK.Graphics.All pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetCombinerInputParameterivNV((OpenTK.Graphics.All)stage, (OpenTK.Graphics.All)portion, (OpenTK.Graphics.All)variable, (OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetCombinerOutputParameter(OpenTK.Graphics.All stage, OpenTK.Graphics.All portion, OpenTK.Graphics.All pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetCombinerOutputParameterfvNV((OpenTK.Graphics.All)stage, (OpenTK.Graphics.All)portion, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetCombinerOutputParameter(OpenTK.Graphics.All stage, OpenTK.Graphics.All portion, OpenTK.Graphics.All pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetCombinerOutputParameterfvNV((OpenTK.Graphics.All)stage, (OpenTK.Graphics.All)portion, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetCombinerOutputParameter(OpenTK.Graphics.All stage, OpenTK.Graphics.All portion, OpenTK.Graphics.All pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetCombinerOutputParameterfvNV((OpenTK.Graphics.All)stage, (OpenTK.Graphics.All)portion, (OpenTK.Graphics.All)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetCombinerOutputParameter(OpenTK.Graphics.All stage, OpenTK.Graphics.All portion, OpenTK.Graphics.All pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetCombinerOutputParameterivNV((OpenTK.Graphics.All)stage, (OpenTK.Graphics.All)portion, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetCombinerOutputParameter(OpenTK.Graphics.All stage, OpenTK.Graphics.All portion, OpenTK.Graphics.All pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetCombinerOutputParameterivNV((OpenTK.Graphics.All)stage, (OpenTK.Graphics.All)portion, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetCombinerOutputParameter(OpenTK.Graphics.All stage, OpenTK.Graphics.All portion, OpenTK.Graphics.All pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetCombinerOutputParameterivNV((OpenTK.Graphics.All)stage, (OpenTK.Graphics.All)portion, (OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetFinalCombinerInputParameter(OpenTK.Graphics.All variable, OpenTK.Graphics.All pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetFinalCombinerInputParameterfvNV((OpenTK.Graphics.All)variable, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetFinalCombinerInputParameter(OpenTK.Graphics.All variable, OpenTK.Graphics.All pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetFinalCombinerInputParameterfvNV((OpenTK.Graphics.All)variable, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetFinalCombinerInputParameter(OpenTK.Graphics.All variable, OpenTK.Graphics.All pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetFinalCombinerInputParameterfvNV((OpenTK.Graphics.All)variable, (OpenTK.Graphics.All)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetFinalCombinerInputParameter(OpenTK.Graphics.All variable, OpenTK.Graphics.All pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetFinalCombinerInputParameterivNV((OpenTK.Graphics.All)variable, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetFinalCombinerInputParameter(OpenTK.Graphics.All variable, OpenTK.Graphics.All pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetFinalCombinerInputParameterivNV((OpenTK.Graphics.All)variable, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetFinalCombinerInputParameter(OpenTK.Graphics.All variable, OpenTK.Graphics.All pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetFinalCombinerInputParameterivNV((OpenTK.Graphics.All)variable, (OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DeleteFences(Int32 n, UInt32[] fences)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* fences_ptr = fences)
|
|
{
|
|
Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DeleteFences(Int32 n, Int32[] fences)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* fences_ptr = fences)
|
|
{
|
|
Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DeleteFences(Int32 n, ref UInt32 fences)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* fences_ptr = &fences)
|
|
{
|
|
Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DeleteFences(Int32 n, ref Int32 fences)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* fences_ptr = &fences)
|
|
{
|
|
Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void DeleteFences(Int32 n, UInt32* fences)
|
|
{
|
|
Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void DeleteFences(Int32 n, Int32* fences)
|
|
{
|
|
Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GenFences(Int32 n, [Out] UInt32[] fences)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* fences_ptr = fences)
|
|
{
|
|
Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GenFences(Int32 n, [Out] Int32[] fences)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* fences_ptr = fences)
|
|
{
|
|
Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GenFences(Int32 n, [Out] out UInt32 fences)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* fences_ptr = &fences)
|
|
{
|
|
Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr);
|
|
fences = *fences_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GenFences(Int32 n, [Out] out Int32 fences)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* fences_ptr = &fences)
|
|
{
|
|
Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr);
|
|
fences = *fences_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GenFences(Int32 n, [Out] UInt32* fences)
|
|
{
|
|
Delegates.glGenFencesNV((Int32)n, (UInt32*)fences);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GenFences(Int32 n, [Out] Int32* fences)
|
|
{
|
|
Delegates.glGenFencesNV((Int32)n, (UInt32*)fences);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
bool IsFence(UInt32 fence)
|
|
{
|
|
return Delegates.glIsFenceNV((UInt32)fence);
|
|
}
|
|
|
|
public static
|
|
bool IsFence(Int32 fence)
|
|
{
|
|
return Delegates.glIsFenceNV((UInt32)fence);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
bool TestFence(UInt32 fence)
|
|
{
|
|
return Delegates.glTestFenceNV((UInt32)fence);
|
|
}
|
|
|
|
public static
|
|
bool TestFence(Int32 fence)
|
|
{
|
|
return Delegates.glTestFenceNV((UInt32)fence);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetFence(UInt32 fence, OpenTK.Graphics.All pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetFence(Int32 fence, OpenTK.Graphics.All pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetFence(UInt32 fence, OpenTK.Graphics.All pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetFence(Int32 fence, OpenTK.Graphics.All pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetFence(UInt32 fence, OpenTK.Graphics.All pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetFence(Int32 fence, OpenTK.Graphics.All pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void FinishFence(UInt32 fence)
|
|
{
|
|
Delegates.glFinishFenceNV((UInt32)fence);
|
|
}
|
|
|
|
public static
|
|
void FinishFence(Int32 fence)
|
|
{
|
|
Delegates.glFinishFenceNV((UInt32)fence);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void SetFence(UInt32 fence, OpenTK.Graphics.All condition)
|
|
{
|
|
Delegates.glSetFenceNV((UInt32)fence, (OpenTK.Graphics.All)condition);
|
|
}
|
|
|
|
public static
|
|
void SetFence(Int32 fence, OpenTK.Graphics.All condition)
|
|
{
|
|
Delegates.glSetFenceNV((UInt32)fence, (OpenTK.Graphics.All)condition);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void MapControlPoints(OpenTK.Graphics.All target, UInt32 index, OpenTK.Graphics.All type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, IntPtr points)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glMapControlPointsNV((OpenTK.Graphics.All)target, (UInt32)index, (OpenTK.Graphics.All)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MapControlPoints(OpenTK.Graphics.All target, Int32 index, OpenTK.Graphics.All type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, IntPtr points)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glMapControlPointsNV((OpenTK.Graphics.All)target, (UInt32)index, (OpenTK.Graphics.All)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points);
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void MapControlPoints(OpenTK.Graphics.All target, UInt32 index, OpenTK.Graphics.All type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] object points)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle points_ptr = System.Runtime.InteropServices.GCHandle.Alloc(points, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glMapControlPointsNV((OpenTK.Graphics.All)target, (UInt32)index, (OpenTK.Graphics.All)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
points_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MapControlPoints(OpenTK.Graphics.All target, Int32 index, OpenTK.Graphics.All type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] object points)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle points_ptr = System.Runtime.InteropServices.GCHandle.Alloc(points, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glMapControlPointsNV((OpenTK.Graphics.All)target, (UInt32)index, (OpenTK.Graphics.All)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
points_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MapParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glMapParameterivNV((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MapParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glMapParameterivNV((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MapParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, Int32* @params)
|
|
{
|
|
Delegates.glMapParameterivNV((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void MapParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glMapParameterfvNV((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MapParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glMapParameterfvNV((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MapParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, Single* @params)
|
|
{
|
|
Delegates.glMapParameterfvNV((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetMapControlPoints(OpenTK.Graphics.All target, UInt32 index, OpenTK.Graphics.All type, Int32 ustride, Int32 vstride, bool packed, [Out] IntPtr points)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glGetMapControlPointsNV((OpenTK.Graphics.All)target, (UInt32)index, (OpenTK.Graphics.All)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetMapControlPoints(OpenTK.Graphics.All target, Int32 index, OpenTK.Graphics.All type, Int32 ustride, Int32 vstride, bool packed, [Out] IntPtr points)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glGetMapControlPointsNV((OpenTK.Graphics.All)target, (UInt32)index, (OpenTK.Graphics.All)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points);
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetMapControlPoints(OpenTK.Graphics.All target, UInt32 index, OpenTK.Graphics.All type, Int32 ustride, Int32 vstride, bool packed, [In, Out] object points)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle points_ptr = System.Runtime.InteropServices.GCHandle.Alloc(points, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetMapControlPointsNV((OpenTK.Graphics.All)target, (UInt32)index, (OpenTK.Graphics.All)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
points_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetMapControlPoints(OpenTK.Graphics.All target, Int32 index, OpenTK.Graphics.All type, Int32 ustride, Int32 vstride, bool packed, [In, Out] object points)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle points_ptr = System.Runtime.InteropServices.GCHandle.Alloc(points, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetMapControlPointsNV((OpenTK.Graphics.All)target, (UInt32)index, (OpenTK.Graphics.All)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
points_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetMapParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetMapParameterivNV((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetMapParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetMapParameterivNV((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetMapParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetMapParameterivNV((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetMapParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetMapParameterfvNV((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetMapParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetMapParameterfvNV((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetMapParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetMapParameterfvNV((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetMapAttribParameter(OpenTK.Graphics.All target, UInt32 index, OpenTK.Graphics.All pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetMapAttribParameterivNV((OpenTK.Graphics.All)target, (UInt32)index, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetMapAttribParameter(OpenTK.Graphics.All target, Int32 index, OpenTK.Graphics.All pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetMapAttribParameterivNV((OpenTK.Graphics.All)target, (UInt32)index, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetMapAttribParameter(OpenTK.Graphics.All target, UInt32 index, OpenTK.Graphics.All pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetMapAttribParameterivNV((OpenTK.Graphics.All)target, (UInt32)index, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetMapAttribParameter(OpenTK.Graphics.All target, Int32 index, OpenTK.Graphics.All pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetMapAttribParameterivNV((OpenTK.Graphics.All)target, (UInt32)index, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetMapAttribParameter(OpenTK.Graphics.All target, UInt32 index, OpenTK.Graphics.All pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetMapAttribParameterivNV((OpenTK.Graphics.All)target, (UInt32)index, (OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetMapAttribParameter(OpenTK.Graphics.All target, Int32 index, OpenTK.Graphics.All pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetMapAttribParameterivNV((OpenTK.Graphics.All)target, (UInt32)index, (OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetMapAttribParameter(OpenTK.Graphics.All target, UInt32 index, OpenTK.Graphics.All pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetMapAttribParameterfvNV((OpenTK.Graphics.All)target, (UInt32)index, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetMapAttribParameter(OpenTK.Graphics.All target, Int32 index, OpenTK.Graphics.All pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetMapAttribParameterfvNV((OpenTK.Graphics.All)target, (UInt32)index, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetMapAttribParameter(OpenTK.Graphics.All target, UInt32 index, OpenTK.Graphics.All pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetMapAttribParameterfvNV((OpenTK.Graphics.All)target, (UInt32)index, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetMapAttribParameter(OpenTK.Graphics.All target, Int32 index, OpenTK.Graphics.All pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetMapAttribParameterfvNV((OpenTK.Graphics.All)target, (UInt32)index, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetMapAttribParameter(OpenTK.Graphics.All target, UInt32 index, OpenTK.Graphics.All pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetMapAttribParameterfvNV((OpenTK.Graphics.All)target, (UInt32)index, (OpenTK.Graphics.All)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetMapAttribParameter(OpenTK.Graphics.All target, Int32 index, OpenTK.Graphics.All pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetMapAttribParameterfvNV((OpenTK.Graphics.All)target, (UInt32)index, (OpenTK.Graphics.All)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void EvalMap(OpenTK.Graphics.All target, OpenTK.Graphics.All mode)
|
|
{
|
|
Delegates.glEvalMapsNV((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)mode);
|
|
}
|
|
|
|
public static
|
|
void CombinerStageParameter(OpenTK.Graphics.All stage, OpenTK.Graphics.All pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glCombinerStageParameterfvNV((OpenTK.Graphics.All)stage, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CombinerStageParameter(OpenTK.Graphics.All stage, OpenTK.Graphics.All pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glCombinerStageParameterfvNV((OpenTK.Graphics.All)stage, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void CombinerStageParameter(OpenTK.Graphics.All stage, OpenTK.Graphics.All pname, Single* @params)
|
|
{
|
|
Delegates.glCombinerStageParameterfvNV((OpenTK.Graphics.All)stage, (OpenTK.Graphics.All)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetCombinerStageParameter(OpenTK.Graphics.All stage, OpenTK.Graphics.All pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetCombinerStageParameterfvNV((OpenTK.Graphics.All)stage, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetCombinerStageParameter(OpenTK.Graphics.All stage, OpenTK.Graphics.All pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetCombinerStageParameterfvNV((OpenTK.Graphics.All)stage, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetCombinerStageParameter(OpenTK.Graphics.All stage, OpenTK.Graphics.All pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetCombinerStageParameterfvNV((OpenTK.Graphics.All)stage, (OpenTK.Graphics.All)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
bool AreProgramsResident(Int32 n, UInt32[] programs, [Out] bool[] residences)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* programs_ptr = programs)
|
|
fixed (bool* residences_ptr = residences)
|
|
{
|
|
return Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs_ptr, (bool*)residences_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
bool AreProgramsResident(Int32 n, Int32[] programs, [Out] bool[] residences)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* programs_ptr = programs)
|
|
fixed (bool* residences_ptr = residences)
|
|
{
|
|
return Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs_ptr, (bool*)residences_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
bool AreProgramsResident(Int32 n, ref UInt32 programs, [Out] out bool residences)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* programs_ptr = &programs)
|
|
fixed (bool* residences_ptr = &residences)
|
|
{
|
|
bool retval = Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs_ptr, (bool*)residences_ptr);
|
|
residences = *residences_ptr;
|
|
return retval;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
bool AreProgramsResident(Int32 n, ref Int32 programs, [Out] out bool residences)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* programs_ptr = &programs)
|
|
fixed (bool* residences_ptr = &residences)
|
|
{
|
|
bool retval = Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs_ptr, (bool*)residences_ptr);
|
|
residences = *residences_ptr;
|
|
return retval;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe bool AreProgramsResident(Int32 n, UInt32* programs, [Out] bool* residences)
|
|
{
|
|
return Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs, (bool*)residences);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe bool AreProgramsResident(Int32 n, Int32* programs, [Out] bool* residences)
|
|
{
|
|
return Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs, (bool*)residences);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void BindProgram(OpenTK.Graphics.All target, UInt32 id)
|
|
{
|
|
Delegates.glBindProgramNV((OpenTK.Graphics.All)target, (UInt32)id);
|
|
}
|
|
|
|
public static
|
|
void BindProgram(OpenTK.Graphics.All target, Int32 id)
|
|
{
|
|
Delegates.glBindProgramNV((OpenTK.Graphics.All)target, (UInt32)id);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DeleteProgram(Int32 n, UInt32[] programs)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* programs_ptr = programs)
|
|
{
|
|
Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DeleteProgram(Int32 n, Int32[] programs)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* programs_ptr = programs)
|
|
{
|
|
Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DeleteProgram(Int32 n, ref UInt32 programs)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* programs_ptr = &programs)
|
|
{
|
|
Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DeleteProgram(Int32 n, ref Int32 programs)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* programs_ptr = &programs)
|
|
{
|
|
Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void DeleteProgram(Int32 n, UInt32* programs)
|
|
{
|
|
Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void DeleteProgram(Int32 n, Int32* programs)
|
|
{
|
|
Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ExecuteProgram(OpenTK.Graphics.All target, UInt32 id, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glExecuteProgramNV((OpenTK.Graphics.All)target, (UInt32)id, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ExecuteProgram(OpenTK.Graphics.All target, Int32 id, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glExecuteProgramNV((OpenTK.Graphics.All)target, (UInt32)id, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ExecuteProgram(OpenTK.Graphics.All target, UInt32 id, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glExecuteProgramNV((OpenTK.Graphics.All)target, (UInt32)id, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ExecuteProgram(OpenTK.Graphics.All target, Int32 id, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glExecuteProgramNV((OpenTK.Graphics.All)target, (UInt32)id, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ExecuteProgram(OpenTK.Graphics.All target, UInt32 id, Single* @params)
|
|
{
|
|
Delegates.glExecuteProgramNV((OpenTK.Graphics.All)target, (UInt32)id, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ExecuteProgram(OpenTK.Graphics.All target, Int32 id, Single* @params)
|
|
{
|
|
Delegates.glExecuteProgramNV((OpenTK.Graphics.All)target, (UInt32)id, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GenProgram(Int32 n, [Out] UInt32[] programs)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* programs_ptr = programs)
|
|
{
|
|
Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GenProgram(Int32 n, [Out] Int32[] programs)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* programs_ptr = programs)
|
|
{
|
|
Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GenProgram(Int32 n, [Out] out UInt32 programs)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* programs_ptr = &programs)
|
|
{
|
|
Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs_ptr);
|
|
programs = *programs_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GenProgram(Int32 n, [Out] out Int32 programs)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* programs_ptr = &programs)
|
|
{
|
|
Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs_ptr);
|
|
programs = *programs_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GenProgram(Int32 n, [Out] UInt32* programs)
|
|
{
|
|
Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GenProgram(Int32 n, [Out] Int32* programs)
|
|
{
|
|
Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgramParameter(OpenTK.Graphics.All target, UInt32 index, OpenTK.Graphics.All pname, [Out] Double[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetProgramParameterdvNV((OpenTK.Graphics.All)target, (UInt32)index, (OpenTK.Graphics.All)pname, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgramParameter(OpenTK.Graphics.All target, Int32 index, OpenTK.Graphics.All pname, [Out] Double[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetProgramParameterdvNV((OpenTK.Graphics.All)target, (UInt32)index, (OpenTK.Graphics.All)pname, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgramParameter(OpenTK.Graphics.All target, UInt32 index, OpenTK.Graphics.All pname, [Out] out Double @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetProgramParameterdvNV((OpenTK.Graphics.All)target, (UInt32)index, (OpenTK.Graphics.All)pname, (Double*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgramParameter(OpenTK.Graphics.All target, Int32 index, OpenTK.Graphics.All pname, [Out] out Double @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetProgramParameterdvNV((OpenTK.Graphics.All)target, (UInt32)index, (OpenTK.Graphics.All)pname, (Double*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgramParameter(OpenTK.Graphics.All target, UInt32 index, OpenTK.Graphics.All pname, [Out] Double* @params)
|
|
{
|
|
Delegates.glGetProgramParameterdvNV((OpenTK.Graphics.All)target, (UInt32)index, (OpenTK.Graphics.All)pname, (Double*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgramParameter(OpenTK.Graphics.All target, Int32 index, OpenTK.Graphics.All pname, [Out] Double* @params)
|
|
{
|
|
Delegates.glGetProgramParameterdvNV((OpenTK.Graphics.All)target, (UInt32)index, (OpenTK.Graphics.All)pname, (Double*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgramParameter(OpenTK.Graphics.All target, UInt32 index, OpenTK.Graphics.All pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetProgramParameterfvNV((OpenTK.Graphics.All)target, (UInt32)index, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgramParameter(OpenTK.Graphics.All target, Int32 index, OpenTK.Graphics.All pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetProgramParameterfvNV((OpenTK.Graphics.All)target, (UInt32)index, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgramParameter(OpenTK.Graphics.All target, UInt32 index, OpenTK.Graphics.All pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetProgramParameterfvNV((OpenTK.Graphics.All)target, (UInt32)index, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgramParameter(OpenTK.Graphics.All target, Int32 index, OpenTK.Graphics.All pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetProgramParameterfvNV((OpenTK.Graphics.All)target, (UInt32)index, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgramParameter(OpenTK.Graphics.All target, UInt32 index, OpenTK.Graphics.All pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetProgramParameterfvNV((OpenTK.Graphics.All)target, (UInt32)index, (OpenTK.Graphics.All)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgramParameter(OpenTK.Graphics.All target, Int32 index, OpenTK.Graphics.All pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetProgramParameterfvNV((OpenTK.Graphics.All)target, (UInt32)index, (OpenTK.Graphics.All)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgram(UInt32 id, OpenTK.Graphics.All pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetProgramivNV((UInt32)id, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgram(Int32 id, OpenTK.Graphics.All pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetProgramivNV((UInt32)id, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgram(UInt32 id, OpenTK.Graphics.All pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetProgramivNV((UInt32)id, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgram(Int32 id, OpenTK.Graphics.All pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetProgramivNV((UInt32)id, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgram(UInt32 id, OpenTK.Graphics.All pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetProgramivNV((UInt32)id, (OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgram(Int32 id, OpenTK.Graphics.All pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetProgramivNV((UInt32)id, (OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgramString(UInt32 id, OpenTK.Graphics.All pname, [Out] Byte[] program)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* program_ptr = program)
|
|
{
|
|
Delegates.glGetProgramStringNV((UInt32)id, (OpenTK.Graphics.All)pname, (Byte*)program_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgramString(Int32 id, OpenTK.Graphics.All pname, [Out] Byte[] program)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* program_ptr = program)
|
|
{
|
|
Delegates.glGetProgramStringNV((UInt32)id, (OpenTK.Graphics.All)pname, (Byte*)program_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgramString(UInt32 id, OpenTK.Graphics.All pname, [Out] out Byte program)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* program_ptr = &program)
|
|
{
|
|
Delegates.glGetProgramStringNV((UInt32)id, (OpenTK.Graphics.All)pname, (Byte*)program_ptr);
|
|
program = *program_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgramString(Int32 id, OpenTK.Graphics.All pname, [Out] out Byte program)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* program_ptr = &program)
|
|
{
|
|
Delegates.glGetProgramStringNV((UInt32)id, (OpenTK.Graphics.All)pname, (Byte*)program_ptr);
|
|
program = *program_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgramString(UInt32 id, OpenTK.Graphics.All pname, [Out] Byte* program)
|
|
{
|
|
Delegates.glGetProgramStringNV((UInt32)id, (OpenTK.Graphics.All)pname, (Byte*)program);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgramString(Int32 id, OpenTK.Graphics.All pname, [Out] Byte* program)
|
|
{
|
|
Delegates.glGetProgramStringNV((UInt32)id, (OpenTK.Graphics.All)pname, (Byte*)program);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetTrackMatrix(OpenTK.Graphics.All target, UInt32 address, OpenTK.Graphics.All pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetTrackMatrixivNV((OpenTK.Graphics.All)target, (UInt32)address, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetTrackMatrix(OpenTK.Graphics.All target, Int32 address, OpenTK.Graphics.All pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetTrackMatrixivNV((OpenTK.Graphics.All)target, (UInt32)address, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetTrackMatrix(OpenTK.Graphics.All target, UInt32 address, OpenTK.Graphics.All pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetTrackMatrixivNV((OpenTK.Graphics.All)target, (UInt32)address, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetTrackMatrix(OpenTK.Graphics.All target, Int32 address, OpenTK.Graphics.All pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetTrackMatrixivNV((OpenTK.Graphics.All)target, (UInt32)address, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetTrackMatrix(OpenTK.Graphics.All target, UInt32 address, OpenTK.Graphics.All pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetTrackMatrixivNV((OpenTK.Graphics.All)target, (UInt32)address, (OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetTrackMatrix(OpenTK.Graphics.All target, Int32 address, OpenTK.Graphics.All pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetTrackMatrixivNV((OpenTK.Graphics.All)target, (UInt32)address, (OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttrib(UInt32 index, OpenTK.Graphics.All pname, [Out] Double[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVertexAttribdvNV((UInt32)index, (OpenTK.Graphics.All)pname, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttrib(Int32 index, OpenTK.Graphics.All pname, [Out] Double[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVertexAttribdvNV((UInt32)index, (OpenTK.Graphics.All)pname, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttrib(UInt32 index, OpenTK.Graphics.All pname, [Out] out Double @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVertexAttribdvNV((UInt32)index, (OpenTK.Graphics.All)pname, (Double*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttrib(Int32 index, OpenTK.Graphics.All pname, [Out] out Double @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVertexAttribdvNV((UInt32)index, (OpenTK.Graphics.All)pname, (Double*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.All pname, [Out] Double* @params)
|
|
{
|
|
Delegates.glGetVertexAttribdvNV((UInt32)index, (OpenTK.Graphics.All)pname, (Double*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.All pname, [Out] Double* @params)
|
|
{
|
|
Delegates.glGetVertexAttribdvNV((UInt32)index, (OpenTK.Graphics.All)pname, (Double*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttrib(UInt32 index, OpenTK.Graphics.All pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVertexAttribfvNV((UInt32)index, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttrib(Int32 index, OpenTK.Graphics.All pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVertexAttribfvNV((UInt32)index, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttrib(UInt32 index, OpenTK.Graphics.All pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVertexAttribfvNV((UInt32)index, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttrib(Int32 index, OpenTK.Graphics.All pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVertexAttribfvNV((UInt32)index, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.All pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetVertexAttribfvNV((UInt32)index, (OpenTK.Graphics.All)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.All pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetVertexAttribfvNV((UInt32)index, (OpenTK.Graphics.All)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttrib(UInt32 index, OpenTK.Graphics.All pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVertexAttribivNV((UInt32)index, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttrib(Int32 index, OpenTK.Graphics.All pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVertexAttribivNV((UInt32)index, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttrib(UInt32 index, OpenTK.Graphics.All pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVertexAttribivNV((UInt32)index, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttrib(Int32 index, OpenTK.Graphics.All pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVertexAttribivNV((UInt32)index, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.All pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetVertexAttribivNV((UInt32)index, (OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.All pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetVertexAttribivNV((UInt32)index, (OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.All pname, [Out] IntPtr pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.All)pname, (IntPtr)pointer);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.All pname, [Out] IntPtr pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.All)pname, (IntPtr)pointer);
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.All pname, [In, Out] object pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.All)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.All pname, [In, Out] object pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.All)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
bool IsProgram(UInt32 id)
|
|
{
|
|
return Delegates.glIsProgramNV((UInt32)id);
|
|
}
|
|
|
|
public static
|
|
bool IsProgram(Int32 id)
|
|
{
|
|
return Delegates.glIsProgramNV((UInt32)id);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void LoadProgram(OpenTK.Graphics.All target, UInt32 id, Int32 len, Byte[] program)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* program_ptr = program)
|
|
{
|
|
Delegates.glLoadProgramNV((OpenTK.Graphics.All)target, (UInt32)id, (Int32)len, (Byte*)program_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void LoadProgram(OpenTK.Graphics.All target, Int32 id, Int32 len, Byte[] program)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* program_ptr = program)
|
|
{
|
|
Delegates.glLoadProgramNV((OpenTK.Graphics.All)target, (UInt32)id, (Int32)len, (Byte*)program_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void LoadProgram(OpenTK.Graphics.All target, UInt32 id, Int32 len, ref Byte program)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* program_ptr = &program)
|
|
{
|
|
Delegates.glLoadProgramNV((OpenTK.Graphics.All)target, (UInt32)id, (Int32)len, (Byte*)program_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void LoadProgram(OpenTK.Graphics.All target, Int32 id, Int32 len, ref Byte program)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* program_ptr = &program)
|
|
{
|
|
Delegates.glLoadProgramNV((OpenTK.Graphics.All)target, (UInt32)id, (Int32)len, (Byte*)program_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void LoadProgram(OpenTK.Graphics.All target, UInt32 id, Int32 len, Byte* program)
|
|
{
|
|
Delegates.glLoadProgramNV((OpenTK.Graphics.All)target, (UInt32)id, (Int32)len, (Byte*)program);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void LoadProgram(OpenTK.Graphics.All target, Int32 id, Int32 len, Byte* program)
|
|
{
|
|
Delegates.glLoadProgramNV((OpenTK.Graphics.All)target, (UInt32)id, (Int32)len, (Byte*)program);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramParameter4(OpenTK.Graphics.All target, UInt32 index, Double x, Double y, Double z, Double w)
|
|
{
|
|
Delegates.glProgramParameter4dNV((OpenTK.Graphics.All)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w);
|
|
}
|
|
|
|
public static
|
|
void ProgramParameter4(OpenTK.Graphics.All target, Int32 index, Double x, Double y, Double z, Double w)
|
|
{
|
|
Delegates.glProgramParameter4dNV((OpenTK.Graphics.All)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramParameter4(OpenTK.Graphics.All target, UInt32 index, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glProgramParameter4dvNV((OpenTK.Graphics.All)target, (UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramParameter4(OpenTK.Graphics.All target, Int32 index, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glProgramParameter4dvNV((OpenTK.Graphics.All)target, (UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramParameter4(OpenTK.Graphics.All target, UInt32 index, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glProgramParameter4dvNV((OpenTK.Graphics.All)target, (UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramParameter4(OpenTK.Graphics.All target, Int32 index, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glProgramParameter4dvNV((OpenTK.Graphics.All)target, (UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramParameter4(OpenTK.Graphics.All target, UInt32 index, Double* v)
|
|
{
|
|
Delegates.glProgramParameter4dvNV((OpenTK.Graphics.All)target, (UInt32)index, (Double*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramParameter4(OpenTK.Graphics.All target, Int32 index, Double* v)
|
|
{
|
|
Delegates.glProgramParameter4dvNV((OpenTK.Graphics.All)target, (UInt32)index, (Double*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramParameter4(OpenTK.Graphics.All target, UInt32 index, Single x, Single y, Single z, Single w)
|
|
{
|
|
Delegates.glProgramParameter4fNV((OpenTK.Graphics.All)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w);
|
|
}
|
|
|
|
public static
|
|
void ProgramParameter4(OpenTK.Graphics.All target, Int32 index, Single x, Single y, Single z, Single w)
|
|
{
|
|
Delegates.glProgramParameter4fNV((OpenTK.Graphics.All)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramParameter4(OpenTK.Graphics.All target, UInt32 index, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glProgramParameter4fvNV((OpenTK.Graphics.All)target, (UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramParameter4(OpenTK.Graphics.All target, Int32 index, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glProgramParameter4fvNV((OpenTK.Graphics.All)target, (UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramParameter4(OpenTK.Graphics.All target, UInt32 index, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glProgramParameter4fvNV((OpenTK.Graphics.All)target, (UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramParameter4(OpenTK.Graphics.All target, Int32 index, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glProgramParameter4fvNV((OpenTK.Graphics.All)target, (UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramParameter4(OpenTK.Graphics.All target, UInt32 index, Single* v)
|
|
{
|
|
Delegates.glProgramParameter4fvNV((OpenTK.Graphics.All)target, (UInt32)index, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramParameter4(OpenTK.Graphics.All target, Int32 index, Single* v)
|
|
{
|
|
Delegates.glProgramParameter4fvNV((OpenTK.Graphics.All)target, (UInt32)index, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramParameters4(OpenTK.Graphics.All target, UInt32 index, UInt32 count, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glProgramParameters4dvNV((OpenTK.Graphics.All)target, (UInt32)index, (UInt32)count, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramParameters4(OpenTK.Graphics.All target, Int32 index, Int32 count, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glProgramParameters4dvNV((OpenTK.Graphics.All)target, (UInt32)index, (UInt32)count, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramParameters4(OpenTK.Graphics.All target, UInt32 index, UInt32 count, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glProgramParameters4dvNV((OpenTK.Graphics.All)target, (UInt32)index, (UInt32)count, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramParameters4(OpenTK.Graphics.All target, Int32 index, Int32 count, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glProgramParameters4dvNV((OpenTK.Graphics.All)target, (UInt32)index, (UInt32)count, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramParameters4(OpenTK.Graphics.All target, UInt32 index, UInt32 count, Double* v)
|
|
{
|
|
Delegates.glProgramParameters4dvNV((OpenTK.Graphics.All)target, (UInt32)index, (UInt32)count, (Double*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramParameters4(OpenTK.Graphics.All target, Int32 index, Int32 count, Double* v)
|
|
{
|
|
Delegates.glProgramParameters4dvNV((OpenTK.Graphics.All)target, (UInt32)index, (UInt32)count, (Double*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramParameters4(OpenTK.Graphics.All target, UInt32 index, UInt32 count, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glProgramParameters4fvNV((OpenTK.Graphics.All)target, (UInt32)index, (UInt32)count, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramParameters4(OpenTK.Graphics.All target, Int32 index, Int32 count, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glProgramParameters4fvNV((OpenTK.Graphics.All)target, (UInt32)index, (UInt32)count, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramParameters4(OpenTK.Graphics.All target, UInt32 index, UInt32 count, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glProgramParameters4fvNV((OpenTK.Graphics.All)target, (UInt32)index, (UInt32)count, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramParameters4(OpenTK.Graphics.All target, Int32 index, Int32 count, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glProgramParameters4fvNV((OpenTK.Graphics.All)target, (UInt32)index, (UInt32)count, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramParameters4(OpenTK.Graphics.All target, UInt32 index, UInt32 count, Single* v)
|
|
{
|
|
Delegates.glProgramParameters4fvNV((OpenTK.Graphics.All)target, (UInt32)index, (UInt32)count, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramParameters4(OpenTK.Graphics.All target, Int32 index, Int32 count, Single* v)
|
|
{
|
|
Delegates.glProgramParameters4fvNV((OpenTK.Graphics.All)target, (UInt32)index, (UInt32)count, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void RequestResidentProgram(Int32 n, UInt32[] programs)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* programs_ptr = programs)
|
|
{
|
|
Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void RequestResidentProgram(Int32 n, Int32[] programs)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* programs_ptr = programs)
|
|
{
|
|
Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void RequestResidentProgram(Int32 n, ref UInt32 programs)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* programs_ptr = &programs)
|
|
{
|
|
Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void RequestResidentProgram(Int32 n, ref Int32 programs)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* programs_ptr = &programs)
|
|
{
|
|
Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void RequestResidentProgram(Int32 n, UInt32* programs)
|
|
{
|
|
Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void RequestResidentProgram(Int32 n, Int32* programs)
|
|
{
|
|
Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void TrackMatrix(OpenTK.Graphics.All target, UInt32 address, OpenTK.Graphics.All matrix, OpenTK.Graphics.All transform)
|
|
{
|
|
Delegates.glTrackMatrixNV((OpenTK.Graphics.All)target, (UInt32)address, (OpenTK.Graphics.All)matrix, (OpenTK.Graphics.All)transform);
|
|
}
|
|
|
|
public static
|
|
void TrackMatrix(OpenTK.Graphics.All target, Int32 address, OpenTK.Graphics.All matrix, OpenTK.Graphics.All transform)
|
|
{
|
|
Delegates.glTrackMatrixNV((OpenTK.Graphics.All)target, (UInt32)address, (OpenTK.Graphics.All)matrix, (OpenTK.Graphics.All)transform);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribPointer(UInt32 index, Int32 fsize, OpenTK.Graphics.All type, Int32 stride, IntPtr pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.All)type, (Int32)stride, (IntPtr)pointer);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttribPointer(Int32 index, Int32 fsize, OpenTK.Graphics.All type, Int32 stride, IntPtr pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.All)type, (Int32)stride, (IntPtr)pointer);
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribPointer(UInt32 index, Int32 fsize, OpenTK.Graphics.All type, Int32 stride, [In, Out] object pointer)
|
|
{
|
|
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, (OpenTK.Graphics.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttribPointer(Int32 index, Int32 fsize, OpenTK.Graphics.All type, Int32 stride, [In, Out] object pointer)
|
|
{
|
|
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, (OpenTK.Graphics.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib1(UInt32 index, Double x)
|
|
{
|
|
Delegates.glVertexAttrib1dNV((UInt32)index, (Double)x);
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib1(Int32 index, Double x)
|
|
{
|
|
Delegates.glVertexAttrib1dNV((UInt32)index, (Double)x);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib1v(UInt32 index, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib1dvNV((UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib1v(Int32 index, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib1dvNV((UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib1v(UInt32 index, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib1dvNV((UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib1v(Int32 index, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib1dvNV((UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib1v(UInt32 index, Double* v)
|
|
{
|
|
Delegates.glVertexAttrib1dvNV((UInt32)index, (Double*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib1v(Int32 index, Double* v)
|
|
{
|
|
Delegates.glVertexAttrib1dvNV((UInt32)index, (Double*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib1(UInt32 index, Single x)
|
|
{
|
|
Delegates.glVertexAttrib1fNV((UInt32)index, (Single)x);
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib1(Int32 index, Single x)
|
|
{
|
|
Delegates.glVertexAttrib1fNV((UInt32)index, (Single)x);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib1v(UInt32 index, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib1fvNV((UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib1v(Int32 index, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib1fvNV((UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib1v(UInt32 index, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib1fvNV((UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib1v(Int32 index, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib1fvNV((UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib1v(UInt32 index, Single* v)
|
|
{
|
|
Delegates.glVertexAttrib1fvNV((UInt32)index, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib1v(Int32 index, Single* v)
|
|
{
|
|
Delegates.glVertexAttrib1fvNV((UInt32)index, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib1(UInt32 index, Int16 x)
|
|
{
|
|
Delegates.glVertexAttrib1sNV((UInt32)index, (Int16)x);
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib1(Int32 index, Int16 x)
|
|
{
|
|
Delegates.glVertexAttrib1sNV((UInt32)index, (Int16)x);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib1v(UInt32 index, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib1svNV((UInt32)index, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib1v(Int32 index, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib1svNV((UInt32)index, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib1v(UInt32 index, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib1svNV((UInt32)index, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib1v(Int32 index, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib1svNV((UInt32)index, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib1v(UInt32 index, Int16* v)
|
|
{
|
|
Delegates.glVertexAttrib1svNV((UInt32)index, (Int16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib1v(Int32 index, Int16* v)
|
|
{
|
|
Delegates.glVertexAttrib1svNV((UInt32)index, (Int16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib2(UInt32 index, Double x, Double y)
|
|
{
|
|
Delegates.glVertexAttrib2dNV((UInt32)index, (Double)x, (Double)y);
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib2(Int32 index, Double x, Double y)
|
|
{
|
|
Delegates.glVertexAttrib2dNV((UInt32)index, (Double)x, (Double)y);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib2(UInt32 index, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib2(Int32 index, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib2(UInt32 index, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib2(Int32 index, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib2(UInt32 index, Double* v)
|
|
{
|
|
Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib2(Int32 index, Double* v)
|
|
{
|
|
Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib2(UInt32 index, Single x, Single y)
|
|
{
|
|
Delegates.glVertexAttrib2fNV((UInt32)index, (Single)x, (Single)y);
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib2(Int32 index, Single x, Single y)
|
|
{
|
|
Delegates.glVertexAttrib2fNV((UInt32)index, (Single)x, (Single)y);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib2(UInt32 index, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib2fvNV((UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib2(Int32 index, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib2fvNV((UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib2(UInt32 index, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib2fvNV((UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib2(Int32 index, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib2fvNV((UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib2(UInt32 index, Single* v)
|
|
{
|
|
Delegates.glVertexAttrib2fvNV((UInt32)index, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib2(Int32 index, Single* v)
|
|
{
|
|
Delegates.glVertexAttrib2fvNV((UInt32)index, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib2(UInt32 index, Int16 x, Int16 y)
|
|
{
|
|
Delegates.glVertexAttrib2sNV((UInt32)index, (Int16)x, (Int16)y);
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib2(Int32 index, Int16 x, Int16 y)
|
|
{
|
|
Delegates.glVertexAttrib2sNV((UInt32)index, (Int16)x, (Int16)y);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib2(UInt32 index, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib2svNV((UInt32)index, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib2(Int32 index, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib2svNV((UInt32)index, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib2(UInt32 index, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib2svNV((UInt32)index, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib2(Int32 index, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib2svNV((UInt32)index, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib2(UInt32 index, Int16* v)
|
|
{
|
|
Delegates.glVertexAttrib2svNV((UInt32)index, (Int16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib2(Int32 index, Int16* v)
|
|
{
|
|
Delegates.glVertexAttrib2svNV((UInt32)index, (Int16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib3(UInt32 index, Double x, Double y, Double z)
|
|
{
|
|
Delegates.glVertexAttrib3dNV((UInt32)index, (Double)x, (Double)y, (Double)z);
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib3(Int32 index, Double x, Double y, Double z)
|
|
{
|
|
Delegates.glVertexAttrib3dNV((UInt32)index, (Double)x, (Double)y, (Double)z);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib3(UInt32 index, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib3dvNV((UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib3(Int32 index, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib3dvNV((UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib3(UInt32 index, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib3dvNV((UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib3(Int32 index, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib3dvNV((UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib3(UInt32 index, Double* v)
|
|
{
|
|
Delegates.glVertexAttrib3dvNV((UInt32)index, (Double*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib3(Int32 index, Double* v)
|
|
{
|
|
Delegates.glVertexAttrib3dvNV((UInt32)index, (Double*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib3(UInt32 index, Single x, Single y, Single z)
|
|
{
|
|
Delegates.glVertexAttrib3fNV((UInt32)index, (Single)x, (Single)y, (Single)z);
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib3(Int32 index, Single x, Single y, Single z)
|
|
{
|
|
Delegates.glVertexAttrib3fNV((UInt32)index, (Single)x, (Single)y, (Single)z);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib3(UInt32 index, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib3fvNV((UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib3(Int32 index, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib3fvNV((UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib3(UInt32 index, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib3fvNV((UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib3(Int32 index, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib3fvNV((UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib3(UInt32 index, Single* v)
|
|
{
|
|
Delegates.glVertexAttrib3fvNV((UInt32)index, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib3(Int32 index, Single* v)
|
|
{
|
|
Delegates.glVertexAttrib3fvNV((UInt32)index, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib3(UInt32 index, Int16 x, Int16 y, Int16 z)
|
|
{
|
|
Delegates.glVertexAttrib3sNV((UInt32)index, (Int16)x, (Int16)y, (Int16)z);
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib3(Int32 index, Int16 x, Int16 y, Int16 z)
|
|
{
|
|
Delegates.glVertexAttrib3sNV((UInt32)index, (Int16)x, (Int16)y, (Int16)z);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib3(UInt32 index, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib3svNV((UInt32)index, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib3(Int32 index, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib3svNV((UInt32)index, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib3(UInt32 index, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib3svNV((UInt32)index, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib3(Int32 index, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib3svNV((UInt32)index, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib3(UInt32 index, Int16* v)
|
|
{
|
|
Delegates.glVertexAttrib3svNV((UInt32)index, (Int16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib3(Int32 index, Int16* v)
|
|
{
|
|
Delegates.glVertexAttrib3svNV((UInt32)index, (Int16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4(UInt32 index, Double x, Double y, Double z, Double w)
|
|
{
|
|
Delegates.glVertexAttrib4dNV((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w);
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib4(Int32 index, Double x, Double y, Double z, Double w)
|
|
{
|
|
Delegates.glVertexAttrib4dNV((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4(UInt32 index, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib4dvNV((UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib4(Int32 index, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib4dvNV((UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4(UInt32 index, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib4dvNV((UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib4(Int32 index, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib4dvNV((UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib4(UInt32 index, Double* v)
|
|
{
|
|
Delegates.glVertexAttrib4dvNV((UInt32)index, (Double*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib4(Int32 index, Double* v)
|
|
{
|
|
Delegates.glVertexAttrib4dvNV((UInt32)index, (Double*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4(UInt32 index, Single x, Single y, Single z, Single w)
|
|
{
|
|
Delegates.glVertexAttrib4fNV((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w);
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib4(Int32 index, Single x, Single y, Single z, Single w)
|
|
{
|
|
Delegates.glVertexAttrib4fNV((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4(UInt32 index, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib4(Int32 index, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4(UInt32 index, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib4(Int32 index, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib4(UInt32 index, Single* v)
|
|
{
|
|
Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib4(Int32 index, Single* v)
|
|
{
|
|
Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w)
|
|
{
|
|
Delegates.glVertexAttrib4sNV((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w);
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib4(Int32 index, Int16 x, Int16 y, Int16 z, Int16 w)
|
|
{
|
|
Delegates.glVertexAttrib4sNV((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4(UInt32 index, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib4svNV((UInt32)index, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib4(Int32 index, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib4svNV((UInt32)index, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4(UInt32 index, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib4svNV((UInt32)index, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib4(Int32 index, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib4svNV((UInt32)index, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib4(UInt32 index, Int16* v)
|
|
{
|
|
Delegates.glVertexAttrib4svNV((UInt32)index, (Int16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib4(Int32 index, Int16* v)
|
|
{
|
|
Delegates.glVertexAttrib4svNV((UInt32)index, (Int16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4(UInt32 index, Byte x, Byte y, Byte z, Byte w)
|
|
{
|
|
Delegates.glVertexAttrib4ubNV((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w);
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib4(Int32 index, Byte x, Byte y, Byte z, Byte w)
|
|
{
|
|
Delegates.glVertexAttrib4ubNV((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4(UInt32 index, Byte[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib4ubvNV((UInt32)index, (Byte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib4(Int32 index, Byte[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib4ubvNV((UInt32)index, (Byte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4(UInt32 index, ref Byte v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib4ubvNV((UInt32)index, (Byte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib4(Int32 index, ref Byte v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib4ubvNV((UInt32)index, (Byte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib4(UInt32 index, Byte* v)
|
|
{
|
|
Delegates.glVertexAttrib4ubvNV((UInt32)index, (Byte*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib4(Int32 index, Byte* v)
|
|
{
|
|
Delegates.glVertexAttrib4ubvNV((UInt32)index, (Byte*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribs1(UInt32 index, Int32 count, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttribs1dvNV((UInt32)index, (Int32)count, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttribs1(Int32 index, Int32 count, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttribs1dvNV((UInt32)index, (Int32)count, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribs1(UInt32 index, Int32 count, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttribs1dvNV((UInt32)index, (Int32)count, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttribs1(Int32 index, Int32 count, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttribs1dvNV((UInt32)index, (Int32)count, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttribs1(UInt32 index, Int32 count, Double* v)
|
|
{
|
|
Delegates.glVertexAttribs1dvNV((UInt32)index, (Int32)count, (Double*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttribs1(Int32 index, Int32 count, Double* v)
|
|
{
|
|
Delegates.glVertexAttribs1dvNV((UInt32)index, (Int32)count, (Double*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribs1(UInt32 index, Int32 count, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttribs1fvNV((UInt32)index, (Int32)count, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttribs1(Int32 index, Int32 count, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttribs1fvNV((UInt32)index, (Int32)count, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribs1(UInt32 index, Int32 count, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttribs1fvNV((UInt32)index, (Int32)count, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttribs1(Int32 index, Int32 count, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttribs1fvNV((UInt32)index, (Int32)count, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttribs1(UInt32 index, Int32 count, Single* v)
|
|
{
|
|
Delegates.glVertexAttribs1fvNV((UInt32)index, (Int32)count, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttribs1(Int32 index, Int32 count, Single* v)
|
|
{
|
|
Delegates.glVertexAttribs1fvNV((UInt32)index, (Int32)count, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribs1(UInt32 index, Int32 count, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttribs1svNV((UInt32)index, (Int32)count, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttribs1(Int32 index, Int32 count, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttribs1svNV((UInt32)index, (Int32)count, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribs1(UInt32 index, Int32 count, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttribs1svNV((UInt32)index, (Int32)count, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttribs1(Int32 index, Int32 count, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttribs1svNV((UInt32)index, (Int32)count, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttribs1(UInt32 index, Int32 count, Int16* v)
|
|
{
|
|
Delegates.glVertexAttribs1svNV((UInt32)index, (Int32)count, (Int16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttribs1(Int32 index, Int32 count, Int16* v)
|
|
{
|
|
Delegates.glVertexAttribs1svNV((UInt32)index, (Int32)count, (Int16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribs2(UInt32 index, Int32 count, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttribs2(Int32 index, Int32 count, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribs2(UInt32 index, Int32 count, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttribs2(Int32 index, Int32 count, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttribs2(UInt32 index, Int32 count, Double* v)
|
|
{
|
|
Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttribs2(Int32 index, Int32 count, Double* v)
|
|
{
|
|
Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribs2(UInt32 index, Int32 count, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttribs2fvNV((UInt32)index, (Int32)count, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttribs2(Int32 index, Int32 count, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttribs2fvNV((UInt32)index, (Int32)count, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribs2(UInt32 index, Int32 count, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttribs2fvNV((UInt32)index, (Int32)count, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttribs2(Int32 index, Int32 count, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttribs2fvNV((UInt32)index, (Int32)count, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttribs2(UInt32 index, Int32 count, Single* v)
|
|
{
|
|
Delegates.glVertexAttribs2fvNV((UInt32)index, (Int32)count, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttribs2(Int32 index, Int32 count, Single* v)
|
|
{
|
|
Delegates.glVertexAttribs2fvNV((UInt32)index, (Int32)count, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribs2(UInt32 index, Int32 count, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttribs2svNV((UInt32)index, (Int32)count, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttribs2(Int32 index, Int32 count, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttribs2svNV((UInt32)index, (Int32)count, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribs2(UInt32 index, Int32 count, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttribs2svNV((UInt32)index, (Int32)count, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttribs2(Int32 index, Int32 count, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttribs2svNV((UInt32)index, (Int32)count, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttribs2(UInt32 index, Int32 count, Int16* v)
|
|
{
|
|
Delegates.glVertexAttribs2svNV((UInt32)index, (Int32)count, (Int16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttribs2(Int32 index, Int32 count, Int16* v)
|
|
{
|
|
Delegates.glVertexAttribs2svNV((UInt32)index, (Int32)count, (Int16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribs3(UInt32 index, Int32 count, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttribs3dvNV((UInt32)index, (Int32)count, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttribs3(Int32 index, Int32 count, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttribs3dvNV((UInt32)index, (Int32)count, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribs3(UInt32 index, Int32 count, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttribs3dvNV((UInt32)index, (Int32)count, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttribs3(Int32 index, Int32 count, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttribs3dvNV((UInt32)index, (Int32)count, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttribs3(UInt32 index, Int32 count, Double* v)
|
|
{
|
|
Delegates.glVertexAttribs3dvNV((UInt32)index, (Int32)count, (Double*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttribs3(Int32 index, Int32 count, Double* v)
|
|
{
|
|
Delegates.glVertexAttribs3dvNV((UInt32)index, (Int32)count, (Double*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribs3(UInt32 index, Int32 count, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttribs3fvNV((UInt32)index, (Int32)count, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttribs3(Int32 index, Int32 count, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttribs3fvNV((UInt32)index, (Int32)count, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribs3(UInt32 index, Int32 count, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttribs3fvNV((UInt32)index, (Int32)count, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttribs3(Int32 index, Int32 count, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttribs3fvNV((UInt32)index, (Int32)count, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttribs3(UInt32 index, Int32 count, Single* v)
|
|
{
|
|
Delegates.glVertexAttribs3fvNV((UInt32)index, (Int32)count, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttribs3(Int32 index, Int32 count, Single* v)
|
|
{
|
|
Delegates.glVertexAttribs3fvNV((UInt32)index, (Int32)count, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribs3(UInt32 index, Int32 count, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttribs3(Int32 index, Int32 count, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribs3(UInt32 index, Int32 count, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttribs3(Int32 index, Int32 count, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttribs3(UInt32 index, Int32 count, Int16* v)
|
|
{
|
|
Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttribs3(Int32 index, Int32 count, Int16* v)
|
|
{
|
|
Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribs4(UInt32 index, Int32 count, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttribs4dvNV((UInt32)index, (Int32)count, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttribs4(Int32 index, Int32 count, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttribs4dvNV((UInt32)index, (Int32)count, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribs4(UInt32 index, Int32 count, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttribs4dvNV((UInt32)index, (Int32)count, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttribs4(Int32 index, Int32 count, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttribs4dvNV((UInt32)index, (Int32)count, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttribs4(UInt32 index, Int32 count, Double* v)
|
|
{
|
|
Delegates.glVertexAttribs4dvNV((UInt32)index, (Int32)count, (Double*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttribs4(Int32 index, Int32 count, Double* v)
|
|
{
|
|
Delegates.glVertexAttribs4dvNV((UInt32)index, (Int32)count, (Double*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribs4(UInt32 index, Int32 count, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttribs4(Int32 index, Int32 count, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribs4(UInt32 index, Int32 count, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttribs4(Int32 index, Int32 count, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttribs4(UInt32 index, Int32 count, Single* v)
|
|
{
|
|
Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttribs4(Int32 index, Int32 count, Single* v)
|
|
{
|
|
Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribs4(UInt32 index, Int32 count, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttribs4svNV((UInt32)index, (Int32)count, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttribs4(Int32 index, Int32 count, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttribs4svNV((UInt32)index, (Int32)count, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribs4(UInt32 index, Int32 count, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttribs4svNV((UInt32)index, (Int32)count, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttribs4(Int32 index, Int32 count, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttribs4svNV((UInt32)index, (Int32)count, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttribs4(UInt32 index, Int32 count, Int16* v)
|
|
{
|
|
Delegates.glVertexAttribs4svNV((UInt32)index, (Int32)count, (Int16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttribs4(Int32 index, Int32 count, Int16* v)
|
|
{
|
|
Delegates.glVertexAttribs4svNV((UInt32)index, (Int32)count, (Int16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribs4(UInt32 index, Int32 count, Byte[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttribs4ubvNV((UInt32)index, (Int32)count, (Byte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttribs4(Int32 index, Int32 count, Byte[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttribs4ubvNV((UInt32)index, (Int32)count, (Byte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribs4(UInt32 index, Int32 count, ref Byte v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttribs4ubvNV((UInt32)index, (Int32)count, (Byte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttribs4(Int32 index, Int32 count, ref Byte v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttribs4ubvNV((UInt32)index, (Int32)count, (Byte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttribs4(UInt32 index, Int32 count, Byte* v)
|
|
{
|
|
Delegates.glVertexAttribs4ubvNV((UInt32)index, (Int32)count, (Byte*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttribs4(Int32 index, Int32 count, Byte* v)
|
|
{
|
|
Delegates.glVertexAttribs4ubvNV((UInt32)index, (Int32)count, (Byte*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GenOcclusionQueries(Int32 n, [Out] UInt32[] ids)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* ids_ptr = ids)
|
|
{
|
|
Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GenOcclusionQueries(Int32 n, [Out] Int32[] ids)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* ids_ptr = ids)
|
|
{
|
|
Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GenOcclusionQueries(Int32 n, [Out] out UInt32 ids)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* ids_ptr = &ids)
|
|
{
|
|
Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr);
|
|
ids = *ids_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GenOcclusionQueries(Int32 n, [Out] out Int32 ids)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* ids_ptr = &ids)
|
|
{
|
|
Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr);
|
|
ids = *ids_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GenOcclusionQueries(Int32 n, [Out] UInt32* ids)
|
|
{
|
|
Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GenOcclusionQueries(Int32 n, [Out] Int32* ids)
|
|
{
|
|
Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DeleteOcclusionQueries(Int32 n, UInt32[] ids)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* ids_ptr = ids)
|
|
{
|
|
Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DeleteOcclusionQueries(Int32 n, Int32[] ids)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* ids_ptr = ids)
|
|
{
|
|
Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DeleteOcclusionQueries(Int32 n, ref UInt32 ids)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* ids_ptr = &ids)
|
|
{
|
|
Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DeleteOcclusionQueries(Int32 n, ref Int32 ids)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* ids_ptr = &ids)
|
|
{
|
|
Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void DeleteOcclusionQueries(Int32 n, UInt32* ids)
|
|
{
|
|
Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void DeleteOcclusionQueries(Int32 n, Int32* ids)
|
|
{
|
|
Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
bool IsOcclusionQuery(UInt32 id)
|
|
{
|
|
return Delegates.glIsOcclusionQueryNV((UInt32)id);
|
|
}
|
|
|
|
public static
|
|
bool IsOcclusionQuery(Int32 id)
|
|
{
|
|
return Delegates.glIsOcclusionQueryNV((UInt32)id);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void BeginOcclusionQuery(UInt32 id)
|
|
{
|
|
Delegates.glBeginOcclusionQueryNV((UInt32)id);
|
|
}
|
|
|
|
public static
|
|
void BeginOcclusionQuery(Int32 id)
|
|
{
|
|
Delegates.glBeginOcclusionQueryNV((UInt32)id);
|
|
}
|
|
|
|
public static
|
|
void EndOcclusionQuery()
|
|
{
|
|
Delegates.glEndOcclusionQueryNV();
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetOcclusionQuery(UInt32 id, OpenTK.Graphics.All pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetOcclusionQueryivNV((UInt32)id, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetOcclusionQuery(UInt32 id, OpenTK.Graphics.All pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetOcclusionQueryivNV((UInt32)id, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetOcclusionQuery(UInt32 id, OpenTK.Graphics.All pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetOcclusionQueryivNV((UInt32)id, (OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetOcclusionQuery(UInt32 id, OpenTK.Graphics.All pname, [Out] UInt32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetOcclusionQueryuivNV((UInt32)id, (OpenTK.Graphics.All)pname, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetOcclusionQuery(Int32 id, OpenTK.Graphics.All pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetOcclusionQueryuivNV((UInt32)id, (OpenTK.Graphics.All)pname, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetOcclusionQuery(UInt32 id, OpenTK.Graphics.All pname, [Out] out UInt32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetOcclusionQueryuivNV((UInt32)id, (OpenTK.Graphics.All)pname, (UInt32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetOcclusionQuery(Int32 id, OpenTK.Graphics.All pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetOcclusionQueryuivNV((UInt32)id, (OpenTK.Graphics.All)pname, (UInt32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetOcclusionQuery(UInt32 id, OpenTK.Graphics.All pname, [Out] UInt32* @params)
|
|
{
|
|
Delegates.glGetOcclusionQueryuivNV((UInt32)id, (OpenTK.Graphics.All)pname, (UInt32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetOcclusionQuery(Int32 id, OpenTK.Graphics.All pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetOcclusionQueryuivNV((UInt32)id, (OpenTK.Graphics.All)pname, (UInt32*)@params);
|
|
}
|
|
|
|
public static
|
|
void PointParameter(OpenTK.Graphics.All pname, Int32 param)
|
|
{
|
|
Delegates.glPointParameteriNV((OpenTK.Graphics.All)pname, (Int32)param);
|
|
}
|
|
|
|
public static
|
|
void PointParameterv(OpenTK.Graphics.All pname, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glPointParameterivNV((OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void PointParameterv(OpenTK.Graphics.All pname, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glPointParameterivNV((OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void PointParameterv(OpenTK.Graphics.All pname, Int32* @params)
|
|
{
|
|
Delegates.glPointParameterivNV((OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramNamedParameter4(UInt32 id, Int32 len, Byte[] name, Single x, Single y, Single z, Single w)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* name_ptr = name)
|
|
{
|
|
Delegates.glProgramNamedParameter4fNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single)x, (Single)y, (Single)z, (Single)w);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramNamedParameter4(Int32 id, Int32 len, Byte[] name, Single x, Single y, Single z, Single w)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* name_ptr = name)
|
|
{
|
|
Delegates.glProgramNamedParameter4fNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single)x, (Single)y, (Single)z, (Single)w);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramNamedParameter4(UInt32 id, Int32 len, ref Byte name, Single x, Single y, Single z, Single w)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* name_ptr = &name)
|
|
{
|
|
Delegates.glProgramNamedParameter4fNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single)x, (Single)y, (Single)z, (Single)w);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramNamedParameter4(Int32 id, Int32 len, ref Byte name, Single x, Single y, Single z, Single w)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* name_ptr = &name)
|
|
{
|
|
Delegates.glProgramNamedParameter4fNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single)x, (Single)y, (Single)z, (Single)w);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramNamedParameter4(UInt32 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);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
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);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramNamedParameter4(UInt32 id, Int32 len, Byte[] name, Double x, Double y, Double z, Double w)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* name_ptr = name)
|
|
{
|
|
Delegates.glProgramNamedParameter4dNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double)x, (Double)y, (Double)z, (Double)w);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramNamedParameter4(Int32 id, Int32 len, Byte[] name, Double x, Double y, Double z, Double w)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* name_ptr = name)
|
|
{
|
|
Delegates.glProgramNamedParameter4dNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double)x, (Double)y, (Double)z, (Double)w);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramNamedParameter4(UInt32 id, Int32 len, ref Byte name, Double x, Double y, Double z, Double w)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* name_ptr = &name)
|
|
{
|
|
Delegates.glProgramNamedParameter4dNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double)x, (Double)y, (Double)z, (Double)w);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramNamedParameter4(Int32 id, Int32 len, ref Byte name, Double x, Double y, Double z, Double w)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* name_ptr = &name)
|
|
{
|
|
Delegates.glProgramNamedParameter4dNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double)x, (Double)y, (Double)z, (Double)w);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramNamedParameter4(UInt32 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);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
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);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramNamedParameter4(UInt32 id, Int32 len, Byte[] name, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* name_ptr = name)
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramNamedParameter4(Int32 id, Int32 len, Byte[] name, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* name_ptr = name)
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramNamedParameter4(UInt32 id, Int32 len, ref Byte name, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* name_ptr = &name)
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramNamedParameter4(Int32 id, Int32 len, ref Byte name, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* name_ptr = &name)
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Single* v)
|
|
{
|
|
Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Single* v)
|
|
{
|
|
Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramNamedParameter4(UInt32 id, Int32 len, Byte[] name, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* name_ptr = name)
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramNamedParameter4(Int32 id, Int32 len, Byte[] name, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* name_ptr = name)
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramNamedParameter4(UInt32 id, Int32 len, ref Byte name, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* name_ptr = &name)
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramNamedParameter4(Int32 id, Int32 len, ref Byte name, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* name_ptr = &name)
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Double* v)
|
|
{
|
|
Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Double* v)
|
|
{
|
|
Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgramNamedParameter(UInt32 id, Int32 len, Byte[] name, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* name_ptr = name)
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgramNamedParameter(Int32 id, Int32 len, Byte[] name, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* name_ptr = name)
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgramNamedParameter(UInt32 id, Int32 len, ref Byte name, [Out] out Single @params)
|
|
{
|
|
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;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgramNamedParameter(Int32 id, Int32 len, ref Byte name, [Out] out Single @params)
|
|
{
|
|
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;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgramNamedParameter(UInt32 id, Int32 len, Byte* name, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgramNamedParameter(Int32 id, Int32 len, Byte* name, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgramNamedParameter(UInt32 id, Int32 len, Byte[] name, [Out] Double[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* name_ptr = name)
|
|
fixed (Double* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgramNamedParameter(Int32 id, Int32 len, Byte[] name, [Out] Double[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* name_ptr = name)
|
|
fixed (Double* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgramNamedParameter(UInt32 id, Int32 len, ref Byte name, [Out] out Double @params)
|
|
{
|
|
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;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgramNamedParameter(Int32 id, Int32 len, ref Byte name, [Out] out Double @params)
|
|
{
|
|
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;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgramNamedParameter(UInt32 id, Int32 len, Byte* name, [Out] Double* @params)
|
|
{
|
|
Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgramNamedParameter(Int32 id, Int32 len, Byte* name, [Out] Double* @params)
|
|
{
|
|
Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Vertex2h(UInt16 x, UInt16 y)
|
|
{
|
|
Delegates.glVertex2hNV((UInt16)x, (UInt16)y);
|
|
}
|
|
|
|
public static
|
|
void Vertex2h(Int16 x, Int16 y)
|
|
{
|
|
Delegates.glVertex2hNV((UInt16)x, (UInt16)y);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Vertex2h(UInt16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = v)
|
|
{
|
|
Delegates.glVertex2hvNV((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Vertex2h(Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glVertex2hvNV((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Vertex2h(ref UInt16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertex2hvNV((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Vertex2h(ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertex2hvNV((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Vertex2h(UInt16* v)
|
|
{
|
|
Delegates.glVertex2hvNV((UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Vertex2h(Int16* v)
|
|
{
|
|
Delegates.glVertex2hvNV((UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Vertex3h(UInt16 x, UInt16 y, UInt16 z)
|
|
{
|
|
Delegates.glVertex3hNV((UInt16)x, (UInt16)y, (UInt16)z);
|
|
}
|
|
|
|
public static
|
|
void Vertex3h(Int16 x, Int16 y, Int16 z)
|
|
{
|
|
Delegates.glVertex3hNV((UInt16)x, (UInt16)y, (UInt16)z);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Vertex3h(UInt16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = v)
|
|
{
|
|
Delegates.glVertex3hvNV((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Vertex3h(Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glVertex3hvNV((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Vertex3h(ref UInt16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertex3hvNV((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Vertex3h(ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertex3hvNV((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Vertex3h(UInt16* v)
|
|
{
|
|
Delegates.glVertex3hvNV((UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Vertex3h(Int16* v)
|
|
{
|
|
Delegates.glVertex3hvNV((UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Vertex4h(UInt16 x, UInt16 y, UInt16 z, UInt16 w)
|
|
{
|
|
Delegates.glVertex4hNV((UInt16)x, (UInt16)y, (UInt16)z, (UInt16)w);
|
|
}
|
|
|
|
public static
|
|
void Vertex4h(Int16 x, Int16 y, Int16 z, Int16 w)
|
|
{
|
|
Delegates.glVertex4hNV((UInt16)x, (UInt16)y, (UInt16)z, (UInt16)w);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Vertex4h(UInt16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = v)
|
|
{
|
|
Delegates.glVertex4hvNV((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Vertex4h(Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glVertex4hvNV((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Vertex4h(ref UInt16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertex4hvNV((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Vertex4h(ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertex4hvNV((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Vertex4h(UInt16* v)
|
|
{
|
|
Delegates.glVertex4hvNV((UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Vertex4h(Int16* v)
|
|
{
|
|
Delegates.glVertex4hvNV((UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Normal3h(UInt16 nx, UInt16 ny, UInt16 nz)
|
|
{
|
|
Delegates.glNormal3hNV((UInt16)nx, (UInt16)ny, (UInt16)nz);
|
|
}
|
|
|
|
public static
|
|
void Normal3h(Int16 nx, Int16 ny, Int16 nz)
|
|
{
|
|
Delegates.glNormal3hNV((UInt16)nx, (UInt16)ny, (UInt16)nz);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Normal3h(UInt16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = v)
|
|
{
|
|
Delegates.glNormal3hvNV((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Normal3h(Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glNormal3hvNV((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Normal3h(ref UInt16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = &v)
|
|
{
|
|
Delegates.glNormal3hvNV((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Normal3h(ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glNormal3hvNV((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Normal3h(UInt16* v)
|
|
{
|
|
Delegates.glNormal3hvNV((UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Normal3h(Int16* v)
|
|
{
|
|
Delegates.glNormal3hvNV((UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Color3h(UInt16 red, UInt16 green, UInt16 blue)
|
|
{
|
|
Delegates.glColor3hNV((UInt16)red, (UInt16)green, (UInt16)blue);
|
|
}
|
|
|
|
public static
|
|
void Color3h(Int16 red, Int16 green, Int16 blue)
|
|
{
|
|
Delegates.glColor3hNV((UInt16)red, (UInt16)green, (UInt16)blue);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Color3h(UInt16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = v)
|
|
{
|
|
Delegates.glColor3hvNV((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Color3h(Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glColor3hvNV((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Color3h(ref UInt16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = &v)
|
|
{
|
|
Delegates.glColor3hvNV((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Color3h(ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glColor3hvNV((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Color3h(UInt16* v)
|
|
{
|
|
Delegates.glColor3hvNV((UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Color3h(Int16* v)
|
|
{
|
|
Delegates.glColor3hvNV((UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Color4h(UInt16 red, UInt16 green, UInt16 blue, UInt16 alpha)
|
|
{
|
|
Delegates.glColor4hNV((UInt16)red, (UInt16)green, (UInt16)blue, (UInt16)alpha);
|
|
}
|
|
|
|
public static
|
|
void Color4h(Int16 red, Int16 green, Int16 blue, Int16 alpha)
|
|
{
|
|
Delegates.glColor4hNV((UInt16)red, (UInt16)green, (UInt16)blue, (UInt16)alpha);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Color4h(UInt16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = v)
|
|
{
|
|
Delegates.glColor4hvNV((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Color4h(Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glColor4hvNV((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Color4h(ref UInt16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = &v)
|
|
{
|
|
Delegates.glColor4hvNV((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Color4h(ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glColor4hvNV((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Color4h(UInt16* v)
|
|
{
|
|
Delegates.glColor4hvNV((UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Color4h(Int16* v)
|
|
{
|
|
Delegates.glColor4hvNV((UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void TexCoord1h(UInt16 s)
|
|
{
|
|
Delegates.glTexCoord1hNV((UInt16)s);
|
|
}
|
|
|
|
public static
|
|
void TexCoord1h(Int16 s)
|
|
{
|
|
Delegates.glTexCoord1hNV((UInt16)s);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void TexCoord1hv(UInt16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = v)
|
|
{
|
|
Delegates.glTexCoord1hvNV((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexCoord1hv(Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glTexCoord1hvNV((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void TexCoord1hv(ref UInt16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = &v)
|
|
{
|
|
Delegates.glTexCoord1hvNV((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexCoord1hv(ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glTexCoord1hvNV((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexCoord1hv(UInt16* v)
|
|
{
|
|
Delegates.glTexCoord1hvNV((UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexCoord1hv(Int16* v)
|
|
{
|
|
Delegates.glTexCoord1hvNV((UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void TexCoord2h(UInt16 s, UInt16 t)
|
|
{
|
|
Delegates.glTexCoord2hNV((UInt16)s, (UInt16)t);
|
|
}
|
|
|
|
public static
|
|
void TexCoord2h(Int16 s, Int16 t)
|
|
{
|
|
Delegates.glTexCoord2hNV((UInt16)s, (UInt16)t);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void TexCoord2h(UInt16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = v)
|
|
{
|
|
Delegates.glTexCoord2hvNV((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexCoord2h(Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glTexCoord2hvNV((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void TexCoord2h(ref UInt16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = &v)
|
|
{
|
|
Delegates.glTexCoord2hvNV((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexCoord2h(ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glTexCoord2hvNV((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexCoord2h(UInt16* v)
|
|
{
|
|
Delegates.glTexCoord2hvNV((UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexCoord2h(Int16* v)
|
|
{
|
|
Delegates.glTexCoord2hvNV((UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void TexCoord3h(UInt16 s, UInt16 t, UInt16 r)
|
|
{
|
|
Delegates.glTexCoord3hNV((UInt16)s, (UInt16)t, (UInt16)r);
|
|
}
|
|
|
|
public static
|
|
void TexCoord3h(Int16 s, Int16 t, Int16 r)
|
|
{
|
|
Delegates.glTexCoord3hNV((UInt16)s, (UInt16)t, (UInt16)r);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void TexCoord3h(UInt16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = v)
|
|
{
|
|
Delegates.glTexCoord3hvNV((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexCoord3h(Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glTexCoord3hvNV((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void TexCoord3h(ref UInt16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = &v)
|
|
{
|
|
Delegates.glTexCoord3hvNV((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexCoord3h(ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glTexCoord3hvNV((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexCoord3h(UInt16* v)
|
|
{
|
|
Delegates.glTexCoord3hvNV((UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexCoord3h(Int16* v)
|
|
{
|
|
Delegates.glTexCoord3hvNV((UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void TexCoord4h(UInt16 s, UInt16 t, UInt16 r, UInt16 q)
|
|
{
|
|
Delegates.glTexCoord4hNV((UInt16)s, (UInt16)t, (UInt16)r, (UInt16)q);
|
|
}
|
|
|
|
public static
|
|
void TexCoord4h(Int16 s, Int16 t, Int16 r, Int16 q)
|
|
{
|
|
Delegates.glTexCoord4hNV((UInt16)s, (UInt16)t, (UInt16)r, (UInt16)q);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void TexCoord4h(UInt16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = v)
|
|
{
|
|
Delegates.glTexCoord4hvNV((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexCoord4h(Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glTexCoord4hvNV((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void TexCoord4h(ref UInt16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = &v)
|
|
{
|
|
Delegates.glTexCoord4hvNV((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexCoord4h(ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glTexCoord4hvNV((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexCoord4h(UInt16* v)
|
|
{
|
|
Delegates.glTexCoord4hvNV((UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexCoord4h(Int16* v)
|
|
{
|
|
Delegates.glTexCoord4hvNV((UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void MultiTexCoord1h(OpenTK.Graphics.TextureUnit target, UInt16 s)
|
|
{
|
|
Delegates.glMultiTexCoord1hNV((OpenTK.Graphics.TextureUnit)target, (UInt16)s);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1h(OpenTK.Graphics.TextureUnit target, Int16 s)
|
|
{
|
|
Delegates.glMultiTexCoord1hNV((OpenTK.Graphics.TextureUnit)target, (UInt16)s);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void MultiTexCoord1hv(OpenTK.Graphics.TextureUnit target, UInt16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord1hvNV((OpenTK.Graphics.TextureUnit)target, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1hv(OpenTK.Graphics.TextureUnit target, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord1hvNV((OpenTK.Graphics.TextureUnit)target, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void MultiTexCoord1hv(OpenTK.Graphics.TextureUnit target, ref UInt16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord1hvNV((OpenTK.Graphics.TextureUnit)target, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1hv(OpenTK.Graphics.TextureUnit target, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord1hvNV((OpenTK.Graphics.TextureUnit)target, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord1hv(OpenTK.Graphics.TextureUnit target, UInt16* v)
|
|
{
|
|
Delegates.glMultiTexCoord1hvNV((OpenTK.Graphics.TextureUnit)target, (UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord1hv(OpenTK.Graphics.TextureUnit target, Int16* v)
|
|
{
|
|
Delegates.glMultiTexCoord1hvNV((OpenTK.Graphics.TextureUnit)target, (UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void MultiTexCoord2h(OpenTK.Graphics.TextureUnit target, UInt16 s, UInt16 t)
|
|
{
|
|
Delegates.glMultiTexCoord2hNV((OpenTK.Graphics.TextureUnit)target, (UInt16)s, (UInt16)t);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2h(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t)
|
|
{
|
|
Delegates.glMultiTexCoord2hNV((OpenTK.Graphics.TextureUnit)target, (UInt16)s, (UInt16)t);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void MultiTexCoord2h(OpenTK.Graphics.TextureUnit target, UInt16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord2hvNV((OpenTK.Graphics.TextureUnit)target, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2h(OpenTK.Graphics.TextureUnit target, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord2hvNV((OpenTK.Graphics.TextureUnit)target, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void MultiTexCoord2h(OpenTK.Graphics.TextureUnit target, ref UInt16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord2hvNV((OpenTK.Graphics.TextureUnit)target, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2h(OpenTK.Graphics.TextureUnit target, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord2hvNV((OpenTK.Graphics.TextureUnit)target, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord2h(OpenTK.Graphics.TextureUnit target, UInt16* v)
|
|
{
|
|
Delegates.glMultiTexCoord2hvNV((OpenTK.Graphics.TextureUnit)target, (UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord2h(OpenTK.Graphics.TextureUnit target, Int16* v)
|
|
{
|
|
Delegates.glMultiTexCoord2hvNV((OpenTK.Graphics.TextureUnit)target, (UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void MultiTexCoord3h(OpenTK.Graphics.TextureUnit target, UInt16 s, UInt16 t, UInt16 r)
|
|
{
|
|
Delegates.glMultiTexCoord3hNV((OpenTK.Graphics.TextureUnit)target, (UInt16)s, (UInt16)t, (UInt16)r);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3h(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t, Int16 r)
|
|
{
|
|
Delegates.glMultiTexCoord3hNV((OpenTK.Graphics.TextureUnit)target, (UInt16)s, (UInt16)t, (UInt16)r);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void MultiTexCoord3h(OpenTK.Graphics.TextureUnit target, UInt16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord3hvNV((OpenTK.Graphics.TextureUnit)target, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3h(OpenTK.Graphics.TextureUnit target, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord3hvNV((OpenTK.Graphics.TextureUnit)target, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void MultiTexCoord3h(OpenTK.Graphics.TextureUnit target, ref UInt16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord3hvNV((OpenTK.Graphics.TextureUnit)target, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3h(OpenTK.Graphics.TextureUnit target, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord3hvNV((OpenTK.Graphics.TextureUnit)target, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord3h(OpenTK.Graphics.TextureUnit target, UInt16* v)
|
|
{
|
|
Delegates.glMultiTexCoord3hvNV((OpenTK.Graphics.TextureUnit)target, (UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord3h(OpenTK.Graphics.TextureUnit target, Int16* v)
|
|
{
|
|
Delegates.glMultiTexCoord3hvNV((OpenTK.Graphics.TextureUnit)target, (UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void MultiTexCoord4h(OpenTK.Graphics.TextureUnit target, UInt16 s, UInt16 t, UInt16 r, UInt16 q)
|
|
{
|
|
Delegates.glMultiTexCoord4hNV((OpenTK.Graphics.TextureUnit)target, (UInt16)s, (UInt16)t, (UInt16)r, (UInt16)q);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4h(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t, Int16 r, Int16 q)
|
|
{
|
|
Delegates.glMultiTexCoord4hNV((OpenTK.Graphics.TextureUnit)target, (UInt16)s, (UInt16)t, (UInt16)r, (UInt16)q);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void MultiTexCoord4h(OpenTK.Graphics.TextureUnit target, UInt16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord4hvNV((OpenTK.Graphics.TextureUnit)target, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4h(OpenTK.Graphics.TextureUnit target, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord4hvNV((OpenTK.Graphics.TextureUnit)target, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void MultiTexCoord4h(OpenTK.Graphics.TextureUnit target, ref UInt16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord4hvNV((OpenTK.Graphics.TextureUnit)target, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4h(OpenTK.Graphics.TextureUnit target, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord4hvNV((OpenTK.Graphics.TextureUnit)target, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord4h(OpenTK.Graphics.TextureUnit target, UInt16* v)
|
|
{
|
|
Delegates.glMultiTexCoord4hvNV((OpenTK.Graphics.TextureUnit)target, (UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord4h(OpenTK.Graphics.TextureUnit target, Int16* v)
|
|
{
|
|
Delegates.glMultiTexCoord4hvNV((OpenTK.Graphics.TextureUnit)target, (UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void FogCoordh(UInt16 fog)
|
|
{
|
|
Delegates.glFogCoordhNV((UInt16)fog);
|
|
}
|
|
|
|
public static
|
|
void FogCoordh(Int16 fog)
|
|
{
|
|
Delegates.glFogCoordhNV((UInt16)fog);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void FogCoordhv(UInt16[] fog)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* fog_ptr = fog)
|
|
{
|
|
Delegates.glFogCoordhvNV((UInt16*)fog_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void FogCoordhv(Int16[] fog)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* fog_ptr = fog)
|
|
{
|
|
Delegates.glFogCoordhvNV((UInt16*)fog_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void FogCoordhv(ref UInt16 fog)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* fog_ptr = &fog)
|
|
{
|
|
Delegates.glFogCoordhvNV((UInt16*)fog_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void FogCoordhv(ref Int16 fog)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* fog_ptr = &fog)
|
|
{
|
|
Delegates.glFogCoordhvNV((UInt16*)fog_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void FogCoordhv(UInt16* fog)
|
|
{
|
|
Delegates.glFogCoordhvNV((UInt16*)fog);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void FogCoordhv(Int16* fog)
|
|
{
|
|
Delegates.glFogCoordhvNV((UInt16*)fog);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void SecondaryColor3h(UInt16 red, UInt16 green, UInt16 blue)
|
|
{
|
|
Delegates.glSecondaryColor3hNV((UInt16)red, (UInt16)green, (UInt16)blue);
|
|
}
|
|
|
|
public static
|
|
void SecondaryColor3h(Int16 red, Int16 green, Int16 blue)
|
|
{
|
|
Delegates.glSecondaryColor3hNV((UInt16)red, (UInt16)green, (UInt16)blue);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void SecondaryColor3h(UInt16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = v)
|
|
{
|
|
Delegates.glSecondaryColor3hvNV((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void SecondaryColor3h(Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glSecondaryColor3hvNV((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void SecondaryColor3h(ref UInt16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = &v)
|
|
{
|
|
Delegates.glSecondaryColor3hvNV((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void SecondaryColor3h(ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glSecondaryColor3hvNV((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void SecondaryColor3h(UInt16* v)
|
|
{
|
|
Delegates.glSecondaryColor3hvNV((UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void SecondaryColor3h(Int16* v)
|
|
{
|
|
Delegates.glSecondaryColor3hvNV((UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexWeighth(UInt16 weight)
|
|
{
|
|
Delegates.glVertexWeighthNV((UInt16)weight);
|
|
}
|
|
|
|
public static
|
|
void VertexWeighth(Int16 weight)
|
|
{
|
|
Delegates.glVertexWeighthNV((UInt16)weight);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexWeighthv(UInt16[] weight)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* weight_ptr = weight)
|
|
{
|
|
Delegates.glVertexWeighthvNV((UInt16*)weight_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexWeighthv(Int16[] weight)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* weight_ptr = weight)
|
|
{
|
|
Delegates.glVertexWeighthvNV((UInt16*)weight_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexWeighthv(ref UInt16 weight)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* weight_ptr = &weight)
|
|
{
|
|
Delegates.glVertexWeighthvNV((UInt16*)weight_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexWeighthv(ref Int16 weight)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* weight_ptr = &weight)
|
|
{
|
|
Delegates.glVertexWeighthvNV((UInt16*)weight_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexWeighthv(UInt16* weight)
|
|
{
|
|
Delegates.glVertexWeighthvNV((UInt16*)weight);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexWeighthv(Int16* weight)
|
|
{
|
|
Delegates.glVertexWeighthvNV((UInt16*)weight);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib1h(UInt32 index, UInt16 x)
|
|
{
|
|
Delegates.glVertexAttrib1hNV((UInt32)index, (UInt16)x);
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib1h(Int32 index, Int16 x)
|
|
{
|
|
Delegates.glVertexAttrib1hNV((UInt32)index, (UInt16)x);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib1hv(UInt32 index, UInt16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib1hvNV((UInt32)index, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib1hv(Int32 index, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib1hvNV((UInt32)index, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib1hv(UInt32 index, ref UInt16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib1hvNV((UInt32)index, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib1hv(Int32 index, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib1hvNV((UInt32)index, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib1hv(UInt32 index, UInt16* v)
|
|
{
|
|
Delegates.glVertexAttrib1hvNV((UInt32)index, (UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib1hv(Int32 index, Int16* v)
|
|
{
|
|
Delegates.glVertexAttrib1hvNV((UInt32)index, (UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib2h(UInt32 index, UInt16 x, UInt16 y)
|
|
{
|
|
Delegates.glVertexAttrib2hNV((UInt32)index, (UInt16)x, (UInt16)y);
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib2h(Int32 index, Int16 x, Int16 y)
|
|
{
|
|
Delegates.glVertexAttrib2hNV((UInt32)index, (UInt16)x, (UInt16)y);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib2h(UInt32 index, UInt16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib2hvNV((UInt32)index, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib2h(Int32 index, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib2hvNV((UInt32)index, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib2h(UInt32 index, ref UInt16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib2hvNV((UInt32)index, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib2h(Int32 index, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib2hvNV((UInt32)index, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib2h(UInt32 index, UInt16* v)
|
|
{
|
|
Delegates.glVertexAttrib2hvNV((UInt32)index, (UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib2h(Int32 index, Int16* v)
|
|
{
|
|
Delegates.glVertexAttrib2hvNV((UInt32)index, (UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib3h(UInt32 index, UInt16 x, UInt16 y, UInt16 z)
|
|
{
|
|
Delegates.glVertexAttrib3hNV((UInt32)index, (UInt16)x, (UInt16)y, (UInt16)z);
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib3h(Int32 index, Int16 x, Int16 y, Int16 z)
|
|
{
|
|
Delegates.glVertexAttrib3hNV((UInt32)index, (UInt16)x, (UInt16)y, (UInt16)z);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib3h(UInt32 index, UInt16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib3hvNV((UInt32)index, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib3h(Int32 index, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib3hvNV((UInt32)index, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib3h(UInt32 index, ref UInt16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib3hvNV((UInt32)index, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib3h(Int32 index, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib3hvNV((UInt32)index, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib3h(UInt32 index, UInt16* v)
|
|
{
|
|
Delegates.glVertexAttrib3hvNV((UInt32)index, (UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib3h(Int32 index, Int16* v)
|
|
{
|
|
Delegates.glVertexAttrib3hvNV((UInt32)index, (UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4h(UInt32 index, UInt16 x, UInt16 y, UInt16 z, UInt16 w)
|
|
{
|
|
Delegates.glVertexAttrib4hNV((UInt32)index, (UInt16)x, (UInt16)y, (UInt16)z, (UInt16)w);
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib4h(Int32 index, Int16 x, Int16 y, Int16 z, Int16 w)
|
|
{
|
|
Delegates.glVertexAttrib4hNV((UInt32)index, (UInt16)x, (UInt16)y, (UInt16)z, (UInt16)w);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4h(UInt32 index, UInt16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib4hvNV((UInt32)index, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib4h(Int32 index, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib4hvNV((UInt32)index, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4h(UInt32 index, ref UInt16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib4hvNV((UInt32)index, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib4h(Int32 index, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib4hvNV((UInt32)index, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib4h(UInt32 index, UInt16* v)
|
|
{
|
|
Delegates.glVertexAttrib4hvNV((UInt32)index, (UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib4h(Int32 index, Int16* v)
|
|
{
|
|
Delegates.glVertexAttrib4hvNV((UInt32)index, (UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribs1h(UInt32 index, Int32 n, UInt16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttribs1h(Int32 index, Int32 n, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribs1h(UInt32 index, Int32 n, ref UInt16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttribs1h(Int32 index, Int32 n, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttribs1h(UInt32 index, Int32 n, UInt16* v)
|
|
{
|
|
Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttribs1h(Int32 index, Int32 n, Int16* v)
|
|
{
|
|
Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribs2h(UInt32 index, Int32 n, UInt16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttribs2h(Int32 index, Int32 n, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribs2h(UInt32 index, Int32 n, ref UInt16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttribs2h(Int32 index, Int32 n, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttribs2h(UInt32 index, Int32 n, UInt16* v)
|
|
{
|
|
Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttribs2h(Int32 index, Int32 n, Int16* v)
|
|
{
|
|
Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribs3h(UInt32 index, Int32 n, UInt16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttribs3hvNV((UInt32)index, (Int32)n, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttribs3h(Int32 index, Int32 n, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttribs3hvNV((UInt32)index, (Int32)n, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribs3h(UInt32 index, Int32 n, ref UInt16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttribs3hvNV((UInt32)index, (Int32)n, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttribs3h(Int32 index, Int32 n, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttribs3hvNV((UInt32)index, (Int32)n, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttribs3h(UInt32 index, Int32 n, UInt16* v)
|
|
{
|
|
Delegates.glVertexAttribs3hvNV((UInt32)index, (Int32)n, (UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttribs3h(Int32 index, Int32 n, Int16* v)
|
|
{
|
|
Delegates.glVertexAttribs3hvNV((UInt32)index, (Int32)n, (UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribs4h(UInt32 index, Int32 n, UInt16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttribs4hvNV((UInt32)index, (Int32)n, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttribs4h(Int32 index, Int32 n, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttribs4hvNV((UInt32)index, (Int32)n, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribs4h(UInt32 index, Int32 n, ref UInt16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttribs4hvNV((UInt32)index, (Int32)n, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttribs4h(Int32 index, Int32 n, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttribs4hvNV((UInt32)index, (Int32)n, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttribs4h(UInt32 index, Int32 n, UInt16* v)
|
|
{
|
|
Delegates.glVertexAttribs4hvNV((UInt32)index, (Int32)n, (UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttribs4h(Int32 index, Int32 n, Int16* v)
|
|
{
|
|
Delegates.glVertexAttribs4hvNV((UInt32)index, (Int32)n, (UInt16*)v);
|
|
}
|
|
|
|
public static
|
|
void PixelDataRange(OpenTK.Graphics.All target, Int32 length, [Out] IntPtr pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glPixelDataRangeNV((OpenTK.Graphics.All)target, (Int32)length, (IntPtr)pointer);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void PixelDataRange(OpenTK.Graphics.All target, Int32 length, [In, Out] object pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glPixelDataRangeNV((OpenTK.Graphics.All)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void FlushPixelDataRange(OpenTK.Graphics.All target)
|
|
{
|
|
Delegates.glFlushPixelDataRangeNV((OpenTK.Graphics.All)target);
|
|
}
|
|
|
|
public static
|
|
void PrimitiveRestart()
|
|
{
|
|
Delegates.glPrimitiveRestartNV();
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void PrimitiveRestartIndex(UInt32 index)
|
|
{
|
|
Delegates.glPrimitiveRestartIndexNV((UInt32)index);
|
|
}
|
|
|
|
public static
|
|
void PrimitiveRestartIndex(Int32 index)
|
|
{
|
|
Delegates.glPrimitiveRestartIndexNV((UInt32)index);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramLocalParameterI4(OpenTK.Graphics.All target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w)
|
|
{
|
|
Delegates.glProgramLocalParameterI4iNV((OpenTK.Graphics.All)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramLocalParameterI4(OpenTK.Graphics.All target, UInt32 index, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramLocalParameterI4ivNV((OpenTK.Graphics.All)target, (UInt32)index, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramLocalParameterI4(OpenTK.Graphics.All target, UInt32 index, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramLocalParameterI4ivNV((OpenTK.Graphics.All)target, (UInt32)index, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramLocalParameterI4(OpenTK.Graphics.All target, UInt32 index, Int32* @params)
|
|
{
|
|
Delegates.glProgramLocalParameterI4ivNV((OpenTK.Graphics.All)target, (UInt32)index, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramLocalParametersI4(OpenTK.Graphics.All target, UInt32 index, Int32 count, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramLocalParametersI4ivNV((OpenTK.Graphics.All)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramLocalParametersI4(OpenTK.Graphics.All target, UInt32 index, Int32 count, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramLocalParametersI4ivNV((OpenTK.Graphics.All)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramLocalParametersI4(OpenTK.Graphics.All target, UInt32 index, Int32 count, Int32* @params)
|
|
{
|
|
Delegates.glProgramLocalParametersI4ivNV((OpenTK.Graphics.All)target, (UInt32)index, (Int32)count, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramLocalParameterI4(OpenTK.Graphics.All target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w)
|
|
{
|
|
Delegates.glProgramLocalParameterI4uiNV((OpenTK.Graphics.All)target, (UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w);
|
|
}
|
|
|
|
public static
|
|
void ProgramLocalParameterI4(OpenTK.Graphics.All target, Int32 index, Int32 x, Int32 y, Int32 z, Int32 w)
|
|
{
|
|
Delegates.glProgramLocalParameterI4uiNV((OpenTK.Graphics.All)target, (UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramLocalParameterI4(OpenTK.Graphics.All target, UInt32 index, UInt32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramLocalParameterI4uivNV((OpenTK.Graphics.All)target, (UInt32)index, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramLocalParameterI4(OpenTK.Graphics.All target, Int32 index, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramLocalParameterI4uivNV((OpenTK.Graphics.All)target, (UInt32)index, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramLocalParameterI4(OpenTK.Graphics.All target, UInt32 index, ref UInt32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramLocalParameterI4uivNV((OpenTK.Graphics.All)target, (UInt32)index, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramLocalParameterI4(OpenTK.Graphics.All target, Int32 index, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramLocalParameterI4uivNV((OpenTK.Graphics.All)target, (UInt32)index, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramLocalParameterI4(OpenTK.Graphics.All target, UInt32 index, UInt32* @params)
|
|
{
|
|
Delegates.glProgramLocalParameterI4uivNV((OpenTK.Graphics.All)target, (UInt32)index, (UInt32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramLocalParameterI4(OpenTK.Graphics.All target, Int32 index, Int32* @params)
|
|
{
|
|
Delegates.glProgramLocalParameterI4uivNV((OpenTK.Graphics.All)target, (UInt32)index, (UInt32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramLocalParametersI4(OpenTK.Graphics.All target, UInt32 index, Int32 count, UInt32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramLocalParametersI4uivNV((OpenTK.Graphics.All)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramLocalParametersI4(OpenTK.Graphics.All target, Int32 index, Int32 count, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramLocalParametersI4uivNV((OpenTK.Graphics.All)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramLocalParametersI4(OpenTK.Graphics.All target, UInt32 index, Int32 count, ref UInt32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramLocalParametersI4uivNV((OpenTK.Graphics.All)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramLocalParametersI4(OpenTK.Graphics.All target, Int32 index, Int32 count, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramLocalParametersI4uivNV((OpenTK.Graphics.All)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramLocalParametersI4(OpenTK.Graphics.All target, UInt32 index, Int32 count, UInt32* @params)
|
|
{
|
|
Delegates.glProgramLocalParametersI4uivNV((OpenTK.Graphics.All)target, (UInt32)index, (Int32)count, (UInt32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramLocalParametersI4(OpenTK.Graphics.All target, Int32 index, Int32 count, Int32* @params)
|
|
{
|
|
Delegates.glProgramLocalParametersI4uivNV((OpenTK.Graphics.All)target, (UInt32)index, (Int32)count, (UInt32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramEnvParameterI4(OpenTK.Graphics.All target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w)
|
|
{
|
|
Delegates.glProgramEnvParameterI4iNV((OpenTK.Graphics.All)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramEnvParameterI4(OpenTK.Graphics.All target, UInt32 index, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramEnvParameterI4ivNV((OpenTK.Graphics.All)target, (UInt32)index, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramEnvParameterI4(OpenTK.Graphics.All target, UInt32 index, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramEnvParameterI4ivNV((OpenTK.Graphics.All)target, (UInt32)index, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramEnvParameterI4(OpenTK.Graphics.All target, UInt32 index, Int32* @params)
|
|
{
|
|
Delegates.glProgramEnvParameterI4ivNV((OpenTK.Graphics.All)target, (UInt32)index, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramEnvParametersI4(OpenTK.Graphics.All target, UInt32 index, Int32 count, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramEnvParametersI4ivNV((OpenTK.Graphics.All)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramEnvParametersI4(OpenTK.Graphics.All target, UInt32 index, Int32 count, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramEnvParametersI4ivNV((OpenTK.Graphics.All)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramEnvParametersI4(OpenTK.Graphics.All target, UInt32 index, Int32 count, Int32* @params)
|
|
{
|
|
Delegates.glProgramEnvParametersI4ivNV((OpenTK.Graphics.All)target, (UInt32)index, (Int32)count, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramEnvParameterI4(OpenTK.Graphics.All target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w)
|
|
{
|
|
Delegates.glProgramEnvParameterI4uiNV((OpenTK.Graphics.All)target, (UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w);
|
|
}
|
|
|
|
public static
|
|
void ProgramEnvParameterI4(OpenTK.Graphics.All target, Int32 index, Int32 x, Int32 y, Int32 z, Int32 w)
|
|
{
|
|
Delegates.glProgramEnvParameterI4uiNV((OpenTK.Graphics.All)target, (UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramEnvParameterI4(OpenTK.Graphics.All target, UInt32 index, UInt32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramEnvParameterI4uivNV((OpenTK.Graphics.All)target, (UInt32)index, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramEnvParameterI4(OpenTK.Graphics.All target, Int32 index, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramEnvParameterI4uivNV((OpenTK.Graphics.All)target, (UInt32)index, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramEnvParameterI4(OpenTK.Graphics.All target, UInt32 index, ref UInt32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramEnvParameterI4uivNV((OpenTK.Graphics.All)target, (UInt32)index, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramEnvParameterI4(OpenTK.Graphics.All target, Int32 index, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramEnvParameterI4uivNV((OpenTK.Graphics.All)target, (UInt32)index, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramEnvParameterI4(OpenTK.Graphics.All target, UInt32 index, UInt32* @params)
|
|
{
|
|
Delegates.glProgramEnvParameterI4uivNV((OpenTK.Graphics.All)target, (UInt32)index, (UInt32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramEnvParameterI4(OpenTK.Graphics.All target, Int32 index, Int32* @params)
|
|
{
|
|
Delegates.glProgramEnvParameterI4uivNV((OpenTK.Graphics.All)target, (UInt32)index, (UInt32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramEnvParametersI4(OpenTK.Graphics.All target, UInt32 index, Int32 count, UInt32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramEnvParametersI4uivNV((OpenTK.Graphics.All)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramEnvParametersI4(OpenTK.Graphics.All target, Int32 index, Int32 count, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramEnvParametersI4uivNV((OpenTK.Graphics.All)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramEnvParametersI4(OpenTK.Graphics.All target, UInt32 index, Int32 count, ref UInt32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramEnvParametersI4uivNV((OpenTK.Graphics.All)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramEnvParametersI4(OpenTK.Graphics.All target, Int32 index, Int32 count, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramEnvParametersI4uivNV((OpenTK.Graphics.All)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramEnvParametersI4(OpenTK.Graphics.All target, UInt32 index, Int32 count, UInt32* @params)
|
|
{
|
|
Delegates.glProgramEnvParametersI4uivNV((OpenTK.Graphics.All)target, (UInt32)index, (Int32)count, (UInt32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramEnvParametersI4(OpenTK.Graphics.All target, Int32 index, Int32 count, Int32* @params)
|
|
{
|
|
Delegates.glProgramEnvParametersI4uivNV((OpenTK.Graphics.All)target, (UInt32)index, (Int32)count, (UInt32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgramLocalParameterI(OpenTK.Graphics.All target, UInt32 index, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetProgramLocalParameterIivNV((OpenTK.Graphics.All)target, (UInt32)index, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgramLocalParameterI(OpenTK.Graphics.All target, UInt32 index, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetProgramLocalParameterIivNV((OpenTK.Graphics.All)target, (UInt32)index, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgramLocalParameterI(OpenTK.Graphics.All target, UInt32 index, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetProgramLocalParameterIivNV((OpenTK.Graphics.All)target, (UInt32)index, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgramLocalParameterI(OpenTK.Graphics.All target, UInt32 index, [Out] UInt32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetProgramLocalParameterIuivNV((OpenTK.Graphics.All)target, (UInt32)index, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgramLocalParameterI(OpenTK.Graphics.All target, Int32 index, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetProgramLocalParameterIuivNV((OpenTK.Graphics.All)target, (UInt32)index, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgramLocalParameterI(OpenTK.Graphics.All target, UInt32 index, [Out] out UInt32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetProgramLocalParameterIuivNV((OpenTK.Graphics.All)target, (UInt32)index, (UInt32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgramLocalParameterI(OpenTK.Graphics.All target, Int32 index, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetProgramLocalParameterIuivNV((OpenTK.Graphics.All)target, (UInt32)index, (UInt32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgramLocalParameterI(OpenTK.Graphics.All target, UInt32 index, [Out] UInt32* @params)
|
|
{
|
|
Delegates.glGetProgramLocalParameterIuivNV((OpenTK.Graphics.All)target, (UInt32)index, (UInt32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgramLocalParameterI(OpenTK.Graphics.All target, Int32 index, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetProgramLocalParameterIuivNV((OpenTK.Graphics.All)target, (UInt32)index, (UInt32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgramEnvParameterI(OpenTK.Graphics.All target, UInt32 index, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetProgramEnvParameterIivNV((OpenTK.Graphics.All)target, (UInt32)index, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgramEnvParameterI(OpenTK.Graphics.All target, UInt32 index, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetProgramEnvParameterIivNV((OpenTK.Graphics.All)target, (UInt32)index, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgramEnvParameterI(OpenTK.Graphics.All target, UInt32 index, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetProgramEnvParameterIivNV((OpenTK.Graphics.All)target, (UInt32)index, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgramEnvParameterI(OpenTK.Graphics.All target, UInt32 index, [Out] UInt32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetProgramEnvParameterIuivNV((OpenTK.Graphics.All)target, (UInt32)index, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgramEnvParameterI(OpenTK.Graphics.All target, Int32 index, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetProgramEnvParameterIuivNV((OpenTK.Graphics.All)target, (UInt32)index, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgramEnvParameterI(OpenTK.Graphics.All target, UInt32 index, [Out] out UInt32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetProgramEnvParameterIuivNV((OpenTK.Graphics.All)target, (UInt32)index, (UInt32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgramEnvParameterI(OpenTK.Graphics.All target, Int32 index, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetProgramEnvParameterIuivNV((OpenTK.Graphics.All)target, (UInt32)index, (UInt32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgramEnvParameterI(OpenTK.Graphics.All target, UInt32 index, [Out] UInt32* @params)
|
|
{
|
|
Delegates.glGetProgramEnvParameterIuivNV((OpenTK.Graphics.All)target, (UInt32)index, (UInt32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgramEnvParameterI(OpenTK.Graphics.All target, Int32 index, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetProgramEnvParameterIuivNV((OpenTK.Graphics.All)target, (UInt32)index, (UInt32*)@params);
|
|
}
|
|
|
|
public static
|
|
void ProgramVertexLimit(OpenTK.Graphics.All target, Int32 limit)
|
|
{
|
|
Delegates.glProgramVertexLimitNV((OpenTK.Graphics.All)target, (Int32)limit);
|
|
}
|
|
|
|
public static
|
|
void DepthRange(Double zNear, Double zFar)
|
|
{
|
|
Delegates.glDepthRangedNV((Double)zNear, (Double)zFar);
|
|
}
|
|
|
|
public static
|
|
void ClearDepth(Double depth)
|
|
{
|
|
Delegates.glClearDepthdNV((Double)depth);
|
|
}
|
|
|
|
public static
|
|
void DepthBounds(Double zmin, Double zmax)
|
|
{
|
|
Delegates.glDepthBoundsdNV((Double)zmin, (Double)zmax);
|
|
}
|
|
|
|
public static
|
|
void RenderbufferStorageMultisampleCoverage(OpenTK.Graphics.RenderbufferTarget target, Int32 coverageSamples, Int32 colorSamples, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height)
|
|
{
|
|
Delegates.glRenderbufferStorageMultisampleCoverageNV((OpenTK.Graphics.RenderbufferTarget)target, (Int32)coverageSamples, (Int32)colorSamples, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramBufferParameters(OpenTK.Graphics.All target, UInt32 buffer, UInt32 index, Int32 count, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramBufferParametersfvNV((OpenTK.Graphics.All)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramBufferParameters(OpenTK.Graphics.All target, Int32 buffer, Int32 index, Int32 count, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramBufferParametersfvNV((OpenTK.Graphics.All)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramBufferParameters(OpenTK.Graphics.All target, UInt32 buffer, UInt32 index, Int32 count, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramBufferParametersfvNV((OpenTK.Graphics.All)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramBufferParameters(OpenTK.Graphics.All target, Int32 buffer, Int32 index, Int32 count, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramBufferParametersfvNV((OpenTK.Graphics.All)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramBufferParameters(OpenTK.Graphics.All target, UInt32 buffer, UInt32 index, Int32 count, Single* @params)
|
|
{
|
|
Delegates.glProgramBufferParametersfvNV((OpenTK.Graphics.All)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramBufferParameters(OpenTK.Graphics.All target, Int32 buffer, Int32 index, Int32 count, Single* @params)
|
|
{
|
|
Delegates.glProgramBufferParametersfvNV((OpenTK.Graphics.All)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramBufferParametersI(OpenTK.Graphics.All target, UInt32 buffer, UInt32 index, Int32 count, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramBufferParametersIivNV((OpenTK.Graphics.All)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramBufferParametersI(OpenTK.Graphics.All target, UInt32 buffer, UInt32 index, Int32 count, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramBufferParametersIivNV((OpenTK.Graphics.All)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramBufferParametersI(OpenTK.Graphics.All target, UInt32 buffer, UInt32 index, Int32 count, Int32* @params)
|
|
{
|
|
Delegates.glProgramBufferParametersIivNV((OpenTK.Graphics.All)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramBufferParametersI(OpenTK.Graphics.All target, UInt32 buffer, UInt32 index, Int32 count, UInt32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramBufferParametersIuivNV((OpenTK.Graphics.All)target, (UInt32)buffer, (UInt32)index, (Int32)count, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramBufferParametersI(OpenTK.Graphics.All target, Int32 buffer, Int32 index, Int32 count, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramBufferParametersIuivNV((OpenTK.Graphics.All)target, (UInt32)buffer, (UInt32)index, (Int32)count, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramBufferParametersI(OpenTK.Graphics.All target, UInt32 buffer, UInt32 index, Int32 count, ref UInt32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramBufferParametersIuivNV((OpenTK.Graphics.All)target, (UInt32)buffer, (UInt32)index, (Int32)count, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramBufferParametersI(OpenTK.Graphics.All target, Int32 buffer, Int32 index, Int32 count, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramBufferParametersIuivNV((OpenTK.Graphics.All)target, (UInt32)buffer, (UInt32)index, (Int32)count, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramBufferParametersI(OpenTK.Graphics.All target, UInt32 buffer, UInt32 index, Int32 count, UInt32* @params)
|
|
{
|
|
Delegates.glProgramBufferParametersIuivNV((OpenTK.Graphics.All)target, (UInt32)buffer, (UInt32)index, (Int32)count, (UInt32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramBufferParametersI(OpenTK.Graphics.All target, Int32 buffer, Int32 index, Int32 count, Int32* @params)
|
|
{
|
|
Delegates.glProgramBufferParametersIuivNV((OpenTK.Graphics.All)target, (UInt32)buffer, (UInt32)index, (Int32)count, (UInt32*)@params);
|
|
}
|
|
|
|
public static
|
|
void BeginTransformFeedback(OpenTK.Graphics.All primitiveMode)
|
|
{
|
|
Delegates.glBeginTransformFeedbackNV((OpenTK.Graphics.All)primitiveMode);
|
|
}
|
|
|
|
public static
|
|
void EndTransformFeedback()
|
|
{
|
|
Delegates.glEndTransformFeedbackNV();
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void TransformFeedbackAttrib(UInt32 count, Int32[] attribs, OpenTK.Graphics.All bufferMode)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* attribs_ptr = attribs)
|
|
{
|
|
Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs_ptr, (OpenTK.Graphics.All)bufferMode);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TransformFeedbackAttrib(Int32 count, Int32[] attribs, OpenTK.Graphics.All bufferMode)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* attribs_ptr = attribs)
|
|
{
|
|
Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs_ptr, (OpenTK.Graphics.All)bufferMode);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void TransformFeedbackAttrib(UInt32 count, ref Int32 attribs, OpenTK.Graphics.All bufferMode)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* attribs_ptr = &attribs)
|
|
{
|
|
Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs_ptr, (OpenTK.Graphics.All)bufferMode);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TransformFeedbackAttrib(Int32 count, ref Int32 attribs, OpenTK.Graphics.All bufferMode)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* attribs_ptr = &attribs)
|
|
{
|
|
Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs_ptr, (OpenTK.Graphics.All)bufferMode);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TransformFeedbackAttrib(UInt32 count, Int32* attribs, OpenTK.Graphics.All bufferMode)
|
|
{
|
|
Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs, (OpenTK.Graphics.All)bufferMode);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TransformFeedbackAttrib(Int32 count, Int32* attribs, OpenTK.Graphics.All bufferMode)
|
|
{
|
|
Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs, (OpenTK.Graphics.All)bufferMode);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void BindBufferRange(OpenTK.Graphics.All target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size)
|
|
{
|
|
Delegates.glBindBufferRangeNV((OpenTK.Graphics.All)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size);
|
|
}
|
|
|
|
public static
|
|
void BindBufferRange(OpenTK.Graphics.All target, Int32 index, Int32 buffer, IntPtr offset, IntPtr size)
|
|
{
|
|
Delegates.glBindBufferRangeNV((OpenTK.Graphics.All)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void BindBufferOffset(OpenTK.Graphics.All target, UInt32 index, UInt32 buffer, IntPtr offset)
|
|
{
|
|
Delegates.glBindBufferOffsetNV((OpenTK.Graphics.All)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset);
|
|
}
|
|
|
|
public static
|
|
void BindBufferOffset(OpenTK.Graphics.All target, Int32 index, Int32 buffer, IntPtr offset)
|
|
{
|
|
Delegates.glBindBufferOffsetNV((OpenTK.Graphics.All)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void BindBufferBase(OpenTK.Graphics.All target, UInt32 index, UInt32 buffer)
|
|
{
|
|
Delegates.glBindBufferBaseNV((OpenTK.Graphics.All)target, (UInt32)index, (UInt32)buffer);
|
|
}
|
|
|
|
public static
|
|
void BindBufferBase(OpenTK.Graphics.All target, Int32 index, Int32 buffer)
|
|
{
|
|
Delegates.glBindBufferBaseNV((OpenTK.Graphics.All)target, (UInt32)index, (UInt32)buffer);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void TransformFeedbackVarying(UInt32 program, Int32 count, Int32[] locations, OpenTK.Graphics.All bufferMode)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* locations_ptr = locations)
|
|
{
|
|
Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations_ptr, (OpenTK.Graphics.All)bufferMode);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TransformFeedbackVarying(Int32 program, Int32 count, Int32[] locations, OpenTK.Graphics.All bufferMode)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* locations_ptr = locations)
|
|
{
|
|
Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations_ptr, (OpenTK.Graphics.All)bufferMode);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void TransformFeedbackVarying(UInt32 program, Int32 count, ref Int32 locations, OpenTK.Graphics.All bufferMode)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* locations_ptr = &locations)
|
|
{
|
|
Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations_ptr, (OpenTK.Graphics.All)bufferMode);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TransformFeedbackVarying(Int32 program, Int32 count, ref Int32 locations, OpenTK.Graphics.All bufferMode)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* locations_ptr = &locations)
|
|
{
|
|
Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations_ptr, (OpenTK.Graphics.All)bufferMode);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TransformFeedbackVarying(UInt32 program, Int32 count, Int32* locations, OpenTK.Graphics.All bufferMode)
|
|
{
|
|
Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations, (OpenTK.Graphics.All)bufferMode);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TransformFeedbackVarying(Int32 program, Int32 count, Int32* locations, OpenTK.Graphics.All bufferMode)
|
|
{
|
|
Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations, (OpenTK.Graphics.All)bufferMode);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ActiveVarying(UInt32 program, System.String name)
|
|
{
|
|
Delegates.glActiveVaryingNV((UInt32)program, (System.String)name);
|
|
}
|
|
|
|
public static
|
|
void ActiveVarying(Int32 program, System.String name)
|
|
{
|
|
Delegates.glActiveVaryingNV((UInt32)program, (System.String)name);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
Int32 GetVaryingLocation(UInt32 program, System.String name)
|
|
{
|
|
return Delegates.glGetVaryingLocationNV((UInt32)program, (System.String)name);
|
|
}
|
|
|
|
public static
|
|
Int32 GetVaryingLocation(Int32 program, System.String name)
|
|
{
|
|
return Delegates.glGetVaryingLocationNV((UInt32)program, (System.String)name);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32[] size, [Out] OpenTK.Graphics.All[] type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = length)
|
|
fixed (Int32* size_ptr = size)
|
|
fixed (OpenTK.Graphics.All* type_ptr = type)
|
|
{
|
|
Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.All*)type_ptr, (System.Text.StringBuilder)name);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32[] size, [Out] OpenTK.Graphics.All[] type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = length)
|
|
fixed (Int32* size_ptr = size)
|
|
fixed (OpenTK.Graphics.All* type_ptr = type)
|
|
{
|
|
Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.All*)type_ptr, (System.Text.StringBuilder)name);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.All type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = &length)
|
|
fixed (Int32* size_ptr = &size)
|
|
fixed (OpenTK.Graphics.All* type_ptr = &type)
|
|
{
|
|
Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.All*)type_ptr, (System.Text.StringBuilder)name);
|
|
length = *length_ptr;
|
|
size = *size_ptr;
|
|
type = *type_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.All type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = &length)
|
|
fixed (Int32* size_ptr = &size)
|
|
fixed (OpenTK.Graphics.All* type_ptr = &type)
|
|
{
|
|
Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.All*)type_ptr, (System.Text.StringBuilder)name);
|
|
length = *length_ptr;
|
|
size = *size_ptr;
|
|
type = *type_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.All* type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.All*)type, (System.Text.StringBuilder)name);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.All* type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.All*)type, (System.Text.StringBuilder)name);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetTransformFeedbackVarying(UInt32 program, UInt32 index, [Out] Int32[] location)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* location_ptr = location)
|
|
{
|
|
Delegates.glGetTransformFeedbackVaryingNV((UInt32)program, (UInt32)index, (Int32*)location_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetTransformFeedbackVarying(Int32 program, Int32 index, [Out] Int32[] location)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* location_ptr = location)
|
|
{
|
|
Delegates.glGetTransformFeedbackVaryingNV((UInt32)program, (UInt32)index, (Int32*)location_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetTransformFeedbackVarying(UInt32 program, UInt32 index, [Out] out Int32 location)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* location_ptr = &location)
|
|
{
|
|
Delegates.glGetTransformFeedbackVaryingNV((UInt32)program, (UInt32)index, (Int32*)location_ptr);
|
|
location = *location_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetTransformFeedbackVarying(Int32 program, Int32 index, [Out] out Int32 location)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* location_ptr = &location)
|
|
{
|
|
Delegates.glGetTransformFeedbackVaryingNV((UInt32)program, (UInt32)index, (Int32*)location_ptr);
|
|
location = *location_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, [Out] Int32* location)
|
|
{
|
|
Delegates.glGetTransformFeedbackVaryingNV((UInt32)program, (UInt32)index, (Int32*)location);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetTransformFeedbackVarying(Int32 program, Int32 index, [Out] Int32* location)
|
|
{
|
|
Delegates.glGetTransformFeedbackVaryingNV((UInt32)program, (UInt32)index, (Int32*)location);
|
|
}
|
|
|
|
}
|
|
|
|
public static partial class Arb
|
|
{
|
|
public static
|
|
void ActiveTexture(OpenTK.Graphics.TextureUnit texture)
|
|
{
|
|
Delegates.glActiveTextureARB((OpenTK.Graphics.TextureUnit)texture);
|
|
}
|
|
|
|
public static
|
|
void ClientActiveTexture(OpenTK.Graphics.TextureUnit texture)
|
|
{
|
|
Delegates.glClientActiveTextureARB((OpenTK.Graphics.TextureUnit)texture);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Double s)
|
|
{
|
|
Delegates.glMultiTexCoord1dARB((OpenTK.Graphics.TextureUnit)target, (Double)s);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1v(OpenTK.Graphics.TextureUnit target, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord1dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1v(OpenTK.Graphics.TextureUnit target, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord1dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord1v(OpenTK.Graphics.TextureUnit target, Double* v)
|
|
{
|
|
Delegates.glMultiTexCoord1dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Single s)
|
|
{
|
|
Delegates.glMultiTexCoord1fARB((OpenTK.Graphics.TextureUnit)target, (Single)s);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1v(OpenTK.Graphics.TextureUnit target, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord1fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1v(OpenTK.Graphics.TextureUnit target, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord1fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord1v(OpenTK.Graphics.TextureUnit target, Single* v)
|
|
{
|
|
Delegates.glMultiTexCoord1fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Int32 s)
|
|
{
|
|
Delegates.glMultiTexCoord1iARB((OpenTK.Graphics.TextureUnit)target, (Int32)s);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1v(OpenTK.Graphics.TextureUnit target, Int32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord1ivARB((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1v(OpenTK.Graphics.TextureUnit target, ref Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord1ivARB((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord1v(OpenTK.Graphics.TextureUnit target, Int32* v)
|
|
{
|
|
Delegates.glMultiTexCoord1ivARB((OpenTK.Graphics.TextureUnit)target, (Int32*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Int16 s)
|
|
{
|
|
Delegates.glMultiTexCoord1sARB((OpenTK.Graphics.TextureUnit)target, (Int16)s);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1v(OpenTK.Graphics.TextureUnit target, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord1svARB((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1v(OpenTK.Graphics.TextureUnit target, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord1svARB((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord1v(OpenTK.Graphics.TextureUnit target, Int16* v)
|
|
{
|
|
Delegates.glMultiTexCoord1svARB((OpenTK.Graphics.TextureUnit)target, (Int16*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Double s, Double t)
|
|
{
|
|
Delegates.glMultiTexCoord2dARB((OpenTK.Graphics.TextureUnit)target, (Double)s, (Double)t);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord2dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord2dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Double* v)
|
|
{
|
|
Delegates.glMultiTexCoord2dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Single s, Single t)
|
|
{
|
|
Delegates.glMultiTexCoord2fARB((OpenTK.Graphics.TextureUnit)target, (Single)s, (Single)t);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord2fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord2fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Single* v)
|
|
{
|
|
Delegates.glMultiTexCoord2fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t)
|
|
{
|
|
Delegates.glMultiTexCoord2iARB((OpenTK.Graphics.TextureUnit)target, (Int32)s, (Int32)t);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord2ivARB((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, ref Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord2ivARB((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int32* v)
|
|
{
|
|
Delegates.glMultiTexCoord2ivARB((OpenTK.Graphics.TextureUnit)target, (Int32*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t)
|
|
{
|
|
Delegates.glMultiTexCoord2sARB((OpenTK.Graphics.TextureUnit)target, (Int16)s, (Int16)t);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord2svARB((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord2svARB((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int16* v)
|
|
{
|
|
Delegates.glMultiTexCoord2svARB((OpenTK.Graphics.TextureUnit)target, (Int16*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Double s, Double t, Double r)
|
|
{
|
|
Delegates.glMultiTexCoord3dARB((OpenTK.Graphics.TextureUnit)target, (Double)s, (Double)t, (Double)r);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord3dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord3dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Double* v)
|
|
{
|
|
Delegates.glMultiTexCoord3dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Single s, Single t, Single r)
|
|
{
|
|
Delegates.glMultiTexCoord3fARB((OpenTK.Graphics.TextureUnit)target, (Single)s, (Single)t, (Single)r);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord3fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord3fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Single* v)
|
|
{
|
|
Delegates.glMultiTexCoord3fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t, Int32 r)
|
|
{
|
|
Delegates.glMultiTexCoord3iARB((OpenTK.Graphics.TextureUnit)target, (Int32)s, (Int32)t, (Int32)r);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord3ivARB((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, ref Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord3ivARB((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int32* v)
|
|
{
|
|
Delegates.glMultiTexCoord3ivARB((OpenTK.Graphics.TextureUnit)target, (Int32*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t, Int16 r)
|
|
{
|
|
Delegates.glMultiTexCoord3sARB((OpenTK.Graphics.TextureUnit)target, (Int16)s, (Int16)t, (Int16)r);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord3svARB((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord3svARB((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int16* v)
|
|
{
|
|
Delegates.glMultiTexCoord3svARB((OpenTK.Graphics.TextureUnit)target, (Int16*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Double s, Double t, Double r, Double q)
|
|
{
|
|
Delegates.glMultiTexCoord4dARB((OpenTK.Graphics.TextureUnit)target, (Double)s, (Double)t, (Double)r, (Double)q);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord4dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord4dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Double* v)
|
|
{
|
|
Delegates.glMultiTexCoord4dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Single s, Single t, Single r, Single q)
|
|
{
|
|
Delegates.glMultiTexCoord4fARB((OpenTK.Graphics.TextureUnit)target, (Single)s, (Single)t, (Single)r, (Single)q);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord4fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord4fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Single* v)
|
|
{
|
|
Delegates.glMultiTexCoord4fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t, Int32 r, Int32 q)
|
|
{
|
|
Delegates.glMultiTexCoord4iARB((OpenTK.Graphics.TextureUnit)target, (Int32)s, (Int32)t, (Int32)r, (Int32)q);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord4ivARB((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, ref Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord4ivARB((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int32* v)
|
|
{
|
|
Delegates.glMultiTexCoord4ivARB((OpenTK.Graphics.TextureUnit)target, (Int32*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t, Int16 r, Int16 q)
|
|
{
|
|
Delegates.glMultiTexCoord4sARB((OpenTK.Graphics.TextureUnit)target, (Int16)s, (Int16)t, (Int16)r, (Int16)q);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord4svARB((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord4svARB((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int16* v)
|
|
{
|
|
Delegates.glMultiTexCoord4svARB((OpenTK.Graphics.TextureUnit)target, (Int16*)v);
|
|
}
|
|
|
|
public static
|
|
void LoadTransposeMatrix(Single[] m)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* m_ptr = m)
|
|
{
|
|
Delegates.glLoadTransposeMatrixfARB((Single*)m_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void LoadTransposeMatrix(ref Single m)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* m_ptr = &m)
|
|
{
|
|
Delegates.glLoadTransposeMatrixfARB((Single*)m_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void LoadTransposeMatrix(Single* m)
|
|
{
|
|
Delegates.glLoadTransposeMatrixfARB((Single*)m);
|
|
}
|
|
|
|
public static
|
|
void LoadTransposeMatrix(Double[] m)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* m_ptr = m)
|
|
{
|
|
Delegates.glLoadTransposeMatrixdARB((Double*)m_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void LoadTransposeMatrix(ref Double m)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* m_ptr = &m)
|
|
{
|
|
Delegates.glLoadTransposeMatrixdARB((Double*)m_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void LoadTransposeMatrix(Double* m)
|
|
{
|
|
Delegates.glLoadTransposeMatrixdARB((Double*)m);
|
|
}
|
|
|
|
public static
|
|
void MultTransposeMatrix(Single[] m)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* m_ptr = m)
|
|
{
|
|
Delegates.glMultTransposeMatrixfARB((Single*)m_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultTransposeMatrix(ref Single m)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* m_ptr = &m)
|
|
{
|
|
Delegates.glMultTransposeMatrixfARB((Single*)m_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultTransposeMatrix(Single* m)
|
|
{
|
|
Delegates.glMultTransposeMatrixfARB((Single*)m);
|
|
}
|
|
|
|
public static
|
|
void MultTransposeMatrix(Double[] m)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* m_ptr = m)
|
|
{
|
|
Delegates.glMultTransposeMatrixdARB((Double*)m_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultTransposeMatrix(ref Double m)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* m_ptr = &m)
|
|
{
|
|
Delegates.glMultTransposeMatrixdARB((Double*)m_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultTransposeMatrix(Double* m)
|
|
{
|
|
Delegates.glMultTransposeMatrixdARB((Double*)m);
|
|
}
|
|
|
|
public static
|
|
void SampleCoverage(Single value, bool invert)
|
|
{
|
|
Delegates.glSampleCoverageARB((Single)value, (bool)invert);
|
|
}
|
|
|
|
public static
|
|
void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glCompressedTexImage3DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] object data)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glCompressedTexImage3DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
data_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glCompressedTexImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] object data)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glCompressedTexImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
data_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glCompressedTexImage1DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] object data)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glCompressedTexImage1DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
data_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glCompressedTexSubImage3DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] object data)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glCompressedTexSubImage3DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
data_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glCompressedTexSubImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] object data)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glCompressedTexSubImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
data_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glCompressedTexSubImage1DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] object data)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glCompressedTexSubImage1DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
data_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [Out] IntPtr img)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glGetCompressedTexImageARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (IntPtr)img);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [In, Out] object img)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle img_ptr = System.Runtime.InteropServices.GCHandle.Alloc(img, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetCompressedTexImageARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
img_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void PointParameter(OpenTK.Graphics.All pname, Single param)
|
|
{
|
|
Delegates.glPointParameterfARB((OpenTK.Graphics.All)pname, (Single)param);
|
|
}
|
|
|
|
public static
|
|
void PointParameterv(OpenTK.Graphics.All pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glPointParameterfvARB((OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void PointParameterv(OpenTK.Graphics.All pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glPointParameterfvARB((OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void PointParameterv(OpenTK.Graphics.All pname, Single* @params)
|
|
{
|
|
Delegates.glPointParameterfvARB((OpenTK.Graphics.All)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Weight(Int32 size, SByte[] weights)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (SByte* weights_ptr = weights)
|
|
{
|
|
Delegates.glWeightbvARB((Int32)size, (SByte*)weights_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Weight(Int32 size, ref SByte weights)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (SByte* weights_ptr = &weights)
|
|
{
|
|
Delegates.glWeightbvARB((Int32)size, (SByte*)weights_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Weight(Int32 size, SByte* weights)
|
|
{
|
|
Delegates.glWeightbvARB((Int32)size, (SByte*)weights);
|
|
}
|
|
|
|
public static
|
|
void Weight(Int32 size, Single[] weights)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* weights_ptr = weights)
|
|
{
|
|
Delegates.glWeightfvARB((Int32)size, (Single*)weights_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Weight(Int32 size, ref Single weights)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* weights_ptr = &weights)
|
|
{
|
|
Delegates.glWeightfvARB((Int32)size, (Single*)weights_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Weight(Int32 size, Single* weights)
|
|
{
|
|
Delegates.glWeightfvARB((Int32)size, (Single*)weights);
|
|
}
|
|
|
|
public static
|
|
void Weight(Int32 size, Double[] weights)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* weights_ptr = weights)
|
|
{
|
|
Delegates.glWeightdvARB((Int32)size, (Double*)weights_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Weight(Int32 size, ref Double weights)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* weights_ptr = &weights)
|
|
{
|
|
Delegates.glWeightdvARB((Int32)size, (Double*)weights_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Weight(Int32 size, Double* weights)
|
|
{
|
|
Delegates.glWeightdvARB((Int32)size, (Double*)weights);
|
|
}
|
|
|
|
public static
|
|
void Weight(Int32 size, Byte[] weights)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* weights_ptr = weights)
|
|
{
|
|
Delegates.glWeightubvARB((Int32)size, (Byte*)weights_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Weight(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 Weight(Int32 size, Byte* weights)
|
|
{
|
|
Delegates.glWeightubvARB((Int32)size, (Byte*)weights);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Weight(Int32 size, UInt16[] weights)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* weights_ptr = weights)
|
|
{
|
|
Delegates.glWeightusvARB((Int32)size, (UInt16*)weights_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Weight(Int32 size, Int16[] weights)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* weights_ptr = weights)
|
|
{
|
|
Delegates.glWeightusvARB((Int32)size, (UInt16*)weights_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Weight(Int32 size, ref UInt16 weights)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* weights_ptr = &weights)
|
|
{
|
|
Delegates.glWeightusvARB((Int32)size, (UInt16*)weights_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Weight(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 Weight(Int32 size, UInt16* weights)
|
|
{
|
|
Delegates.glWeightusvARB((Int32)size, (UInt16*)weights);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Weight(Int32 size, Int16* weights)
|
|
{
|
|
Delegates.glWeightusvARB((Int32)size, (UInt16*)weights);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Weight(Int32 size, UInt32[] weights)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* weights_ptr = weights)
|
|
{
|
|
Delegates.glWeightuivARB((Int32)size, (UInt32*)weights_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Weight(Int32 size, Int32[] weights)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* weights_ptr = weights)
|
|
{
|
|
Delegates.glWeightuivARB((Int32)size, (UInt32*)weights_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Weight(Int32 size, ref UInt32 weights)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* weights_ptr = &weights)
|
|
{
|
|
Delegates.glWeightuivARB((Int32)size, (UInt32*)weights_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Weight(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 Weight(Int32 size, UInt32* weights)
|
|
{
|
|
Delegates.glWeightuivARB((Int32)size, (UInt32*)weights);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Weight(Int32 size, Int32* weights)
|
|
{
|
|
Delegates.glWeightuivARB((Int32)size, (UInt32*)weights);
|
|
}
|
|
|
|
public static
|
|
void WeightPointer(Int32 size, OpenTK.Graphics.All type, Int32 stride, IntPtr pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glWeightPointerARB((Int32)size, (OpenTK.Graphics.All)type, (Int32)stride, (IntPtr)pointer);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void WeightPointer(Int32 size, OpenTK.Graphics.All type, Int32 stride, [In, Out] object pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glWeightPointerARB((Int32)size, (OpenTK.Graphics.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexBlend(Int32 count)
|
|
{
|
|
Delegates.glVertexBlendARB((Int32)count);
|
|
}
|
|
|
|
public static
|
|
void CurrentPaletteMatrix(Int32 index)
|
|
{
|
|
Delegates.glCurrentPaletteMatrixARB((Int32)index);
|
|
}
|
|
|
|
public static
|
|
void MatrixIndex(Int32 size, Byte[] indices)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* indices_ptr = indices)
|
|
{
|
|
Delegates.glMatrixIndexubvARB((Int32)size, (Byte*)indices_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MatrixIndex(Int32 size, ref Byte indices)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* indices_ptr = &indices)
|
|
{
|
|
Delegates.glMatrixIndexubvARB((Int32)size, (Byte*)indices_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MatrixIndex(Int32 size, Byte* indices)
|
|
{
|
|
Delegates.glMatrixIndexubvARB((Int32)size, (Byte*)indices);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void MatrixIndex(Int32 size, UInt16[] indices)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* indices_ptr = indices)
|
|
{
|
|
Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MatrixIndex(Int32 size, Int16[] indices)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* indices_ptr = indices)
|
|
{
|
|
Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void MatrixIndex(Int32 size, ref UInt16 indices)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* indices_ptr = &indices)
|
|
{
|
|
Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MatrixIndex(Int32 size, ref Int16 indices)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* indices_ptr = &indices)
|
|
{
|
|
Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MatrixIndex(Int32 size, UInt16* indices)
|
|
{
|
|
Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MatrixIndex(Int32 size, Int16* indices)
|
|
{
|
|
Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void MatrixIndex(Int32 size, UInt32[] indices)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* indices_ptr = indices)
|
|
{
|
|
Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MatrixIndex(Int32 size, Int32[] indices)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* indices_ptr = indices)
|
|
{
|
|
Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void MatrixIndex(Int32 size, ref UInt32 indices)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* indices_ptr = &indices)
|
|
{
|
|
Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MatrixIndex(Int32 size, ref Int32 indices)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* indices_ptr = &indices)
|
|
{
|
|
Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MatrixIndex(Int32 size, UInt32* indices)
|
|
{
|
|
Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MatrixIndex(Int32 size, Int32* indices)
|
|
{
|
|
Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices);
|
|
}
|
|
|
|
public static
|
|
void MatrixIndexPointer(Int32 size, OpenTK.Graphics.All type, Int32 stride, IntPtr pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glMatrixIndexPointerARB((Int32)size, (OpenTK.Graphics.All)type, (Int32)stride, (IntPtr)pointer);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MatrixIndexPointer(Int32 size, OpenTK.Graphics.All type, Int32 stride, [In, Out] object pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glMatrixIndexPointerARB((Int32)size, (OpenTK.Graphics.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void WindowPos2(Double x, Double y)
|
|
{
|
|
Delegates.glWindowPos2dARB((Double)x, (Double)y);
|
|
}
|
|
|
|
public static
|
|
void WindowPos2(Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glWindowPos2dvARB((Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void WindowPos2(ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glWindowPos2dvARB((Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void WindowPos2(Double* v)
|
|
{
|
|
Delegates.glWindowPos2dvARB((Double*)v);
|
|
}
|
|
|
|
public static
|
|
void WindowPos2(Single x, Single y)
|
|
{
|
|
Delegates.glWindowPos2fARB((Single)x, (Single)y);
|
|
}
|
|
|
|
public static
|
|
void WindowPos2(Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glWindowPos2fvARB((Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void WindowPos2(ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glWindowPos2fvARB((Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void WindowPos2(Single* v)
|
|
{
|
|
Delegates.glWindowPos2fvARB((Single*)v);
|
|
}
|
|
|
|
public static
|
|
void WindowPos2(Int32 x, Int32 y)
|
|
{
|
|
Delegates.glWindowPos2iARB((Int32)x, (Int32)y);
|
|
}
|
|
|
|
public static
|
|
void WindowPos2(Int32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = v)
|
|
{
|
|
Delegates.glWindowPos2ivARB((Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void WindowPos2(ref Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glWindowPos2ivARB((Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void WindowPos2(Int32* v)
|
|
{
|
|
Delegates.glWindowPos2ivARB((Int32*)v);
|
|
}
|
|
|
|
public static
|
|
void WindowPos2(Int16 x, Int16 y)
|
|
{
|
|
Delegates.glWindowPos2sARB((Int16)x, (Int16)y);
|
|
}
|
|
|
|
public static
|
|
void WindowPos2(Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glWindowPos2svARB((Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void WindowPos2(ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glWindowPos2svARB((Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void WindowPos2(Int16* v)
|
|
{
|
|
Delegates.glWindowPos2svARB((Int16*)v);
|
|
}
|
|
|
|
public static
|
|
void WindowPos3(Double x, Double y, Double z)
|
|
{
|
|
Delegates.glWindowPos3dARB((Double)x, (Double)y, (Double)z);
|
|
}
|
|
|
|
public static
|
|
void WindowPos3(Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glWindowPos3dvARB((Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void WindowPos3(ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glWindowPos3dvARB((Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void WindowPos3(Double* v)
|
|
{
|
|
Delegates.glWindowPos3dvARB((Double*)v);
|
|
}
|
|
|
|
public static
|
|
void WindowPos3(Single x, Single y, Single z)
|
|
{
|
|
Delegates.glWindowPos3fARB((Single)x, (Single)y, (Single)z);
|
|
}
|
|
|
|
public static
|
|
void WindowPos3(Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glWindowPos3fvARB((Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void WindowPos3(ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glWindowPos3fvARB((Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void WindowPos3(Single* v)
|
|
{
|
|
Delegates.glWindowPos3fvARB((Single*)v);
|
|
}
|
|
|
|
public static
|
|
void WindowPos3(Int32 x, Int32 y, Int32 z)
|
|
{
|
|
Delegates.glWindowPos3iARB((Int32)x, (Int32)y, (Int32)z);
|
|
}
|
|
|
|
public static
|
|
void WindowPos3(Int32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = v)
|
|
{
|
|
Delegates.glWindowPos3ivARB((Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void WindowPos3(ref Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glWindowPos3ivARB((Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void WindowPos3(Int32* v)
|
|
{
|
|
Delegates.glWindowPos3ivARB((Int32*)v);
|
|
}
|
|
|
|
public static
|
|
void WindowPos3(Int16 x, Int16 y, Int16 z)
|
|
{
|
|
Delegates.glWindowPos3sARB((Int16)x, (Int16)y, (Int16)z);
|
|
}
|
|
|
|
public static
|
|
void WindowPos3(Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glWindowPos3svARB((Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void WindowPos3(ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glWindowPos3svARB((Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void WindowPos3(Int16* v)
|
|
{
|
|
Delegates.glWindowPos3svARB((Int16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib1(UInt32 index, Double x)
|
|
{
|
|
Delegates.glVertexAttrib1dARB((UInt32)index, (Double)x);
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib1(Int32 index, Double x)
|
|
{
|
|
Delegates.glVertexAttrib1dARB((UInt32)index, (Double)x);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib1v(UInt32 index, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib1dvARB((UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib1v(Int32 index, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib1dvARB((UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib1v(UInt32 index, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib1dvARB((UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib1v(Int32 index, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib1dvARB((UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib1v(UInt32 index, Double* v)
|
|
{
|
|
Delegates.glVertexAttrib1dvARB((UInt32)index, (Double*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib1v(Int32 index, Double* v)
|
|
{
|
|
Delegates.glVertexAttrib1dvARB((UInt32)index, (Double*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib1(UInt32 index, Single x)
|
|
{
|
|
Delegates.glVertexAttrib1fARB((UInt32)index, (Single)x);
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib1(Int32 index, Single x)
|
|
{
|
|
Delegates.glVertexAttrib1fARB((UInt32)index, (Single)x);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib1v(UInt32 index, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib1fvARB((UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib1v(Int32 index, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib1fvARB((UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib1v(UInt32 index, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib1fvARB((UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib1v(Int32 index, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib1fvARB((UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib1v(UInt32 index, Single* v)
|
|
{
|
|
Delegates.glVertexAttrib1fvARB((UInt32)index, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib1v(Int32 index, Single* v)
|
|
{
|
|
Delegates.glVertexAttrib1fvARB((UInt32)index, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib1(UInt32 index, Int16 x)
|
|
{
|
|
Delegates.glVertexAttrib1sARB((UInt32)index, (Int16)x);
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib1(Int32 index, Int16 x)
|
|
{
|
|
Delegates.glVertexAttrib1sARB((UInt32)index, (Int16)x);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib1v(UInt32 index, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib1svARB((UInt32)index, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib1v(Int32 index, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib1svARB((UInt32)index, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib1v(UInt32 index, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib1svARB((UInt32)index, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib1v(Int32 index, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib1svARB((UInt32)index, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib1v(UInt32 index, Int16* v)
|
|
{
|
|
Delegates.glVertexAttrib1svARB((UInt32)index, (Int16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib1v(Int32 index, Int16* v)
|
|
{
|
|
Delegates.glVertexAttrib1svARB((UInt32)index, (Int16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib2(UInt32 index, Double x, Double y)
|
|
{
|
|
Delegates.glVertexAttrib2dARB((UInt32)index, (Double)x, (Double)y);
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib2(Int32 index, Double x, Double y)
|
|
{
|
|
Delegates.glVertexAttrib2dARB((UInt32)index, (Double)x, (Double)y);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib2(UInt32 index, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib2dvARB((UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib2(Int32 index, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib2dvARB((UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib2(UInt32 index, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib2dvARB((UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib2(Int32 index, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib2dvARB((UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib2(UInt32 index, Double* v)
|
|
{
|
|
Delegates.glVertexAttrib2dvARB((UInt32)index, (Double*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib2(Int32 index, Double* v)
|
|
{
|
|
Delegates.glVertexAttrib2dvARB((UInt32)index, (Double*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib2(UInt32 index, Single x, Single y)
|
|
{
|
|
Delegates.glVertexAttrib2fARB((UInt32)index, (Single)x, (Single)y);
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib2(Int32 index, Single x, Single y)
|
|
{
|
|
Delegates.glVertexAttrib2fARB((UInt32)index, (Single)x, (Single)y);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib2(UInt32 index, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib2(Int32 index, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib2(UInt32 index, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib2(Int32 index, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib2(UInt32 index, Single* v)
|
|
{
|
|
Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib2(Int32 index, Single* v)
|
|
{
|
|
Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib2(UInt32 index, Int16 x, Int16 y)
|
|
{
|
|
Delegates.glVertexAttrib2sARB((UInt32)index, (Int16)x, (Int16)y);
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib2(Int32 index, Int16 x, Int16 y)
|
|
{
|
|
Delegates.glVertexAttrib2sARB((UInt32)index, (Int16)x, (Int16)y);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib2(UInt32 index, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib2svARB((UInt32)index, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib2(Int32 index, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib2svARB((UInt32)index, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib2(UInt32 index, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib2svARB((UInt32)index, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib2(Int32 index, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib2svARB((UInt32)index, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib2(UInt32 index, Int16* v)
|
|
{
|
|
Delegates.glVertexAttrib2svARB((UInt32)index, (Int16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib2(Int32 index, Int16* v)
|
|
{
|
|
Delegates.glVertexAttrib2svARB((UInt32)index, (Int16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib3(UInt32 index, Double x, Double y, Double z)
|
|
{
|
|
Delegates.glVertexAttrib3dARB((UInt32)index, (Double)x, (Double)y, (Double)z);
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib3(Int32 index, Double x, Double y, Double z)
|
|
{
|
|
Delegates.glVertexAttrib3dARB((UInt32)index, (Double)x, (Double)y, (Double)z);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib3(UInt32 index, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib3dvARB((UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib3(Int32 index, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib3dvARB((UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib3(UInt32 index, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib3dvARB((UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib3(Int32 index, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib3dvARB((UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib3(UInt32 index, Double* v)
|
|
{
|
|
Delegates.glVertexAttrib3dvARB((UInt32)index, (Double*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib3(Int32 index, Double* v)
|
|
{
|
|
Delegates.glVertexAttrib3dvARB((UInt32)index, (Double*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib3(UInt32 index, Single x, Single y, Single z)
|
|
{
|
|
Delegates.glVertexAttrib3fARB((UInt32)index, (Single)x, (Single)y, (Single)z);
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib3(Int32 index, Single x, Single y, Single z)
|
|
{
|
|
Delegates.glVertexAttrib3fARB((UInt32)index, (Single)x, (Single)y, (Single)z);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib3(UInt32 index, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib3fvARB((UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib3(Int32 index, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib3fvARB((UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib3(UInt32 index, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib3fvARB((UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib3(Int32 index, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib3fvARB((UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib3(UInt32 index, Single* v)
|
|
{
|
|
Delegates.glVertexAttrib3fvARB((UInt32)index, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib3(Int32 index, Single* v)
|
|
{
|
|
Delegates.glVertexAttrib3fvARB((UInt32)index, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib3(UInt32 index, Int16 x, Int16 y, Int16 z)
|
|
{
|
|
Delegates.glVertexAttrib3sARB((UInt32)index, (Int16)x, (Int16)y, (Int16)z);
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib3(Int32 index, Int16 x, Int16 y, Int16 z)
|
|
{
|
|
Delegates.glVertexAttrib3sARB((UInt32)index, (Int16)x, (Int16)y, (Int16)z);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib3(UInt32 index, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib3svARB((UInt32)index, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib3(Int32 index, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib3svARB((UInt32)index, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib3(UInt32 index, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib3svARB((UInt32)index, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib3(Int32 index, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib3svARB((UInt32)index, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib3(UInt32 index, Int16* v)
|
|
{
|
|
Delegates.glVertexAttrib3svARB((UInt32)index, (Int16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib3(Int32 index, Int16* v)
|
|
{
|
|
Delegates.glVertexAttrib3svARB((UInt32)index, (Int16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4N(UInt32 index, SByte[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (SByte* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib4NbvARB((UInt32)index, (SByte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4N(UInt32 index, ref SByte v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (SByte* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib4NbvARB((UInt32)index, (SByte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib4N(UInt32 index, SByte* v)
|
|
{
|
|
Delegates.glVertexAttrib4NbvARB((UInt32)index, (SByte*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4N(UInt32 index, Int32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4N(UInt32 index, ref Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib4N(UInt32 index, Int32* v)
|
|
{
|
|
Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4N(UInt32 index, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4N(UInt32 index, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib4N(UInt32 index, Int16* v)
|
|
{
|
|
Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4N(UInt32 index, Byte x, Byte y, Byte z, Byte w)
|
|
{
|
|
Delegates.glVertexAttrib4NubARB((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w);
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib4N(Int32 index, Byte x, Byte y, Byte z, Byte w)
|
|
{
|
|
Delegates.glVertexAttrib4NubARB((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4N(UInt32 index, Byte[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib4N(Int32 index, Byte[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4N(UInt32 index, ref Byte v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib4N(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 VertexAttrib4N(UInt32 index, Byte* v)
|
|
{
|
|
Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib4N(Int32 index, Byte* v)
|
|
{
|
|
Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4N(UInt32 index, UInt32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib4NuivARB((UInt32)index, (UInt32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib4N(Int32 index, Int32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib4NuivARB((UInt32)index, (UInt32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4N(UInt32 index, ref UInt32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib4NuivARB((UInt32)index, (UInt32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib4N(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 VertexAttrib4N(UInt32 index, UInt32* v)
|
|
{
|
|
Delegates.glVertexAttrib4NuivARB((UInt32)index, (UInt32*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib4N(Int32 index, Int32* v)
|
|
{
|
|
Delegates.glVertexAttrib4NuivARB((UInt32)index, (UInt32*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4N(UInt32 index, UInt16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib4NusvARB((UInt32)index, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib4N(Int32 index, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib4NusvARB((UInt32)index, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4N(UInt32 index, ref UInt16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib4NusvARB((UInt32)index, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib4N(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 VertexAttrib4N(UInt32 index, UInt16* v)
|
|
{
|
|
Delegates.glVertexAttrib4NusvARB((UInt32)index, (UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib4N(Int32 index, Int16* v)
|
|
{
|
|
Delegates.glVertexAttrib4NusvARB((UInt32)index, (UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4(UInt32 index, SByte[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (SByte* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib4bvARB((UInt32)index, (SByte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4(UInt32 index, ref SByte v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (SByte* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib4bvARB((UInt32)index, (SByte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib4(UInt32 index, SByte* v)
|
|
{
|
|
Delegates.glVertexAttrib4bvARB((UInt32)index, (SByte*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4(UInt32 index, Double x, Double y, Double z, Double w)
|
|
{
|
|
Delegates.glVertexAttrib4dARB((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w);
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib4(Int32 index, Double x, Double y, Double z, Double w)
|
|
{
|
|
Delegates.glVertexAttrib4dARB((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4(UInt32 index, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib4(Int32 index, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4(UInt32 index, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib4(Int32 index, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib4(UInt32 index, Double* v)
|
|
{
|
|
Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib4(Int32 index, Double* v)
|
|
{
|
|
Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4(UInt32 index, Single x, Single y, Single z, Single w)
|
|
{
|
|
Delegates.glVertexAttrib4fARB((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w);
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib4(Int32 index, Single x, Single y, Single z, Single w)
|
|
{
|
|
Delegates.glVertexAttrib4fARB((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4(UInt32 index, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib4fvARB((UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib4(Int32 index, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib4fvARB((UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4(UInt32 index, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib4fvARB((UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib4(Int32 index, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib4fvARB((UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib4(UInt32 index, Single* v)
|
|
{
|
|
Delegates.glVertexAttrib4fvARB((UInt32)index, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib4(Int32 index, Single* v)
|
|
{
|
|
Delegates.glVertexAttrib4fvARB((UInt32)index, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4(UInt32 index, Int32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib4ivARB((UInt32)index, (Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4(UInt32 index, ref Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib4ivARB((UInt32)index, (Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib4(UInt32 index, Int32* v)
|
|
{
|
|
Delegates.glVertexAttrib4ivARB((UInt32)index, (Int32*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w)
|
|
{
|
|
Delegates.glVertexAttrib4sARB((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w);
|
|
}
|
|
|
|
public static
|
|
void VertexAttrib4(Int32 index, Int16 x, Int16 y, Int16 z, Int16 w)
|
|
{
|
|
Delegates.glVertexAttrib4sARB((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4(UInt32 index, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib4svARB((UInt32)index, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4(UInt32 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, Int16* v)
|
|
{
|
|
Delegates.glVertexAttrib4svARB((UInt32)index, (Int16*)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
|
|
{
|
|
fixed (Byte* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4(UInt32 index, ref Byte v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
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, Byte* v)
|
|
{
|
|
Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib4(Int32 index, Byte* v)
|
|
{
|
|
Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4(UInt32 index, UInt32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib4uivARB((UInt32)index, (UInt32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
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)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib4uivARB((UInt32)index, (UInt32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
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, UInt32* v)
|
|
{
|
|
Delegates.glVertexAttrib4uivARB((UInt32)index, (UInt32*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib4(Int32 index, Int32* v)
|
|
{
|
|
Delegates.glVertexAttrib4uivARB((UInt32)index, (UInt32*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttrib4(UInt32 index, UInt16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttrib4usvARB((UInt32)index, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
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)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttrib4usvARB((UInt32)index, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
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 VertexAttrib4(UInt32 index, UInt16* v)
|
|
{
|
|
Delegates.glVertexAttrib4usvARB((UInt32)index, (UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttrib4(Int32 index, Int16* v)
|
|
{
|
|
Delegates.glVertexAttrib4usvARB((UInt32)index, (UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, IntPtr pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, IntPtr pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer);
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] object pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] object pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void EnableVertexAttribArray(UInt32 index)
|
|
{
|
|
Delegates.glEnableVertexAttribArrayARB((UInt32)index);
|
|
}
|
|
|
|
public static
|
|
void EnableVertexAttribArray(Int32 index)
|
|
{
|
|
Delegates.glEnableVertexAttribArrayARB((UInt32)index);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DisableVertexAttribArray(UInt32 index)
|
|
{
|
|
Delegates.glDisableVertexAttribArrayARB((UInt32)index);
|
|
}
|
|
|
|
public static
|
|
void DisableVertexAttribArray(Int32 index)
|
|
{
|
|
Delegates.glDisableVertexAttribArrayARB((UInt32)index);
|
|
}
|
|
|
|
public static
|
|
void ProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramFormatArb format, Int32 len, IntPtr @string)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glProgramStringARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.AssemblyProgramFormatArb)format, (Int32)len, (IntPtr)@string);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramFormatArb format, Int32 len, [In, Out] object @string)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle @string_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@string, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glProgramStringARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.AssemblyProgramFormatArb)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
@string_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void BindProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 program)
|
|
{
|
|
Delegates.glBindProgramARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)program);
|
|
}
|
|
|
|
public static
|
|
void BindProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 program)
|
|
{
|
|
Delegates.glBindProgramARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)program);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DeleteProgram(Int32 n, UInt32[] programs)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* programs_ptr = programs)
|
|
{
|
|
Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DeleteProgram(Int32 n, Int32[] programs)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* programs_ptr = programs)
|
|
{
|
|
Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DeleteProgram(Int32 n, ref UInt32 programs)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* programs_ptr = &programs)
|
|
{
|
|
Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DeleteProgram(Int32 n, ref Int32 programs)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* programs_ptr = &programs)
|
|
{
|
|
Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void DeleteProgram(Int32 n, UInt32* programs)
|
|
{
|
|
Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void DeleteProgram(Int32 n, Int32* programs)
|
|
{
|
|
Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GenProgram(Int32 n, [Out] UInt32[] programs)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* programs_ptr = programs)
|
|
{
|
|
Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GenProgram(Int32 n, [Out] Int32[] programs)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* programs_ptr = programs)
|
|
{
|
|
Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GenProgram(Int32 n, [Out] out UInt32 programs)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* programs_ptr = &programs)
|
|
{
|
|
Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs_ptr);
|
|
programs = *programs_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GenProgram(Int32 n, [Out] out Int32 programs)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* programs_ptr = &programs)
|
|
{
|
|
Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs_ptr);
|
|
programs = *programs_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GenProgram(Int32 n, [Out] UInt32* programs)
|
|
{
|
|
Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GenProgram(Int32 n, [Out] Int32* programs)
|
|
{
|
|
Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w)
|
|
{
|
|
Delegates.glProgramEnvParameter4dARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w);
|
|
}
|
|
|
|
public static
|
|
void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Double x, Double y, Double z, Double w)
|
|
{
|
|
Delegates.glProgramEnvParameter4dARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Double[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramEnvParameter4dvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Double[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramEnvParameter4dvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, ref Double @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramEnvParameter4dvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, ref Double @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramEnvParameter4dvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Double* @params)
|
|
{
|
|
Delegates.glProgramEnvParameter4dvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Double* @params)
|
|
{
|
|
Delegates.glProgramEnvParameter4dvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w)
|
|
{
|
|
Delegates.glProgramEnvParameter4fARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w);
|
|
}
|
|
|
|
public static
|
|
void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Single x, Single y, Single z, Single w)
|
|
{
|
|
Delegates.glProgramEnvParameter4fARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramEnvParameter4fvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramEnvParameter4fvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramEnvParameter4fvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramEnvParameter4fvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single* @params)
|
|
{
|
|
Delegates.glProgramEnvParameter4fvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Single* @params)
|
|
{
|
|
Delegates.glProgramEnvParameter4fvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w)
|
|
{
|
|
Delegates.glProgramLocalParameter4dARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w);
|
|
}
|
|
|
|
public static
|
|
void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Double x, Double y, Double z, Double w)
|
|
{
|
|
Delegates.glProgramLocalParameter4dARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Double[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramLocalParameter4dvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Double[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramLocalParameter4dvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, ref Double @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramLocalParameter4dvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, ref Double @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramLocalParameter4dvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Double* @params)
|
|
{
|
|
Delegates.glProgramLocalParameter4dvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Double* @params)
|
|
{
|
|
Delegates.glProgramLocalParameter4dvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w)
|
|
{
|
|
Delegates.glProgramLocalParameter4fARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w);
|
|
}
|
|
|
|
public static
|
|
void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Single x, Single y, Single z, Single w)
|
|
{
|
|
Delegates.glProgramLocalParameter4fARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramLocalParameter4fvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramLocalParameter4fvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramLocalParameter4fvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramLocalParameter4fvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single* @params)
|
|
{
|
|
Delegates.glProgramLocalParameter4fvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Single* @params)
|
|
{
|
|
Delegates.glProgramLocalParameter4fvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgramEnvParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, [Out] Double[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgramEnvParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, [Out] Double[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgramEnvParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, [Out] out Double @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgramEnvParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, [Out] out Double @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgramEnvParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, [Out] Double* @params)
|
|
{
|
|
Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgramEnvParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, [Out] Double* @params)
|
|
{
|
|
Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgramEnvParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgramEnvParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgramEnvParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgramEnvParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgramEnvParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgramEnvParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgramLocalParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, [Out] Double[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgramLocalParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, [Out] Double[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgramLocalParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, [Out] out Double @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgramLocalParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, [Out] out Double @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgramLocalParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, [Out] Double* @params)
|
|
{
|
|
Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgramLocalParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, [Out] Double* @params)
|
|
{
|
|
Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgramLocalParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgramLocalParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgramLocalParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgramLocalParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgramLocalParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgramLocalParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetProgramivARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetProgramivARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetProgramivARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramStringParameterArb pname, [Out] IntPtr @string)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glGetProgramStringARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.AssemblyProgramStringParameterArb)pname, (IntPtr)@string);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramStringParameterArb pname, [In, Out] object @string)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle @string_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@string, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetProgramStringARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.AssemblyProgramStringParameterArb)pname, (IntPtr)@string_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
@string_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Double[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Double[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] out Double @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Double*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] out Double @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Double*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Double* @params)
|
|
{
|
|
Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Double*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Double* @params)
|
|
{
|
|
Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Double*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [Out] IntPtr pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameterArb)pname, (IntPtr)pointer);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [Out] IntPtr pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameterArb)pname, (IntPtr)pointer);
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [In, Out] object pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [In, Out] object pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
bool IsProgram(UInt32 program)
|
|
{
|
|
return Delegates.glIsProgramARB((UInt32)program);
|
|
}
|
|
|
|
public static
|
|
bool IsProgram(Int32 program)
|
|
{
|
|
return Delegates.glIsProgramARB((UInt32)program);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void BindBuffer(OpenTK.Graphics.BufferTargetArb target, UInt32 buffer)
|
|
{
|
|
Delegates.glBindBufferARB((OpenTK.Graphics.BufferTargetArb)target, (UInt32)buffer);
|
|
}
|
|
|
|
public static
|
|
void BindBuffer(OpenTK.Graphics.BufferTargetArb target, Int32 buffer)
|
|
{
|
|
Delegates.glBindBufferARB((OpenTK.Graphics.BufferTargetArb)target, (UInt32)buffer);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DeleteBuffers(Int32 n, UInt32[] buffers)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* buffers_ptr = buffers)
|
|
{
|
|
Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DeleteBuffers(Int32 n, Int32[] buffers)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* buffers_ptr = buffers)
|
|
{
|
|
Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DeleteBuffers(Int32 n, ref UInt32 buffers)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* buffers_ptr = &buffers)
|
|
{
|
|
Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DeleteBuffers(Int32 n, ref Int32 buffers)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* buffers_ptr = &buffers)
|
|
{
|
|
Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void DeleteBuffers(Int32 n, UInt32* buffers)
|
|
{
|
|
Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void DeleteBuffers(Int32 n, Int32* buffers)
|
|
{
|
|
Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GenBuffers(Int32 n, [Out] UInt32[] buffers)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* buffers_ptr = buffers)
|
|
{
|
|
Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GenBuffers(Int32 n, [Out] Int32[] buffers)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* buffers_ptr = buffers)
|
|
{
|
|
Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GenBuffers(Int32 n, [Out] out UInt32 buffers)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* buffers_ptr = &buffers)
|
|
{
|
|
Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers_ptr);
|
|
buffers = *buffers_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GenBuffers(Int32 n, [Out] out Int32 buffers)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* buffers_ptr = &buffers)
|
|
{
|
|
Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers_ptr);
|
|
buffers = *buffers_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GenBuffers(Int32 n, [Out] UInt32* buffers)
|
|
{
|
|
Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GenBuffers(Int32 n, [Out] Int32* buffers)
|
|
{
|
|
Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
bool IsBuffer(UInt32 buffer)
|
|
{
|
|
return Delegates.glIsBufferARB((UInt32)buffer);
|
|
}
|
|
|
|
public static
|
|
bool IsBuffer(Int32 buffer)
|
|
{
|
|
return Delegates.glIsBufferARB((UInt32)buffer);
|
|
}
|
|
|
|
public static
|
|
void BufferData(OpenTK.Graphics.BufferTargetArb target, IntPtr size, IntPtr data, OpenTK.Graphics.BufferUsageArb usage)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glBufferDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.BufferUsageArb)usage);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void BufferData(OpenTK.Graphics.BufferTargetArb target, IntPtr size, [In, Out] object data, OpenTK.Graphics.BufferUsageArb usage)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glBufferDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.BufferUsageArb)usage);
|
|
}
|
|
finally
|
|
{
|
|
data_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void BufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, IntPtr data)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glBufferSubDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void BufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] object data)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glBufferSubDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
data_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetBufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [Out] IntPtr data)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glGetBufferSubDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetBufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] object data)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetBufferSubDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
data_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe IntPtr MapBuffer(OpenTK.Graphics.BufferTargetArb target, OpenTK.Graphics.BufferAccessArb access)
|
|
{
|
|
return Delegates.glMapBufferARB((OpenTK.Graphics.BufferTargetArb)target, (OpenTK.Graphics.BufferAccessArb)access);
|
|
}
|
|
|
|
public static
|
|
bool UnmapBuffer(OpenTK.Graphics.BufferTargetArb target)
|
|
{
|
|
return Delegates.glUnmapBufferARB((OpenTK.Graphics.BufferTargetArb)target);
|
|
}
|
|
|
|
public static
|
|
void GetBufferParameter(OpenTK.Graphics.All target, OpenTK.Graphics.BufferParameterNameArb pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetBufferParameterivARB((OpenTK.Graphics.All)target, (OpenTK.Graphics.BufferParameterNameArb)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetBufferParameter(OpenTK.Graphics.All target, OpenTK.Graphics.BufferParameterNameArb pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetBufferParameterivARB((OpenTK.Graphics.All)target, (OpenTK.Graphics.BufferParameterNameArb)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetBufferParameter(OpenTK.Graphics.All target, OpenTK.Graphics.BufferParameterNameArb pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetBufferParameterivARB((OpenTK.Graphics.All)target, (OpenTK.Graphics.BufferParameterNameArb)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetBufferPointer(OpenTK.Graphics.All target, OpenTK.Graphics.BufferPointerNameArb pname, [Out] IntPtr @params)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glGetBufferPointervARB((OpenTK.Graphics.All)target, (OpenTK.Graphics.BufferPointerNameArb)pname, (IntPtr)@params);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetBufferPointer(OpenTK.Graphics.All target, OpenTK.Graphics.BufferPointerNameArb pname, [In, Out] object @params)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle @params_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@params, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetBufferPointervARB((OpenTK.Graphics.All)target, (OpenTK.Graphics.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
@params_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GenQueries(Int32 n, [Out] UInt32[] ids)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* ids_ptr = ids)
|
|
{
|
|
Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GenQueries(Int32 n, [Out] Int32[] ids)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* ids_ptr = ids)
|
|
{
|
|
Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GenQueries(Int32 n, [Out] out UInt32 ids)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* ids_ptr = &ids)
|
|
{
|
|
Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids_ptr);
|
|
ids = *ids_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GenQueries(Int32 n, [Out] out Int32 ids)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* ids_ptr = &ids)
|
|
{
|
|
Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids_ptr);
|
|
ids = *ids_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GenQueries(Int32 n, [Out] UInt32* ids)
|
|
{
|
|
Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GenQueries(Int32 n, [Out] Int32* ids)
|
|
{
|
|
Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DeleteQueries(Int32 n, UInt32[] ids)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* ids_ptr = ids)
|
|
{
|
|
Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DeleteQueries(Int32 n, Int32[] ids)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* ids_ptr = ids)
|
|
{
|
|
Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DeleteQueries(Int32 n, ref UInt32 ids)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* ids_ptr = &ids)
|
|
{
|
|
Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DeleteQueries(Int32 n, ref Int32 ids)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* ids_ptr = &ids)
|
|
{
|
|
Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void DeleteQueries(Int32 n, UInt32* ids)
|
|
{
|
|
Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void DeleteQueries(Int32 n, Int32* ids)
|
|
{
|
|
Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
bool IsQuery(UInt32 id)
|
|
{
|
|
return Delegates.glIsQueryARB((UInt32)id);
|
|
}
|
|
|
|
public static
|
|
bool IsQuery(Int32 id)
|
|
{
|
|
return Delegates.glIsQueryARB((UInt32)id);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void BeginQuery(OpenTK.Graphics.All target, UInt32 id)
|
|
{
|
|
Delegates.glBeginQueryARB((OpenTK.Graphics.All)target, (UInt32)id);
|
|
}
|
|
|
|
public static
|
|
void BeginQuery(OpenTK.Graphics.All target, Int32 id)
|
|
{
|
|
Delegates.glBeginQueryARB((OpenTK.Graphics.All)target, (UInt32)id);
|
|
}
|
|
|
|
public static
|
|
void EndQuery(OpenTK.Graphics.All target)
|
|
{
|
|
Delegates.glEndQueryARB((OpenTK.Graphics.All)target);
|
|
}
|
|
|
|
public static
|
|
void GetQuery(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetQueryivARB((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetQuery(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetQueryivARB((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetQuery(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetQueryivARB((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetQueryObject(UInt32 id, OpenTK.Graphics.All pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetQueryObjectivARB((UInt32)id, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetQueryObject(UInt32 id, OpenTK.Graphics.All pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetQueryObjectivARB((UInt32)id, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.All pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetQueryObjectivARB((UInt32)id, (OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetQueryObject(UInt32 id, OpenTK.Graphics.All pname, [Out] UInt32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetQueryObjectuivARB((UInt32)id, (OpenTK.Graphics.All)pname, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetQueryObject(Int32 id, OpenTK.Graphics.All pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetQueryObjectuivARB((UInt32)id, (OpenTK.Graphics.All)pname, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetQueryObject(UInt32 id, OpenTK.Graphics.All pname, [Out] out UInt32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetQueryObjectuivARB((UInt32)id, (OpenTK.Graphics.All)pname, (UInt32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetQueryObject(Int32 id, OpenTK.Graphics.All pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetQueryObjectuivARB((UInt32)id, (OpenTK.Graphics.All)pname, (UInt32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.All pname, [Out] UInt32* @params)
|
|
{
|
|
Delegates.glGetQueryObjectuivARB((UInt32)id, (OpenTK.Graphics.All)pname, (UInt32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.All pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetQueryObjectuivARB((UInt32)id, (OpenTK.Graphics.All)pname, (UInt32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DeleteObject(UInt32 obj)
|
|
{
|
|
Delegates.glDeleteObjectARB((UInt32)obj);
|
|
}
|
|
|
|
public static
|
|
void DeleteObject(Int32 obj)
|
|
{
|
|
Delegates.glDeleteObjectARB((UInt32)obj);
|
|
}
|
|
|
|
public static
|
|
Int32 GetHandle(OpenTK.Graphics.All pname)
|
|
{
|
|
return Delegates.glGetHandleARB((OpenTK.Graphics.All)pname);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DetachObject(UInt32 containerObj, UInt32 attachedObj)
|
|
{
|
|
Delegates.glDetachObjectARB((UInt32)containerObj, (UInt32)attachedObj);
|
|
}
|
|
|
|
public static
|
|
void DetachObject(Int32 containerObj, Int32 attachedObj)
|
|
{
|
|
Delegates.glDetachObjectARB((UInt32)containerObj, (UInt32)attachedObj);
|
|
}
|
|
|
|
public static
|
|
Int32 CreateShaderObject(OpenTK.Graphics.All shaderType)
|
|
{
|
|
return Delegates.glCreateShaderObjectARB((OpenTK.Graphics.All)shaderType);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ShaderSource(UInt32 shaderObj, Int32 count, System.String[] @string, Int32[] length)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = length)
|
|
{
|
|
Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (System.String[])@string, (Int32*)length_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ShaderSource(Int32 shaderObj, Int32 count, System.String[] @string, Int32[] length)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = length)
|
|
{
|
|
Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (System.String[])@string, (Int32*)length_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ShaderSource(UInt32 shaderObj, Int32 count, System.String[] @string, ref Int32 length)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = &length)
|
|
{
|
|
Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (System.String[])@string, (Int32*)length_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ShaderSource(Int32 shaderObj, Int32 count, System.String[] @string, ref Int32 length)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = &length)
|
|
{
|
|
Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (System.String[])@string, (Int32*)length_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ShaderSource(UInt32 shaderObj, Int32 count, System.String[] @string, Int32* length)
|
|
{
|
|
Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (System.String[])@string, (Int32*)length);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
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);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void CompileShader(UInt32 shaderObj)
|
|
{
|
|
Delegates.glCompileShaderARB((UInt32)shaderObj);
|
|
}
|
|
|
|
public static
|
|
void CompileShader(Int32 shaderObj)
|
|
{
|
|
Delegates.glCompileShaderARB((UInt32)shaderObj);
|
|
}
|
|
|
|
public static
|
|
Int32 CreateProgramObject()
|
|
{
|
|
return Delegates.glCreateProgramObjectARB();
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void AttachObject(UInt32 containerObj, UInt32 obj)
|
|
{
|
|
Delegates.glAttachObjectARB((UInt32)containerObj, (UInt32)obj);
|
|
}
|
|
|
|
public static
|
|
void AttachObject(Int32 containerObj, Int32 obj)
|
|
{
|
|
Delegates.glAttachObjectARB((UInt32)containerObj, (UInt32)obj);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void LinkProgram(UInt32 programObj)
|
|
{
|
|
Delegates.glLinkProgramARB((UInt32)programObj);
|
|
}
|
|
|
|
public static
|
|
void LinkProgram(Int32 programObj)
|
|
{
|
|
Delegates.glLinkProgramARB((UInt32)programObj);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void UseProgramObject(UInt32 programObj)
|
|
{
|
|
Delegates.glUseProgramObjectARB((UInt32)programObj);
|
|
}
|
|
|
|
public static
|
|
void UseProgramObject(Int32 programObj)
|
|
{
|
|
Delegates.glUseProgramObjectARB((UInt32)programObj);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ValidateProgram(UInt32 programObj)
|
|
{
|
|
Delegates.glValidateProgramARB((UInt32)programObj);
|
|
}
|
|
|
|
public static
|
|
void ValidateProgram(Int32 programObj)
|
|
{
|
|
Delegates.glValidateProgramARB((UInt32)programObj);
|
|
}
|
|
|
|
public static
|
|
void Uniform1(Int32 location, Single v0)
|
|
{
|
|
Delegates.glUniform1fARB((Int32)location, (Single)v0);
|
|
}
|
|
|
|
public static
|
|
void Uniform2(Int32 location, Single v0, Single v1)
|
|
{
|
|
Delegates.glUniform2fARB((Int32)location, (Single)v0, (Single)v1);
|
|
}
|
|
|
|
public static
|
|
void Uniform3(Int32 location, Single v0, Single v1, Single v2)
|
|
{
|
|
Delegates.glUniform3fARB((Int32)location, (Single)v0, (Single)v1, (Single)v2);
|
|
}
|
|
|
|
public static
|
|
void Uniform4(Int32 location, Single v0, Single v1, Single v2, Single v3)
|
|
{
|
|
Delegates.glUniform4fARB((Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3);
|
|
}
|
|
|
|
public static
|
|
void Uniform1(Int32 location, Int32 v0)
|
|
{
|
|
Delegates.glUniform1iARB((Int32)location, (Int32)v0);
|
|
}
|
|
|
|
public static
|
|
void Uniform2(Int32 location, Int32 v0, Int32 v1)
|
|
{
|
|
Delegates.glUniform2iARB((Int32)location, (Int32)v0, (Int32)v1);
|
|
}
|
|
|
|
public static
|
|
void Uniform3(Int32 location, Int32 v0, Int32 v1, Int32 v2)
|
|
{
|
|
Delegates.glUniform3iARB((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2);
|
|
}
|
|
|
|
public static
|
|
void Uniform4(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3)
|
|
{
|
|
Delegates.glUniform4iARB((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3);
|
|
}
|
|
|
|
public static
|
|
void Uniform1(Int32 location, Int32 count, Single[] value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = value)
|
|
{
|
|
Delegates.glUniform1fvARB((Int32)location, (Int32)count, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Uniform1(Int32 location, Int32 count, ref Single value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = &value)
|
|
{
|
|
Delegates.glUniform1fvARB((Int32)location, (Int32)count, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Uniform1(Int32 location, Int32 count, Single* value)
|
|
{
|
|
Delegates.glUniform1fvARB((Int32)location, (Int32)count, (Single*)value);
|
|
}
|
|
|
|
public static
|
|
void Uniform2v(Int32 location, Int32 count, Single[] value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = value)
|
|
{
|
|
Delegates.glUniform2fvARB((Int32)location, (Int32)count, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Uniform2v(Int32 location, Int32 count, ref Single value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = &value)
|
|
{
|
|
Delegates.glUniform2fvARB((Int32)location, (Int32)count, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Uniform2v(Int32 location, Int32 count, Single* value)
|
|
{
|
|
Delegates.glUniform2fvARB((Int32)location, (Int32)count, (Single*)value);
|
|
}
|
|
|
|
public static
|
|
void Uniform3(Int32 location, Int32 count, Single[] value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = value)
|
|
{
|
|
Delegates.glUniform3fvARB((Int32)location, (Int32)count, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Uniform3(Int32 location, Int32 count, ref Single value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = &value)
|
|
{
|
|
Delegates.glUniform3fvARB((Int32)location, (Int32)count, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Uniform3(Int32 location, Int32 count, Single* value)
|
|
{
|
|
Delegates.glUniform3fvARB((Int32)location, (Int32)count, (Single*)value);
|
|
}
|
|
|
|
public static
|
|
void Uniform4(Int32 location, Int32 count, Single[] value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = value)
|
|
{
|
|
Delegates.glUniform4fvARB((Int32)location, (Int32)count, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Uniform4(Int32 location, Int32 count, ref Single value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = &value)
|
|
{
|
|
Delegates.glUniform4fvARB((Int32)location, (Int32)count, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Uniform4(Int32 location, Int32 count, Single* value)
|
|
{
|
|
Delegates.glUniform4fvARB((Int32)location, (Int32)count, (Single*)value);
|
|
}
|
|
|
|
public static
|
|
void Uniform1(Int32 location, Int32 count, Int32[] value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* value_ptr = value)
|
|
{
|
|
Delegates.glUniform1ivARB((Int32)location, (Int32)count, (Int32*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Uniform1(Int32 location, Int32 count, ref Int32 value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* value_ptr = &value)
|
|
{
|
|
Delegates.glUniform1ivARB((Int32)location, (Int32)count, (Int32*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Uniform1(Int32 location, Int32 count, Int32* value)
|
|
{
|
|
Delegates.glUniform1ivARB((Int32)location, (Int32)count, (Int32*)value);
|
|
}
|
|
|
|
public static
|
|
void Uniform2v(Int32 location, Int32 count, Int32[] value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* value_ptr = value)
|
|
{
|
|
Delegates.glUniform2ivARB((Int32)location, (Int32)count, (Int32*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Uniform2v(Int32 location, Int32 count, ref Int32 value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* value_ptr = &value)
|
|
{
|
|
Delegates.glUniform2ivARB((Int32)location, (Int32)count, (Int32*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Uniform2v(Int32 location, Int32 count, Int32* value)
|
|
{
|
|
Delegates.glUniform2ivARB((Int32)location, (Int32)count, (Int32*)value);
|
|
}
|
|
|
|
public static
|
|
void Uniform3(Int32 location, Int32 count, Int32[] value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* value_ptr = value)
|
|
{
|
|
Delegates.glUniform3ivARB((Int32)location, (Int32)count, (Int32*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Uniform3(Int32 location, Int32 count, ref Int32 value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* value_ptr = &value)
|
|
{
|
|
Delegates.glUniform3ivARB((Int32)location, (Int32)count, (Int32*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Uniform3(Int32 location, Int32 count, Int32* value)
|
|
{
|
|
Delegates.glUniform3ivARB((Int32)location, (Int32)count, (Int32*)value);
|
|
}
|
|
|
|
public static
|
|
void Uniform4(Int32 location, Int32 count, Int32[] value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* value_ptr = value)
|
|
{
|
|
Delegates.glUniform4ivARB((Int32)location, (Int32)count, (Int32*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Uniform4(Int32 location, Int32 count, ref Int32 value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* value_ptr = &value)
|
|
{
|
|
Delegates.glUniform4ivARB((Int32)location, (Int32)count, (Int32*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Uniform4(Int32 location, Int32 count, Int32* value)
|
|
{
|
|
Delegates.glUniform4ivARB((Int32)location, (Int32)count, (Int32*)value);
|
|
}
|
|
|
|
public static
|
|
void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single[] value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = value)
|
|
{
|
|
Delegates.glUniformMatrix2fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void UniformMatrix2(Int32 location, Int32 count, bool transpose, ref Single value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = &value)
|
|
{
|
|
Delegates.glUniformMatrix2fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single* value)
|
|
{
|
|
Delegates.glUniformMatrix2fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value);
|
|
}
|
|
|
|
public static
|
|
void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single[] value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = value)
|
|
{
|
|
Delegates.glUniformMatrix3fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void UniformMatrix3(Int32 location, Int32 count, bool transpose, ref Single value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = &value)
|
|
{
|
|
Delegates.glUniformMatrix3fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single* value)
|
|
{
|
|
Delegates.glUniformMatrix3fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value);
|
|
}
|
|
|
|
public static
|
|
void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single[] value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = value)
|
|
{
|
|
Delegates.glUniformMatrix4fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void UniformMatrix4(Int32 location, Int32 count, bool transpose, ref Single value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = &value)
|
|
{
|
|
Delegates.glUniformMatrix4fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single* value)
|
|
{
|
|
Delegates.glUniformMatrix4fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetObjectParameter(UInt32 obj, OpenTK.Graphics.All pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetObjectParameter(Int32 obj, OpenTK.Graphics.All pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetObjectParameter(UInt32 obj, OpenTK.Graphics.All pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetObjectParameter(Int32 obj, OpenTK.Graphics.All pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetObjectParameter(UInt32 obj, OpenTK.Graphics.All pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.Graphics.All)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetObjectParameter(Int32 obj, OpenTK.Graphics.All pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.Graphics.All)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetObjectParameter(UInt32 obj, OpenTK.Graphics.All pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetObjectParameterivARB((UInt32)obj, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetObjectParameter(Int32 obj, OpenTK.Graphics.All pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetObjectParameterivARB((UInt32)obj, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetObjectParameter(UInt32 obj, OpenTK.Graphics.All pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetObjectParameterivARB((UInt32)obj, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetObjectParameter(Int32 obj, OpenTK.Graphics.All pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetObjectParameterivARB((UInt32)obj, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetObjectParameter(UInt32 obj, OpenTK.Graphics.All pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetObjectParameterivARB((UInt32)obj, (OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetObjectParameter(Int32 obj, OpenTK.Graphics.All pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetObjectParameterivARB((UInt32)obj, (OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetInfoLog(UInt32 obj, Int32 maxLength, [Out] Int32[] length, [Out] System.Text.StringBuilder infoLog)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = length)
|
|
{
|
|
Delegates.glGetInfoLogARB((UInt32)obj, (Int32)maxLength, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetInfoLog(Int32 obj, Int32 maxLength, [Out] Int32[] length, [Out] System.Text.StringBuilder infoLog)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = length)
|
|
{
|
|
Delegates.glGetInfoLogARB((UInt32)obj, (Int32)maxLength, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetInfoLog(UInt32 obj, Int32 maxLength, [Out] out Int32 length, [Out] System.Text.StringBuilder infoLog)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = &length)
|
|
{
|
|
Delegates.glGetInfoLogARB((UInt32)obj, (Int32)maxLength, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog);
|
|
length = *length_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetInfoLog(Int32 obj, Int32 maxLength, [Out] out Int32 length, [Out] System.Text.StringBuilder infoLog)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = &length)
|
|
{
|
|
Delegates.glGetInfoLogARB((UInt32)obj, (Int32)maxLength, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog);
|
|
length = *length_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetInfoLog(UInt32 obj, Int32 maxLength, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog)
|
|
{
|
|
Delegates.glGetInfoLogARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (System.Text.StringBuilder)infoLog);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetInfoLog(Int32 obj, Int32 maxLength, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog)
|
|
{
|
|
Delegates.glGetInfoLogARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (System.Text.StringBuilder)infoLog);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetAttachedObjects(UInt32 containerObj, Int32 maxCount, [Out] Int32[] count, [Out] UInt32[] obj)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* count_ptr = count)
|
|
fixed (UInt32* obj_ptr = obj)
|
|
{
|
|
Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetAttachedObjects(Int32 containerObj, Int32 maxCount, [Out] Int32[] count, [Out] Int32[] obj)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* count_ptr = count)
|
|
fixed (Int32* obj_ptr = obj)
|
|
{
|
|
Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetAttachedObjects(UInt32 containerObj, Int32 maxCount, [Out] out Int32 count, [Out] out UInt32 obj)
|
|
{
|
|
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;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetAttachedObjects(Int32 containerObj, Int32 maxCount, [Out] out Int32 count, [Out] out Int32 obj)
|
|
{
|
|
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;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetAttachedObjects(UInt32 containerObj, Int32 maxCount, [Out] Int32* count, [Out] UInt32* obj)
|
|
{
|
|
Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetAttachedObjects(Int32 containerObj, Int32 maxCount, [Out] Int32* count, [Out] Int32* obj)
|
|
{
|
|
Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
Int32 GetUniformLocation(UInt32 programObj, System.String name)
|
|
{
|
|
return Delegates.glGetUniformLocationARB((UInt32)programObj, (System.String)name);
|
|
}
|
|
|
|
public static
|
|
Int32 GetUniformLocation(Int32 programObj, System.String name)
|
|
{
|
|
return Delegates.glGetUniformLocationARB((UInt32)programObj, (System.String)name);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32[] length, [Out] Int32[] size, [Out] OpenTK.Graphics.All[] type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = length)
|
|
fixed (Int32* size_ptr = size)
|
|
fixed (OpenTK.Graphics.All* type_ptr = type)
|
|
{
|
|
Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.All*)type_ptr, (System.Text.StringBuilder)name);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32[] length, [Out] Int32[] size, [Out] OpenTK.Graphics.All[] type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = length)
|
|
fixed (Int32* size_ptr = size)
|
|
fixed (OpenTK.Graphics.All* type_ptr = type)
|
|
{
|
|
Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.All*)type_ptr, (System.Text.StringBuilder)name);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.All type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = &length)
|
|
fixed (Int32* size_ptr = &size)
|
|
fixed (OpenTK.Graphics.All* type_ptr = &type)
|
|
{
|
|
Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.All*)type_ptr, (System.Text.StringBuilder)name);
|
|
length = *length_ptr;
|
|
size = *size_ptr;
|
|
type = *type_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.All type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = &length)
|
|
fixed (Int32* size_ptr = &size)
|
|
fixed (OpenTK.Graphics.All* type_ptr = &type)
|
|
{
|
|
Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.All*)type_ptr, (System.Text.StringBuilder)name);
|
|
length = *length_ptr;
|
|
size = *size_ptr;
|
|
type = *type_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.All* type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (OpenTK.Graphics.All*)type, (System.Text.StringBuilder)name);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.All* type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (OpenTK.Graphics.All*)type, (System.Text.StringBuilder)name);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetUniform(UInt32 programObj, Int32 location, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetUniform(Int32 programObj, Int32 location, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetUniform(UInt32 programObj, Int32 location, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetUniform(Int32 programObj, Int32 location, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetUniform(UInt32 programObj, Int32 location, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetUniform(Int32 programObj, Int32 location, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetUniform(UInt32 programObj, Int32 location, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetUniform(Int32 programObj, Int32 location, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetUniform(UInt32 programObj, Int32 location, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetUniform(Int32 programObj, Int32 location, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetUniform(UInt32 programObj, Int32 location, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetUniform(Int32 programObj, Int32 location, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetShaderSource(UInt32 obj, Int32 maxLength, [Out] Int32[] length, [Out] System.Text.StringBuilder[] source)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = length)
|
|
{
|
|
Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length_ptr, (System.Text.StringBuilder[])source);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetShaderSource(Int32 obj, Int32 maxLength, [Out] Int32[] length, [Out] System.Text.StringBuilder[] source)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = length)
|
|
{
|
|
Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length_ptr, (System.Text.StringBuilder[])source);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetShaderSource(UInt32 obj, Int32 maxLength, [Out] out Int32 length, [Out] System.Text.StringBuilder[] source)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = &length)
|
|
{
|
|
Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length_ptr, (System.Text.StringBuilder[])source);
|
|
length = *length_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetShaderSource(Int32 obj, Int32 maxLength, [Out] out Int32 length, [Out] System.Text.StringBuilder[] source)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = &length)
|
|
{
|
|
Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length_ptr, (System.Text.StringBuilder[])source);
|
|
length = *length_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetShaderSource(UInt32 obj, Int32 maxLength, [Out] Int32* length, [Out] System.Text.StringBuilder[] source)
|
|
{
|
|
Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (System.Text.StringBuilder[])source);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetShaderSource(Int32 obj, Int32 maxLength, [Out] Int32* length, [Out] System.Text.StringBuilder[] source)
|
|
{
|
|
Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (System.Text.StringBuilder[])source);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void BindAttribLocation(UInt32 programObj, UInt32 index, System.String name)
|
|
{
|
|
Delegates.glBindAttribLocationARB((UInt32)programObj, (UInt32)index, (System.String)name);
|
|
}
|
|
|
|
public static
|
|
void BindAttribLocation(Int32 programObj, Int32 index, System.String name)
|
|
{
|
|
Delegates.glBindAttribLocationARB((UInt32)programObj, (UInt32)index, (System.String)name);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32[] length, [Out] Int32[] size, [Out] OpenTK.Graphics.All[] type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = length)
|
|
fixed (Int32* size_ptr = size)
|
|
fixed (OpenTK.Graphics.All* type_ptr = type)
|
|
{
|
|
Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.All*)type_ptr, (System.Text.StringBuilder)name);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32[] length, [Out] Int32[] size, [Out] OpenTK.Graphics.All[] type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = length)
|
|
fixed (Int32* size_ptr = size)
|
|
fixed (OpenTK.Graphics.All* type_ptr = type)
|
|
{
|
|
Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.All*)type_ptr, (System.Text.StringBuilder)name);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.All type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = &length)
|
|
fixed (Int32* size_ptr = &size)
|
|
fixed (OpenTK.Graphics.All* type_ptr = &type)
|
|
{
|
|
Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.All*)type_ptr, (System.Text.StringBuilder)name);
|
|
length = *length_ptr;
|
|
size = *size_ptr;
|
|
type = *type_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.All type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = &length)
|
|
fixed (Int32* size_ptr = &size)
|
|
fixed (OpenTK.Graphics.All* type_ptr = &type)
|
|
{
|
|
Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.All*)type_ptr, (System.Text.StringBuilder)name);
|
|
length = *length_ptr;
|
|
size = *size_ptr;
|
|
type = *type_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.All* type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (OpenTK.Graphics.All*)type, (System.Text.StringBuilder)name);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.All* type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (OpenTK.Graphics.All*)type, (System.Text.StringBuilder)name);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
Int32 GetAttribLocation(UInt32 programObj, System.String name)
|
|
{
|
|
return Delegates.glGetAttribLocationARB((UInt32)programObj, (System.String)name);
|
|
}
|
|
|
|
public static
|
|
Int32 GetAttribLocation(Int32 programObj, System.String name)
|
|
{
|
|
return Delegates.glGetAttribLocationARB((UInt32)programObj, (System.String)name);
|
|
}
|
|
|
|
public static
|
|
void DrawBuffers(Int32 n, OpenTK.Graphics.All[] bufs)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (OpenTK.Graphics.All* bufs_ptr = bufs)
|
|
{
|
|
Delegates.glDrawBuffersARB((Int32)n, (OpenTK.Graphics.All*)bufs_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DrawBuffers(Int32 n, ref OpenTK.Graphics.All bufs)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (OpenTK.Graphics.All* bufs_ptr = &bufs)
|
|
{
|
|
Delegates.glDrawBuffersARB((Int32)n, (OpenTK.Graphics.All*)bufs_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.All* bufs)
|
|
{
|
|
Delegates.glDrawBuffersARB((Int32)n, (OpenTK.Graphics.All*)bufs);
|
|
}
|
|
|
|
public static
|
|
void ClampColor(OpenTK.Graphics.All target, OpenTK.Graphics.All clamp)
|
|
{
|
|
Delegates.glClampColorARB((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)clamp);
|
|
}
|
|
|
|
}
|
|
|
|
public static partial class Ext
|
|
{
|
|
public static
|
|
void BlendColor(Single red, Single green, Single blue, Single alpha)
|
|
{
|
|
Delegates.glBlendColorEXT((Single)red, (Single)green, (Single)blue, (Single)alpha);
|
|
}
|
|
|
|
public static
|
|
void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glTexImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glTexImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pixels_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glTexSubImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glTexSubImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pixels_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glTexSubImage1DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glTexSubImage1DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pixels_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glTexSubImage2DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glTexSubImage2DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pixels_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CopyTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 border)
|
|
{
|
|
Delegates.glCopyTexImage1DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border);
|
|
}
|
|
|
|
public static
|
|
void CopyTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border)
|
|
{
|
|
Delegates.glCopyTexImage2DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border);
|
|
}
|
|
|
|
public static
|
|
void CopyTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width)
|
|
{
|
|
Delegates.glCopyTexSubImage1DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width);
|
|
}
|
|
|
|
public static
|
|
void CopyTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height)
|
|
{
|
|
Delegates.glCopyTexSubImage2DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height);
|
|
}
|
|
|
|
public static
|
|
void CopyTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height)
|
|
{
|
|
Delegates.glCopyTexSubImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height);
|
|
}
|
|
|
|
public static
|
|
void GetHistogram(OpenTK.Graphics.All target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr values)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glGetHistogramEXT((OpenTK.Graphics.All)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetHistogram(OpenTK.Graphics.All target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object values)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle values_ptr = System.Runtime.InteropServices.GCHandle.Alloc(values, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetHistogramEXT((OpenTK.Graphics.All)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
values_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetHistogramParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetHistogramParameterfvEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetHistogramParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetHistogramParameterfvEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetHistogramParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetHistogramParameterfvEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetHistogramParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetHistogramParameterivEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetHistogramParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetHistogramParameterivEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetHistogramParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetHistogramParameterivEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetMinmax(OpenTK.Graphics.All target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr values)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glGetMinmaxEXT((OpenTK.Graphics.All)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetMinmax(OpenTK.Graphics.All target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object values)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle values_ptr = System.Runtime.InteropServices.GCHandle.Alloc(values, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetMinmaxEXT((OpenTK.Graphics.All)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
values_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetMinmaxParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetMinmaxParameterfvEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetMinmaxParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetMinmaxParameterfvEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetMinmaxParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetMinmaxParameterfvEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetMinmaxParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetMinmaxParameterivEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetMinmaxParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetMinmaxParameterivEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetMinmaxParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetMinmaxParameterivEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void Histogram(OpenTK.Graphics.All target, Int32 width, OpenTK.Graphics.PixelInternalFormat internalformat, bool sink)
|
|
{
|
|
Delegates.glHistogramEXT((OpenTK.Graphics.All)target, (Int32)width, (OpenTK.Graphics.PixelInternalFormat)internalformat, (bool)sink);
|
|
}
|
|
|
|
public static
|
|
void Minmax(OpenTK.Graphics.All target, OpenTK.Graphics.PixelInternalFormat internalformat, bool sink)
|
|
{
|
|
Delegates.glMinmaxEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (bool)sink);
|
|
}
|
|
|
|
public static
|
|
void ResetHistogram(OpenTK.Graphics.All target)
|
|
{
|
|
Delegates.glResetHistogramEXT((OpenTK.Graphics.All)target);
|
|
}
|
|
|
|
public static
|
|
void ResetMinmax(OpenTK.Graphics.All target)
|
|
{
|
|
Delegates.glResetMinmaxEXT((OpenTK.Graphics.All)target);
|
|
}
|
|
|
|
public static
|
|
void ConvolutionFilter1D(OpenTK.Graphics.All target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr image)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ConvolutionFilter1D(OpenTK.Graphics.All target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object image)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle image_ptr = System.Runtime.InteropServices.GCHandle.Alloc(image, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
image_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ConvolutionFilter2D(OpenTK.Graphics.All target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr image)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ConvolutionFilter2D(OpenTK.Graphics.All target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object image)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle image_ptr = System.Runtime.InteropServices.GCHandle.Alloc(image, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
image_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ConvolutionParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, Single @params)
|
|
{
|
|
Delegates.glConvolutionParameterfEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single)@params);
|
|
}
|
|
|
|
public static
|
|
void ConvolutionParameterv(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glConvolutionParameterfvEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ConvolutionParameterv(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glConvolutionParameterfvEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ConvolutionParameterv(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, Single* @params)
|
|
{
|
|
Delegates.glConvolutionParameterfvEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void ConvolutionParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, Int32 @params)
|
|
{
|
|
Delegates.glConvolutionParameteriEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32)@params);
|
|
}
|
|
|
|
public static
|
|
void ConvolutionParameterv(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glConvolutionParameterivEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ConvolutionParameterv(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glConvolutionParameterivEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ConvolutionParameterv(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, Int32* @params)
|
|
{
|
|
Delegates.glConvolutionParameterivEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void CopyConvolutionFilter1D(OpenTK.Graphics.All target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width)
|
|
{
|
|
Delegates.glCopyConvolutionFilter1DEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width);
|
|
}
|
|
|
|
public static
|
|
void CopyConvolutionFilter2D(OpenTK.Graphics.All target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height)
|
|
{
|
|
Delegates.glCopyConvolutionFilter2DEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height);
|
|
}
|
|
|
|
public static
|
|
void GetConvolutionFilter(OpenTK.Graphics.All target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr image)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetConvolutionFilter(OpenTK.Graphics.All target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object image)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle image_ptr = System.Runtime.InteropServices.GCHandle.Alloc(image, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
image_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetConvolutionParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetConvolutionParameterfvEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetConvolutionParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetConvolutionParameterfvEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetConvolutionParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetConvolutionParameterfvEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetConvolutionParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetConvolutionParameterivEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetConvolutionParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetConvolutionParameterivEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetConvolutionParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetConvolutionParameterivEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetSeparableFilter(OpenTK.Graphics.All target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [Out] IntPtr span)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetSeparableFilter(OpenTK.Graphics.All target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object row, [In, Out] object column, [In, Out] object span)
|
|
{
|
|
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((OpenTK.Graphics.All)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
row_ptr.Free();
|
|
column_ptr.Free();
|
|
span_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void SeparableFilter2D(OpenTK.Graphics.All target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, IntPtr column)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void SeparableFilter2D(OpenTK.Graphics.All target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object row, [In, Out] object column)
|
|
{
|
|
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((OpenTK.Graphics.All)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
row_ptr.Free();
|
|
column_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void BindTexture(OpenTK.Graphics.TextureTarget target, UInt32 texture)
|
|
{
|
|
Delegates.glBindTextureEXT((OpenTK.Graphics.TextureTarget)target, (UInt32)texture);
|
|
}
|
|
|
|
public static
|
|
void BindTexture(OpenTK.Graphics.TextureTarget target, Int32 texture)
|
|
{
|
|
Delegates.glBindTextureEXT((OpenTK.Graphics.TextureTarget)target, (UInt32)texture);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DeleteTextures(Int32 n, UInt32[] textures)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* textures_ptr = textures)
|
|
{
|
|
Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DeleteTextures(Int32 n, Int32[] textures)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* textures_ptr = textures)
|
|
{
|
|
Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DeleteTextures(Int32 n, ref UInt32 textures)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* textures_ptr = &textures)
|
|
{
|
|
Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DeleteTextures(Int32 n, ref Int32 textures)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* textures_ptr = &textures)
|
|
{
|
|
Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void DeleteTextures(Int32 n, UInt32* textures)
|
|
{
|
|
Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void DeleteTextures(Int32 n, Int32* textures)
|
|
{
|
|
Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GenTextures(Int32 n, [Out] UInt32[] textures)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* textures_ptr = textures)
|
|
{
|
|
Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GenTextures(Int32 n, [Out] Int32[] textures)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* textures_ptr = textures)
|
|
{
|
|
Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GenTextures(Int32 n, [Out] out UInt32 textures)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* textures_ptr = &textures)
|
|
{
|
|
Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures_ptr);
|
|
textures = *textures_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GenTextures(Int32 n, [Out] out Int32 textures)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* textures_ptr = &textures)
|
|
{
|
|
Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures_ptr);
|
|
textures = *textures_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GenTextures(Int32 n, [Out] UInt32* textures)
|
|
{
|
|
Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GenTextures(Int32 n, [Out] Int32* textures)
|
|
{
|
|
Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
bool IsTexture(UInt32 texture)
|
|
{
|
|
return Delegates.glIsTextureEXT((UInt32)texture);
|
|
}
|
|
|
|
public static
|
|
bool IsTexture(Int32 texture)
|
|
{
|
|
return Delegates.glIsTextureEXT((UInt32)texture);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void PrioritizeTextures(Int32 n, UInt32[] textures, Single[] priorities)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* textures_ptr = textures)
|
|
fixed (Single* priorities_ptr = priorities)
|
|
{
|
|
Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void PrioritizeTextures(Int32 n, Int32[] textures, Single[] priorities)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* textures_ptr = textures)
|
|
fixed (Single* priorities_ptr = priorities)
|
|
{
|
|
Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void PrioritizeTextures(Int32 n, ref UInt32 textures, ref Single priorities)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* textures_ptr = &textures)
|
|
fixed (Single* priorities_ptr = &priorities)
|
|
{
|
|
Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void PrioritizeTextures(Int32 n, ref Int32 textures, ref Single priorities)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* textures_ptr = &textures)
|
|
fixed (Single* priorities_ptr = &priorities)
|
|
{
|
|
Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void PrioritizeTextures(Int32 n, UInt32* textures, Single* priorities)
|
|
{
|
|
Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures, (Single*)priorities);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void PrioritizeTextures(Int32 n, Int32* textures, Single* priorities)
|
|
{
|
|
Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures, (Single*)priorities);
|
|
}
|
|
|
|
public static
|
|
void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, Int32 count, IntPtr pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glColorPointerEXT((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, Int32 count, [In, Out] object pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glColorPointerEXT((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DrawArrays(OpenTK.Graphics.BeginMode mode, Int32 first, Int32 count)
|
|
{
|
|
Delegates.glDrawArraysEXT((OpenTK.Graphics.BeginMode)mode, (Int32)first, (Int32)count);
|
|
}
|
|
|
|
public static
|
|
void EdgeFlagPointer(Int32 stride, Int32 count, bool[] pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (bool* pointer_ptr = pointer)
|
|
{
|
|
Delegates.glEdgeFlagPointerEXT((Int32)stride, (Int32)count, (bool*)pointer_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void EdgeFlagPointer(Int32 stride, Int32 count, ref bool pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (bool* pointer_ptr = &pointer)
|
|
{
|
|
Delegates.glEdgeFlagPointerEXT((Int32)stride, (Int32)count, (bool*)pointer_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void EdgeFlagPointer(Int32 stride, Int32 count, bool* pointer)
|
|
{
|
|
Delegates.glEdgeFlagPointerEXT((Int32)stride, (Int32)count, (bool*)pointer);
|
|
}
|
|
|
|
public static
|
|
void GetPointer(OpenTK.Graphics.GetPointervPName pname, [Out] IntPtr @params)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glGetPointervEXT((OpenTK.Graphics.GetPointervPName)pname, (IntPtr)@params);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetPointer(OpenTK.Graphics.GetPointervPName pname, [In, Out] object @params)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle @params_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@params, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetPointervEXT((OpenTK.Graphics.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
@params_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, Int32 count, IntPtr pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glIndexPointerEXT((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, Int32 count, [In, Out] object pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glIndexPointerEXT((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, Int32 count, IntPtr pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glNormalPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, Int32 count, [In, Out] object pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glNormalPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, Int32 count, IntPtr pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glTexCoordPointerEXT((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, Int32 count, [In, Out] object pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glTexCoordPointerEXT((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, Int32 count, IntPtr pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glVertexPointerEXT((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, Int32 count, [In, Out] object pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glVertexPointerEXT((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void BlendEquation(OpenTK.Graphics.All mode)
|
|
{
|
|
Delegates.glBlendEquationEXT((OpenTK.Graphics.All)mode);
|
|
}
|
|
|
|
public static
|
|
void PointParameter(OpenTK.Graphics.All pname, Single param)
|
|
{
|
|
Delegates.glPointParameterfEXT((OpenTK.Graphics.All)pname, (Single)param);
|
|
}
|
|
|
|
public static
|
|
void PointParameterv(OpenTK.Graphics.All pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glPointParameterfvEXT((OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void PointParameterv(OpenTK.Graphics.All pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glPointParameterfvEXT((OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void PointParameterv(OpenTK.Graphics.All pname, Single* @params)
|
|
{
|
|
Delegates.glPointParameterfvEXT((OpenTK.Graphics.All)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void ColorSubTable(OpenTK.Graphics.All target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr data)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glColorSubTableEXT((OpenTK.Graphics.All)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ColorSubTable(OpenTK.Graphics.All target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object data)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glColorSubTableEXT((OpenTK.Graphics.All)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
data_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CopyColorSubTable(OpenTK.Graphics.All target, Int32 start, Int32 x, Int32 y, Int32 width)
|
|
{
|
|
Delegates.glCopyColorSubTableEXT((OpenTK.Graphics.All)target, (Int32)start, (Int32)x, (Int32)y, (Int32)width);
|
|
}
|
|
|
|
public static
|
|
void ColorTable(OpenTK.Graphics.All target, OpenTK.Graphics.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr table)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glColorTableEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.PixelInternalFormat)internalFormat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ColorTable(OpenTK.Graphics.All target, OpenTK.Graphics.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object table)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle table_ptr = System.Runtime.InteropServices.GCHandle.Alloc(table, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glColorTableEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.PixelInternalFormat)internalFormat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
table_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetColorTable(OpenTK.Graphics.All target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr data)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glGetColorTableEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetColorTable(OpenTK.Graphics.All target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object data)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetColorTableEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
data_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetColorTableParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetColorTableParameterivEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetColorTableParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetColorTableParameterivEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetColorTableParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetColorTableParameterivEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetColorTableParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetColorTableParameterfvEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetColorTableParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetColorTableParameterfvEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetColorTableParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetColorTableParameterfvEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void IndexMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.All mode)
|
|
{
|
|
Delegates.glIndexMaterialEXT((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.All)mode);
|
|
}
|
|
|
|
public static
|
|
void IndexFunc(OpenTK.Graphics.All func, Single @ref)
|
|
{
|
|
Delegates.glIndexFuncEXT((OpenTK.Graphics.All)func, (Single)@ref);
|
|
}
|
|
|
|
public static
|
|
void LockArrays(Int32 first, Int32 count)
|
|
{
|
|
Delegates.glLockArraysEXT((Int32)first, (Int32)count);
|
|
}
|
|
|
|
public static
|
|
void UnlockArrays()
|
|
{
|
|
Delegates.glUnlockArraysEXT();
|
|
}
|
|
|
|
public static
|
|
void CullParameter(OpenTK.Graphics.All pname, [Out] Double[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = @params)
|
|
{
|
|
Delegates.glCullParameterdvEXT((OpenTK.Graphics.All)pname, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CullParameter(OpenTK.Graphics.All pname, [Out] out Double @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = &@params)
|
|
{
|
|
Delegates.glCullParameterdvEXT((OpenTK.Graphics.All)pname, (Double*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void CullParameter(OpenTK.Graphics.All pname, [Out] Double* @params)
|
|
{
|
|
Delegates.glCullParameterdvEXT((OpenTK.Graphics.All)pname, (Double*)@params);
|
|
}
|
|
|
|
public static
|
|
void CullParameter(OpenTK.Graphics.All pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glCullParameterfvEXT((OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CullParameter(OpenTK.Graphics.All pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glCullParameterfvEXT((OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void CullParameter(OpenTK.Graphics.All pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glCullParameterfvEXT((OpenTK.Graphics.All)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices);
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.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.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
indices_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.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.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
indices_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ApplyTexture(OpenTK.Graphics.All mode)
|
|
{
|
|
Delegates.glApplyTextureEXT((OpenTK.Graphics.All)mode);
|
|
}
|
|
|
|
public static
|
|
void TextureMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter mode)
|
|
{
|
|
Delegates.glTextureMaterialEXT((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)mode);
|
|
}
|
|
|
|
public static
|
|
void PixelTransformParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, Int32 param)
|
|
{
|
|
Delegates.glPixelTransformParameteriEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32)param);
|
|
}
|
|
|
|
public static
|
|
void PixelTransformParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, Single param)
|
|
{
|
|
Delegates.glPixelTransformParameterfEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single)param);
|
|
}
|
|
|
|
public static
|
|
void PixelTransformParameterv(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glPixelTransformParameterivEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void PixelTransformParameterv(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glPixelTransformParameterivEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void PixelTransformParameterv(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, Int32* @params)
|
|
{
|
|
Delegates.glPixelTransformParameterivEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void PixelTransformParameterv(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glPixelTransformParameterfvEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void PixelTransformParameterv(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glPixelTransformParameterfvEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void PixelTransformParameterv(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, Single* @params)
|
|
{
|
|
Delegates.glPixelTransformParameterfvEXT((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void SecondaryColor3(SByte red, SByte green, SByte blue)
|
|
{
|
|
Delegates.glSecondaryColor3bEXT((SByte)red, (SByte)green, (SByte)blue);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void SecondaryColor3(SByte[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (SByte* v_ptr = v)
|
|
{
|
|
Delegates.glSecondaryColor3bvEXT((SByte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void SecondaryColor3(ref SByte v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (SByte* v_ptr = &v)
|
|
{
|
|
Delegates.glSecondaryColor3bvEXT((SByte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void SecondaryColor3(SByte* v)
|
|
{
|
|
Delegates.glSecondaryColor3bvEXT((SByte*)v);
|
|
}
|
|
|
|
public static
|
|
void SecondaryColor3(Double red, Double green, Double blue)
|
|
{
|
|
Delegates.glSecondaryColor3dEXT((Double)red, (Double)green, (Double)blue);
|
|
}
|
|
|
|
public static
|
|
void SecondaryColor3(Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glSecondaryColor3dvEXT((Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void SecondaryColor3(ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glSecondaryColor3dvEXT((Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void SecondaryColor3(Double* v)
|
|
{
|
|
Delegates.glSecondaryColor3dvEXT((Double*)v);
|
|
}
|
|
|
|
public static
|
|
void SecondaryColor3(Single red, Single green, Single blue)
|
|
{
|
|
Delegates.glSecondaryColor3fEXT((Single)red, (Single)green, (Single)blue);
|
|
}
|
|
|
|
public static
|
|
void SecondaryColor3(Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glSecondaryColor3fvEXT((Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void SecondaryColor3(ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glSecondaryColor3fvEXT((Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void SecondaryColor3(Single* v)
|
|
{
|
|
Delegates.glSecondaryColor3fvEXT((Single*)v);
|
|
}
|
|
|
|
public static
|
|
void SecondaryColor3(Byte red, Byte green, Byte blue)
|
|
{
|
|
Delegates.glSecondaryColor3ubEXT((Byte)red, (Byte)green, (Byte)blue);
|
|
}
|
|
|
|
public static
|
|
void SecondaryColor3(Byte[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* v_ptr = v)
|
|
{
|
|
Delegates.glSecondaryColor3ubvEXT((Byte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void SecondaryColor3(ref Byte v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* v_ptr = &v)
|
|
{
|
|
Delegates.glSecondaryColor3ubvEXT((Byte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void SecondaryColor3(Byte* v)
|
|
{
|
|
Delegates.glSecondaryColor3ubvEXT((Byte*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void SecondaryColor3(UInt32 red, UInt32 green, UInt32 blue)
|
|
{
|
|
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
|
|
void SecondaryColor3(UInt32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* v_ptr = v)
|
|
{
|
|
Delegates.glSecondaryColor3uivEXT((UInt32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
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)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* v_ptr = &v)
|
|
{
|
|
Delegates.glSecondaryColor3uivEXT((UInt32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void SecondaryColor3(ref Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glSecondaryColor3uivEXT((UInt32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void SecondaryColor3(UInt32* v)
|
|
{
|
|
Delegates.glSecondaryColor3uivEXT((UInt32*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void SecondaryColor3(Int32* v)
|
|
{
|
|
Delegates.glSecondaryColor3uivEXT((UInt32*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void SecondaryColor3(UInt16 red, UInt16 green, UInt16 blue)
|
|
{
|
|
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
|
|
void SecondaryColor3(UInt16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = v)
|
|
{
|
|
Delegates.glSecondaryColor3usvEXT((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
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)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = &v)
|
|
{
|
|
Delegates.glSecondaryColor3usvEXT((UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
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 SecondaryColor3(UInt16* v)
|
|
{
|
|
Delegates.glSecondaryColor3usvEXT((UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void SecondaryColor3(Int16* v)
|
|
{
|
|
Delegates.glSecondaryColor3usvEXT((UInt16*)v);
|
|
}
|
|
|
|
public static
|
|
void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, IntPtr pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glSecondaryColorPointerEXT((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] object pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glSecondaryColorPointerEXT((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TextureNormal(OpenTK.Graphics.All mode)
|
|
{
|
|
Delegates.glTextureNormalEXT((OpenTK.Graphics.All)mode);
|
|
}
|
|
|
|
public static
|
|
void MultiDrawArrays(OpenTK.Graphics.BeginMode mode, [Out] Int32[] first, [Out] Int32[] count, Int32 primcount)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* first_ptr = first)
|
|
fixed (Int32* count_ptr = count)
|
|
{
|
|
Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiDrawArrays(OpenTK.Graphics.BeginMode mode, [Out] out Int32 first, [Out] out Int32 count, Int32 primcount)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* first_ptr = &first)
|
|
fixed (Int32* count_ptr = &count)
|
|
{
|
|
Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
|
|
first = *first_ptr;
|
|
count = *count_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiDrawArrays(OpenTK.Graphics.BeginMode mode, [Out] Int32* first, [Out] Int32* count, Int32 primcount)
|
|
{
|
|
Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)first, (Int32*)count, (Int32)primcount);
|
|
}
|
|
|
|
public static
|
|
void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* count_ptr = count)
|
|
{
|
|
Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] object indices, Int32 primcount)
|
|
{
|
|
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.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
|
|
}
|
|
finally
|
|
{
|
|
indices_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* count_ptr = &count)
|
|
{
|
|
Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] object indices, Int32 primcount)
|
|
{
|
|
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.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
|
|
}
|
|
finally
|
|
{
|
|
indices_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount)
|
|
{
|
|
Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.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.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
|
|
}
|
|
finally
|
|
{
|
|
indices_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void FogCoord(Single coord)
|
|
{
|
|
Delegates.glFogCoordfEXT((Single)coord);
|
|
}
|
|
|
|
public static
|
|
void FogCoordv(Single[] coord)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* coord_ptr = coord)
|
|
{
|
|
Delegates.glFogCoordfvEXT((Single*)coord_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void FogCoordv(ref Single coord)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* coord_ptr = &coord)
|
|
{
|
|
Delegates.glFogCoordfvEXT((Single*)coord_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void FogCoordv(Single* coord)
|
|
{
|
|
Delegates.glFogCoordfvEXT((Single*)coord);
|
|
}
|
|
|
|
public static
|
|
void FogCoord(Double coord)
|
|
{
|
|
Delegates.glFogCoorddEXT((Double)coord);
|
|
}
|
|
|
|
public static
|
|
void FogCoordv(Double[] coord)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* coord_ptr = coord)
|
|
{
|
|
Delegates.glFogCoorddvEXT((Double*)coord_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void FogCoordv(ref Double coord)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* coord_ptr = &coord)
|
|
{
|
|
Delegates.glFogCoorddvEXT((Double*)coord_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void FogCoordv(Double* coord)
|
|
{
|
|
Delegates.glFogCoorddvEXT((Double*)coord);
|
|
}
|
|
|
|
public static
|
|
void FogCoordPointer(OpenTK.Graphics.All type, Int32 stride, IntPtr pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glFogCoordPointerEXT((OpenTK.Graphics.All)type, (Int32)stride, (IntPtr)pointer);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void FogCoordPointer(OpenTK.Graphics.All type, Int32 stride, [In, Out] object pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glFogCoordPointerEXT((OpenTK.Graphics.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Tangent3(SByte tx, SByte ty, SByte tz)
|
|
{
|
|
Delegates.glTangent3bEXT((SByte)tx, (SByte)ty, (SByte)tz);
|
|
}
|
|
|
|
public static
|
|
void Tangent3(Byte tx, Byte ty, Byte tz)
|
|
{
|
|
Delegates.glTangent3bEXT((SByte)tx, (SByte)ty, (SByte)tz);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Tangent3(SByte[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (SByte* v_ptr = v)
|
|
{
|
|
Delegates.glTangent3bvEXT((SByte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Tangent3(Byte[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* v_ptr = v)
|
|
{
|
|
Delegates.glTangent3bvEXT((SByte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Tangent3(ref SByte v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (SByte* v_ptr = &v)
|
|
{
|
|
Delegates.glTangent3bvEXT((SByte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Tangent3(ref Byte v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* v_ptr = &v)
|
|
{
|
|
Delegates.glTangent3bvEXT((SByte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Tangent3(SByte* v)
|
|
{
|
|
Delegates.glTangent3bvEXT((SByte*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Tangent3(Byte* v)
|
|
{
|
|
Delegates.glTangent3bvEXT((SByte*)v);
|
|
}
|
|
|
|
public static
|
|
void Tangent3(Double tx, Double ty, Double tz)
|
|
{
|
|
Delegates.glTangent3dEXT((Double)tx, (Double)ty, (Double)tz);
|
|
}
|
|
|
|
public static
|
|
void Tangent3(Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glTangent3dvEXT((Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Tangent3(ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glTangent3dvEXT((Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Tangent3(Double* v)
|
|
{
|
|
Delegates.glTangent3dvEXT((Double*)v);
|
|
}
|
|
|
|
public static
|
|
void Tangent3(Single tx, Single ty, Single tz)
|
|
{
|
|
Delegates.glTangent3fEXT((Single)tx, (Single)ty, (Single)tz);
|
|
}
|
|
|
|
public static
|
|
void Tangent3(Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glTangent3fvEXT((Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Tangent3(ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glTangent3fvEXT((Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Tangent3(Single* v)
|
|
{
|
|
Delegates.glTangent3fvEXT((Single*)v);
|
|
}
|
|
|
|
public static
|
|
void Tangent3(Int32 tx, Int32 ty, Int32 tz)
|
|
{
|
|
Delegates.glTangent3iEXT((Int32)tx, (Int32)ty, (Int32)tz);
|
|
}
|
|
|
|
public static
|
|
void Tangent3(Int32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = v)
|
|
{
|
|
Delegates.glTangent3ivEXT((Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Tangent3(ref Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glTangent3ivEXT((Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Tangent3(Int32* v)
|
|
{
|
|
Delegates.glTangent3ivEXT((Int32*)v);
|
|
}
|
|
|
|
public static
|
|
void Tangent3(Int16 tx, Int16 ty, Int16 tz)
|
|
{
|
|
Delegates.glTangent3sEXT((Int16)tx, (Int16)ty, (Int16)tz);
|
|
}
|
|
|
|
public static
|
|
void Tangent3(Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glTangent3svEXT((Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Tangent3(ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glTangent3svEXT((Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Tangent3(Int16* v)
|
|
{
|
|
Delegates.glTangent3svEXT((Int16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Binormal3(SByte bx, SByte by, SByte bz)
|
|
{
|
|
Delegates.glBinormal3bEXT((SByte)bx, (SByte)by, (SByte)bz);
|
|
}
|
|
|
|
public static
|
|
void Binormal3(Byte bx, Byte by, Byte bz)
|
|
{
|
|
Delegates.glBinormal3bEXT((SByte)bx, (SByte)by, (SByte)bz);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Binormal3(SByte[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (SByte* v_ptr = v)
|
|
{
|
|
Delegates.glBinormal3bvEXT((SByte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Binormal3(Byte[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* v_ptr = v)
|
|
{
|
|
Delegates.glBinormal3bvEXT((SByte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Binormal3(ref SByte v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (SByte* v_ptr = &v)
|
|
{
|
|
Delegates.glBinormal3bvEXT((SByte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Binormal3(ref Byte v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* v_ptr = &v)
|
|
{
|
|
Delegates.glBinormal3bvEXT((SByte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Binormal3(SByte* v)
|
|
{
|
|
Delegates.glBinormal3bvEXT((SByte*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Binormal3(Byte* v)
|
|
{
|
|
Delegates.glBinormal3bvEXT((SByte*)v);
|
|
}
|
|
|
|
public static
|
|
void Binormal3(Double bx, Double by, Double bz)
|
|
{
|
|
Delegates.glBinormal3dEXT((Double)bx, (Double)by, (Double)bz);
|
|
}
|
|
|
|
public static
|
|
void Binormal3(Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glBinormal3dvEXT((Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Binormal3(ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glBinormal3dvEXT((Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Binormal3(Double* v)
|
|
{
|
|
Delegates.glBinormal3dvEXT((Double*)v);
|
|
}
|
|
|
|
public static
|
|
void Binormal3(Single bx, Single by, Single bz)
|
|
{
|
|
Delegates.glBinormal3fEXT((Single)bx, (Single)by, (Single)bz);
|
|
}
|
|
|
|
public static
|
|
void Binormal3(Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glBinormal3fvEXT((Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Binormal3(ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glBinormal3fvEXT((Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Binormal3(Single* v)
|
|
{
|
|
Delegates.glBinormal3fvEXT((Single*)v);
|
|
}
|
|
|
|
public static
|
|
void Binormal3(Int32 bx, Int32 by, Int32 bz)
|
|
{
|
|
Delegates.glBinormal3iEXT((Int32)bx, (Int32)by, (Int32)bz);
|
|
}
|
|
|
|
public static
|
|
void Binormal3(Int32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = v)
|
|
{
|
|
Delegates.glBinormal3ivEXT((Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Binormal3(ref Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glBinormal3ivEXT((Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Binormal3(Int32* v)
|
|
{
|
|
Delegates.glBinormal3ivEXT((Int32*)v);
|
|
}
|
|
|
|
public static
|
|
void Binormal3(Int16 bx, Int16 by, Int16 bz)
|
|
{
|
|
Delegates.glBinormal3sEXT((Int16)bx, (Int16)by, (Int16)bz);
|
|
}
|
|
|
|
public static
|
|
void Binormal3(Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glBinormal3svEXT((Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Binormal3(ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glBinormal3svEXT((Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Binormal3(Int16* v)
|
|
{
|
|
Delegates.glBinormal3svEXT((Int16*)v);
|
|
}
|
|
|
|
public static
|
|
void TangentPointer(OpenTK.Graphics.All type, Int32 stride, IntPtr pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glTangentPointerEXT((OpenTK.Graphics.All)type, (Int32)stride, (IntPtr)pointer);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TangentPointer(OpenTK.Graphics.All type, Int32 stride, [In, Out] object pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glTangentPointerEXT((OpenTK.Graphics.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void BinormalPointer(OpenTK.Graphics.All type, Int32 stride, IntPtr pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glBinormalPointerEXT((OpenTK.Graphics.All)type, (Int32)stride, (IntPtr)pointer);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void BinormalPointer(OpenTK.Graphics.All type, Int32 stride, [In, Out] object pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glBinormalPointerEXT((OpenTK.Graphics.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void BlendFuncSeparate(OpenTK.Graphics.All sfactorRGB, OpenTK.Graphics.All dfactorRGB, OpenTK.Graphics.All sfactorAlpha, OpenTK.Graphics.All dfactorAlpha)
|
|
{
|
|
Delegates.glBlendFuncSeparateEXT((OpenTK.Graphics.All)sfactorRGB, (OpenTK.Graphics.All)dfactorRGB, (OpenTK.Graphics.All)sfactorAlpha, (OpenTK.Graphics.All)dfactorAlpha);
|
|
}
|
|
|
|
public static
|
|
void VertexWeight(Single weight)
|
|
{
|
|
Delegates.glVertexWeightfEXT((Single)weight);
|
|
}
|
|
|
|
public static
|
|
void VertexWeightv(Single[] weight)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* weight_ptr = weight)
|
|
{
|
|
Delegates.glVertexWeightfvEXT((Single*)weight_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexWeightv(ref Single weight)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* weight_ptr = &weight)
|
|
{
|
|
Delegates.glVertexWeightfvEXT((Single*)weight_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexWeightv(Single* weight)
|
|
{
|
|
Delegates.glVertexWeightfvEXT((Single*)weight);
|
|
}
|
|
|
|
public static
|
|
void VertexWeightPointer(Int32 size, OpenTK.Graphics.All type, Int32 stride, IntPtr pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glVertexWeightPointerEXT((Int32)size, (OpenTK.Graphics.All)type, (Int32)stride, (IntPtr)pointer);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexWeightPointer(Int32 size, OpenTK.Graphics.All type, Int32 stride, [In, Out] object pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glVertexWeightPointerEXT((Int32)size, (OpenTK.Graphics.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void SampleMask(Single value, bool invert)
|
|
{
|
|
Delegates.glSampleMaskEXT((Single)value, (bool)invert);
|
|
}
|
|
|
|
public static
|
|
void SamplePattern(OpenTK.Graphics.All pattern)
|
|
{
|
|
Delegates.glSamplePatternEXT((OpenTK.Graphics.All)pattern);
|
|
}
|
|
|
|
public static
|
|
void BeginVertexShader()
|
|
{
|
|
Delegates.glBeginVertexShaderEXT();
|
|
}
|
|
|
|
public static
|
|
void EndVertexShader()
|
|
{
|
|
Delegates.glEndVertexShaderEXT();
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void BindVertexShader(UInt32 id)
|
|
{
|
|
Delegates.glBindVertexShaderEXT((UInt32)id);
|
|
}
|
|
|
|
public static
|
|
void BindVertexShader(Int32 id)
|
|
{
|
|
Delegates.glBindVertexShaderEXT((UInt32)id);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
Int32 GenVertexShaders(UInt32 range)
|
|
{
|
|
return Delegates.glGenVertexShadersEXT((UInt32)range);
|
|
}
|
|
|
|
public static
|
|
Int32 GenVertexShaders(Int32 range)
|
|
{
|
|
return Delegates.glGenVertexShadersEXT((UInt32)range);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DeleteVertexShader(UInt32 id)
|
|
{
|
|
Delegates.glDeleteVertexShaderEXT((UInt32)id);
|
|
}
|
|
|
|
public static
|
|
void DeleteVertexShader(Int32 id)
|
|
{
|
|
Delegates.glDeleteVertexShaderEXT((UInt32)id);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ShaderOp1(OpenTK.Graphics.All op, UInt32 res, UInt32 arg1)
|
|
{
|
|
Delegates.glShaderOp1EXT((OpenTK.Graphics.All)op, (UInt32)res, (UInt32)arg1);
|
|
}
|
|
|
|
public static
|
|
void ShaderOp1(OpenTK.Graphics.All op, Int32 res, Int32 arg1)
|
|
{
|
|
Delegates.glShaderOp1EXT((OpenTK.Graphics.All)op, (UInt32)res, (UInt32)arg1);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ShaderOp2(OpenTK.Graphics.All op, UInt32 res, UInt32 arg1, UInt32 arg2)
|
|
{
|
|
Delegates.glShaderOp2EXT((OpenTK.Graphics.All)op, (UInt32)res, (UInt32)arg1, (UInt32)arg2);
|
|
}
|
|
|
|
public static
|
|
void ShaderOp2(OpenTK.Graphics.All op, Int32 res, Int32 arg1, Int32 arg2)
|
|
{
|
|
Delegates.glShaderOp2EXT((OpenTK.Graphics.All)op, (UInt32)res, (UInt32)arg1, (UInt32)arg2);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ShaderOp3(OpenTK.Graphics.All op, UInt32 res, UInt32 arg1, UInt32 arg2, UInt32 arg3)
|
|
{
|
|
Delegates.glShaderOp3EXT((OpenTK.Graphics.All)op, (UInt32)res, (UInt32)arg1, (UInt32)arg2, (UInt32)arg3);
|
|
}
|
|
|
|
public static
|
|
void ShaderOp3(OpenTK.Graphics.All op, Int32 res, Int32 arg1, Int32 arg2, Int32 arg3)
|
|
{
|
|
Delegates.glShaderOp3EXT((OpenTK.Graphics.All)op, (UInt32)res, (UInt32)arg1, (UInt32)arg2, (UInt32)arg3);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Swizzle(UInt32 res, UInt32 @in, OpenTK.Graphics.All outX, OpenTK.Graphics.All outY, OpenTK.Graphics.All outZ, OpenTK.Graphics.All outW)
|
|
{
|
|
Delegates.glSwizzleEXT((UInt32)res, (UInt32)@in, (OpenTK.Graphics.All)outX, (OpenTK.Graphics.All)outY, (OpenTK.Graphics.All)outZ, (OpenTK.Graphics.All)outW);
|
|
}
|
|
|
|
public static
|
|
void Swizzle(Int32 res, Int32 @in, OpenTK.Graphics.All outX, OpenTK.Graphics.All outY, OpenTK.Graphics.All outZ, OpenTK.Graphics.All outW)
|
|
{
|
|
Delegates.glSwizzleEXT((UInt32)res, (UInt32)@in, (OpenTK.Graphics.All)outX, (OpenTK.Graphics.All)outY, (OpenTK.Graphics.All)outZ, (OpenTK.Graphics.All)outW);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void WriteMask(UInt32 res, UInt32 @in, OpenTK.Graphics.All outX, OpenTK.Graphics.All outY, OpenTK.Graphics.All outZ, OpenTK.Graphics.All outW)
|
|
{
|
|
Delegates.glWriteMaskEXT((UInt32)res, (UInt32)@in, (OpenTK.Graphics.All)outX, (OpenTK.Graphics.All)outY, (OpenTK.Graphics.All)outZ, (OpenTK.Graphics.All)outW);
|
|
}
|
|
|
|
public static
|
|
void WriteMask(Int32 res, Int32 @in, OpenTK.Graphics.All outX, OpenTK.Graphics.All outY, OpenTK.Graphics.All outZ, OpenTK.Graphics.All outW)
|
|
{
|
|
Delegates.glWriteMaskEXT((UInt32)res, (UInt32)@in, (OpenTK.Graphics.All)outX, (OpenTK.Graphics.All)outY, (OpenTK.Graphics.All)outZ, (OpenTK.Graphics.All)outW);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
Int32 GenSymbol(OpenTK.Graphics.All datatype, OpenTK.Graphics.All storagetype, OpenTK.Graphics.All range, UInt32 components)
|
|
{
|
|
return Delegates.glGenSymbolsEXT((OpenTK.Graphics.All)datatype, (OpenTK.Graphics.All)storagetype, (OpenTK.Graphics.All)range, (UInt32)components);
|
|
}
|
|
|
|
public static
|
|
Int32 GenSymbol(OpenTK.Graphics.All datatype, OpenTK.Graphics.All storagetype, OpenTK.Graphics.All range, Int32 components)
|
|
{
|
|
return Delegates.glGenSymbolsEXT((OpenTK.Graphics.All)datatype, (OpenTK.Graphics.All)storagetype, (OpenTK.Graphics.All)range, (UInt32)components);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Variant(UInt32 id, SByte[] addr)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (SByte* addr_ptr = addr)
|
|
{
|
|
Delegates.glVariantbvEXT((UInt32)id, (SByte*)addr_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Variant(UInt32 id, ref SByte addr)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (SByte* addr_ptr = &addr)
|
|
{
|
|
Delegates.glVariantbvEXT((UInt32)id, (SByte*)addr_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Variant(UInt32 id, SByte* addr)
|
|
{
|
|
Delegates.glVariantbvEXT((UInt32)id, (SByte*)addr);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Variant(UInt32 id, Int16[] addr)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* addr_ptr = addr)
|
|
{
|
|
Delegates.glVariantsvEXT((UInt32)id, (Int16*)addr_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Variant(UInt32 id, ref Int16 addr)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* addr_ptr = &addr)
|
|
{
|
|
Delegates.glVariantsvEXT((UInt32)id, (Int16*)addr_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Variant(UInt32 id, Int16* addr)
|
|
{
|
|
Delegates.glVariantsvEXT((UInt32)id, (Int16*)addr);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Variant(UInt32 id, Int32[] addr)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* addr_ptr = addr)
|
|
{
|
|
Delegates.glVariantivEXT((UInt32)id, (Int32*)addr_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Variant(UInt32 id, ref Int32 addr)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* addr_ptr = &addr)
|
|
{
|
|
Delegates.glVariantivEXT((UInt32)id, (Int32*)addr_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Variant(UInt32 id, Int32* addr)
|
|
{
|
|
Delegates.glVariantivEXT((UInt32)id, (Int32*)addr);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Variant(UInt32 id, Single[] addr)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* addr_ptr = addr)
|
|
{
|
|
Delegates.glVariantfvEXT((UInt32)id, (Single*)addr_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Variant(Int32 id, Single[] addr)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* addr_ptr = addr)
|
|
{
|
|
Delegates.glVariantfvEXT((UInt32)id, (Single*)addr_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Variant(UInt32 id, ref Single addr)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* addr_ptr = &addr)
|
|
{
|
|
Delegates.glVariantfvEXT((UInt32)id, (Single*)addr_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Variant(Int32 id, ref Single addr)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* addr_ptr = &addr)
|
|
{
|
|
Delegates.glVariantfvEXT((UInt32)id, (Single*)addr_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Variant(UInt32 id, Single* addr)
|
|
{
|
|
Delegates.glVariantfvEXT((UInt32)id, (Single*)addr);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Variant(Int32 id, Single* addr)
|
|
{
|
|
Delegates.glVariantfvEXT((UInt32)id, (Single*)addr);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Variant(UInt32 id, Double[] addr)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* addr_ptr = addr)
|
|
{
|
|
Delegates.glVariantdvEXT((UInt32)id, (Double*)addr_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Variant(Int32 id, Double[] addr)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* addr_ptr = addr)
|
|
{
|
|
Delegates.glVariantdvEXT((UInt32)id, (Double*)addr_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Variant(UInt32 id, ref Double addr)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* addr_ptr = &addr)
|
|
{
|
|
Delegates.glVariantdvEXT((UInt32)id, (Double*)addr_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Variant(Int32 id, ref Double addr)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* addr_ptr = &addr)
|
|
{
|
|
Delegates.glVariantdvEXT((UInt32)id, (Double*)addr_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Variant(UInt32 id, Double* addr)
|
|
{
|
|
Delegates.glVariantdvEXT((UInt32)id, (Double*)addr);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Variant(Int32 id, Double* addr)
|
|
{
|
|
Delegates.glVariantdvEXT((UInt32)id, (Double*)addr);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Variant(UInt32 id, Byte[] addr)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* addr_ptr = addr)
|
|
{
|
|
Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Variant(Int32 id, Byte[] addr)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* addr_ptr = addr)
|
|
{
|
|
Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Variant(UInt32 id, ref Byte addr)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* addr_ptr = &addr)
|
|
{
|
|
Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Variant(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 Variant(UInt32 id, Byte* addr)
|
|
{
|
|
Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Variant(Int32 id, Byte* addr)
|
|
{
|
|
Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Variant(UInt32 id, UInt16[] addr)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* addr_ptr = addr)
|
|
{
|
|
Delegates.glVariantusvEXT((UInt32)id, (UInt16*)addr_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Variant(Int32 id, Int16[] addr)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* addr_ptr = addr)
|
|
{
|
|
Delegates.glVariantusvEXT((UInt32)id, (UInt16*)addr_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Variant(UInt32 id, ref UInt16 addr)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* addr_ptr = &addr)
|
|
{
|
|
Delegates.glVariantusvEXT((UInt32)id, (UInt16*)addr_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Variant(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 Variant(UInt32 id, UInt16* addr)
|
|
{
|
|
Delegates.glVariantusvEXT((UInt32)id, (UInt16*)addr);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Variant(Int32 id, Int16* addr)
|
|
{
|
|
Delegates.glVariantusvEXT((UInt32)id, (UInt16*)addr);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Variant(UInt32 id, UInt32[] addr)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* addr_ptr = addr)
|
|
{
|
|
Delegates.glVariantuivEXT((UInt32)id, (UInt32*)addr_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Variant(Int32 id, Int32[] addr)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* addr_ptr = addr)
|
|
{
|
|
Delegates.glVariantuivEXT((UInt32)id, (UInt32*)addr_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Variant(UInt32 id, ref UInt32 addr)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* addr_ptr = &addr)
|
|
{
|
|
Delegates.glVariantuivEXT((UInt32)id, (UInt32*)addr_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Variant(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 Variant(UInt32 id, UInt32* addr)
|
|
{
|
|
Delegates.glVariantuivEXT((UInt32)id, (UInt32*)addr);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Variant(Int32 id, Int32* addr)
|
|
{
|
|
Delegates.glVariantuivEXT((UInt32)id, (UInt32*)addr);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VariantPointer(UInt32 id, OpenTK.Graphics.All type, UInt32 stride, IntPtr addr)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.All)type, (UInt32)stride, (IntPtr)addr);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VariantPointer(Int32 id, OpenTK.Graphics.All type, Int32 stride, IntPtr addr)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.All)type, (UInt32)stride, (IntPtr)addr);
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VariantPointer(UInt32 id, OpenTK.Graphics.All type, UInt32 stride, [In, Out] object addr)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle addr_ptr = System.Runtime.InteropServices.GCHandle.Alloc(addr, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.All)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
addr_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VariantPointer(Int32 id, OpenTK.Graphics.All type, Int32 stride, [In, Out] object addr)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle addr_ptr = System.Runtime.InteropServices.GCHandle.Alloc(addr, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.All)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
addr_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void EnableVariantClientState(UInt32 id)
|
|
{
|
|
Delegates.glEnableVariantClientStateEXT((UInt32)id);
|
|
}
|
|
|
|
public static
|
|
void EnableVariantClientState(Int32 id)
|
|
{
|
|
Delegates.glEnableVariantClientStateEXT((UInt32)id);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DisableVariantClientState(UInt32 id)
|
|
{
|
|
Delegates.glDisableVariantClientStateEXT((UInt32)id);
|
|
}
|
|
|
|
public static
|
|
void DisableVariantClientState(Int32 id)
|
|
{
|
|
Delegates.glDisableVariantClientStateEXT((UInt32)id);
|
|
}
|
|
|
|
public static
|
|
Int32 BindLightParameter(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter value)
|
|
{
|
|
return Delegates.glBindLightParameterEXT((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)value);
|
|
}
|
|
|
|
public static
|
|
Int32 BindMaterialParameter(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter value)
|
|
{
|
|
return Delegates.glBindMaterialParameterEXT((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)value);
|
|
}
|
|
|
|
public static
|
|
Int32 BindTexGenParameter(OpenTK.Graphics.TextureUnit unit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter value)
|
|
{
|
|
return Delegates.glBindTexGenParameterEXT((OpenTK.Graphics.TextureUnit)unit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)value);
|
|
}
|
|
|
|
public static
|
|
Int32 BindTextureUnitParameter(OpenTK.Graphics.TextureUnit unit, OpenTK.Graphics.All value)
|
|
{
|
|
return Delegates.glBindTextureUnitParameterEXT((OpenTK.Graphics.TextureUnit)unit, (OpenTK.Graphics.All)value);
|
|
}
|
|
|
|
public static
|
|
Int32 BindParameter(OpenTK.Graphics.All value)
|
|
{
|
|
return Delegates.glBindParameterEXT((OpenTK.Graphics.All)value);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
bool IsVariantEnabled(UInt32 id, OpenTK.Graphics.All cap)
|
|
{
|
|
return Delegates.glIsVariantEnabledEXT((UInt32)id, (OpenTK.Graphics.All)cap);
|
|
}
|
|
|
|
public static
|
|
bool IsVariantEnabled(Int32 id, OpenTK.Graphics.All cap)
|
|
{
|
|
return Delegates.glIsVariantEnabledEXT((UInt32)id, (OpenTK.Graphics.All)cap);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVariantBoolean(UInt32 id, OpenTK.Graphics.All value, [Out] bool[] data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (bool* data_ptr = data)
|
|
{
|
|
Delegates.glGetVariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.All)value, (bool*)data_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVariantBoolean(Int32 id, OpenTK.Graphics.All value, [Out] bool[] data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (bool* data_ptr = data)
|
|
{
|
|
Delegates.glGetVariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.All)value, (bool*)data_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVariantBoolean(UInt32 id, OpenTK.Graphics.All value, [Out] out bool data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (bool* data_ptr = &data)
|
|
{
|
|
Delegates.glGetVariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.All)value, (bool*)data_ptr);
|
|
data = *data_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVariantBoolean(Int32 id, OpenTK.Graphics.All value, [Out] out bool data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (bool* data_ptr = &data)
|
|
{
|
|
Delegates.glGetVariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.All)value, (bool*)data_ptr);
|
|
data = *data_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVariantBoolean(UInt32 id, OpenTK.Graphics.All value, [Out] bool* data)
|
|
{
|
|
Delegates.glGetVariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.All)value, (bool*)data);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVariantBoolean(Int32 id, OpenTK.Graphics.All value, [Out] bool* data)
|
|
{
|
|
Delegates.glGetVariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.All)value, (bool*)data);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVariantInteger(UInt32 id, OpenTK.Graphics.All value, [Out] Int32[] data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* data_ptr = data)
|
|
{
|
|
Delegates.glGetVariantIntegervEXT((UInt32)id, (OpenTK.Graphics.All)value, (Int32*)data_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVariantInteger(Int32 id, OpenTK.Graphics.All value, [Out] Int32[] data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* data_ptr = data)
|
|
{
|
|
Delegates.glGetVariantIntegervEXT((UInt32)id, (OpenTK.Graphics.All)value, (Int32*)data_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVariantInteger(UInt32 id, OpenTK.Graphics.All value, [Out] out Int32 data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* data_ptr = &data)
|
|
{
|
|
Delegates.glGetVariantIntegervEXT((UInt32)id, (OpenTK.Graphics.All)value, (Int32*)data_ptr);
|
|
data = *data_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVariantInteger(Int32 id, OpenTK.Graphics.All value, [Out] out Int32 data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* data_ptr = &data)
|
|
{
|
|
Delegates.glGetVariantIntegervEXT((UInt32)id, (OpenTK.Graphics.All)value, (Int32*)data_ptr);
|
|
data = *data_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVariantInteger(UInt32 id, OpenTK.Graphics.All value, [Out] Int32* data)
|
|
{
|
|
Delegates.glGetVariantIntegervEXT((UInt32)id, (OpenTK.Graphics.All)value, (Int32*)data);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVariantInteger(Int32 id, OpenTK.Graphics.All value, [Out] Int32* data)
|
|
{
|
|
Delegates.glGetVariantIntegervEXT((UInt32)id, (OpenTK.Graphics.All)value, (Int32*)data);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVariantFloat(UInt32 id, OpenTK.Graphics.All value, [Out] Single[] data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* data_ptr = data)
|
|
{
|
|
Delegates.glGetVariantFloatvEXT((UInt32)id, (OpenTK.Graphics.All)value, (Single*)data_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVariantFloat(Int32 id, OpenTK.Graphics.All value, [Out] Single[] data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* data_ptr = data)
|
|
{
|
|
Delegates.glGetVariantFloatvEXT((UInt32)id, (OpenTK.Graphics.All)value, (Single*)data_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVariantFloat(UInt32 id, OpenTK.Graphics.All value, [Out] out Single data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* data_ptr = &data)
|
|
{
|
|
Delegates.glGetVariantFloatvEXT((UInt32)id, (OpenTK.Graphics.All)value, (Single*)data_ptr);
|
|
data = *data_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVariantFloat(Int32 id, OpenTK.Graphics.All value, [Out] out Single data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* data_ptr = &data)
|
|
{
|
|
Delegates.glGetVariantFloatvEXT((UInt32)id, (OpenTK.Graphics.All)value, (Single*)data_ptr);
|
|
data = *data_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVariantFloat(UInt32 id, OpenTK.Graphics.All value, [Out] Single* data)
|
|
{
|
|
Delegates.glGetVariantFloatvEXT((UInt32)id, (OpenTK.Graphics.All)value, (Single*)data);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVariantFloat(Int32 id, OpenTK.Graphics.All value, [Out] Single* data)
|
|
{
|
|
Delegates.glGetVariantFloatvEXT((UInt32)id, (OpenTK.Graphics.All)value, (Single*)data);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVariantPointer(UInt32 id, OpenTK.Graphics.All value, [Out] IntPtr data)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.All)value, (IntPtr)data);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVariantPointer(Int32 id, OpenTK.Graphics.All value, [Out] IntPtr data)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.All)value, (IntPtr)data);
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVariantPointer(UInt32 id, OpenTK.Graphics.All value, [In, Out] object data)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.All)value, (IntPtr)data_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
data_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVariantPointer(Int32 id, OpenTK.Graphics.All value, [In, Out] object data)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.All)value, (IntPtr)data_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
data_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetInvariantBoolean(UInt32 id, OpenTK.Graphics.All value, [Out] bool[] data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (bool* data_ptr = data)
|
|
{
|
|
Delegates.glGetInvariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.All)value, (bool*)data_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetInvariantBoolean(Int32 id, OpenTK.Graphics.All value, [Out] bool[] data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (bool* data_ptr = data)
|
|
{
|
|
Delegates.glGetInvariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.All)value, (bool*)data_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetInvariantBoolean(UInt32 id, OpenTK.Graphics.All value, [Out] out bool data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (bool* data_ptr = &data)
|
|
{
|
|
Delegates.glGetInvariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.All)value, (bool*)data_ptr);
|
|
data = *data_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetInvariantBoolean(Int32 id, OpenTK.Graphics.All value, [Out] out bool data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (bool* data_ptr = &data)
|
|
{
|
|
Delegates.glGetInvariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.All)value, (bool*)data_ptr);
|
|
data = *data_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetInvariantBoolean(UInt32 id, OpenTK.Graphics.All value, [Out] bool* data)
|
|
{
|
|
Delegates.glGetInvariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.All)value, (bool*)data);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetInvariantBoolean(Int32 id, OpenTK.Graphics.All value, [Out] bool* data)
|
|
{
|
|
Delegates.glGetInvariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.All)value, (bool*)data);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetInvariantInteger(UInt32 id, OpenTK.Graphics.All value, [Out] Int32[] data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* data_ptr = data)
|
|
{
|
|
Delegates.glGetInvariantIntegervEXT((UInt32)id, (OpenTK.Graphics.All)value, (Int32*)data_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetInvariantInteger(Int32 id, OpenTK.Graphics.All value, [Out] Int32[] data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* data_ptr = data)
|
|
{
|
|
Delegates.glGetInvariantIntegervEXT((UInt32)id, (OpenTK.Graphics.All)value, (Int32*)data_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetInvariantInteger(UInt32 id, OpenTK.Graphics.All value, [Out] out Int32 data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* data_ptr = &data)
|
|
{
|
|
Delegates.glGetInvariantIntegervEXT((UInt32)id, (OpenTK.Graphics.All)value, (Int32*)data_ptr);
|
|
data = *data_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetInvariantInteger(Int32 id, OpenTK.Graphics.All value, [Out] out Int32 data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* data_ptr = &data)
|
|
{
|
|
Delegates.glGetInvariantIntegervEXT((UInt32)id, (OpenTK.Graphics.All)value, (Int32*)data_ptr);
|
|
data = *data_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetInvariantInteger(UInt32 id, OpenTK.Graphics.All value, [Out] Int32* data)
|
|
{
|
|
Delegates.glGetInvariantIntegervEXT((UInt32)id, (OpenTK.Graphics.All)value, (Int32*)data);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetInvariantInteger(Int32 id, OpenTK.Graphics.All value, [Out] Int32* data)
|
|
{
|
|
Delegates.glGetInvariantIntegervEXT((UInt32)id, (OpenTK.Graphics.All)value, (Int32*)data);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetInvariantFloat(UInt32 id, OpenTK.Graphics.All value, [Out] Single[] data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* data_ptr = data)
|
|
{
|
|
Delegates.glGetInvariantFloatvEXT((UInt32)id, (OpenTK.Graphics.All)value, (Single*)data_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetInvariantFloat(Int32 id, OpenTK.Graphics.All value, [Out] Single[] data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* data_ptr = data)
|
|
{
|
|
Delegates.glGetInvariantFloatvEXT((UInt32)id, (OpenTK.Graphics.All)value, (Single*)data_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetInvariantFloat(UInt32 id, OpenTK.Graphics.All value, [Out] out Single data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* data_ptr = &data)
|
|
{
|
|
Delegates.glGetInvariantFloatvEXT((UInt32)id, (OpenTK.Graphics.All)value, (Single*)data_ptr);
|
|
data = *data_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetInvariantFloat(Int32 id, OpenTK.Graphics.All value, [Out] out Single data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* data_ptr = &data)
|
|
{
|
|
Delegates.glGetInvariantFloatvEXT((UInt32)id, (OpenTK.Graphics.All)value, (Single*)data_ptr);
|
|
data = *data_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetInvariantFloat(UInt32 id, OpenTK.Graphics.All value, [Out] Single* data)
|
|
{
|
|
Delegates.glGetInvariantFloatvEXT((UInt32)id, (OpenTK.Graphics.All)value, (Single*)data);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetInvariantFloat(Int32 id, OpenTK.Graphics.All value, [Out] Single* data)
|
|
{
|
|
Delegates.glGetInvariantFloatvEXT((UInt32)id, (OpenTK.Graphics.All)value, (Single*)data);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetLocalConstantBoolean(UInt32 id, OpenTK.Graphics.All value, [Out] bool[] data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (bool* data_ptr = data)
|
|
{
|
|
Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (OpenTK.Graphics.All)value, (bool*)data_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetLocalConstantBoolean(Int32 id, OpenTK.Graphics.All value, [Out] bool[] data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (bool* data_ptr = data)
|
|
{
|
|
Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (OpenTK.Graphics.All)value, (bool*)data_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetLocalConstantBoolean(UInt32 id, OpenTK.Graphics.All value, [Out] out bool data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (bool* data_ptr = &data)
|
|
{
|
|
Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (OpenTK.Graphics.All)value, (bool*)data_ptr);
|
|
data = *data_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetLocalConstantBoolean(Int32 id, OpenTK.Graphics.All value, [Out] out bool data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (bool* data_ptr = &data)
|
|
{
|
|
Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (OpenTK.Graphics.All)value, (bool*)data_ptr);
|
|
data = *data_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetLocalConstantBoolean(UInt32 id, OpenTK.Graphics.All value, [Out] bool* data)
|
|
{
|
|
Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (OpenTK.Graphics.All)value, (bool*)data);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetLocalConstantBoolean(Int32 id, OpenTK.Graphics.All value, [Out] bool* data)
|
|
{
|
|
Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (OpenTK.Graphics.All)value, (bool*)data);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetLocalConstantInteger(UInt32 id, OpenTK.Graphics.All value, [Out] Int32[] data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* data_ptr = data)
|
|
{
|
|
Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (OpenTK.Graphics.All)value, (Int32*)data_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetLocalConstantInteger(Int32 id, OpenTK.Graphics.All value, [Out] Int32[] data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* data_ptr = data)
|
|
{
|
|
Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (OpenTK.Graphics.All)value, (Int32*)data_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetLocalConstantInteger(UInt32 id, OpenTK.Graphics.All value, [Out] out Int32 data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* data_ptr = &data)
|
|
{
|
|
Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (OpenTK.Graphics.All)value, (Int32*)data_ptr);
|
|
data = *data_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetLocalConstantInteger(Int32 id, OpenTK.Graphics.All value, [Out] out Int32 data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* data_ptr = &data)
|
|
{
|
|
Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (OpenTK.Graphics.All)value, (Int32*)data_ptr);
|
|
data = *data_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetLocalConstantInteger(UInt32 id, OpenTK.Graphics.All value, [Out] Int32* data)
|
|
{
|
|
Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (OpenTK.Graphics.All)value, (Int32*)data);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetLocalConstantInteger(Int32 id, OpenTK.Graphics.All value, [Out] Int32* data)
|
|
{
|
|
Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (OpenTK.Graphics.All)value, (Int32*)data);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetLocalConstantFloat(UInt32 id, OpenTK.Graphics.All value, [Out] Single[] data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* data_ptr = data)
|
|
{
|
|
Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (OpenTK.Graphics.All)value, (Single*)data_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetLocalConstantFloat(Int32 id, OpenTK.Graphics.All value, [Out] Single[] data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* data_ptr = data)
|
|
{
|
|
Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (OpenTK.Graphics.All)value, (Single*)data_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetLocalConstantFloat(UInt32 id, OpenTK.Graphics.All value, [Out] out Single data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* data_ptr = &data)
|
|
{
|
|
Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (OpenTK.Graphics.All)value, (Single*)data_ptr);
|
|
data = *data_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetLocalConstantFloat(Int32 id, OpenTK.Graphics.All value, [Out] out Single data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* data_ptr = &data)
|
|
{
|
|
Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (OpenTK.Graphics.All)value, (Single*)data_ptr);
|
|
data = *data_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetLocalConstantFloat(UInt32 id, OpenTK.Graphics.All value, [Out] Single* data)
|
|
{
|
|
Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (OpenTK.Graphics.All)value, (Single*)data);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetLocalConstantFloat(Int32 id, OpenTK.Graphics.All value, [Out] Single* data)
|
|
{
|
|
Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (OpenTK.Graphics.All)value, (Single*)data);
|
|
}
|
|
|
|
public static
|
|
void ActiveStencilFace(OpenTK.Graphics.All face)
|
|
{
|
|
Delegates.glActiveStencilFaceEXT((OpenTK.Graphics.All)face);
|
|
}
|
|
|
|
public static
|
|
void DepthBounds(Double zmin, Double zmax)
|
|
{
|
|
Delegates.glDepthBoundsEXT((Double)zmin, (Double)zmax);
|
|
}
|
|
|
|
public static
|
|
void BlendEquationSeparate(OpenTK.Graphics.All modeRGB, OpenTK.Graphics.All modeAlpha)
|
|
{
|
|
Delegates.glBlendEquationSeparateEXT((OpenTK.Graphics.All)modeRGB, (OpenTK.Graphics.All)modeAlpha);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
bool IsRenderbuffer(UInt32 renderbuffer)
|
|
{
|
|
return Delegates.glIsRenderbufferEXT((UInt32)renderbuffer);
|
|
}
|
|
|
|
public static
|
|
bool IsRenderbuffer(Int32 renderbuffer)
|
|
{
|
|
return Delegates.glIsRenderbufferEXT((UInt32)renderbuffer);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void BindRenderbuffer(OpenTK.Graphics.RenderbufferTarget target, UInt32 renderbuffer)
|
|
{
|
|
Delegates.glBindRenderbufferEXT((OpenTK.Graphics.RenderbufferTarget)target, (UInt32)renderbuffer);
|
|
}
|
|
|
|
public static
|
|
void BindRenderbuffer(OpenTK.Graphics.RenderbufferTarget target, Int32 renderbuffer)
|
|
{
|
|
Delegates.glBindRenderbufferEXT((OpenTK.Graphics.RenderbufferTarget)target, (UInt32)renderbuffer);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DeleteRenderbuffers(Int32 n, UInt32[] renderbuffers)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* renderbuffers_ptr = renderbuffers)
|
|
{
|
|
Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DeleteRenderbuffers(Int32 n, Int32[] renderbuffers)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* renderbuffers_ptr = renderbuffers)
|
|
{
|
|
Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DeleteRenderbuffers(Int32 n, ref UInt32 renderbuffers)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* renderbuffers_ptr = &renderbuffers)
|
|
{
|
|
Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DeleteRenderbuffers(Int32 n, ref Int32 renderbuffers)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* renderbuffers_ptr = &renderbuffers)
|
|
{
|
|
Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers)
|
|
{
|
|
Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void DeleteRenderbuffers(Int32 n, Int32* renderbuffers)
|
|
{
|
|
Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GenRenderbuffers(Int32 n, [Out] UInt32[] renderbuffers)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* renderbuffers_ptr = renderbuffers)
|
|
{
|
|
Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GenRenderbuffers(Int32 n, [Out] Int32[] renderbuffers)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* renderbuffers_ptr = renderbuffers)
|
|
{
|
|
Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GenRenderbuffers(Int32 n, [Out] out UInt32 renderbuffers)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* renderbuffers_ptr = &renderbuffers)
|
|
{
|
|
Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr);
|
|
renderbuffers = *renderbuffers_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GenRenderbuffers(Int32 n, [Out] out Int32 renderbuffers)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* renderbuffers_ptr = &renderbuffers)
|
|
{
|
|
Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr);
|
|
renderbuffers = *renderbuffers_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GenRenderbuffers(Int32 n, [Out] UInt32* renderbuffers)
|
|
{
|
|
Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GenRenderbuffers(Int32 n, [Out] Int32* renderbuffers)
|
|
{
|
|
Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers);
|
|
}
|
|
|
|
public static
|
|
void RenderbufferStorage(OpenTK.Graphics.RenderbufferTarget target, OpenTK.Graphics.RenderbufferStorage internalformat, Int32 width, Int32 height)
|
|
{
|
|
Delegates.glRenderbufferStorageEXT((OpenTK.Graphics.RenderbufferTarget)target, (OpenTK.Graphics.RenderbufferStorage)internalformat, (Int32)width, (Int32)height);
|
|
}
|
|
|
|
public static
|
|
void GetRenderbufferParameter(OpenTK.Graphics.RenderbufferTarget target, OpenTK.Graphics.RenderbufferParameterName pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetRenderbufferParameterivEXT((OpenTK.Graphics.RenderbufferTarget)target, (OpenTK.Graphics.RenderbufferParameterName)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetRenderbufferParameter(OpenTK.Graphics.RenderbufferTarget target, OpenTK.Graphics.RenderbufferParameterName pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetRenderbufferParameterivEXT((OpenTK.Graphics.RenderbufferTarget)target, (OpenTK.Graphics.RenderbufferParameterName)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetRenderbufferParameter(OpenTK.Graphics.RenderbufferTarget target, OpenTK.Graphics.RenderbufferParameterName pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetRenderbufferParameterivEXT((OpenTK.Graphics.RenderbufferTarget)target, (OpenTK.Graphics.RenderbufferParameterName)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
bool IsFramebuffer(UInt32 framebuffer)
|
|
{
|
|
return Delegates.glIsFramebufferEXT((UInt32)framebuffer);
|
|
}
|
|
|
|
public static
|
|
bool IsFramebuffer(Int32 framebuffer)
|
|
{
|
|
return Delegates.glIsFramebufferEXT((UInt32)framebuffer);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void BindFramebuffer(OpenTK.Graphics.FramebufferTarget target, UInt32 framebuffer)
|
|
{
|
|
Delegates.glBindFramebufferEXT((OpenTK.Graphics.FramebufferTarget)target, (UInt32)framebuffer);
|
|
}
|
|
|
|
public static
|
|
void BindFramebuffer(OpenTK.Graphics.FramebufferTarget target, Int32 framebuffer)
|
|
{
|
|
Delegates.glBindFramebufferEXT((OpenTK.Graphics.FramebufferTarget)target, (UInt32)framebuffer);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DeleteFramebuffers(Int32 n, UInt32[] framebuffers)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* framebuffers_ptr = framebuffers)
|
|
{
|
|
Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DeleteFramebuffers(Int32 n, Int32[] framebuffers)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* framebuffers_ptr = framebuffers)
|
|
{
|
|
Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DeleteFramebuffers(Int32 n, ref UInt32 framebuffers)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* framebuffers_ptr = &framebuffers)
|
|
{
|
|
Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DeleteFramebuffers(Int32 n, ref Int32 framebuffers)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* framebuffers_ptr = &framebuffers)
|
|
{
|
|
Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void DeleteFramebuffers(Int32 n, UInt32* framebuffers)
|
|
{
|
|
Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void DeleteFramebuffers(Int32 n, Int32* framebuffers)
|
|
{
|
|
Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GenFramebuffers(Int32 n, [Out] UInt32[] framebuffers)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* framebuffers_ptr = framebuffers)
|
|
{
|
|
Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GenFramebuffers(Int32 n, [Out] Int32[] framebuffers)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* framebuffers_ptr = framebuffers)
|
|
{
|
|
Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GenFramebuffers(Int32 n, [Out] out UInt32 framebuffers)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* framebuffers_ptr = &framebuffers)
|
|
{
|
|
Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr);
|
|
framebuffers = *framebuffers_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GenFramebuffers(Int32 n, [Out] out Int32 framebuffers)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* framebuffers_ptr = &framebuffers)
|
|
{
|
|
Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr);
|
|
framebuffers = *framebuffers_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GenFramebuffers(Int32 n, [Out] UInt32* framebuffers)
|
|
{
|
|
Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GenFramebuffers(Int32 n, [Out] Int32* framebuffers)
|
|
{
|
|
Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers);
|
|
}
|
|
|
|
public static
|
|
OpenTK.Graphics.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.FramebufferTarget target)
|
|
{
|
|
return Delegates.glCheckFramebufferStatusEXT((OpenTK.Graphics.FramebufferTarget)target);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void FramebufferTexture1D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level)
|
|
{
|
|
Delegates.glFramebufferTexture1DEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level);
|
|
}
|
|
|
|
public static
|
|
void FramebufferTexture1D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, Int32 texture, Int32 level)
|
|
{
|
|
Delegates.glFramebufferTexture1DEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void FramebufferTexture2D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level)
|
|
{
|
|
Delegates.glFramebufferTexture2DEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level);
|
|
}
|
|
|
|
public static
|
|
void FramebufferTexture2D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, Int32 texture, Int32 level)
|
|
{
|
|
Delegates.glFramebufferTexture2DEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void FramebufferTexture3D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset)
|
|
{
|
|
Delegates.glFramebufferTexture3DEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset);
|
|
}
|
|
|
|
public static
|
|
void FramebufferTexture3D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, Int32 texture, Int32 level, Int32 zoffset)
|
|
{
|
|
Delegates.glFramebufferTexture3DEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void FramebufferRenderbuffer(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer)
|
|
{
|
|
Delegates.glFramebufferRenderbufferEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer);
|
|
}
|
|
|
|
public static
|
|
void FramebufferRenderbuffer(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.RenderbufferTarget renderbuffertarget, Int32 renderbuffer)
|
|
{
|
|
Delegates.glFramebufferRenderbufferEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer);
|
|
}
|
|
|
|
public static
|
|
void GetFramebufferAttachmentParameter(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.FramebufferParameterName pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetFramebufferAttachmentParameterivEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.FramebufferParameterName)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetFramebufferAttachmentParameter(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.FramebufferParameterName pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetFramebufferAttachmentParameterivEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.FramebufferParameterName)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetFramebufferAttachmentParameter(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.FramebufferParameterName pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetFramebufferAttachmentParameterivEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.FramebufferParameterName)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void GenerateMipmap(OpenTK.Graphics.GenerateMipmapTarget target)
|
|
{
|
|
Delegates.glGenerateMipmapEXT((OpenTK.Graphics.GenerateMipmapTarget)target);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void StencilClearTag(Int32 stencilTagBits, UInt32 stencilClearTag)
|
|
{
|
|
Delegates.glStencilClearTagEXT((Int32)stencilTagBits, (UInt32)stencilClearTag);
|
|
}
|
|
|
|
public static
|
|
void StencilClearTag(Int32 stencilTagBits, Int32 stencilClearTag)
|
|
{
|
|
Delegates.glStencilClearTagEXT((Int32)stencilTagBits, (UInt32)stencilClearTag);
|
|
}
|
|
|
|
public static
|
|
void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ClearBufferMask mask, OpenTK.Graphics.All filter)
|
|
{
|
|
Delegates.glBlitFramebufferEXT((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.ClearBufferMask)mask, (OpenTK.Graphics.All)filter);
|
|
}
|
|
|
|
public static
|
|
void RenderbufferStorageMultisample(OpenTK.Graphics.All target, Int32 samples, OpenTK.Graphics.All internalformat, Int32 width, Int32 height)
|
|
{
|
|
Delegates.glRenderbufferStorageMultisampleEXT((OpenTK.Graphics.All)target, (Int32)samples, (OpenTK.Graphics.All)internalformat, (Int32)width, (Int32)height);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetQueryObjecti64(UInt32 id, OpenTK.Graphics.All pname, [Out] Int64[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int64* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.All)pname, (Int64*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetQueryObjecti64(Int32 id, OpenTK.Graphics.All pname, [Out] Int64[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int64* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.All)pname, (Int64*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetQueryObjecti64(UInt32 id, OpenTK.Graphics.All pname, [Out] out Int64 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int64* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.All)pname, (Int64*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetQueryObjecti64(Int32 id, OpenTK.Graphics.All pname, [Out] out Int64 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int64* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.All)pname, (Int64*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetQueryObjecti64(UInt32 id, OpenTK.Graphics.All pname, [Out] Int64* @params)
|
|
{
|
|
Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.All)pname, (Int64*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetQueryObjecti64(Int32 id, OpenTK.Graphics.All pname, [Out] Int64* @params)
|
|
{
|
|
Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.All)pname, (Int64*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetQueryObjectui64(UInt32 id, OpenTK.Graphics.All pname, [Out] UInt64[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt64* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.All)pname, (UInt64*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetQueryObjectui64(Int32 id, OpenTK.Graphics.All pname, [Out] Int64[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int64* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.All)pname, (UInt64*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetQueryObjectui64(UInt32 id, OpenTK.Graphics.All pname, [Out] out UInt64 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt64* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.All)pname, (UInt64*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetQueryObjectui64(Int32 id, OpenTK.Graphics.All pname, [Out] out Int64 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int64* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.All)pname, (UInt64*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetQueryObjectui64(UInt32 id, OpenTK.Graphics.All pname, [Out] UInt64* @params)
|
|
{
|
|
Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.All)pname, (UInt64*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetQueryObjectui64(Int32 id, OpenTK.Graphics.All pname, [Out] Int64* @params)
|
|
{
|
|
Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.All)pname, (UInt64*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramEnvParameters4(OpenTK.Graphics.All target, UInt32 index, Int32 count, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramEnvParameters4fvEXT((OpenTK.Graphics.All)target, (UInt32)index, (Int32)count, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramEnvParameters4(OpenTK.Graphics.All target, Int32 index, Int32 count, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramEnvParameters4fvEXT((OpenTK.Graphics.All)target, (UInt32)index, (Int32)count, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramEnvParameters4(OpenTK.Graphics.All target, UInt32 index, Int32 count, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramEnvParameters4fvEXT((OpenTK.Graphics.All)target, (UInt32)index, (Int32)count, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramEnvParameters4(OpenTK.Graphics.All target, Int32 index, Int32 count, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramEnvParameters4fvEXT((OpenTK.Graphics.All)target, (UInt32)index, (Int32)count, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramEnvParameters4(OpenTK.Graphics.All target, UInt32 index, Int32 count, Single* @params)
|
|
{
|
|
Delegates.glProgramEnvParameters4fvEXT((OpenTK.Graphics.All)target, (UInt32)index, (Int32)count, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramEnvParameters4(OpenTK.Graphics.All target, Int32 index, Int32 count, Single* @params)
|
|
{
|
|
Delegates.glProgramEnvParameters4fvEXT((OpenTK.Graphics.All)target, (UInt32)index, (Int32)count, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramLocalParameters4(OpenTK.Graphics.All target, UInt32 index, Int32 count, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramLocalParameters4fvEXT((OpenTK.Graphics.All)target, (UInt32)index, (Int32)count, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramLocalParameters4(OpenTK.Graphics.All target, Int32 index, Int32 count, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramLocalParameters4fvEXT((OpenTK.Graphics.All)target, (UInt32)index, (Int32)count, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramLocalParameters4(OpenTK.Graphics.All target, UInt32 index, Int32 count, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramLocalParameters4fvEXT((OpenTK.Graphics.All)target, (UInt32)index, (Int32)count, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramLocalParameters4(OpenTK.Graphics.All target, Int32 index, Int32 count, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramLocalParameters4fvEXT((OpenTK.Graphics.All)target, (UInt32)index, (Int32)count, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramLocalParameters4(OpenTK.Graphics.All target, UInt32 index, Int32 count, Single* @params)
|
|
{
|
|
Delegates.glProgramLocalParameters4fvEXT((OpenTK.Graphics.All)target, (UInt32)index, (Int32)count, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramLocalParameters4(OpenTK.Graphics.All target, Int32 index, Int32 count, Single* @params)
|
|
{
|
|
Delegates.glProgramLocalParameters4fvEXT((OpenTK.Graphics.All)target, (UInt32)index, (Int32)count, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void FramebufferTexture(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level)
|
|
{
|
|
Delegates.glFramebufferTextureEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level);
|
|
}
|
|
|
|
public static
|
|
void FramebufferTexture(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, Int32 texture, Int32 level)
|
|
{
|
|
Delegates.glFramebufferTextureEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void FramebufferTextureLayer(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer)
|
|
{
|
|
Delegates.glFramebufferTextureLayerEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer);
|
|
}
|
|
|
|
public static
|
|
void FramebufferTextureLayer(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, Int32 texture, Int32 level, Int32 layer)
|
|
{
|
|
Delegates.glFramebufferTextureLayerEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void FramebufferTextureFace(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.TextureTarget face)
|
|
{
|
|
Delegates.glFramebufferTextureFaceEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (OpenTK.Graphics.TextureTarget)face);
|
|
}
|
|
|
|
public static
|
|
void FramebufferTextureFace(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, Int32 texture, Int32 level, OpenTK.Graphics.TextureTarget face)
|
|
{
|
|
Delegates.glFramebufferTextureFaceEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (OpenTK.Graphics.TextureTarget)face);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramParameter(UInt32 program, OpenTK.Graphics.All pname, Int32 value)
|
|
{
|
|
Delegates.glProgramParameteriEXT((UInt32)program, (OpenTK.Graphics.All)pname, (Int32)value);
|
|
}
|
|
|
|
public static
|
|
void ProgramParameter(Int32 program, OpenTK.Graphics.All pname, Int32 value)
|
|
{
|
|
Delegates.glProgramParameteriEXT((UInt32)program, (OpenTK.Graphics.All)pname, (Int32)value);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribI1(UInt32 index, Int32 x)
|
|
{
|
|
Delegates.glVertexAttribI1iEXT((UInt32)index, (Int32)x);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribI2(UInt32 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)
|
|
{
|
|
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)
|
|
{
|
|
Delegates.glVertexAttribI4iEXT((UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribI1(UInt32 index, UInt32 x)
|
|
{
|
|
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)
|
|
{
|
|
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)
|
|
{
|
|
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)
|
|
{
|
|
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
|
|
void VertexAttribI1v(UInt32 index, Int32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttribI1ivEXT((UInt32)index, (Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribI1v(UInt32 index, ref Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttribI1ivEXT((UInt32)index, (Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttribI1v(UInt32 index, Int32* v)
|
|
{
|
|
Delegates.glVertexAttribI1ivEXT((UInt32)index, (Int32*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribI2(UInt32 index, Int32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttribI2ivEXT((UInt32)index, (Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribI2(UInt32 index, ref Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttribI2ivEXT((UInt32)index, (Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttribI2(UInt32 index, Int32* v)
|
|
{
|
|
Delegates.glVertexAttribI2ivEXT((UInt32)index, (Int32*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribI3(UInt32 index, Int32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttribI3ivEXT((UInt32)index, (Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribI3(UInt32 index, ref Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttribI3ivEXT((UInt32)index, (Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttribI3(UInt32 index, Int32* v)
|
|
{
|
|
Delegates.glVertexAttribI3ivEXT((UInt32)index, (Int32*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribI4(UInt32 index, Int32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribI4(UInt32 index, ref Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttribI4(UInt32 index, Int32* v)
|
|
{
|
|
Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribI1v(UInt32 index, UInt32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttribI1uivEXT((UInt32)index, (UInt32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttribI1v(Int32 index, Int32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttribI1uivEXT((UInt32)index, (UInt32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribI1v(UInt32 index, ref UInt32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttribI1uivEXT((UInt32)index, (UInt32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttribI1v(Int32 index, ref Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttribI1uivEXT((UInt32)index, (UInt32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttribI1v(UInt32 index, UInt32* v)
|
|
{
|
|
Delegates.glVertexAttribI1uivEXT((UInt32)index, (UInt32*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttribI1v(Int32 index, Int32* v)
|
|
{
|
|
Delegates.glVertexAttribI1uivEXT((UInt32)index, (UInt32*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribI2(UInt32 index, UInt32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttribI2uivEXT((UInt32)index, (UInt32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
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)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttribI2uivEXT((UInt32)index, (UInt32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
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 VertexAttribI2(UInt32 index, UInt32* v)
|
|
{
|
|
Delegates.glVertexAttribI2uivEXT((UInt32)index, (UInt32*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttribI2(Int32 index, Int32* v)
|
|
{
|
|
Delegates.glVertexAttribI2uivEXT((UInt32)index, (UInt32*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribI3(UInt32 index, UInt32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttribI3uivEXT((UInt32)index, (UInt32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
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)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttribI3uivEXT((UInt32)index, (UInt32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
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 VertexAttribI3(UInt32 index, UInt32* v)
|
|
{
|
|
Delegates.glVertexAttribI3uivEXT((UInt32)index, (UInt32*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttribI3(Int32 index, Int32* v)
|
|
{
|
|
Delegates.glVertexAttribI3uivEXT((UInt32)index, (UInt32*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribI4(UInt32 index, UInt32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttribI4uivEXT((UInt32)index, (UInt32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
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)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttribI4uivEXT((UInt32)index, (UInt32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
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, UInt32* v)
|
|
{
|
|
Delegates.glVertexAttribI4uivEXT((UInt32)index, (UInt32*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttribI4(Int32 index, Int32* v)
|
|
{
|
|
Delegates.glVertexAttribI4uivEXT((UInt32)index, (UInt32*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribI4(UInt32 index, SByte[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (SByte* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttribI4bvEXT((UInt32)index, (SByte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribI4(UInt32 index, ref SByte v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (SByte* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttribI4bvEXT((UInt32)index, (SByte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttribI4(UInt32 index, SByte* v)
|
|
{
|
|
Delegates.glVertexAttribI4bvEXT((UInt32)index, (SByte*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribI4(UInt32 index, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribI4(UInt32 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, Int16* v)
|
|
{
|
|
Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)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
|
|
{
|
|
fixed (Byte* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribI4(UInt32 index, ref Byte v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
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, Byte* v)
|
|
{
|
|
Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttribI4(Int32 index, Byte* v)
|
|
{
|
|
Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribI4(UInt32 index, UInt16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = v)
|
|
{
|
|
Delegates.glVertexAttribI4usvEXT((UInt32)index, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
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)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = &v)
|
|
{
|
|
Delegates.glVertexAttribI4usvEXT((UInt32)index, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
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 VertexAttribI4(UInt32 index, UInt16* v)
|
|
{
|
|
Delegates.glVertexAttribI4usvEXT((UInt32)index, (UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexAttribI4(Int32 index, Int16* v)
|
|
{
|
|
Delegates.glVertexAttribI4usvEXT((UInt32)index, (UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.All type, Int32 stride, IntPtr pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.All)type, (Int32)stride, (IntPtr)pointer);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.All type, Int32 stride, IntPtr pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.All)type, (Int32)stride, (IntPtr)pointer);
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.All type, Int32 stride, [In, Out] object pointer)
|
|
{
|
|
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, (OpenTK.Graphics.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.All type, Int32 stride, [In, Out] object pointer)
|
|
{
|
|
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, (OpenTK.Graphics.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttribI(UInt32 index, OpenTK.Graphics.All pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVertexAttribIivEXT((UInt32)index, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttribI(UInt32 index, OpenTK.Graphics.All pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVertexAttribIivEXT((UInt32)index, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVertexAttribI(UInt32 index, OpenTK.Graphics.All pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetVertexAttribIivEXT((UInt32)index, (OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttribI(UInt32 index, OpenTK.Graphics.All pname, [Out] UInt32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVertexAttribIuivEXT((UInt32)index, (OpenTK.Graphics.All)pname, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttribI(Int32 index, OpenTK.Graphics.All pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVertexAttribIuivEXT((UInt32)index, (OpenTK.Graphics.All)pname, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttribI(UInt32 index, OpenTK.Graphics.All pname, [Out] out UInt32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVertexAttribIuivEXT((UInt32)index, (OpenTK.Graphics.All)pname, (UInt32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttribI(Int32 index, OpenTK.Graphics.All pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVertexAttribIuivEXT((UInt32)index, (OpenTK.Graphics.All)pname, (UInt32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVertexAttribI(UInt32 index, OpenTK.Graphics.All pname, [Out] UInt32* @params)
|
|
{
|
|
Delegates.glGetVertexAttribIuivEXT((UInt32)index, (OpenTK.Graphics.All)pname, (UInt32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVertexAttribI(Int32 index, OpenTK.Graphics.All pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetVertexAttribIuivEXT((UInt32)index, (OpenTK.Graphics.All)pname, (UInt32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetUniform(UInt32 program, Int32 location, [Out] UInt32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetUniform(Int32 program, Int32 location, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetUniform(UInt32 program, Int32 location, [Out] out UInt32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetUniform(Int32 program, Int32 location, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetUniform(UInt32 program, Int32 location, [Out] UInt32* @params)
|
|
{
|
|
Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetUniform(Int32 program, Int32 location, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void BindFragDataLocation(UInt32 program, UInt32 color, System.String name)
|
|
{
|
|
Delegates.glBindFragDataLocationEXT((UInt32)program, (UInt32)color, (System.String)name);
|
|
}
|
|
|
|
public static
|
|
void BindFragDataLocation(Int32 program, Int32 color, System.String name)
|
|
{
|
|
Delegates.glBindFragDataLocationEXT((UInt32)program, (UInt32)color, (System.String)name);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
Int32 GetFragDataLocation(UInt32 program, System.String name)
|
|
{
|
|
return Delegates.glGetFragDataLocationEXT((UInt32)program, (System.String)name);
|
|
}
|
|
|
|
public static
|
|
Int32 GetFragDataLocation(Int32 program, System.String name)
|
|
{
|
|
return Delegates.glGetFragDataLocationEXT((UInt32)program, (System.String)name);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Uniform1(Int32 location, UInt32 v0)
|
|
{
|
|
Delegates.glUniform1uiEXT((Int32)location, (UInt32)v0);
|
|
}
|
|
|
|
public static
|
|
void Uniform1(Int32 location, Int32 v0)
|
|
{
|
|
Delegates.glUniform1uiEXT((Int32)location, (UInt32)v0);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Uniform2(Int32 location, UInt32 v0, UInt32 v1)
|
|
{
|
|
Delegates.glUniform2uiEXT((Int32)location, (UInt32)v0, (UInt32)v1);
|
|
}
|
|
|
|
public static
|
|
void Uniform2(Int32 location, Int32 v0, Int32 v1)
|
|
{
|
|
Delegates.glUniform2uiEXT((Int32)location, (UInt32)v0, (UInt32)v1);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Uniform3(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2)
|
|
{
|
|
Delegates.glUniform3uiEXT((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2);
|
|
}
|
|
|
|
public static
|
|
void Uniform3(Int32 location, Int32 v0, Int32 v1, Int32 v2)
|
|
{
|
|
Delegates.glUniform3uiEXT((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Uniform4(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3)
|
|
{
|
|
Delegates.glUniform4uiEXT((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3);
|
|
}
|
|
|
|
public static
|
|
void Uniform4(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3)
|
|
{
|
|
Delegates.glUniform4uiEXT((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Uniform1(Int32 location, Int32 count, UInt32[] value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* value_ptr = value)
|
|
{
|
|
Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Uniform1(Int32 location, Int32 count, Int32[] value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* value_ptr = value)
|
|
{
|
|
Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Uniform1(Int32 location, Int32 count, ref UInt32 value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* value_ptr = &value)
|
|
{
|
|
Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Uniform1(Int32 location, Int32 count, ref Int32 value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* value_ptr = &value)
|
|
{
|
|
Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Uniform1(Int32 location, Int32 count, UInt32* value)
|
|
{
|
|
Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Uniform1(Int32 location, Int32 count, Int32* value)
|
|
{
|
|
Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Uniform2v(Int32 location, Int32 count, UInt32[] value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* value_ptr = value)
|
|
{
|
|
Delegates.glUniform2uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Uniform2v(Int32 location, Int32 count, Int32[] value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* value_ptr = value)
|
|
{
|
|
Delegates.glUniform2uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Uniform2v(Int32 location, Int32 count, ref UInt32 value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* value_ptr = &value)
|
|
{
|
|
Delegates.glUniform2uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Uniform2v(Int32 location, Int32 count, ref Int32 value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* value_ptr = &value)
|
|
{
|
|
Delegates.glUniform2uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Uniform2v(Int32 location, Int32 count, UInt32* value)
|
|
{
|
|
Delegates.glUniform2uivEXT((Int32)location, (Int32)count, (UInt32*)value);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Uniform2v(Int32 location, Int32 count, Int32* value)
|
|
{
|
|
Delegates.glUniform2uivEXT((Int32)location, (Int32)count, (UInt32*)value);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Uniform3(Int32 location, Int32 count, UInt32[] value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* value_ptr = value)
|
|
{
|
|
Delegates.glUniform3uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Uniform3(Int32 location, Int32 count, Int32[] value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* value_ptr = value)
|
|
{
|
|
Delegates.glUniform3uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Uniform3(Int32 location, Int32 count, ref UInt32 value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* value_ptr = &value)
|
|
{
|
|
Delegates.glUniform3uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Uniform3(Int32 location, Int32 count, ref Int32 value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* value_ptr = &value)
|
|
{
|
|
Delegates.glUniform3uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Uniform3(Int32 location, Int32 count, UInt32* value)
|
|
{
|
|
Delegates.glUniform3uivEXT((Int32)location, (Int32)count, (UInt32*)value);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Uniform3(Int32 location, Int32 count, Int32* value)
|
|
{
|
|
Delegates.glUniform3uivEXT((Int32)location, (Int32)count, (UInt32*)value);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Uniform4(Int32 location, Int32 count, UInt32[] value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* value_ptr = value)
|
|
{
|
|
Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Uniform4(Int32 location, Int32 count, Int32[] value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* value_ptr = value)
|
|
{
|
|
Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Uniform4(Int32 location, Int32 count, ref UInt32 value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* value_ptr = &value)
|
|
{
|
|
Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Uniform4(Int32 location, Int32 count, ref Int32 value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* value_ptr = &value)
|
|
{
|
|
Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Uniform4(Int32 location, Int32 count, UInt32* value)
|
|
{
|
|
Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Uniform4(Int32 location, Int32 count, Int32* value)
|
|
{
|
|
Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value);
|
|
}
|
|
|
|
public static
|
|
void DrawArraysInstance(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 count, Int32 primcount)
|
|
{
|
|
Delegates.glDrawArraysInstancedEXT((OpenTK.Graphics.BeginMode)mode, (Int32)start, (Int32)count, (Int32)primcount);
|
|
}
|
|
|
|
public static
|
|
void DrawElementsInstance(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DrawElementsInstance(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.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.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
|
|
}
|
|
finally
|
|
{
|
|
indices_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void TexBuffer(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.All internalformat, UInt32 buffer)
|
|
{
|
|
Delegates.glTexBufferEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.All)internalformat, (UInt32)buffer);
|
|
}
|
|
|
|
public static
|
|
void TexBuffer(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.All internalformat, Int32 buffer)
|
|
{
|
|
Delegates.glTexBufferEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.All)internalformat, (UInt32)buffer);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ColorMaskIndexe(UInt32 index, bool r, bool g, bool b, bool a)
|
|
{
|
|
Delegates.glColorMaskIndexedEXT((UInt32)index, (bool)r, (bool)g, (bool)b, (bool)a);
|
|
}
|
|
|
|
public static
|
|
void ColorMaskIndexe(Int32 index, bool r, bool g, bool b, bool a)
|
|
{
|
|
Delegates.glColorMaskIndexedEXT((UInt32)index, (bool)r, (bool)g, (bool)b, (bool)a);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetBooleanIndexed(OpenTK.Graphics.All target, UInt32 index, [Out] bool[] data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (bool* data_ptr = data)
|
|
{
|
|
Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.All)target, (UInt32)index, (bool*)data_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetBooleanIndexed(OpenTK.Graphics.All target, Int32 index, [Out] bool[] data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (bool* data_ptr = data)
|
|
{
|
|
Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.All)target, (UInt32)index, (bool*)data_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetBooleanIndexed(OpenTK.Graphics.All target, UInt32 index, [Out] out bool data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (bool* data_ptr = &data)
|
|
{
|
|
Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.All)target, (UInt32)index, (bool*)data_ptr);
|
|
data = *data_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetBooleanIndexed(OpenTK.Graphics.All target, Int32 index, [Out] out bool data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (bool* data_ptr = &data)
|
|
{
|
|
Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.All)target, (UInt32)index, (bool*)data_ptr);
|
|
data = *data_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetBooleanIndexed(OpenTK.Graphics.All target, UInt32 index, [Out] bool* data)
|
|
{
|
|
Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.All)target, (UInt32)index, (bool*)data);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetBooleanIndexed(OpenTK.Graphics.All target, Int32 index, [Out] bool* data)
|
|
{
|
|
Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.All)target, (UInt32)index, (bool*)data);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetIntegerIndexed(OpenTK.Graphics.All target, UInt32 index, [Out] Int32[] data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* data_ptr = data)
|
|
{
|
|
Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.All)target, (UInt32)index, (Int32*)data_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetIntegerIndexed(OpenTK.Graphics.All target, Int32 index, [Out] Int32[] data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* data_ptr = data)
|
|
{
|
|
Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.All)target, (UInt32)index, (Int32*)data_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetIntegerIndexed(OpenTK.Graphics.All target, UInt32 index, [Out] out Int32 data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* data_ptr = &data)
|
|
{
|
|
Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.All)target, (UInt32)index, (Int32*)data_ptr);
|
|
data = *data_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetIntegerIndexed(OpenTK.Graphics.All target, Int32 index, [Out] out Int32 data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* data_ptr = &data)
|
|
{
|
|
Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.All)target, (UInt32)index, (Int32*)data_ptr);
|
|
data = *data_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetIntegerIndexed(OpenTK.Graphics.All target, UInt32 index, [Out] Int32* data)
|
|
{
|
|
Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.All)target, (UInt32)index, (Int32*)data);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetIntegerIndexed(OpenTK.Graphics.All target, Int32 index, [Out] Int32* data)
|
|
{
|
|
Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.All)target, (UInt32)index, (Int32*)data);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void EnableIndexe(OpenTK.Graphics.All target, UInt32 index)
|
|
{
|
|
Delegates.glEnableIndexedEXT((OpenTK.Graphics.All)target, (UInt32)index);
|
|
}
|
|
|
|
public static
|
|
void EnableIndexe(OpenTK.Graphics.All target, Int32 index)
|
|
{
|
|
Delegates.glEnableIndexedEXT((OpenTK.Graphics.All)target, (UInt32)index);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DisableIndexe(OpenTK.Graphics.All target, UInt32 index)
|
|
{
|
|
Delegates.glDisableIndexedEXT((OpenTK.Graphics.All)target, (UInt32)index);
|
|
}
|
|
|
|
public static
|
|
void DisableIndexe(OpenTK.Graphics.All target, Int32 index)
|
|
{
|
|
Delegates.glDisableIndexedEXT((OpenTK.Graphics.All)target, (UInt32)index);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
bool IsEnabledIndexe(OpenTK.Graphics.All target, UInt32 index)
|
|
{
|
|
return Delegates.glIsEnabledIndexedEXT((OpenTK.Graphics.All)target, (UInt32)index);
|
|
}
|
|
|
|
public static
|
|
bool IsEnabledIndexe(OpenTK.Graphics.All target, Int32 index)
|
|
{
|
|
return Delegates.glIsEnabledIndexedEXT((OpenTK.Graphics.All)target, (UInt32)index);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void UniformBuffer(UInt32 program, Int32 location, UInt32 buffer)
|
|
{
|
|
Delegates.glUniformBufferEXT((UInt32)program, (Int32)location, (UInt32)buffer);
|
|
}
|
|
|
|
public static
|
|
void UniformBuffer(Int32 program, Int32 location, Int32 buffer)
|
|
{
|
|
Delegates.glUniformBufferEXT((UInt32)program, (Int32)location, (UInt32)buffer);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
Int32 GetUniformBufferSize(UInt32 program, Int32 location)
|
|
{
|
|
return Delegates.glGetUniformBufferSizeEXT((UInt32)program, (Int32)location);
|
|
}
|
|
|
|
public static
|
|
Int32 GetUniformBufferSize(Int32 program, Int32 location)
|
|
{
|
|
return Delegates.glGetUniformBufferSizeEXT((UInt32)program, (Int32)location);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void TexParameterIv(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, UInt32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = @params)
|
|
{
|
|
Delegates.glTexParameterIuivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexParameterIv(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glTexParameterIuivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void TexParameterIv(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, ref UInt32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glTexParameterIuivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexParameterIv(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glTexParameterIuivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexParameterIv(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, UInt32* @params)
|
|
{
|
|
Delegates.glTexParameterIuivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexParameterIv(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params)
|
|
{
|
|
Delegates.glTexParameterIuivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] UInt32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetTexParameterIuivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetTexParameterIuivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out UInt32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetTexParameterIuivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (UInt32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetTexParameterIuivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (UInt32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] UInt32* @params)
|
|
{
|
|
Delegates.glGetTexParameterIuivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (UInt32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetTexParameterIuivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (UInt32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ClearColorI(UInt32 red, UInt32 green, UInt32 blue, UInt32 alpha)
|
|
{
|
|
Delegates.glClearColorIuiEXT((UInt32)red, (UInt32)green, (UInt32)blue, (UInt32)alpha);
|
|
}
|
|
|
|
public static
|
|
void ClearColorI(Int32 red, Int32 green, Int32 blue, Int32 alpha)
|
|
{
|
|
Delegates.glClearColorIuiEXT((UInt32)red, (UInt32)green, (UInt32)blue, (UInt32)alpha);
|
|
}
|
|
|
|
}
|
|
|
|
public static partial class Sgis
|
|
{
|
|
public static
|
|
void GetTexFilterFunc(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.All filter, [Out] Single[] weights)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* weights_ptr = weights)
|
|
{
|
|
Delegates.glGetTexFilterFuncSGIS((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.All)filter, (Single*)weights_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetTexFilterFunc(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.All filter, [Out] out Single weights)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* weights_ptr = &weights)
|
|
{
|
|
Delegates.glGetTexFilterFuncSGIS((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.All)filter, (Single*)weights_ptr);
|
|
weights = *weights_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetTexFilterFunc(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.All filter, [Out] Single* weights)
|
|
{
|
|
Delegates.glGetTexFilterFuncSGIS((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.All)filter, (Single*)weights);
|
|
}
|
|
|
|
public static
|
|
void TexFilterFunc(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.All filter, Int32 n, Single[] weights)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* weights_ptr = weights)
|
|
{
|
|
Delegates.glTexFilterFuncSGIS((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.All)filter, (Int32)n, (Single*)weights_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexFilterFunc(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.All filter, Int32 n, ref Single weights)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* weights_ptr = &weights)
|
|
{
|
|
Delegates.glTexFilterFuncSGIS((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.All)filter, (Int32)n, (Single*)weights_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexFilterFunc(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.All filter, Int32 n, Single* weights)
|
|
{
|
|
Delegates.glTexFilterFuncSGIS((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.All)filter, (Int32)n, (Single*)weights);
|
|
}
|
|
|
|
public static
|
|
void PixelTexGenParameter(OpenTK.Graphics.All pname, Int32 param)
|
|
{
|
|
Delegates.glPixelTexGenParameteriSGIS((OpenTK.Graphics.All)pname, (Int32)param);
|
|
}
|
|
|
|
public static
|
|
void PixelTexGenParameterv(OpenTK.Graphics.All pname, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glPixelTexGenParameterivSGIS((OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void PixelTexGenParameterv(OpenTK.Graphics.All pname, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glPixelTexGenParameterivSGIS((OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void PixelTexGenParameterv(OpenTK.Graphics.All pname, Int32* @params)
|
|
{
|
|
Delegates.glPixelTexGenParameterivSGIS((OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void PixelTexGenParameter(OpenTK.Graphics.All pname, Single param)
|
|
{
|
|
Delegates.glPixelTexGenParameterfSGIS((OpenTK.Graphics.All)pname, (Single)param);
|
|
}
|
|
|
|
public static
|
|
void PixelTexGenParameterv(OpenTK.Graphics.All pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glPixelTexGenParameterfvSGIS((OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void PixelTexGenParameterv(OpenTK.Graphics.All pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glPixelTexGenParameterfvSGIS((OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void PixelTexGenParameterv(OpenTK.Graphics.All pname, Single* @params)
|
|
{
|
|
Delegates.glPixelTexGenParameterfvSGIS((OpenTK.Graphics.All)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetPixelTexGenParameter(OpenTK.Graphics.All pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetPixelTexGenParameterivSGIS((OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetPixelTexGenParameter(OpenTK.Graphics.All pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetPixelTexGenParameterivSGIS((OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetPixelTexGenParameter(OpenTK.Graphics.All pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetPixelTexGenParameterivSGIS((OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetPixelTexGenParameter(OpenTK.Graphics.All pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetPixelTexGenParameterfvSGIS((OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetPixelTexGenParameter(OpenTK.Graphics.All pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetPixelTexGenParameterfvSGIS((OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetPixelTexGenParameter(OpenTK.Graphics.All pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetPixelTexGenParameterfvSGIS((OpenTK.Graphics.All)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void TexImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glTexImage4DSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glTexImage4DSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pixels_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexSubImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glTexSubImage4DSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)woffset, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexSubImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glTexSubImage4DSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)woffset, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pixels_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DetailTexFunc(OpenTK.Graphics.TextureTarget target, Int32 n, Single[] points)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* points_ptr = points)
|
|
{
|
|
Delegates.glDetailTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)n, (Single*)points_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DetailTexFunc(OpenTK.Graphics.TextureTarget target, Int32 n, ref Single points)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* points_ptr = &points)
|
|
{
|
|
Delegates.glDetailTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)n, (Single*)points_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void DetailTexFunc(OpenTK.Graphics.TextureTarget target, Int32 n, Single* points)
|
|
{
|
|
Delegates.glDetailTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)n, (Single*)points);
|
|
}
|
|
|
|
public static
|
|
void GetDetailTexFunc(OpenTK.Graphics.TextureTarget target, [Out] Single[] points)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* points_ptr = points)
|
|
{
|
|
Delegates.glGetDetailTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Single*)points_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetDetailTexFunc(OpenTK.Graphics.TextureTarget target, [Out] out Single points)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* points_ptr = &points)
|
|
{
|
|
Delegates.glGetDetailTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Single*)points_ptr);
|
|
points = *points_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetDetailTexFunc(OpenTK.Graphics.TextureTarget target, [Out] Single* points)
|
|
{
|
|
Delegates.glGetDetailTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Single*)points);
|
|
}
|
|
|
|
public static
|
|
void SharpenTexFunc(OpenTK.Graphics.TextureTarget target, Int32 n, Single[] points)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* points_ptr = points)
|
|
{
|
|
Delegates.glSharpenTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)n, (Single*)points_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void SharpenTexFunc(OpenTK.Graphics.TextureTarget target, Int32 n, ref Single points)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* points_ptr = &points)
|
|
{
|
|
Delegates.glSharpenTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)n, (Single*)points_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void SharpenTexFunc(OpenTK.Graphics.TextureTarget target, Int32 n, Single* points)
|
|
{
|
|
Delegates.glSharpenTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)n, (Single*)points);
|
|
}
|
|
|
|
public static
|
|
void GetSharpenTexFunc(OpenTK.Graphics.TextureTarget target, [Out] Single[] points)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* points_ptr = points)
|
|
{
|
|
Delegates.glGetSharpenTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Single*)points_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetSharpenTexFunc(OpenTK.Graphics.TextureTarget target, [Out] out Single points)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* points_ptr = &points)
|
|
{
|
|
Delegates.glGetSharpenTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Single*)points_ptr);
|
|
points = *points_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetSharpenTexFunc(OpenTK.Graphics.TextureTarget target, [Out] Single* points)
|
|
{
|
|
Delegates.glGetSharpenTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Single*)points);
|
|
}
|
|
|
|
public static
|
|
void SampleMask(Single value, bool invert)
|
|
{
|
|
Delegates.glSampleMaskSGIS((Single)value, (bool)invert);
|
|
}
|
|
|
|
public static
|
|
void SamplePattern(OpenTK.Graphics.All pattern)
|
|
{
|
|
Delegates.glSamplePatternSGIS((OpenTK.Graphics.All)pattern);
|
|
}
|
|
|
|
public static
|
|
void PointParameter(OpenTK.Graphics.All pname, Single param)
|
|
{
|
|
Delegates.glPointParameterfSGIS((OpenTK.Graphics.All)pname, (Single)param);
|
|
}
|
|
|
|
public static
|
|
void PointParameterv(OpenTK.Graphics.All pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glPointParameterfvSGIS((OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void PointParameterv(OpenTK.Graphics.All pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glPointParameterfvSGIS((OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void PointParameterv(OpenTK.Graphics.All pname, Single* @params)
|
|
{
|
|
Delegates.glPointParameterfvSGIS((OpenTK.Graphics.All)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void FogFunc(Int32 n, Single[] points)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* points_ptr = points)
|
|
{
|
|
Delegates.glFogFuncSGIS((Int32)n, (Single*)points_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void FogFunc(Int32 n, ref Single points)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* points_ptr = &points)
|
|
{
|
|
Delegates.glFogFuncSGIS((Int32)n, (Single*)points_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void FogFunc(Int32 n, Single* points)
|
|
{
|
|
Delegates.glFogFuncSGIS((Int32)n, (Single*)points);
|
|
}
|
|
|
|
public static
|
|
void GetFogFunc([Out] Single[] points)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* points_ptr = points)
|
|
{
|
|
Delegates.glGetFogFuncSGIS((Single*)points_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetFogFunc([Out] out Single points)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* points_ptr = &points)
|
|
{
|
|
Delegates.glGetFogFuncSGIS((Single*)points_ptr);
|
|
points = *points_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetFogFunc([Out] Single* points)
|
|
{
|
|
Delegates.glGetFogFuncSGIS((Single*)points);
|
|
}
|
|
|
|
public static
|
|
void TextureColorMask(bool red, bool green, bool blue, bool alpha)
|
|
{
|
|
Delegates.glTextureColorMaskSGIS((bool)red, (bool)green, (bool)blue, (bool)alpha);
|
|
}
|
|
|
|
}
|
|
|
|
public static partial class Sgi
|
|
{
|
|
public static
|
|
void ColorTable(OpenTK.Graphics.All target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr table)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glColorTableSGI((OpenTK.Graphics.All)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ColorTable(OpenTK.Graphics.All target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object table)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle table_ptr = System.Runtime.InteropServices.GCHandle.Alloc(table, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glColorTableSGI((OpenTK.Graphics.All)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
table_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ColorTableParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glColorTableParameterfvSGI((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ColorTableParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glColorTableParameterfvSGI((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ColorTableParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, Single* @params)
|
|
{
|
|
Delegates.glColorTableParameterfvSGI((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void ColorTableParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glColorTableParameterivSGI((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ColorTableParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glColorTableParameterivSGI((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ColorTableParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, Int32* @params)
|
|
{
|
|
Delegates.glColorTableParameterivSGI((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void CopyColorTable(OpenTK.Graphics.All target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width)
|
|
{
|
|
Delegates.glCopyColorTableSGI((OpenTK.Graphics.All)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width);
|
|
}
|
|
|
|
public static
|
|
void GetColorTable(OpenTK.Graphics.All target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr table)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glGetColorTableSGI((OpenTK.Graphics.All)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetColorTable(OpenTK.Graphics.All target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object table)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle table_ptr = System.Runtime.InteropServices.GCHandle.Alloc(table, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetColorTableSGI((OpenTK.Graphics.All)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
table_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetColorTableParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetColorTableParameterfvSGI((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetColorTableParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetColorTableParameterfvSGI((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetColorTableParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetColorTableParameterfvSGI((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetColorTableParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetColorTableParameterivSGI((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetColorTableParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetColorTableParameterivSGI((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetColorTableParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetColorTableParameterivSGI((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
}
|
|
|
|
public static partial class Sgix
|
|
{
|
|
public static
|
|
void PixelTexGen(OpenTK.Graphics.All mode)
|
|
{
|
|
Delegates.glPixelTexGenSGIX((OpenTK.Graphics.All)mode);
|
|
}
|
|
|
|
public static
|
|
void SpriteParameter(OpenTK.Graphics.All pname, Single param)
|
|
{
|
|
Delegates.glSpriteParameterfSGIX((OpenTK.Graphics.All)pname, (Single)param);
|
|
}
|
|
|
|
public static
|
|
void SpriteParameterv(OpenTK.Graphics.All pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glSpriteParameterfvSGIX((OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void SpriteParameterv(OpenTK.Graphics.All pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glSpriteParameterfvSGIX((OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void SpriteParameterv(OpenTK.Graphics.All pname, Single* @params)
|
|
{
|
|
Delegates.glSpriteParameterfvSGIX((OpenTK.Graphics.All)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void SpriteParameter(OpenTK.Graphics.All pname, Int32 param)
|
|
{
|
|
Delegates.glSpriteParameteriSGIX((OpenTK.Graphics.All)pname, (Int32)param);
|
|
}
|
|
|
|
public static
|
|
void SpriteParameterv(OpenTK.Graphics.All pname, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glSpriteParameterivSGIX((OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void SpriteParameterv(OpenTK.Graphics.All pname, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glSpriteParameterivSGIX((OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void SpriteParameterv(OpenTK.Graphics.All pname, Int32* @params)
|
|
{
|
|
Delegates.glSpriteParameterivSGIX((OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
Int32 GetInstruments()
|
|
{
|
|
return Delegates.glGetInstrumentsSGIX();
|
|
}
|
|
|
|
public static
|
|
void InstrumentsBuffer(Int32 size, [Out] Int32[] buffer)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* buffer_ptr = buffer)
|
|
{
|
|
Delegates.glInstrumentsBufferSGIX((Int32)size, (Int32*)buffer_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void InstrumentsBuffer(Int32 size, [Out] out Int32 buffer)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* buffer_ptr = &buffer)
|
|
{
|
|
Delegates.glInstrumentsBufferSGIX((Int32)size, (Int32*)buffer_ptr);
|
|
buffer = *buffer_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void InstrumentsBuffer(Int32 size, [Out] Int32* buffer)
|
|
{
|
|
Delegates.glInstrumentsBufferSGIX((Int32)size, (Int32*)buffer);
|
|
}
|
|
|
|
public static
|
|
Int32 PollInstruments([Out] Int32[] marker_p)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* marker_p_ptr = marker_p)
|
|
{
|
|
return Delegates.glPollInstrumentsSGIX((Int32*)marker_p_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
Int32 PollInstruments([Out] out Int32 marker_p)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* marker_p_ptr = &marker_p)
|
|
{
|
|
Int32 retval = Delegates.glPollInstrumentsSGIX((Int32*)marker_p_ptr);
|
|
marker_p = *marker_p_ptr;
|
|
return retval;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe Int32 PollInstruments([Out] Int32* marker_p)
|
|
{
|
|
return Delegates.glPollInstrumentsSGIX((Int32*)marker_p);
|
|
}
|
|
|
|
public static
|
|
void ReadInstruments(Int32 marker)
|
|
{
|
|
Delegates.glReadInstrumentsSGIX((Int32)marker);
|
|
}
|
|
|
|
public static
|
|
void StartInstruments()
|
|
{
|
|
Delegates.glStartInstrumentsSGIX();
|
|
}
|
|
|
|
public static
|
|
void StopInstruments(Int32 marker)
|
|
{
|
|
Delegates.glStopInstrumentsSGIX((Int32)marker);
|
|
}
|
|
|
|
public static
|
|
void FrameZoom(Int32 factor)
|
|
{
|
|
Delegates.glFrameZoomSGIX((Int32)factor);
|
|
}
|
|
|
|
public static
|
|
void TagSampleBuffer()
|
|
{
|
|
Delegates.glTagSampleBufferSGIX();
|
|
}
|
|
|
|
public static
|
|
void DeformationMap3(OpenTK.Graphics.All 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
|
|
{
|
|
fixed (Double* points_ptr = points)
|
|
{
|
|
Delegates.glDeformationMap3dSGIX((OpenTK.Graphics.All)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_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DeformationMap3(OpenTK.Graphics.All 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, ref Double points)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* points_ptr = &points)
|
|
{
|
|
Delegates.glDeformationMap3dSGIX((OpenTK.Graphics.All)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_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void DeformationMap3(OpenTK.Graphics.All 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)
|
|
{
|
|
Delegates.glDeformationMap3dSGIX((OpenTK.Graphics.All)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);
|
|
}
|
|
|
|
public static
|
|
void DeformationMap3(OpenTK.Graphics.All 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
|
|
{
|
|
fixed (Single* points_ptr = points)
|
|
{
|
|
Delegates.glDeformationMap3fSGIX((OpenTK.Graphics.All)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_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DeformationMap3(OpenTK.Graphics.All 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, ref Single points)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* points_ptr = &points)
|
|
{
|
|
Delegates.glDeformationMap3fSGIX((OpenTK.Graphics.All)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_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void DeformationMap3(OpenTK.Graphics.All 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)
|
|
{
|
|
Delegates.glDeformationMap3fSGIX((OpenTK.Graphics.All)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);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Deform(UInt32 mask)
|
|
{
|
|
Delegates.glDeformSGIX((UInt32)mask);
|
|
}
|
|
|
|
public static
|
|
void Deform(Int32 mask)
|
|
{
|
|
Delegates.glDeformSGIX((UInt32)mask);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void LoadIdentityDeformationMap(UInt32 mask)
|
|
{
|
|
Delegates.glLoadIdentityDeformationMapSGIX((UInt32)mask);
|
|
}
|
|
|
|
public static
|
|
void LoadIdentityDeformationMap(Int32 mask)
|
|
{
|
|
Delegates.glLoadIdentityDeformationMapSGIX((UInt32)mask);
|
|
}
|
|
|
|
public static
|
|
void ReferencePlane(Double[] equation)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* equation_ptr = equation)
|
|
{
|
|
Delegates.glReferencePlaneSGIX((Double*)equation_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ReferencePlane(ref Double equation)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* equation_ptr = &equation)
|
|
{
|
|
Delegates.glReferencePlaneSGIX((Double*)equation_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ReferencePlane(Double* equation)
|
|
{
|
|
Delegates.glReferencePlaneSGIX((Double*)equation);
|
|
}
|
|
|
|
public static
|
|
void FlushRaster()
|
|
{
|
|
Delegates.glFlushRasterSGIX();
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetListParameterivSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetListParameterivSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetListParameterivSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetListParameterivSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetListParameterivSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetListParameterivSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, Single param)
|
|
{
|
|
Delegates.glListParameterfSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single)param);
|
|
}
|
|
|
|
public static
|
|
void ListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, Single param)
|
|
{
|
|
Delegates.glListParameterfSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single)param);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ListParameterv(UInt32 list, OpenTK.Graphics.ListParameterName pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ListParameterv(Int32 list, OpenTK.Graphics.ListParameterName pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ListParameterv(UInt32 list, OpenTK.Graphics.ListParameterName pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ListParameterv(Int32 list, OpenTK.Graphics.ListParameterName pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ListParameterv(UInt32 list, OpenTK.Graphics.ListParameterName pname, Single* @params)
|
|
{
|
|
Delegates.glListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ListParameterv(Int32 list, OpenTK.Graphics.ListParameterName pname, Single* @params)
|
|
{
|
|
Delegates.glListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, Int32 param)
|
|
{
|
|
Delegates.glListParameteriSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32)param);
|
|
}
|
|
|
|
public static
|
|
void ListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, Int32 param)
|
|
{
|
|
Delegates.glListParameteriSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32)param);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ListParameterv(UInt32 list, OpenTK.Graphics.ListParameterName pname, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glListParameterivSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ListParameterv(Int32 list, OpenTK.Graphics.ListParameterName pname, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glListParameterivSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ListParameterv(UInt32 list, OpenTK.Graphics.ListParameterName pname, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glListParameterivSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ListParameterv(Int32 list, OpenTK.Graphics.ListParameterName pname, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glListParameterivSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ListParameterv(UInt32 list, OpenTK.Graphics.ListParameterName pname, Int32* @params)
|
|
{
|
|
Delegates.glListParameterivSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ListParameterv(Int32 list, OpenTK.Graphics.ListParameterName pname, Int32* @params)
|
|
{
|
|
Delegates.glListParameterivSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void FragmentColorMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter mode)
|
|
{
|
|
Delegates.glFragmentColorMaterialSGIX((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)mode);
|
|
}
|
|
|
|
public static
|
|
void FragmentLight(OpenTK.Graphics.All light, OpenTK.Graphics.All pname, Single param)
|
|
{
|
|
Delegates.glFragmentLightfSGIX((OpenTK.Graphics.All)light, (OpenTK.Graphics.All)pname, (Single)param);
|
|
}
|
|
|
|
public static
|
|
void FragmentLightv(OpenTK.Graphics.All light, OpenTK.Graphics.All pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glFragmentLightfvSGIX((OpenTK.Graphics.All)light, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void FragmentLightv(OpenTK.Graphics.All light, OpenTK.Graphics.All pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glFragmentLightfvSGIX((OpenTK.Graphics.All)light, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void FragmentLightv(OpenTK.Graphics.All light, OpenTK.Graphics.All pname, Single* @params)
|
|
{
|
|
Delegates.glFragmentLightfvSGIX((OpenTK.Graphics.All)light, (OpenTK.Graphics.All)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void FragmentLight(OpenTK.Graphics.All light, OpenTK.Graphics.All pname, Int32 param)
|
|
{
|
|
Delegates.glFragmentLightiSGIX((OpenTK.Graphics.All)light, (OpenTK.Graphics.All)pname, (Int32)param);
|
|
}
|
|
|
|
public static
|
|
void FragmentLightv(OpenTK.Graphics.All light, OpenTK.Graphics.All pname, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glFragmentLightivSGIX((OpenTK.Graphics.All)light, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void FragmentLightv(OpenTK.Graphics.All light, OpenTK.Graphics.All pname, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glFragmentLightivSGIX((OpenTK.Graphics.All)light, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void FragmentLightv(OpenTK.Graphics.All light, OpenTK.Graphics.All pname, Int32* @params)
|
|
{
|
|
Delegates.glFragmentLightivSGIX((OpenTK.Graphics.All)light, (OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void FragmentLightModel(OpenTK.Graphics.All pname, Single param)
|
|
{
|
|
Delegates.glFragmentLightModelfSGIX((OpenTK.Graphics.All)pname, (Single)param);
|
|
}
|
|
|
|
public static
|
|
void FragmentLightModelv(OpenTK.Graphics.All pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glFragmentLightModelfvSGIX((OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void FragmentLightModelv(OpenTK.Graphics.All pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glFragmentLightModelfvSGIX((OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void FragmentLightModelv(OpenTK.Graphics.All pname, Single* @params)
|
|
{
|
|
Delegates.glFragmentLightModelfvSGIX((OpenTK.Graphics.All)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void FragmentLightModel(OpenTK.Graphics.All pname, Int32 param)
|
|
{
|
|
Delegates.glFragmentLightModeliSGIX((OpenTK.Graphics.All)pname, (Int32)param);
|
|
}
|
|
|
|
public static
|
|
void FragmentLightModelv(OpenTK.Graphics.All pname, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glFragmentLightModelivSGIX((OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void FragmentLightModelv(OpenTK.Graphics.All pname, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glFragmentLightModelivSGIX((OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void FragmentLightModelv(OpenTK.Graphics.All pname, Int32* @params)
|
|
{
|
|
Delegates.glFragmentLightModelivSGIX((OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void FragmentMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Single param)
|
|
{
|
|
Delegates.glFragmentMaterialfSGIX((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Single)param);
|
|
}
|
|
|
|
public static
|
|
void FragmentMaterialv(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glFragmentMaterialfvSGIX((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void FragmentMaterialv(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glFragmentMaterialfvSGIX((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void FragmentMaterialv(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Single* @params)
|
|
{
|
|
Delegates.glFragmentMaterialfvSGIX((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void FragmentMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Int32 param)
|
|
{
|
|
Delegates.glFragmentMaterialiSGIX((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32)param);
|
|
}
|
|
|
|
public static
|
|
void FragmentMaterialv(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glFragmentMaterialivSGIX((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void FragmentMaterialv(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glFragmentMaterialivSGIX((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void FragmentMaterialv(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Int32* @params)
|
|
{
|
|
Delegates.glFragmentMaterialivSGIX((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetFragmentLight(OpenTK.Graphics.All light, OpenTK.Graphics.All pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetFragmentLightfvSGIX((OpenTK.Graphics.All)light, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetFragmentLight(OpenTK.Graphics.All light, OpenTK.Graphics.All pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetFragmentLightfvSGIX((OpenTK.Graphics.All)light, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetFragmentLight(OpenTK.Graphics.All light, OpenTK.Graphics.All pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetFragmentLightfvSGIX((OpenTK.Graphics.All)light, (OpenTK.Graphics.All)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetFragmentLight(OpenTK.Graphics.All light, OpenTK.Graphics.All pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetFragmentLightivSGIX((OpenTK.Graphics.All)light, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetFragmentLight(OpenTK.Graphics.All light, OpenTK.Graphics.All pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetFragmentLightivSGIX((OpenTK.Graphics.All)light, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetFragmentLight(OpenTK.Graphics.All light, OpenTK.Graphics.All pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetFragmentLightivSGIX((OpenTK.Graphics.All)light, (OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetFragmentMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetFragmentMaterialfvSGIX((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetFragmentMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetFragmentMaterialfvSGIX((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetFragmentMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetFragmentMaterialfvSGIX((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetFragmentMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetFragmentMaterialivSGIX((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetFragmentMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetFragmentMaterialivSGIX((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetFragmentMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetFragmentMaterialivSGIX((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void LightEnv(OpenTK.Graphics.All pname, Int32 param)
|
|
{
|
|
Delegates.glLightEnviSGIX((OpenTK.Graphics.All)pname, (Int32)param);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void AsyncMarker(UInt32 marker)
|
|
{
|
|
Delegates.glAsyncMarkerSGIX((UInt32)marker);
|
|
}
|
|
|
|
public static
|
|
void AsyncMarker(Int32 marker)
|
|
{
|
|
Delegates.glAsyncMarkerSGIX((UInt32)marker);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
Int32 FinishAsync([Out] UInt32[] markerp)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* markerp_ptr = markerp)
|
|
{
|
|
return Delegates.glFinishAsyncSGIX((UInt32*)markerp_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
Int32 FinishAsync([Out] Int32[] markerp)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* markerp_ptr = markerp)
|
|
{
|
|
return Delegates.glFinishAsyncSGIX((UInt32*)markerp_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
Int32 FinishAsync([Out] out UInt32 markerp)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* markerp_ptr = &markerp)
|
|
{
|
|
Int32 retval = Delegates.glFinishAsyncSGIX((UInt32*)markerp_ptr);
|
|
markerp = *markerp_ptr;
|
|
return retval;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
Int32 FinishAsync([Out] out Int32 markerp)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* markerp_ptr = &markerp)
|
|
{
|
|
Int32 retval = Delegates.glFinishAsyncSGIX((UInt32*)markerp_ptr);
|
|
markerp = *markerp_ptr;
|
|
return retval;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe Int32 FinishAsync([Out] UInt32* markerp)
|
|
{
|
|
return Delegates.glFinishAsyncSGIX((UInt32*)markerp);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe Int32 FinishAsync([Out] Int32* markerp)
|
|
{
|
|
return Delegates.glFinishAsyncSGIX((UInt32*)markerp);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
Int32 PollAsync([Out] UInt32[] markerp)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* markerp_ptr = markerp)
|
|
{
|
|
return Delegates.glPollAsyncSGIX((UInt32*)markerp_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
Int32 PollAsync([Out] Int32[] markerp)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* markerp_ptr = markerp)
|
|
{
|
|
return Delegates.glPollAsyncSGIX((UInt32*)markerp_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
Int32 PollAsync([Out] out UInt32 markerp)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* markerp_ptr = &markerp)
|
|
{
|
|
Int32 retval = Delegates.glPollAsyncSGIX((UInt32*)markerp_ptr);
|
|
markerp = *markerp_ptr;
|
|
return retval;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
Int32 PollAsync([Out] out Int32 markerp)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* markerp_ptr = &markerp)
|
|
{
|
|
Int32 retval = Delegates.glPollAsyncSGIX((UInt32*)markerp_ptr);
|
|
markerp = *markerp_ptr;
|
|
return retval;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe Int32 PollAsync([Out] UInt32* markerp)
|
|
{
|
|
return Delegates.glPollAsyncSGIX((UInt32*)markerp);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe Int32 PollAsync([Out] Int32* markerp)
|
|
{
|
|
return Delegates.glPollAsyncSGIX((UInt32*)markerp);
|
|
}
|
|
|
|
public static
|
|
Int32 GenAsyncMarkers(Int32 range)
|
|
{
|
|
return Delegates.glGenAsyncMarkersSGIX((Int32)range);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DeleteAsyncMarkers(UInt32 marker, Int32 range)
|
|
{
|
|
Delegates.glDeleteAsyncMarkersSGIX((UInt32)marker, (Int32)range);
|
|
}
|
|
|
|
public static
|
|
void DeleteAsyncMarkers(Int32 marker, Int32 range)
|
|
{
|
|
Delegates.glDeleteAsyncMarkersSGIX((UInt32)marker, (Int32)range);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
bool IsAsyncMarker(UInt32 marker)
|
|
{
|
|
return Delegates.glIsAsyncMarkerSGIX((UInt32)marker);
|
|
}
|
|
|
|
public static
|
|
bool IsAsyncMarker(Int32 marker)
|
|
{
|
|
return Delegates.glIsAsyncMarkerSGIX((UInt32)marker);
|
|
}
|
|
|
|
public static
|
|
void IglooInterface(OpenTK.Graphics.All pname, IntPtr @params)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glIglooInterfaceSGIX((OpenTK.Graphics.All)pname, (IntPtr)@params);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void IglooInterface(OpenTK.Graphics.All pname, [In, Out] object @params)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle @params_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@params, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glIglooInterfaceSGIX((OpenTK.Graphics.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
@params_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public static partial class HP
|
|
{
|
|
public static
|
|
void ImageTransformParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, Int32 param)
|
|
{
|
|
Delegates.glImageTransformParameteriHP((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32)param);
|
|
}
|
|
|
|
public static
|
|
void ImageTransformParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, Single param)
|
|
{
|
|
Delegates.glImageTransformParameterfHP((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single)param);
|
|
}
|
|
|
|
public static
|
|
void ImageTransformParameterv(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glImageTransformParameterivHP((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ImageTransformParameterv(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glImageTransformParameterivHP((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ImageTransformParameterv(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, Int32* @params)
|
|
{
|
|
Delegates.glImageTransformParameterivHP((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void ImageTransformParameterv(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glImageTransformParameterfvHP((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ImageTransformParameterv(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glImageTransformParameterfvHP((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ImageTransformParameterv(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, Single* @params)
|
|
{
|
|
Delegates.glImageTransformParameterfvHP((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetImageTransformParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetImageTransformParameterivHP((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetImageTransformParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetImageTransformParameterivHP((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetImageTransformParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetImageTransformParameterivHP((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetImageTransformParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetImageTransformParameterfvHP((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetImageTransformParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetImageTransformParameterfvHP((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetImageTransformParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetImageTransformParameterfvHP((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Single*)@params);
|
|
}
|
|
|
|
}
|
|
|
|
public static partial class Pgi
|
|
{
|
|
public static
|
|
void Hint(OpenTK.Graphics.All target, Int32 mode)
|
|
{
|
|
Delegates.glHintPGI((OpenTK.Graphics.All)target, (Int32)mode);
|
|
}
|
|
|
|
}
|
|
|
|
public static partial class Intel
|
|
{
|
|
public static
|
|
void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, IntPtr pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glVertexPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] object pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glVertexPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void NormalPointer(OpenTK.Graphics.NormalPointerType type, IntPtr pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glNormalPointervINTEL((OpenTK.Graphics.NormalPointerType)type, (IntPtr)pointer);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void NormalPointer(OpenTK.Graphics.NormalPointerType type, [In, Out] object pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glNormalPointervINTEL((OpenTK.Graphics.NormalPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ColorPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, IntPtr pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glColorPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ColorPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] object pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glColorPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexCoordPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, IntPtr pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glTexCoordPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexCoordPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] object pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glTexCoordPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public static partial class Sunx
|
|
{
|
|
public static
|
|
void FinishTexture()
|
|
{
|
|
Delegates.glFinishTextureSUNX();
|
|
}
|
|
|
|
}
|
|
|
|
public static partial class Sun
|
|
{
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GlobalAlphaFactor(SByte factor)
|
|
{
|
|
Delegates.glGlobalAlphaFactorbSUN((SByte)factor);
|
|
}
|
|
|
|
public static
|
|
void GlobalAlphaFactors(Int16 factor)
|
|
{
|
|
Delegates.glGlobalAlphaFactorsSUN((Int16)factor);
|
|
}
|
|
|
|
public static
|
|
void GlobalAlphaFactor(Single factor)
|
|
{
|
|
Delegates.glGlobalAlphaFactorfSUN((Single)factor);
|
|
}
|
|
|
|
public static
|
|
void GlobalAlphaFactor(Double factor)
|
|
{
|
|
Delegates.glGlobalAlphaFactordSUN((Double)factor);
|
|
}
|
|
|
|
public static
|
|
void GlobalAlphaFactor(Byte factor)
|
|
{
|
|
Delegates.glGlobalAlphaFactorubSUN((Byte)factor);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GlobalAlphaFactor(UInt16 factor)
|
|
{
|
|
Delegates.glGlobalAlphaFactorusSUN((UInt16)factor);
|
|
}
|
|
|
|
public static
|
|
void GlobalAlphaFactor(Int16 factor)
|
|
{
|
|
Delegates.glGlobalAlphaFactorusSUN((UInt16)factor);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GlobalAlphaFactor(UInt32 factor)
|
|
{
|
|
Delegates.glGlobalAlphaFactoruiSUN((UInt32)factor);
|
|
}
|
|
|
|
public static
|
|
void GlobalAlphaFactor(Int32 factor)
|
|
{
|
|
Delegates.glGlobalAlphaFactoruiSUN((UInt32)factor);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ReplacementCode(UInt32 code)
|
|
{
|
|
Delegates.glReplacementCodeuiSUN((UInt32)code);
|
|
}
|
|
|
|
public static
|
|
void ReplacementCode(Int32 code)
|
|
{
|
|
Delegates.glReplacementCodeuiSUN((UInt32)code);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ReplacementCode(UInt16 code)
|
|
{
|
|
Delegates.glReplacementCodeusSUN((UInt16)code);
|
|
}
|
|
|
|
public static
|
|
void ReplacementCode(Int16 code)
|
|
{
|
|
Delegates.glReplacementCodeusSUN((UInt16)code);
|
|
}
|
|
|
|
public static
|
|
void ReplacementCode(Byte code)
|
|
{
|
|
Delegates.glReplacementCodeubSUN((Byte)code);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ReplacementCodev(UInt32[] code)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* code_ptr = code)
|
|
{
|
|
Delegates.glReplacementCodeuivSUN((UInt32*)code_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ReplacementCodev(Int32[] code)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* code_ptr = code)
|
|
{
|
|
Delegates.glReplacementCodeuivSUN((UInt32*)code_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ReplacementCodev(ref UInt32 code)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* code_ptr = &code)
|
|
{
|
|
Delegates.glReplacementCodeuivSUN((UInt32*)code_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ReplacementCodev(ref Int32 code)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* code_ptr = &code)
|
|
{
|
|
Delegates.glReplacementCodeuivSUN((UInt32*)code_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ReplacementCodev(UInt32* code)
|
|
{
|
|
Delegates.glReplacementCodeuivSUN((UInt32*)code);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ReplacementCodev(Int32* code)
|
|
{
|
|
Delegates.glReplacementCodeuivSUN((UInt32*)code);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ReplacementCodev(UInt16[] code)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* code_ptr = code)
|
|
{
|
|
Delegates.glReplacementCodeusvSUN((UInt16*)code_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ReplacementCodev(Int16[] code)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* code_ptr = code)
|
|
{
|
|
Delegates.glReplacementCodeusvSUN((UInt16*)code_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ReplacementCodev(ref UInt16 code)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* code_ptr = &code)
|
|
{
|
|
Delegates.glReplacementCodeusvSUN((UInt16*)code_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ReplacementCodev(ref Int16 code)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* code_ptr = &code)
|
|
{
|
|
Delegates.glReplacementCodeusvSUN((UInt16*)code_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ReplacementCodev(UInt16* code)
|
|
{
|
|
Delegates.glReplacementCodeusvSUN((UInt16*)code);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ReplacementCodev(Int16* code)
|
|
{
|
|
Delegates.glReplacementCodeusvSUN((UInt16*)code);
|
|
}
|
|
|
|
public static
|
|
void ReplacementCodev(Byte[] code)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* code_ptr = code)
|
|
{
|
|
Delegates.glReplacementCodeubvSUN((Byte*)code_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ReplacementCodev(ref Byte code)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* code_ptr = &code)
|
|
{
|
|
Delegates.glReplacementCodeubvSUN((Byte*)code_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ReplacementCodev(Byte* code)
|
|
{
|
|
Delegates.glReplacementCodeubvSUN((Byte*)code);
|
|
}
|
|
|
|
public static
|
|
void ReplacementCodePointer(OpenTK.Graphics.All type, Int32 stride, IntPtr pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glReplacementCodePointerSUN((OpenTK.Graphics.All)type, (Int32)stride, (IntPtr)pointer);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ReplacementCodePointer(OpenTK.Graphics.All type, Int32 stride, [In, Out] object pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glReplacementCodePointerSUN((OpenTK.Graphics.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Color4ubVertex2(Byte r, Byte g, Byte b, Byte a, Single x, Single y)
|
|
{
|
|
Delegates.glColor4ubVertex2fSUN((Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y);
|
|
}
|
|
|
|
public static
|
|
void Color4ubVertex2(Byte[] c, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* c_ptr = c)
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glColor4ubVertex2fvSUN((Byte*)c_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Color4ubVertex2(ref Byte c, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* c_ptr = &c)
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glColor4ubVertex2fvSUN((Byte*)c_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Color4ubVertex2(Byte* c, Single* v)
|
|
{
|
|
Delegates.glColor4ubVertex2fvSUN((Byte*)c, (Single*)v);
|
|
}
|
|
|
|
public static
|
|
void Color4ubVertex3(Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z)
|
|
{
|
|
Delegates.glColor4ubVertex3fSUN((Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y, (Single)z);
|
|
}
|
|
|
|
public static
|
|
void Color4ubVertex3(Byte[] c, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* c_ptr = c)
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glColor4ubVertex3fvSUN((Byte*)c_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Color4ubVertex3(ref Byte c, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* c_ptr = &c)
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glColor4ubVertex3fvSUN((Byte*)c_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Color4ubVertex3(Byte* c, Single* v)
|
|
{
|
|
Delegates.glColor4ubVertex3fvSUN((Byte*)c, (Single*)v);
|
|
}
|
|
|
|
public static
|
|
void Color3fVertex3(Single r, Single g, Single b, Single x, Single y, Single z)
|
|
{
|
|
Delegates.glColor3fVertex3fSUN((Single)r, (Single)g, (Single)b, (Single)x, (Single)y, (Single)z);
|
|
}
|
|
|
|
public static
|
|
void Color3fVertex3(Single[] c, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* c_ptr = c)
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glColor3fVertex3fvSUN((Single*)c_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Color3fVertex3(ref Single c, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* c_ptr = &c)
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glColor3fVertex3fvSUN((Single*)c_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Color3fVertex3(Single* c, Single* v)
|
|
{
|
|
Delegates.glColor3fVertex3fvSUN((Single*)c, (Single*)v);
|
|
}
|
|
|
|
public static
|
|
void Normal3fVertex3(Single nx, Single ny, Single nz, Single x, Single y, Single z)
|
|
{
|
|
Delegates.glNormal3fVertex3fSUN((Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z);
|
|
}
|
|
|
|
public static
|
|
void Normal3fVertex3(Single[] n, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* n_ptr = n)
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glNormal3fVertex3fvSUN((Single*)n_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Normal3fVertex3(ref Single n, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* n_ptr = &n)
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glNormal3fVertex3fvSUN((Single*)n_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Normal3fVertex3(Single* n, Single* v)
|
|
{
|
|
Delegates.glNormal3fVertex3fvSUN((Single*)n, (Single*)v);
|
|
}
|
|
|
|
public static
|
|
void Color4fNormal3fVertex3(Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z)
|
|
{
|
|
Delegates.glColor4fNormal3fVertex3fSUN((Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z);
|
|
}
|
|
|
|
public static
|
|
void Color4fNormal3fVertex3(Single[] c, Single[] n, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* c_ptr = c)
|
|
fixed (Single* n_ptr = n)
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Color4fNormal3fVertex3(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.glColor4fNormal3fVertex3fvSUN((Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Color4fNormal3fVertex3(Single* c, Single* n, Single* v)
|
|
{
|
|
Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c, (Single*)n, (Single*)v);
|
|
}
|
|
|
|
public static
|
|
void TexCoord2fVertex3(Single s, Single t, Single x, Single y, Single z)
|
|
{
|
|
Delegates.glTexCoord2fVertex3fSUN((Single)s, (Single)t, (Single)x, (Single)y, (Single)z);
|
|
}
|
|
|
|
public static
|
|
void TexCoord2fVertex3(Single[] tc, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* tc_ptr = tc)
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glTexCoord2fVertex3fvSUN((Single*)tc_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexCoord2fVertex3(ref Single tc, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* tc_ptr = &tc)
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glTexCoord2fVertex3fvSUN((Single*)tc_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexCoord2fVertex3(Single* tc, Single* v)
|
|
{
|
|
Delegates.glTexCoord2fVertex3fvSUN((Single*)tc, (Single*)v);
|
|
}
|
|
|
|
public static
|
|
void TexCoord4fVertex4(Single s, Single t, Single p, Single q, Single x, Single y, Single z, Single w)
|
|
{
|
|
Delegates.glTexCoord4fVertex4fSUN((Single)s, (Single)t, (Single)p, (Single)q, (Single)x, (Single)y, (Single)z, (Single)w);
|
|
}
|
|
|
|
public static
|
|
void TexCoord4fVertex4(Single[] tc, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* tc_ptr = tc)
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glTexCoord4fVertex4fvSUN((Single*)tc_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexCoord4fVertex4(ref Single tc, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* tc_ptr = &tc)
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glTexCoord4fVertex4fvSUN((Single*)tc_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexCoord4fVertex4(Single* tc, Single* v)
|
|
{
|
|
Delegates.glTexCoord4fVertex4fvSUN((Single*)tc, (Single*)v);
|
|
}
|
|
|
|
public static
|
|
void TexCoord2fColor4ubVertex3(Single s, Single t, Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z)
|
|
{
|
|
Delegates.glTexCoord2fColor4ubVertex3fSUN((Single)s, (Single)t, (Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y, (Single)z);
|
|
}
|
|
|
|
public static
|
|
void TexCoord2fColor4ubVertex3(Single[] tc, Byte[] c, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* tc_ptr = tc)
|
|
fixed (Byte* c_ptr = c)
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc_ptr, (Byte*)c_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexCoord2fColor4ubVertex3(ref Single tc, ref Byte c, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* tc_ptr = &tc)
|
|
fixed (Byte* c_ptr = &c)
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc_ptr, (Byte*)c_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexCoord2fColor4ubVertex3(Single* tc, Byte* c, Single* v)
|
|
{
|
|
Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc, (Byte*)c, (Single*)v);
|
|
}
|
|
|
|
public static
|
|
void TexCoord2fColor3fVertex3(Single s, Single t, Single r, Single g, Single b, Single x, Single y, Single z)
|
|
{
|
|
Delegates.glTexCoord2fColor3fVertex3fSUN((Single)s, (Single)t, (Single)r, (Single)g, (Single)b, (Single)x, (Single)y, (Single)z);
|
|
}
|
|
|
|
public static
|
|
void TexCoord2fColor3fVertex3(Single[] tc, Single[] c, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* tc_ptr = tc)
|
|
fixed (Single* c_ptr = c)
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexCoord2fColor3fVertex3(ref Single tc, ref Single c, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* tc_ptr = &tc)
|
|
fixed (Single* c_ptr = &c)
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexCoord2fColor3fVertex3(Single* tc, Single* c, Single* v)
|
|
{
|
|
Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc, (Single*)c, (Single*)v);
|
|
}
|
|
|
|
public static
|
|
void TexCoord2fNormal3fVertex3(Single s, Single t, Single nx, Single ny, Single nz, Single x, Single y, Single z)
|
|
{
|
|
Delegates.glTexCoord2fNormal3fVertex3fSUN((Single)s, (Single)t, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z);
|
|
}
|
|
|
|
public static
|
|
void TexCoord2fNormal3fVertex3(Single[] tc, Single[] n, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* tc_ptr = tc)
|
|
fixed (Single* n_ptr = n)
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexCoord2fNormal3fVertex3(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.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexCoord2fNormal3fVertex3(Single* tc, Single* n, Single* v)
|
|
{
|
|
Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc, (Single*)n, (Single*)v);
|
|
}
|
|
|
|
public static
|
|
void TexCoord2fColor4fNormal3fVertex3(Single s, Single t, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z)
|
|
{
|
|
Delegates.glTexCoord2fColor4fNormal3fVertex3fSUN((Single)s, (Single)t, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z);
|
|
}
|
|
|
|
public static
|
|
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)
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexCoord2fColor4fNormal3fVertex3(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)
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, Single* c, Single* n, Single* v)
|
|
{
|
|
Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c, (Single*)n, (Single*)v);
|
|
}
|
|
|
|
public static
|
|
void TexCoord4fColor4fNormal3fVertex4(Single s, Single t, Single p, Single q, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z, Single w)
|
|
{
|
|
Delegates.glTexCoord4fColor4fNormal3fVertex4fSUN((Single)s, (Single)t, (Single)p, (Single)q, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z, (Single)w);
|
|
}
|
|
|
|
public static
|
|
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)
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexCoord4fColor4fNormal3fVertex4(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)
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, Single* c, Single* n, Single* v)
|
|
{
|
|
Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c, (Single*)n, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ReplacementCodeuiVertex3(UInt32 rc, Single x, Single y, Single z)
|
|
{
|
|
Delegates.glReplacementCodeuiVertex3fSUN((UInt32)rc, (Single)x, (Single)y, (Single)z);
|
|
}
|
|
|
|
public static
|
|
void ReplacementCodeuiVertex3(Int32 rc, Single x, Single y, Single z)
|
|
{
|
|
Delegates.glReplacementCodeuiVertex3fSUN((UInt32)rc, (Single)x, (Single)y, (Single)z);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ReplacementCodeuiVertex3v(UInt32[] rc, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* rc_ptr = rc)
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ReplacementCodeuiVertex3v(Int32[] rc, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* rc_ptr = rc)
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ReplacementCodeuiVertex3v(ref UInt32 rc, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* rc_ptr = &rc)
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ReplacementCodeuiVertex3v(ref Int32 rc, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* rc_ptr = &rc)
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ReplacementCodeuiVertex3v(UInt32* rc, Single* v)
|
|
{
|
|
Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ReplacementCodeuiVertex3v(Int32* rc, Single* v)
|
|
{
|
|
Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ReplacementCodeuiColor4ubVertex3(UInt32 rc, Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z)
|
|
{
|
|
Delegates.glReplacementCodeuiColor4ubVertex3fSUN((UInt32)rc, (Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y, (Single)z);
|
|
}
|
|
|
|
public static
|
|
void ReplacementCodeuiColor4ubVertex3(Int32 rc, Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z)
|
|
{
|
|
Delegates.glReplacementCodeuiColor4ubVertex3fSUN((UInt32)rc, (Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y, (Single)z);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ReplacementCodeuiColor4ubVertex3v(UInt32[] rc, Byte[] c, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* rc_ptr = rc)
|
|
fixed (Byte* c_ptr = c)
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ReplacementCodeuiColor4ubVertex3v(Int32[] rc, Byte[] c, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* rc_ptr = rc)
|
|
fixed (Byte* c_ptr = c)
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ReplacementCodeuiColor4ubVertex3v(ref UInt32 rc, ref Byte c, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* rc_ptr = &rc)
|
|
fixed (Byte* c_ptr = &c)
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ReplacementCodeuiColor4ubVertex3v(ref Int32 rc, ref Byte c, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* rc_ptr = &rc)
|
|
fixed (Byte* c_ptr = &c)
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ReplacementCodeuiColor4ubVertex3v(UInt32* rc, Byte* c, Single* v)
|
|
{
|
|
Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ReplacementCodeuiColor4ubVertex3v(Int32* rc, Byte* c, Single* v)
|
|
{
|
|
Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ReplacementCodeuiColor3fVertex3(UInt32 rc, Single r, Single g, Single b, Single x, Single y, Single z)
|
|
{
|
|
Delegates.glReplacementCodeuiColor3fVertex3fSUN((UInt32)rc, (Single)r, (Single)g, (Single)b, (Single)x, (Single)y, (Single)z);
|
|
}
|
|
|
|
public static
|
|
void ReplacementCodeuiColor3fVertex3(Int32 rc, Single r, Single g, Single b, Single x, Single y, Single z)
|
|
{
|
|
Delegates.glReplacementCodeuiColor3fVertex3fSUN((UInt32)rc, (Single)r, (Single)g, (Single)b, (Single)x, (Single)y, (Single)z);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ReplacementCodeuiColor3fVertex3v(UInt32[] rc, Single[] c, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* rc_ptr = rc)
|
|
fixed (Single* c_ptr = c)
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ReplacementCodeuiColor3fVertex3v(Int32[] rc, Single[] c, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* rc_ptr = rc)
|
|
fixed (Single* c_ptr = c)
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ReplacementCodeuiColor3fVertex3v(ref UInt32 rc, ref Single c, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* rc_ptr = &rc)
|
|
fixed (Single* c_ptr = &c)
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ReplacementCodeuiColor3fVertex3v(ref Int32 rc, ref Single c, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* rc_ptr = &rc)
|
|
fixed (Single* c_ptr = &c)
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ReplacementCodeuiColor3fVertex3v(UInt32* rc, Single* c, Single* v)
|
|
{
|
|
Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ReplacementCodeuiColor3fVertex3v(Int32* rc, Single* c, Single* v)
|
|
{
|
|
Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ReplacementCodeuiNormal3fVertex3(UInt32 rc, Single nx, Single ny, Single nz, Single x, Single y, Single z)
|
|
{
|
|
Delegates.glReplacementCodeuiNormal3fVertex3fSUN((UInt32)rc, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z);
|
|
}
|
|
|
|
public static
|
|
void ReplacementCodeuiNormal3fVertex3(Int32 rc, Single nx, Single ny, Single nz, Single x, Single y, Single z)
|
|
{
|
|
Delegates.glReplacementCodeuiNormal3fVertex3fSUN((UInt32)rc, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ReplacementCodeuiNormal3fVertex3v(UInt32[] rc, Single[] n, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* rc_ptr = rc)
|
|
fixed (Single* n_ptr = n)
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ReplacementCodeuiNormal3fVertex3v(Int32[] rc, Single[] n, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* rc_ptr = rc)
|
|
fixed (Single* n_ptr = n)
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ReplacementCodeuiNormal3fVertex3v(ref UInt32 rc, ref Single n, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* rc_ptr = &rc)
|
|
fixed (Single* n_ptr = &n)
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ReplacementCodeuiNormal3fVertex3v(ref Int32 rc, ref Single n, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* rc_ptr = &rc)
|
|
fixed (Single* n_ptr = &n)
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ReplacementCodeuiNormal3fVertex3v(UInt32* rc, Single* n, Single* v)
|
|
{
|
|
Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ReplacementCodeuiNormal3fVertex3v(Int32* rc, Single* n, Single* v)
|
|
{
|
|
Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ReplacementCodeuiColor4fNormal3fVertex3(UInt32 rc, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z)
|
|
{
|
|
Delegates.glReplacementCodeuiColor4fNormal3fVertex3fSUN((UInt32)rc, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z);
|
|
}
|
|
|
|
public static
|
|
void ReplacementCodeuiColor4fNormal3fVertex3(Int32 rc, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z)
|
|
{
|
|
Delegates.glReplacementCodeuiColor4fNormal3fVertex3fSUN((UInt32)rc, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ReplacementCodeuiColor4fNormal3fVertex3v(UInt32[] rc, Single[] c, Single[] n, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* rc_ptr = rc)
|
|
fixed (Single* c_ptr = c)
|
|
fixed (Single* n_ptr = n)
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ReplacementCodeuiColor4fNormal3fVertex3v(Int32[] rc, Single[] c, Single[] n, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* rc_ptr = rc)
|
|
fixed (Single* c_ptr = c)
|
|
fixed (Single* n_ptr = n)
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ReplacementCodeuiColor4fNormal3fVertex3v(ref UInt32 rc, 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)
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ReplacementCodeuiColor4fNormal3fVertex3v(ref Int32 rc, 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)
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ReplacementCodeuiColor4fNormal3fVertex3v(UInt32* rc, Single* c, Single* n, Single* v)
|
|
{
|
|
Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)n, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ReplacementCodeuiColor4fNormal3fVertex3v(Int32* rc, Single* c, Single* n, Single* v)
|
|
{
|
|
Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)n, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ReplacementCodeuiTexCoord2fVertex3(UInt32 rc, Single s, Single t, Single x, Single y, Single z)
|
|
{
|
|
Delegates.glReplacementCodeuiTexCoord2fVertex3fSUN((UInt32)rc, (Single)s, (Single)t, (Single)x, (Single)y, (Single)z);
|
|
}
|
|
|
|
public static
|
|
void ReplacementCodeuiTexCoord2fVertex3(Int32 rc, Single s, Single t, Single x, Single y, Single z)
|
|
{
|
|
Delegates.glReplacementCodeuiTexCoord2fVertex3fSUN((UInt32)rc, (Single)s, (Single)t, (Single)x, (Single)y, (Single)z);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ReplacementCodeuiTexCoord2fVertex3v(UInt32[] rc, Single[] tc, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* rc_ptr = rc)
|
|
fixed (Single* tc_ptr = tc)
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ReplacementCodeuiTexCoord2fVertex3v(Int32[] rc, Single[] tc, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* rc_ptr = rc)
|
|
fixed (Single* tc_ptr = tc)
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ReplacementCodeuiTexCoord2fVertex3v(ref UInt32 rc, ref Single tc, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* rc_ptr = &rc)
|
|
fixed (Single* tc_ptr = &tc)
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ReplacementCodeuiTexCoord2fVertex3v(ref Int32 rc, ref Single tc, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* rc_ptr = &rc)
|
|
fixed (Single* tc_ptr = &tc)
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ReplacementCodeuiTexCoord2fVertex3v(UInt32* rc, Single* tc, Single* v)
|
|
{
|
|
Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ReplacementCodeuiTexCoord2fVertex3v(Int32* rc, Single* tc, Single* v)
|
|
{
|
|
Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32 rc, Single s, Single t, Single nx, Single ny, Single nz, Single x, Single y, Single z)
|
|
{
|
|
Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN((UInt32)rc, (Single)s, (Single)t, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z);
|
|
}
|
|
|
|
public static
|
|
void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32 rc, Single s, Single t, Single nx, Single ny, Single nz, Single x, Single y, Single z)
|
|
{
|
|
Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN((UInt32)rc, (Single)s, (Single)t, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ReplacementCodeuiTexCoord2fNormal3fVertex3v(UInt32[] rc, Single[] tc, Single[] n, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* rc_ptr = rc)
|
|
fixed (Single* tc_ptr = tc)
|
|
fixed (Single* n_ptr = n)
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ReplacementCodeuiTexCoord2fNormal3fVertex3v(Int32[] rc, Single[] tc, Single[] n, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* rc_ptr = rc)
|
|
fixed (Single* tc_ptr = tc)
|
|
fixed (Single* n_ptr = n)
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ReplacementCodeuiTexCoord2fNormal3fVertex3v(ref UInt32 rc, ref Single tc, ref Single n, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* rc_ptr = &rc)
|
|
fixed (Single* tc_ptr = &tc)
|
|
fixed (Single* n_ptr = &n)
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ReplacementCodeuiTexCoord2fNormal3fVertex3v(ref Int32 rc, ref Single tc, ref Single n, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* rc_ptr = &rc)
|
|
fixed (Single* tc_ptr = &tc)
|
|
fixed (Single* n_ptr = &n)
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3v(UInt32* rc, Single* tc, Single* n, Single* v)
|
|
{
|
|
Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)n, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3v(Int32* rc, Single* tc, Single* n, Single* v)
|
|
{
|
|
Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)n, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32 rc, Single s, Single t, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z)
|
|
{
|
|
Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN((UInt32)rc, (Single)s, (Single)t, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z);
|
|
}
|
|
|
|
public static
|
|
void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32 rc, Single s, Single t, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z)
|
|
{
|
|
Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN((UInt32)rc, (Single)s, (Single)t, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3v(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)
|
|
fixed (Single* n_ptr = n)
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3v(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)
|
|
fixed (Single* n_ptr = n)
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3v(ref UInt32 rc, ref Single tc, ref Single c, ref Single n, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* rc_ptr = &rc)
|
|
fixed (Single* tc_ptr = &tc)
|
|
fixed (Single* c_ptr = &c)
|
|
fixed (Single* n_ptr = &n)
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3v(ref Int32 rc, ref Single tc, ref Single c, ref Single n, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* rc_ptr = &rc)
|
|
fixed (Single* tc_ptr = &tc)
|
|
fixed (Single* c_ptr = &c)
|
|
fixed (Single* n_ptr = &n)
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3v(UInt32* rc, Single* tc, Single* c, Single* n, Single* v)
|
|
{
|
|
Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c, (Single*)n, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3v(Int32* rc, Single* tc, Single* c, Single* n, Single* v)
|
|
{
|
|
Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c, (Single*)n, (Single*)v);
|
|
}
|
|
|
|
public static
|
|
void DrawMeshArrays(OpenTK.Graphics.BeginMode mode, Int32 first, Int32 count, Int32 width)
|
|
{
|
|
Delegates.glDrawMeshArraysSUN((OpenTK.Graphics.BeginMode)mode, (Int32)first, (Int32)count, (Int32)width);
|
|
}
|
|
|
|
}
|
|
|
|
public static partial class Ingr
|
|
{
|
|
public static
|
|
void BlendFuncSeparate(OpenTK.Graphics.All sfactorRGB, OpenTK.Graphics.All dfactorRGB, OpenTK.Graphics.All sfactorAlpha, OpenTK.Graphics.All dfactorAlpha)
|
|
{
|
|
Delegates.glBlendFuncSeparateINGR((OpenTK.Graphics.All)sfactorRGB, (OpenTK.Graphics.All)dfactorRGB, (OpenTK.Graphics.All)sfactorAlpha, (OpenTK.Graphics.All)dfactorAlpha);
|
|
}
|
|
|
|
}
|
|
|
|
public static partial class Mesa
|
|
{
|
|
public static
|
|
void ResizeBuffers()
|
|
{
|
|
Delegates.glResizeBuffersMESA();
|
|
}
|
|
|
|
public static
|
|
void WindowPos2(Double x, Double y)
|
|
{
|
|
Delegates.glWindowPos2dMESA((Double)x, (Double)y);
|
|
}
|
|
|
|
public static
|
|
void WindowPos2(Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glWindowPos2dvMESA((Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void WindowPos2(ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glWindowPos2dvMESA((Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void WindowPos2(Double* v)
|
|
{
|
|
Delegates.glWindowPos2dvMESA((Double*)v);
|
|
}
|
|
|
|
public static
|
|
void WindowPos2(Single x, Single y)
|
|
{
|
|
Delegates.glWindowPos2fMESA((Single)x, (Single)y);
|
|
}
|
|
|
|
public static
|
|
void WindowPos2(Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glWindowPos2fvMESA((Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void WindowPos2(ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glWindowPos2fvMESA((Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void WindowPos2(Single* v)
|
|
{
|
|
Delegates.glWindowPos2fvMESA((Single*)v);
|
|
}
|
|
|
|
public static
|
|
void WindowPos2(Int32 x, Int32 y)
|
|
{
|
|
Delegates.glWindowPos2iMESA((Int32)x, (Int32)y);
|
|
}
|
|
|
|
public static
|
|
void WindowPos2(Int32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = v)
|
|
{
|
|
Delegates.glWindowPos2ivMESA((Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void WindowPos2(ref Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glWindowPos2ivMESA((Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void WindowPos2(Int32* v)
|
|
{
|
|
Delegates.glWindowPos2ivMESA((Int32*)v);
|
|
}
|
|
|
|
public static
|
|
void WindowPos2(Int16 x, Int16 y)
|
|
{
|
|
Delegates.glWindowPos2sMESA((Int16)x, (Int16)y);
|
|
}
|
|
|
|
public static
|
|
void WindowPos2(Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glWindowPos2svMESA((Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void WindowPos2(ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glWindowPos2svMESA((Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void WindowPos2(Int16* v)
|
|
{
|
|
Delegates.glWindowPos2svMESA((Int16*)v);
|
|
}
|
|
|
|
public static
|
|
void WindowPos3(Double x, Double y, Double z)
|
|
{
|
|
Delegates.glWindowPos3dMESA((Double)x, (Double)y, (Double)z);
|
|
}
|
|
|
|
public static
|
|
void WindowPos3(Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glWindowPos3dvMESA((Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void WindowPos3(ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glWindowPos3dvMESA((Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void WindowPos3(Double* v)
|
|
{
|
|
Delegates.glWindowPos3dvMESA((Double*)v);
|
|
}
|
|
|
|
public static
|
|
void WindowPos3(Single x, Single y, Single z)
|
|
{
|
|
Delegates.glWindowPos3fMESA((Single)x, (Single)y, (Single)z);
|
|
}
|
|
|
|
public static
|
|
void WindowPos3(Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glWindowPos3fvMESA((Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void WindowPos3(ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glWindowPos3fvMESA((Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void WindowPos3(Single* v)
|
|
{
|
|
Delegates.glWindowPos3fvMESA((Single*)v);
|
|
}
|
|
|
|
public static
|
|
void WindowPos3(Int32 x, Int32 y, Int32 z)
|
|
{
|
|
Delegates.glWindowPos3iMESA((Int32)x, (Int32)y, (Int32)z);
|
|
}
|
|
|
|
public static
|
|
void WindowPos3(Int32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = v)
|
|
{
|
|
Delegates.glWindowPos3ivMESA((Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void WindowPos3(ref Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glWindowPos3ivMESA((Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void WindowPos3(Int32* v)
|
|
{
|
|
Delegates.glWindowPos3ivMESA((Int32*)v);
|
|
}
|
|
|
|
public static
|
|
void WindowPos3(Int16 x, Int16 y, Int16 z)
|
|
{
|
|
Delegates.glWindowPos3sMESA((Int16)x, (Int16)y, (Int16)z);
|
|
}
|
|
|
|
public static
|
|
void WindowPos3(Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glWindowPos3svMESA((Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void WindowPos3(ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glWindowPos3svMESA((Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void WindowPos3(Int16* v)
|
|
{
|
|
Delegates.glWindowPos3svMESA((Int16*)v);
|
|
}
|
|
|
|
public static
|
|
void WindowPos4(Double x, Double y, Double z, Double w)
|
|
{
|
|
Delegates.glWindowPos4dMESA((Double)x, (Double)y, (Double)z, (Double)w);
|
|
}
|
|
|
|
public static
|
|
void WindowPos4(Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glWindowPos4dvMESA((Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void WindowPos4(ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glWindowPos4dvMESA((Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void WindowPos4(Double* v)
|
|
{
|
|
Delegates.glWindowPos4dvMESA((Double*)v);
|
|
}
|
|
|
|
public static
|
|
void WindowPos4(Single x, Single y, Single z, Single w)
|
|
{
|
|
Delegates.glWindowPos4fMESA((Single)x, (Single)y, (Single)z, (Single)w);
|
|
}
|
|
|
|
public static
|
|
void WindowPos4(Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glWindowPos4fvMESA((Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void WindowPos4(ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glWindowPos4fvMESA((Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void WindowPos4(Single* v)
|
|
{
|
|
Delegates.glWindowPos4fvMESA((Single*)v);
|
|
}
|
|
|
|
public static
|
|
void WindowPos4(Int32 x, Int32 y, Int32 z, Int32 w)
|
|
{
|
|
Delegates.glWindowPos4iMESA((Int32)x, (Int32)y, (Int32)z, (Int32)w);
|
|
}
|
|
|
|
public static
|
|
void WindowPos4(Int32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = v)
|
|
{
|
|
Delegates.glWindowPos4ivMESA((Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void WindowPos4(ref Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glWindowPos4ivMESA((Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void WindowPos4(Int32* v)
|
|
{
|
|
Delegates.glWindowPos4ivMESA((Int32*)v);
|
|
}
|
|
|
|
public static
|
|
void WindowPos4(Int16 x, Int16 y, Int16 z, Int16 w)
|
|
{
|
|
Delegates.glWindowPos4sMESA((Int16)x, (Int16)y, (Int16)z, (Int16)w);
|
|
}
|
|
|
|
public static
|
|
void WindowPos4(Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glWindowPos4svMESA((Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void WindowPos4(ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glWindowPos4svMESA((Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void WindowPos4(Int16* v)
|
|
{
|
|
Delegates.glWindowPos4svMESA((Int16*)v);
|
|
}
|
|
|
|
}
|
|
|
|
public static partial class Ibm
|
|
{
|
|
public static
|
|
void MultiModeDrawArrays(OpenTK.Graphics.BeginMode[] mode, Int32[] first, Int32[] count, Int32 primcount, Int32 modestride)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (OpenTK.Graphics.BeginMode* mode_ptr = mode)
|
|
fixed (Int32* first_ptr = first)
|
|
fixed (Int32* count_ptr = count)
|
|
{
|
|
Delegates.glMultiModeDrawArraysIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount, (Int32)modestride);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiModeDrawArrays(ref OpenTK.Graphics.BeginMode mode, ref Int32 first, ref Int32 count, Int32 primcount, Int32 modestride)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (OpenTK.Graphics.BeginMode* mode_ptr = &mode)
|
|
fixed (Int32* first_ptr = &first)
|
|
fixed (Int32* count_ptr = &count)
|
|
{
|
|
Delegates.glMultiModeDrawArraysIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount, (Int32)modestride);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiModeDrawArrays(OpenTK.Graphics.BeginMode* mode, Int32* first, Int32* count, Int32 primcount, Int32 modestride)
|
|
{
|
|
Delegates.glMultiModeDrawArraysIBM((OpenTK.Graphics.BeginMode*)mode, (Int32*)first, (Int32*)count, (Int32)primcount, (Int32)modestride);
|
|
}
|
|
|
|
public static
|
|
void MultiModeDrawElements(OpenTK.Graphics.BeginMode[] mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (OpenTK.Graphics.BeginMode* mode_ptr = mode)
|
|
fixed (Int32* count_ptr = count)
|
|
{
|
|
Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32)modestride);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiModeDrawElements(OpenTK.Graphics.BeginMode[] mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] object indices, Int32 primcount, Int32 modestride)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (OpenTK.Graphics.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((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride);
|
|
}
|
|
finally
|
|
{
|
|
indices_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiModeDrawElements(ref OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (OpenTK.Graphics.BeginMode* mode_ptr = &mode)
|
|
fixed (Int32* count_ptr = &count)
|
|
{
|
|
Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32)modestride);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiModeDrawElements(ref OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] object indices, Int32 primcount, Int32 modestride)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (OpenTK.Graphics.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((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride);
|
|
}
|
|
finally
|
|
{
|
|
indices_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiModeDrawElements(OpenTK.Graphics.BeginMode* mode, Int32* count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride)
|
|
{
|
|
Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32)modestride);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiModeDrawElements(OpenTK.Graphics.BeginMode* mode, Int32* count, OpenTK.Graphics.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.Graphics.BeginMode*)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride);
|
|
}
|
|
finally
|
|
{
|
|
indices_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ColorPointerList(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glColorPointerListIBM((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ColorPointerList(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] object pointer, Int32 ptrstride)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glColorPointerListIBM((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride);
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void SecondaryColorPointerList(Int32 size, OpenTK.Graphics.All type, Int32 stride, IntPtr pointer, Int32 ptrstride)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glSecondaryColorPointerListIBM((Int32)size, (OpenTK.Graphics.All)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void SecondaryColorPointerList(Int32 size, OpenTK.Graphics.All type, Int32 stride, [In, Out] object pointer, Int32 ptrstride)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glSecondaryColorPointerListIBM((Int32)size, (OpenTK.Graphics.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride);
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void EdgeFlagPointerList(Int32 stride, bool[] pointer, Int32 ptrstride)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (bool* pointer_ptr = pointer)
|
|
{
|
|
Delegates.glEdgeFlagPointerListIBM((Int32)stride, (bool*)pointer_ptr, (Int32)ptrstride);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void EdgeFlagPointerList(Int32 stride, ref bool pointer, Int32 ptrstride)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (bool* pointer_ptr = &pointer)
|
|
{
|
|
Delegates.glEdgeFlagPointerListIBM((Int32)stride, (bool*)pointer_ptr, (Int32)ptrstride);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void EdgeFlagPointerList(Int32 stride, bool* pointer, Int32 ptrstride)
|
|
{
|
|
Delegates.glEdgeFlagPointerListIBM((Int32)stride, (bool*)pointer, (Int32)ptrstride);
|
|
}
|
|
|
|
public static
|
|
void FogCoordPointerList(OpenTK.Graphics.All type, Int32 stride, IntPtr pointer, Int32 ptrstride)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glFogCoordPointerListIBM((OpenTK.Graphics.All)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void FogCoordPointerList(OpenTK.Graphics.All type, Int32 stride, [In, Out] object pointer, Int32 ptrstride)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glFogCoordPointerListIBM((OpenTK.Graphics.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride);
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void IndexPointerList(OpenTK.Graphics.IndexPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glIndexPointerListIBM((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void IndexPointerList(OpenTK.Graphics.IndexPointerType type, Int32 stride, [In, Out] object pointer, Int32 ptrstride)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glIndexPointerListIBM((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride);
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void NormalPointerList(OpenTK.Graphics.NormalPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glNormalPointerListIBM((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void NormalPointerList(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] object pointer, Int32 ptrstride)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glNormalPointerListIBM((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride);
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexCoordPointerList(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glTexCoordPointerListIBM((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexCoordPointerList(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] object pointer, Int32 ptrstride)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glTexCoordPointerListIBM((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride);
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexPointerList(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glVertexPointerListIBM((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexPointerList(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, [In, Out] object pointer, Int32 ptrstride)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glVertexPointerListIBM((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride);
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public static partial class GL_3dfx
|
|
{
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void TbufferMask(UInt32 mask)
|
|
{
|
|
Delegates.glTbufferMask3DFX((UInt32)mask);
|
|
}
|
|
|
|
public static
|
|
void TbufferMask(Int32 mask)
|
|
{
|
|
Delegates.glTbufferMask3DFX((UInt32)mask);
|
|
}
|
|
|
|
}
|
|
|
|
public static partial class Ati
|
|
{
|
|
public static
|
|
void TexBumpParameter(OpenTK.Graphics.All pname, Int32[] param)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* param_ptr = param)
|
|
{
|
|
Delegates.glTexBumpParameterivATI((OpenTK.Graphics.All)pname, (Int32*)param_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexBumpParameter(OpenTK.Graphics.All pname, ref Int32 param)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* param_ptr = ¶m)
|
|
{
|
|
Delegates.glTexBumpParameterivATI((OpenTK.Graphics.All)pname, (Int32*)param_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexBumpParameter(OpenTK.Graphics.All pname, Int32* param)
|
|
{
|
|
Delegates.glTexBumpParameterivATI((OpenTK.Graphics.All)pname, (Int32*)param);
|
|
}
|
|
|
|
public static
|
|
void TexBumpParameter(OpenTK.Graphics.All pname, Single[] param)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* param_ptr = param)
|
|
{
|
|
Delegates.glTexBumpParameterfvATI((OpenTK.Graphics.All)pname, (Single*)param_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexBumpParameter(OpenTK.Graphics.All pname, ref Single param)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* param_ptr = ¶m)
|
|
{
|
|
Delegates.glTexBumpParameterfvATI((OpenTK.Graphics.All)pname, (Single*)param_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexBumpParameter(OpenTK.Graphics.All pname, Single* param)
|
|
{
|
|
Delegates.glTexBumpParameterfvATI((OpenTK.Graphics.All)pname, (Single*)param);
|
|
}
|
|
|
|
public static
|
|
void GetTexBumpParameter(OpenTK.Graphics.All pname, [Out] Int32[] param)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* param_ptr = param)
|
|
{
|
|
Delegates.glGetTexBumpParameterivATI((OpenTK.Graphics.All)pname, (Int32*)param_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetTexBumpParameter(OpenTK.Graphics.All pname, [Out] out Int32 param)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* param_ptr = ¶m)
|
|
{
|
|
Delegates.glGetTexBumpParameterivATI((OpenTK.Graphics.All)pname, (Int32*)param_ptr);
|
|
param = *param_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetTexBumpParameter(OpenTK.Graphics.All pname, [Out] Int32* param)
|
|
{
|
|
Delegates.glGetTexBumpParameterivATI((OpenTK.Graphics.All)pname, (Int32*)param);
|
|
}
|
|
|
|
public static
|
|
void GetTexBumpParameter(OpenTK.Graphics.All pname, [Out] Single[] param)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* param_ptr = param)
|
|
{
|
|
Delegates.glGetTexBumpParameterfvATI((OpenTK.Graphics.All)pname, (Single*)param_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetTexBumpParameter(OpenTK.Graphics.All pname, [Out] out Single param)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* param_ptr = ¶m)
|
|
{
|
|
Delegates.glGetTexBumpParameterfvATI((OpenTK.Graphics.All)pname, (Single*)param_ptr);
|
|
param = *param_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetTexBumpParameter(OpenTK.Graphics.All pname, [Out] Single* param)
|
|
{
|
|
Delegates.glGetTexBumpParameterfvATI((OpenTK.Graphics.All)pname, (Single*)param);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
Int32 GenFragmentShaders(UInt32 range)
|
|
{
|
|
return Delegates.glGenFragmentShadersATI((UInt32)range);
|
|
}
|
|
|
|
public static
|
|
Int32 GenFragmentShaders(Int32 range)
|
|
{
|
|
return Delegates.glGenFragmentShadersATI((UInt32)range);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void BindFragmentShader(UInt32 id)
|
|
{
|
|
Delegates.glBindFragmentShaderATI((UInt32)id);
|
|
}
|
|
|
|
public static
|
|
void BindFragmentShader(Int32 id)
|
|
{
|
|
Delegates.glBindFragmentShaderATI((UInt32)id);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DeleteFragmentShader(UInt32 id)
|
|
{
|
|
Delegates.glDeleteFragmentShaderATI((UInt32)id);
|
|
}
|
|
|
|
public static
|
|
void DeleteFragmentShader(Int32 id)
|
|
{
|
|
Delegates.glDeleteFragmentShaderATI((UInt32)id);
|
|
}
|
|
|
|
public static
|
|
void BeginFragmentShader()
|
|
{
|
|
Delegates.glBeginFragmentShaderATI();
|
|
}
|
|
|
|
public static
|
|
void EndFragmentShader()
|
|
{
|
|
Delegates.glEndFragmentShaderATI();
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void PassTexCoor(UInt32 dst, UInt32 coord, OpenTK.Graphics.All swizzle)
|
|
{
|
|
Delegates.glPassTexCoordATI((UInt32)dst, (UInt32)coord, (OpenTK.Graphics.All)swizzle);
|
|
}
|
|
|
|
public static
|
|
void PassTexCoor(Int32 dst, Int32 coord, OpenTK.Graphics.All swizzle)
|
|
{
|
|
Delegates.glPassTexCoordATI((UInt32)dst, (UInt32)coord, (OpenTK.Graphics.All)swizzle);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void SampleMap(UInt32 dst, UInt32 interp, OpenTK.Graphics.All swizzle)
|
|
{
|
|
Delegates.glSampleMapATI((UInt32)dst, (UInt32)interp, (OpenTK.Graphics.All)swizzle);
|
|
}
|
|
|
|
public static
|
|
void SampleMap(Int32 dst, Int32 interp, OpenTK.Graphics.All swizzle)
|
|
{
|
|
Delegates.glSampleMapATI((UInt32)dst, (UInt32)interp, (OpenTK.Graphics.All)swizzle);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ColorFragmentOp1(OpenTK.Graphics.All op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod)
|
|
{
|
|
Delegates.glColorFragmentOp1ATI((OpenTK.Graphics.All)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod);
|
|
}
|
|
|
|
public static
|
|
void ColorFragmentOp1(OpenTK.Graphics.All op, Int32 dst, Int32 dstMask, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod)
|
|
{
|
|
Delegates.glColorFragmentOp1ATI((OpenTK.Graphics.All)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ColorFragmentOp2(OpenTK.Graphics.All op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod)
|
|
{
|
|
Delegates.glColorFragmentOp2ATI((OpenTK.Graphics.All)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod);
|
|
}
|
|
|
|
public static
|
|
void ColorFragmentOp2(OpenTK.Graphics.All op, Int32 dst, Int32 dstMask, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod, Int32 arg2, Int32 arg2Rep, Int32 arg2Mod)
|
|
{
|
|
Delegates.glColorFragmentOp2ATI((OpenTK.Graphics.All)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ColorFragmentOp3(OpenTK.Graphics.All op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod, UInt32 arg3, UInt32 arg3Rep, UInt32 arg3Mod)
|
|
{
|
|
Delegates.glColorFragmentOp3ATI((OpenTK.Graphics.All)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod, (UInt32)arg3, (UInt32)arg3Rep, (UInt32)arg3Mod);
|
|
}
|
|
|
|
public static
|
|
void ColorFragmentOp3(OpenTK.Graphics.All op, Int32 dst, Int32 dstMask, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod, Int32 arg2, Int32 arg2Rep, Int32 arg2Mod, Int32 arg3, Int32 arg3Rep, Int32 arg3Mod)
|
|
{
|
|
Delegates.glColorFragmentOp3ATI((OpenTK.Graphics.All)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod, (UInt32)arg3, (UInt32)arg3Rep, (UInt32)arg3Mod);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void AlphaFragmentOp1(OpenTK.Graphics.All op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod)
|
|
{
|
|
Delegates.glAlphaFragmentOp1ATI((OpenTK.Graphics.All)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod);
|
|
}
|
|
|
|
public static
|
|
void AlphaFragmentOp1(OpenTK.Graphics.All op, Int32 dst, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod)
|
|
{
|
|
Delegates.glAlphaFragmentOp1ATI((OpenTK.Graphics.All)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void AlphaFragmentOp2(OpenTK.Graphics.All op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod)
|
|
{
|
|
Delegates.glAlphaFragmentOp2ATI((OpenTK.Graphics.All)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod);
|
|
}
|
|
|
|
public static
|
|
void AlphaFragmentOp2(OpenTK.Graphics.All op, Int32 dst, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod, Int32 arg2, Int32 arg2Rep, Int32 arg2Mod)
|
|
{
|
|
Delegates.glAlphaFragmentOp2ATI((OpenTK.Graphics.All)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void AlphaFragmentOp3(OpenTK.Graphics.All op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod, UInt32 arg3, UInt32 arg3Rep, UInt32 arg3Mod)
|
|
{
|
|
Delegates.glAlphaFragmentOp3ATI((OpenTK.Graphics.All)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod, (UInt32)arg3, (UInt32)arg3Rep, (UInt32)arg3Mod);
|
|
}
|
|
|
|
public static
|
|
void AlphaFragmentOp3(OpenTK.Graphics.All op, Int32 dst, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod, Int32 arg2, Int32 arg2Rep, Int32 arg2Mod, Int32 arg3, Int32 arg3Rep, Int32 arg3Mod)
|
|
{
|
|
Delegates.glAlphaFragmentOp3ATI((OpenTK.Graphics.All)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod, (UInt32)arg3, (UInt32)arg3Rep, (UInt32)arg3Mod);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void SetFragmentShaderConstant(UInt32 dst, Single[] value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = value)
|
|
{
|
|
Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void SetFragmentShaderConstant(Int32 dst, Single[] value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = value)
|
|
{
|
|
Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void SetFragmentShaderConstant(UInt32 dst, ref Single value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = &value)
|
|
{
|
|
Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void SetFragmentShaderConstant(Int32 dst, ref Single value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = &value)
|
|
{
|
|
Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void SetFragmentShaderConstant(UInt32 dst, Single* value)
|
|
{
|
|
Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void SetFragmentShaderConstant(Int32 dst, Single* value)
|
|
{
|
|
Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value);
|
|
}
|
|
|
|
public static
|
|
void PNTriangles(OpenTK.Graphics.All pname, Int32 param)
|
|
{
|
|
Delegates.glPNTrianglesiATI((OpenTK.Graphics.All)pname, (Int32)param);
|
|
}
|
|
|
|
public static
|
|
void PNTriangles(OpenTK.Graphics.All pname, Single param)
|
|
{
|
|
Delegates.glPNTrianglesfATI((OpenTK.Graphics.All)pname, (Single)param);
|
|
}
|
|
|
|
public static
|
|
Int32 NewObjectBuffer(Int32 size, IntPtr pointer, OpenTK.Graphics.All usage)
|
|
{
|
|
unsafe
|
|
{
|
|
return Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer, (OpenTK.Graphics.All)usage);
|
|
}
|
|
}
|
|
|
|
public static
|
|
Int32 NewObjectBuffer(Int32 size, [In, Out] object pointer, OpenTK.Graphics.All usage)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
return Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.All)usage);
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
bool IsObjectBuffer(UInt32 buffer)
|
|
{
|
|
return Delegates.glIsObjectBufferATI((UInt32)buffer);
|
|
}
|
|
|
|
public static
|
|
bool IsObjectBuffer(Int32 buffer)
|
|
{
|
|
return Delegates.glIsObjectBufferATI((UInt32)buffer);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, IntPtr pointer, OpenTK.Graphics.All preserve)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer, (OpenTK.Graphics.All)preserve);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, IntPtr pointer, OpenTK.Graphics.All preserve)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer, (OpenTK.Graphics.All)preserve);
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, [In, Out] object pointer, OpenTK.Graphics.All preserve)
|
|
{
|
|
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, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.All)preserve);
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, [In, Out] object pointer, OpenTK.Graphics.All preserve)
|
|
{
|
|
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, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.All)preserve);
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetObjectBuffer(UInt32 buffer, OpenTK.Graphics.All pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetObjectBufferfvATI((UInt32)buffer, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetObjectBuffer(Int32 buffer, OpenTK.Graphics.All pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetObjectBufferfvATI((UInt32)buffer, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetObjectBuffer(UInt32 buffer, OpenTK.Graphics.All pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetObjectBufferfvATI((UInt32)buffer, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetObjectBuffer(Int32 buffer, OpenTK.Graphics.All pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetObjectBufferfvATI((UInt32)buffer, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetObjectBuffer(UInt32 buffer, OpenTK.Graphics.All pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetObjectBufferfvATI((UInt32)buffer, (OpenTK.Graphics.All)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetObjectBuffer(Int32 buffer, OpenTK.Graphics.All pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetObjectBufferfvATI((UInt32)buffer, (OpenTK.Graphics.All)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetObjectBuffer(UInt32 buffer, OpenTK.Graphics.All pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetObjectBufferivATI((UInt32)buffer, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetObjectBuffer(Int32 buffer, OpenTK.Graphics.All pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetObjectBufferivATI((UInt32)buffer, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetObjectBuffer(UInt32 buffer, OpenTK.Graphics.All pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetObjectBufferivATI((UInt32)buffer, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetObjectBuffer(Int32 buffer, OpenTK.Graphics.All pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetObjectBufferivATI((UInt32)buffer, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetObjectBuffer(UInt32 buffer, OpenTK.Graphics.All pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetObjectBufferivATI((UInt32)buffer, (OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetObjectBuffer(Int32 buffer, OpenTK.Graphics.All pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetObjectBufferivATI((UInt32)buffer, (OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void FreeObjectBuffer(UInt32 buffer)
|
|
{
|
|
Delegates.glFreeObjectBufferATI((UInt32)buffer);
|
|
}
|
|
|
|
public static
|
|
void FreeObjectBuffer(Int32 buffer)
|
|
{
|
|
Delegates.glFreeObjectBufferATI((UInt32)buffer);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ArrayObject(OpenTK.Graphics.EnableCap array, Int32 size, OpenTK.Graphics.All type, Int32 stride, UInt32 buffer, UInt32 offset)
|
|
{
|
|
Delegates.glArrayObjectATI((OpenTK.Graphics.EnableCap)array, (Int32)size, (OpenTK.Graphics.All)type, (Int32)stride, (UInt32)buffer, (UInt32)offset);
|
|
}
|
|
|
|
public static
|
|
void ArrayObject(OpenTK.Graphics.EnableCap array, Int32 size, OpenTK.Graphics.All type, Int32 stride, Int32 buffer, Int32 offset)
|
|
{
|
|
Delegates.glArrayObjectATI((OpenTK.Graphics.EnableCap)array, (Int32)size, (OpenTK.Graphics.All)type, (Int32)stride, (UInt32)buffer, (UInt32)offset);
|
|
}
|
|
|
|
public static
|
|
void GetArrayObject(OpenTK.Graphics.EnableCap array, OpenTK.Graphics.All pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetArrayObjectfvATI((OpenTK.Graphics.EnableCap)array, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetArrayObject(OpenTK.Graphics.EnableCap array, OpenTK.Graphics.All pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetArrayObjectfvATI((OpenTK.Graphics.EnableCap)array, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetArrayObject(OpenTK.Graphics.EnableCap array, OpenTK.Graphics.All pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetArrayObjectfvATI((OpenTK.Graphics.EnableCap)array, (OpenTK.Graphics.All)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetArrayObject(OpenTK.Graphics.EnableCap array, OpenTK.Graphics.All pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetArrayObjectivATI((OpenTK.Graphics.EnableCap)array, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetArrayObject(OpenTK.Graphics.EnableCap array, OpenTK.Graphics.All pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetArrayObjectivATI((OpenTK.Graphics.EnableCap)array, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetArrayObject(OpenTK.Graphics.EnableCap array, OpenTK.Graphics.All pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetArrayObjectivATI((OpenTK.Graphics.EnableCap)array, (OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VariantArrayObject(UInt32 id, OpenTK.Graphics.All type, Int32 stride, UInt32 buffer, UInt32 offset)
|
|
{
|
|
Delegates.glVariantArrayObjectATI((UInt32)id, (OpenTK.Graphics.All)type, (Int32)stride, (UInt32)buffer, (UInt32)offset);
|
|
}
|
|
|
|
public static
|
|
void VariantArrayObject(Int32 id, OpenTK.Graphics.All type, Int32 stride, Int32 buffer, Int32 offset)
|
|
{
|
|
Delegates.glVariantArrayObjectATI((UInt32)id, (OpenTK.Graphics.All)type, (Int32)stride, (UInt32)buffer, (UInt32)offset);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVariantArrayObject(UInt32 id, OpenTK.Graphics.All pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVariantArrayObject(Int32 id, OpenTK.Graphics.All pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVariantArrayObject(UInt32 id, OpenTK.Graphics.All pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVariantArrayObject(Int32 id, OpenTK.Graphics.All pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVariantArrayObject(UInt32 id, OpenTK.Graphics.All pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (OpenTK.Graphics.All)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVariantArrayObject(Int32 id, OpenTK.Graphics.All pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (OpenTK.Graphics.All)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVariantArrayObject(UInt32 id, OpenTK.Graphics.All pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVariantArrayObjectivATI((UInt32)id, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVariantArrayObject(Int32 id, OpenTK.Graphics.All pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVariantArrayObjectivATI((UInt32)id, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVariantArrayObject(UInt32 id, OpenTK.Graphics.All pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVariantArrayObjectivATI((UInt32)id, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVariantArrayObject(Int32 id, OpenTK.Graphics.All pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVariantArrayObjectivATI((UInt32)id, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVariantArrayObject(UInt32 id, OpenTK.Graphics.All pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetVariantArrayObjectivATI((UInt32)id, (OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVariantArrayObject(Int32 id, OpenTK.Graphics.All pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetVariantArrayObjectivATI((UInt32)id, (OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void VertexStream1(OpenTK.Graphics.All stream, Int16 x)
|
|
{
|
|
Delegates.glVertexStream1sATI((OpenTK.Graphics.All)stream, (Int16)x);
|
|
}
|
|
|
|
public static
|
|
void VertexStream1v(OpenTK.Graphics.All stream, Int16[] coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* coords_ptr = coords)
|
|
{
|
|
Delegates.glVertexStream1svATI((OpenTK.Graphics.All)stream, (Int16*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexStream1v(OpenTK.Graphics.All stream, ref Int16 coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* coords_ptr = &coords)
|
|
{
|
|
Delegates.glVertexStream1svATI((OpenTK.Graphics.All)stream, (Int16*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexStream1v(OpenTK.Graphics.All stream, Int16* coords)
|
|
{
|
|
Delegates.glVertexStream1svATI((OpenTK.Graphics.All)stream, (Int16*)coords);
|
|
}
|
|
|
|
public static
|
|
void VertexStream1(OpenTK.Graphics.All stream, Int32 x)
|
|
{
|
|
Delegates.glVertexStream1iATI((OpenTK.Graphics.All)stream, (Int32)x);
|
|
}
|
|
|
|
public static
|
|
void VertexStream1v(OpenTK.Graphics.All stream, Int32[] coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* coords_ptr = coords)
|
|
{
|
|
Delegates.glVertexStream1ivATI((OpenTK.Graphics.All)stream, (Int32*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexStream1v(OpenTK.Graphics.All stream, ref Int32 coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* coords_ptr = &coords)
|
|
{
|
|
Delegates.glVertexStream1ivATI((OpenTK.Graphics.All)stream, (Int32*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexStream1v(OpenTK.Graphics.All stream, Int32* coords)
|
|
{
|
|
Delegates.glVertexStream1ivATI((OpenTK.Graphics.All)stream, (Int32*)coords);
|
|
}
|
|
|
|
public static
|
|
void VertexStream1(OpenTK.Graphics.All stream, Single x)
|
|
{
|
|
Delegates.glVertexStream1fATI((OpenTK.Graphics.All)stream, (Single)x);
|
|
}
|
|
|
|
public static
|
|
void VertexStream1v(OpenTK.Graphics.All stream, Single[] coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* coords_ptr = coords)
|
|
{
|
|
Delegates.glVertexStream1fvATI((OpenTK.Graphics.All)stream, (Single*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexStream1v(OpenTK.Graphics.All stream, ref Single coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* coords_ptr = &coords)
|
|
{
|
|
Delegates.glVertexStream1fvATI((OpenTK.Graphics.All)stream, (Single*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexStream1v(OpenTK.Graphics.All stream, Single* coords)
|
|
{
|
|
Delegates.glVertexStream1fvATI((OpenTK.Graphics.All)stream, (Single*)coords);
|
|
}
|
|
|
|
public static
|
|
void VertexStream1(OpenTK.Graphics.All stream, Double x)
|
|
{
|
|
Delegates.glVertexStream1dATI((OpenTK.Graphics.All)stream, (Double)x);
|
|
}
|
|
|
|
public static
|
|
void VertexStream1v(OpenTK.Graphics.All stream, Double[] coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* coords_ptr = coords)
|
|
{
|
|
Delegates.glVertexStream1dvATI((OpenTK.Graphics.All)stream, (Double*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexStream1v(OpenTK.Graphics.All stream, ref Double coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* coords_ptr = &coords)
|
|
{
|
|
Delegates.glVertexStream1dvATI((OpenTK.Graphics.All)stream, (Double*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexStream1v(OpenTK.Graphics.All stream, Double* coords)
|
|
{
|
|
Delegates.glVertexStream1dvATI((OpenTK.Graphics.All)stream, (Double*)coords);
|
|
}
|
|
|
|
public static
|
|
void VertexStream2(OpenTK.Graphics.All stream, Int16 x, Int16 y)
|
|
{
|
|
Delegates.glVertexStream2sATI((OpenTK.Graphics.All)stream, (Int16)x, (Int16)y);
|
|
}
|
|
|
|
public static
|
|
void VertexStream2(OpenTK.Graphics.All stream, Int16[] coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* coords_ptr = coords)
|
|
{
|
|
Delegates.glVertexStream2svATI((OpenTK.Graphics.All)stream, (Int16*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexStream2(OpenTK.Graphics.All stream, ref Int16 coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* coords_ptr = &coords)
|
|
{
|
|
Delegates.glVertexStream2svATI((OpenTK.Graphics.All)stream, (Int16*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexStream2(OpenTK.Graphics.All stream, Int16* coords)
|
|
{
|
|
Delegates.glVertexStream2svATI((OpenTK.Graphics.All)stream, (Int16*)coords);
|
|
}
|
|
|
|
public static
|
|
void VertexStream2(OpenTK.Graphics.All stream, Int32 x, Int32 y)
|
|
{
|
|
Delegates.glVertexStream2iATI((OpenTK.Graphics.All)stream, (Int32)x, (Int32)y);
|
|
}
|
|
|
|
public static
|
|
void VertexStream2(OpenTK.Graphics.All stream, Int32[] coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* coords_ptr = coords)
|
|
{
|
|
Delegates.glVertexStream2ivATI((OpenTK.Graphics.All)stream, (Int32*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexStream2(OpenTK.Graphics.All stream, ref Int32 coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* coords_ptr = &coords)
|
|
{
|
|
Delegates.glVertexStream2ivATI((OpenTK.Graphics.All)stream, (Int32*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexStream2(OpenTK.Graphics.All stream, Int32* coords)
|
|
{
|
|
Delegates.glVertexStream2ivATI((OpenTK.Graphics.All)stream, (Int32*)coords);
|
|
}
|
|
|
|
public static
|
|
void VertexStream2(OpenTK.Graphics.All stream, Single x, Single y)
|
|
{
|
|
Delegates.glVertexStream2fATI((OpenTK.Graphics.All)stream, (Single)x, (Single)y);
|
|
}
|
|
|
|
public static
|
|
void VertexStream2(OpenTK.Graphics.All stream, Single[] coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* coords_ptr = coords)
|
|
{
|
|
Delegates.glVertexStream2fvATI((OpenTK.Graphics.All)stream, (Single*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexStream2(OpenTK.Graphics.All stream, ref Single coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* coords_ptr = &coords)
|
|
{
|
|
Delegates.glVertexStream2fvATI((OpenTK.Graphics.All)stream, (Single*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexStream2(OpenTK.Graphics.All stream, Single* coords)
|
|
{
|
|
Delegates.glVertexStream2fvATI((OpenTK.Graphics.All)stream, (Single*)coords);
|
|
}
|
|
|
|
public static
|
|
void VertexStream2(OpenTK.Graphics.All stream, Double x, Double y)
|
|
{
|
|
Delegates.glVertexStream2dATI((OpenTK.Graphics.All)stream, (Double)x, (Double)y);
|
|
}
|
|
|
|
public static
|
|
void VertexStream2(OpenTK.Graphics.All stream, Double[] coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* coords_ptr = coords)
|
|
{
|
|
Delegates.glVertexStream2dvATI((OpenTK.Graphics.All)stream, (Double*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexStream2(OpenTK.Graphics.All stream, ref Double coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* coords_ptr = &coords)
|
|
{
|
|
Delegates.glVertexStream2dvATI((OpenTK.Graphics.All)stream, (Double*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexStream2(OpenTK.Graphics.All stream, Double* coords)
|
|
{
|
|
Delegates.glVertexStream2dvATI((OpenTK.Graphics.All)stream, (Double*)coords);
|
|
}
|
|
|
|
public static
|
|
void VertexStream3(OpenTK.Graphics.All stream, Int16 x, Int16 y, Int16 z)
|
|
{
|
|
Delegates.glVertexStream3sATI((OpenTK.Graphics.All)stream, (Int16)x, (Int16)y, (Int16)z);
|
|
}
|
|
|
|
public static
|
|
void VertexStream3(OpenTK.Graphics.All stream, Int16[] coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* coords_ptr = coords)
|
|
{
|
|
Delegates.glVertexStream3svATI((OpenTK.Graphics.All)stream, (Int16*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexStream3(OpenTK.Graphics.All stream, ref Int16 coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* coords_ptr = &coords)
|
|
{
|
|
Delegates.glVertexStream3svATI((OpenTK.Graphics.All)stream, (Int16*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexStream3(OpenTK.Graphics.All stream, Int16* coords)
|
|
{
|
|
Delegates.glVertexStream3svATI((OpenTK.Graphics.All)stream, (Int16*)coords);
|
|
}
|
|
|
|
public static
|
|
void VertexStream3(OpenTK.Graphics.All stream, Int32 x, Int32 y, Int32 z)
|
|
{
|
|
Delegates.glVertexStream3iATI((OpenTK.Graphics.All)stream, (Int32)x, (Int32)y, (Int32)z);
|
|
}
|
|
|
|
public static
|
|
void VertexStream3(OpenTK.Graphics.All stream, Int32[] coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* coords_ptr = coords)
|
|
{
|
|
Delegates.glVertexStream3ivATI((OpenTK.Graphics.All)stream, (Int32*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexStream3(OpenTK.Graphics.All stream, ref Int32 coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* coords_ptr = &coords)
|
|
{
|
|
Delegates.glVertexStream3ivATI((OpenTK.Graphics.All)stream, (Int32*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexStream3(OpenTK.Graphics.All stream, Int32* coords)
|
|
{
|
|
Delegates.glVertexStream3ivATI((OpenTK.Graphics.All)stream, (Int32*)coords);
|
|
}
|
|
|
|
public static
|
|
void VertexStream3(OpenTK.Graphics.All stream, Single x, Single y, Single z)
|
|
{
|
|
Delegates.glVertexStream3fATI((OpenTK.Graphics.All)stream, (Single)x, (Single)y, (Single)z);
|
|
}
|
|
|
|
public static
|
|
void VertexStream3(OpenTK.Graphics.All stream, Single[] coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* coords_ptr = coords)
|
|
{
|
|
Delegates.glVertexStream3fvATI((OpenTK.Graphics.All)stream, (Single*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexStream3(OpenTK.Graphics.All stream, ref Single coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* coords_ptr = &coords)
|
|
{
|
|
Delegates.glVertexStream3fvATI((OpenTK.Graphics.All)stream, (Single*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexStream3(OpenTK.Graphics.All stream, Single* coords)
|
|
{
|
|
Delegates.glVertexStream3fvATI((OpenTK.Graphics.All)stream, (Single*)coords);
|
|
}
|
|
|
|
public static
|
|
void VertexStream3(OpenTK.Graphics.All stream, Double x, Double y, Double z)
|
|
{
|
|
Delegates.glVertexStream3dATI((OpenTK.Graphics.All)stream, (Double)x, (Double)y, (Double)z);
|
|
}
|
|
|
|
public static
|
|
void VertexStream3(OpenTK.Graphics.All stream, Double[] coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* coords_ptr = coords)
|
|
{
|
|
Delegates.glVertexStream3dvATI((OpenTK.Graphics.All)stream, (Double*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexStream3(OpenTK.Graphics.All stream, ref Double coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* coords_ptr = &coords)
|
|
{
|
|
Delegates.glVertexStream3dvATI((OpenTK.Graphics.All)stream, (Double*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexStream3(OpenTK.Graphics.All stream, Double* coords)
|
|
{
|
|
Delegates.glVertexStream3dvATI((OpenTK.Graphics.All)stream, (Double*)coords);
|
|
}
|
|
|
|
public static
|
|
void VertexStream4(OpenTK.Graphics.All stream, Int16 x, Int16 y, Int16 z, Int16 w)
|
|
{
|
|
Delegates.glVertexStream4sATI((OpenTK.Graphics.All)stream, (Int16)x, (Int16)y, (Int16)z, (Int16)w);
|
|
}
|
|
|
|
public static
|
|
void VertexStream4(OpenTK.Graphics.All stream, Int16[] coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* coords_ptr = coords)
|
|
{
|
|
Delegates.glVertexStream4svATI((OpenTK.Graphics.All)stream, (Int16*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexStream4(OpenTK.Graphics.All stream, ref Int16 coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* coords_ptr = &coords)
|
|
{
|
|
Delegates.glVertexStream4svATI((OpenTK.Graphics.All)stream, (Int16*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexStream4(OpenTK.Graphics.All stream, Int16* coords)
|
|
{
|
|
Delegates.glVertexStream4svATI((OpenTK.Graphics.All)stream, (Int16*)coords);
|
|
}
|
|
|
|
public static
|
|
void VertexStream4(OpenTK.Graphics.All stream, Int32 x, Int32 y, Int32 z, Int32 w)
|
|
{
|
|
Delegates.glVertexStream4iATI((OpenTK.Graphics.All)stream, (Int32)x, (Int32)y, (Int32)z, (Int32)w);
|
|
}
|
|
|
|
public static
|
|
void VertexStream4(OpenTK.Graphics.All stream, Int32[] coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* coords_ptr = coords)
|
|
{
|
|
Delegates.glVertexStream4ivATI((OpenTK.Graphics.All)stream, (Int32*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexStream4(OpenTK.Graphics.All stream, ref Int32 coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* coords_ptr = &coords)
|
|
{
|
|
Delegates.glVertexStream4ivATI((OpenTK.Graphics.All)stream, (Int32*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexStream4(OpenTK.Graphics.All stream, Int32* coords)
|
|
{
|
|
Delegates.glVertexStream4ivATI((OpenTK.Graphics.All)stream, (Int32*)coords);
|
|
}
|
|
|
|
public static
|
|
void VertexStream4(OpenTK.Graphics.All stream, Single x, Single y, Single z, Single w)
|
|
{
|
|
Delegates.glVertexStream4fATI((OpenTK.Graphics.All)stream, (Single)x, (Single)y, (Single)z, (Single)w);
|
|
}
|
|
|
|
public static
|
|
void VertexStream4(OpenTK.Graphics.All stream, Single[] coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* coords_ptr = coords)
|
|
{
|
|
Delegates.glVertexStream4fvATI((OpenTK.Graphics.All)stream, (Single*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexStream4(OpenTK.Graphics.All stream, ref Single coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* coords_ptr = &coords)
|
|
{
|
|
Delegates.glVertexStream4fvATI((OpenTK.Graphics.All)stream, (Single*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexStream4(OpenTK.Graphics.All stream, Single* coords)
|
|
{
|
|
Delegates.glVertexStream4fvATI((OpenTK.Graphics.All)stream, (Single*)coords);
|
|
}
|
|
|
|
public static
|
|
void VertexStream4(OpenTK.Graphics.All stream, Double x, Double y, Double z, Double w)
|
|
{
|
|
Delegates.glVertexStream4dATI((OpenTK.Graphics.All)stream, (Double)x, (Double)y, (Double)z, (Double)w);
|
|
}
|
|
|
|
public static
|
|
void VertexStream4(OpenTK.Graphics.All stream, Double[] coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* coords_ptr = coords)
|
|
{
|
|
Delegates.glVertexStream4dvATI((OpenTK.Graphics.All)stream, (Double*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexStream4(OpenTK.Graphics.All stream, ref Double coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* coords_ptr = &coords)
|
|
{
|
|
Delegates.glVertexStream4dvATI((OpenTK.Graphics.All)stream, (Double*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexStream4(OpenTK.Graphics.All stream, Double* coords)
|
|
{
|
|
Delegates.glVertexStream4dvATI((OpenTK.Graphics.All)stream, (Double*)coords);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void NormalStream3(OpenTK.Graphics.All stream, SByte nx, SByte ny, SByte nz)
|
|
{
|
|
Delegates.glNormalStream3bATI((OpenTK.Graphics.All)stream, (SByte)nx, (SByte)ny, (SByte)nz);
|
|
}
|
|
|
|
public static
|
|
void NormalStream3(OpenTK.Graphics.All stream, Byte nx, Byte ny, Byte nz)
|
|
{
|
|
Delegates.glNormalStream3bATI((OpenTK.Graphics.All)stream, (SByte)nx, (SByte)ny, (SByte)nz);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void NormalStream3(OpenTK.Graphics.All stream, SByte[] coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (SByte* coords_ptr = coords)
|
|
{
|
|
Delegates.glNormalStream3bvATI((OpenTK.Graphics.All)stream, (SByte*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void NormalStream3(OpenTK.Graphics.All stream, Byte[] coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* coords_ptr = coords)
|
|
{
|
|
Delegates.glNormalStream3bvATI((OpenTK.Graphics.All)stream, (SByte*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void NormalStream3(OpenTK.Graphics.All stream, ref SByte coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (SByte* coords_ptr = &coords)
|
|
{
|
|
Delegates.glNormalStream3bvATI((OpenTK.Graphics.All)stream, (SByte*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void NormalStream3(OpenTK.Graphics.All stream, ref Byte coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* coords_ptr = &coords)
|
|
{
|
|
Delegates.glNormalStream3bvATI((OpenTK.Graphics.All)stream, (SByte*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void NormalStream3(OpenTK.Graphics.All stream, SByte* coords)
|
|
{
|
|
Delegates.glNormalStream3bvATI((OpenTK.Graphics.All)stream, (SByte*)coords);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void NormalStream3(OpenTK.Graphics.All stream, Byte* coords)
|
|
{
|
|
Delegates.glNormalStream3bvATI((OpenTK.Graphics.All)stream, (SByte*)coords);
|
|
}
|
|
|
|
public static
|
|
void NormalStream3(OpenTK.Graphics.All stream, Int16 nx, Int16 ny, Int16 nz)
|
|
{
|
|
Delegates.glNormalStream3sATI((OpenTK.Graphics.All)stream, (Int16)nx, (Int16)ny, (Int16)nz);
|
|
}
|
|
|
|
public static
|
|
void NormalStream3(OpenTK.Graphics.All stream, Int16[] coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* coords_ptr = coords)
|
|
{
|
|
Delegates.glNormalStream3svATI((OpenTK.Graphics.All)stream, (Int16*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void NormalStream3(OpenTK.Graphics.All stream, ref Int16 coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* coords_ptr = &coords)
|
|
{
|
|
Delegates.glNormalStream3svATI((OpenTK.Graphics.All)stream, (Int16*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void NormalStream3(OpenTK.Graphics.All stream, Int16* coords)
|
|
{
|
|
Delegates.glNormalStream3svATI((OpenTK.Graphics.All)stream, (Int16*)coords);
|
|
}
|
|
|
|
public static
|
|
void NormalStream3(OpenTK.Graphics.All stream, Int32 nx, Int32 ny, Int32 nz)
|
|
{
|
|
Delegates.glNormalStream3iATI((OpenTK.Graphics.All)stream, (Int32)nx, (Int32)ny, (Int32)nz);
|
|
}
|
|
|
|
public static
|
|
void NormalStream3(OpenTK.Graphics.All stream, Int32[] coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* coords_ptr = coords)
|
|
{
|
|
Delegates.glNormalStream3ivATI((OpenTK.Graphics.All)stream, (Int32*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void NormalStream3(OpenTK.Graphics.All stream, ref Int32 coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* coords_ptr = &coords)
|
|
{
|
|
Delegates.glNormalStream3ivATI((OpenTK.Graphics.All)stream, (Int32*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void NormalStream3(OpenTK.Graphics.All stream, Int32* coords)
|
|
{
|
|
Delegates.glNormalStream3ivATI((OpenTK.Graphics.All)stream, (Int32*)coords);
|
|
}
|
|
|
|
public static
|
|
void NormalStream3(OpenTK.Graphics.All stream, Single nx, Single ny, Single nz)
|
|
{
|
|
Delegates.glNormalStream3fATI((OpenTK.Graphics.All)stream, (Single)nx, (Single)ny, (Single)nz);
|
|
}
|
|
|
|
public static
|
|
void NormalStream3(OpenTK.Graphics.All stream, Single[] coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* coords_ptr = coords)
|
|
{
|
|
Delegates.glNormalStream3fvATI((OpenTK.Graphics.All)stream, (Single*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void NormalStream3(OpenTK.Graphics.All stream, ref Single coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* coords_ptr = &coords)
|
|
{
|
|
Delegates.glNormalStream3fvATI((OpenTK.Graphics.All)stream, (Single*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void NormalStream3(OpenTK.Graphics.All stream, Single* coords)
|
|
{
|
|
Delegates.glNormalStream3fvATI((OpenTK.Graphics.All)stream, (Single*)coords);
|
|
}
|
|
|
|
public static
|
|
void NormalStream3(OpenTK.Graphics.All stream, Double nx, Double ny, Double nz)
|
|
{
|
|
Delegates.glNormalStream3dATI((OpenTK.Graphics.All)stream, (Double)nx, (Double)ny, (Double)nz);
|
|
}
|
|
|
|
public static
|
|
void NormalStream3(OpenTK.Graphics.All stream, Double[] coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* coords_ptr = coords)
|
|
{
|
|
Delegates.glNormalStream3dvATI((OpenTK.Graphics.All)stream, (Double*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void NormalStream3(OpenTK.Graphics.All stream, ref Double coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* coords_ptr = &coords)
|
|
{
|
|
Delegates.glNormalStream3dvATI((OpenTK.Graphics.All)stream, (Double*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void NormalStream3(OpenTK.Graphics.All stream, Double* coords)
|
|
{
|
|
Delegates.glNormalStream3dvATI((OpenTK.Graphics.All)stream, (Double*)coords);
|
|
}
|
|
|
|
public static
|
|
void ClientActiveVertexStream(OpenTK.Graphics.All stream)
|
|
{
|
|
Delegates.glClientActiveVertexStreamATI((OpenTK.Graphics.All)stream);
|
|
}
|
|
|
|
public static
|
|
void VertexBlendEnv(OpenTK.Graphics.All pname, Int32 param)
|
|
{
|
|
Delegates.glVertexBlendEnviATI((OpenTK.Graphics.All)pname, (Int32)param);
|
|
}
|
|
|
|
public static
|
|
void VertexBlendEnv(OpenTK.Graphics.All pname, Single param)
|
|
{
|
|
Delegates.glVertexBlendEnvfATI((OpenTK.Graphics.All)pname, (Single)param);
|
|
}
|
|
|
|
public static
|
|
void ElementPointer(OpenTK.Graphics.All type, IntPtr pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glElementPointerATI((OpenTK.Graphics.All)type, (IntPtr)pointer);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ElementPointer(OpenTK.Graphics.All type, [In, Out] object pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glElementPointerATI((OpenTK.Graphics.All)type, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DrawElementArray(OpenTK.Graphics.BeginMode mode, Int32 count)
|
|
{
|
|
Delegates.glDrawElementArrayATI((OpenTK.Graphics.BeginMode)mode, (Int32)count);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DrawRangeElementArray(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count)
|
|
{
|
|
Delegates.glDrawRangeElementArrayATI((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count);
|
|
}
|
|
|
|
public static
|
|
void DrawRangeElementArray(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count)
|
|
{
|
|
Delegates.glDrawRangeElementArrayATI((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count);
|
|
}
|
|
|
|
public static
|
|
void DrawBuffers(Int32 n, OpenTK.Graphics.All[] bufs)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (OpenTK.Graphics.All* bufs_ptr = bufs)
|
|
{
|
|
Delegates.glDrawBuffersATI((Int32)n, (OpenTK.Graphics.All*)bufs_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DrawBuffers(Int32 n, ref OpenTK.Graphics.All bufs)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (OpenTK.Graphics.All* bufs_ptr = &bufs)
|
|
{
|
|
Delegates.glDrawBuffersATI((Int32)n, (OpenTK.Graphics.All*)bufs_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.All* bufs)
|
|
{
|
|
Delegates.glDrawBuffersATI((Int32)n, (OpenTK.Graphics.All*)bufs);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe IntPtr MapObjectBuffer(UInt32 buffer)
|
|
{
|
|
return Delegates.glMapObjectBufferATI((UInt32)buffer);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe IntPtr MapObjectBuffer(Int32 buffer)
|
|
{
|
|
return Delegates.glMapObjectBufferATI((UInt32)buffer);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void UnmapObjectBuffer(UInt32 buffer)
|
|
{
|
|
Delegates.glUnmapObjectBufferATI((UInt32)buffer);
|
|
}
|
|
|
|
public static
|
|
void UnmapObjectBuffer(Int32 buffer)
|
|
{
|
|
Delegates.glUnmapObjectBufferATI((UInt32)buffer);
|
|
}
|
|
|
|
public static
|
|
void StencilOpSeparate(OpenTK.Graphics.All face, OpenTK.Graphics.StencilOp sfail, OpenTK.Graphics.StencilOp dpfail, OpenTK.Graphics.StencilOp dppass)
|
|
{
|
|
Delegates.glStencilOpSeparateATI((OpenTK.Graphics.All)face, (OpenTK.Graphics.StencilOp)sfail, (OpenTK.Graphics.StencilOp)dpfail, (OpenTK.Graphics.StencilOp)dppass);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void StencilFuncSeparate(OpenTK.Graphics.StencilFunction frontfunc, OpenTK.Graphics.StencilFunction backfunc, Int32 @ref, UInt32 mask)
|
|
{
|
|
Delegates.glStencilFuncSeparateATI((OpenTK.Graphics.StencilFunction)frontfunc, (OpenTK.Graphics.StencilFunction)backfunc, (Int32)@ref, (UInt32)mask);
|
|
}
|
|
|
|
public static
|
|
void StencilFuncSeparate(OpenTK.Graphics.StencilFunction frontfunc, OpenTK.Graphics.StencilFunction backfunc, Int32 @ref, Int32 mask)
|
|
{
|
|
Delegates.glStencilFuncSeparateATI((OpenTK.Graphics.StencilFunction)frontfunc, (OpenTK.Graphics.StencilFunction)backfunc, (Int32)@ref, (UInt32)mask);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribArrayObject(UInt32 index, Int32 size, OpenTK.Graphics.All type, bool normalized, Int32 stride, UInt32 buffer, UInt32 offset)
|
|
{
|
|
Delegates.glVertexAttribArrayObjectATI((UInt32)index, (Int32)size, (OpenTK.Graphics.All)type, (bool)normalized, (Int32)stride, (UInt32)buffer, (UInt32)offset);
|
|
}
|
|
|
|
public static
|
|
void VertexAttribArrayObject(Int32 index, Int32 size, OpenTK.Graphics.All type, bool normalized, Int32 stride, Int32 buffer, Int32 offset)
|
|
{
|
|
Delegates.glVertexAttribArrayObjectATI((UInt32)index, (Int32)size, (OpenTK.Graphics.All)type, (bool)normalized, (Int32)stride, (UInt32)buffer, (UInt32)offset);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttribArrayObject(UInt32 index, OpenTK.Graphics.All pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttribArrayObject(Int32 index, OpenTK.Graphics.All pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttribArrayObject(UInt32 index, OpenTK.Graphics.All pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttribArrayObject(Int32 index, OpenTK.Graphics.All pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (OpenTK.Graphics.All)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVertexAttribArrayObject(UInt32 index, OpenTK.Graphics.All pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (OpenTK.Graphics.All)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVertexAttribArrayObject(Int32 index, OpenTK.Graphics.All pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (OpenTK.Graphics.All)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttribArrayObject(UInt32 index, OpenTK.Graphics.All pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttribArrayObject(Int32 index, OpenTK.Graphics.All pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttribArrayObject(UInt32 index, OpenTK.Graphics.All pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttribArrayObject(Int32 index, OpenTK.Graphics.All pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (OpenTK.Graphics.All)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVertexAttribArrayObject(UInt32 index, OpenTK.Graphics.All pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVertexAttribArrayObject(Int32 index, OpenTK.Graphics.All pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (OpenTK.Graphics.All)pname, (Int32*)@params);
|
|
}
|
|
|
|
}
|
|
|
|
public static partial class Apple
|
|
{
|
|
public static
|
|
void ElementPointer(OpenTK.Graphics.All type, IntPtr pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glElementPointerAPPLE((OpenTK.Graphics.All)type, (IntPtr)pointer);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ElementPointer(OpenTK.Graphics.All type, [In, Out] object pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glElementPointerAPPLE((OpenTK.Graphics.All)type, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DrawElementArray(OpenTK.Graphics.BeginMode mode, Int32 first, Int32 count)
|
|
{
|
|
Delegates.glDrawElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (Int32)first, (Int32)count);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DrawRangeElementArray(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 first, Int32 count)
|
|
{
|
|
Delegates.glDrawRangeElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)first, (Int32)count);
|
|
}
|
|
|
|
public static
|
|
void DrawRangeElementArray(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 first, Int32 count)
|
|
{
|
|
Delegates.glDrawRangeElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)first, (Int32)count);
|
|
}
|
|
|
|
public static
|
|
void MultiDrawElementArray(OpenTK.Graphics.BeginMode mode, Int32[] first, Int32[] count, Int32 primcount)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* first_ptr = first)
|
|
fixed (Int32* count_ptr = count)
|
|
{
|
|
Delegates.glMultiDrawElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiDrawElementArray(OpenTK.Graphics.BeginMode mode, ref Int32 first, ref Int32 count, Int32 primcount)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* first_ptr = &first)
|
|
fixed (Int32* count_ptr = &count)
|
|
{
|
|
Delegates.glMultiDrawElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiDrawElementArray(OpenTK.Graphics.BeginMode mode, Int32* first, Int32* count, Int32 primcount)
|
|
{
|
|
Delegates.glMultiDrawElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (Int32*)first, (Int32*)count, (Int32)primcount);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void MultiDrawRangeElementArray(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32[] first, Int32[] count, Int32 primcount)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* first_ptr = first)
|
|
fixed (Int32* count_ptr = count)
|
|
{
|
|
Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiDrawRangeElementArray(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32[] first, Int32[] count, Int32 primcount)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* first_ptr = first)
|
|
fixed (Int32* count_ptr = count)
|
|
{
|
|
Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void MultiDrawRangeElementArray(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, ref Int32 first, ref Int32 count, Int32 primcount)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* first_ptr = &first)
|
|
fixed (Int32* count_ptr = &count)
|
|
{
|
|
Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiDrawRangeElementArray(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, ref Int32 first, ref Int32 count, Int32 primcount)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* first_ptr = &first)
|
|
fixed (Int32* count_ptr = &count)
|
|
{
|
|
Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiDrawRangeElementArray(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32* first, Int32* count, Int32 primcount)
|
|
{
|
|
Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first, (Int32*)count, (Int32)primcount);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiDrawRangeElementArray(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32* first, Int32* count, Int32 primcount)
|
|
{
|
|
Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first, (Int32*)count, (Int32)primcount);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GenFences(Int32 n, [Out] UInt32[] fences)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* fences_ptr = fences)
|
|
{
|
|
Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GenFences(Int32 n, [Out] Int32[] fences)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* fences_ptr = fences)
|
|
{
|
|
Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GenFences(Int32 n, [Out] out UInt32 fences)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* fences_ptr = &fences)
|
|
{
|
|
Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences_ptr);
|
|
fences = *fences_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GenFences(Int32 n, [Out] out Int32 fences)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* fences_ptr = &fences)
|
|
{
|
|
Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences_ptr);
|
|
fences = *fences_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GenFences(Int32 n, [Out] UInt32* fences)
|
|
{
|
|
Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GenFences(Int32 n, [Out] Int32* fences)
|
|
{
|
|
Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DeleteFences(Int32 n, UInt32[] fences)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* fences_ptr = fences)
|
|
{
|
|
Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DeleteFences(Int32 n, Int32[] fences)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* fences_ptr = fences)
|
|
{
|
|
Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DeleteFences(Int32 n, ref UInt32 fences)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* fences_ptr = &fences)
|
|
{
|
|
Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DeleteFences(Int32 n, ref Int32 fences)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* fences_ptr = &fences)
|
|
{
|
|
Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void DeleteFences(Int32 n, UInt32* fences)
|
|
{
|
|
Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void DeleteFences(Int32 n, Int32* fences)
|
|
{
|
|
Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void SetFence(UInt32 fence)
|
|
{
|
|
Delegates.glSetFenceAPPLE((UInt32)fence);
|
|
}
|
|
|
|
public static
|
|
void SetFence(Int32 fence)
|
|
{
|
|
Delegates.glSetFenceAPPLE((UInt32)fence);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
bool IsFence(UInt32 fence)
|
|
{
|
|
return Delegates.glIsFenceAPPLE((UInt32)fence);
|
|
}
|
|
|
|
public static
|
|
bool IsFence(Int32 fence)
|
|
{
|
|
return Delegates.glIsFenceAPPLE((UInt32)fence);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
bool TestFence(UInt32 fence)
|
|
{
|
|
return Delegates.glTestFenceAPPLE((UInt32)fence);
|
|
}
|
|
|
|
public static
|
|
bool TestFence(Int32 fence)
|
|
{
|
|
return Delegates.glTestFenceAPPLE((UInt32)fence);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void FinishFence(UInt32 fence)
|
|
{
|
|
Delegates.glFinishFenceAPPLE((UInt32)fence);
|
|
}
|
|
|
|
public static
|
|
void FinishFence(Int32 fence)
|
|
{
|
|
Delegates.glFinishFenceAPPLE((UInt32)fence);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
bool TestObject(OpenTK.Graphics.All @object, UInt32 name)
|
|
{
|
|
return Delegates.glTestObjectAPPLE((OpenTK.Graphics.All)@object, (UInt32)name);
|
|
}
|
|
|
|
public static
|
|
bool TestObject(OpenTK.Graphics.All @object, Int32 name)
|
|
{
|
|
return Delegates.glTestObjectAPPLE((OpenTK.Graphics.All)@object, (UInt32)name);
|
|
}
|
|
|
|
public static
|
|
void FinishObject(OpenTK.Graphics.All @object, Int32 name)
|
|
{
|
|
Delegates.glFinishObjectAPPLE((OpenTK.Graphics.All)@object, (Int32)name);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void BindVertexArray(UInt32 array)
|
|
{
|
|
Delegates.glBindVertexArrayAPPLE((UInt32)array);
|
|
}
|
|
|
|
public static
|
|
void BindVertexArray(Int32 array)
|
|
{
|
|
Delegates.glBindVertexArrayAPPLE((UInt32)array);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DeleteVertexArrays(Int32 n, UInt32[] arrays)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* arrays_ptr = arrays)
|
|
{
|
|
Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DeleteVertexArrays(Int32 n, Int32[] arrays)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* arrays_ptr = arrays)
|
|
{
|
|
Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DeleteVertexArrays(Int32 n, ref UInt32 arrays)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* arrays_ptr = &arrays)
|
|
{
|
|
Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DeleteVertexArrays(Int32 n, ref Int32 arrays)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* arrays_ptr = &arrays)
|
|
{
|
|
Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void DeleteVertexArrays(Int32 n, UInt32* arrays)
|
|
{
|
|
Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void DeleteVertexArrays(Int32 n, Int32* arrays)
|
|
{
|
|
Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GenVertexArrays(Int32 n, [Out] UInt32[] arrays)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* arrays_ptr = arrays)
|
|
{
|
|
Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GenVertexArrays(Int32 n, [Out] Int32[] arrays)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* arrays_ptr = arrays)
|
|
{
|
|
Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GenVertexArrays(Int32 n, [Out] out UInt32 arrays)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* arrays_ptr = &arrays)
|
|
{
|
|
Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr);
|
|
arrays = *arrays_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GenVertexArrays(Int32 n, [Out] out Int32 arrays)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* arrays_ptr = &arrays)
|
|
{
|
|
Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr);
|
|
arrays = *arrays_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GenVertexArrays(Int32 n, [Out] UInt32* arrays)
|
|
{
|
|
Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GenVertexArrays(Int32 n, [Out] Int32* arrays)
|
|
{
|
|
Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
bool IsVertexArray(UInt32 array)
|
|
{
|
|
return Delegates.glIsVertexArrayAPPLE((UInt32)array);
|
|
}
|
|
|
|
public static
|
|
bool IsVertexArray(Int32 array)
|
|
{
|
|
return Delegates.glIsVertexArrayAPPLE((UInt32)array);
|
|
}
|
|
|
|
public static
|
|
void VertexArrayRange(Int32 length, [Out] IntPtr pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexArrayRange(Int32 length, [In, Out] object pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void FlushVertexArrayRange(Int32 length, [Out] IntPtr pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glFlushVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void FlushVertexArrayRange(Int32 length, [In, Out] object pointer)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glFlushVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexArrayParameter(OpenTK.Graphics.All pname, Int32 param)
|
|
{
|
|
Delegates.glVertexArrayParameteriAPPLE((OpenTK.Graphics.All)pname, (Int32)param);
|
|
}
|
|
|
|
public static
|
|
void BufferParameter(OpenTK.Graphics.All target, OpenTK.Graphics.All pname, Int32 param)
|
|
{
|
|
Delegates.glBufferParameteriAPPLE((OpenTK.Graphics.All)target, (OpenTK.Graphics.All)pname, (Int32)param);
|
|
}
|
|
|
|
public static
|
|
void FlushMappedBufferRange(OpenTK.Graphics.All target, IntPtr offset, IntPtr size)
|
|
{
|
|
Delegates.glFlushMappedBufferRangeAPPLE((OpenTK.Graphics.All)target, (IntPtr)offset, (IntPtr)size);
|
|
}
|
|
|
|
}
|
|
|
|
public static partial class Gremedy
|
|
{
|
|
public static
|
|
void StringMarker(Int32 len, IntPtr @string)
|
|
{
|
|
unsafe
|
|
{
|
|
Delegates.glStringMarkerGREMEDY((Int32)len, (IntPtr)@string);
|
|
}
|
|
}
|
|
|
|
public static
|
|
void StringMarker(Int32 len, [In, Out] object @string)
|
|
{
|
|
unsafe
|
|
{
|
|
System.Runtime.InteropServices.GCHandle @string_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@string, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glStringMarkerGREMEDY((Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
@string_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
}
|