mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-28 02:15:41 +00:00
39468 lines
1.4 MiB
39468 lines
1.4 MiB
namespace OpenTK.OpenGL
|
|
{
|
|
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
public static partial class GL
|
|
{
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void NewList(UInt32 list, GL.Enums.ListMode mode)
|
|
{
|
|
Delegates.glNewList((UInt32)list, (GL.Enums.ListMode)mode);
|
|
}
|
|
|
|
public static
|
|
void NewList(Int32 list, GL.Enums.ListMode mode)
|
|
{
|
|
Delegates.glNewList((UInt32)list, (GL.Enums.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, GL.Enums.ListNameType type, IntPtr lists)
|
|
{
|
|
Delegates.glCallLists((Int32)n, (GL.Enums.ListNameType)type, (IntPtr)lists);
|
|
}
|
|
|
|
public static
|
|
void CallLists(Int32 n, GL.Enums.ListNameType type, [In, Out] object lists)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle lists_ptr = System.Runtime.InteropServices.GCHandle.Alloc(lists, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glCallLists((Int32)n, (GL.Enums.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(GL.Enums.BeginMode mode)
|
|
{
|
|
Delegates.glBegin((GL.Enums.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(GL.Enums.Boolean flag)
|
|
{
|
|
Delegates.glEdgeFlag((GL.Enums.Boolean)flag);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void EdgeFlag(GL.Enums.Boolean* flag)
|
|
{
|
|
Delegates.glEdgeFlagv((GL.Enums.Boolean*)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(GL.Enums.ClipPlaneName plane, Double[] equation)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* equation_ptr = equation)
|
|
{
|
|
Delegates.glClipPlane((GL.Enums.ClipPlaneName)plane, (Double*)equation_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ClipPlane(GL.Enums.ClipPlaneName plane, ref Double equation)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* equation_ptr = &equation)
|
|
{
|
|
Delegates.glClipPlane((GL.Enums.ClipPlaneName)plane, (Double*)equation_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ClipPlane(GL.Enums.ClipPlaneName plane, Double* equation)
|
|
{
|
|
Delegates.glClipPlane((GL.Enums.ClipPlaneName)plane, (Double*)equation);
|
|
}
|
|
|
|
public static
|
|
void ColorMaterial(GL.Enums.MaterialFace face, GL.Enums.ColorMaterialParameter mode)
|
|
{
|
|
Delegates.glColorMaterial((GL.Enums.MaterialFace)face, (GL.Enums.ColorMaterialParameter)mode);
|
|
}
|
|
|
|
public static
|
|
void CullFace(GL.Enums.CullFaceMode mode)
|
|
{
|
|
Delegates.glCullFace((GL.Enums.CullFaceMode)mode);
|
|
}
|
|
|
|
public static
|
|
void Fog(GL.Enums.FogParameter pname, Single param)
|
|
{
|
|
Delegates.glFogf((GL.Enums.FogParameter)pname, (Single)param);
|
|
}
|
|
|
|
public static
|
|
void Fogv(GL.Enums.FogParameter pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glFogfv((GL.Enums.FogParameter)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Fogv(GL.Enums.FogParameter pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glFogfv((GL.Enums.FogParameter)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Fogv(GL.Enums.FogParameter pname, Single* @params)
|
|
{
|
|
Delegates.glFogfv((GL.Enums.FogParameter)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void Fog(GL.Enums.FogParameter pname, Int32 param)
|
|
{
|
|
Delegates.glFogi((GL.Enums.FogParameter)pname, (Int32)param);
|
|
}
|
|
|
|
public static
|
|
void Fogv(GL.Enums.FogParameter pname, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glFogiv((GL.Enums.FogParameter)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Fogv(GL.Enums.FogParameter pname, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glFogiv((GL.Enums.FogParameter)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Fogv(GL.Enums.FogParameter pname, Int32* @params)
|
|
{
|
|
Delegates.glFogiv((GL.Enums.FogParameter)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void FrontFace(GL.Enums.FrontFaceDirection mode)
|
|
{
|
|
Delegates.glFrontFace((GL.Enums.FrontFaceDirection)mode);
|
|
}
|
|
|
|
public static
|
|
void Hint(GL.Enums.HintTarget target, GL.Enums.HintMode mode)
|
|
{
|
|
Delegates.glHint((GL.Enums.HintTarget)target, (GL.Enums.HintMode)mode);
|
|
}
|
|
|
|
public static
|
|
void Light(GL.Enums.LightName light, GL.Enums.LightParameter pname, Single param)
|
|
{
|
|
Delegates.glLightf((GL.Enums.LightName)light, (GL.Enums.LightParameter)pname, (Single)param);
|
|
}
|
|
|
|
public static
|
|
void Lightv(GL.Enums.LightName light, GL.Enums.LightParameter pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glLightfv((GL.Enums.LightName)light, (GL.Enums.LightParameter)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Lightv(GL.Enums.LightName light, GL.Enums.LightParameter pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glLightfv((GL.Enums.LightName)light, (GL.Enums.LightParameter)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Lightv(GL.Enums.LightName light, GL.Enums.LightParameter pname, Single* @params)
|
|
{
|
|
Delegates.glLightfv((GL.Enums.LightName)light, (GL.Enums.LightParameter)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void Light(GL.Enums.LightName light, GL.Enums.LightParameter pname, Int32 param)
|
|
{
|
|
Delegates.glLighti((GL.Enums.LightName)light, (GL.Enums.LightParameter)pname, (Int32)param);
|
|
}
|
|
|
|
public static
|
|
void Lightv(GL.Enums.LightName light, GL.Enums.LightParameter pname, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glLightiv((GL.Enums.LightName)light, (GL.Enums.LightParameter)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Lightv(GL.Enums.LightName light, GL.Enums.LightParameter pname, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glLightiv((GL.Enums.LightName)light, (GL.Enums.LightParameter)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Lightv(GL.Enums.LightName light, GL.Enums.LightParameter pname, Int32* @params)
|
|
{
|
|
Delegates.glLightiv((GL.Enums.LightName)light, (GL.Enums.LightParameter)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void LightModel(GL.Enums.LightModelParameter pname, Single param)
|
|
{
|
|
Delegates.glLightModelf((GL.Enums.LightModelParameter)pname, (Single)param);
|
|
}
|
|
|
|
public static
|
|
void LightModelv(GL.Enums.LightModelParameter pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glLightModelfv((GL.Enums.LightModelParameter)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void LightModelv(GL.Enums.LightModelParameter pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glLightModelfv((GL.Enums.LightModelParameter)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void LightModelv(GL.Enums.LightModelParameter pname, Single* @params)
|
|
{
|
|
Delegates.glLightModelfv((GL.Enums.LightModelParameter)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void LightModel(GL.Enums.LightModelParameter pname, Int32 param)
|
|
{
|
|
Delegates.glLightModeli((GL.Enums.LightModelParameter)pname, (Int32)param);
|
|
}
|
|
|
|
public static
|
|
void LightModelv(GL.Enums.LightModelParameter pname, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glLightModeliv((GL.Enums.LightModelParameter)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void LightModelv(GL.Enums.LightModelParameter pname, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glLightModeliv((GL.Enums.LightModelParameter)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void LightModelv(GL.Enums.LightModelParameter pname, Int32* @params)
|
|
{
|
|
Delegates.glLightModeliv((GL.Enums.LightModelParameter)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void LineStipple(Int32 factor, UInt16 pattern)
|
|
{
|
|
Delegates.glLineStipple((Int32)factor, (UInt16)pattern);
|
|
}
|
|
|
|
public static
|
|
void LineStipple(Int32 factor, Int16 pattern)
|
|
{
|
|
Delegates.glLineStipple((Int32)factor, (UInt16)pattern);
|
|
}
|
|
|
|
public static
|
|
void LineWidth(Single width)
|
|
{
|
|
Delegates.glLineWidth((Single)width);
|
|
}
|
|
|
|
public static
|
|
void Material(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter pname, Single param)
|
|
{
|
|
Delegates.glMaterialf((GL.Enums.MaterialFace)face, (GL.Enums.MaterialParameter)pname, (Single)param);
|
|
}
|
|
|
|
public static
|
|
void Materialv(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glMaterialfv((GL.Enums.MaterialFace)face, (GL.Enums.MaterialParameter)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Materialv(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glMaterialfv((GL.Enums.MaterialFace)face, (GL.Enums.MaterialParameter)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Materialv(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter pname, Single* @params)
|
|
{
|
|
Delegates.glMaterialfv((GL.Enums.MaterialFace)face, (GL.Enums.MaterialParameter)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void Material(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter pname, Int32 param)
|
|
{
|
|
Delegates.glMateriali((GL.Enums.MaterialFace)face, (GL.Enums.MaterialParameter)pname, (Int32)param);
|
|
}
|
|
|
|
public static
|
|
void Materialv(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter pname, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glMaterialiv((GL.Enums.MaterialFace)face, (GL.Enums.MaterialParameter)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Materialv(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter pname, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glMaterialiv((GL.Enums.MaterialFace)face, (GL.Enums.MaterialParameter)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Materialv(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter pname, Int32* @params)
|
|
{
|
|
Delegates.glMaterialiv((GL.Enums.MaterialFace)face, (GL.Enums.MaterialParameter)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void PointSize(Single size)
|
|
{
|
|
Delegates.glPointSize((Single)size);
|
|
}
|
|
|
|
public static
|
|
void PolygonMode(GL.Enums.MaterialFace face, GL.Enums.PolygonMode mode)
|
|
{
|
|
Delegates.glPolygonMode((GL.Enums.MaterialFace)face, (GL.Enums.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(GL.Enums.ShadingModel mode)
|
|
{
|
|
Delegates.glShadeModel((GL.Enums.ShadingModel)mode);
|
|
}
|
|
|
|
public static
|
|
void TexParameter(GL.Enums.TextureTarget target, GL.Enums.TextureParameterName pname, Single param)
|
|
{
|
|
Delegates.glTexParameterf((GL.Enums.TextureTarget)target, (GL.Enums.TextureParameterName)pname, (Single)param);
|
|
}
|
|
|
|
public static
|
|
void TexParameterv(GL.Enums.TextureTarget target, GL.Enums.TextureParameterName pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glTexParameterfv((GL.Enums.TextureTarget)target, (GL.Enums.TextureParameterName)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexParameterv(GL.Enums.TextureTarget target, GL.Enums.TextureParameterName pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glTexParameterfv((GL.Enums.TextureTarget)target, (GL.Enums.TextureParameterName)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexParameterv(GL.Enums.TextureTarget target, GL.Enums.TextureParameterName pname, Single* @params)
|
|
{
|
|
Delegates.glTexParameterfv((GL.Enums.TextureTarget)target, (GL.Enums.TextureParameterName)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void TexParameter(GL.Enums.TextureTarget target, GL.Enums.TextureParameterName pname, Int32 param)
|
|
{
|
|
Delegates.glTexParameteri((GL.Enums.TextureTarget)target, (GL.Enums.TextureParameterName)pname, (Int32)param);
|
|
}
|
|
|
|
public static
|
|
void TexParameterv(GL.Enums.TextureTarget target, GL.Enums.TextureParameterName pname, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glTexParameteriv((GL.Enums.TextureTarget)target, (GL.Enums.TextureParameterName)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexParameterv(GL.Enums.TextureTarget target, GL.Enums.TextureParameterName pname, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glTexParameteriv((GL.Enums.TextureTarget)target, (GL.Enums.TextureParameterName)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexParameterv(GL.Enums.TextureTarget target, GL.Enums.TextureParameterName pname, Int32* @params)
|
|
{
|
|
Delegates.glTexParameteriv((GL.Enums.TextureTarget)target, (GL.Enums.TextureParameterName)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void TexImage1D(GL.Enums.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 border, GL.Enums.PixelFormat format, GL.Enums.PixelType type, IntPtr pixels)
|
|
{
|
|
Delegates.glTexImage1D((GL.Enums.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)pixels);
|
|
}
|
|
|
|
public static
|
|
void TexImage1D(GL.Enums.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 border, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object pixels)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glTexImage1D((GL.Enums.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pixels_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexImage2D(GL.Enums.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, GL.Enums.PixelFormat format, GL.Enums.PixelType type, IntPtr pixels)
|
|
{
|
|
Delegates.glTexImage2D((GL.Enums.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)pixels);
|
|
}
|
|
|
|
public static
|
|
void TexImage2D(GL.Enums.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object pixels)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glTexImage2D((GL.Enums.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pixels_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexEnv(GL.Enums.TextureEnvTarget target, GL.Enums.TextureEnvParameter pname, Single param)
|
|
{
|
|
Delegates.glTexEnvf((GL.Enums.TextureEnvTarget)target, (GL.Enums.TextureEnvParameter)pname, (Single)param);
|
|
}
|
|
|
|
public static
|
|
void TexEnvv(GL.Enums.TextureEnvTarget target, GL.Enums.TextureEnvParameter pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glTexEnvfv((GL.Enums.TextureEnvTarget)target, (GL.Enums.TextureEnvParameter)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexEnvv(GL.Enums.TextureEnvTarget target, GL.Enums.TextureEnvParameter pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glTexEnvfv((GL.Enums.TextureEnvTarget)target, (GL.Enums.TextureEnvParameter)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexEnvv(GL.Enums.TextureEnvTarget target, GL.Enums.TextureEnvParameter pname, Single* @params)
|
|
{
|
|
Delegates.glTexEnvfv((GL.Enums.TextureEnvTarget)target, (GL.Enums.TextureEnvParameter)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void TexEnv(GL.Enums.TextureEnvTarget target, GL.Enums.TextureEnvParameter pname, Int32 param)
|
|
{
|
|
Delegates.glTexEnvi((GL.Enums.TextureEnvTarget)target, (GL.Enums.TextureEnvParameter)pname, (Int32)param);
|
|
}
|
|
|
|
public static
|
|
void TexEnvv(GL.Enums.TextureEnvTarget target, GL.Enums.TextureEnvParameter pname, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glTexEnviv((GL.Enums.TextureEnvTarget)target, (GL.Enums.TextureEnvParameter)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexEnvv(GL.Enums.TextureEnvTarget target, GL.Enums.TextureEnvParameter pname, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glTexEnviv((GL.Enums.TextureEnvTarget)target, (GL.Enums.TextureEnvParameter)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexEnvv(GL.Enums.TextureEnvTarget target, GL.Enums.TextureEnvParameter pname, Int32* @params)
|
|
{
|
|
Delegates.glTexEnviv((GL.Enums.TextureEnvTarget)target, (GL.Enums.TextureEnvParameter)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void TexGend(GL.Enums.TextureCoordName coord, GL.Enums.TextureGenParameter pname, Double param)
|
|
{
|
|
Delegates.glTexGend((GL.Enums.TextureCoordName)coord, (GL.Enums.TextureGenParameter)pname, (Double)param);
|
|
}
|
|
|
|
public static
|
|
void TexGenv(GL.Enums.TextureCoordName coord, GL.Enums.TextureGenParameter pname, Double[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = @params)
|
|
{
|
|
Delegates.glTexGendv((GL.Enums.TextureCoordName)coord, (GL.Enums.TextureGenParameter)pname, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexGenv(GL.Enums.TextureCoordName coord, GL.Enums.TextureGenParameter pname, ref Double @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = &@params)
|
|
{
|
|
Delegates.glTexGendv((GL.Enums.TextureCoordName)coord, (GL.Enums.TextureGenParameter)pname, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexGenv(GL.Enums.TextureCoordName coord, GL.Enums.TextureGenParameter pname, Double* @params)
|
|
{
|
|
Delegates.glTexGendv((GL.Enums.TextureCoordName)coord, (GL.Enums.TextureGenParameter)pname, (Double*)@params);
|
|
}
|
|
|
|
public static
|
|
void TexGen(GL.Enums.TextureCoordName coord, GL.Enums.TextureGenParameter pname, Single param)
|
|
{
|
|
Delegates.glTexGenf((GL.Enums.TextureCoordName)coord, (GL.Enums.TextureGenParameter)pname, (Single)param);
|
|
}
|
|
|
|
public static
|
|
void TexGenv(GL.Enums.TextureCoordName coord, GL.Enums.TextureGenParameter pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glTexGenfv((GL.Enums.TextureCoordName)coord, (GL.Enums.TextureGenParameter)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexGenv(GL.Enums.TextureCoordName coord, GL.Enums.TextureGenParameter pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glTexGenfv((GL.Enums.TextureCoordName)coord, (GL.Enums.TextureGenParameter)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexGenv(GL.Enums.TextureCoordName coord, GL.Enums.TextureGenParameter pname, Single* @params)
|
|
{
|
|
Delegates.glTexGenfv((GL.Enums.TextureCoordName)coord, (GL.Enums.TextureGenParameter)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void TexGen(GL.Enums.TextureCoordName coord, GL.Enums.TextureGenParameter pname, Int32 param)
|
|
{
|
|
Delegates.glTexGeni((GL.Enums.TextureCoordName)coord, (GL.Enums.TextureGenParameter)pname, (Int32)param);
|
|
}
|
|
|
|
public static
|
|
void TexGenv(GL.Enums.TextureCoordName coord, GL.Enums.TextureGenParameter pname, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glTexGeniv((GL.Enums.TextureCoordName)coord, (GL.Enums.TextureGenParameter)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexGenv(GL.Enums.TextureCoordName coord, GL.Enums.TextureGenParameter pname, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glTexGeniv((GL.Enums.TextureCoordName)coord, (GL.Enums.TextureGenParameter)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexGenv(GL.Enums.TextureCoordName coord, GL.Enums.TextureGenParameter pname, Int32* @params)
|
|
{
|
|
Delegates.glTexGeniv((GL.Enums.TextureCoordName)coord, (GL.Enums.TextureGenParameter)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void FeedbackBuffer(Int32 size, GL.Enums.FeedbackType type, [Out] Single[] buffer)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* buffer_ptr = buffer)
|
|
{
|
|
Delegates.glFeedbackBuffer((Int32)size, (GL.Enums.FeedbackType)type, (Single*)buffer_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void FeedbackBuffer(Int32 size, GL.Enums.FeedbackType type, [Out] out Single buffer)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* buffer_ptr = &buffer)
|
|
{
|
|
Delegates.glFeedbackBuffer((Int32)size, (GL.Enums.FeedbackType)type, (Single*)buffer_ptr);
|
|
buffer = *buffer_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void FeedbackBuffer(Int32 size, GL.Enums.FeedbackType type, [Out] Single* buffer)
|
|
{
|
|
Delegates.glFeedbackBuffer((Int32)size, (GL.Enums.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(GL.Enums.RenderingMode mode)
|
|
{
|
|
return Delegates.glRenderMode((GL.Enums.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(GL.Enums.DrawBufferMode mode)
|
|
{
|
|
Delegates.glDrawBuffer((GL.Enums.DrawBufferMode)mode);
|
|
}
|
|
|
|
public static
|
|
void Clear(GL.Enums.ClearBufferMask mask)
|
|
{
|
|
Delegates.glClear((GL.Enums.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(GL.Enums.Boolean red, GL.Enums.Boolean green, GL.Enums.Boolean blue, GL.Enums.Boolean alpha)
|
|
{
|
|
Delegates.glColorMask((GL.Enums.Boolean)red, (GL.Enums.Boolean)green, (GL.Enums.Boolean)blue, (GL.Enums.Boolean)alpha);
|
|
}
|
|
|
|
public static
|
|
void DepthMask(GL.Enums.Boolean flag)
|
|
{
|
|
Delegates.glDepthMask((GL.Enums.Boolean)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(GL.Enums.AccumOp op, Single value)
|
|
{
|
|
Delegates.glAccum((GL.Enums.AccumOp)op, (Single)value);
|
|
}
|
|
|
|
public static
|
|
void Disable(GL.Enums.EnableCap cap)
|
|
{
|
|
Delegates.glDisable((GL.Enums.EnableCap)cap);
|
|
}
|
|
|
|
public static
|
|
void Enable(GL.Enums.EnableCap cap)
|
|
{
|
|
Delegates.glEnable((GL.Enums.EnableCap)cap);
|
|
}
|
|
|
|
public static
|
|
void Finish()
|
|
{
|
|
Delegates.glFinish();
|
|
}
|
|
|
|
public static
|
|
void Flush()
|
|
{
|
|
Delegates.glFlush();
|
|
}
|
|
|
|
public static
|
|
void PopAttrib()
|
|
{
|
|
Delegates.glPopAttrib();
|
|
}
|
|
|
|
public static
|
|
void PushAttrib(GL.Enums.AttribMask mask)
|
|
{
|
|
Delegates.glPushAttrib((GL.Enums.AttribMask)mask);
|
|
}
|
|
|
|
public static
|
|
void Map1(GL.Enums.MapTarget target, Double u1, Double u2, Int32 stride, Int32 order, Double[] points)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* points_ptr = points)
|
|
{
|
|
Delegates.glMap1d((GL.Enums.MapTarget)target, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Map1(GL.Enums.MapTarget target, Double u1, Double u2, Int32 stride, Int32 order, ref Double points)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* points_ptr = &points)
|
|
{
|
|
Delegates.glMap1d((GL.Enums.MapTarget)target, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Map1(GL.Enums.MapTarget target, Double u1, Double u2, Int32 stride, Int32 order, Double* points)
|
|
{
|
|
Delegates.glMap1d((GL.Enums.MapTarget)target, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points);
|
|
}
|
|
|
|
public static
|
|
void Map1(GL.Enums.MapTarget target, Single u1, Single u2, Int32 stride, Int32 order, Single[] points)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* points_ptr = points)
|
|
{
|
|
Delegates.glMap1f((GL.Enums.MapTarget)target, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void Map1(GL.Enums.MapTarget target, Single u1, Single u2, Int32 stride, Int32 order, ref Single points)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* points_ptr = &points)
|
|
{
|
|
Delegates.glMap1f((GL.Enums.MapTarget)target, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void Map1(GL.Enums.MapTarget target, Single u1, Single u2, Int32 stride, Int32 order, Single* points)
|
|
{
|
|
Delegates.glMap1f((GL.Enums.MapTarget)target, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points);
|
|
}
|
|
|
|
public static
|
|
void Map2(GL.Enums.MapTarget target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double[] points)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* points_ptr = points)
|
|
{
|
|
Delegates.glMap2d((GL.Enums.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(GL.Enums.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((GL.Enums.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(GL.Enums.MapTarget target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double* points)
|
|
{
|
|
Delegates.glMap2d((GL.Enums.MapTarget)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points);
|
|
}
|
|
|
|
public static
|
|
void Map2(GL.Enums.MapTarget target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single[] points)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* points_ptr = points)
|
|
{
|
|
Delegates.glMap2f((GL.Enums.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(GL.Enums.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((GL.Enums.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(GL.Enums.MapTarget target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single* points)
|
|
{
|
|
Delegates.glMap2f((GL.Enums.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(GL.Enums.MeshMode1 mode, Int32 i1, Int32 i2)
|
|
{
|
|
Delegates.glEvalMesh1((GL.Enums.MeshMode1)mode, (Int32)i1, (Int32)i2);
|
|
}
|
|
|
|
public static
|
|
void EvalPoint1(Int32 i)
|
|
{
|
|
Delegates.glEvalPoint1((Int32)i);
|
|
}
|
|
|
|
public static
|
|
void EvalMesh2(GL.Enums.MeshMode2 mode, Int32 i1, Int32 i2, Int32 j1, Int32 j2)
|
|
{
|
|
Delegates.glEvalMesh2((GL.Enums.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(GL.Enums.AlphaFunction func, Single @ref)
|
|
{
|
|
Delegates.glAlphaFunc((GL.Enums.AlphaFunction)func, (Single)@ref);
|
|
}
|
|
|
|
public static
|
|
void BlendFunc(GL.Enums.BlendingFactorSrc sfactor, GL.Enums.BlendingFactorDest dfactor)
|
|
{
|
|
Delegates.glBlendFunc((GL.Enums.BlendingFactorSrc)sfactor, (GL.Enums.BlendingFactorDest)dfactor);
|
|
}
|
|
|
|
public static
|
|
void LogicOp(GL.Enums.LogicOp opcode)
|
|
{
|
|
Delegates.glLogicOp((GL.Enums.LogicOp)opcode);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void StencilFunc(GL.Enums.StencilFunction func, Int32 @ref, UInt32 mask)
|
|
{
|
|
Delegates.glStencilFunc((GL.Enums.StencilFunction)func, (Int32)@ref, (UInt32)mask);
|
|
}
|
|
|
|
public static
|
|
void StencilFunc(GL.Enums.StencilFunction func, Int32 @ref, Int32 mask)
|
|
{
|
|
Delegates.glStencilFunc((GL.Enums.StencilFunction)func, (Int32)@ref, (UInt32)mask);
|
|
}
|
|
|
|
public static
|
|
void StencilOp(GL.Enums.StencilOp fail, GL.Enums.StencilOp zfail, GL.Enums.StencilOp zpass)
|
|
{
|
|
Delegates.glStencilOp((GL.Enums.StencilOp)fail, (GL.Enums.StencilOp)zfail, (GL.Enums.StencilOp)zpass);
|
|
}
|
|
|
|
public static
|
|
void DepthFunc(GL.Enums.DepthFunction func)
|
|
{
|
|
Delegates.glDepthFunc((GL.Enums.DepthFunction)func);
|
|
}
|
|
|
|
public static
|
|
void PixelZoom(Single xfactor, Single yfactor)
|
|
{
|
|
Delegates.glPixelZoom((Single)xfactor, (Single)yfactor);
|
|
}
|
|
|
|
public static
|
|
void PixelTransfer(GL.Enums.PixelTransferParameter pname, Single param)
|
|
{
|
|
Delegates.glPixelTransferf((GL.Enums.PixelTransferParameter)pname, (Single)param);
|
|
}
|
|
|
|
public static
|
|
void PixelTransfer(GL.Enums.PixelTransferParameter pname, Int32 param)
|
|
{
|
|
Delegates.glPixelTransferi((GL.Enums.PixelTransferParameter)pname, (Int32)param);
|
|
}
|
|
|
|
public static
|
|
void PixelStore(GL.Enums.PixelStoreParameter pname, Single param)
|
|
{
|
|
Delegates.glPixelStoref((GL.Enums.PixelStoreParameter)pname, (Single)param);
|
|
}
|
|
|
|
public static
|
|
void PixelStore(GL.Enums.PixelStoreParameter pname, Int32 param)
|
|
{
|
|
Delegates.glPixelStorei((GL.Enums.PixelStoreParameter)pname, (Int32)param);
|
|
}
|
|
|
|
public static
|
|
void PixelMap(GL.Enums.PixelMap map, Int32 mapsize, Single[] values)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* values_ptr = values)
|
|
{
|
|
Delegates.glPixelMapfv((GL.Enums.PixelMap)map, (Int32)mapsize, (Single*)values_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void PixelMap(GL.Enums.PixelMap map, Int32 mapsize, ref Single values)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* values_ptr = &values)
|
|
{
|
|
Delegates.glPixelMapfv((GL.Enums.PixelMap)map, (Int32)mapsize, (Single*)values_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void PixelMap(GL.Enums.PixelMap map, Int32 mapsize, Single* values)
|
|
{
|
|
Delegates.glPixelMapfv((GL.Enums.PixelMap)map, (Int32)mapsize, (Single*)values);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void PixelMap(GL.Enums.PixelMap map, Int32 mapsize, UInt32[] values)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* values_ptr = values)
|
|
{
|
|
Delegates.glPixelMapuiv((GL.Enums.PixelMap)map, (Int32)mapsize, (UInt32*)values_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void PixelMap(GL.Enums.PixelMap map, Int32 mapsize, Int32[] values)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* values_ptr = values)
|
|
{
|
|
Delegates.glPixelMapuiv((GL.Enums.PixelMap)map, (Int32)mapsize, (UInt32*)values_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void PixelMap(GL.Enums.PixelMap map, Int32 mapsize, ref UInt32 values)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* values_ptr = &values)
|
|
{
|
|
Delegates.glPixelMapuiv((GL.Enums.PixelMap)map, (Int32)mapsize, (UInt32*)values_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void PixelMap(GL.Enums.PixelMap map, Int32 mapsize, ref Int32 values)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* values_ptr = &values)
|
|
{
|
|
Delegates.glPixelMapuiv((GL.Enums.PixelMap)map, (Int32)mapsize, (UInt32*)values_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void PixelMap(GL.Enums.PixelMap map, Int32 mapsize, UInt32* values)
|
|
{
|
|
Delegates.glPixelMapuiv((GL.Enums.PixelMap)map, (Int32)mapsize, (UInt32*)values);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void PixelMap(GL.Enums.PixelMap map, Int32 mapsize, Int32* values)
|
|
{
|
|
Delegates.glPixelMapuiv((GL.Enums.PixelMap)map, (Int32)mapsize, (UInt32*)values);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void PixelMap(GL.Enums.PixelMap map, Int32 mapsize, UInt16[] values)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* values_ptr = values)
|
|
{
|
|
Delegates.glPixelMapusv((GL.Enums.PixelMap)map, (Int32)mapsize, (UInt16*)values_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void PixelMap(GL.Enums.PixelMap map, Int32 mapsize, Int16[] values)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* values_ptr = values)
|
|
{
|
|
Delegates.glPixelMapusv((GL.Enums.PixelMap)map, (Int32)mapsize, (UInt16*)values_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void PixelMap(GL.Enums.PixelMap map, Int32 mapsize, ref UInt16 values)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* values_ptr = &values)
|
|
{
|
|
Delegates.glPixelMapusv((GL.Enums.PixelMap)map, (Int32)mapsize, (UInt16*)values_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void PixelMap(GL.Enums.PixelMap map, Int32 mapsize, ref Int16 values)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* values_ptr = &values)
|
|
{
|
|
Delegates.glPixelMapusv((GL.Enums.PixelMap)map, (Int32)mapsize, (UInt16*)values_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void PixelMap(GL.Enums.PixelMap map, Int32 mapsize, UInt16* values)
|
|
{
|
|
Delegates.glPixelMapusv((GL.Enums.PixelMap)map, (Int32)mapsize, (UInt16*)values);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void PixelMap(GL.Enums.PixelMap map, Int32 mapsize, Int16* values)
|
|
{
|
|
Delegates.glPixelMapusv((GL.Enums.PixelMap)map, (Int32)mapsize, (UInt16*)values);
|
|
}
|
|
|
|
public static
|
|
void ReadBuffer(GL.Enums.ReadBufferMode mode)
|
|
{
|
|
Delegates.glReadBuffer((GL.Enums.ReadBufferMode)mode);
|
|
}
|
|
|
|
public static
|
|
void CopyPixel(Int32 x, Int32 y, Int32 width, Int32 height, GL.Enums.PixelCopyType type)
|
|
{
|
|
Delegates.glCopyPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (GL.Enums.PixelCopyType)type);
|
|
}
|
|
|
|
public static
|
|
void ReadPixel(Int32 x, Int32 y, Int32 width, Int32 height, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [Out] IntPtr pixels)
|
|
{
|
|
Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)pixels);
|
|
}
|
|
|
|
public static
|
|
void ReadPixel(Int32 x, Int32 y, Int32 width, Int32 height, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object pixels)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pixels_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DrawPixel(Int32 width, Int32 height, GL.Enums.PixelFormat format, GL.Enums.PixelType type, IntPtr pixels)
|
|
{
|
|
Delegates.glDrawPixels((Int32)width, (Int32)height, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)pixels);
|
|
}
|
|
|
|
public static
|
|
void DrawPixel(Int32 width, Int32 height, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object pixels)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glDrawPixels((Int32)width, (Int32)height, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pixels_ptr.Free();
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetBoolean(GL.Enums.GetPName pname, [Out] GL.Enums.Boolean* @params)
|
|
{
|
|
Delegates.glGetBooleanv((GL.Enums.GetPName)pname, (GL.Enums.Boolean*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetClipPlane(GL.Enums.ClipPlaneName plane, [Out] Double[] equation)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* equation_ptr = equation)
|
|
{
|
|
Delegates.glGetClipPlane((GL.Enums.ClipPlaneName)plane, (Double*)equation_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetClipPlane(GL.Enums.ClipPlaneName plane, [Out] out Double equation)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* equation_ptr = &equation)
|
|
{
|
|
Delegates.glGetClipPlane((GL.Enums.ClipPlaneName)plane, (Double*)equation_ptr);
|
|
equation = *equation_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetClipPlane(GL.Enums.ClipPlaneName plane, [Out] Double* equation)
|
|
{
|
|
Delegates.glGetClipPlane((GL.Enums.ClipPlaneName)plane, (Double*)equation);
|
|
}
|
|
|
|
public static
|
|
void GetDouble(GL.Enums.GetPName pname, [Out] Double[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetDoublev((GL.Enums.GetPName)pname, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetDouble(GL.Enums.GetPName pname, [Out] out Double @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetDoublev((GL.Enums.GetPName)pname, (Double*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetDouble(GL.Enums.GetPName pname, [Out] Double* @params)
|
|
{
|
|
Delegates.glGetDoublev((GL.Enums.GetPName)pname, (Double*)@params);
|
|
}
|
|
|
|
public static
|
|
int GetError()
|
|
{
|
|
return Delegates.glGetError();
|
|
}
|
|
|
|
public static
|
|
void GetFloat(GL.Enums.GetPName pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetFloatv((GL.Enums.GetPName)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetFloat(GL.Enums.GetPName pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetFloatv((GL.Enums.GetPName)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetFloat(GL.Enums.GetPName pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetFloatv((GL.Enums.GetPName)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetInteger(GL.Enums.GetPName pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetIntegerv((GL.Enums.GetPName)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetInteger(GL.Enums.GetPName pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetIntegerv((GL.Enums.GetPName)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetInteger(GL.Enums.GetPName pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetIntegerv((GL.Enums.GetPName)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetLight(GL.Enums.LightName light, GL.Enums.LightParameter pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetLightfv((GL.Enums.LightName)light, (GL.Enums.LightParameter)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetLight(GL.Enums.LightName light, GL.Enums.LightParameter pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetLightfv((GL.Enums.LightName)light, (GL.Enums.LightParameter)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetLight(GL.Enums.LightName light, GL.Enums.LightParameter pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetLightfv((GL.Enums.LightName)light, (GL.Enums.LightParameter)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetLight(GL.Enums.LightName light, GL.Enums.LightParameter pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetLightiv((GL.Enums.LightName)light, (GL.Enums.LightParameter)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetLight(GL.Enums.LightName light, GL.Enums.LightParameter pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetLightiv((GL.Enums.LightName)light, (GL.Enums.LightParameter)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetLight(GL.Enums.LightName light, GL.Enums.LightParameter pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetLightiv((GL.Enums.LightName)light, (GL.Enums.LightParameter)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetMap(GL.Enums.MapTarget target, GL.Enums.GetMapQuery query, [Out] Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glGetMapdv((GL.Enums.MapTarget)target, (GL.Enums.GetMapQuery)query, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetMap(GL.Enums.MapTarget target, GL.Enums.GetMapQuery query, [Out] out Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glGetMapdv((GL.Enums.MapTarget)target, (GL.Enums.GetMapQuery)query, (Double*)v_ptr);
|
|
v = *v_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetMap(GL.Enums.MapTarget target, GL.Enums.GetMapQuery query, [Out] Double* v)
|
|
{
|
|
Delegates.glGetMapdv((GL.Enums.MapTarget)target, (GL.Enums.GetMapQuery)query, (Double*)v);
|
|
}
|
|
|
|
public static
|
|
void GetMap(GL.Enums.MapTarget target, GL.Enums.GetMapQuery query, [Out] Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glGetMapfv((GL.Enums.MapTarget)target, (GL.Enums.GetMapQuery)query, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetMap(GL.Enums.MapTarget target, GL.Enums.GetMapQuery query, [Out] out Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glGetMapfv((GL.Enums.MapTarget)target, (GL.Enums.GetMapQuery)query, (Single*)v_ptr);
|
|
v = *v_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetMap(GL.Enums.MapTarget target, GL.Enums.GetMapQuery query, [Out] Single* v)
|
|
{
|
|
Delegates.glGetMapfv((GL.Enums.MapTarget)target, (GL.Enums.GetMapQuery)query, (Single*)v);
|
|
}
|
|
|
|
public static
|
|
void GetMap(GL.Enums.MapTarget target, GL.Enums.GetMapQuery query, [Out] Int32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = v)
|
|
{
|
|
Delegates.glGetMapiv((GL.Enums.MapTarget)target, (GL.Enums.GetMapQuery)query, (Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetMap(GL.Enums.MapTarget target, GL.Enums.GetMapQuery query, [Out] out Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glGetMapiv((GL.Enums.MapTarget)target, (GL.Enums.GetMapQuery)query, (Int32*)v_ptr);
|
|
v = *v_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetMap(GL.Enums.MapTarget target, GL.Enums.GetMapQuery query, [Out] Int32* v)
|
|
{
|
|
Delegates.glGetMapiv((GL.Enums.MapTarget)target, (GL.Enums.GetMapQuery)query, (Int32*)v);
|
|
}
|
|
|
|
public static
|
|
void GetMaterial(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetMaterialfv((GL.Enums.MaterialFace)face, (GL.Enums.MaterialParameter)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetMaterial(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetMaterialfv((GL.Enums.MaterialFace)face, (GL.Enums.MaterialParameter)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetMaterial(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetMaterialfv((GL.Enums.MaterialFace)face, (GL.Enums.MaterialParameter)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetMaterial(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetMaterialiv((GL.Enums.MaterialFace)face, (GL.Enums.MaterialParameter)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetMaterial(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetMaterialiv((GL.Enums.MaterialFace)face, (GL.Enums.MaterialParameter)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetMaterial(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetMaterialiv((GL.Enums.MaterialFace)face, (GL.Enums.MaterialParameter)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetPixelMap(GL.Enums.PixelMap map, [Out] Single[] values)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* values_ptr = values)
|
|
{
|
|
Delegates.glGetPixelMapfv((GL.Enums.PixelMap)map, (Single*)values_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetPixelMap(GL.Enums.PixelMap map, [Out] out Single values)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* values_ptr = &values)
|
|
{
|
|
Delegates.glGetPixelMapfv((GL.Enums.PixelMap)map, (Single*)values_ptr);
|
|
values = *values_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetPixelMap(GL.Enums.PixelMap map, [Out] Single* values)
|
|
{
|
|
Delegates.glGetPixelMapfv((GL.Enums.PixelMap)map, (Single*)values);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetPixelMap(GL.Enums.PixelMap map, [Out] UInt32[] values)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* values_ptr = values)
|
|
{
|
|
Delegates.glGetPixelMapuiv((GL.Enums.PixelMap)map, (UInt32*)values_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetPixelMap(GL.Enums.PixelMap map, [Out] Int32[] values)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* values_ptr = values)
|
|
{
|
|
Delegates.glGetPixelMapuiv((GL.Enums.PixelMap)map, (UInt32*)values_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetPixelMap(GL.Enums.PixelMap map, [Out] out UInt32 values)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* values_ptr = &values)
|
|
{
|
|
Delegates.glGetPixelMapuiv((GL.Enums.PixelMap)map, (UInt32*)values_ptr);
|
|
values = *values_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetPixelMap(GL.Enums.PixelMap map, [Out] out Int32 values)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* values_ptr = &values)
|
|
{
|
|
Delegates.glGetPixelMapuiv((GL.Enums.PixelMap)map, (UInt32*)values_ptr);
|
|
values = *values_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetPixelMap(GL.Enums.PixelMap map, [Out] UInt32* values)
|
|
{
|
|
Delegates.glGetPixelMapuiv((GL.Enums.PixelMap)map, (UInt32*)values);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetPixelMap(GL.Enums.PixelMap map, [Out] Int32* values)
|
|
{
|
|
Delegates.glGetPixelMapuiv((GL.Enums.PixelMap)map, (UInt32*)values);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetPixelMap(GL.Enums.PixelMap map, [Out] UInt16[] values)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* values_ptr = values)
|
|
{
|
|
Delegates.glGetPixelMapusv((GL.Enums.PixelMap)map, (UInt16*)values_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetPixelMap(GL.Enums.PixelMap map, [Out] Int16[] values)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* values_ptr = values)
|
|
{
|
|
Delegates.glGetPixelMapusv((GL.Enums.PixelMap)map, (UInt16*)values_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetPixelMap(GL.Enums.PixelMap map, [Out] out UInt16 values)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* values_ptr = &values)
|
|
{
|
|
Delegates.glGetPixelMapusv((GL.Enums.PixelMap)map, (UInt16*)values_ptr);
|
|
values = *values_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetPixelMap(GL.Enums.PixelMap map, [Out] out Int16 values)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* values_ptr = &values)
|
|
{
|
|
Delegates.glGetPixelMapusv((GL.Enums.PixelMap)map, (UInt16*)values_ptr);
|
|
values = *values_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetPixelMap(GL.Enums.PixelMap map, [Out] UInt16* values)
|
|
{
|
|
Delegates.glGetPixelMapusv((GL.Enums.PixelMap)map, (UInt16*)values);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetPixelMap(GL.Enums.PixelMap map, [Out] Int16* values)
|
|
{
|
|
Delegates.glGetPixelMapusv((GL.Enums.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(GL.Enums.StringName name)
|
|
{
|
|
return System.Runtime.InteropServices.Marshal.PtrToStringAnsi(Delegates.glGetString((GL.Enums.StringName)name));
|
|
}
|
|
|
|
public static
|
|
void GetTexEnv(GL.Enums.TextureEnvTarget target, GL.Enums.TextureEnvParameter pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetTexEnvfv((GL.Enums.TextureEnvTarget)target, (GL.Enums.TextureEnvParameter)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetTexEnv(GL.Enums.TextureEnvTarget target, GL.Enums.TextureEnvParameter pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetTexEnvfv((GL.Enums.TextureEnvTarget)target, (GL.Enums.TextureEnvParameter)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetTexEnv(GL.Enums.TextureEnvTarget target, GL.Enums.TextureEnvParameter pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetTexEnvfv((GL.Enums.TextureEnvTarget)target, (GL.Enums.TextureEnvParameter)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetTexEnv(GL.Enums.TextureEnvTarget target, GL.Enums.TextureEnvParameter pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetTexEnviv((GL.Enums.TextureEnvTarget)target, (GL.Enums.TextureEnvParameter)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetTexEnv(GL.Enums.TextureEnvTarget target, GL.Enums.TextureEnvParameter pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetTexEnviv((GL.Enums.TextureEnvTarget)target, (GL.Enums.TextureEnvParameter)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetTexEnv(GL.Enums.TextureEnvTarget target, GL.Enums.TextureEnvParameter pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetTexEnviv((GL.Enums.TextureEnvTarget)target, (GL.Enums.TextureEnvParameter)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetTexGen(GL.Enums.TextureCoordName coord, GL.Enums.TextureGenParameter pname, [Out] Double[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetTexGendv((GL.Enums.TextureCoordName)coord, (GL.Enums.TextureGenParameter)pname, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetTexGen(GL.Enums.TextureCoordName coord, GL.Enums.TextureGenParameter pname, [Out] out Double @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetTexGendv((GL.Enums.TextureCoordName)coord, (GL.Enums.TextureGenParameter)pname, (Double*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetTexGen(GL.Enums.TextureCoordName coord, GL.Enums.TextureGenParameter pname, [Out] Double* @params)
|
|
{
|
|
Delegates.glGetTexGendv((GL.Enums.TextureCoordName)coord, (GL.Enums.TextureGenParameter)pname, (Double*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetTexGen(GL.Enums.TextureCoordName coord, GL.Enums.TextureGenParameter pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetTexGenfv((GL.Enums.TextureCoordName)coord, (GL.Enums.TextureGenParameter)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetTexGen(GL.Enums.TextureCoordName coord, GL.Enums.TextureGenParameter pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetTexGenfv((GL.Enums.TextureCoordName)coord, (GL.Enums.TextureGenParameter)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetTexGen(GL.Enums.TextureCoordName coord, GL.Enums.TextureGenParameter pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetTexGenfv((GL.Enums.TextureCoordName)coord, (GL.Enums.TextureGenParameter)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetTexGen(GL.Enums.TextureCoordName coord, GL.Enums.TextureGenParameter pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetTexGeniv((GL.Enums.TextureCoordName)coord, (GL.Enums.TextureGenParameter)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetTexGen(GL.Enums.TextureCoordName coord, GL.Enums.TextureGenParameter pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetTexGeniv((GL.Enums.TextureCoordName)coord, (GL.Enums.TextureGenParameter)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetTexGen(GL.Enums.TextureCoordName coord, GL.Enums.TextureGenParameter pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetTexGeniv((GL.Enums.TextureCoordName)coord, (GL.Enums.TextureGenParameter)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetTexImage(GL.Enums.TextureTarget target, Int32 level, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [Out] IntPtr pixels)
|
|
{
|
|
Delegates.glGetTexImage((GL.Enums.TextureTarget)target, (Int32)level, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)pixels);
|
|
}
|
|
|
|
public static
|
|
void GetTexImage(GL.Enums.TextureTarget target, Int32 level, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object pixels)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetTexImage((GL.Enums.TextureTarget)target, (Int32)level, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pixels_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetTexParameter(GL.Enums.TextureTarget target, GL.Enums.GetTextureParameter pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetTexParameterfv((GL.Enums.TextureTarget)target, (GL.Enums.GetTextureParameter)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetTexParameter(GL.Enums.TextureTarget target, GL.Enums.GetTextureParameter pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetTexParameterfv((GL.Enums.TextureTarget)target, (GL.Enums.GetTextureParameter)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetTexParameter(GL.Enums.TextureTarget target, GL.Enums.GetTextureParameter pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetTexParameterfv((GL.Enums.TextureTarget)target, (GL.Enums.GetTextureParameter)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetTexParameter(GL.Enums.TextureTarget target, GL.Enums.GetTextureParameter pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetTexParameteriv((GL.Enums.TextureTarget)target, (GL.Enums.GetTextureParameter)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetTexParameter(GL.Enums.TextureTarget target, GL.Enums.GetTextureParameter pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetTexParameteriv((GL.Enums.TextureTarget)target, (GL.Enums.GetTextureParameter)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetTexParameter(GL.Enums.TextureTarget target, GL.Enums.GetTextureParameter pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetTexParameteriv((GL.Enums.TextureTarget)target, (GL.Enums.GetTextureParameter)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetTexLevelParameter(GL.Enums.TextureTarget target, Int32 level, GL.Enums.GetTextureParameter pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetTexLevelParameterfv((GL.Enums.TextureTarget)target, (Int32)level, (GL.Enums.GetTextureParameter)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetTexLevelParameter(GL.Enums.TextureTarget target, Int32 level, GL.Enums.GetTextureParameter pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetTexLevelParameterfv((GL.Enums.TextureTarget)target, (Int32)level, (GL.Enums.GetTextureParameter)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetTexLevelParameter(GL.Enums.TextureTarget target, Int32 level, GL.Enums.GetTextureParameter pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetTexLevelParameterfv((GL.Enums.TextureTarget)target, (Int32)level, (GL.Enums.GetTextureParameter)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetTexLevelParameter(GL.Enums.TextureTarget target, Int32 level, GL.Enums.GetTextureParameter pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetTexLevelParameteriv((GL.Enums.TextureTarget)target, (Int32)level, (GL.Enums.GetTextureParameter)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetTexLevelParameter(GL.Enums.TextureTarget target, Int32 level, GL.Enums.GetTextureParameter pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetTexLevelParameteriv((GL.Enums.TextureTarget)target, (Int32)level, (GL.Enums.GetTextureParameter)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetTexLevelParameter(GL.Enums.TextureTarget target, Int32 level, GL.Enums.GetTextureParameter pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetTexLevelParameteriv((GL.Enums.TextureTarget)target, (Int32)level, (GL.Enums.GetTextureParameter)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
Boolean IsEnable(GL.Enums.EnableCap cap)
|
|
{
|
|
return Delegates.glIsEnabled((GL.Enums.EnableCap)cap);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
Boolean IsList(UInt32 list)
|
|
{
|
|
return Delegates.glIsList((UInt32)list);
|
|
}
|
|
|
|
public static
|
|
Boolean 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(GL.Enums.MatrixMode mode)
|
|
{
|
|
Delegates.glMatrixMode((GL.Enums.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, GL.Enums.ColorPointerType type, Int32 stride, IntPtr pointer)
|
|
{
|
|
Delegates.glColorPointer((Int32)size, (GL.Enums.ColorPointerType)type, (Int32)stride, (IntPtr)pointer);
|
|
}
|
|
|
|
public static
|
|
void ColorPointer(Int32 size, GL.Enums.ColorPointerType type, Int32 stride, [In, Out] object pointer)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glColorPointer((Int32)size, (GL.Enums.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DisableClientState(GL.Enums.EnableCap array)
|
|
{
|
|
Delegates.glDisableClientState((GL.Enums.EnableCap)array);
|
|
}
|
|
|
|
public static
|
|
void DrawArrays(GL.Enums.BeginMode mode, Int32 first, Int32 count)
|
|
{
|
|
Delegates.glDrawArrays((GL.Enums.BeginMode)mode, (Int32)first, (Int32)count);
|
|
}
|
|
|
|
public static
|
|
void DrawElements(GL.Enums.BeginMode mode, Int32 count, GL.Enums.All type, IntPtr indices)
|
|
{
|
|
Delegates.glDrawElements((GL.Enums.BeginMode)mode, (Int32)count, (GL.Enums.All)type, (IntPtr)indices);
|
|
}
|
|
|
|
public static
|
|
void DrawElements(GL.Enums.BeginMode mode, Int32 count, GL.Enums.All type, [In, Out] object indices)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glDrawElements((GL.Enums.BeginMode)mode, (Int32)count, (GL.Enums.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
indices_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void EdgeFlagPointer(Int32 stride, IntPtr pointer)
|
|
{
|
|
Delegates.glEdgeFlagPointer((Int32)stride, (IntPtr)pointer);
|
|
}
|
|
|
|
public static
|
|
void EdgeFlagPointer(Int32 stride, [In, Out] object pointer)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glEdgeFlagPointer((Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void EnableClientState(GL.Enums.EnableCap array)
|
|
{
|
|
Delegates.glEnableClientState((GL.Enums.EnableCap)array);
|
|
}
|
|
|
|
public static
|
|
void GetPointer(GL.Enums.GetPointervPName pname, [Out] IntPtr @params)
|
|
{
|
|
Delegates.glGetPointerv((GL.Enums.GetPointervPName)pname, (IntPtr)@params);
|
|
}
|
|
|
|
public static
|
|
void GetPointer(GL.Enums.GetPointervPName pname, [In, Out] object @params)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle @params_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@params, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetPointerv((GL.Enums.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
@params_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void IndexPointer(GL.Enums.IndexPointerType type, Int32 stride, IntPtr pointer)
|
|
{
|
|
Delegates.glIndexPointer((GL.Enums.IndexPointerType)type, (Int32)stride, (IntPtr)pointer);
|
|
}
|
|
|
|
public static
|
|
void IndexPointer(GL.Enums.IndexPointerType type, Int32 stride, [In, Out] object pointer)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glIndexPointer((GL.Enums.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void InterleavedArrays(GL.Enums.InterleavedArrayFormat format, Int32 stride, IntPtr pointer)
|
|
{
|
|
Delegates.glInterleavedArrays((GL.Enums.InterleavedArrayFormat)format, (Int32)stride, (IntPtr)pointer);
|
|
}
|
|
|
|
public static
|
|
void InterleavedArrays(GL.Enums.InterleavedArrayFormat format, Int32 stride, [In, Out] object pointer)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glInterleavedArrays((GL.Enums.InterleavedArrayFormat)format, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void NormalPointer(GL.Enums.NormalPointerType type, Int32 stride, IntPtr pointer)
|
|
{
|
|
Delegates.glNormalPointer((GL.Enums.NormalPointerType)type, (Int32)stride, (IntPtr)pointer);
|
|
}
|
|
|
|
public static
|
|
void NormalPointer(GL.Enums.NormalPointerType type, Int32 stride, [In, Out] object pointer)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glNormalPointer((GL.Enums.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexCoordPointer(Int32 size, GL.Enums.TexCoordPointerType type, Int32 stride, IntPtr pointer)
|
|
{
|
|
Delegates.glTexCoordPointer((Int32)size, (GL.Enums.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer);
|
|
}
|
|
|
|
public static
|
|
void TexCoordPointer(Int32 size, GL.Enums.TexCoordPointerType type, Int32 stride, [In, Out] object pointer)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glTexCoordPointer((Int32)size, (GL.Enums.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexPointer(Int32 size, GL.Enums.VertexPointerType type, Int32 stride, IntPtr pointer)
|
|
{
|
|
Delegates.glVertexPointer((Int32)size, (GL.Enums.VertexPointerType)type, (Int32)stride, (IntPtr)pointer);
|
|
}
|
|
|
|
public static
|
|
void VertexPointer(Int32 size, GL.Enums.VertexPointerType type, Int32 stride, [In, Out] object pointer)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glVertexPointer((Int32)size, (GL.Enums.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(GL.Enums.TextureTarget target, Int32 level, GL.Enums.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 border)
|
|
{
|
|
Delegates.glCopyTexImage1D((GL.Enums.TextureTarget)target, (Int32)level, (GL.Enums.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border);
|
|
}
|
|
|
|
public static
|
|
void CopyTexImage2D(GL.Enums.TextureTarget target, Int32 level, GL.Enums.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border)
|
|
{
|
|
Delegates.glCopyTexImage2D((GL.Enums.TextureTarget)target, (Int32)level, (GL.Enums.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border);
|
|
}
|
|
|
|
public static
|
|
void CopyTexSubImage1D(GL.Enums.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width)
|
|
{
|
|
Delegates.glCopyTexSubImage1D((GL.Enums.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width);
|
|
}
|
|
|
|
public static
|
|
void CopyTexSubImage2D(GL.Enums.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height)
|
|
{
|
|
Delegates.glCopyTexSubImage2D((GL.Enums.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height);
|
|
}
|
|
|
|
public static
|
|
void TexSubImage1D(GL.Enums.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, GL.Enums.PixelFormat format, GL.Enums.PixelType type, IntPtr pixels)
|
|
{
|
|
Delegates.glTexSubImage1D((GL.Enums.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)pixels);
|
|
}
|
|
|
|
public static
|
|
void TexSubImage1D(GL.Enums.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object pixels)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glTexSubImage1D((GL.Enums.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pixels_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexSubImage2D(GL.Enums.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, GL.Enums.PixelFormat format, GL.Enums.PixelType type, IntPtr pixels)
|
|
{
|
|
Delegates.glTexSubImage2D((GL.Enums.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)pixels);
|
|
}
|
|
|
|
public static
|
|
void TexSubImage2D(GL.Enums.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object pixels)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glTexSubImage2D((GL.Enums.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pixels_ptr.Free();
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe Boolean AreTexturesResident(Int32 n, UInt32[] textures, [Out] GL.Enums.Boolean* residences)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* textures_ptr = textures)
|
|
{
|
|
return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures_ptr, (GL.Enums.Boolean*)residences);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe Boolean AreTexturesResident(Int32 n, Int32[] textures, [Out] GL.Enums.Boolean* residences)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* textures_ptr = textures)
|
|
{
|
|
return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures_ptr, (GL.Enums.Boolean*)residences);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe Boolean AreTexturesResident(Int32 n, ref UInt32 textures, [Out] GL.Enums.Boolean* residences)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* textures_ptr = &textures)
|
|
{
|
|
return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures_ptr, (GL.Enums.Boolean*)residences);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe Boolean AreTexturesResident(Int32 n, ref Int32 textures, [Out] GL.Enums.Boolean* residences)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* textures_ptr = &textures)
|
|
{
|
|
return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures_ptr, (GL.Enums.Boolean*)residences);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe Boolean AreTexturesResident(Int32 n, UInt32* textures, [Out] GL.Enums.Boolean* residences)
|
|
{
|
|
return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures, (GL.Enums.Boolean*)residences);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe Boolean AreTexturesResident(Int32 n, Int32* textures, [Out] GL.Enums.Boolean* residences)
|
|
{
|
|
return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures, (GL.Enums.Boolean*)residences);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void BindTexture(GL.Enums.TextureTarget target, UInt32 texture)
|
|
{
|
|
Delegates.glBindTexture((GL.Enums.TextureTarget)target, (UInt32)texture);
|
|
}
|
|
|
|
public static
|
|
void BindTexture(GL.Enums.TextureTarget target, Int32 texture)
|
|
{
|
|
Delegates.glBindTexture((GL.Enums.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
|
|
Boolean IsTexture(UInt32 texture)
|
|
{
|
|
return Delegates.glIsTexture((UInt32)texture);
|
|
}
|
|
|
|
public static
|
|
Boolean 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(GL.Enums.ClientAttribMask mask)
|
|
{
|
|
Delegates.glPushClientAttrib((GL.Enums.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(GL.Enums.VERSION_1_2 mode)
|
|
{
|
|
Delegates.glBlendEquation((GL.Enums.VERSION_1_2)mode);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DrawRangeElements(GL.Enums.BeginMode mode, UInt32 start, UInt32 end, Int32 count, GL.Enums.VERSION_1_2 type, IntPtr indices)
|
|
{
|
|
Delegates.glDrawRangeElements((GL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (GL.Enums.VERSION_1_2)type, (IntPtr)indices);
|
|
}
|
|
|
|
public static
|
|
void DrawRangeElements(GL.Enums.BeginMode mode, Int32 start, Int32 end, Int32 count, GL.Enums.VERSION_1_2 type, IntPtr indices)
|
|
{
|
|
Delegates.glDrawRangeElements((GL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (GL.Enums.VERSION_1_2)type, (IntPtr)indices);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DrawRangeElements(GL.Enums.BeginMode mode, UInt32 start, UInt32 end, Int32 count, GL.Enums.VERSION_1_2 type, [In, Out] object indices)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glDrawRangeElements((GL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (GL.Enums.VERSION_1_2)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
indices_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DrawRangeElements(GL.Enums.BeginMode mode, Int32 start, Int32 end, Int32 count, GL.Enums.VERSION_1_2 type, [In, Out] object indices)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glDrawRangeElements((GL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (GL.Enums.VERSION_1_2)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
indices_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ColorTable(GL.Enums.VERSION_1_2 target, GL.Enums.PixelInternalFormat internalformat, Int32 width, GL.Enums.PixelFormat format, GL.Enums.PixelType type, IntPtr table)
|
|
{
|
|
Delegates.glColorTable((GL.Enums.VERSION_1_2)target, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)table);
|
|
}
|
|
|
|
public static
|
|
void ColorTable(GL.Enums.VERSION_1_2 target, GL.Enums.PixelInternalFormat internalformat, Int32 width, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object table)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle table_ptr = System.Runtime.InteropServices.GCHandle.Alloc(table, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glColorTable((GL.Enums.VERSION_1_2)target, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
table_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ColorTableParameter(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glColorTableParameterfv((GL.Enums.VERSION_1_2)target, (GL.Enums.VERSION_1_2)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ColorTableParameter(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glColorTableParameterfv((GL.Enums.VERSION_1_2)target, (GL.Enums.VERSION_1_2)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ColorTableParameter(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, Single* @params)
|
|
{
|
|
Delegates.glColorTableParameterfv((GL.Enums.VERSION_1_2)target, (GL.Enums.VERSION_1_2)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void ColorTableParameter(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glColorTableParameteriv((GL.Enums.VERSION_1_2)target, (GL.Enums.VERSION_1_2)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ColorTableParameter(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glColorTableParameteriv((GL.Enums.VERSION_1_2)target, (GL.Enums.VERSION_1_2)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ColorTableParameter(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, Int32* @params)
|
|
{
|
|
Delegates.glColorTableParameteriv((GL.Enums.VERSION_1_2)target, (GL.Enums.VERSION_1_2)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void CopyColorTable(GL.Enums.VERSION_1_2 target, GL.Enums.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width)
|
|
{
|
|
Delegates.glCopyColorTable((GL.Enums.VERSION_1_2)target, (GL.Enums.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width);
|
|
}
|
|
|
|
public static
|
|
void GetColorTable(GL.Enums.VERSION_1_2 target, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [Out] IntPtr table)
|
|
{
|
|
Delegates.glGetColorTable((GL.Enums.VERSION_1_2)target, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)table);
|
|
}
|
|
|
|
public static
|
|
void GetColorTable(GL.Enums.VERSION_1_2 target, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object table)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle table_ptr = System.Runtime.InteropServices.GCHandle.Alloc(table, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetColorTable((GL.Enums.VERSION_1_2)target, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
table_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetColorTableParameter(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetColorTableParameterfv((GL.Enums.VERSION_1_2)target, (GL.Enums.VERSION_1_2)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetColorTableParameter(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetColorTableParameterfv((GL.Enums.VERSION_1_2)target, (GL.Enums.VERSION_1_2)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetColorTableParameter(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetColorTableParameterfv((GL.Enums.VERSION_1_2)target, (GL.Enums.VERSION_1_2)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetColorTableParameter(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetColorTableParameteriv((GL.Enums.VERSION_1_2)target, (GL.Enums.VERSION_1_2)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetColorTableParameter(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetColorTableParameteriv((GL.Enums.VERSION_1_2)target, (GL.Enums.VERSION_1_2)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetColorTableParameter(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetColorTableParameteriv((GL.Enums.VERSION_1_2)target, (GL.Enums.VERSION_1_2)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void ColorSubTable(GL.Enums.VERSION_1_2 target, Int32 start, Int32 count, GL.Enums.PixelFormat format, GL.Enums.PixelType type, IntPtr data)
|
|
{
|
|
Delegates.glColorSubTable((GL.Enums.VERSION_1_2)target, (Int32)start, (Int32)count, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)data);
|
|
}
|
|
|
|
public static
|
|
void ColorSubTable(GL.Enums.VERSION_1_2 target, Int32 start, Int32 count, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object data)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glColorSubTable((GL.Enums.VERSION_1_2)target, (Int32)start, (Int32)count, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
data_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CopyColorSubTable(GL.Enums.VERSION_1_2 target, Int32 start, Int32 x, Int32 y, Int32 width)
|
|
{
|
|
Delegates.glCopyColorSubTable((GL.Enums.VERSION_1_2)target, (Int32)start, (Int32)x, (Int32)y, (Int32)width);
|
|
}
|
|
|
|
public static
|
|
void ConvolutionFilter1D(GL.Enums.VERSION_1_2 target, GL.Enums.PixelInternalFormat internalformat, Int32 width, GL.Enums.PixelFormat format, GL.Enums.PixelType type, IntPtr image)
|
|
{
|
|
Delegates.glConvolutionFilter1D((GL.Enums.VERSION_1_2)target, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)image);
|
|
}
|
|
|
|
public static
|
|
void ConvolutionFilter1D(GL.Enums.VERSION_1_2 target, GL.Enums.PixelInternalFormat internalformat, Int32 width, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object image)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle image_ptr = System.Runtime.InteropServices.GCHandle.Alloc(image, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glConvolutionFilter1D((GL.Enums.VERSION_1_2)target, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
image_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ConvolutionFilter2D(GL.Enums.VERSION_1_2 target, GL.Enums.PixelInternalFormat internalformat, Int32 width, Int32 height, GL.Enums.PixelFormat format, GL.Enums.PixelType type, IntPtr image)
|
|
{
|
|
Delegates.glConvolutionFilter2D((GL.Enums.VERSION_1_2)target, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)image);
|
|
}
|
|
|
|
public static
|
|
void ConvolutionFilter2D(GL.Enums.VERSION_1_2 target, GL.Enums.PixelInternalFormat internalformat, Int32 width, Int32 height, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object image)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle image_ptr = System.Runtime.InteropServices.GCHandle.Alloc(image, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glConvolutionFilter2D((GL.Enums.VERSION_1_2)target, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
image_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ConvolutionParameter(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, Single @params)
|
|
{
|
|
Delegates.glConvolutionParameterf((GL.Enums.VERSION_1_2)target, (GL.Enums.VERSION_1_2)pname, (Single)@params);
|
|
}
|
|
|
|
public static
|
|
void ConvolutionParameterv(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glConvolutionParameterfv((GL.Enums.VERSION_1_2)target, (GL.Enums.VERSION_1_2)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ConvolutionParameterv(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glConvolutionParameterfv((GL.Enums.VERSION_1_2)target, (GL.Enums.VERSION_1_2)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ConvolutionParameterv(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, Single* @params)
|
|
{
|
|
Delegates.glConvolutionParameterfv((GL.Enums.VERSION_1_2)target, (GL.Enums.VERSION_1_2)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void ConvolutionParameter(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, Int32 @params)
|
|
{
|
|
Delegates.glConvolutionParameteri((GL.Enums.VERSION_1_2)target, (GL.Enums.VERSION_1_2)pname, (Int32)@params);
|
|
}
|
|
|
|
public static
|
|
void ConvolutionParameterv(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glConvolutionParameteriv((GL.Enums.VERSION_1_2)target, (GL.Enums.VERSION_1_2)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ConvolutionParameterv(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glConvolutionParameteriv((GL.Enums.VERSION_1_2)target, (GL.Enums.VERSION_1_2)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ConvolutionParameterv(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, Int32* @params)
|
|
{
|
|
Delegates.glConvolutionParameteriv((GL.Enums.VERSION_1_2)target, (GL.Enums.VERSION_1_2)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void CopyConvolutionFilter1D(GL.Enums.VERSION_1_2 target, GL.Enums.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width)
|
|
{
|
|
Delegates.glCopyConvolutionFilter1D((GL.Enums.VERSION_1_2)target, (GL.Enums.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width);
|
|
}
|
|
|
|
public static
|
|
void CopyConvolutionFilter2D(GL.Enums.VERSION_1_2 target, GL.Enums.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height)
|
|
{
|
|
Delegates.glCopyConvolutionFilter2D((GL.Enums.VERSION_1_2)target, (GL.Enums.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height);
|
|
}
|
|
|
|
public static
|
|
void GetConvolutionFilter(GL.Enums.VERSION_1_2 target, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [Out] IntPtr image)
|
|
{
|
|
Delegates.glGetConvolutionFilter((GL.Enums.VERSION_1_2)target, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)image);
|
|
}
|
|
|
|
public static
|
|
void GetConvolutionFilter(GL.Enums.VERSION_1_2 target, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object image)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle image_ptr = System.Runtime.InteropServices.GCHandle.Alloc(image, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetConvolutionFilter((GL.Enums.VERSION_1_2)target, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
image_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetConvolutionParameter(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetConvolutionParameterfv((GL.Enums.VERSION_1_2)target, (GL.Enums.VERSION_1_2)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetConvolutionParameter(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetConvolutionParameterfv((GL.Enums.VERSION_1_2)target, (GL.Enums.VERSION_1_2)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetConvolutionParameter(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetConvolutionParameterfv((GL.Enums.VERSION_1_2)target, (GL.Enums.VERSION_1_2)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetConvolutionParameter(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetConvolutionParameteriv((GL.Enums.VERSION_1_2)target, (GL.Enums.VERSION_1_2)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetConvolutionParameter(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetConvolutionParameteriv((GL.Enums.VERSION_1_2)target, (GL.Enums.VERSION_1_2)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetConvolutionParameter(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetConvolutionParameteriv((GL.Enums.VERSION_1_2)target, (GL.Enums.VERSION_1_2)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetSeparableFilter(GL.Enums.VERSION_1_2 target, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [Out] IntPtr span)
|
|
{
|
|
Delegates.glGetSeparableFilter((GL.Enums.VERSION_1_2)target, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span);
|
|
}
|
|
|
|
public static
|
|
void GetSeparableFilter(GL.Enums.VERSION_1_2 target, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object row, [In, Out] object column, [In, Out] object span)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle row_ptr = System.Runtime.InteropServices.GCHandle.Alloc(row, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
System.Runtime.InteropServices.GCHandle column_ptr = System.Runtime.InteropServices.GCHandle.Alloc(column, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
System.Runtime.InteropServices.GCHandle span_ptr = System.Runtime.InteropServices.GCHandle.Alloc(span, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetSeparableFilter((GL.Enums.VERSION_1_2)target, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (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 GetSeparableFilter(GL.Enums.VERSION_1_2 target, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [Out] IntPtr row, [In, Out] object column, [In, Out] object span)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle column_ptr = System.Runtime.InteropServices.GCHandle.Alloc(column, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
System.Runtime.InteropServices.GCHandle span_ptr = System.Runtime.InteropServices.GCHandle.Alloc(span, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetSeparableFilter((GL.Enums.VERSION_1_2)target, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
column_ptr.Free();
|
|
span_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void SeparableFilter2D(GL.Enums.VERSION_1_2 target, GL.Enums.PixelInternalFormat internalformat, Int32 width, Int32 height, GL.Enums.PixelFormat format, GL.Enums.PixelType type, IntPtr row, IntPtr column)
|
|
{
|
|
Delegates.glSeparableFilter2D((GL.Enums.VERSION_1_2)target, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)row, (IntPtr)column);
|
|
}
|
|
|
|
public static
|
|
void SeparableFilter2D(GL.Enums.VERSION_1_2 target, GL.Enums.PixelInternalFormat internalformat, Int32 width, Int32 height, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object row, [In, Out] object column)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle row_ptr = System.Runtime.InteropServices.GCHandle.Alloc(row, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
System.Runtime.InteropServices.GCHandle column_ptr = System.Runtime.InteropServices.GCHandle.Alloc(column, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glSeparableFilter2D((GL.Enums.VERSION_1_2)target, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
row_ptr.Free();
|
|
column_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetHistogram(GL.Enums.VERSION_1_2 target, GL.Enums.Boolean reset, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [Out] IntPtr values)
|
|
{
|
|
Delegates.glGetHistogram((GL.Enums.VERSION_1_2)target, (GL.Enums.Boolean)reset, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)values);
|
|
}
|
|
|
|
public static
|
|
void GetHistogram(GL.Enums.VERSION_1_2 target, GL.Enums.Boolean reset, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object values)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle values_ptr = System.Runtime.InteropServices.GCHandle.Alloc(values, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetHistogram((GL.Enums.VERSION_1_2)target, (GL.Enums.Boolean)reset, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
values_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetHistogramParameter(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetHistogramParameterfv((GL.Enums.VERSION_1_2)target, (GL.Enums.VERSION_1_2)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetHistogramParameter(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetHistogramParameterfv((GL.Enums.VERSION_1_2)target, (GL.Enums.VERSION_1_2)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetHistogramParameter(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetHistogramParameterfv((GL.Enums.VERSION_1_2)target, (GL.Enums.VERSION_1_2)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetHistogramParameter(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetHistogramParameteriv((GL.Enums.VERSION_1_2)target, (GL.Enums.VERSION_1_2)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetHistogramParameter(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetHistogramParameteriv((GL.Enums.VERSION_1_2)target, (GL.Enums.VERSION_1_2)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetHistogramParameter(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetHistogramParameteriv((GL.Enums.VERSION_1_2)target, (GL.Enums.VERSION_1_2)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetMinmax(GL.Enums.VERSION_1_2 target, GL.Enums.Boolean reset, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [Out] IntPtr values)
|
|
{
|
|
Delegates.glGetMinmax((GL.Enums.VERSION_1_2)target, (GL.Enums.Boolean)reset, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)values);
|
|
}
|
|
|
|
public static
|
|
void GetMinmax(GL.Enums.VERSION_1_2 target, GL.Enums.Boolean reset, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object values)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle values_ptr = System.Runtime.InteropServices.GCHandle.Alloc(values, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetMinmax((GL.Enums.VERSION_1_2)target, (GL.Enums.Boolean)reset, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
values_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetMinmaxParameter(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetMinmaxParameterfv((GL.Enums.VERSION_1_2)target, (GL.Enums.VERSION_1_2)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetMinmaxParameter(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetMinmaxParameterfv((GL.Enums.VERSION_1_2)target, (GL.Enums.VERSION_1_2)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetMinmaxParameter(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetMinmaxParameterfv((GL.Enums.VERSION_1_2)target, (GL.Enums.VERSION_1_2)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetMinmaxParameter(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetMinmaxParameteriv((GL.Enums.VERSION_1_2)target, (GL.Enums.VERSION_1_2)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetMinmaxParameter(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetMinmaxParameteriv((GL.Enums.VERSION_1_2)target, (GL.Enums.VERSION_1_2)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetMinmaxParameter(GL.Enums.VERSION_1_2 target, GL.Enums.VERSION_1_2 pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetMinmaxParameteriv((GL.Enums.VERSION_1_2)target, (GL.Enums.VERSION_1_2)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void Histogram(GL.Enums.VERSION_1_2 target, Int32 width, GL.Enums.PixelInternalFormat internalformat, GL.Enums.Boolean sink)
|
|
{
|
|
Delegates.glHistogram((GL.Enums.VERSION_1_2)target, (Int32)width, (GL.Enums.PixelInternalFormat)internalformat, (GL.Enums.Boolean)sink);
|
|
}
|
|
|
|
public static
|
|
void Minmax(GL.Enums.VERSION_1_2 target, GL.Enums.PixelInternalFormat internalformat, GL.Enums.Boolean sink)
|
|
{
|
|
Delegates.glMinmax((GL.Enums.VERSION_1_2)target, (GL.Enums.PixelInternalFormat)internalformat, (GL.Enums.Boolean)sink);
|
|
}
|
|
|
|
public static
|
|
void ResetHistogram(GL.Enums.VERSION_1_2 target)
|
|
{
|
|
Delegates.glResetHistogram((GL.Enums.VERSION_1_2)target);
|
|
}
|
|
|
|
public static
|
|
void ResetMinmax(GL.Enums.VERSION_1_2 target)
|
|
{
|
|
Delegates.glResetMinmax((GL.Enums.VERSION_1_2)target);
|
|
}
|
|
|
|
public static
|
|
void TexImage3D(GL.Enums.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, GL.Enums.PixelFormat format, GL.Enums.PixelType type, IntPtr pixels)
|
|
{
|
|
Delegates.glTexImage3D((GL.Enums.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)pixels);
|
|
}
|
|
|
|
public static
|
|
void TexImage3D(GL.Enums.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object pixels)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glTexImage3D((GL.Enums.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pixels_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexSubImage3D(GL.Enums.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, GL.Enums.PixelFormat format, GL.Enums.PixelType type, IntPtr pixels)
|
|
{
|
|
Delegates.glTexSubImage3D((GL.Enums.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)pixels);
|
|
}
|
|
|
|
public static
|
|
void TexSubImage3D(GL.Enums.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object pixels)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glTexSubImage3D((GL.Enums.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pixels_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CopyTexSubImage3D(GL.Enums.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height)
|
|
{
|
|
Delegates.glCopyTexSubImage3D((GL.Enums.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height);
|
|
}
|
|
|
|
public static
|
|
void ActiveTexture(GL.Enums.VERSION_1_3 texture)
|
|
{
|
|
Delegates.glActiveTexture((GL.Enums.VERSION_1_3)texture);
|
|
}
|
|
|
|
public static
|
|
void ClientActiveTexture(GL.Enums.VERSION_1_3 texture)
|
|
{
|
|
Delegates.glClientActiveTexture((GL.Enums.VERSION_1_3)texture);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1(GL.Enums.VERSION_1_3 target, Double s)
|
|
{
|
|
Delegates.glMultiTexCoord1d((GL.Enums.VERSION_1_3)target, (Double)s);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1v(GL.Enums.VERSION_1_3 target, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord1dv((GL.Enums.VERSION_1_3)target, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1v(GL.Enums.VERSION_1_3 target, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord1dv((GL.Enums.VERSION_1_3)target, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord1v(GL.Enums.VERSION_1_3 target, Double* v)
|
|
{
|
|
Delegates.glMultiTexCoord1dv((GL.Enums.VERSION_1_3)target, (Double*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1(GL.Enums.VERSION_1_3 target, Single s)
|
|
{
|
|
Delegates.glMultiTexCoord1f((GL.Enums.VERSION_1_3)target, (Single)s);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1v(GL.Enums.VERSION_1_3 target, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord1fv((GL.Enums.VERSION_1_3)target, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1v(GL.Enums.VERSION_1_3 target, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord1fv((GL.Enums.VERSION_1_3)target, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord1v(GL.Enums.VERSION_1_3 target, Single* v)
|
|
{
|
|
Delegates.glMultiTexCoord1fv((GL.Enums.VERSION_1_3)target, (Single*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1(GL.Enums.VERSION_1_3 target, Int32 s)
|
|
{
|
|
Delegates.glMultiTexCoord1i((GL.Enums.VERSION_1_3)target, (Int32)s);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1v(GL.Enums.VERSION_1_3 target, Int32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord1iv((GL.Enums.VERSION_1_3)target, (Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1v(GL.Enums.VERSION_1_3 target, ref Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord1iv((GL.Enums.VERSION_1_3)target, (Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord1v(GL.Enums.VERSION_1_3 target, Int32* v)
|
|
{
|
|
Delegates.glMultiTexCoord1iv((GL.Enums.VERSION_1_3)target, (Int32*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1(GL.Enums.VERSION_1_3 target, Int16 s)
|
|
{
|
|
Delegates.glMultiTexCoord1s((GL.Enums.VERSION_1_3)target, (Int16)s);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1v(GL.Enums.VERSION_1_3 target, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord1sv((GL.Enums.VERSION_1_3)target, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1v(GL.Enums.VERSION_1_3 target, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord1sv((GL.Enums.VERSION_1_3)target, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord1v(GL.Enums.VERSION_1_3 target, Int16* v)
|
|
{
|
|
Delegates.glMultiTexCoord1sv((GL.Enums.VERSION_1_3)target, (Int16*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2(GL.Enums.VERSION_1_3 target, Double s, Double t)
|
|
{
|
|
Delegates.glMultiTexCoord2d((GL.Enums.VERSION_1_3)target, (Double)s, (Double)t);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2(GL.Enums.VERSION_1_3 target, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord2dv((GL.Enums.VERSION_1_3)target, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2(GL.Enums.VERSION_1_3 target, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord2dv((GL.Enums.VERSION_1_3)target, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord2(GL.Enums.VERSION_1_3 target, Double* v)
|
|
{
|
|
Delegates.glMultiTexCoord2dv((GL.Enums.VERSION_1_3)target, (Double*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2(GL.Enums.VERSION_1_3 target, Single s, Single t)
|
|
{
|
|
Delegates.glMultiTexCoord2f((GL.Enums.VERSION_1_3)target, (Single)s, (Single)t);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2(GL.Enums.VERSION_1_3 target, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord2fv((GL.Enums.VERSION_1_3)target, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2(GL.Enums.VERSION_1_3 target, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord2fv((GL.Enums.VERSION_1_3)target, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord2(GL.Enums.VERSION_1_3 target, Single* v)
|
|
{
|
|
Delegates.glMultiTexCoord2fv((GL.Enums.VERSION_1_3)target, (Single*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2(GL.Enums.VERSION_1_3 target, Int32 s, Int32 t)
|
|
{
|
|
Delegates.glMultiTexCoord2i((GL.Enums.VERSION_1_3)target, (Int32)s, (Int32)t);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2(GL.Enums.VERSION_1_3 target, Int32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord2iv((GL.Enums.VERSION_1_3)target, (Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2(GL.Enums.VERSION_1_3 target, ref Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord2iv((GL.Enums.VERSION_1_3)target, (Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord2(GL.Enums.VERSION_1_3 target, Int32* v)
|
|
{
|
|
Delegates.glMultiTexCoord2iv((GL.Enums.VERSION_1_3)target, (Int32*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2(GL.Enums.VERSION_1_3 target, Int16 s, Int16 t)
|
|
{
|
|
Delegates.glMultiTexCoord2s((GL.Enums.VERSION_1_3)target, (Int16)s, (Int16)t);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2(GL.Enums.VERSION_1_3 target, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord2sv((GL.Enums.VERSION_1_3)target, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2(GL.Enums.VERSION_1_3 target, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord2sv((GL.Enums.VERSION_1_3)target, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord2(GL.Enums.VERSION_1_3 target, Int16* v)
|
|
{
|
|
Delegates.glMultiTexCoord2sv((GL.Enums.VERSION_1_3)target, (Int16*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3(GL.Enums.VERSION_1_3 target, Double s, Double t, Double r)
|
|
{
|
|
Delegates.glMultiTexCoord3d((GL.Enums.VERSION_1_3)target, (Double)s, (Double)t, (Double)r);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3(GL.Enums.VERSION_1_3 target, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord3dv((GL.Enums.VERSION_1_3)target, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3(GL.Enums.VERSION_1_3 target, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord3dv((GL.Enums.VERSION_1_3)target, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord3(GL.Enums.VERSION_1_3 target, Double* v)
|
|
{
|
|
Delegates.glMultiTexCoord3dv((GL.Enums.VERSION_1_3)target, (Double*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3(GL.Enums.VERSION_1_3 target, Single s, Single t, Single r)
|
|
{
|
|
Delegates.glMultiTexCoord3f((GL.Enums.VERSION_1_3)target, (Single)s, (Single)t, (Single)r);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3(GL.Enums.VERSION_1_3 target, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord3fv((GL.Enums.VERSION_1_3)target, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3(GL.Enums.VERSION_1_3 target, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord3fv((GL.Enums.VERSION_1_3)target, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord3(GL.Enums.VERSION_1_3 target, Single* v)
|
|
{
|
|
Delegates.glMultiTexCoord3fv((GL.Enums.VERSION_1_3)target, (Single*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3(GL.Enums.VERSION_1_3 target, Int32 s, Int32 t, Int32 r)
|
|
{
|
|
Delegates.glMultiTexCoord3i((GL.Enums.VERSION_1_3)target, (Int32)s, (Int32)t, (Int32)r);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3(GL.Enums.VERSION_1_3 target, Int32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord3iv((GL.Enums.VERSION_1_3)target, (Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3(GL.Enums.VERSION_1_3 target, ref Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord3iv((GL.Enums.VERSION_1_3)target, (Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord3(GL.Enums.VERSION_1_3 target, Int32* v)
|
|
{
|
|
Delegates.glMultiTexCoord3iv((GL.Enums.VERSION_1_3)target, (Int32*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3(GL.Enums.VERSION_1_3 target, Int16 s, Int16 t, Int16 r)
|
|
{
|
|
Delegates.glMultiTexCoord3s((GL.Enums.VERSION_1_3)target, (Int16)s, (Int16)t, (Int16)r);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3(GL.Enums.VERSION_1_3 target, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord3sv((GL.Enums.VERSION_1_3)target, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3(GL.Enums.VERSION_1_3 target, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord3sv((GL.Enums.VERSION_1_3)target, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord3(GL.Enums.VERSION_1_3 target, Int16* v)
|
|
{
|
|
Delegates.glMultiTexCoord3sv((GL.Enums.VERSION_1_3)target, (Int16*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4(GL.Enums.VERSION_1_3 target, Double s, Double t, Double r, Double q)
|
|
{
|
|
Delegates.glMultiTexCoord4d((GL.Enums.VERSION_1_3)target, (Double)s, (Double)t, (Double)r, (Double)q);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4(GL.Enums.VERSION_1_3 target, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord4dv((GL.Enums.VERSION_1_3)target, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4(GL.Enums.VERSION_1_3 target, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord4dv((GL.Enums.VERSION_1_3)target, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord4(GL.Enums.VERSION_1_3 target, Double* v)
|
|
{
|
|
Delegates.glMultiTexCoord4dv((GL.Enums.VERSION_1_3)target, (Double*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4(GL.Enums.VERSION_1_3 target, Single s, Single t, Single r, Single q)
|
|
{
|
|
Delegates.glMultiTexCoord4f((GL.Enums.VERSION_1_3)target, (Single)s, (Single)t, (Single)r, (Single)q);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4(GL.Enums.VERSION_1_3 target, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord4fv((GL.Enums.VERSION_1_3)target, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4(GL.Enums.VERSION_1_3 target, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord4fv((GL.Enums.VERSION_1_3)target, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord4(GL.Enums.VERSION_1_3 target, Single* v)
|
|
{
|
|
Delegates.glMultiTexCoord4fv((GL.Enums.VERSION_1_3)target, (Single*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4(GL.Enums.VERSION_1_3 target, Int32 s, Int32 t, Int32 r, Int32 q)
|
|
{
|
|
Delegates.glMultiTexCoord4i((GL.Enums.VERSION_1_3)target, (Int32)s, (Int32)t, (Int32)r, (Int32)q);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4(GL.Enums.VERSION_1_3 target, Int32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord4iv((GL.Enums.VERSION_1_3)target, (Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4(GL.Enums.VERSION_1_3 target, ref Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord4iv((GL.Enums.VERSION_1_3)target, (Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord4(GL.Enums.VERSION_1_3 target, Int32* v)
|
|
{
|
|
Delegates.glMultiTexCoord4iv((GL.Enums.VERSION_1_3)target, (Int32*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4(GL.Enums.VERSION_1_3 target, Int16 s, Int16 t, Int16 r, Int16 q)
|
|
{
|
|
Delegates.glMultiTexCoord4s((GL.Enums.VERSION_1_3)target, (Int16)s, (Int16)t, (Int16)r, (Int16)q);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4(GL.Enums.VERSION_1_3 target, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord4sv((GL.Enums.VERSION_1_3)target, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4(GL.Enums.VERSION_1_3 target, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord4sv((GL.Enums.VERSION_1_3)target, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord4(GL.Enums.VERSION_1_3 target, Int16* v)
|
|
{
|
|
Delegates.glMultiTexCoord4sv((GL.Enums.VERSION_1_3)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, GL.Enums.Boolean invert)
|
|
{
|
|
Delegates.glSampleCoverage((Single)value, (GL.Enums.Boolean)invert);
|
|
}
|
|
|
|
public static
|
|
void CompressedTexImage3D(GL.Enums.TextureTarget target, Int32 level, GL.Enums.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data)
|
|
{
|
|
Delegates.glCompressedTexImage3D((GL.Enums.TextureTarget)target, (Int32)level, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data);
|
|
}
|
|
|
|
public static
|
|
void CompressedTexImage3D(GL.Enums.TextureTarget target, Int32 level, GL.Enums.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] object data)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glCompressedTexImage3D((GL.Enums.TextureTarget)target, (Int32)level, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
data_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CompressedTexImage2D(GL.Enums.TextureTarget target, Int32 level, GL.Enums.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data)
|
|
{
|
|
Delegates.glCompressedTexImage2D((GL.Enums.TextureTarget)target, (Int32)level, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data);
|
|
}
|
|
|
|
public static
|
|
void CompressedTexImage2D(GL.Enums.TextureTarget target, Int32 level, GL.Enums.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] object data)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glCompressedTexImage2D((GL.Enums.TextureTarget)target, (Int32)level, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
data_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CompressedTexImage1D(GL.Enums.TextureTarget target, Int32 level, GL.Enums.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data)
|
|
{
|
|
Delegates.glCompressedTexImage1D((GL.Enums.TextureTarget)target, (Int32)level, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data);
|
|
}
|
|
|
|
public static
|
|
void CompressedTexImage1D(GL.Enums.TextureTarget target, Int32 level, GL.Enums.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] object data)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glCompressedTexImage1D((GL.Enums.TextureTarget)target, (Int32)level, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
data_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CompressedTexSubImage3D(GL.Enums.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, GL.Enums.PixelFormat format, Int32 imageSize, IntPtr data)
|
|
{
|
|
Delegates.glCompressedTexSubImage3D((GL.Enums.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (GL.Enums.PixelFormat)format, (Int32)imageSize, (IntPtr)data);
|
|
}
|
|
|
|
public static
|
|
void CompressedTexSubImage3D(GL.Enums.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, GL.Enums.PixelFormat format, Int32 imageSize, [In, Out] object data)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glCompressedTexSubImage3D((GL.Enums.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (GL.Enums.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
data_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CompressedTexSubImage2D(GL.Enums.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, GL.Enums.PixelFormat format, Int32 imageSize, IntPtr data)
|
|
{
|
|
Delegates.glCompressedTexSubImage2D((GL.Enums.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (GL.Enums.PixelFormat)format, (Int32)imageSize, (IntPtr)data);
|
|
}
|
|
|
|
public static
|
|
void CompressedTexSubImage2D(GL.Enums.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, GL.Enums.PixelFormat format, Int32 imageSize, [In, Out] object data)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glCompressedTexSubImage2D((GL.Enums.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (GL.Enums.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
data_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CompressedTexSubImage1D(GL.Enums.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, GL.Enums.PixelFormat format, Int32 imageSize, IntPtr data)
|
|
{
|
|
Delegates.glCompressedTexSubImage1D((GL.Enums.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (GL.Enums.PixelFormat)format, (Int32)imageSize, (IntPtr)data);
|
|
}
|
|
|
|
public static
|
|
void CompressedTexSubImage1D(GL.Enums.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, GL.Enums.PixelFormat format, Int32 imageSize, [In, Out] object data)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glCompressedTexSubImage1D((GL.Enums.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (GL.Enums.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
data_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetCompressedTexImage(GL.Enums.TextureTarget target, Int32 level, [Out] IntPtr img)
|
|
{
|
|
Delegates.glGetCompressedTexImage((GL.Enums.TextureTarget)target, (Int32)level, (IntPtr)img);
|
|
}
|
|
|
|
public static
|
|
void GetCompressedTexImage(GL.Enums.TextureTarget target, Int32 level, [In, Out] object img)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle img_ptr = System.Runtime.InteropServices.GCHandle.Alloc(img, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetCompressedTexImage((GL.Enums.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
img_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void BlendFuncSeparate(GL.Enums.VERSION_1_4 sfactorRGB, GL.Enums.VERSION_1_4 dfactorRGB, GL.Enums.VERSION_1_4 sfactorAlpha, GL.Enums.VERSION_1_4 dfactorAlpha)
|
|
{
|
|
Delegates.glBlendFuncSeparate((GL.Enums.VERSION_1_4)sfactorRGB, (GL.Enums.VERSION_1_4)dfactorRGB, (GL.Enums.VERSION_1_4)sfactorAlpha, (GL.Enums.VERSION_1_4)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(GL.Enums.VERSION_1_4 type, Int32 stride, IntPtr pointer)
|
|
{
|
|
Delegates.glFogCoordPointer((GL.Enums.VERSION_1_4)type, (Int32)stride, (IntPtr)pointer);
|
|
}
|
|
|
|
public static
|
|
void FogCoordPointer(GL.Enums.VERSION_1_4 type, Int32 stride, [In, Out] object pointer)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glFogCoordPointer((GL.Enums.VERSION_1_4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiDrawArrays(GL.Enums.BeginMode mode, [Out] Int32[] first, [Out] Int32[] count, Int32 primcount)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* first_ptr = first)
|
|
fixed (Int32* count_ptr = count)
|
|
{
|
|
Delegates.glMultiDrawArrays((GL.Enums.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiDrawArrays(GL.Enums.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((GL.Enums.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
|
|
first = *first_ptr;
|
|
count = *count_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiDrawArrays(GL.Enums.BeginMode mode, [Out] Int32* first, [Out] Int32* count, Int32 primcount)
|
|
{
|
|
Delegates.glMultiDrawArrays((GL.Enums.BeginMode)mode, (Int32*)first, (Int32*)count, (Int32)primcount);
|
|
}
|
|
|
|
public static
|
|
void MultiDrawElements(GL.Enums.BeginMode mode, Int32[] count, GL.Enums.VERSION_1_4 type, IntPtr indices, Int32 primcount)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* count_ptr = count)
|
|
{
|
|
Delegates.glMultiDrawElements((GL.Enums.BeginMode)mode, (Int32*)count_ptr, (GL.Enums.VERSION_1_4)type, (IntPtr)indices, (Int32)primcount);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiDrawElements(GL.Enums.BeginMode mode, Int32* count, GL.Enums.VERSION_1_4 type, [In, Out] object indices, Int32 primcount)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glMultiDrawElements((GL.Enums.BeginMode)mode, (Int32*)count, (GL.Enums.VERSION_1_4)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
|
|
}
|
|
finally
|
|
{
|
|
indices_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiDrawElements(GL.Enums.BeginMode mode, ref Int32 count, GL.Enums.VERSION_1_4 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((GL.Enums.BeginMode)mode, (Int32*)count_ptr, (GL.Enums.VERSION_1_4)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
|
|
}
|
|
finally
|
|
{
|
|
indices_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void PointParameter(GL.Enums.VERSION_1_4 pname, Single param)
|
|
{
|
|
Delegates.glPointParameterf((GL.Enums.VERSION_1_4)pname, (Single)param);
|
|
}
|
|
|
|
public static
|
|
void PointParameterv(GL.Enums.VERSION_1_4 pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glPointParameterfv((GL.Enums.VERSION_1_4)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void PointParameterv(GL.Enums.VERSION_1_4 pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glPointParameterfv((GL.Enums.VERSION_1_4)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void PointParameterv(GL.Enums.VERSION_1_4 pname, Single* @params)
|
|
{
|
|
Delegates.glPointParameterfv((GL.Enums.VERSION_1_4)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void PointParameter(GL.Enums.VERSION_1_4 pname, Int32 param)
|
|
{
|
|
Delegates.glPointParameteri((GL.Enums.VERSION_1_4)pname, (Int32)param);
|
|
}
|
|
|
|
public static
|
|
void PointParameterv(GL.Enums.VERSION_1_4 pname, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glPointParameteriv((GL.Enums.VERSION_1_4)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void PointParameterv(GL.Enums.VERSION_1_4 pname, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glPointParameteriv((GL.Enums.VERSION_1_4)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void PointParameterv(GL.Enums.VERSION_1_4 pname, Int32* @params)
|
|
{
|
|
Delegates.glPointParameteriv((GL.Enums.VERSION_1_4)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, GL.Enums.ColorPointerType type, Int32 stride, IntPtr pointer)
|
|
{
|
|
Delegates.glSecondaryColorPointer((Int32)size, (GL.Enums.ColorPointerType)type, (Int32)stride, (IntPtr)pointer);
|
|
}
|
|
|
|
public static
|
|
void SecondaryColorPointer(Int32 size, GL.Enums.ColorPointerType type, Int32 stride, [In, Out] object pointer)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glSecondaryColorPointer((Int32)size, (GL.Enums.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
|
|
Boolean IsQuery(UInt32 id)
|
|
{
|
|
return Delegates.glIsQuery((UInt32)id);
|
|
}
|
|
|
|
public static
|
|
Boolean IsQuery(Int32 id)
|
|
{
|
|
return Delegates.glIsQuery((UInt32)id);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void BeginQuery(GL.Enums.VERSION_1_5 target, UInt32 id)
|
|
{
|
|
Delegates.glBeginQuery((GL.Enums.VERSION_1_5)target, (UInt32)id);
|
|
}
|
|
|
|
public static
|
|
void BeginQuery(GL.Enums.VERSION_1_5 target, Int32 id)
|
|
{
|
|
Delegates.glBeginQuery((GL.Enums.VERSION_1_5)target, (UInt32)id);
|
|
}
|
|
|
|
public static
|
|
void EndQuery(GL.Enums.VERSION_1_5 target)
|
|
{
|
|
Delegates.glEndQuery((GL.Enums.VERSION_1_5)target);
|
|
}
|
|
|
|
public static
|
|
void GetQuery(GL.Enums.VERSION_1_5 target, GL.Enums.VERSION_1_5 pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetQueryiv((GL.Enums.VERSION_1_5)target, (GL.Enums.VERSION_1_5)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetQuery(GL.Enums.VERSION_1_5 target, GL.Enums.VERSION_1_5 pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetQueryiv((GL.Enums.VERSION_1_5)target, (GL.Enums.VERSION_1_5)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetQuery(GL.Enums.VERSION_1_5 target, GL.Enums.VERSION_1_5 pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetQueryiv((GL.Enums.VERSION_1_5)target, (GL.Enums.VERSION_1_5)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetQueryObject(UInt32 id, GL.Enums.VERSION_1_5 pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetQueryObjectiv((UInt32)id, (GL.Enums.VERSION_1_5)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetQueryObject(UInt32 id, GL.Enums.VERSION_1_5 pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetQueryObjectiv((UInt32)id, (GL.Enums.VERSION_1_5)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetQueryObject(UInt32 id, GL.Enums.VERSION_1_5 pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetQueryObjectiv((UInt32)id, (GL.Enums.VERSION_1_5)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetQueryObject(UInt32 id, GL.Enums.VERSION_1_5 pname, [Out] UInt32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetQueryObjectuiv((UInt32)id, (GL.Enums.VERSION_1_5)pname, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetQueryObject(Int32 id, GL.Enums.VERSION_1_5 pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetQueryObjectuiv((UInt32)id, (GL.Enums.VERSION_1_5)pname, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetQueryObject(UInt32 id, GL.Enums.VERSION_1_5 pname, [Out] out UInt32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetQueryObjectuiv((UInt32)id, (GL.Enums.VERSION_1_5)pname, (UInt32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetQueryObject(Int32 id, GL.Enums.VERSION_1_5 pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetQueryObjectuiv((UInt32)id, (GL.Enums.VERSION_1_5)pname, (UInt32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetQueryObject(UInt32 id, GL.Enums.VERSION_1_5 pname, [Out] UInt32* @params)
|
|
{
|
|
Delegates.glGetQueryObjectuiv((UInt32)id, (GL.Enums.VERSION_1_5)pname, (UInt32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetQueryObject(Int32 id, GL.Enums.VERSION_1_5 pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetQueryObjectuiv((UInt32)id, (GL.Enums.VERSION_1_5)pname, (UInt32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void BindBuffer(GL.Enums.VERSION_1_5 target, UInt32 buffer)
|
|
{
|
|
Delegates.glBindBuffer((GL.Enums.VERSION_1_5)target, (UInt32)buffer);
|
|
}
|
|
|
|
public static
|
|
void BindBuffer(GL.Enums.VERSION_1_5 target, Int32 buffer)
|
|
{
|
|
Delegates.glBindBuffer((GL.Enums.VERSION_1_5)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
|
|
Boolean IsBuffer(UInt32 buffer)
|
|
{
|
|
return Delegates.glIsBuffer((UInt32)buffer);
|
|
}
|
|
|
|
public static
|
|
Boolean IsBuffer(Int32 buffer)
|
|
{
|
|
return Delegates.glIsBuffer((UInt32)buffer);
|
|
}
|
|
|
|
public static
|
|
void BufferData(GL.Enums.VERSION_1_5 target, IntPtr size, IntPtr data, GL.Enums.VERSION_1_5 usage)
|
|
{
|
|
Delegates.glBufferData((GL.Enums.VERSION_1_5)target, (IntPtr)size, (IntPtr)data, (GL.Enums.VERSION_1_5)usage);
|
|
}
|
|
|
|
public static
|
|
void BufferData(GL.Enums.VERSION_1_5 target, [In, Out] object size, [In, Out] object data, GL.Enums.VERSION_1_5 usage)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle size_ptr = System.Runtime.InteropServices.GCHandle.Alloc(size, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glBufferData((GL.Enums.VERSION_1_5)target, (IntPtr)size_ptr.AddrOfPinnedObject(), (IntPtr)data_ptr.AddrOfPinnedObject(), (GL.Enums.VERSION_1_5)usage);
|
|
}
|
|
finally
|
|
{
|
|
size_ptr.Free();
|
|
data_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void BufferSubData(GL.Enums.VERSION_1_5 target, IntPtr offset, IntPtr size, IntPtr data)
|
|
{
|
|
Delegates.glBufferSubData((GL.Enums.VERSION_1_5)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data);
|
|
}
|
|
|
|
public static
|
|
void BufferSubData(GL.Enums.VERSION_1_5 target, IntPtr offset, [In, Out] object size, [In, Out] object data)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle size_ptr = System.Runtime.InteropServices.GCHandle.Alloc(size, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glBufferSubData((GL.Enums.VERSION_1_5)target, (IntPtr)offset, (IntPtr)size_ptr.AddrOfPinnedObject(), (IntPtr)data_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
size_ptr.Free();
|
|
data_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void BufferSubData(GL.Enums.VERSION_1_5 target, [In, Out] object offset, [In, Out] object size, [In, Out] object data)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle offset_ptr = System.Runtime.InteropServices.GCHandle.Alloc(offset, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
System.Runtime.InteropServices.GCHandle size_ptr = System.Runtime.InteropServices.GCHandle.Alloc(size, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glBufferSubData((GL.Enums.VERSION_1_5)target, (IntPtr)offset_ptr.AddrOfPinnedObject(), (IntPtr)size_ptr.AddrOfPinnedObject(), (IntPtr)data_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
offset_ptr.Free();
|
|
size_ptr.Free();
|
|
data_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetBufferSubData(GL.Enums.VERSION_1_5 target, IntPtr offset, IntPtr size, [Out] IntPtr data)
|
|
{
|
|
Delegates.glGetBufferSubData((GL.Enums.VERSION_1_5)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data);
|
|
}
|
|
|
|
public static
|
|
void GetBufferSubData(GL.Enums.VERSION_1_5 target, IntPtr offset, [In, Out] object size, [In, Out] object data)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle size_ptr = System.Runtime.InteropServices.GCHandle.Alloc(size, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetBufferSubData((GL.Enums.VERSION_1_5)target, (IntPtr)offset, (IntPtr)size_ptr.AddrOfPinnedObject(), (IntPtr)data_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
size_ptr.Free();
|
|
data_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetBufferSubData(GL.Enums.VERSION_1_5 target, [In, Out] object offset, [In, Out] object size, [In, Out] object data)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle offset_ptr = System.Runtime.InteropServices.GCHandle.Alloc(offset, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
System.Runtime.InteropServices.GCHandle size_ptr = System.Runtime.InteropServices.GCHandle.Alloc(size, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetBufferSubData((GL.Enums.VERSION_1_5)target, (IntPtr)offset_ptr.AddrOfPinnedObject(), (IntPtr)size_ptr.AddrOfPinnedObject(), (IntPtr)data_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
offset_ptr.Free();
|
|
size_ptr.Free();
|
|
data_ptr.Free();
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe IntPtr MapBuffer(GL.Enums.VERSION_1_5 target, GL.Enums.VERSION_1_5 access)
|
|
{
|
|
return Delegates.glMapBuffer((GL.Enums.VERSION_1_5)target, (GL.Enums.VERSION_1_5)access);
|
|
}
|
|
|
|
public static
|
|
Boolean UnmapBuffer(GL.Enums.VERSION_1_5 target)
|
|
{
|
|
return Delegates.glUnmapBuffer((GL.Enums.VERSION_1_5)target);
|
|
}
|
|
|
|
public static
|
|
void GetBufferParameter(GL.Enums.VERSION_1_5 target, GL.Enums.VERSION_1_5 pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetBufferParameteriv((GL.Enums.VERSION_1_5)target, (GL.Enums.VERSION_1_5)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetBufferParameter(GL.Enums.VERSION_1_5 target, GL.Enums.VERSION_1_5 pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetBufferParameteriv((GL.Enums.VERSION_1_5)target, (GL.Enums.VERSION_1_5)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetBufferParameter(GL.Enums.VERSION_1_5 target, GL.Enums.VERSION_1_5 pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetBufferParameteriv((GL.Enums.VERSION_1_5)target, (GL.Enums.VERSION_1_5)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetBufferPointer(GL.Enums.VERSION_1_5 target, GL.Enums.VERSION_1_5 pname, [Out] IntPtr @params)
|
|
{
|
|
Delegates.glGetBufferPointerv((GL.Enums.VERSION_1_5)target, (GL.Enums.VERSION_1_5)pname, (IntPtr)@params);
|
|
}
|
|
|
|
public static
|
|
void GetBufferPointer(GL.Enums.VERSION_1_5 target, GL.Enums.VERSION_1_5 pname, [In, Out] object @params)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle @params_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@params, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetBufferPointerv((GL.Enums.VERSION_1_5)target, (GL.Enums.VERSION_1_5)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
@params_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void BlendEquationSeparate(GL.Enums.BlendEquationModeEXT modeRGB, GL.Enums.BlendEquationModeEXT modeAlpha)
|
|
{
|
|
Delegates.glBlendEquationSeparate((GL.Enums.BlendEquationModeEXT)modeRGB, (GL.Enums.BlendEquationModeEXT)modeAlpha);
|
|
}
|
|
|
|
public static
|
|
void DrawBuffers(Int32 n, GL.Enums.VERSION_2_0[] bufs)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (GL.Enums.VERSION_2_0* bufs_ptr = bufs)
|
|
{
|
|
Delegates.glDrawBuffers((Int32)n, (GL.Enums.VERSION_2_0*)bufs_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DrawBuffers(Int32 n, ref GL.Enums.VERSION_2_0 bufs)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (GL.Enums.VERSION_2_0* bufs_ptr = &bufs)
|
|
{
|
|
Delegates.glDrawBuffers((Int32)n, (GL.Enums.VERSION_2_0*)bufs_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void DrawBuffers(Int32 n, GL.Enums.VERSION_2_0* bufs)
|
|
{
|
|
Delegates.glDrawBuffers((Int32)n, (GL.Enums.VERSION_2_0*)bufs);
|
|
}
|
|
|
|
public static
|
|
void StencilOpSeparate(GL.Enums.VERSION_2_0 face, GL.Enums.StencilOp sfail, GL.Enums.StencilOp dpfail, GL.Enums.StencilOp dppass)
|
|
{
|
|
Delegates.glStencilOpSeparate((GL.Enums.VERSION_2_0)face, (GL.Enums.StencilOp)sfail, (GL.Enums.StencilOp)dpfail, (GL.Enums.StencilOp)dppass);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void StencilFuncSeparate(GL.Enums.StencilFunction frontfunc, GL.Enums.StencilFunction backfunc, Int32 @ref, UInt32 mask)
|
|
{
|
|
Delegates.glStencilFuncSeparate((GL.Enums.StencilFunction)frontfunc, (GL.Enums.StencilFunction)backfunc, (Int32)@ref, (UInt32)mask);
|
|
}
|
|
|
|
public static
|
|
void StencilFuncSeparate(GL.Enums.StencilFunction frontfunc, GL.Enums.StencilFunction backfunc, Int32 @ref, Int32 mask)
|
|
{
|
|
Delegates.glStencilFuncSeparate((GL.Enums.StencilFunction)frontfunc, (GL.Enums.StencilFunction)backfunc, (Int32)@ref, (UInt32)mask);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void StencilMaskSeparate(GL.Enums.VERSION_2_0 face, UInt32 mask)
|
|
{
|
|
Delegates.glStencilMaskSeparate((GL.Enums.VERSION_2_0)face, (UInt32)mask);
|
|
}
|
|
|
|
public static
|
|
void StencilMaskSeparate(GL.Enums.VERSION_2_0 face, Int32 mask)
|
|
{
|
|
Delegates.glStencilMaskSeparate((GL.Enums.VERSION_2_0)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(GL.Enums.VERSION_2_0 type)
|
|
{
|
|
return Delegates.glCreateShader((GL.Enums.VERSION_2_0)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] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = length)
|
|
fixed (Int32* size_ptr = size)
|
|
fixed (GL.Enums.VERSION_2_0* type_ptr = type)
|
|
{
|
|
Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32[] size, [Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = length)
|
|
fixed (Int32* size_ptr = size)
|
|
fixed (GL.Enums.VERSION_2_0* type_ptr = type)
|
|
{
|
|
Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = &length)
|
|
fixed (Int32* size_ptr = &size)
|
|
fixed (GL.Enums.VERSION_2_0* type_ptr = &type)
|
|
{
|
|
Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name);
|
|
length = *length_ptr;
|
|
size = *size_ptr;
|
|
type = *type_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = &length)
|
|
fixed (Int32* size_ptr = &size)
|
|
fixed (GL.Enums.VERSION_2_0* type_ptr = &type)
|
|
{
|
|
Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name);
|
|
length = *length_ptr;
|
|
size = *size_ptr;
|
|
type = *type_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (GL.Enums.VERSION_2_0*)type, (System.Text.StringBuilder)name);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (GL.Enums.VERSION_2_0*)type, (System.Text.StringBuilder)name);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32[] size, [Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = length)
|
|
fixed (Int32* size_ptr = size)
|
|
fixed (GL.Enums.VERSION_2_0* type_ptr = type)
|
|
{
|
|
Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32[] size, [Out] GL.Enums.VERSION_2_0[] type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = length)
|
|
fixed (Int32* size_ptr = size)
|
|
fixed (GL.Enums.VERSION_2_0* type_ptr = type)
|
|
{
|
|
Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = &length)
|
|
fixed (Int32* size_ptr = &size)
|
|
fixed (GL.Enums.VERSION_2_0* type_ptr = &type)
|
|
{
|
|
Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name);
|
|
length = *length_ptr;
|
|
size = *size_ptr;
|
|
type = *type_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out GL.Enums.VERSION_2_0 type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = &length)
|
|
fixed (Int32* size_ptr = &size)
|
|
fixed (GL.Enums.VERSION_2_0* type_ptr = &type)
|
|
{
|
|
Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.VERSION_2_0*)type_ptr, (System.Text.StringBuilder)name);
|
|
length = *length_ptr;
|
|
size = *size_ptr;
|
|
type = *type_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (GL.Enums.VERSION_2_0*)type, (System.Text.StringBuilder)name);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] GL.Enums.VERSION_2_0* type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (GL.Enums.VERSION_2_0*)type, (System.Text.StringBuilder)name);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
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, GL.Enums.VERSION_2_0 pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetProgramiv((UInt32)program, (GL.Enums.VERSION_2_0)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgram(Int32 program, GL.Enums.VERSION_2_0 pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetProgramiv((UInt32)program, (GL.Enums.VERSION_2_0)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgram(UInt32 program, GL.Enums.VERSION_2_0 pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetProgramiv((UInt32)program, (GL.Enums.VERSION_2_0)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgram(Int32 program, GL.Enums.VERSION_2_0 pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetProgramiv((UInt32)program, (GL.Enums.VERSION_2_0)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgram(UInt32 program, GL.Enums.VERSION_2_0 pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetProgramiv((UInt32)program, (GL.Enums.VERSION_2_0)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgram(Int32 program, GL.Enums.VERSION_2_0 pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetProgramiv((UInt32)program, (GL.Enums.VERSION_2_0)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, GL.Enums.VERSION_2_0 pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetShaderiv((UInt32)shader, (GL.Enums.VERSION_2_0)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetShader(Int32 shader, GL.Enums.VERSION_2_0 pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetShaderiv((UInt32)shader, (GL.Enums.VERSION_2_0)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetShader(UInt32 shader, GL.Enums.VERSION_2_0 pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetShaderiv((UInt32)shader, (GL.Enums.VERSION_2_0)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetShader(Int32 shader, GL.Enums.VERSION_2_0 pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetShaderiv((UInt32)shader, (GL.Enums.VERSION_2_0)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetShader(UInt32 shader, GL.Enums.VERSION_2_0 pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetShaderiv((UInt32)shader, (GL.Enums.VERSION_2_0)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetShader(Int32 shader, GL.Enums.VERSION_2_0 pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetShaderiv((UInt32)shader, (GL.Enums.VERSION_2_0)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, GL.Enums.VERSION_2_0 pname, [Out] Double[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVertexAttribdv((UInt32)index, (GL.Enums.VERSION_2_0)pname, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttrib(Int32 index, GL.Enums.VERSION_2_0 pname, [Out] Double[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVertexAttribdv((UInt32)index, (GL.Enums.VERSION_2_0)pname, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttrib(UInt32 index, GL.Enums.VERSION_2_0 pname, [Out] out Double @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVertexAttribdv((UInt32)index, (GL.Enums.VERSION_2_0)pname, (Double*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttrib(Int32 index, GL.Enums.VERSION_2_0 pname, [Out] out Double @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVertexAttribdv((UInt32)index, (GL.Enums.VERSION_2_0)pname, (Double*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVertexAttrib(UInt32 index, GL.Enums.VERSION_2_0 pname, [Out] Double* @params)
|
|
{
|
|
Delegates.glGetVertexAttribdv((UInt32)index, (GL.Enums.VERSION_2_0)pname, (Double*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVertexAttrib(Int32 index, GL.Enums.VERSION_2_0 pname, [Out] Double* @params)
|
|
{
|
|
Delegates.glGetVertexAttribdv((UInt32)index, (GL.Enums.VERSION_2_0)pname, (Double*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttrib(UInt32 index, GL.Enums.VERSION_2_0 pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVertexAttribfv((UInt32)index, (GL.Enums.VERSION_2_0)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttrib(Int32 index, GL.Enums.VERSION_2_0 pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVertexAttribfv((UInt32)index, (GL.Enums.VERSION_2_0)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttrib(UInt32 index, GL.Enums.VERSION_2_0 pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVertexAttribfv((UInt32)index, (GL.Enums.VERSION_2_0)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttrib(Int32 index, GL.Enums.VERSION_2_0 pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVertexAttribfv((UInt32)index, (GL.Enums.VERSION_2_0)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVertexAttrib(UInt32 index, GL.Enums.VERSION_2_0 pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetVertexAttribfv((UInt32)index, (GL.Enums.VERSION_2_0)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVertexAttrib(Int32 index, GL.Enums.VERSION_2_0 pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetVertexAttribfv((UInt32)index, (GL.Enums.VERSION_2_0)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttrib(UInt32 index, GL.Enums.VERSION_2_0 pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVertexAttribiv((UInt32)index, (GL.Enums.VERSION_2_0)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttrib(Int32 index, GL.Enums.VERSION_2_0 pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVertexAttribiv((UInt32)index, (GL.Enums.VERSION_2_0)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttrib(UInt32 index, GL.Enums.VERSION_2_0 pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVertexAttribiv((UInt32)index, (GL.Enums.VERSION_2_0)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttrib(Int32 index, GL.Enums.VERSION_2_0 pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVertexAttribiv((UInt32)index, (GL.Enums.VERSION_2_0)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVertexAttrib(UInt32 index, GL.Enums.VERSION_2_0 pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetVertexAttribiv((UInt32)index, (GL.Enums.VERSION_2_0)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVertexAttrib(Int32 index, GL.Enums.VERSION_2_0 pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetVertexAttribiv((UInt32)index, (GL.Enums.VERSION_2_0)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttribPointer(UInt32 index, GL.Enums.VERSION_2_0 pname, [Out] IntPtr pointer)
|
|
{
|
|
Delegates.glGetVertexAttribPointerv((UInt32)index, (GL.Enums.VERSION_2_0)pname, (IntPtr)pointer);
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttribPointer(Int32 index, GL.Enums.VERSION_2_0 pname, [Out] IntPtr pointer)
|
|
{
|
|
Delegates.glGetVertexAttribPointerv((UInt32)index, (GL.Enums.VERSION_2_0)pname, (IntPtr)pointer);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttribPointer(UInt32 index, GL.Enums.VERSION_2_0 pname, [In, Out] object pointer)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetVertexAttribPointerv((UInt32)index, (GL.Enums.VERSION_2_0)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttribPointer(Int32 index, GL.Enums.VERSION_2_0 pname, [In, Out] object pointer)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetVertexAttribPointerv((UInt32)index, (GL.Enums.VERSION_2_0)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
Boolean IsProgram(UInt32 program)
|
|
{
|
|
return Delegates.glIsProgram((UInt32)program);
|
|
}
|
|
|
|
public static
|
|
Boolean IsProgram(Int32 program)
|
|
{
|
|
return Delegates.glIsProgram((UInt32)program);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
Boolean IsShader(UInt32 shader)
|
|
{
|
|
return Delegates.glIsShader((UInt32)shader);
|
|
}
|
|
|
|
public static
|
|
Boolean 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, GL.Enums.Boolean transpose, Single[] value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = value)
|
|
{
|
|
Delegates.glUniformMatrix2fv((Int32)location, (Int32)count, (GL.Enums.Boolean)transpose, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void UniformMatrix2(Int32 location, Int32 count, GL.Enums.Boolean transpose, ref Single value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = &value)
|
|
{
|
|
Delegates.glUniformMatrix2fv((Int32)location, (Int32)count, (GL.Enums.Boolean)transpose, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void UniformMatrix2(Int32 location, Int32 count, GL.Enums.Boolean transpose, Single* value)
|
|
{
|
|
Delegates.glUniformMatrix2fv((Int32)location, (Int32)count, (GL.Enums.Boolean)transpose, (Single*)value);
|
|
}
|
|
|
|
public static
|
|
void UniformMatrix3(Int32 location, Int32 count, GL.Enums.Boolean transpose, Single[] value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = value)
|
|
{
|
|
Delegates.glUniformMatrix3fv((Int32)location, (Int32)count, (GL.Enums.Boolean)transpose, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void UniformMatrix3(Int32 location, Int32 count, GL.Enums.Boolean transpose, ref Single value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = &value)
|
|
{
|
|
Delegates.glUniformMatrix3fv((Int32)location, (Int32)count, (GL.Enums.Boolean)transpose, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void UniformMatrix3(Int32 location, Int32 count, GL.Enums.Boolean transpose, Single* value)
|
|
{
|
|
Delegates.glUniformMatrix3fv((Int32)location, (Int32)count, (GL.Enums.Boolean)transpose, (Single*)value);
|
|
}
|
|
|
|
public static
|
|
void UniformMatrix4(Int32 location, Int32 count, GL.Enums.Boolean transpose, Single[] value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = value)
|
|
{
|
|
Delegates.glUniformMatrix4fv((Int32)location, (Int32)count, (GL.Enums.Boolean)transpose, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void UniformMatrix4(Int32 location, Int32 count, GL.Enums.Boolean transpose, ref Single value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = &value)
|
|
{
|
|
Delegates.glUniformMatrix4fv((Int32)location, (Int32)count, (GL.Enums.Boolean)transpose, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void UniformMatrix4(Int32 location, Int32 count, GL.Enums.Boolean transpose, Single* value)
|
|
{
|
|
Delegates.glUniformMatrix4fv((Int32)location, (Int32)count, (GL.Enums.Boolean)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, GL.Enums.VERSION_2_0 type, GL.Enums.Boolean normalized, Int32 stride, IntPtr pointer)
|
|
{
|
|
Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (GL.Enums.VERSION_2_0)type, (GL.Enums.Boolean)normalized, (Int32)stride, (IntPtr)pointer);
|
|
}
|
|
|
|
public static
|
|
void VertexAttribPointer(Int32 index, Int32 size, GL.Enums.VERSION_2_0 type, GL.Enums.Boolean normalized, Int32 stride, IntPtr pointer)
|
|
{
|
|
Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (GL.Enums.VERSION_2_0)type, (GL.Enums.Boolean)normalized, (Int32)stride, (IntPtr)pointer);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribPointer(UInt32 index, Int32 size, GL.Enums.VERSION_2_0 type, GL.Enums.Boolean normalized, Int32 stride, [In, Out] object pointer)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (GL.Enums.VERSION_2_0)type, (GL.Enums.Boolean)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttribPointer(Int32 index, Int32 size, GL.Enums.VERSION_2_0 type, GL.Enums.Boolean normalized, Int32 stride, [In, Out] object pointer)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (GL.Enums.VERSION_2_0)type, (GL.Enums.Boolean)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void UniformMatrix2x3(Int32 location, Int32 count, GL.Enums.Boolean transpose, Single[] value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = value)
|
|
{
|
|
Delegates.glUniformMatrix2x3fv((Int32)location, (Int32)count, (GL.Enums.Boolean)transpose, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void UniformMatrix2x3(Int32 location, Int32 count, GL.Enums.Boolean transpose, ref Single value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = &value)
|
|
{
|
|
Delegates.glUniformMatrix2x3fv((Int32)location, (Int32)count, (GL.Enums.Boolean)transpose, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void UniformMatrix2x3(Int32 location, Int32 count, GL.Enums.Boolean transpose, Single* value)
|
|
{
|
|
Delegates.glUniformMatrix2x3fv((Int32)location, (Int32)count, (GL.Enums.Boolean)transpose, (Single*)value);
|
|
}
|
|
|
|
public static
|
|
void UniformMatrix3x2(Int32 location, Int32 count, GL.Enums.Boolean transpose, Single[] value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = value)
|
|
{
|
|
Delegates.glUniformMatrix3x2fv((Int32)location, (Int32)count, (GL.Enums.Boolean)transpose, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void UniformMatrix3x2(Int32 location, Int32 count, GL.Enums.Boolean transpose, ref Single value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = &value)
|
|
{
|
|
Delegates.glUniformMatrix3x2fv((Int32)location, (Int32)count, (GL.Enums.Boolean)transpose, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void UniformMatrix3x2(Int32 location, Int32 count, GL.Enums.Boolean transpose, Single* value)
|
|
{
|
|
Delegates.glUniformMatrix3x2fv((Int32)location, (Int32)count, (GL.Enums.Boolean)transpose, (Single*)value);
|
|
}
|
|
|
|
public static
|
|
void UniformMatrix2x4(Int32 location, Int32 count, GL.Enums.Boolean transpose, Single[] value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = value)
|
|
{
|
|
Delegates.glUniformMatrix2x4fv((Int32)location, (Int32)count, (GL.Enums.Boolean)transpose, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void UniformMatrix2x4(Int32 location, Int32 count, GL.Enums.Boolean transpose, ref Single value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = &value)
|
|
{
|
|
Delegates.glUniformMatrix2x4fv((Int32)location, (Int32)count, (GL.Enums.Boolean)transpose, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void UniformMatrix2x4(Int32 location, Int32 count, GL.Enums.Boolean transpose, Single* value)
|
|
{
|
|
Delegates.glUniformMatrix2x4fv((Int32)location, (Int32)count, (GL.Enums.Boolean)transpose, (Single*)value);
|
|
}
|
|
|
|
public static
|
|
void UniformMatrix4x2(Int32 location, Int32 count, GL.Enums.Boolean transpose, Single[] value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = value)
|
|
{
|
|
Delegates.glUniformMatrix4x2fv((Int32)location, (Int32)count, (GL.Enums.Boolean)transpose, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void UniformMatrix4x2(Int32 location, Int32 count, GL.Enums.Boolean transpose, ref Single value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = &value)
|
|
{
|
|
Delegates.glUniformMatrix4x2fv((Int32)location, (Int32)count, (GL.Enums.Boolean)transpose, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void UniformMatrix4x2(Int32 location, Int32 count, GL.Enums.Boolean transpose, Single* value)
|
|
{
|
|
Delegates.glUniformMatrix4x2fv((Int32)location, (Int32)count, (GL.Enums.Boolean)transpose, (Single*)value);
|
|
}
|
|
|
|
public static
|
|
void UniformMatrix3x4(Int32 location, Int32 count, GL.Enums.Boolean transpose, Single[] value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = value)
|
|
{
|
|
Delegates.glUniformMatrix3x4fv((Int32)location, (Int32)count, (GL.Enums.Boolean)transpose, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void UniformMatrix3x4(Int32 location, Int32 count, GL.Enums.Boolean transpose, ref Single value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = &value)
|
|
{
|
|
Delegates.glUniformMatrix3x4fv((Int32)location, (Int32)count, (GL.Enums.Boolean)transpose, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void UniformMatrix3x4(Int32 location, Int32 count, GL.Enums.Boolean transpose, Single* value)
|
|
{
|
|
Delegates.glUniformMatrix3x4fv((Int32)location, (Int32)count, (GL.Enums.Boolean)transpose, (Single*)value);
|
|
}
|
|
|
|
public static
|
|
void UniformMatrix4x3(Int32 location, Int32 count, GL.Enums.Boolean transpose, Single[] value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = value)
|
|
{
|
|
Delegates.glUniformMatrix4x3fv((Int32)location, (Int32)count, (GL.Enums.Boolean)transpose, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void UniformMatrix4x3(Int32 location, Int32 count, GL.Enums.Boolean transpose, ref Single value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = &value)
|
|
{
|
|
Delegates.glUniformMatrix4x3fv((Int32)location, (Int32)count, (GL.Enums.Boolean)transpose, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void UniformMatrix4x3(Int32 location, Int32 count, GL.Enums.Boolean transpose, Single* value)
|
|
{
|
|
Delegates.glUniformMatrix4x3fv((Int32)location, (Int32)count, (GL.Enums.Boolean)transpose, (Single*)value);
|
|
}
|
|
|
|
public static partial class ARB
|
|
{
|
|
public static
|
|
void ActiveTexture(GL.Enums.ARB_multitexture texture)
|
|
{
|
|
Delegates.glActiveTextureARB((GL.Enums.ARB_multitexture)texture);
|
|
}
|
|
|
|
public static
|
|
void ClientActiveTexture(GL.Enums.ARB_multitexture texture)
|
|
{
|
|
Delegates.glClientActiveTextureARB((GL.Enums.ARB_multitexture)texture);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1(GL.Enums.ARB_multitexture target, Double s)
|
|
{
|
|
Delegates.glMultiTexCoord1dARB((GL.Enums.ARB_multitexture)target, (Double)s);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1v(GL.Enums.ARB_multitexture target, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord1dvARB((GL.Enums.ARB_multitexture)target, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1v(GL.Enums.ARB_multitexture target, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord1dvARB((GL.Enums.ARB_multitexture)target, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord1v(GL.Enums.ARB_multitexture target, Double* v)
|
|
{
|
|
Delegates.glMultiTexCoord1dvARB((GL.Enums.ARB_multitexture)target, (Double*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1(GL.Enums.ARB_multitexture target, Single s)
|
|
{
|
|
Delegates.glMultiTexCoord1fARB((GL.Enums.ARB_multitexture)target, (Single)s);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1v(GL.Enums.ARB_multitexture target, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord1fvARB((GL.Enums.ARB_multitexture)target, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1v(GL.Enums.ARB_multitexture target, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord1fvARB((GL.Enums.ARB_multitexture)target, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord1v(GL.Enums.ARB_multitexture target, Single* v)
|
|
{
|
|
Delegates.glMultiTexCoord1fvARB((GL.Enums.ARB_multitexture)target, (Single*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1(GL.Enums.ARB_multitexture target, Int32 s)
|
|
{
|
|
Delegates.glMultiTexCoord1iARB((GL.Enums.ARB_multitexture)target, (Int32)s);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1v(GL.Enums.ARB_multitexture target, Int32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord1ivARB((GL.Enums.ARB_multitexture)target, (Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1v(GL.Enums.ARB_multitexture target, ref Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord1ivARB((GL.Enums.ARB_multitexture)target, (Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord1v(GL.Enums.ARB_multitexture target, Int32* v)
|
|
{
|
|
Delegates.glMultiTexCoord1ivARB((GL.Enums.ARB_multitexture)target, (Int32*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1(GL.Enums.ARB_multitexture target, Int16 s)
|
|
{
|
|
Delegates.glMultiTexCoord1sARB((GL.Enums.ARB_multitexture)target, (Int16)s);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1v(GL.Enums.ARB_multitexture target, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord1svARB((GL.Enums.ARB_multitexture)target, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1v(GL.Enums.ARB_multitexture target, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord1svARB((GL.Enums.ARB_multitexture)target, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord1v(GL.Enums.ARB_multitexture target, Int16* v)
|
|
{
|
|
Delegates.glMultiTexCoord1svARB((GL.Enums.ARB_multitexture)target, (Int16*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2(GL.Enums.ARB_multitexture target, Double s, Double t)
|
|
{
|
|
Delegates.glMultiTexCoord2dARB((GL.Enums.ARB_multitexture)target, (Double)s, (Double)t);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2(GL.Enums.ARB_multitexture target, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord2dvARB((GL.Enums.ARB_multitexture)target, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2(GL.Enums.ARB_multitexture target, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord2dvARB((GL.Enums.ARB_multitexture)target, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord2(GL.Enums.ARB_multitexture target, Double* v)
|
|
{
|
|
Delegates.glMultiTexCoord2dvARB((GL.Enums.ARB_multitexture)target, (Double*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2(GL.Enums.ARB_multitexture target, Single s, Single t)
|
|
{
|
|
Delegates.glMultiTexCoord2fARB((GL.Enums.ARB_multitexture)target, (Single)s, (Single)t);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2(GL.Enums.ARB_multitexture target, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord2fvARB((GL.Enums.ARB_multitexture)target, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2(GL.Enums.ARB_multitexture target, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord2fvARB((GL.Enums.ARB_multitexture)target, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord2(GL.Enums.ARB_multitexture target, Single* v)
|
|
{
|
|
Delegates.glMultiTexCoord2fvARB((GL.Enums.ARB_multitexture)target, (Single*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2(GL.Enums.ARB_multitexture target, Int32 s, Int32 t)
|
|
{
|
|
Delegates.glMultiTexCoord2iARB((GL.Enums.ARB_multitexture)target, (Int32)s, (Int32)t);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2(GL.Enums.ARB_multitexture target, Int32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord2ivARB((GL.Enums.ARB_multitexture)target, (Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2(GL.Enums.ARB_multitexture target, ref Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord2ivARB((GL.Enums.ARB_multitexture)target, (Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord2(GL.Enums.ARB_multitexture target, Int32* v)
|
|
{
|
|
Delegates.glMultiTexCoord2ivARB((GL.Enums.ARB_multitexture)target, (Int32*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2(GL.Enums.ARB_multitexture target, Int16 s, Int16 t)
|
|
{
|
|
Delegates.glMultiTexCoord2sARB((GL.Enums.ARB_multitexture)target, (Int16)s, (Int16)t);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2(GL.Enums.ARB_multitexture target, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord2svARB((GL.Enums.ARB_multitexture)target, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2(GL.Enums.ARB_multitexture target, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord2svARB((GL.Enums.ARB_multitexture)target, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord2(GL.Enums.ARB_multitexture target, Int16* v)
|
|
{
|
|
Delegates.glMultiTexCoord2svARB((GL.Enums.ARB_multitexture)target, (Int16*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3(GL.Enums.ARB_multitexture target, Double s, Double t, Double r)
|
|
{
|
|
Delegates.glMultiTexCoord3dARB((GL.Enums.ARB_multitexture)target, (Double)s, (Double)t, (Double)r);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3(GL.Enums.ARB_multitexture target, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord3dvARB((GL.Enums.ARB_multitexture)target, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3(GL.Enums.ARB_multitexture target, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord3dvARB((GL.Enums.ARB_multitexture)target, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord3(GL.Enums.ARB_multitexture target, Double* v)
|
|
{
|
|
Delegates.glMultiTexCoord3dvARB((GL.Enums.ARB_multitexture)target, (Double*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3(GL.Enums.ARB_multitexture target, Single s, Single t, Single r)
|
|
{
|
|
Delegates.glMultiTexCoord3fARB((GL.Enums.ARB_multitexture)target, (Single)s, (Single)t, (Single)r);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3(GL.Enums.ARB_multitexture target, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord3fvARB((GL.Enums.ARB_multitexture)target, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3(GL.Enums.ARB_multitexture target, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord3fvARB((GL.Enums.ARB_multitexture)target, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord3(GL.Enums.ARB_multitexture target, Single* v)
|
|
{
|
|
Delegates.glMultiTexCoord3fvARB((GL.Enums.ARB_multitexture)target, (Single*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3(GL.Enums.ARB_multitexture target, Int32 s, Int32 t, Int32 r)
|
|
{
|
|
Delegates.glMultiTexCoord3iARB((GL.Enums.ARB_multitexture)target, (Int32)s, (Int32)t, (Int32)r);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3(GL.Enums.ARB_multitexture target, Int32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord3ivARB((GL.Enums.ARB_multitexture)target, (Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3(GL.Enums.ARB_multitexture target, ref Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord3ivARB((GL.Enums.ARB_multitexture)target, (Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord3(GL.Enums.ARB_multitexture target, Int32* v)
|
|
{
|
|
Delegates.glMultiTexCoord3ivARB((GL.Enums.ARB_multitexture)target, (Int32*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3(GL.Enums.ARB_multitexture target, Int16 s, Int16 t, Int16 r)
|
|
{
|
|
Delegates.glMultiTexCoord3sARB((GL.Enums.ARB_multitexture)target, (Int16)s, (Int16)t, (Int16)r);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3(GL.Enums.ARB_multitexture target, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord3svARB((GL.Enums.ARB_multitexture)target, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3(GL.Enums.ARB_multitexture target, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord3svARB((GL.Enums.ARB_multitexture)target, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord3(GL.Enums.ARB_multitexture target, Int16* v)
|
|
{
|
|
Delegates.glMultiTexCoord3svARB((GL.Enums.ARB_multitexture)target, (Int16*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4(GL.Enums.ARB_multitexture target, Double s, Double t, Double r, Double q)
|
|
{
|
|
Delegates.glMultiTexCoord4dARB((GL.Enums.ARB_multitexture)target, (Double)s, (Double)t, (Double)r, (Double)q);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4(GL.Enums.ARB_multitexture target, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord4dvARB((GL.Enums.ARB_multitexture)target, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4(GL.Enums.ARB_multitexture target, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord4dvARB((GL.Enums.ARB_multitexture)target, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord4(GL.Enums.ARB_multitexture target, Double* v)
|
|
{
|
|
Delegates.glMultiTexCoord4dvARB((GL.Enums.ARB_multitexture)target, (Double*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4(GL.Enums.ARB_multitexture target, Single s, Single t, Single r, Single q)
|
|
{
|
|
Delegates.glMultiTexCoord4fARB((GL.Enums.ARB_multitexture)target, (Single)s, (Single)t, (Single)r, (Single)q);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4(GL.Enums.ARB_multitexture target, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord4fvARB((GL.Enums.ARB_multitexture)target, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4(GL.Enums.ARB_multitexture target, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord4fvARB((GL.Enums.ARB_multitexture)target, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord4(GL.Enums.ARB_multitexture target, Single* v)
|
|
{
|
|
Delegates.glMultiTexCoord4fvARB((GL.Enums.ARB_multitexture)target, (Single*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4(GL.Enums.ARB_multitexture target, Int32 s, Int32 t, Int32 r, Int32 q)
|
|
{
|
|
Delegates.glMultiTexCoord4iARB((GL.Enums.ARB_multitexture)target, (Int32)s, (Int32)t, (Int32)r, (Int32)q);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4(GL.Enums.ARB_multitexture target, Int32[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord4ivARB((GL.Enums.ARB_multitexture)target, (Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4(GL.Enums.ARB_multitexture target, ref Int32 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord4ivARB((GL.Enums.ARB_multitexture)target, (Int32*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord4(GL.Enums.ARB_multitexture target, Int32* v)
|
|
{
|
|
Delegates.glMultiTexCoord4ivARB((GL.Enums.ARB_multitexture)target, (Int32*)v);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4(GL.Enums.ARB_multitexture target, Int16 s, Int16 t, Int16 r, Int16 q)
|
|
{
|
|
Delegates.glMultiTexCoord4sARB((GL.Enums.ARB_multitexture)target, (Int16)s, (Int16)t, (Int16)r, (Int16)q);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4(GL.Enums.ARB_multitexture target, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord4svARB((GL.Enums.ARB_multitexture)target, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4(GL.Enums.ARB_multitexture target, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord4svARB((GL.Enums.ARB_multitexture)target, (Int16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord4(GL.Enums.ARB_multitexture target, Int16* v)
|
|
{
|
|
Delegates.glMultiTexCoord4svARB((GL.Enums.ARB_multitexture)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, GL.Enums.Boolean invert)
|
|
{
|
|
Delegates.glSampleCoverageARB((Single)value, (GL.Enums.Boolean)invert);
|
|
}
|
|
|
|
public static
|
|
void CompressedTexImage3D(GL.Enums.TextureTarget target, Int32 level, GL.Enums.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data)
|
|
{
|
|
Delegates.glCompressedTexImage3DARB((GL.Enums.TextureTarget)target, (Int32)level, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data);
|
|
}
|
|
|
|
public static
|
|
void CompressedTexImage3D(GL.Enums.TextureTarget target, Int32 level, GL.Enums.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] object data)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glCompressedTexImage3DARB((GL.Enums.TextureTarget)target, (Int32)level, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
data_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CompressedTexImage2D(GL.Enums.TextureTarget target, Int32 level, GL.Enums.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data)
|
|
{
|
|
Delegates.glCompressedTexImage2DARB((GL.Enums.TextureTarget)target, (Int32)level, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data);
|
|
}
|
|
|
|
public static
|
|
void CompressedTexImage2D(GL.Enums.TextureTarget target, Int32 level, GL.Enums.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] object data)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glCompressedTexImage2DARB((GL.Enums.TextureTarget)target, (Int32)level, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
data_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CompressedTexImage1D(GL.Enums.TextureTarget target, Int32 level, GL.Enums.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data)
|
|
{
|
|
Delegates.glCompressedTexImage1DARB((GL.Enums.TextureTarget)target, (Int32)level, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data);
|
|
}
|
|
|
|
public static
|
|
void CompressedTexImage1D(GL.Enums.TextureTarget target, Int32 level, GL.Enums.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] object data)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glCompressedTexImage1DARB((GL.Enums.TextureTarget)target, (Int32)level, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
data_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CompressedTexSubImage3D(GL.Enums.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, GL.Enums.PixelFormat format, Int32 imageSize, IntPtr data)
|
|
{
|
|
Delegates.glCompressedTexSubImage3DARB((GL.Enums.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (GL.Enums.PixelFormat)format, (Int32)imageSize, (IntPtr)data);
|
|
}
|
|
|
|
public static
|
|
void CompressedTexSubImage3D(GL.Enums.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, GL.Enums.PixelFormat format, Int32 imageSize, [In, Out] object data)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glCompressedTexSubImage3DARB((GL.Enums.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (GL.Enums.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
data_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CompressedTexSubImage2D(GL.Enums.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, GL.Enums.PixelFormat format, Int32 imageSize, IntPtr data)
|
|
{
|
|
Delegates.glCompressedTexSubImage2DARB((GL.Enums.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (GL.Enums.PixelFormat)format, (Int32)imageSize, (IntPtr)data);
|
|
}
|
|
|
|
public static
|
|
void CompressedTexSubImage2D(GL.Enums.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, GL.Enums.PixelFormat format, Int32 imageSize, [In, Out] object data)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glCompressedTexSubImage2DARB((GL.Enums.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (GL.Enums.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
data_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CompressedTexSubImage1D(GL.Enums.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, GL.Enums.PixelFormat format, Int32 imageSize, IntPtr data)
|
|
{
|
|
Delegates.glCompressedTexSubImage1DARB((GL.Enums.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (GL.Enums.PixelFormat)format, (Int32)imageSize, (IntPtr)data);
|
|
}
|
|
|
|
public static
|
|
void CompressedTexSubImage1D(GL.Enums.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, GL.Enums.PixelFormat format, Int32 imageSize, [In, Out] object data)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glCompressedTexSubImage1DARB((GL.Enums.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (GL.Enums.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
data_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetCompressedTexImage(GL.Enums.TextureTarget target, Int32 level, [Out] IntPtr img)
|
|
{
|
|
Delegates.glGetCompressedTexImageARB((GL.Enums.TextureTarget)target, (Int32)level, (IntPtr)img);
|
|
}
|
|
|
|
public static
|
|
void GetCompressedTexImage(GL.Enums.TextureTarget target, Int32 level, [In, Out] object img)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle img_ptr = System.Runtime.InteropServices.GCHandle.Alloc(img, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetCompressedTexImageARB((GL.Enums.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
img_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void PointParameter(GL.Enums.ARB_point_parameters pname, Single param)
|
|
{
|
|
Delegates.glPointParameterfARB((GL.Enums.ARB_point_parameters)pname, (Single)param);
|
|
}
|
|
|
|
public static
|
|
void PointParameterv(GL.Enums.ARB_point_parameters pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glPointParameterfvARB((GL.Enums.ARB_point_parameters)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void PointParameterv(GL.Enums.ARB_point_parameters pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glPointParameterfvARB((GL.Enums.ARB_point_parameters)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void PointParameterv(GL.Enums.ARB_point_parameters pname, Single* @params)
|
|
{
|
|
Delegates.glPointParameterfvARB((GL.Enums.ARB_point_parameters)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, GL.Enums.ARB_vertex_blend type, Int32 stride, IntPtr pointer)
|
|
{
|
|
Delegates.glWeightPointerARB((Int32)size, (GL.Enums.ARB_vertex_blend)type, (Int32)stride, (IntPtr)pointer);
|
|
}
|
|
|
|
public static
|
|
void WeightPointer(Int32 size, GL.Enums.ARB_vertex_blend type, Int32 stride, [In, Out] object pointer)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glWeightPointerARB((Int32)size, (GL.Enums.ARB_vertex_blend)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, GL.Enums.ARB_matrix_palette type, Int32 stride, IntPtr pointer)
|
|
{
|
|
Delegates.glMatrixIndexPointerARB((Int32)size, (GL.Enums.ARB_matrix_palette)type, (Int32)stride, (IntPtr)pointer);
|
|
}
|
|
|
|
public static
|
|
void MatrixIndexPointer(Int32 size, GL.Enums.ARB_matrix_palette type, Int32 stride, [In, Out] object pointer)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glMatrixIndexPointerARB((Int32)size, (GL.Enums.ARB_matrix_palette)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, GL.Enums.ARB_vertex_program type, GL.Enums.Boolean normalized, Int32 stride, IntPtr pointer)
|
|
{
|
|
Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (GL.Enums.ARB_vertex_program)type, (GL.Enums.Boolean)normalized, (Int32)stride, (IntPtr)pointer);
|
|
}
|
|
|
|
public static
|
|
void VertexAttribPointer(Int32 index, Int32 size, GL.Enums.ARB_vertex_program type, GL.Enums.Boolean normalized, Int32 stride, IntPtr pointer)
|
|
{
|
|
Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (GL.Enums.ARB_vertex_program)type, (GL.Enums.Boolean)normalized, (Int32)stride, (IntPtr)pointer);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribPointer(UInt32 index, Int32 size, GL.Enums.ARB_vertex_program type, GL.Enums.Boolean normalized, Int32 stride, [In, Out] object pointer)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (GL.Enums.ARB_vertex_program)type, (GL.Enums.Boolean)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttribPointer(Int32 index, Int32 size, GL.Enums.ARB_vertex_program type, GL.Enums.Boolean normalized, Int32 stride, [In, Out] object pointer)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (GL.Enums.ARB_vertex_program)type, (GL.Enums.Boolean)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(GL.Enums.ARB_vertex_program target, GL.Enums.ARB_vertex_program format, Int32 len, IntPtr @string)
|
|
{
|
|
Delegates.glProgramStringARB((GL.Enums.ARB_vertex_program)target, (GL.Enums.ARB_vertex_program)format, (Int32)len, (IntPtr)@string);
|
|
}
|
|
|
|
public static
|
|
void ProgramString(GL.Enums.ARB_vertex_program target, GL.Enums.ARB_vertex_program format, Int32 len, [In, Out] object @string)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle @string_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@string, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glProgramStringARB((GL.Enums.ARB_vertex_program)target, (GL.Enums.ARB_vertex_program)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
@string_ptr.Free();
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void BindProgram(GL.Enums.ARB_vertex_program target, UInt32 program)
|
|
{
|
|
Delegates.glBindProgramARB((GL.Enums.ARB_vertex_program)target, (UInt32)program);
|
|
}
|
|
|
|
public static
|
|
void BindProgram(GL.Enums.ARB_vertex_program target, Int32 program)
|
|
{
|
|
Delegates.glBindProgramARB((GL.Enums.ARB_vertex_program)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(GL.Enums.ARB_vertex_program target, UInt32 index, Double x, Double y, Double z, Double w)
|
|
{
|
|
Delegates.glProgramEnvParameter4dARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w);
|
|
}
|
|
|
|
public static
|
|
void ProgramEnvParameter4(GL.Enums.ARB_vertex_program target, Int32 index, Double x, Double y, Double z, Double w)
|
|
{
|
|
Delegates.glProgramEnvParameter4dARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramEnvParameter4(GL.Enums.ARB_vertex_program target, UInt32 index, Double[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramEnvParameter4dvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramEnvParameter4(GL.Enums.ARB_vertex_program target, Int32 index, Double[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramEnvParameter4dvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramEnvParameter4(GL.Enums.ARB_vertex_program target, UInt32 index, ref Double @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramEnvParameter4dvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramEnvParameter4(GL.Enums.ARB_vertex_program target, Int32 index, ref Double @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramEnvParameter4dvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramEnvParameter4(GL.Enums.ARB_vertex_program target, UInt32 index, Double* @params)
|
|
{
|
|
Delegates.glProgramEnvParameter4dvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Double*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramEnvParameter4(GL.Enums.ARB_vertex_program target, Int32 index, Double* @params)
|
|
{
|
|
Delegates.glProgramEnvParameter4dvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Double*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramEnvParameter4(GL.Enums.ARB_vertex_program target, UInt32 index, Single x, Single y, Single z, Single w)
|
|
{
|
|
Delegates.glProgramEnvParameter4fARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w);
|
|
}
|
|
|
|
public static
|
|
void ProgramEnvParameter4(GL.Enums.ARB_vertex_program target, Int32 index, Single x, Single y, Single z, Single w)
|
|
{
|
|
Delegates.glProgramEnvParameter4fARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramEnvParameter4(GL.Enums.ARB_vertex_program target, UInt32 index, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramEnvParameter4fvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramEnvParameter4(GL.Enums.ARB_vertex_program target, Int32 index, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramEnvParameter4fvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramEnvParameter4(GL.Enums.ARB_vertex_program target, UInt32 index, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramEnvParameter4fvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramEnvParameter4(GL.Enums.ARB_vertex_program target, Int32 index, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramEnvParameter4fvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramEnvParameter4(GL.Enums.ARB_vertex_program target, UInt32 index, Single* @params)
|
|
{
|
|
Delegates.glProgramEnvParameter4fvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramEnvParameter4(GL.Enums.ARB_vertex_program target, Int32 index, Single* @params)
|
|
{
|
|
Delegates.glProgramEnvParameter4fvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramLocalParameter4(GL.Enums.ARB_vertex_program target, UInt32 index, Double x, Double y, Double z, Double w)
|
|
{
|
|
Delegates.glProgramLocalParameter4dARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w);
|
|
}
|
|
|
|
public static
|
|
void ProgramLocalParameter4(GL.Enums.ARB_vertex_program target, Int32 index, Double x, Double y, Double z, Double w)
|
|
{
|
|
Delegates.glProgramLocalParameter4dARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramLocalParameter4(GL.Enums.ARB_vertex_program target, UInt32 index, Double[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramLocalParameter4dvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramLocalParameter4(GL.Enums.ARB_vertex_program target, Int32 index, Double[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramLocalParameter4dvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramLocalParameter4(GL.Enums.ARB_vertex_program target, UInt32 index, ref Double @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramLocalParameter4dvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramLocalParameter4(GL.Enums.ARB_vertex_program target, Int32 index, ref Double @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramLocalParameter4dvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramLocalParameter4(GL.Enums.ARB_vertex_program target, UInt32 index, Double* @params)
|
|
{
|
|
Delegates.glProgramLocalParameter4dvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Double*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramLocalParameter4(GL.Enums.ARB_vertex_program target, Int32 index, Double* @params)
|
|
{
|
|
Delegates.glProgramLocalParameter4dvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Double*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramLocalParameter4(GL.Enums.ARB_vertex_program target, UInt32 index, Single x, Single y, Single z, Single w)
|
|
{
|
|
Delegates.glProgramLocalParameter4fARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w);
|
|
}
|
|
|
|
public static
|
|
void ProgramLocalParameter4(GL.Enums.ARB_vertex_program target, Int32 index, Single x, Single y, Single z, Single w)
|
|
{
|
|
Delegates.glProgramLocalParameter4fARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramLocalParameter4(GL.Enums.ARB_vertex_program target, UInt32 index, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramLocalParameter4fvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramLocalParameter4(GL.Enums.ARB_vertex_program target, Int32 index, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramLocalParameter4fvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramLocalParameter4(GL.Enums.ARB_vertex_program target, UInt32 index, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramLocalParameter4fvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramLocalParameter4(GL.Enums.ARB_vertex_program target, Int32 index, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramLocalParameter4fvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramLocalParameter4(GL.Enums.ARB_vertex_program target, UInt32 index, Single* @params)
|
|
{
|
|
Delegates.glProgramLocalParameter4fvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramLocalParameter4(GL.Enums.ARB_vertex_program target, Int32 index, Single* @params)
|
|
{
|
|
Delegates.glProgramLocalParameter4fvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgramEnvParameter(GL.Enums.ARB_vertex_program target, UInt32 index, [Out] Double[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetProgramEnvParameterdvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgramEnvParameter(GL.Enums.ARB_vertex_program target, Int32 index, [Out] Double[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetProgramEnvParameterdvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgramEnvParameter(GL.Enums.ARB_vertex_program target, UInt32 index, [Out] out Double @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetProgramEnvParameterdvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Double*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgramEnvParameter(GL.Enums.ARB_vertex_program target, Int32 index, [Out] out Double @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetProgramEnvParameterdvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Double*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgramEnvParameter(GL.Enums.ARB_vertex_program target, UInt32 index, [Out] Double* @params)
|
|
{
|
|
Delegates.glGetProgramEnvParameterdvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Double*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgramEnvParameter(GL.Enums.ARB_vertex_program target, Int32 index, [Out] Double* @params)
|
|
{
|
|
Delegates.glGetProgramEnvParameterdvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Double*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgramEnvParameter(GL.Enums.ARB_vertex_program target, UInt32 index, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetProgramEnvParameterfvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgramEnvParameter(GL.Enums.ARB_vertex_program target, Int32 index, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetProgramEnvParameterfvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgramEnvParameter(GL.Enums.ARB_vertex_program target, UInt32 index, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetProgramEnvParameterfvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgramEnvParameter(GL.Enums.ARB_vertex_program target, Int32 index, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetProgramEnvParameterfvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgramEnvParameter(GL.Enums.ARB_vertex_program target, UInt32 index, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetProgramEnvParameterfvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgramEnvParameter(GL.Enums.ARB_vertex_program target, Int32 index, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetProgramEnvParameterfvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgramLocalParameter(GL.Enums.ARB_vertex_program target, UInt32 index, [Out] Double[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetProgramLocalParameterdvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgramLocalParameter(GL.Enums.ARB_vertex_program target, Int32 index, [Out] Double[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetProgramLocalParameterdvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgramLocalParameter(GL.Enums.ARB_vertex_program target, UInt32 index, [Out] out Double @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetProgramLocalParameterdvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Double*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgramLocalParameter(GL.Enums.ARB_vertex_program target, Int32 index, [Out] out Double @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetProgramLocalParameterdvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Double*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgramLocalParameter(GL.Enums.ARB_vertex_program target, UInt32 index, [Out] Double* @params)
|
|
{
|
|
Delegates.glGetProgramLocalParameterdvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Double*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgramLocalParameter(GL.Enums.ARB_vertex_program target, Int32 index, [Out] Double* @params)
|
|
{
|
|
Delegates.glGetProgramLocalParameterdvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Double*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgramLocalParameter(GL.Enums.ARB_vertex_program target, UInt32 index, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetProgramLocalParameterfvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgramLocalParameter(GL.Enums.ARB_vertex_program target, Int32 index, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetProgramLocalParameterfvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgramLocalParameter(GL.Enums.ARB_vertex_program target, UInt32 index, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetProgramLocalParameterfvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgramLocalParameter(GL.Enums.ARB_vertex_program target, Int32 index, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetProgramLocalParameterfvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgramLocalParameter(GL.Enums.ARB_vertex_program target, UInt32 index, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetProgramLocalParameterfvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgramLocalParameter(GL.Enums.ARB_vertex_program target, Int32 index, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetProgramLocalParameterfvARB((GL.Enums.ARB_vertex_program)target, (UInt32)index, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetProgram(GL.Enums.ARB_vertex_program target, GL.Enums.ARB_vertex_program pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetProgramivARB((GL.Enums.ARB_vertex_program)target, (GL.Enums.ARB_vertex_program)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgram(GL.Enums.ARB_vertex_program target, GL.Enums.ARB_vertex_program pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetProgramivARB((GL.Enums.ARB_vertex_program)target, (GL.Enums.ARB_vertex_program)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgram(GL.Enums.ARB_vertex_program target, GL.Enums.ARB_vertex_program pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetProgramivARB((GL.Enums.ARB_vertex_program)target, (GL.Enums.ARB_vertex_program)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetProgramString(GL.Enums.ARB_vertex_program target, GL.Enums.ARB_vertex_program pname, [Out] IntPtr @string)
|
|
{
|
|
Delegates.glGetProgramStringARB((GL.Enums.ARB_vertex_program)target, (GL.Enums.ARB_vertex_program)pname, (IntPtr)@string);
|
|
}
|
|
|
|
public static
|
|
void GetProgramString(GL.Enums.ARB_vertex_program target, GL.Enums.ARB_vertex_program pname, [In, Out] object @string)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle @string_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@string, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetProgramStringARB((GL.Enums.ARB_vertex_program)target, (GL.Enums.ARB_vertex_program)pname, (IntPtr)@string_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
@string_ptr.Free();
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttrib(UInt32 index, GL.Enums.ARB_vertex_program pname, [Out] Double[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVertexAttribdvARB((UInt32)index, (GL.Enums.ARB_vertex_program)pname, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttrib(Int32 index, GL.Enums.ARB_vertex_program pname, [Out] Double[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVertexAttribdvARB((UInt32)index, (GL.Enums.ARB_vertex_program)pname, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttrib(UInt32 index, GL.Enums.ARB_vertex_program pname, [Out] out Double @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVertexAttribdvARB((UInt32)index, (GL.Enums.ARB_vertex_program)pname, (Double*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttrib(Int32 index, GL.Enums.ARB_vertex_program pname, [Out] out Double @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVertexAttribdvARB((UInt32)index, (GL.Enums.ARB_vertex_program)pname, (Double*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVertexAttrib(UInt32 index, GL.Enums.ARB_vertex_program pname, [Out] Double* @params)
|
|
{
|
|
Delegates.glGetVertexAttribdvARB((UInt32)index, (GL.Enums.ARB_vertex_program)pname, (Double*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVertexAttrib(Int32 index, GL.Enums.ARB_vertex_program pname, [Out] Double* @params)
|
|
{
|
|
Delegates.glGetVertexAttribdvARB((UInt32)index, (GL.Enums.ARB_vertex_program)pname, (Double*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttrib(UInt32 index, GL.Enums.ARB_vertex_program pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVertexAttribfvARB((UInt32)index, (GL.Enums.ARB_vertex_program)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttrib(Int32 index, GL.Enums.ARB_vertex_program pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVertexAttribfvARB((UInt32)index, (GL.Enums.ARB_vertex_program)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttrib(UInt32 index, GL.Enums.ARB_vertex_program pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVertexAttribfvARB((UInt32)index, (GL.Enums.ARB_vertex_program)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttrib(Int32 index, GL.Enums.ARB_vertex_program pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVertexAttribfvARB((UInt32)index, (GL.Enums.ARB_vertex_program)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVertexAttrib(UInt32 index, GL.Enums.ARB_vertex_program pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetVertexAttribfvARB((UInt32)index, (GL.Enums.ARB_vertex_program)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVertexAttrib(Int32 index, GL.Enums.ARB_vertex_program pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetVertexAttribfvARB((UInt32)index, (GL.Enums.ARB_vertex_program)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttrib(UInt32 index, GL.Enums.ARB_vertex_program pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVertexAttribivARB((UInt32)index, (GL.Enums.ARB_vertex_program)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttrib(Int32 index, GL.Enums.ARB_vertex_program pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVertexAttribivARB((UInt32)index, (GL.Enums.ARB_vertex_program)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttrib(UInt32 index, GL.Enums.ARB_vertex_program pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVertexAttribivARB((UInt32)index, (GL.Enums.ARB_vertex_program)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttrib(Int32 index, GL.Enums.ARB_vertex_program pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVertexAttribivARB((UInt32)index, (GL.Enums.ARB_vertex_program)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVertexAttrib(UInt32 index, GL.Enums.ARB_vertex_program pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetVertexAttribivARB((UInt32)index, (GL.Enums.ARB_vertex_program)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVertexAttrib(Int32 index, GL.Enums.ARB_vertex_program pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetVertexAttribivARB((UInt32)index, (GL.Enums.ARB_vertex_program)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttribPointer(UInt32 index, GL.Enums.ARB_vertex_program pname, [Out] IntPtr pointer)
|
|
{
|
|
Delegates.glGetVertexAttribPointervARB((UInt32)index, (GL.Enums.ARB_vertex_program)pname, (IntPtr)pointer);
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttribPointer(Int32 index, GL.Enums.ARB_vertex_program pname, [Out] IntPtr pointer)
|
|
{
|
|
Delegates.glGetVertexAttribPointervARB((UInt32)index, (GL.Enums.ARB_vertex_program)pname, (IntPtr)pointer);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttribPointer(UInt32 index, GL.Enums.ARB_vertex_program pname, [In, Out] object pointer)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetVertexAttribPointervARB((UInt32)index, (GL.Enums.ARB_vertex_program)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttribPointer(Int32 index, GL.Enums.ARB_vertex_program pname, [In, Out] object pointer)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetVertexAttribPointervARB((UInt32)index, (GL.Enums.ARB_vertex_program)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
Boolean IsProgram(UInt32 program)
|
|
{
|
|
return Delegates.glIsProgramARB((UInt32)program);
|
|
}
|
|
|
|
public static
|
|
Boolean IsProgram(Int32 program)
|
|
{
|
|
return Delegates.glIsProgramARB((UInt32)program);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void BindBuffer(GL.Enums.ARB_vertex_buffer_object target, UInt32 buffer)
|
|
{
|
|
Delegates.glBindBufferARB((GL.Enums.ARB_vertex_buffer_object)target, (UInt32)buffer);
|
|
}
|
|
|
|
public static
|
|
void BindBuffer(GL.Enums.ARB_vertex_buffer_object target, Int32 buffer)
|
|
{
|
|
Delegates.glBindBufferARB((GL.Enums.ARB_vertex_buffer_object)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
|
|
Boolean IsBuffer(UInt32 buffer)
|
|
{
|
|
return Delegates.glIsBufferARB((UInt32)buffer);
|
|
}
|
|
|
|
public static
|
|
Boolean IsBuffer(Int32 buffer)
|
|
{
|
|
return Delegates.glIsBufferARB((UInt32)buffer);
|
|
}
|
|
|
|
public static
|
|
void BufferData(GL.Enums.ARB_vertex_buffer_object target, IntPtr size, IntPtr data, GL.Enums.ARB_vertex_buffer_object usage)
|
|
{
|
|
Delegates.glBufferDataARB((GL.Enums.ARB_vertex_buffer_object)target, (IntPtr)size, (IntPtr)data, (GL.Enums.ARB_vertex_buffer_object)usage);
|
|
}
|
|
|
|
public static
|
|
void BufferData(GL.Enums.ARB_vertex_buffer_object target, [In, Out] object size, [In, Out] object data, GL.Enums.ARB_vertex_buffer_object usage)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle size_ptr = System.Runtime.InteropServices.GCHandle.Alloc(size, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glBufferDataARB((GL.Enums.ARB_vertex_buffer_object)target, (IntPtr)size_ptr.AddrOfPinnedObject(), (IntPtr)data_ptr.AddrOfPinnedObject(), (GL.Enums.ARB_vertex_buffer_object)usage);
|
|
}
|
|
finally
|
|
{
|
|
size_ptr.Free();
|
|
data_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void BufferSubData(GL.Enums.ARB_vertex_buffer_object target, IntPtr offset, IntPtr size, IntPtr data)
|
|
{
|
|
Delegates.glBufferSubDataARB((GL.Enums.ARB_vertex_buffer_object)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data);
|
|
}
|
|
|
|
public static
|
|
void BufferSubData(GL.Enums.ARB_vertex_buffer_object target, IntPtr offset, [In, Out] object size, [In, Out] object data)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle size_ptr = System.Runtime.InteropServices.GCHandle.Alloc(size, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glBufferSubDataARB((GL.Enums.ARB_vertex_buffer_object)target, (IntPtr)offset, (IntPtr)size_ptr.AddrOfPinnedObject(), (IntPtr)data_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
size_ptr.Free();
|
|
data_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void BufferSubData(GL.Enums.ARB_vertex_buffer_object target, [In, Out] object offset, [In, Out] object size, [In, Out] object data)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle offset_ptr = System.Runtime.InteropServices.GCHandle.Alloc(offset, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
System.Runtime.InteropServices.GCHandle size_ptr = System.Runtime.InteropServices.GCHandle.Alloc(size, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glBufferSubDataARB((GL.Enums.ARB_vertex_buffer_object)target, (IntPtr)offset_ptr.AddrOfPinnedObject(), (IntPtr)size_ptr.AddrOfPinnedObject(), (IntPtr)data_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
offset_ptr.Free();
|
|
size_ptr.Free();
|
|
data_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetBufferSubData(GL.Enums.ARB_vertex_buffer_object target, IntPtr offset, IntPtr size, [Out] IntPtr data)
|
|
{
|
|
Delegates.glGetBufferSubDataARB((GL.Enums.ARB_vertex_buffer_object)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data);
|
|
}
|
|
|
|
public static
|
|
void GetBufferSubData(GL.Enums.ARB_vertex_buffer_object target, IntPtr offset, [In, Out] object size, [In, Out] object data)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle size_ptr = System.Runtime.InteropServices.GCHandle.Alloc(size, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetBufferSubDataARB((GL.Enums.ARB_vertex_buffer_object)target, (IntPtr)offset, (IntPtr)size_ptr.AddrOfPinnedObject(), (IntPtr)data_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
size_ptr.Free();
|
|
data_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetBufferSubData(GL.Enums.ARB_vertex_buffer_object target, [In, Out] object offset, [In, Out] object size, [In, Out] object data)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle offset_ptr = System.Runtime.InteropServices.GCHandle.Alloc(offset, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
System.Runtime.InteropServices.GCHandle size_ptr = System.Runtime.InteropServices.GCHandle.Alloc(size, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetBufferSubDataARB((GL.Enums.ARB_vertex_buffer_object)target, (IntPtr)offset_ptr.AddrOfPinnedObject(), (IntPtr)size_ptr.AddrOfPinnedObject(), (IntPtr)data_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
offset_ptr.Free();
|
|
size_ptr.Free();
|
|
data_ptr.Free();
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe IntPtr MapBuffer(GL.Enums.ARB_vertex_buffer_object target, GL.Enums.ARB_vertex_buffer_object access)
|
|
{
|
|
return Delegates.glMapBufferARB((GL.Enums.ARB_vertex_buffer_object)target, (GL.Enums.ARB_vertex_buffer_object)access);
|
|
}
|
|
|
|
public static
|
|
Boolean UnmapBuffer(GL.Enums.ARB_vertex_buffer_object target)
|
|
{
|
|
return Delegates.glUnmapBufferARB((GL.Enums.ARB_vertex_buffer_object)target);
|
|
}
|
|
|
|
public static
|
|
void GetBufferParameter(GL.Enums.ARB_vertex_buffer_object target, GL.Enums.ARB_vertex_buffer_object pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetBufferParameterivARB((GL.Enums.ARB_vertex_buffer_object)target, (GL.Enums.ARB_vertex_buffer_object)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetBufferParameter(GL.Enums.ARB_vertex_buffer_object target, GL.Enums.ARB_vertex_buffer_object pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetBufferParameterivARB((GL.Enums.ARB_vertex_buffer_object)target, (GL.Enums.ARB_vertex_buffer_object)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetBufferParameter(GL.Enums.ARB_vertex_buffer_object target, GL.Enums.ARB_vertex_buffer_object pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetBufferParameterivARB((GL.Enums.ARB_vertex_buffer_object)target, (GL.Enums.ARB_vertex_buffer_object)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetBufferPointer(GL.Enums.ARB_vertex_buffer_object target, GL.Enums.ARB_vertex_buffer_object pname, [Out] IntPtr @params)
|
|
{
|
|
Delegates.glGetBufferPointervARB((GL.Enums.ARB_vertex_buffer_object)target, (GL.Enums.ARB_vertex_buffer_object)pname, (IntPtr)@params);
|
|
}
|
|
|
|
public static
|
|
void GetBufferPointer(GL.Enums.ARB_vertex_buffer_object target, GL.Enums.ARB_vertex_buffer_object pname, [In, Out] object @params)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle @params_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@params, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetBufferPointervARB((GL.Enums.ARB_vertex_buffer_object)target, (GL.Enums.ARB_vertex_buffer_object)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
|
|
Boolean IsQuery(UInt32 id)
|
|
{
|
|
return Delegates.glIsQueryARB((UInt32)id);
|
|
}
|
|
|
|
public static
|
|
Boolean IsQuery(Int32 id)
|
|
{
|
|
return Delegates.glIsQueryARB((UInt32)id);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void BeginQuery(GL.Enums.ARB_occlusion_query target, UInt32 id)
|
|
{
|
|
Delegates.glBeginQueryARB((GL.Enums.ARB_occlusion_query)target, (UInt32)id);
|
|
}
|
|
|
|
public static
|
|
void BeginQuery(GL.Enums.ARB_occlusion_query target, Int32 id)
|
|
{
|
|
Delegates.glBeginQueryARB((GL.Enums.ARB_occlusion_query)target, (UInt32)id);
|
|
}
|
|
|
|
public static
|
|
void EndQuery(GL.Enums.ARB_occlusion_query target)
|
|
{
|
|
Delegates.glEndQueryARB((GL.Enums.ARB_occlusion_query)target);
|
|
}
|
|
|
|
public static
|
|
void GetQuery(GL.Enums.ARB_occlusion_query target, GL.Enums.ARB_occlusion_query pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetQueryivARB((GL.Enums.ARB_occlusion_query)target, (GL.Enums.ARB_occlusion_query)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetQuery(GL.Enums.ARB_occlusion_query target, GL.Enums.ARB_occlusion_query pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetQueryivARB((GL.Enums.ARB_occlusion_query)target, (GL.Enums.ARB_occlusion_query)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetQuery(GL.Enums.ARB_occlusion_query target, GL.Enums.ARB_occlusion_query pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetQueryivARB((GL.Enums.ARB_occlusion_query)target, (GL.Enums.ARB_occlusion_query)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetQueryObject(UInt32 id, GL.Enums.ARB_occlusion_query pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetQueryObjectivARB((UInt32)id, (GL.Enums.ARB_occlusion_query)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetQueryObject(UInt32 id, GL.Enums.ARB_occlusion_query pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetQueryObjectivARB((UInt32)id, (GL.Enums.ARB_occlusion_query)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetQueryObject(UInt32 id, GL.Enums.ARB_occlusion_query pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetQueryObjectivARB((UInt32)id, (GL.Enums.ARB_occlusion_query)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetQueryObject(UInt32 id, GL.Enums.ARB_occlusion_query pname, [Out] UInt32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetQueryObjectuivARB((UInt32)id, (GL.Enums.ARB_occlusion_query)pname, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetQueryObject(Int32 id, GL.Enums.ARB_occlusion_query pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetQueryObjectuivARB((UInt32)id, (GL.Enums.ARB_occlusion_query)pname, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetQueryObject(UInt32 id, GL.Enums.ARB_occlusion_query pname, [Out] out UInt32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetQueryObjectuivARB((UInt32)id, (GL.Enums.ARB_occlusion_query)pname, (UInt32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetQueryObject(Int32 id, GL.Enums.ARB_occlusion_query pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetQueryObjectuivARB((UInt32)id, (GL.Enums.ARB_occlusion_query)pname, (UInt32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetQueryObject(UInt32 id, GL.Enums.ARB_occlusion_query pname, [Out] UInt32* @params)
|
|
{
|
|
Delegates.glGetQueryObjectuivARB((UInt32)id, (GL.Enums.ARB_occlusion_query)pname, (UInt32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetQueryObject(Int32 id, GL.Enums.ARB_occlusion_query pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetQueryObjectuivARB((UInt32)id, (GL.Enums.ARB_occlusion_query)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(GL.Enums.ARB_shader_objects pname)
|
|
{
|
|
return Delegates.glGetHandleARB((GL.Enums.ARB_shader_objects)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(GL.Enums.ARB_shader_objects shaderType)
|
|
{
|
|
return Delegates.glCreateShaderObjectARB((GL.Enums.ARB_shader_objects)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, GL.Enums.Boolean transpose, Single[] value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = value)
|
|
{
|
|
Delegates.glUniformMatrix2fvARB((Int32)location, (Int32)count, (GL.Enums.Boolean)transpose, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void UniformMatrix2(Int32 location, Int32 count, GL.Enums.Boolean transpose, ref Single value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = &value)
|
|
{
|
|
Delegates.glUniformMatrix2fvARB((Int32)location, (Int32)count, (GL.Enums.Boolean)transpose, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void UniformMatrix2(Int32 location, Int32 count, GL.Enums.Boolean transpose, Single* value)
|
|
{
|
|
Delegates.glUniformMatrix2fvARB((Int32)location, (Int32)count, (GL.Enums.Boolean)transpose, (Single*)value);
|
|
}
|
|
|
|
public static
|
|
void UniformMatrix3(Int32 location, Int32 count, GL.Enums.Boolean transpose, Single[] value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = value)
|
|
{
|
|
Delegates.glUniformMatrix3fvARB((Int32)location, (Int32)count, (GL.Enums.Boolean)transpose, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void UniformMatrix3(Int32 location, Int32 count, GL.Enums.Boolean transpose, ref Single value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = &value)
|
|
{
|
|
Delegates.glUniformMatrix3fvARB((Int32)location, (Int32)count, (GL.Enums.Boolean)transpose, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void UniformMatrix3(Int32 location, Int32 count, GL.Enums.Boolean transpose, Single* value)
|
|
{
|
|
Delegates.glUniformMatrix3fvARB((Int32)location, (Int32)count, (GL.Enums.Boolean)transpose, (Single*)value);
|
|
}
|
|
|
|
public static
|
|
void UniformMatrix4(Int32 location, Int32 count, GL.Enums.Boolean transpose, Single[] value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = value)
|
|
{
|
|
Delegates.glUniformMatrix4fvARB((Int32)location, (Int32)count, (GL.Enums.Boolean)transpose, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void UniformMatrix4(Int32 location, Int32 count, GL.Enums.Boolean transpose, ref Single value)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* value_ptr = &value)
|
|
{
|
|
Delegates.glUniformMatrix4fvARB((Int32)location, (Int32)count, (GL.Enums.Boolean)transpose, (Single*)value_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void UniformMatrix4(Int32 location, Int32 count, GL.Enums.Boolean transpose, Single* value)
|
|
{
|
|
Delegates.glUniformMatrix4fvARB((Int32)location, (Int32)count, (GL.Enums.Boolean)transpose, (Single*)value);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetObjectParameter(UInt32 obj, GL.Enums.ARB_shader_objects pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetObjectParameterfvARB((UInt32)obj, (GL.Enums.ARB_shader_objects)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetObjectParameter(Int32 obj, GL.Enums.ARB_shader_objects pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetObjectParameterfvARB((UInt32)obj, (GL.Enums.ARB_shader_objects)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetObjectParameter(UInt32 obj, GL.Enums.ARB_shader_objects pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetObjectParameterfvARB((UInt32)obj, (GL.Enums.ARB_shader_objects)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetObjectParameter(Int32 obj, GL.Enums.ARB_shader_objects pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetObjectParameterfvARB((UInt32)obj, (GL.Enums.ARB_shader_objects)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetObjectParameter(UInt32 obj, GL.Enums.ARB_shader_objects pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetObjectParameterfvARB((UInt32)obj, (GL.Enums.ARB_shader_objects)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetObjectParameter(Int32 obj, GL.Enums.ARB_shader_objects pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetObjectParameterfvARB((UInt32)obj, (GL.Enums.ARB_shader_objects)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetObjectParameter(UInt32 obj, GL.Enums.ARB_shader_objects pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetObjectParameterivARB((UInt32)obj, (GL.Enums.ARB_shader_objects)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetObjectParameter(Int32 obj, GL.Enums.ARB_shader_objects pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetObjectParameterivARB((UInt32)obj, (GL.Enums.ARB_shader_objects)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetObjectParameter(UInt32 obj, GL.Enums.ARB_shader_objects pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetObjectParameterivARB((UInt32)obj, (GL.Enums.ARB_shader_objects)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetObjectParameter(Int32 obj, GL.Enums.ARB_shader_objects pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetObjectParameterivARB((UInt32)obj, (GL.Enums.ARB_shader_objects)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetObjectParameter(UInt32 obj, GL.Enums.ARB_shader_objects pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetObjectParameterivARB((UInt32)obj, (GL.Enums.ARB_shader_objects)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetObjectParameter(Int32 obj, GL.Enums.ARB_shader_objects pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetObjectParameterivARB((UInt32)obj, (GL.Enums.ARB_shader_objects)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] GL.Enums.ARB_shader_objects[] type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = length)
|
|
fixed (Int32* size_ptr = size)
|
|
fixed (GL.Enums.ARB_shader_objects* type_ptr = type)
|
|
{
|
|
Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_shader_objects*)type_ptr, (System.Text.StringBuilder)name);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32[] length, [Out] Int32[] size, [Out] GL.Enums.ARB_shader_objects[] type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = length)
|
|
fixed (Int32* size_ptr = size)
|
|
fixed (GL.Enums.ARB_shader_objects* type_ptr = type)
|
|
{
|
|
Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_shader_objects*)type_ptr, (System.Text.StringBuilder)name);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] out GL.Enums.ARB_shader_objects type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = &length)
|
|
fixed (Int32* size_ptr = &size)
|
|
fixed (GL.Enums.ARB_shader_objects* type_ptr = &type)
|
|
{
|
|
Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_shader_objects*)type_ptr, (System.Text.StringBuilder)name);
|
|
length = *length_ptr;
|
|
size = *size_ptr;
|
|
type = *type_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] out GL.Enums.ARB_shader_objects type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = &length)
|
|
fixed (Int32* size_ptr = &size)
|
|
fixed (GL.Enums.ARB_shader_objects* type_ptr = &type)
|
|
{
|
|
Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_shader_objects*)type_ptr, (System.Text.StringBuilder)name);
|
|
length = *length_ptr;
|
|
size = *size_ptr;
|
|
type = *type_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] GL.Enums.ARB_shader_objects* type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (GL.Enums.ARB_shader_objects*)type, (System.Text.StringBuilder)name);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] GL.Enums.ARB_shader_objects* type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (GL.Enums.ARB_shader_objects*)type, (System.Text.StringBuilder)name);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
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] GL.Enums.ARB_vertex_shader[] type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = length)
|
|
fixed (Int32* size_ptr = size)
|
|
fixed (GL.Enums.ARB_vertex_shader* type_ptr = type)
|
|
{
|
|
Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_vertex_shader*)type_ptr, (System.Text.StringBuilder)name);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32[] length, [Out] Int32[] size, [Out] GL.Enums.ARB_vertex_shader[] type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = length)
|
|
fixed (Int32* size_ptr = size)
|
|
fixed (GL.Enums.ARB_vertex_shader* type_ptr = type)
|
|
{
|
|
Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_vertex_shader*)type_ptr, (System.Text.StringBuilder)name);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] out GL.Enums.ARB_vertex_shader type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = &length)
|
|
fixed (Int32* size_ptr = &size)
|
|
fixed (GL.Enums.ARB_vertex_shader* type_ptr = &type)
|
|
{
|
|
Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_vertex_shader*)type_ptr, (System.Text.StringBuilder)name);
|
|
length = *length_ptr;
|
|
size = *size_ptr;
|
|
type = *type_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] out GL.Enums.ARB_vertex_shader type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = &length)
|
|
fixed (Int32* size_ptr = &size)
|
|
fixed (GL.Enums.ARB_vertex_shader* type_ptr = &type)
|
|
{
|
|
Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.ARB_vertex_shader*)type_ptr, (System.Text.StringBuilder)name);
|
|
length = *length_ptr;
|
|
size = *size_ptr;
|
|
type = *type_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] GL.Enums.ARB_vertex_shader* type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (GL.Enums.ARB_vertex_shader*)type, (System.Text.StringBuilder)name);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] GL.Enums.ARB_vertex_shader* type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (GL.Enums.ARB_vertex_shader*)type, (System.Text.StringBuilder)name);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
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, GL.Enums.ARB_draw_buffers[] bufs)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (GL.Enums.ARB_draw_buffers* bufs_ptr = bufs)
|
|
{
|
|
Delegates.glDrawBuffersARB((Int32)n, (GL.Enums.ARB_draw_buffers*)bufs_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DrawBuffers(Int32 n, ref GL.Enums.ARB_draw_buffers bufs)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (GL.Enums.ARB_draw_buffers* bufs_ptr = &bufs)
|
|
{
|
|
Delegates.glDrawBuffersARB((Int32)n, (GL.Enums.ARB_draw_buffers*)bufs_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void DrawBuffers(Int32 n, GL.Enums.ARB_draw_buffers* bufs)
|
|
{
|
|
Delegates.glDrawBuffersARB((Int32)n, (GL.Enums.ARB_draw_buffers*)bufs);
|
|
}
|
|
|
|
public static
|
|
void ClampColor(GL.Enums.ARB_color_buffer_float target, GL.Enums.ARB_color_buffer_float clamp)
|
|
{
|
|
Delegates.glClampColorARB((GL.Enums.ARB_color_buffer_float)target, (GL.Enums.ARB_color_buffer_float)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 PolygonOffset(Single factor, Single bias)
|
|
{
|
|
Delegates.glPolygonOffsetEXT((Single)factor, (Single)bias);
|
|
}
|
|
|
|
public static
|
|
void TexImage3D(GL.Enums.TextureTarget target, Int32 level, GL.Enums.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, GL.Enums.PixelFormat format, GL.Enums.PixelType type, IntPtr pixels)
|
|
{
|
|
Delegates.glTexImage3DEXT((GL.Enums.TextureTarget)target, (Int32)level, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)pixels);
|
|
}
|
|
|
|
public static
|
|
void TexImage3D(GL.Enums.TextureTarget target, Int32 level, GL.Enums.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object pixels)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glTexImage3DEXT((GL.Enums.TextureTarget)target, (Int32)level, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pixels_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexSubImage3D(GL.Enums.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, GL.Enums.PixelFormat format, GL.Enums.PixelType type, IntPtr pixels)
|
|
{
|
|
Delegates.glTexSubImage3DEXT((GL.Enums.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)pixels);
|
|
}
|
|
|
|
public static
|
|
void TexSubImage3D(GL.Enums.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object pixels)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glTexSubImage3DEXT((GL.Enums.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pixels_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexSubImage1D(GL.Enums.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, GL.Enums.PixelFormat format, GL.Enums.PixelType type, IntPtr pixels)
|
|
{
|
|
Delegates.glTexSubImage1DEXT((GL.Enums.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)pixels);
|
|
}
|
|
|
|
public static
|
|
void TexSubImage1D(GL.Enums.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object pixels)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glTexSubImage1DEXT((GL.Enums.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pixels_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexSubImage2D(GL.Enums.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, GL.Enums.PixelFormat format, GL.Enums.PixelType type, IntPtr pixels)
|
|
{
|
|
Delegates.glTexSubImage2DEXT((GL.Enums.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)pixels);
|
|
}
|
|
|
|
public static
|
|
void TexSubImage2D(GL.Enums.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object pixels)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glTexSubImage2DEXT((GL.Enums.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pixels_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CopyTexImage1D(GL.Enums.TextureTarget target, Int32 level, GL.Enums.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 border)
|
|
{
|
|
Delegates.glCopyTexImage1DEXT((GL.Enums.TextureTarget)target, (Int32)level, (GL.Enums.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border);
|
|
}
|
|
|
|
public static
|
|
void CopyTexImage2D(GL.Enums.TextureTarget target, Int32 level, GL.Enums.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border)
|
|
{
|
|
Delegates.glCopyTexImage2DEXT((GL.Enums.TextureTarget)target, (Int32)level, (GL.Enums.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border);
|
|
}
|
|
|
|
public static
|
|
void CopyTexSubImage1D(GL.Enums.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width)
|
|
{
|
|
Delegates.glCopyTexSubImage1DEXT((GL.Enums.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width);
|
|
}
|
|
|
|
public static
|
|
void CopyTexSubImage2D(GL.Enums.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height)
|
|
{
|
|
Delegates.glCopyTexSubImage2DEXT((GL.Enums.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height);
|
|
}
|
|
|
|
public static
|
|
void CopyTexSubImage3D(GL.Enums.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height)
|
|
{
|
|
Delegates.glCopyTexSubImage3DEXT((GL.Enums.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height);
|
|
}
|
|
|
|
public static
|
|
void GetHistogram(GL.Enums.HistogramTargetEXT target, GL.Enums.Boolean reset, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [Out] IntPtr values)
|
|
{
|
|
Delegates.glGetHistogramEXT((GL.Enums.HistogramTargetEXT)target, (GL.Enums.Boolean)reset, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)values);
|
|
}
|
|
|
|
public static
|
|
void GetHistogram(GL.Enums.HistogramTargetEXT target, GL.Enums.Boolean reset, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object values)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle values_ptr = System.Runtime.InteropServices.GCHandle.Alloc(values, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetHistogramEXT((GL.Enums.HistogramTargetEXT)target, (GL.Enums.Boolean)reset, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
values_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetHistogramParameter(GL.Enums.HistogramTargetEXT target, GL.Enums.GetHistogramParameterPNameEXT pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetHistogramParameterfvEXT((GL.Enums.HistogramTargetEXT)target, (GL.Enums.GetHistogramParameterPNameEXT)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetHistogramParameter(GL.Enums.HistogramTargetEXT target, GL.Enums.GetHistogramParameterPNameEXT pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetHistogramParameterfvEXT((GL.Enums.HistogramTargetEXT)target, (GL.Enums.GetHistogramParameterPNameEXT)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetHistogramParameter(GL.Enums.HistogramTargetEXT target, GL.Enums.GetHistogramParameterPNameEXT pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetHistogramParameterfvEXT((GL.Enums.HistogramTargetEXT)target, (GL.Enums.GetHistogramParameterPNameEXT)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetHistogramParameter(GL.Enums.HistogramTargetEXT target, GL.Enums.GetHistogramParameterPNameEXT pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetHistogramParameterivEXT((GL.Enums.HistogramTargetEXT)target, (GL.Enums.GetHistogramParameterPNameEXT)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetHistogramParameter(GL.Enums.HistogramTargetEXT target, GL.Enums.GetHistogramParameterPNameEXT pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetHistogramParameterivEXT((GL.Enums.HistogramTargetEXT)target, (GL.Enums.GetHistogramParameterPNameEXT)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetHistogramParameter(GL.Enums.HistogramTargetEXT target, GL.Enums.GetHistogramParameterPNameEXT pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetHistogramParameterivEXT((GL.Enums.HistogramTargetEXT)target, (GL.Enums.GetHistogramParameterPNameEXT)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetMinmax(GL.Enums.MinmaxTargetEXT target, GL.Enums.Boolean reset, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [Out] IntPtr values)
|
|
{
|
|
Delegates.glGetMinmaxEXT((GL.Enums.MinmaxTargetEXT)target, (GL.Enums.Boolean)reset, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)values);
|
|
}
|
|
|
|
public static
|
|
void GetMinmax(GL.Enums.MinmaxTargetEXT target, GL.Enums.Boolean reset, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object values)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle values_ptr = System.Runtime.InteropServices.GCHandle.Alloc(values, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetMinmaxEXT((GL.Enums.MinmaxTargetEXT)target, (GL.Enums.Boolean)reset, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
values_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetMinmaxParameter(GL.Enums.MinmaxTargetEXT target, GL.Enums.GetMinmaxParameterPNameEXT pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetMinmaxParameterfvEXT((GL.Enums.MinmaxTargetEXT)target, (GL.Enums.GetMinmaxParameterPNameEXT)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetMinmaxParameter(GL.Enums.MinmaxTargetEXT target, GL.Enums.GetMinmaxParameterPNameEXT pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetMinmaxParameterfvEXT((GL.Enums.MinmaxTargetEXT)target, (GL.Enums.GetMinmaxParameterPNameEXT)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetMinmaxParameter(GL.Enums.MinmaxTargetEXT target, GL.Enums.GetMinmaxParameterPNameEXT pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetMinmaxParameterfvEXT((GL.Enums.MinmaxTargetEXT)target, (GL.Enums.GetMinmaxParameterPNameEXT)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetMinmaxParameter(GL.Enums.MinmaxTargetEXT target, GL.Enums.GetMinmaxParameterPNameEXT pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetMinmaxParameterivEXT((GL.Enums.MinmaxTargetEXT)target, (GL.Enums.GetMinmaxParameterPNameEXT)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetMinmaxParameter(GL.Enums.MinmaxTargetEXT target, GL.Enums.GetMinmaxParameterPNameEXT pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetMinmaxParameterivEXT((GL.Enums.MinmaxTargetEXT)target, (GL.Enums.GetMinmaxParameterPNameEXT)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetMinmaxParameter(GL.Enums.MinmaxTargetEXT target, GL.Enums.GetMinmaxParameterPNameEXT pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetMinmaxParameterivEXT((GL.Enums.MinmaxTargetEXT)target, (GL.Enums.GetMinmaxParameterPNameEXT)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void Histogram(GL.Enums.HistogramTargetEXT target, Int32 width, GL.Enums.PixelInternalFormat internalformat, GL.Enums.Boolean sink)
|
|
{
|
|
Delegates.glHistogramEXT((GL.Enums.HistogramTargetEXT)target, (Int32)width, (GL.Enums.PixelInternalFormat)internalformat, (GL.Enums.Boolean)sink);
|
|
}
|
|
|
|
public static
|
|
void Minmax(GL.Enums.MinmaxTargetEXT target, GL.Enums.PixelInternalFormat internalformat, GL.Enums.Boolean sink)
|
|
{
|
|
Delegates.glMinmaxEXT((GL.Enums.MinmaxTargetEXT)target, (GL.Enums.PixelInternalFormat)internalformat, (GL.Enums.Boolean)sink);
|
|
}
|
|
|
|
public static
|
|
void ResetHistogram(GL.Enums.HistogramTargetEXT target)
|
|
{
|
|
Delegates.glResetHistogramEXT((GL.Enums.HistogramTargetEXT)target);
|
|
}
|
|
|
|
public static
|
|
void ResetMinmax(GL.Enums.MinmaxTargetEXT target)
|
|
{
|
|
Delegates.glResetMinmaxEXT((GL.Enums.MinmaxTargetEXT)target);
|
|
}
|
|
|
|
public static
|
|
void ConvolutionFilter1D(GL.Enums.ConvolutionTargetEXT target, GL.Enums.PixelInternalFormat internalformat, Int32 width, GL.Enums.PixelFormat format, GL.Enums.PixelType type, IntPtr image)
|
|
{
|
|
Delegates.glConvolutionFilter1DEXT((GL.Enums.ConvolutionTargetEXT)target, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)image);
|
|
}
|
|
|
|
public static
|
|
void ConvolutionFilter1D(GL.Enums.ConvolutionTargetEXT target, GL.Enums.PixelInternalFormat internalformat, Int32 width, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object image)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle image_ptr = System.Runtime.InteropServices.GCHandle.Alloc(image, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glConvolutionFilter1DEXT((GL.Enums.ConvolutionTargetEXT)target, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
image_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ConvolutionFilter2D(GL.Enums.ConvolutionTargetEXT target, GL.Enums.PixelInternalFormat internalformat, Int32 width, Int32 height, GL.Enums.PixelFormat format, GL.Enums.PixelType type, IntPtr image)
|
|
{
|
|
Delegates.glConvolutionFilter2DEXT((GL.Enums.ConvolutionTargetEXT)target, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)image);
|
|
}
|
|
|
|
public static
|
|
void ConvolutionFilter2D(GL.Enums.ConvolutionTargetEXT target, GL.Enums.PixelInternalFormat internalformat, Int32 width, Int32 height, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object image)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle image_ptr = System.Runtime.InteropServices.GCHandle.Alloc(image, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glConvolutionFilter2DEXT((GL.Enums.ConvolutionTargetEXT)target, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
image_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ConvolutionParameter(GL.Enums.ConvolutionTargetEXT target, GL.Enums.ConvolutionParameterEXT pname, Single @params)
|
|
{
|
|
Delegates.glConvolutionParameterfEXT((GL.Enums.ConvolutionTargetEXT)target, (GL.Enums.ConvolutionParameterEXT)pname, (Single)@params);
|
|
}
|
|
|
|
public static
|
|
void ConvolutionParameterv(GL.Enums.ConvolutionTargetEXT target, GL.Enums.ConvolutionParameterEXT pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glConvolutionParameterfvEXT((GL.Enums.ConvolutionTargetEXT)target, (GL.Enums.ConvolutionParameterEXT)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ConvolutionParameterv(GL.Enums.ConvolutionTargetEXT target, GL.Enums.ConvolutionParameterEXT pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glConvolutionParameterfvEXT((GL.Enums.ConvolutionTargetEXT)target, (GL.Enums.ConvolutionParameterEXT)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ConvolutionParameterv(GL.Enums.ConvolutionTargetEXT target, GL.Enums.ConvolutionParameterEXT pname, Single* @params)
|
|
{
|
|
Delegates.glConvolutionParameterfvEXT((GL.Enums.ConvolutionTargetEXT)target, (GL.Enums.ConvolutionParameterEXT)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void ConvolutionParameter(GL.Enums.ConvolutionTargetEXT target, GL.Enums.ConvolutionParameterEXT pname, Int32 @params)
|
|
{
|
|
Delegates.glConvolutionParameteriEXT((GL.Enums.ConvolutionTargetEXT)target, (GL.Enums.ConvolutionParameterEXT)pname, (Int32)@params);
|
|
}
|
|
|
|
public static
|
|
void ConvolutionParameterv(GL.Enums.ConvolutionTargetEXT target, GL.Enums.ConvolutionParameterEXT pname, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glConvolutionParameterivEXT((GL.Enums.ConvolutionTargetEXT)target, (GL.Enums.ConvolutionParameterEXT)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ConvolutionParameterv(GL.Enums.ConvolutionTargetEXT target, GL.Enums.ConvolutionParameterEXT pname, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glConvolutionParameterivEXT((GL.Enums.ConvolutionTargetEXT)target, (GL.Enums.ConvolutionParameterEXT)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ConvolutionParameterv(GL.Enums.ConvolutionTargetEXT target, GL.Enums.ConvolutionParameterEXT pname, Int32* @params)
|
|
{
|
|
Delegates.glConvolutionParameterivEXT((GL.Enums.ConvolutionTargetEXT)target, (GL.Enums.ConvolutionParameterEXT)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void CopyConvolutionFilter1D(GL.Enums.ConvolutionTargetEXT target, GL.Enums.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width)
|
|
{
|
|
Delegates.glCopyConvolutionFilter1DEXT((GL.Enums.ConvolutionTargetEXT)target, (GL.Enums.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width);
|
|
}
|
|
|
|
public static
|
|
void CopyConvolutionFilter2D(GL.Enums.ConvolutionTargetEXT target, GL.Enums.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height)
|
|
{
|
|
Delegates.glCopyConvolutionFilter2DEXT((GL.Enums.ConvolutionTargetEXT)target, (GL.Enums.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height);
|
|
}
|
|
|
|
public static
|
|
void GetConvolutionFilter(GL.Enums.ConvolutionTargetEXT target, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [Out] IntPtr image)
|
|
{
|
|
Delegates.glGetConvolutionFilterEXT((GL.Enums.ConvolutionTargetEXT)target, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)image);
|
|
}
|
|
|
|
public static
|
|
void GetConvolutionFilter(GL.Enums.ConvolutionTargetEXT target, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object image)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle image_ptr = System.Runtime.InteropServices.GCHandle.Alloc(image, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetConvolutionFilterEXT((GL.Enums.ConvolutionTargetEXT)target, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
image_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetConvolutionParameter(GL.Enums.ConvolutionTargetEXT target, GL.Enums.ConvolutionParameterEXT pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetConvolutionParameterfvEXT((GL.Enums.ConvolutionTargetEXT)target, (GL.Enums.ConvolutionParameterEXT)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetConvolutionParameter(GL.Enums.ConvolutionTargetEXT target, GL.Enums.ConvolutionParameterEXT pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetConvolutionParameterfvEXT((GL.Enums.ConvolutionTargetEXT)target, (GL.Enums.ConvolutionParameterEXT)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetConvolutionParameter(GL.Enums.ConvolutionTargetEXT target, GL.Enums.ConvolutionParameterEXT pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetConvolutionParameterfvEXT((GL.Enums.ConvolutionTargetEXT)target, (GL.Enums.ConvolutionParameterEXT)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetConvolutionParameter(GL.Enums.ConvolutionTargetEXT target, GL.Enums.ConvolutionParameterEXT pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetConvolutionParameterivEXT((GL.Enums.ConvolutionTargetEXT)target, (GL.Enums.ConvolutionParameterEXT)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetConvolutionParameter(GL.Enums.ConvolutionTargetEXT target, GL.Enums.ConvolutionParameterEXT pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetConvolutionParameterivEXT((GL.Enums.ConvolutionTargetEXT)target, (GL.Enums.ConvolutionParameterEXT)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetConvolutionParameter(GL.Enums.ConvolutionTargetEXT target, GL.Enums.ConvolutionParameterEXT pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetConvolutionParameterivEXT((GL.Enums.ConvolutionTargetEXT)target, (GL.Enums.ConvolutionParameterEXT)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetSeparableFilter(GL.Enums.SeparableTargetEXT target, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [Out] IntPtr span)
|
|
{
|
|
Delegates.glGetSeparableFilterEXT((GL.Enums.SeparableTargetEXT)target, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span);
|
|
}
|
|
|
|
public static
|
|
void GetSeparableFilter(GL.Enums.SeparableTargetEXT target, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object row, [In, Out] object column, [In, Out] object span)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle row_ptr = System.Runtime.InteropServices.GCHandle.Alloc(row, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
System.Runtime.InteropServices.GCHandle column_ptr = System.Runtime.InteropServices.GCHandle.Alloc(column, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
System.Runtime.InteropServices.GCHandle span_ptr = System.Runtime.InteropServices.GCHandle.Alloc(span, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetSeparableFilterEXT((GL.Enums.SeparableTargetEXT)target, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (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 GetSeparableFilter(GL.Enums.SeparableTargetEXT target, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [Out] IntPtr row, [In, Out] object column, [In, Out] object span)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle column_ptr = System.Runtime.InteropServices.GCHandle.Alloc(column, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
System.Runtime.InteropServices.GCHandle span_ptr = System.Runtime.InteropServices.GCHandle.Alloc(span, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetSeparableFilterEXT((GL.Enums.SeparableTargetEXT)target, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
column_ptr.Free();
|
|
span_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void SeparableFilter2D(GL.Enums.SeparableTargetEXT target, GL.Enums.PixelInternalFormat internalformat, Int32 width, Int32 height, GL.Enums.PixelFormat format, GL.Enums.PixelType type, IntPtr row, IntPtr column)
|
|
{
|
|
Delegates.glSeparableFilter2DEXT((GL.Enums.SeparableTargetEXT)target, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)row, (IntPtr)column);
|
|
}
|
|
|
|
public static
|
|
void SeparableFilter2D(GL.Enums.SeparableTargetEXT target, GL.Enums.PixelInternalFormat internalformat, Int32 width, Int32 height, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object row, [In, Out] object column)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle row_ptr = System.Runtime.InteropServices.GCHandle.Alloc(row, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
System.Runtime.InteropServices.GCHandle column_ptr = System.Runtime.InteropServices.GCHandle.Alloc(column, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glSeparableFilter2DEXT((GL.Enums.SeparableTargetEXT)target, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
row_ptr.Free();
|
|
column_ptr.Free();
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe Boolean AreTexturesResident(Int32 n, UInt32[] textures, [Out] GL.Enums.Boolean* residences)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* textures_ptr = textures)
|
|
{
|
|
return Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures_ptr, (GL.Enums.Boolean*)residences);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe Boolean AreTexturesResident(Int32 n, Int32[] textures, [Out] GL.Enums.Boolean* residences)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* textures_ptr = textures)
|
|
{
|
|
return Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures_ptr, (GL.Enums.Boolean*)residences);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe Boolean AreTexturesResident(Int32 n, ref UInt32 textures, [Out] GL.Enums.Boolean* residences)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* textures_ptr = &textures)
|
|
{
|
|
return Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures_ptr, (GL.Enums.Boolean*)residences);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe Boolean AreTexturesResident(Int32 n, ref Int32 textures, [Out] GL.Enums.Boolean* residences)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* textures_ptr = &textures)
|
|
{
|
|
return Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures_ptr, (GL.Enums.Boolean*)residences);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe Boolean AreTexturesResident(Int32 n, UInt32* textures, [Out] GL.Enums.Boolean* residences)
|
|
{
|
|
return Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures, (GL.Enums.Boolean*)residences);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe Boolean AreTexturesResident(Int32 n, Int32* textures, [Out] GL.Enums.Boolean* residences)
|
|
{
|
|
return Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures, (GL.Enums.Boolean*)residences);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void BindTexture(GL.Enums.TextureTarget target, UInt32 texture)
|
|
{
|
|
Delegates.glBindTextureEXT((GL.Enums.TextureTarget)target, (UInt32)texture);
|
|
}
|
|
|
|
public static
|
|
void BindTexture(GL.Enums.TextureTarget target, Int32 texture)
|
|
{
|
|
Delegates.glBindTextureEXT((GL.Enums.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
|
|
Boolean IsTexture(UInt32 texture)
|
|
{
|
|
return Delegates.glIsTextureEXT((UInt32)texture);
|
|
}
|
|
|
|
public static
|
|
Boolean 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 ArrayElement(Int32 i)
|
|
{
|
|
Delegates.glArrayElementEXT((Int32)i);
|
|
}
|
|
|
|
public static
|
|
void ColorPointer(Int32 size, GL.Enums.ColorPointerType type, Int32 stride, Int32 count, IntPtr pointer)
|
|
{
|
|
Delegates.glColorPointerEXT((Int32)size, (GL.Enums.ColorPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer);
|
|
}
|
|
|
|
public static
|
|
void ColorPointer(Int32 size, GL.Enums.ColorPointerType type, Int32 stride, Int32 count, [In, Out] object pointer)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glColorPointerEXT((Int32)size, (GL.Enums.ColorPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DrawArrays(GL.Enums.BeginMode mode, Int32 first, Int32 count)
|
|
{
|
|
Delegates.glDrawArraysEXT((GL.Enums.BeginMode)mode, (Int32)first, (Int32)count);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void EdgeFlagPointer(Int32 stride, Int32 count, GL.Enums.Boolean* pointer)
|
|
{
|
|
Delegates.glEdgeFlagPointerEXT((Int32)stride, (Int32)count, (GL.Enums.Boolean*)pointer);
|
|
}
|
|
|
|
public static
|
|
void GetPointer(GL.Enums.GetPointervPName pname, [Out] IntPtr @params)
|
|
{
|
|
Delegates.glGetPointervEXT((GL.Enums.GetPointervPName)pname, (IntPtr)@params);
|
|
}
|
|
|
|
public static
|
|
void GetPointer(GL.Enums.GetPointervPName pname, [In, Out] object @params)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle @params_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@params, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetPointervEXT((GL.Enums.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
@params_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void IndexPointer(GL.Enums.IndexPointerType type, Int32 stride, Int32 count, IntPtr pointer)
|
|
{
|
|
Delegates.glIndexPointerEXT((GL.Enums.IndexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer);
|
|
}
|
|
|
|
public static
|
|
void IndexPointer(GL.Enums.IndexPointerType type, Int32 stride, Int32 count, [In, Out] object pointer)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glIndexPointerEXT((GL.Enums.IndexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void NormalPointer(GL.Enums.NormalPointerType type, Int32 stride, Int32 count, IntPtr pointer)
|
|
{
|
|
Delegates.glNormalPointerEXT((GL.Enums.NormalPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer);
|
|
}
|
|
|
|
public static
|
|
void NormalPointer(GL.Enums.NormalPointerType type, Int32 stride, Int32 count, [In, Out] object pointer)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glNormalPointerEXT((GL.Enums.NormalPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexCoordPointer(Int32 size, GL.Enums.TexCoordPointerType type, Int32 stride, Int32 count, IntPtr pointer)
|
|
{
|
|
Delegates.glTexCoordPointerEXT((Int32)size, (GL.Enums.TexCoordPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer);
|
|
}
|
|
|
|
public static
|
|
void TexCoordPointer(Int32 size, GL.Enums.TexCoordPointerType type, Int32 stride, Int32 count, [In, Out] object pointer)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glTexCoordPointerEXT((Int32)size, (GL.Enums.TexCoordPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexPointer(Int32 size, GL.Enums.VertexPointerType type, Int32 stride, Int32 count, IntPtr pointer)
|
|
{
|
|
Delegates.glVertexPointerEXT((Int32)size, (GL.Enums.VertexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer);
|
|
}
|
|
|
|
public static
|
|
void VertexPointer(Int32 size, GL.Enums.VertexPointerType type, Int32 stride, Int32 count, [In, Out] object pointer)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glVertexPointerEXT((Int32)size, (GL.Enums.VertexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void BlendEquation(GL.Enums.BlendEquationModeEXT mode)
|
|
{
|
|
Delegates.glBlendEquationEXT((GL.Enums.BlendEquationModeEXT)mode);
|
|
}
|
|
|
|
public static
|
|
void PointParameter(GL.Enums.EXT_point_parameters pname, Single param)
|
|
{
|
|
Delegates.glPointParameterfEXT((GL.Enums.EXT_point_parameters)pname, (Single)param);
|
|
}
|
|
|
|
public static
|
|
void PointParameterv(GL.Enums.EXT_point_parameters pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glPointParameterfvEXT((GL.Enums.EXT_point_parameters)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void PointParameterv(GL.Enums.EXT_point_parameters pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glPointParameterfvEXT((GL.Enums.EXT_point_parameters)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void PointParameterv(GL.Enums.EXT_point_parameters pname, Single* @params)
|
|
{
|
|
Delegates.glPointParameterfvEXT((GL.Enums.EXT_point_parameters)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void ColorSubTable(GL.Enums.EXT_color_subtable target, Int32 start, Int32 count, GL.Enums.PixelFormat format, GL.Enums.PixelType type, IntPtr data)
|
|
{
|
|
Delegates.glColorSubTableEXT((GL.Enums.EXT_color_subtable)target, (Int32)start, (Int32)count, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)data);
|
|
}
|
|
|
|
public static
|
|
void ColorSubTable(GL.Enums.EXT_color_subtable target, Int32 start, Int32 count, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object data)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glColorSubTableEXT((GL.Enums.EXT_color_subtable)target, (Int32)start, (Int32)count, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
data_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CopyColorSubTable(GL.Enums.EXT_color_subtable target, Int32 start, Int32 x, Int32 y, Int32 width)
|
|
{
|
|
Delegates.glCopyColorSubTableEXT((GL.Enums.EXT_color_subtable)target, (Int32)start, (Int32)x, (Int32)y, (Int32)width);
|
|
}
|
|
|
|
public static
|
|
void ColorTable(GL.Enums.EXT_paletted_texture target, GL.Enums.PixelInternalFormat internalFormat, Int32 width, GL.Enums.PixelFormat format, GL.Enums.PixelType type, IntPtr table)
|
|
{
|
|
Delegates.glColorTableEXT((GL.Enums.EXT_paletted_texture)target, (GL.Enums.PixelInternalFormat)internalFormat, (Int32)width, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)table);
|
|
}
|
|
|
|
public static
|
|
void ColorTable(GL.Enums.EXT_paletted_texture target, GL.Enums.PixelInternalFormat internalFormat, Int32 width, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object table)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle table_ptr = System.Runtime.InteropServices.GCHandle.Alloc(table, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glColorTableEXT((GL.Enums.EXT_paletted_texture)target, (GL.Enums.PixelInternalFormat)internalFormat, (Int32)width, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
table_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetColorTable(GL.Enums.EXT_paletted_texture target, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [Out] IntPtr data)
|
|
{
|
|
Delegates.glGetColorTableEXT((GL.Enums.EXT_paletted_texture)target, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)data);
|
|
}
|
|
|
|
public static
|
|
void GetColorTable(GL.Enums.EXT_paletted_texture target, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object data)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetColorTableEXT((GL.Enums.EXT_paletted_texture)target, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
data_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetColorTableParameter(GL.Enums.EXT_paletted_texture target, GL.Enums.EXT_paletted_texture pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetColorTableParameterivEXT((GL.Enums.EXT_paletted_texture)target, (GL.Enums.EXT_paletted_texture)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetColorTableParameter(GL.Enums.EXT_paletted_texture target, GL.Enums.EXT_paletted_texture pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetColorTableParameterivEXT((GL.Enums.EXT_paletted_texture)target, (GL.Enums.EXT_paletted_texture)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetColorTableParameter(GL.Enums.EXT_paletted_texture target, GL.Enums.EXT_paletted_texture pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetColorTableParameterivEXT((GL.Enums.EXT_paletted_texture)target, (GL.Enums.EXT_paletted_texture)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetColorTableParameter(GL.Enums.EXT_paletted_texture target, GL.Enums.EXT_paletted_texture pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetColorTableParameterfvEXT((GL.Enums.EXT_paletted_texture)target, (GL.Enums.EXT_paletted_texture)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetColorTableParameter(GL.Enums.EXT_paletted_texture target, GL.Enums.EXT_paletted_texture pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetColorTableParameterfvEXT((GL.Enums.EXT_paletted_texture)target, (GL.Enums.EXT_paletted_texture)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetColorTableParameter(GL.Enums.EXT_paletted_texture target, GL.Enums.EXT_paletted_texture pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetColorTableParameterfvEXT((GL.Enums.EXT_paletted_texture)target, (GL.Enums.EXT_paletted_texture)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void IndexMaterial(GL.Enums.MaterialFace face, GL.Enums.EXT_index_material mode)
|
|
{
|
|
Delegates.glIndexMaterialEXT((GL.Enums.MaterialFace)face, (GL.Enums.EXT_index_material)mode);
|
|
}
|
|
|
|
public static
|
|
void IndexFunc(GL.Enums.EXT_index_func func, Single @ref)
|
|
{
|
|
Delegates.glIndexFuncEXT((GL.Enums.EXT_index_func)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(GL.Enums.EXT_cull_vertex pname, [Out] Double[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = @params)
|
|
{
|
|
Delegates.glCullParameterdvEXT((GL.Enums.EXT_cull_vertex)pname, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CullParameter(GL.Enums.EXT_cull_vertex pname, [Out] out Double @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = &@params)
|
|
{
|
|
Delegates.glCullParameterdvEXT((GL.Enums.EXT_cull_vertex)pname, (Double*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void CullParameter(GL.Enums.EXT_cull_vertex pname, [Out] Double* @params)
|
|
{
|
|
Delegates.glCullParameterdvEXT((GL.Enums.EXT_cull_vertex)pname, (Double*)@params);
|
|
}
|
|
|
|
public static
|
|
void CullParameter(GL.Enums.EXT_cull_vertex pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glCullParameterfvEXT((GL.Enums.EXT_cull_vertex)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CullParameter(GL.Enums.EXT_cull_vertex pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glCullParameterfvEXT((GL.Enums.EXT_cull_vertex)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void CullParameter(GL.Enums.EXT_cull_vertex pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glCullParameterfvEXT((GL.Enums.EXT_cull_vertex)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DrawRangeElements(GL.Enums.BeginMode mode, UInt32 start, UInt32 end, Int32 count, GL.Enums.EXT_draw_range_elements type, IntPtr indices)
|
|
{
|
|
Delegates.glDrawRangeElementsEXT((GL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (GL.Enums.EXT_draw_range_elements)type, (IntPtr)indices);
|
|
}
|
|
|
|
public static
|
|
void DrawRangeElements(GL.Enums.BeginMode mode, Int32 start, Int32 end, Int32 count, GL.Enums.EXT_draw_range_elements type, IntPtr indices)
|
|
{
|
|
Delegates.glDrawRangeElementsEXT((GL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (GL.Enums.EXT_draw_range_elements)type, (IntPtr)indices);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DrawRangeElements(GL.Enums.BeginMode mode, UInt32 start, UInt32 end, Int32 count, GL.Enums.EXT_draw_range_elements type, [In, Out] object indices)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glDrawRangeElementsEXT((GL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (GL.Enums.EXT_draw_range_elements)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
indices_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DrawRangeElements(GL.Enums.BeginMode mode, Int32 start, Int32 end, Int32 count, GL.Enums.EXT_draw_range_elements type, [In, Out] object indices)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glDrawRangeElementsEXT((GL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (GL.Enums.EXT_draw_range_elements)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
indices_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ApplyTexture(GL.Enums.EXT_light_texture mode)
|
|
{
|
|
Delegates.glApplyTextureEXT((GL.Enums.EXT_light_texture)mode);
|
|
}
|
|
|
|
public static
|
|
void TextureLight(GL.Enums.EXT_light_texture pname)
|
|
{
|
|
Delegates.glTextureLightEXT((GL.Enums.EXT_light_texture)pname);
|
|
}
|
|
|
|
public static
|
|
void TextureMaterial(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter mode)
|
|
{
|
|
Delegates.glTextureMaterialEXT((GL.Enums.MaterialFace)face, (GL.Enums.MaterialParameter)mode);
|
|
}
|
|
|
|
public static
|
|
void PixelTransformParameter(GL.Enums.EXT_pixel_transform target, GL.Enums.EXT_pixel_transform pname, Int32 param)
|
|
{
|
|
Delegates.glPixelTransformParameteriEXT((GL.Enums.EXT_pixel_transform)target, (GL.Enums.EXT_pixel_transform)pname, (Int32)param);
|
|
}
|
|
|
|
public static
|
|
void PixelTransformParameter(GL.Enums.EXT_pixel_transform target, GL.Enums.EXT_pixel_transform pname, Single param)
|
|
{
|
|
Delegates.glPixelTransformParameterfEXT((GL.Enums.EXT_pixel_transform)target, (GL.Enums.EXT_pixel_transform)pname, (Single)param);
|
|
}
|
|
|
|
public static
|
|
void PixelTransformParameterv(GL.Enums.EXT_pixel_transform target, GL.Enums.EXT_pixel_transform pname, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glPixelTransformParameterivEXT((GL.Enums.EXT_pixel_transform)target, (GL.Enums.EXT_pixel_transform)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void PixelTransformParameterv(GL.Enums.EXT_pixel_transform target, GL.Enums.EXT_pixel_transform pname, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glPixelTransformParameterivEXT((GL.Enums.EXT_pixel_transform)target, (GL.Enums.EXT_pixel_transform)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void PixelTransformParameterv(GL.Enums.EXT_pixel_transform target, GL.Enums.EXT_pixel_transform pname, Int32* @params)
|
|
{
|
|
Delegates.glPixelTransformParameterivEXT((GL.Enums.EXT_pixel_transform)target, (GL.Enums.EXT_pixel_transform)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void PixelTransformParameterv(GL.Enums.EXT_pixel_transform target, GL.Enums.EXT_pixel_transform pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glPixelTransformParameterfvEXT((GL.Enums.EXT_pixel_transform)target, (GL.Enums.EXT_pixel_transform)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void PixelTransformParameterv(GL.Enums.EXT_pixel_transform target, GL.Enums.EXT_pixel_transform pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glPixelTransformParameterfvEXT((GL.Enums.EXT_pixel_transform)target, (GL.Enums.EXT_pixel_transform)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void PixelTransformParameterv(GL.Enums.EXT_pixel_transform target, GL.Enums.EXT_pixel_transform pname, Single* @params)
|
|
{
|
|
Delegates.glPixelTransformParameterfvEXT((GL.Enums.EXT_pixel_transform)target, (GL.Enums.EXT_pixel_transform)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, GL.Enums.ColorPointerType type, Int32 stride, IntPtr pointer)
|
|
{
|
|
Delegates.glSecondaryColorPointerEXT((Int32)size, (GL.Enums.ColorPointerType)type, (Int32)stride, (IntPtr)pointer);
|
|
}
|
|
|
|
public static
|
|
void SecondaryColorPointer(Int32 size, GL.Enums.ColorPointerType type, Int32 stride, [In, Out] object pointer)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glSecondaryColorPointerEXT((Int32)size, (GL.Enums.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TextureNormal(GL.Enums.EXT_texture_perturb_normal mode)
|
|
{
|
|
Delegates.glTextureNormalEXT((GL.Enums.EXT_texture_perturb_normal)mode);
|
|
}
|
|
|
|
public static
|
|
void MultiDrawArrays(GL.Enums.BeginMode mode, [Out] Int32[] first, [Out] Int32[] count, Int32 primcount)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* first_ptr = first)
|
|
fixed (Int32* count_ptr = count)
|
|
{
|
|
Delegates.glMultiDrawArraysEXT((GL.Enums.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiDrawArrays(GL.Enums.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((GL.Enums.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
|
|
first = *first_ptr;
|
|
count = *count_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiDrawArrays(GL.Enums.BeginMode mode, [Out] Int32* first, [Out] Int32* count, Int32 primcount)
|
|
{
|
|
Delegates.glMultiDrawArraysEXT((GL.Enums.BeginMode)mode, (Int32*)first, (Int32*)count, (Int32)primcount);
|
|
}
|
|
|
|
public static
|
|
void MultiDrawElements(GL.Enums.BeginMode mode, Int32[] count, GL.Enums.EXT_multi_draw_arrays type, IntPtr indices, Int32 primcount)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* count_ptr = count)
|
|
{
|
|
Delegates.glMultiDrawElementsEXT((GL.Enums.BeginMode)mode, (Int32*)count_ptr, (GL.Enums.EXT_multi_draw_arrays)type, (IntPtr)indices, (Int32)primcount);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiDrawElements(GL.Enums.BeginMode mode, Int32* count, GL.Enums.EXT_multi_draw_arrays type, [In, Out] object indices, Int32 primcount)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glMultiDrawElementsEXT((GL.Enums.BeginMode)mode, (Int32*)count, (GL.Enums.EXT_multi_draw_arrays)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
|
|
}
|
|
finally
|
|
{
|
|
indices_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiDrawElements(GL.Enums.BeginMode mode, ref Int32 count, GL.Enums.EXT_multi_draw_arrays 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((GL.Enums.BeginMode)mode, (Int32*)count_ptr, (GL.Enums.EXT_multi_draw_arrays)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(GL.Enums.EXT_fog_coord type, Int32 stride, IntPtr pointer)
|
|
{
|
|
Delegates.glFogCoordPointerEXT((GL.Enums.EXT_fog_coord)type, (Int32)stride, (IntPtr)pointer);
|
|
}
|
|
|
|
public static
|
|
void FogCoordPointer(GL.Enums.EXT_fog_coord type, Int32 stride, [In, Out] object pointer)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glFogCoordPointerEXT((GL.Enums.EXT_fog_coord)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(GL.Enums.EXT_coordinate_frame type, Int32 stride, IntPtr pointer)
|
|
{
|
|
Delegates.glTangentPointerEXT((GL.Enums.EXT_coordinate_frame)type, (Int32)stride, (IntPtr)pointer);
|
|
}
|
|
|
|
public static
|
|
void TangentPointer(GL.Enums.EXT_coordinate_frame type, Int32 stride, [In, Out] object pointer)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glTangentPointerEXT((GL.Enums.EXT_coordinate_frame)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void BinormalPointer(GL.Enums.EXT_coordinate_frame type, Int32 stride, IntPtr pointer)
|
|
{
|
|
Delegates.glBinormalPointerEXT((GL.Enums.EXT_coordinate_frame)type, (Int32)stride, (IntPtr)pointer);
|
|
}
|
|
|
|
public static
|
|
void BinormalPointer(GL.Enums.EXT_coordinate_frame type, Int32 stride, [In, Out] object pointer)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glBinormalPointerEXT((GL.Enums.EXT_coordinate_frame)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void BlendFuncSeparate(GL.Enums.EXT_blend_func_separate sfactorRGB, GL.Enums.EXT_blend_func_separate dfactorRGB, GL.Enums.EXT_blend_func_separate sfactorAlpha, GL.Enums.EXT_blend_func_separate dfactorAlpha)
|
|
{
|
|
Delegates.glBlendFuncSeparateEXT((GL.Enums.EXT_blend_func_separate)sfactorRGB, (GL.Enums.EXT_blend_func_separate)dfactorRGB, (GL.Enums.EXT_blend_func_separate)sfactorAlpha, (GL.Enums.EXT_blend_func_separate)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, GL.Enums.EXT_vertex_weighting type, Int32 stride, IntPtr pointer)
|
|
{
|
|
Delegates.glVertexWeightPointerEXT((Int32)size, (GL.Enums.EXT_vertex_weighting)type, (Int32)stride, (IntPtr)pointer);
|
|
}
|
|
|
|
public static
|
|
void VertexWeightPointer(Int32 size, GL.Enums.EXT_vertex_weighting type, Int32 stride, [In, Out] object pointer)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glVertexWeightPointerEXT((Int32)size, (GL.Enums.EXT_vertex_weighting)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void SampleMask(Single value, GL.Enums.Boolean invert)
|
|
{
|
|
Delegates.glSampleMaskEXT((Single)value, (GL.Enums.Boolean)invert);
|
|
}
|
|
|
|
public static
|
|
void SamplePattern(GL.Enums.EXT_multisample pattern)
|
|
{
|
|
Delegates.glSamplePatternEXT((GL.Enums.EXT_multisample)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(GL.Enums.EXT_vertex_shader op, UInt32 res, UInt32 arg1)
|
|
{
|
|
Delegates.glShaderOp1EXT((GL.Enums.EXT_vertex_shader)op, (UInt32)res, (UInt32)arg1);
|
|
}
|
|
|
|
public static
|
|
void ShaderOp1(GL.Enums.EXT_vertex_shader op, Int32 res, Int32 arg1)
|
|
{
|
|
Delegates.glShaderOp1EXT((GL.Enums.EXT_vertex_shader)op, (UInt32)res, (UInt32)arg1);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ShaderOp2(GL.Enums.EXT_vertex_shader op, UInt32 res, UInt32 arg1, UInt32 arg2)
|
|
{
|
|
Delegates.glShaderOp2EXT((GL.Enums.EXT_vertex_shader)op, (UInt32)res, (UInt32)arg1, (UInt32)arg2);
|
|
}
|
|
|
|
public static
|
|
void ShaderOp2(GL.Enums.EXT_vertex_shader op, Int32 res, Int32 arg1, Int32 arg2)
|
|
{
|
|
Delegates.glShaderOp2EXT((GL.Enums.EXT_vertex_shader)op, (UInt32)res, (UInt32)arg1, (UInt32)arg2);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ShaderOp3(GL.Enums.EXT_vertex_shader op, UInt32 res, UInt32 arg1, UInt32 arg2, UInt32 arg3)
|
|
{
|
|
Delegates.glShaderOp3EXT((GL.Enums.EXT_vertex_shader)op, (UInt32)res, (UInt32)arg1, (UInt32)arg2, (UInt32)arg3);
|
|
}
|
|
|
|
public static
|
|
void ShaderOp3(GL.Enums.EXT_vertex_shader op, Int32 res, Int32 arg1, Int32 arg2, Int32 arg3)
|
|
{
|
|
Delegates.glShaderOp3EXT((GL.Enums.EXT_vertex_shader)op, (UInt32)res, (UInt32)arg1, (UInt32)arg2, (UInt32)arg3);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void Swizzle(UInt32 res, UInt32 @in, GL.Enums.EXT_vertex_shader outX, GL.Enums.EXT_vertex_shader outY, GL.Enums.EXT_vertex_shader outZ, GL.Enums.EXT_vertex_shader outW)
|
|
{
|
|
Delegates.glSwizzleEXT((UInt32)res, (UInt32)@in, (GL.Enums.EXT_vertex_shader)outX, (GL.Enums.EXT_vertex_shader)outY, (GL.Enums.EXT_vertex_shader)outZ, (GL.Enums.EXT_vertex_shader)outW);
|
|
}
|
|
|
|
public static
|
|
void Swizzle(Int32 res, Int32 @in, GL.Enums.EXT_vertex_shader outX, GL.Enums.EXT_vertex_shader outY, GL.Enums.EXT_vertex_shader outZ, GL.Enums.EXT_vertex_shader outW)
|
|
{
|
|
Delegates.glSwizzleEXT((UInt32)res, (UInt32)@in, (GL.Enums.EXT_vertex_shader)outX, (GL.Enums.EXT_vertex_shader)outY, (GL.Enums.EXT_vertex_shader)outZ, (GL.Enums.EXT_vertex_shader)outW);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void WriteMask(UInt32 res, UInt32 @in, GL.Enums.EXT_vertex_shader outX, GL.Enums.EXT_vertex_shader outY, GL.Enums.EXT_vertex_shader outZ, GL.Enums.EXT_vertex_shader outW)
|
|
{
|
|
Delegates.glWriteMaskEXT((UInt32)res, (UInt32)@in, (GL.Enums.EXT_vertex_shader)outX, (GL.Enums.EXT_vertex_shader)outY, (GL.Enums.EXT_vertex_shader)outZ, (GL.Enums.EXT_vertex_shader)outW);
|
|
}
|
|
|
|
public static
|
|
void WriteMask(Int32 res, Int32 @in, GL.Enums.EXT_vertex_shader outX, GL.Enums.EXT_vertex_shader outY, GL.Enums.EXT_vertex_shader outZ, GL.Enums.EXT_vertex_shader outW)
|
|
{
|
|
Delegates.glWriteMaskEXT((UInt32)res, (UInt32)@in, (GL.Enums.EXT_vertex_shader)outX, (GL.Enums.EXT_vertex_shader)outY, (GL.Enums.EXT_vertex_shader)outZ, (GL.Enums.EXT_vertex_shader)outW);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void InsertComponent(UInt32 res, UInt32 src, UInt32 num)
|
|
{
|
|
Delegates.glInsertComponentEXT((UInt32)res, (UInt32)src, (UInt32)num);
|
|
}
|
|
|
|
public static
|
|
void InsertComponent(Int32 res, Int32 src, Int32 num)
|
|
{
|
|
Delegates.glInsertComponentEXT((UInt32)res, (UInt32)src, (UInt32)num);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ExtractComponent(UInt32 res, UInt32 src, UInt32 num)
|
|
{
|
|
Delegates.glExtractComponentEXT((UInt32)res, (UInt32)src, (UInt32)num);
|
|
}
|
|
|
|
public static
|
|
void ExtractComponent(Int32 res, Int32 src, Int32 num)
|
|
{
|
|
Delegates.glExtractComponentEXT((UInt32)res, (UInt32)src, (UInt32)num);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
Int32 GenSymbol(GL.Enums.EXT_vertex_shader datatype, GL.Enums.EXT_vertex_shader storagetype, GL.Enums.EXT_vertex_shader range, UInt32 components)
|
|
{
|
|
return Delegates.glGenSymbolsEXT((GL.Enums.EXT_vertex_shader)datatype, (GL.Enums.EXT_vertex_shader)storagetype, (GL.Enums.EXT_vertex_shader)range, (UInt32)components);
|
|
}
|
|
|
|
public static
|
|
Int32 GenSymbol(GL.Enums.EXT_vertex_shader datatype, GL.Enums.EXT_vertex_shader storagetype, GL.Enums.EXT_vertex_shader range, Int32 components)
|
|
{
|
|
return Delegates.glGenSymbolsEXT((GL.Enums.EXT_vertex_shader)datatype, (GL.Enums.EXT_vertex_shader)storagetype, (GL.Enums.EXT_vertex_shader)range, (UInt32)components);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void SetInvariant(UInt32 id, GL.Enums.EXT_vertex_shader type, IntPtr addr)
|
|
{
|
|
Delegates.glSetInvariantEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)type, (IntPtr)addr);
|
|
}
|
|
|
|
public static
|
|
void SetInvariant(Int32 id, GL.Enums.EXT_vertex_shader type, IntPtr addr)
|
|
{
|
|
Delegates.glSetInvariantEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)type, (IntPtr)addr);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void SetInvariant(UInt32 id, GL.Enums.EXT_vertex_shader type, [In, Out] object addr)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle addr_ptr = System.Runtime.InteropServices.GCHandle.Alloc(addr, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glSetInvariantEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)type, (IntPtr)addr_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
addr_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void SetInvariant(Int32 id, GL.Enums.EXT_vertex_shader type, [In, Out] object addr)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle addr_ptr = System.Runtime.InteropServices.GCHandle.Alloc(addr, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glSetInvariantEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)type, (IntPtr)addr_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
addr_ptr.Free();
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void SetLocalConstant(UInt32 id, GL.Enums.EXT_vertex_shader type, IntPtr addr)
|
|
{
|
|
Delegates.glSetLocalConstantEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)type, (IntPtr)addr);
|
|
}
|
|
|
|
public static
|
|
void SetLocalConstant(Int32 id, GL.Enums.EXT_vertex_shader type, IntPtr addr)
|
|
{
|
|
Delegates.glSetLocalConstantEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)type, (IntPtr)addr);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void SetLocalConstant(UInt32 id, GL.Enums.EXT_vertex_shader type, [In, Out] object addr)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle addr_ptr = System.Runtime.InteropServices.GCHandle.Alloc(addr, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glSetLocalConstantEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)type, (IntPtr)addr_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
addr_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void SetLocalConstant(Int32 id, GL.Enums.EXT_vertex_shader type, [In, Out] object addr)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle addr_ptr = System.Runtime.InteropServices.GCHandle.Alloc(addr, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glSetLocalConstantEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)type, (IntPtr)addr_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
addr_ptr.Free();
|
|
}
|
|
}
|
|
|
|
[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, GL.Enums.EXT_vertex_shader type, UInt32 stride, IntPtr addr)
|
|
{
|
|
Delegates.glVariantPointerEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)type, (UInt32)stride, (IntPtr)addr);
|
|
}
|
|
|
|
public static
|
|
void VariantPointer(Int32 id, GL.Enums.EXT_vertex_shader type, Int32 stride, IntPtr addr)
|
|
{
|
|
Delegates.glVariantPointerEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)type, (UInt32)stride, (IntPtr)addr);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VariantPointer(UInt32 id, GL.Enums.EXT_vertex_shader type, UInt32 stride, [In, Out] object addr)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle addr_ptr = System.Runtime.InteropServices.GCHandle.Alloc(addr, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glVariantPointerEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
addr_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VariantPointer(Int32 id, GL.Enums.EXT_vertex_shader type, Int32 stride, [In, Out] object addr)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle addr_ptr = System.Runtime.InteropServices.GCHandle.Alloc(addr, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glVariantPointerEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)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(GL.Enums.LightName light, GL.Enums.LightParameter value)
|
|
{
|
|
return Delegates.glBindLightParameterEXT((GL.Enums.LightName)light, (GL.Enums.LightParameter)value);
|
|
}
|
|
|
|
public static
|
|
Int32 BindMaterialParameter(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter value)
|
|
{
|
|
return Delegates.glBindMaterialParameterEXT((GL.Enums.MaterialFace)face, (GL.Enums.MaterialParameter)value);
|
|
}
|
|
|
|
public static
|
|
Int32 BindTexGenParameter(GL.Enums.EXT_vertex_shader unit, GL.Enums.TextureCoordName coord, GL.Enums.TextureGenParameter value)
|
|
{
|
|
return Delegates.glBindTexGenParameterEXT((GL.Enums.EXT_vertex_shader)unit, (GL.Enums.TextureCoordName)coord, (GL.Enums.TextureGenParameter)value);
|
|
}
|
|
|
|
public static
|
|
Int32 BindTextureUnitParameter(GL.Enums.EXT_vertex_shader unit, GL.Enums.EXT_vertex_shader value)
|
|
{
|
|
return Delegates.glBindTextureUnitParameterEXT((GL.Enums.EXT_vertex_shader)unit, (GL.Enums.EXT_vertex_shader)value);
|
|
}
|
|
|
|
public static
|
|
Int32 BindParameter(GL.Enums.EXT_vertex_shader value)
|
|
{
|
|
return Delegates.glBindParameterEXT((GL.Enums.EXT_vertex_shader)value);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
Boolean IsVariantEnable(UInt32 id, GL.Enums.EXT_vertex_shader cap)
|
|
{
|
|
return Delegates.glIsVariantEnabledEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)cap);
|
|
}
|
|
|
|
public static
|
|
Boolean IsVariantEnable(Int32 id, GL.Enums.EXT_vertex_shader cap)
|
|
{
|
|
return Delegates.glIsVariantEnabledEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)cap);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVariantBoolean(UInt32 id, GL.Enums.EXT_vertex_shader value, [Out] GL.Enums.Boolean* data)
|
|
{
|
|
Delegates.glGetVariantBooleanvEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (GL.Enums.Boolean*)data);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVariantBoolean(Int32 id, GL.Enums.EXT_vertex_shader value, [Out] GL.Enums.Boolean* data)
|
|
{
|
|
Delegates.glGetVariantBooleanvEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (GL.Enums.Boolean*)data);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVariantInteger(UInt32 id, GL.Enums.EXT_vertex_shader value, [Out] Int32[] data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* data_ptr = data)
|
|
{
|
|
Delegates.glGetVariantIntegervEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Int32*)data_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVariantInteger(Int32 id, GL.Enums.EXT_vertex_shader value, [Out] Int32[] data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* data_ptr = data)
|
|
{
|
|
Delegates.glGetVariantIntegervEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Int32*)data_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVariantInteger(UInt32 id, GL.Enums.EXT_vertex_shader value, [Out] out Int32 data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* data_ptr = &data)
|
|
{
|
|
Delegates.glGetVariantIntegervEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Int32*)data_ptr);
|
|
data = *data_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVariantInteger(Int32 id, GL.Enums.EXT_vertex_shader value, [Out] out Int32 data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* data_ptr = &data)
|
|
{
|
|
Delegates.glGetVariantIntegervEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Int32*)data_ptr);
|
|
data = *data_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVariantInteger(UInt32 id, GL.Enums.EXT_vertex_shader value, [Out] Int32* data)
|
|
{
|
|
Delegates.glGetVariantIntegervEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Int32*)data);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVariantInteger(Int32 id, GL.Enums.EXT_vertex_shader value, [Out] Int32* data)
|
|
{
|
|
Delegates.glGetVariantIntegervEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Int32*)data);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVariantFloat(UInt32 id, GL.Enums.EXT_vertex_shader value, [Out] Single[] data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* data_ptr = data)
|
|
{
|
|
Delegates.glGetVariantFloatvEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Single*)data_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVariantFloat(Int32 id, GL.Enums.EXT_vertex_shader value, [Out] Single[] data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* data_ptr = data)
|
|
{
|
|
Delegates.glGetVariantFloatvEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Single*)data_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVariantFloat(UInt32 id, GL.Enums.EXT_vertex_shader value, [Out] out Single data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* data_ptr = &data)
|
|
{
|
|
Delegates.glGetVariantFloatvEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Single*)data_ptr);
|
|
data = *data_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVariantFloat(Int32 id, GL.Enums.EXT_vertex_shader value, [Out] out Single data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* data_ptr = &data)
|
|
{
|
|
Delegates.glGetVariantFloatvEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Single*)data_ptr);
|
|
data = *data_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVariantFloat(UInt32 id, GL.Enums.EXT_vertex_shader value, [Out] Single* data)
|
|
{
|
|
Delegates.glGetVariantFloatvEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Single*)data);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVariantFloat(Int32 id, GL.Enums.EXT_vertex_shader value, [Out] Single* data)
|
|
{
|
|
Delegates.glGetVariantFloatvEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Single*)data);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVariantPointer(UInt32 id, GL.Enums.EXT_vertex_shader value, [Out] IntPtr data)
|
|
{
|
|
Delegates.glGetVariantPointervEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (IntPtr)data);
|
|
}
|
|
|
|
public static
|
|
void GetVariantPointer(Int32 id, GL.Enums.EXT_vertex_shader value, [Out] IntPtr data)
|
|
{
|
|
Delegates.glGetVariantPointervEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (IntPtr)data);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVariantPointer(UInt32 id, GL.Enums.EXT_vertex_shader value, [In, Out] object data)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetVariantPointervEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (IntPtr)data_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
data_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVariantPointer(Int32 id, GL.Enums.EXT_vertex_shader value, [In, Out] object data)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetVariantPointervEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (IntPtr)data_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
data_ptr.Free();
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetInvariantBoolean(UInt32 id, GL.Enums.EXT_vertex_shader value, [Out] GL.Enums.Boolean* data)
|
|
{
|
|
Delegates.glGetInvariantBooleanvEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (GL.Enums.Boolean*)data);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetInvariantBoolean(Int32 id, GL.Enums.EXT_vertex_shader value, [Out] GL.Enums.Boolean* data)
|
|
{
|
|
Delegates.glGetInvariantBooleanvEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (GL.Enums.Boolean*)data);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetInvariantInteger(UInt32 id, GL.Enums.EXT_vertex_shader value, [Out] Int32[] data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* data_ptr = data)
|
|
{
|
|
Delegates.glGetInvariantIntegervEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Int32*)data_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetInvariantInteger(Int32 id, GL.Enums.EXT_vertex_shader value, [Out] Int32[] data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* data_ptr = data)
|
|
{
|
|
Delegates.glGetInvariantIntegervEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Int32*)data_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetInvariantInteger(UInt32 id, GL.Enums.EXT_vertex_shader value, [Out] out Int32 data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* data_ptr = &data)
|
|
{
|
|
Delegates.glGetInvariantIntegervEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Int32*)data_ptr);
|
|
data = *data_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetInvariantInteger(Int32 id, GL.Enums.EXT_vertex_shader value, [Out] out Int32 data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* data_ptr = &data)
|
|
{
|
|
Delegates.glGetInvariantIntegervEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Int32*)data_ptr);
|
|
data = *data_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetInvariantInteger(UInt32 id, GL.Enums.EXT_vertex_shader value, [Out] Int32* data)
|
|
{
|
|
Delegates.glGetInvariantIntegervEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Int32*)data);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetInvariantInteger(Int32 id, GL.Enums.EXT_vertex_shader value, [Out] Int32* data)
|
|
{
|
|
Delegates.glGetInvariantIntegervEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Int32*)data);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetInvariantFloat(UInt32 id, GL.Enums.EXT_vertex_shader value, [Out] Single[] data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* data_ptr = data)
|
|
{
|
|
Delegates.glGetInvariantFloatvEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Single*)data_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetInvariantFloat(Int32 id, GL.Enums.EXT_vertex_shader value, [Out] Single[] data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* data_ptr = data)
|
|
{
|
|
Delegates.glGetInvariantFloatvEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Single*)data_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetInvariantFloat(UInt32 id, GL.Enums.EXT_vertex_shader value, [Out] out Single data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* data_ptr = &data)
|
|
{
|
|
Delegates.glGetInvariantFloatvEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Single*)data_ptr);
|
|
data = *data_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetInvariantFloat(Int32 id, GL.Enums.EXT_vertex_shader value, [Out] out Single data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* data_ptr = &data)
|
|
{
|
|
Delegates.glGetInvariantFloatvEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Single*)data_ptr);
|
|
data = *data_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetInvariantFloat(UInt32 id, GL.Enums.EXT_vertex_shader value, [Out] Single* data)
|
|
{
|
|
Delegates.glGetInvariantFloatvEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Single*)data);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetInvariantFloat(Int32 id, GL.Enums.EXT_vertex_shader value, [Out] Single* data)
|
|
{
|
|
Delegates.glGetInvariantFloatvEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Single*)data);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetLocalConstantBoolean(UInt32 id, GL.Enums.EXT_vertex_shader value, [Out] GL.Enums.Boolean* data)
|
|
{
|
|
Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (GL.Enums.Boolean*)data);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetLocalConstantBoolean(Int32 id, GL.Enums.EXT_vertex_shader value, [Out] GL.Enums.Boolean* data)
|
|
{
|
|
Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (GL.Enums.Boolean*)data);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetLocalConstantInteger(UInt32 id, GL.Enums.EXT_vertex_shader value, [Out] Int32[] data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* data_ptr = data)
|
|
{
|
|
Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Int32*)data_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetLocalConstantInteger(Int32 id, GL.Enums.EXT_vertex_shader value, [Out] Int32[] data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* data_ptr = data)
|
|
{
|
|
Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Int32*)data_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetLocalConstantInteger(UInt32 id, GL.Enums.EXT_vertex_shader value, [Out] out Int32 data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* data_ptr = &data)
|
|
{
|
|
Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Int32*)data_ptr);
|
|
data = *data_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetLocalConstantInteger(Int32 id, GL.Enums.EXT_vertex_shader value, [Out] out Int32 data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* data_ptr = &data)
|
|
{
|
|
Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Int32*)data_ptr);
|
|
data = *data_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetLocalConstantInteger(UInt32 id, GL.Enums.EXT_vertex_shader value, [Out] Int32* data)
|
|
{
|
|
Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Int32*)data);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetLocalConstantInteger(Int32 id, GL.Enums.EXT_vertex_shader value, [Out] Int32* data)
|
|
{
|
|
Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Int32*)data);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetLocalConstantFloat(UInt32 id, GL.Enums.EXT_vertex_shader value, [Out] Single[] data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* data_ptr = data)
|
|
{
|
|
Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Single*)data_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetLocalConstantFloat(Int32 id, GL.Enums.EXT_vertex_shader value, [Out] Single[] data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* data_ptr = data)
|
|
{
|
|
Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Single*)data_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetLocalConstantFloat(UInt32 id, GL.Enums.EXT_vertex_shader value, [Out] out Single data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* data_ptr = &data)
|
|
{
|
|
Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Single*)data_ptr);
|
|
data = *data_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetLocalConstantFloat(Int32 id, GL.Enums.EXT_vertex_shader value, [Out] out Single data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* data_ptr = &data)
|
|
{
|
|
Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Single*)data_ptr);
|
|
data = *data_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetLocalConstantFloat(UInt32 id, GL.Enums.EXT_vertex_shader value, [Out] Single* data)
|
|
{
|
|
Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Single*)data);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetLocalConstantFloat(Int32 id, GL.Enums.EXT_vertex_shader value, [Out] Single* data)
|
|
{
|
|
Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (GL.Enums.EXT_vertex_shader)value, (Single*)data);
|
|
}
|
|
|
|
public static
|
|
void ActiveStencilFace(GL.Enums.EXT_stencil_two_side face)
|
|
{
|
|
Delegates.glActiveStencilFaceEXT((GL.Enums.EXT_stencil_two_side)face);
|
|
}
|
|
|
|
public static
|
|
void DepthBounds(Double zmin, Double zmax)
|
|
{
|
|
Delegates.glDepthBoundsEXT((Double)zmin, (Double)zmax);
|
|
}
|
|
|
|
public static
|
|
void BlendEquationSeparate(GL.Enums.BlendEquationModeEXT modeRGB, GL.Enums.BlendEquationModeEXT modeAlpha)
|
|
{
|
|
Delegates.glBlendEquationSeparateEXT((GL.Enums.BlendEquationModeEXT)modeRGB, (GL.Enums.BlendEquationModeEXT)modeAlpha);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
Boolean IsRenderbuffer(UInt32 renderbuffer)
|
|
{
|
|
return Delegates.glIsRenderbufferEXT((UInt32)renderbuffer);
|
|
}
|
|
|
|
public static
|
|
Boolean IsRenderbuffer(Int32 renderbuffer)
|
|
{
|
|
return Delegates.glIsRenderbufferEXT((UInt32)renderbuffer);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void BindRenderbuffer(GL.Enums.EXT_framebuffer_object target, UInt32 renderbuffer)
|
|
{
|
|
Delegates.glBindRenderbufferEXT((GL.Enums.EXT_framebuffer_object)target, (UInt32)renderbuffer);
|
|
}
|
|
|
|
public static
|
|
void BindRenderbuffer(GL.Enums.EXT_framebuffer_object target, Int32 renderbuffer)
|
|
{
|
|
Delegates.glBindRenderbufferEXT((GL.Enums.EXT_framebuffer_object)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(GL.Enums.EXT_framebuffer_object target, GL.Enums.EXT_framebuffer_object internalformat, Int32 width, Int32 height)
|
|
{
|
|
Delegates.glRenderbufferStorageEXT((GL.Enums.EXT_framebuffer_object)target, (GL.Enums.EXT_framebuffer_object)internalformat, (Int32)width, (Int32)height);
|
|
}
|
|
|
|
public static
|
|
void GetRenderbufferParameter(GL.Enums.EXT_framebuffer_object target, GL.Enums.EXT_framebuffer_object pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetRenderbufferParameterivEXT((GL.Enums.EXT_framebuffer_object)target, (GL.Enums.EXT_framebuffer_object)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetRenderbufferParameter(GL.Enums.EXT_framebuffer_object target, GL.Enums.EXT_framebuffer_object pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetRenderbufferParameterivEXT((GL.Enums.EXT_framebuffer_object)target, (GL.Enums.EXT_framebuffer_object)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetRenderbufferParameter(GL.Enums.EXT_framebuffer_object target, GL.Enums.EXT_framebuffer_object pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetRenderbufferParameterivEXT((GL.Enums.EXT_framebuffer_object)target, (GL.Enums.EXT_framebuffer_object)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
Boolean IsFramebuffer(UInt32 framebuffer)
|
|
{
|
|
return Delegates.glIsFramebufferEXT((UInt32)framebuffer);
|
|
}
|
|
|
|
public static
|
|
Boolean IsFramebuffer(Int32 framebuffer)
|
|
{
|
|
return Delegates.glIsFramebufferEXT((UInt32)framebuffer);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void BindFramebuffer(GL.Enums.EXT_framebuffer_object target, UInt32 framebuffer)
|
|
{
|
|
Delegates.glBindFramebufferEXT((GL.Enums.EXT_framebuffer_object)target, (UInt32)framebuffer);
|
|
}
|
|
|
|
public static
|
|
void BindFramebuffer(GL.Enums.EXT_framebuffer_object target, Int32 framebuffer)
|
|
{
|
|
Delegates.glBindFramebufferEXT((GL.Enums.EXT_framebuffer_object)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
|
|
int CheckFramebufferStat(GL.Enums.EXT_framebuffer_object target)
|
|
{
|
|
return Delegates.glCheckFramebufferStatusEXT((GL.Enums.EXT_framebuffer_object)target);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void FramebufferTexture1D(GL.Enums.EXT_framebuffer_object target, GL.Enums.EXT_framebuffer_object attachment, GL.Enums.EXT_framebuffer_object textarget, UInt32 texture, Int32 level)
|
|
{
|
|
Delegates.glFramebufferTexture1DEXT((GL.Enums.EXT_framebuffer_object)target, (GL.Enums.EXT_framebuffer_object)attachment, (GL.Enums.EXT_framebuffer_object)textarget, (UInt32)texture, (Int32)level);
|
|
}
|
|
|
|
public static
|
|
void FramebufferTexture1D(GL.Enums.EXT_framebuffer_object target, GL.Enums.EXT_framebuffer_object attachment, GL.Enums.EXT_framebuffer_object textarget, Int32 texture, Int32 level)
|
|
{
|
|
Delegates.glFramebufferTexture1DEXT((GL.Enums.EXT_framebuffer_object)target, (GL.Enums.EXT_framebuffer_object)attachment, (GL.Enums.EXT_framebuffer_object)textarget, (UInt32)texture, (Int32)level);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void FramebufferTexture2D(GL.Enums.EXT_framebuffer_object target, GL.Enums.EXT_framebuffer_object attachment, GL.Enums.EXT_framebuffer_object textarget, UInt32 texture, Int32 level)
|
|
{
|
|
Delegates.glFramebufferTexture2DEXT((GL.Enums.EXT_framebuffer_object)target, (GL.Enums.EXT_framebuffer_object)attachment, (GL.Enums.EXT_framebuffer_object)textarget, (UInt32)texture, (Int32)level);
|
|
}
|
|
|
|
public static
|
|
void FramebufferTexture2D(GL.Enums.EXT_framebuffer_object target, GL.Enums.EXT_framebuffer_object attachment, GL.Enums.EXT_framebuffer_object textarget, Int32 texture, Int32 level)
|
|
{
|
|
Delegates.glFramebufferTexture2DEXT((GL.Enums.EXT_framebuffer_object)target, (GL.Enums.EXT_framebuffer_object)attachment, (GL.Enums.EXT_framebuffer_object)textarget, (UInt32)texture, (Int32)level);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void FramebufferTexture3D(GL.Enums.EXT_framebuffer_object target, GL.Enums.EXT_framebuffer_object attachment, GL.Enums.EXT_framebuffer_object textarget, UInt32 texture, Int32 level, Int32 zoffset)
|
|
{
|
|
Delegates.glFramebufferTexture3DEXT((GL.Enums.EXT_framebuffer_object)target, (GL.Enums.EXT_framebuffer_object)attachment, (GL.Enums.EXT_framebuffer_object)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset);
|
|
}
|
|
|
|
public static
|
|
void FramebufferTexture3D(GL.Enums.EXT_framebuffer_object target, GL.Enums.EXT_framebuffer_object attachment, GL.Enums.EXT_framebuffer_object textarget, Int32 texture, Int32 level, Int32 zoffset)
|
|
{
|
|
Delegates.glFramebufferTexture3DEXT((GL.Enums.EXT_framebuffer_object)target, (GL.Enums.EXT_framebuffer_object)attachment, (GL.Enums.EXT_framebuffer_object)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void FramebufferRenderbuffer(GL.Enums.EXT_framebuffer_object target, GL.Enums.EXT_framebuffer_object attachment, GL.Enums.EXT_framebuffer_object renderbuffertarget, UInt32 renderbuffer)
|
|
{
|
|
Delegates.glFramebufferRenderbufferEXT((GL.Enums.EXT_framebuffer_object)target, (GL.Enums.EXT_framebuffer_object)attachment, (GL.Enums.EXT_framebuffer_object)renderbuffertarget, (UInt32)renderbuffer);
|
|
}
|
|
|
|
public static
|
|
void FramebufferRenderbuffer(GL.Enums.EXT_framebuffer_object target, GL.Enums.EXT_framebuffer_object attachment, GL.Enums.EXT_framebuffer_object renderbuffertarget, Int32 renderbuffer)
|
|
{
|
|
Delegates.glFramebufferRenderbufferEXT((GL.Enums.EXT_framebuffer_object)target, (GL.Enums.EXT_framebuffer_object)attachment, (GL.Enums.EXT_framebuffer_object)renderbuffertarget, (UInt32)renderbuffer);
|
|
}
|
|
|
|
public static
|
|
void GetFramebufferAttachmentParameter(GL.Enums.EXT_framebuffer_object target, GL.Enums.EXT_framebuffer_object attachment, GL.Enums.EXT_framebuffer_object pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetFramebufferAttachmentParameterivEXT((GL.Enums.EXT_framebuffer_object)target, (GL.Enums.EXT_framebuffer_object)attachment, (GL.Enums.EXT_framebuffer_object)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetFramebufferAttachmentParameter(GL.Enums.EXT_framebuffer_object target, GL.Enums.EXT_framebuffer_object attachment, GL.Enums.EXT_framebuffer_object pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetFramebufferAttachmentParameterivEXT((GL.Enums.EXT_framebuffer_object)target, (GL.Enums.EXT_framebuffer_object)attachment, (GL.Enums.EXT_framebuffer_object)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetFramebufferAttachmentParameter(GL.Enums.EXT_framebuffer_object target, GL.Enums.EXT_framebuffer_object attachment, GL.Enums.EXT_framebuffer_object pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetFramebufferAttachmentParameterivEXT((GL.Enums.EXT_framebuffer_object)target, (GL.Enums.EXT_framebuffer_object)attachment, (GL.Enums.EXT_framebuffer_object)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void GenerateMipmap(GL.Enums.EXT_framebuffer_object target)
|
|
{
|
|
Delegates.glGenerateMipmapEXT((GL.Enums.EXT_framebuffer_object)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, GL.Enums.ClearBufferMask mask, GL.Enums.EXT_framebuffer_blit filter)
|
|
{
|
|
Delegates.glBlitFramebufferEXT((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (GL.Enums.ClearBufferMask)mask, (GL.Enums.EXT_framebuffer_blit)filter);
|
|
}
|
|
|
|
public static
|
|
void RenderbufferStorageMultisample(GL.Enums.EXT_framebuffer_multisample target, Int32 samples, GL.Enums.EXT_framebuffer_multisample internalformat, Int32 width, Int32 height)
|
|
{
|
|
Delegates.glRenderbufferStorageMultisampleEXT((GL.Enums.EXT_framebuffer_multisample)target, (Int32)samples, (GL.Enums.EXT_framebuffer_multisample)internalformat, (Int32)width, (Int32)height);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetQueryObjecti64(UInt32 id, GL.Enums.EXT_timer_query pname, [Out] Int64[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int64* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetQueryObjecti64vEXT((UInt32)id, (GL.Enums.EXT_timer_query)pname, (Int64*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetQueryObjecti64(Int32 id, GL.Enums.EXT_timer_query pname, [Out] Int64[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int64* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetQueryObjecti64vEXT((UInt32)id, (GL.Enums.EXT_timer_query)pname, (Int64*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetQueryObjecti64(UInt32 id, GL.Enums.EXT_timer_query pname, [Out] out Int64 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int64* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetQueryObjecti64vEXT((UInt32)id, (GL.Enums.EXT_timer_query)pname, (Int64*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetQueryObjecti64(Int32 id, GL.Enums.EXT_timer_query pname, [Out] out Int64 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int64* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetQueryObjecti64vEXT((UInt32)id, (GL.Enums.EXT_timer_query)pname, (Int64*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetQueryObjecti64(UInt32 id, GL.Enums.EXT_timer_query pname, [Out] Int64* @params)
|
|
{
|
|
Delegates.glGetQueryObjecti64vEXT((UInt32)id, (GL.Enums.EXT_timer_query)pname, (Int64*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetQueryObjecti64(Int32 id, GL.Enums.EXT_timer_query pname, [Out] Int64* @params)
|
|
{
|
|
Delegates.glGetQueryObjecti64vEXT((UInt32)id, (GL.Enums.EXT_timer_query)pname, (Int64*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetQueryObjectui64(UInt32 id, GL.Enums.EXT_timer_query pname, [Out] UInt64[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt64* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetQueryObjectui64vEXT((UInt32)id, (GL.Enums.EXT_timer_query)pname, (UInt64*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetQueryObjectui64(Int32 id, GL.Enums.EXT_timer_query pname, [Out] Int64[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int64* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetQueryObjectui64vEXT((UInt32)id, (GL.Enums.EXT_timer_query)pname, (UInt64*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetQueryObjectui64(UInt32 id, GL.Enums.EXT_timer_query pname, [Out] out UInt64 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt64* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetQueryObjectui64vEXT((UInt32)id, (GL.Enums.EXT_timer_query)pname, (UInt64*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetQueryObjectui64(Int32 id, GL.Enums.EXT_timer_query pname, [Out] out Int64 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int64* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetQueryObjectui64vEXT((UInt32)id, (GL.Enums.EXT_timer_query)pname, (UInt64*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetQueryObjectui64(UInt32 id, GL.Enums.EXT_timer_query pname, [Out] UInt64* @params)
|
|
{
|
|
Delegates.glGetQueryObjectui64vEXT((UInt32)id, (GL.Enums.EXT_timer_query)pname, (UInt64*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetQueryObjectui64(Int32 id, GL.Enums.EXT_timer_query pname, [Out] Int64* @params)
|
|
{
|
|
Delegates.glGetQueryObjectui64vEXT((UInt32)id, (GL.Enums.EXT_timer_query)pname, (UInt64*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramEnvParameters4(GL.Enums.EXT_gpu_program_parameters target, UInt32 index, Int32 count, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramEnvParameters4fvEXT((GL.Enums.EXT_gpu_program_parameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramEnvParameters4(GL.Enums.EXT_gpu_program_parameters target, Int32 index, Int32 count, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramEnvParameters4fvEXT((GL.Enums.EXT_gpu_program_parameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramEnvParameters4(GL.Enums.EXT_gpu_program_parameters target, UInt32 index, Int32 count, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramEnvParameters4fvEXT((GL.Enums.EXT_gpu_program_parameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramEnvParameters4(GL.Enums.EXT_gpu_program_parameters target, Int32 index, Int32 count, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramEnvParameters4fvEXT((GL.Enums.EXT_gpu_program_parameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramEnvParameters4(GL.Enums.EXT_gpu_program_parameters target, UInt32 index, Int32 count, Single* @params)
|
|
{
|
|
Delegates.glProgramEnvParameters4fvEXT((GL.Enums.EXT_gpu_program_parameters)target, (UInt32)index, (Int32)count, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramEnvParameters4(GL.Enums.EXT_gpu_program_parameters target, Int32 index, Int32 count, Single* @params)
|
|
{
|
|
Delegates.glProgramEnvParameters4fvEXT((GL.Enums.EXT_gpu_program_parameters)target, (UInt32)index, (Int32)count, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramLocalParameters4(GL.Enums.EXT_gpu_program_parameters target, UInt32 index, Int32 count, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramLocalParameters4fvEXT((GL.Enums.EXT_gpu_program_parameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramLocalParameters4(GL.Enums.EXT_gpu_program_parameters target, Int32 index, Int32 count, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramLocalParameters4fvEXT((GL.Enums.EXT_gpu_program_parameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramLocalParameters4(GL.Enums.EXT_gpu_program_parameters target, UInt32 index, Int32 count, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramLocalParameters4fvEXT((GL.Enums.EXT_gpu_program_parameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramLocalParameters4(GL.Enums.EXT_gpu_program_parameters target, Int32 index, Int32 count, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramLocalParameters4fvEXT((GL.Enums.EXT_gpu_program_parameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramLocalParameters4(GL.Enums.EXT_gpu_program_parameters target, UInt32 index, Int32 count, Single* @params)
|
|
{
|
|
Delegates.glProgramLocalParameters4fvEXT((GL.Enums.EXT_gpu_program_parameters)target, (UInt32)index, (Int32)count, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramLocalParameters4(GL.Enums.EXT_gpu_program_parameters target, Int32 index, Int32 count, Single* @params)
|
|
{
|
|
Delegates.glProgramLocalParameters4fvEXT((GL.Enums.EXT_gpu_program_parameters)target, (UInt32)index, (Int32)count, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void FramebufferTexture(GL.Enums.NV_geometry_program4 target, GL.Enums.NV_geometry_program4 attachment, UInt32 texture, Int32 level)
|
|
{
|
|
Delegates.glFramebufferTextureEXT((GL.Enums.NV_geometry_program4)target, (GL.Enums.NV_geometry_program4)attachment, (UInt32)texture, (Int32)level);
|
|
}
|
|
|
|
public static
|
|
void FramebufferTexture(GL.Enums.NV_geometry_program4 target, GL.Enums.NV_geometry_program4 attachment, Int32 texture, Int32 level)
|
|
{
|
|
Delegates.glFramebufferTextureEXT((GL.Enums.NV_geometry_program4)target, (GL.Enums.NV_geometry_program4)attachment, (UInt32)texture, (Int32)level);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void FramebufferTextureLayer(GL.Enums.NV_geometry_program4 target, GL.Enums.NV_geometry_program4 attachment, UInt32 texture, Int32 level, Int32 layer)
|
|
{
|
|
Delegates.glFramebufferTextureLayerEXT((GL.Enums.NV_geometry_program4)target, (GL.Enums.NV_geometry_program4)attachment, (UInt32)texture, (Int32)level, (Int32)layer);
|
|
}
|
|
|
|
public static
|
|
void FramebufferTextureLayer(GL.Enums.NV_geometry_program4 target, GL.Enums.NV_geometry_program4 attachment, Int32 texture, Int32 level, Int32 layer)
|
|
{
|
|
Delegates.glFramebufferTextureLayerEXT((GL.Enums.NV_geometry_program4)target, (GL.Enums.NV_geometry_program4)attachment, (UInt32)texture, (Int32)level, (Int32)layer);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void FramebufferTextureFace(GL.Enums.NV_geometry_program4 target, GL.Enums.NV_geometry_program4 attachment, UInt32 texture, Int32 level, GL.Enums.TextureTarget face)
|
|
{
|
|
Delegates.glFramebufferTextureFaceEXT((GL.Enums.NV_geometry_program4)target, (GL.Enums.NV_geometry_program4)attachment, (UInt32)texture, (Int32)level, (GL.Enums.TextureTarget)face);
|
|
}
|
|
|
|
public static
|
|
void FramebufferTextureFace(GL.Enums.NV_geometry_program4 target, GL.Enums.NV_geometry_program4 attachment, Int32 texture, Int32 level, GL.Enums.TextureTarget face)
|
|
{
|
|
Delegates.glFramebufferTextureFaceEXT((GL.Enums.NV_geometry_program4)target, (GL.Enums.NV_geometry_program4)attachment, (UInt32)texture, (Int32)level, (GL.Enums.TextureTarget)face);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramParameter(UInt32 program, GL.Enums.EXT_geometry_shader4 pname, Int32 value)
|
|
{
|
|
Delegates.glProgramParameteriEXT((UInt32)program, (GL.Enums.EXT_geometry_shader4)pname, (Int32)value);
|
|
}
|
|
|
|
public static
|
|
void ProgramParameter(Int32 program, GL.Enums.EXT_geometry_shader4 pname, Int32 value)
|
|
{
|
|
Delegates.glProgramParameteriEXT((UInt32)program, (GL.Enums.EXT_geometry_shader4)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, GL.Enums.NV_vertex_program4 type, Int32 stride, IntPtr pointer)
|
|
{
|
|
Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (GL.Enums.NV_vertex_program4)type, (Int32)stride, (IntPtr)pointer);
|
|
}
|
|
|
|
public static
|
|
void VertexAttribIPointer(Int32 index, Int32 size, GL.Enums.NV_vertex_program4 type, Int32 stride, IntPtr pointer)
|
|
{
|
|
Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (GL.Enums.NV_vertex_program4)type, (Int32)stride, (IntPtr)pointer);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribIPointer(UInt32 index, Int32 size, GL.Enums.NV_vertex_program4 type, Int32 stride, [In, Out] object pointer)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (GL.Enums.NV_vertex_program4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttribIPointer(Int32 index, Int32 size, GL.Enums.NV_vertex_program4 type, Int32 stride, [In, Out] object pointer)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (GL.Enums.NV_vertex_program4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttribI(UInt32 index, GL.Enums.NV_vertex_program4 pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVertexAttribIivEXT((UInt32)index, (GL.Enums.NV_vertex_program4)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttribI(UInt32 index, GL.Enums.NV_vertex_program4 pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVertexAttribIivEXT((UInt32)index, (GL.Enums.NV_vertex_program4)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVertexAttribI(UInt32 index, GL.Enums.NV_vertex_program4 pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetVertexAttribIivEXT((UInt32)index, (GL.Enums.NV_vertex_program4)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttribI(UInt32 index, GL.Enums.NV_vertex_program4 pname, [Out] UInt32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVertexAttribIuivEXT((UInt32)index, (GL.Enums.NV_vertex_program4)pname, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttribI(Int32 index, GL.Enums.NV_vertex_program4 pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVertexAttribIuivEXT((UInt32)index, (GL.Enums.NV_vertex_program4)pname, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttribI(UInt32 index, GL.Enums.NV_vertex_program4 pname, [Out] out UInt32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVertexAttribIuivEXT((UInt32)index, (GL.Enums.NV_vertex_program4)pname, (UInt32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttribI(Int32 index, GL.Enums.NV_vertex_program4 pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVertexAttribIuivEXT((UInt32)index, (GL.Enums.NV_vertex_program4)pname, (UInt32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVertexAttribI(UInt32 index, GL.Enums.NV_vertex_program4 pname, [Out] UInt32* @params)
|
|
{
|
|
Delegates.glGetVertexAttribIuivEXT((UInt32)index, (GL.Enums.NV_vertex_program4)pname, (UInt32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVertexAttribI(Int32 index, GL.Enums.NV_vertex_program4 pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetVertexAttribIuivEXT((UInt32)index, (GL.Enums.NV_vertex_program4)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(GL.Enums.BeginMode mode, Int32 start, Int32 count, Int32 primcount)
|
|
{
|
|
Delegates.glDrawArraysInstancedEXT((GL.Enums.BeginMode)mode, (Int32)start, (Int32)count, (Int32)primcount);
|
|
}
|
|
|
|
public static
|
|
void DrawElementsInstance(GL.Enums.BeginMode mode, Int32 count, GL.Enums.EXT_draw_instanced type, IntPtr indices, Int32 primcount)
|
|
{
|
|
Delegates.glDrawElementsInstancedEXT((GL.Enums.BeginMode)mode, (Int32)count, (GL.Enums.EXT_draw_instanced)type, (IntPtr)indices, (Int32)primcount);
|
|
}
|
|
|
|
public static
|
|
void DrawElementsInstance(GL.Enums.BeginMode mode, Int32 count, GL.Enums.EXT_draw_instanced type, [In, Out] object indices, Int32 primcount)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glDrawElementsInstancedEXT((GL.Enums.BeginMode)mode, (Int32)count, (GL.Enums.EXT_draw_instanced)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
|
|
}
|
|
finally
|
|
{
|
|
indices_ptr.Free();
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void TexBuffer(GL.Enums.TextureTarget target, GL.Enums.EXT_texture_buffer_object internalformat, UInt32 buffer)
|
|
{
|
|
Delegates.glTexBufferEXT((GL.Enums.TextureTarget)target, (GL.Enums.EXT_texture_buffer_object)internalformat, (UInt32)buffer);
|
|
}
|
|
|
|
public static
|
|
void TexBuffer(GL.Enums.TextureTarget target, GL.Enums.EXT_texture_buffer_object internalformat, Int32 buffer)
|
|
{
|
|
Delegates.glTexBufferEXT((GL.Enums.TextureTarget)target, (GL.Enums.EXT_texture_buffer_object)internalformat, (UInt32)buffer);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ColorMaskIndexe(UInt32 index, GL.Enums.Boolean r, GL.Enums.Boolean g, GL.Enums.Boolean b, GL.Enums.Boolean a)
|
|
{
|
|
Delegates.glColorMaskIndexedEXT((UInt32)index, (GL.Enums.Boolean)r, (GL.Enums.Boolean)g, (GL.Enums.Boolean)b, (GL.Enums.Boolean)a);
|
|
}
|
|
|
|
public static
|
|
void ColorMaskIndexe(Int32 index, GL.Enums.Boolean r, GL.Enums.Boolean g, GL.Enums.Boolean b, GL.Enums.Boolean a)
|
|
{
|
|
Delegates.glColorMaskIndexedEXT((UInt32)index, (GL.Enums.Boolean)r, (GL.Enums.Boolean)g, (GL.Enums.Boolean)b, (GL.Enums.Boolean)a);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetBooleanIndexed(GL.Enums.EXT_draw_buffers2 target, UInt32 index, [Out] GL.Enums.Boolean* data)
|
|
{
|
|
Delegates.glGetBooleanIndexedvEXT((GL.Enums.EXT_draw_buffers2)target, (UInt32)index, (GL.Enums.Boolean*)data);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetBooleanIndexed(GL.Enums.EXT_draw_buffers2 target, Int32 index, [Out] GL.Enums.Boolean* data)
|
|
{
|
|
Delegates.glGetBooleanIndexedvEXT((GL.Enums.EXT_draw_buffers2)target, (UInt32)index, (GL.Enums.Boolean*)data);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetIntegerIndexed(GL.Enums.EXT_draw_buffers2 target, UInt32 index, [Out] Int32[] data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* data_ptr = data)
|
|
{
|
|
Delegates.glGetIntegerIndexedvEXT((GL.Enums.EXT_draw_buffers2)target, (UInt32)index, (Int32*)data_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetIntegerIndexed(GL.Enums.EXT_draw_buffers2 target, Int32 index, [Out] Int32[] data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* data_ptr = data)
|
|
{
|
|
Delegates.glGetIntegerIndexedvEXT((GL.Enums.EXT_draw_buffers2)target, (UInt32)index, (Int32*)data_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetIntegerIndexed(GL.Enums.EXT_draw_buffers2 target, UInt32 index, [Out] out Int32 data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* data_ptr = &data)
|
|
{
|
|
Delegates.glGetIntegerIndexedvEXT((GL.Enums.EXT_draw_buffers2)target, (UInt32)index, (Int32*)data_ptr);
|
|
data = *data_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetIntegerIndexed(GL.Enums.EXT_draw_buffers2 target, Int32 index, [Out] out Int32 data)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* data_ptr = &data)
|
|
{
|
|
Delegates.glGetIntegerIndexedvEXT((GL.Enums.EXT_draw_buffers2)target, (UInt32)index, (Int32*)data_ptr);
|
|
data = *data_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetIntegerIndexed(GL.Enums.EXT_draw_buffers2 target, UInt32 index, [Out] Int32* data)
|
|
{
|
|
Delegates.glGetIntegerIndexedvEXT((GL.Enums.EXT_draw_buffers2)target, (UInt32)index, (Int32*)data);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetIntegerIndexed(GL.Enums.EXT_draw_buffers2 target, Int32 index, [Out] Int32* data)
|
|
{
|
|
Delegates.glGetIntegerIndexedvEXT((GL.Enums.EXT_draw_buffers2)target, (UInt32)index, (Int32*)data);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void EnableIndexe(GL.Enums.EXT_draw_buffers2 target, UInt32 index)
|
|
{
|
|
Delegates.glEnableIndexedEXT((GL.Enums.EXT_draw_buffers2)target, (UInt32)index);
|
|
}
|
|
|
|
public static
|
|
void EnableIndexe(GL.Enums.EXT_draw_buffers2 target, Int32 index)
|
|
{
|
|
Delegates.glEnableIndexedEXT((GL.Enums.EXT_draw_buffers2)target, (UInt32)index);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DisableIndexe(GL.Enums.EXT_draw_buffers2 target, UInt32 index)
|
|
{
|
|
Delegates.glDisableIndexedEXT((GL.Enums.EXT_draw_buffers2)target, (UInt32)index);
|
|
}
|
|
|
|
public static
|
|
void DisableIndexe(GL.Enums.EXT_draw_buffers2 target, Int32 index)
|
|
{
|
|
Delegates.glDisableIndexedEXT((GL.Enums.EXT_draw_buffers2)target, (UInt32)index);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
Boolean IsEnabledIndexe(GL.Enums.EXT_draw_buffers2 target, UInt32 index)
|
|
{
|
|
return Delegates.glIsEnabledIndexedEXT((GL.Enums.EXT_draw_buffers2)target, (UInt32)index);
|
|
}
|
|
|
|
public static
|
|
Boolean IsEnabledIndexe(GL.Enums.EXT_draw_buffers2 target, Int32 index)
|
|
{
|
|
return Delegates.glIsEnabledIndexedEXT((GL.Enums.EXT_draw_buffers2)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
|
|
IntPtr GetUniformOffset(UInt32 program, Int32 location)
|
|
{
|
|
return Delegates.glGetUniformOffsetEXT((UInt32)program, (Int32)location);
|
|
}
|
|
|
|
public static
|
|
IntPtr GetUniformOffset(Int32 program, Int32 location)
|
|
{
|
|
return Delegates.glGetUniformOffsetEXT((UInt32)program, (Int32)location);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void TexParameterIv(GL.Enums.TextureTarget target, GL.Enums.TextureParameterName pname, UInt32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = @params)
|
|
{
|
|
Delegates.glTexParameterIuivEXT((GL.Enums.TextureTarget)target, (GL.Enums.TextureParameterName)pname, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexParameterIv(GL.Enums.TextureTarget target, GL.Enums.TextureParameterName pname, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glTexParameterIuivEXT((GL.Enums.TextureTarget)target, (GL.Enums.TextureParameterName)pname, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void TexParameterIv(GL.Enums.TextureTarget target, GL.Enums.TextureParameterName pname, ref UInt32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glTexParameterIuivEXT((GL.Enums.TextureTarget)target, (GL.Enums.TextureParameterName)pname, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexParameterIv(GL.Enums.TextureTarget target, GL.Enums.TextureParameterName pname, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glTexParameterIuivEXT((GL.Enums.TextureTarget)target, (GL.Enums.TextureParameterName)pname, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexParameterIv(GL.Enums.TextureTarget target, GL.Enums.TextureParameterName pname, UInt32* @params)
|
|
{
|
|
Delegates.glTexParameterIuivEXT((GL.Enums.TextureTarget)target, (GL.Enums.TextureParameterName)pname, (UInt32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexParameterIv(GL.Enums.TextureTarget target, GL.Enums.TextureParameterName pname, Int32* @params)
|
|
{
|
|
Delegates.glTexParameterIuivEXT((GL.Enums.TextureTarget)target, (GL.Enums.TextureParameterName)pname, (UInt32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetTexParameterI(GL.Enums.TextureTarget target, GL.Enums.GetTextureParameter pname, [Out] UInt32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetTexParameterIuivEXT((GL.Enums.TextureTarget)target, (GL.Enums.GetTextureParameter)pname, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetTexParameterI(GL.Enums.TextureTarget target, GL.Enums.GetTextureParameter pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetTexParameterIuivEXT((GL.Enums.TextureTarget)target, (GL.Enums.GetTextureParameter)pname, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetTexParameterI(GL.Enums.TextureTarget target, GL.Enums.GetTextureParameter pname, [Out] out UInt32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetTexParameterIuivEXT((GL.Enums.TextureTarget)target, (GL.Enums.GetTextureParameter)pname, (UInt32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetTexParameterI(GL.Enums.TextureTarget target, GL.Enums.GetTextureParameter pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetTexParameterIuivEXT((GL.Enums.TextureTarget)target, (GL.Enums.GetTextureParameter)pname, (UInt32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetTexParameterI(GL.Enums.TextureTarget target, GL.Enums.GetTextureParameter pname, [Out] UInt32* @params)
|
|
{
|
|
Delegates.glGetTexParameterIuivEXT((GL.Enums.TextureTarget)target, (GL.Enums.GetTextureParameter)pname, (UInt32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetTexParameterI(GL.Enums.TextureTarget target, GL.Enums.GetTextureParameter pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetTexParameterIuivEXT((GL.Enums.TextureTarget)target, (GL.Enums.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(GL.Enums.TextureTarget target, GL.Enums.SGIS_texture_filter4 filter, [Out] Single[] weights)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* weights_ptr = weights)
|
|
{
|
|
Delegates.glGetTexFilterFuncSGIS((GL.Enums.TextureTarget)target, (GL.Enums.SGIS_texture_filter4)filter, (Single*)weights_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetTexFilterFunc(GL.Enums.TextureTarget target, GL.Enums.SGIS_texture_filter4 filter, [Out] out Single weights)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* weights_ptr = &weights)
|
|
{
|
|
Delegates.glGetTexFilterFuncSGIS((GL.Enums.TextureTarget)target, (GL.Enums.SGIS_texture_filter4)filter, (Single*)weights_ptr);
|
|
weights = *weights_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetTexFilterFunc(GL.Enums.TextureTarget target, GL.Enums.SGIS_texture_filter4 filter, [Out] Single* weights)
|
|
{
|
|
Delegates.glGetTexFilterFuncSGIS((GL.Enums.TextureTarget)target, (GL.Enums.SGIS_texture_filter4)filter, (Single*)weights);
|
|
}
|
|
|
|
public static
|
|
void TexFilterFunc(GL.Enums.TextureTarget target, GL.Enums.SGIS_texture_filter4 filter, Int32 n, Single[] weights)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* weights_ptr = weights)
|
|
{
|
|
Delegates.glTexFilterFuncSGIS((GL.Enums.TextureTarget)target, (GL.Enums.SGIS_texture_filter4)filter, (Int32)n, (Single*)weights_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexFilterFunc(GL.Enums.TextureTarget target, GL.Enums.SGIS_texture_filter4 filter, Int32 n, ref Single weights)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* weights_ptr = &weights)
|
|
{
|
|
Delegates.glTexFilterFuncSGIS((GL.Enums.TextureTarget)target, (GL.Enums.SGIS_texture_filter4)filter, (Int32)n, (Single*)weights_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexFilterFunc(GL.Enums.TextureTarget target, GL.Enums.SGIS_texture_filter4 filter, Int32 n, Single* weights)
|
|
{
|
|
Delegates.glTexFilterFuncSGIS((GL.Enums.TextureTarget)target, (GL.Enums.SGIS_texture_filter4)filter, (Int32)n, (Single*)weights);
|
|
}
|
|
|
|
public static
|
|
void PixelTexGenParameter(GL.Enums.PixelTexGenParameterNameSGIS pname, Int32 param)
|
|
{
|
|
Delegates.glPixelTexGenParameteriSGIS((GL.Enums.PixelTexGenParameterNameSGIS)pname, (Int32)param);
|
|
}
|
|
|
|
public static
|
|
void PixelTexGenParameterv(GL.Enums.PixelTexGenParameterNameSGIS pname, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glPixelTexGenParameterivSGIS((GL.Enums.PixelTexGenParameterNameSGIS)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void PixelTexGenParameterv(GL.Enums.PixelTexGenParameterNameSGIS pname, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glPixelTexGenParameterivSGIS((GL.Enums.PixelTexGenParameterNameSGIS)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void PixelTexGenParameterv(GL.Enums.PixelTexGenParameterNameSGIS pname, Int32* @params)
|
|
{
|
|
Delegates.glPixelTexGenParameterivSGIS((GL.Enums.PixelTexGenParameterNameSGIS)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void PixelTexGenParameter(GL.Enums.PixelTexGenParameterNameSGIS pname, Single param)
|
|
{
|
|
Delegates.glPixelTexGenParameterfSGIS((GL.Enums.PixelTexGenParameterNameSGIS)pname, (Single)param);
|
|
}
|
|
|
|
public static
|
|
void PixelTexGenParameterv(GL.Enums.PixelTexGenParameterNameSGIS pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glPixelTexGenParameterfvSGIS((GL.Enums.PixelTexGenParameterNameSGIS)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void PixelTexGenParameterv(GL.Enums.PixelTexGenParameterNameSGIS pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glPixelTexGenParameterfvSGIS((GL.Enums.PixelTexGenParameterNameSGIS)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void PixelTexGenParameterv(GL.Enums.PixelTexGenParameterNameSGIS pname, Single* @params)
|
|
{
|
|
Delegates.glPixelTexGenParameterfvSGIS((GL.Enums.PixelTexGenParameterNameSGIS)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetPixelTexGenParameter(GL.Enums.PixelTexGenParameterNameSGIS pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetPixelTexGenParameterivSGIS((GL.Enums.PixelTexGenParameterNameSGIS)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetPixelTexGenParameter(GL.Enums.PixelTexGenParameterNameSGIS pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetPixelTexGenParameterivSGIS((GL.Enums.PixelTexGenParameterNameSGIS)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetPixelTexGenParameter(GL.Enums.PixelTexGenParameterNameSGIS pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetPixelTexGenParameterivSGIS((GL.Enums.PixelTexGenParameterNameSGIS)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetPixelTexGenParameter(GL.Enums.PixelTexGenParameterNameSGIS pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetPixelTexGenParameterfvSGIS((GL.Enums.PixelTexGenParameterNameSGIS)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetPixelTexGenParameter(GL.Enums.PixelTexGenParameterNameSGIS pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetPixelTexGenParameterfvSGIS((GL.Enums.PixelTexGenParameterNameSGIS)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetPixelTexGenParameter(GL.Enums.PixelTexGenParameterNameSGIS pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetPixelTexGenParameterfvSGIS((GL.Enums.PixelTexGenParameterNameSGIS)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void TexImage4D(GL.Enums.TextureTarget target, Int32 level, GL.Enums.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, GL.Enums.PixelFormat format, GL.Enums.PixelType type, IntPtr pixels)
|
|
{
|
|
Delegates.glTexImage4DSGIS((GL.Enums.TextureTarget)target, (Int32)level, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (Int32)border, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)pixels);
|
|
}
|
|
|
|
public static
|
|
void TexImage4D(GL.Enums.TextureTarget target, Int32 level, GL.Enums.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object pixels)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glTexImage4DSGIS((GL.Enums.TextureTarget)target, (Int32)level, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (Int32)border, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pixels_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexSubImage4D(GL.Enums.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, GL.Enums.PixelFormat format, GL.Enums.PixelType type, IntPtr pixels)
|
|
{
|
|
Delegates.glTexSubImage4DSGIS((GL.Enums.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)woffset, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)pixels);
|
|
}
|
|
|
|
public static
|
|
void TexSubImage4D(GL.Enums.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object pixels)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glTexSubImage4DSGIS((GL.Enums.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)woffset, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pixels_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DetailTexFunc(GL.Enums.TextureTarget target, Int32 n, Single[] points)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* points_ptr = points)
|
|
{
|
|
Delegates.glDetailTexFuncSGIS((GL.Enums.TextureTarget)target, (Int32)n, (Single*)points_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DetailTexFunc(GL.Enums.TextureTarget target, Int32 n, ref Single points)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* points_ptr = &points)
|
|
{
|
|
Delegates.glDetailTexFuncSGIS((GL.Enums.TextureTarget)target, (Int32)n, (Single*)points_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void DetailTexFunc(GL.Enums.TextureTarget target, Int32 n, Single* points)
|
|
{
|
|
Delegates.glDetailTexFuncSGIS((GL.Enums.TextureTarget)target, (Int32)n, (Single*)points);
|
|
}
|
|
|
|
public static
|
|
void GetDetailTexFunc(GL.Enums.TextureTarget target, [Out] Single[] points)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* points_ptr = points)
|
|
{
|
|
Delegates.glGetDetailTexFuncSGIS((GL.Enums.TextureTarget)target, (Single*)points_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetDetailTexFunc(GL.Enums.TextureTarget target, [Out] out Single points)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* points_ptr = &points)
|
|
{
|
|
Delegates.glGetDetailTexFuncSGIS((GL.Enums.TextureTarget)target, (Single*)points_ptr);
|
|
points = *points_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetDetailTexFunc(GL.Enums.TextureTarget target, [Out] Single* points)
|
|
{
|
|
Delegates.glGetDetailTexFuncSGIS((GL.Enums.TextureTarget)target, (Single*)points);
|
|
}
|
|
|
|
public static
|
|
void SharpenTexFunc(GL.Enums.TextureTarget target, Int32 n, Single[] points)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* points_ptr = points)
|
|
{
|
|
Delegates.glSharpenTexFuncSGIS((GL.Enums.TextureTarget)target, (Int32)n, (Single*)points_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void SharpenTexFunc(GL.Enums.TextureTarget target, Int32 n, ref Single points)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* points_ptr = &points)
|
|
{
|
|
Delegates.glSharpenTexFuncSGIS((GL.Enums.TextureTarget)target, (Int32)n, (Single*)points_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void SharpenTexFunc(GL.Enums.TextureTarget target, Int32 n, Single* points)
|
|
{
|
|
Delegates.glSharpenTexFuncSGIS((GL.Enums.TextureTarget)target, (Int32)n, (Single*)points);
|
|
}
|
|
|
|
public static
|
|
void GetSharpenTexFunc(GL.Enums.TextureTarget target, [Out] Single[] points)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* points_ptr = points)
|
|
{
|
|
Delegates.glGetSharpenTexFuncSGIS((GL.Enums.TextureTarget)target, (Single*)points_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetSharpenTexFunc(GL.Enums.TextureTarget target, [Out] out Single points)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* points_ptr = &points)
|
|
{
|
|
Delegates.glGetSharpenTexFuncSGIS((GL.Enums.TextureTarget)target, (Single*)points_ptr);
|
|
points = *points_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetSharpenTexFunc(GL.Enums.TextureTarget target, [Out] Single* points)
|
|
{
|
|
Delegates.glGetSharpenTexFuncSGIS((GL.Enums.TextureTarget)target, (Single*)points);
|
|
}
|
|
|
|
public static
|
|
void SampleMask(Single value, GL.Enums.Boolean invert)
|
|
{
|
|
Delegates.glSampleMaskSGIS((Single)value, (GL.Enums.Boolean)invert);
|
|
}
|
|
|
|
public static
|
|
void SamplePattern(GL.Enums.SamplePatternSGIS pattern)
|
|
{
|
|
Delegates.glSamplePatternSGIS((GL.Enums.SamplePatternSGIS)pattern);
|
|
}
|
|
|
|
public static
|
|
void PointParameter(GL.Enums.SGIS_point_parameters pname, Single param)
|
|
{
|
|
Delegates.glPointParameterfSGIS((GL.Enums.SGIS_point_parameters)pname, (Single)param);
|
|
}
|
|
|
|
public static
|
|
void PointParameterv(GL.Enums.SGIS_point_parameters pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glPointParameterfvSGIS((GL.Enums.SGIS_point_parameters)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void PointParameterv(GL.Enums.SGIS_point_parameters pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glPointParameterfvSGIS((GL.Enums.SGIS_point_parameters)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void PointParameterv(GL.Enums.SGIS_point_parameters pname, Single* @params)
|
|
{
|
|
Delegates.glPointParameterfvSGIS((GL.Enums.SGIS_point_parameters)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(GL.Enums.Boolean red, GL.Enums.Boolean green, GL.Enums.Boolean blue, GL.Enums.Boolean alpha)
|
|
{
|
|
Delegates.glTextureColorMaskSGIS((GL.Enums.Boolean)red, (GL.Enums.Boolean)green, (GL.Enums.Boolean)blue, (GL.Enums.Boolean)alpha);
|
|
}
|
|
|
|
}
|
|
|
|
public static partial class SGI
|
|
{
|
|
public static
|
|
void ColorTable(GL.Enums.ColorTableTargetSGI target, GL.Enums.PixelInternalFormat internalformat, Int32 width, GL.Enums.PixelFormat format, GL.Enums.PixelType type, IntPtr table)
|
|
{
|
|
Delegates.glColorTableSGI((GL.Enums.ColorTableTargetSGI)target, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)table);
|
|
}
|
|
|
|
public static
|
|
void ColorTable(GL.Enums.ColorTableTargetSGI target, GL.Enums.PixelInternalFormat internalformat, Int32 width, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object table)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle table_ptr = System.Runtime.InteropServices.GCHandle.Alloc(table, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glColorTableSGI((GL.Enums.ColorTableTargetSGI)target, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
table_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ColorTableParameter(GL.Enums.ColorTableTargetSGI target, GL.Enums.ColorTableParameterPNameSGI pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glColorTableParameterfvSGI((GL.Enums.ColorTableTargetSGI)target, (GL.Enums.ColorTableParameterPNameSGI)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ColorTableParameter(GL.Enums.ColorTableTargetSGI target, GL.Enums.ColorTableParameterPNameSGI pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glColorTableParameterfvSGI((GL.Enums.ColorTableTargetSGI)target, (GL.Enums.ColorTableParameterPNameSGI)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ColorTableParameter(GL.Enums.ColorTableTargetSGI target, GL.Enums.ColorTableParameterPNameSGI pname, Single* @params)
|
|
{
|
|
Delegates.glColorTableParameterfvSGI((GL.Enums.ColorTableTargetSGI)target, (GL.Enums.ColorTableParameterPNameSGI)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void ColorTableParameter(GL.Enums.ColorTableTargetSGI target, GL.Enums.ColorTableParameterPNameSGI pname, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glColorTableParameterivSGI((GL.Enums.ColorTableTargetSGI)target, (GL.Enums.ColorTableParameterPNameSGI)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ColorTableParameter(GL.Enums.ColorTableTargetSGI target, GL.Enums.ColorTableParameterPNameSGI pname, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glColorTableParameterivSGI((GL.Enums.ColorTableTargetSGI)target, (GL.Enums.ColorTableParameterPNameSGI)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ColorTableParameter(GL.Enums.ColorTableTargetSGI target, GL.Enums.ColorTableParameterPNameSGI pname, Int32* @params)
|
|
{
|
|
Delegates.glColorTableParameterivSGI((GL.Enums.ColorTableTargetSGI)target, (GL.Enums.ColorTableParameterPNameSGI)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void CopyColorTable(GL.Enums.ColorTableTargetSGI target, GL.Enums.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width)
|
|
{
|
|
Delegates.glCopyColorTableSGI((GL.Enums.ColorTableTargetSGI)target, (GL.Enums.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width);
|
|
}
|
|
|
|
public static
|
|
void GetColorTable(GL.Enums.ColorTableTargetSGI target, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [Out] IntPtr table)
|
|
{
|
|
Delegates.glGetColorTableSGI((GL.Enums.ColorTableTargetSGI)target, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)table);
|
|
}
|
|
|
|
public static
|
|
void GetColorTable(GL.Enums.ColorTableTargetSGI target, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object table)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle table_ptr = System.Runtime.InteropServices.GCHandle.Alloc(table, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetColorTableSGI((GL.Enums.ColorTableTargetSGI)target, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
table_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetColorTableParameter(GL.Enums.ColorTableTargetSGI target, GL.Enums.GetColorTableParameterPNameSGI pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetColorTableParameterfvSGI((GL.Enums.ColorTableTargetSGI)target, (GL.Enums.GetColorTableParameterPNameSGI)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetColorTableParameter(GL.Enums.ColorTableTargetSGI target, GL.Enums.GetColorTableParameterPNameSGI pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetColorTableParameterfvSGI((GL.Enums.ColorTableTargetSGI)target, (GL.Enums.GetColorTableParameterPNameSGI)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetColorTableParameter(GL.Enums.ColorTableTargetSGI target, GL.Enums.GetColorTableParameterPNameSGI pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetColorTableParameterfvSGI((GL.Enums.ColorTableTargetSGI)target, (GL.Enums.GetColorTableParameterPNameSGI)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetColorTableParameter(GL.Enums.ColorTableTargetSGI target, GL.Enums.GetColorTableParameterPNameSGI pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetColorTableParameterivSGI((GL.Enums.ColorTableTargetSGI)target, (GL.Enums.GetColorTableParameterPNameSGI)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetColorTableParameter(GL.Enums.ColorTableTargetSGI target, GL.Enums.GetColorTableParameterPNameSGI pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetColorTableParameterivSGI((GL.Enums.ColorTableTargetSGI)target, (GL.Enums.GetColorTableParameterPNameSGI)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetColorTableParameter(GL.Enums.ColorTableTargetSGI target, GL.Enums.GetColorTableParameterPNameSGI pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetColorTableParameterivSGI((GL.Enums.ColorTableTargetSGI)target, (GL.Enums.GetColorTableParameterPNameSGI)pname, (Int32*)@params);
|
|
}
|
|
|
|
}
|
|
|
|
public static partial class SGIX
|
|
{
|
|
public static
|
|
void PixelTexGen(GL.Enums.SGIX_pixel_texture mode)
|
|
{
|
|
Delegates.glPixelTexGenSGIX((GL.Enums.SGIX_pixel_texture)mode);
|
|
}
|
|
|
|
public static
|
|
void SpriteParameter(GL.Enums.SGIX_sprite pname, Single param)
|
|
{
|
|
Delegates.glSpriteParameterfSGIX((GL.Enums.SGIX_sprite)pname, (Single)param);
|
|
}
|
|
|
|
public static
|
|
void SpriteParameterv(GL.Enums.SGIX_sprite pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glSpriteParameterfvSGIX((GL.Enums.SGIX_sprite)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void SpriteParameterv(GL.Enums.SGIX_sprite pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glSpriteParameterfvSGIX((GL.Enums.SGIX_sprite)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void SpriteParameterv(GL.Enums.SGIX_sprite pname, Single* @params)
|
|
{
|
|
Delegates.glSpriteParameterfvSGIX((GL.Enums.SGIX_sprite)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void SpriteParameter(GL.Enums.SGIX_sprite pname, Int32 param)
|
|
{
|
|
Delegates.glSpriteParameteriSGIX((GL.Enums.SGIX_sprite)pname, (Int32)param);
|
|
}
|
|
|
|
public static
|
|
void SpriteParameterv(GL.Enums.SGIX_sprite pname, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glSpriteParameterivSGIX((GL.Enums.SGIX_sprite)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void SpriteParameterv(GL.Enums.SGIX_sprite pname, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glSpriteParameterivSGIX((GL.Enums.SGIX_sprite)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void SpriteParameterv(GL.Enums.SGIX_sprite pname, Int32* @params)
|
|
{
|
|
Delegates.glSpriteParameterivSGIX((GL.Enums.SGIX_sprite)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(GL.Enums.FfdTargetSGIX target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, Double[] points)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* points_ptr = points)
|
|
{
|
|
Delegates.glDeformationMap3dSGIX((GL.Enums.FfdTargetSGIX)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double)w1, (Double)w2, (Int32)wstride, (Int32)worder, (Double*)points_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DeformationMap3(GL.Enums.FfdTargetSGIX target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, ref Double points)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* points_ptr = &points)
|
|
{
|
|
Delegates.glDeformationMap3dSGIX((GL.Enums.FfdTargetSGIX)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double)w1, (Double)w2, (Int32)wstride, (Int32)worder, (Double*)points_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void DeformationMap3(GL.Enums.FfdTargetSGIX target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, Double* points)
|
|
{
|
|
Delegates.glDeformationMap3dSGIX((GL.Enums.FfdTargetSGIX)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double)w1, (Double)w2, (Int32)wstride, (Int32)worder, (Double*)points);
|
|
}
|
|
|
|
public static
|
|
void DeformationMap3(GL.Enums.FfdTargetSGIX target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, Single[] points)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* points_ptr = points)
|
|
{
|
|
Delegates.glDeformationMap3fSGIX((GL.Enums.FfdTargetSGIX)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single)w1, (Single)w2, (Int32)wstride, (Int32)worder, (Single*)points_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DeformationMap3(GL.Enums.FfdTargetSGIX target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, ref Single points)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* points_ptr = &points)
|
|
{
|
|
Delegates.glDeformationMap3fSGIX((GL.Enums.FfdTargetSGIX)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single)w1, (Single)w2, (Int32)wstride, (Int32)worder, (Single*)points_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void DeformationMap3(GL.Enums.FfdTargetSGIX target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, Single* points)
|
|
{
|
|
Delegates.glDeformationMap3fSGIX((GL.Enums.FfdTargetSGIX)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single)w1, (Single)w2, (Int32)wstride, (Int32)worder, (Single*)points);
|
|
}
|
|
|
|
public static
|
|
void Deform(GL.Enums.FfdMaskSGIX mask)
|
|
{
|
|
Delegates.glDeformSGIX((GL.Enums.FfdMaskSGIX)mask);
|
|
}
|
|
|
|
public static
|
|
void LoadIdentityDeformationMap(GL.Enums.FfdMaskSGIX mask)
|
|
{
|
|
Delegates.glLoadIdentityDeformationMapSGIX((GL.Enums.FfdMaskSGIX)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, GL.Enums.ListParameterName pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetListParameterfvSGIX((UInt32)list, (GL.Enums.ListParameterName)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetListParameter(Int32 list, GL.Enums.ListParameterName pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetListParameterfvSGIX((UInt32)list, (GL.Enums.ListParameterName)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetListParameter(UInt32 list, GL.Enums.ListParameterName pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetListParameterfvSGIX((UInt32)list, (GL.Enums.ListParameterName)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetListParameter(Int32 list, GL.Enums.ListParameterName pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetListParameterfvSGIX((UInt32)list, (GL.Enums.ListParameterName)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetListParameter(UInt32 list, GL.Enums.ListParameterName pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetListParameterfvSGIX((UInt32)list, (GL.Enums.ListParameterName)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetListParameter(Int32 list, GL.Enums.ListParameterName pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetListParameterfvSGIX((UInt32)list, (GL.Enums.ListParameterName)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetListParameter(UInt32 list, GL.Enums.ListParameterName pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetListParameterivSGIX((UInt32)list, (GL.Enums.ListParameterName)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetListParameter(Int32 list, GL.Enums.ListParameterName pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetListParameterivSGIX((UInt32)list, (GL.Enums.ListParameterName)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetListParameter(UInt32 list, GL.Enums.ListParameterName pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetListParameterivSGIX((UInt32)list, (GL.Enums.ListParameterName)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetListParameter(Int32 list, GL.Enums.ListParameterName pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetListParameterivSGIX((UInt32)list, (GL.Enums.ListParameterName)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetListParameter(UInt32 list, GL.Enums.ListParameterName pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetListParameterivSGIX((UInt32)list, (GL.Enums.ListParameterName)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetListParameter(Int32 list, GL.Enums.ListParameterName pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetListParameterivSGIX((UInt32)list, (GL.Enums.ListParameterName)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ListParameter(UInt32 list, GL.Enums.ListParameterName pname, Single param)
|
|
{
|
|
Delegates.glListParameterfSGIX((UInt32)list, (GL.Enums.ListParameterName)pname, (Single)param);
|
|
}
|
|
|
|
public static
|
|
void ListParameter(Int32 list, GL.Enums.ListParameterName pname, Single param)
|
|
{
|
|
Delegates.glListParameterfSGIX((UInt32)list, (GL.Enums.ListParameterName)pname, (Single)param);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ListParameterv(UInt32 list, GL.Enums.ListParameterName pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glListParameterfvSGIX((UInt32)list, (GL.Enums.ListParameterName)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ListParameterv(Int32 list, GL.Enums.ListParameterName pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glListParameterfvSGIX((UInt32)list, (GL.Enums.ListParameterName)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ListParameterv(UInt32 list, GL.Enums.ListParameterName pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glListParameterfvSGIX((UInt32)list, (GL.Enums.ListParameterName)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ListParameterv(Int32 list, GL.Enums.ListParameterName pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glListParameterfvSGIX((UInt32)list, (GL.Enums.ListParameterName)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ListParameterv(UInt32 list, GL.Enums.ListParameterName pname, Single* @params)
|
|
{
|
|
Delegates.glListParameterfvSGIX((UInt32)list, (GL.Enums.ListParameterName)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ListParameterv(Int32 list, GL.Enums.ListParameterName pname, Single* @params)
|
|
{
|
|
Delegates.glListParameterfvSGIX((UInt32)list, (GL.Enums.ListParameterName)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ListParameter(UInt32 list, GL.Enums.ListParameterName pname, Int32 param)
|
|
{
|
|
Delegates.glListParameteriSGIX((UInt32)list, (GL.Enums.ListParameterName)pname, (Int32)param);
|
|
}
|
|
|
|
public static
|
|
void ListParameter(Int32 list, GL.Enums.ListParameterName pname, Int32 param)
|
|
{
|
|
Delegates.glListParameteriSGIX((UInt32)list, (GL.Enums.ListParameterName)pname, (Int32)param);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ListParameterv(UInt32 list, GL.Enums.ListParameterName pname, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glListParameterivSGIX((UInt32)list, (GL.Enums.ListParameterName)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ListParameterv(Int32 list, GL.Enums.ListParameterName pname, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glListParameterivSGIX((UInt32)list, (GL.Enums.ListParameterName)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ListParameterv(UInt32 list, GL.Enums.ListParameterName pname, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glListParameterivSGIX((UInt32)list, (GL.Enums.ListParameterName)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ListParameterv(Int32 list, GL.Enums.ListParameterName pname, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glListParameterivSGIX((UInt32)list, (GL.Enums.ListParameterName)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ListParameterv(UInt32 list, GL.Enums.ListParameterName pname, Int32* @params)
|
|
{
|
|
Delegates.glListParameterivSGIX((UInt32)list, (GL.Enums.ListParameterName)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ListParameterv(Int32 list, GL.Enums.ListParameterName pname, Int32* @params)
|
|
{
|
|
Delegates.glListParameterivSGIX((UInt32)list, (GL.Enums.ListParameterName)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void FragmentColorMaterial(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter mode)
|
|
{
|
|
Delegates.glFragmentColorMaterialSGIX((GL.Enums.MaterialFace)face, (GL.Enums.MaterialParameter)mode);
|
|
}
|
|
|
|
public static
|
|
void FragmentLight(GL.Enums.SGIX_fragment_lighting light, GL.Enums.SGIX_fragment_lighting pname, Single param)
|
|
{
|
|
Delegates.glFragmentLightfSGIX((GL.Enums.SGIX_fragment_lighting)light, (GL.Enums.SGIX_fragment_lighting)pname, (Single)param);
|
|
}
|
|
|
|
public static
|
|
void FragmentLightv(GL.Enums.SGIX_fragment_lighting light, GL.Enums.SGIX_fragment_lighting pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glFragmentLightfvSGIX((GL.Enums.SGIX_fragment_lighting)light, (GL.Enums.SGIX_fragment_lighting)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void FragmentLightv(GL.Enums.SGIX_fragment_lighting light, GL.Enums.SGIX_fragment_lighting pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glFragmentLightfvSGIX((GL.Enums.SGIX_fragment_lighting)light, (GL.Enums.SGIX_fragment_lighting)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void FragmentLightv(GL.Enums.SGIX_fragment_lighting light, GL.Enums.SGIX_fragment_lighting pname, Single* @params)
|
|
{
|
|
Delegates.glFragmentLightfvSGIX((GL.Enums.SGIX_fragment_lighting)light, (GL.Enums.SGIX_fragment_lighting)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void FragmentLight(GL.Enums.SGIX_fragment_lighting light, GL.Enums.SGIX_fragment_lighting pname, Int32 param)
|
|
{
|
|
Delegates.glFragmentLightiSGIX((GL.Enums.SGIX_fragment_lighting)light, (GL.Enums.SGIX_fragment_lighting)pname, (Int32)param);
|
|
}
|
|
|
|
public static
|
|
void FragmentLightv(GL.Enums.SGIX_fragment_lighting light, GL.Enums.SGIX_fragment_lighting pname, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glFragmentLightivSGIX((GL.Enums.SGIX_fragment_lighting)light, (GL.Enums.SGIX_fragment_lighting)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void FragmentLightv(GL.Enums.SGIX_fragment_lighting light, GL.Enums.SGIX_fragment_lighting pname, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glFragmentLightivSGIX((GL.Enums.SGIX_fragment_lighting)light, (GL.Enums.SGIX_fragment_lighting)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void FragmentLightv(GL.Enums.SGIX_fragment_lighting light, GL.Enums.SGIX_fragment_lighting pname, Int32* @params)
|
|
{
|
|
Delegates.glFragmentLightivSGIX((GL.Enums.SGIX_fragment_lighting)light, (GL.Enums.SGIX_fragment_lighting)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void FragmentLightModel(GL.Enums.FragmentLightModelParameterSGIX pname, Single param)
|
|
{
|
|
Delegates.glFragmentLightModelfSGIX((GL.Enums.FragmentLightModelParameterSGIX)pname, (Single)param);
|
|
}
|
|
|
|
public static
|
|
void FragmentLightModelv(GL.Enums.FragmentLightModelParameterSGIX pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glFragmentLightModelfvSGIX((GL.Enums.FragmentLightModelParameterSGIX)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void FragmentLightModelv(GL.Enums.FragmentLightModelParameterSGIX pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glFragmentLightModelfvSGIX((GL.Enums.FragmentLightModelParameterSGIX)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void FragmentLightModelv(GL.Enums.FragmentLightModelParameterSGIX pname, Single* @params)
|
|
{
|
|
Delegates.glFragmentLightModelfvSGIX((GL.Enums.FragmentLightModelParameterSGIX)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void FragmentLightModel(GL.Enums.FragmentLightModelParameterSGIX pname, Int32 param)
|
|
{
|
|
Delegates.glFragmentLightModeliSGIX((GL.Enums.FragmentLightModelParameterSGIX)pname, (Int32)param);
|
|
}
|
|
|
|
public static
|
|
void FragmentLightModelv(GL.Enums.FragmentLightModelParameterSGIX pname, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glFragmentLightModelivSGIX((GL.Enums.FragmentLightModelParameterSGIX)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void FragmentLightModelv(GL.Enums.FragmentLightModelParameterSGIX pname, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glFragmentLightModelivSGIX((GL.Enums.FragmentLightModelParameterSGIX)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void FragmentLightModelv(GL.Enums.FragmentLightModelParameterSGIX pname, Int32* @params)
|
|
{
|
|
Delegates.glFragmentLightModelivSGIX((GL.Enums.FragmentLightModelParameterSGIX)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void FragmentMaterial(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter pname, Single param)
|
|
{
|
|
Delegates.glFragmentMaterialfSGIX((GL.Enums.MaterialFace)face, (GL.Enums.MaterialParameter)pname, (Single)param);
|
|
}
|
|
|
|
public static
|
|
void FragmentMaterialv(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glFragmentMaterialfvSGIX((GL.Enums.MaterialFace)face, (GL.Enums.MaterialParameter)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void FragmentMaterialv(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glFragmentMaterialfvSGIX((GL.Enums.MaterialFace)face, (GL.Enums.MaterialParameter)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void FragmentMaterialv(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter pname, Single* @params)
|
|
{
|
|
Delegates.glFragmentMaterialfvSGIX((GL.Enums.MaterialFace)face, (GL.Enums.MaterialParameter)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void FragmentMaterial(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter pname, Int32 param)
|
|
{
|
|
Delegates.glFragmentMaterialiSGIX((GL.Enums.MaterialFace)face, (GL.Enums.MaterialParameter)pname, (Int32)param);
|
|
}
|
|
|
|
public static
|
|
void FragmentMaterialv(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter pname, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glFragmentMaterialivSGIX((GL.Enums.MaterialFace)face, (GL.Enums.MaterialParameter)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void FragmentMaterialv(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter pname, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glFragmentMaterialivSGIX((GL.Enums.MaterialFace)face, (GL.Enums.MaterialParameter)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void FragmentMaterialv(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter pname, Int32* @params)
|
|
{
|
|
Delegates.glFragmentMaterialivSGIX((GL.Enums.MaterialFace)face, (GL.Enums.MaterialParameter)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetFragmentLight(GL.Enums.SGIX_fragment_lighting light, GL.Enums.SGIX_fragment_lighting pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetFragmentLightfvSGIX((GL.Enums.SGIX_fragment_lighting)light, (GL.Enums.SGIX_fragment_lighting)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetFragmentLight(GL.Enums.SGIX_fragment_lighting light, GL.Enums.SGIX_fragment_lighting pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetFragmentLightfvSGIX((GL.Enums.SGIX_fragment_lighting)light, (GL.Enums.SGIX_fragment_lighting)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetFragmentLight(GL.Enums.SGIX_fragment_lighting light, GL.Enums.SGIX_fragment_lighting pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetFragmentLightfvSGIX((GL.Enums.SGIX_fragment_lighting)light, (GL.Enums.SGIX_fragment_lighting)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetFragmentLight(GL.Enums.SGIX_fragment_lighting light, GL.Enums.SGIX_fragment_lighting pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetFragmentLightivSGIX((GL.Enums.SGIX_fragment_lighting)light, (GL.Enums.SGIX_fragment_lighting)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetFragmentLight(GL.Enums.SGIX_fragment_lighting light, GL.Enums.SGIX_fragment_lighting pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetFragmentLightivSGIX((GL.Enums.SGIX_fragment_lighting)light, (GL.Enums.SGIX_fragment_lighting)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetFragmentLight(GL.Enums.SGIX_fragment_lighting light, GL.Enums.SGIX_fragment_lighting pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetFragmentLightivSGIX((GL.Enums.SGIX_fragment_lighting)light, (GL.Enums.SGIX_fragment_lighting)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetFragmentMaterial(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetFragmentMaterialfvSGIX((GL.Enums.MaterialFace)face, (GL.Enums.MaterialParameter)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetFragmentMaterial(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetFragmentMaterialfvSGIX((GL.Enums.MaterialFace)face, (GL.Enums.MaterialParameter)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetFragmentMaterial(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetFragmentMaterialfvSGIX((GL.Enums.MaterialFace)face, (GL.Enums.MaterialParameter)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetFragmentMaterial(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetFragmentMaterialivSGIX((GL.Enums.MaterialFace)face, (GL.Enums.MaterialParameter)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetFragmentMaterial(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetFragmentMaterialivSGIX((GL.Enums.MaterialFace)face, (GL.Enums.MaterialParameter)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetFragmentMaterial(GL.Enums.MaterialFace face, GL.Enums.MaterialParameter pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetFragmentMaterialivSGIX((GL.Enums.MaterialFace)face, (GL.Enums.MaterialParameter)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void LightEnv(GL.Enums.LightEnvParameterSGIX pname, Int32 param)
|
|
{
|
|
Delegates.glLightEnviSGIX((GL.Enums.LightEnvParameterSGIX)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
|
|
Boolean IsAsyncMarker(UInt32 marker)
|
|
{
|
|
return Delegates.glIsAsyncMarkerSGIX((UInt32)marker);
|
|
}
|
|
|
|
public static
|
|
Boolean IsAsyncMarker(Int32 marker)
|
|
{
|
|
return Delegates.glIsAsyncMarkerSGIX((UInt32)marker);
|
|
}
|
|
|
|
public static
|
|
void IglooInterface(GL.Enums.All pname, IntPtr @params)
|
|
{
|
|
Delegates.glIglooInterfaceSGIX((GL.Enums.All)pname, (IntPtr)@params);
|
|
}
|
|
|
|
public static
|
|
void IglooInterface(GL.Enums.All pname, [In, Out] object @params)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle @params_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@params, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glIglooInterfaceSGIX((GL.Enums.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
@params_ptr.Free();
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public static partial class HP
|
|
{
|
|
public static
|
|
void ImageTransformParameter(GL.Enums.HP_image_transform target, GL.Enums.HP_image_transform pname, Int32 param)
|
|
{
|
|
Delegates.glImageTransformParameteriHP((GL.Enums.HP_image_transform)target, (GL.Enums.HP_image_transform)pname, (Int32)param);
|
|
}
|
|
|
|
public static
|
|
void ImageTransformParameter(GL.Enums.HP_image_transform target, GL.Enums.HP_image_transform pname, Single param)
|
|
{
|
|
Delegates.glImageTransformParameterfHP((GL.Enums.HP_image_transform)target, (GL.Enums.HP_image_transform)pname, (Single)param);
|
|
}
|
|
|
|
public static
|
|
void ImageTransformParameterv(GL.Enums.HP_image_transform target, GL.Enums.HP_image_transform pname, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glImageTransformParameterivHP((GL.Enums.HP_image_transform)target, (GL.Enums.HP_image_transform)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ImageTransformParameterv(GL.Enums.HP_image_transform target, GL.Enums.HP_image_transform pname, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glImageTransformParameterivHP((GL.Enums.HP_image_transform)target, (GL.Enums.HP_image_transform)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ImageTransformParameterv(GL.Enums.HP_image_transform target, GL.Enums.HP_image_transform pname, Int32* @params)
|
|
{
|
|
Delegates.glImageTransformParameterivHP((GL.Enums.HP_image_transform)target, (GL.Enums.HP_image_transform)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void ImageTransformParameterv(GL.Enums.HP_image_transform target, GL.Enums.HP_image_transform pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glImageTransformParameterfvHP((GL.Enums.HP_image_transform)target, (GL.Enums.HP_image_transform)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ImageTransformParameterv(GL.Enums.HP_image_transform target, GL.Enums.HP_image_transform pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glImageTransformParameterfvHP((GL.Enums.HP_image_transform)target, (GL.Enums.HP_image_transform)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ImageTransformParameterv(GL.Enums.HP_image_transform target, GL.Enums.HP_image_transform pname, Single* @params)
|
|
{
|
|
Delegates.glImageTransformParameterfvHP((GL.Enums.HP_image_transform)target, (GL.Enums.HP_image_transform)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetImageTransformParameter(GL.Enums.HP_image_transform target, GL.Enums.HP_image_transform pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetImageTransformParameterivHP((GL.Enums.HP_image_transform)target, (GL.Enums.HP_image_transform)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetImageTransformParameter(GL.Enums.HP_image_transform target, GL.Enums.HP_image_transform pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetImageTransformParameterivHP((GL.Enums.HP_image_transform)target, (GL.Enums.HP_image_transform)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetImageTransformParameter(GL.Enums.HP_image_transform target, GL.Enums.HP_image_transform pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetImageTransformParameterivHP((GL.Enums.HP_image_transform)target, (GL.Enums.HP_image_transform)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetImageTransformParameter(GL.Enums.HP_image_transform target, GL.Enums.HP_image_transform pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetImageTransformParameterfvHP((GL.Enums.HP_image_transform)target, (GL.Enums.HP_image_transform)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetImageTransformParameter(GL.Enums.HP_image_transform target, GL.Enums.HP_image_transform pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetImageTransformParameterfvHP((GL.Enums.HP_image_transform)target, (GL.Enums.HP_image_transform)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetImageTransformParameter(GL.Enums.HP_image_transform target, GL.Enums.HP_image_transform pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetImageTransformParameterfvHP((GL.Enums.HP_image_transform)target, (GL.Enums.HP_image_transform)pname, (Single*)@params);
|
|
}
|
|
|
|
}
|
|
|
|
public static partial class PGI
|
|
{
|
|
public static
|
|
void Hint(GL.Enums.PGI_misc_hints target, Int32 mode)
|
|
{
|
|
Delegates.glHintPGI((GL.Enums.PGI_misc_hints)target, (Int32)mode);
|
|
}
|
|
|
|
}
|
|
|
|
public static partial class INTEL
|
|
{
|
|
public static
|
|
void VertexPointer(Int32 size, GL.Enums.VertexPointerType type, IntPtr pointer)
|
|
{
|
|
Delegates.glVertexPointervINTEL((Int32)size, (GL.Enums.VertexPointerType)type, (IntPtr)pointer);
|
|
}
|
|
|
|
public static
|
|
void VertexPointer(Int32 size, GL.Enums.VertexPointerType type, [In, Out] object pointer)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glVertexPointervINTEL((Int32)size, (GL.Enums.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void NormalPointer(GL.Enums.NormalPointerType type, IntPtr pointer)
|
|
{
|
|
Delegates.glNormalPointervINTEL((GL.Enums.NormalPointerType)type, (IntPtr)pointer);
|
|
}
|
|
|
|
public static
|
|
void NormalPointer(GL.Enums.NormalPointerType type, [In, Out] object pointer)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glNormalPointervINTEL((GL.Enums.NormalPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ColorPointer(Int32 size, GL.Enums.VertexPointerType type, IntPtr pointer)
|
|
{
|
|
Delegates.glColorPointervINTEL((Int32)size, (GL.Enums.VertexPointerType)type, (IntPtr)pointer);
|
|
}
|
|
|
|
public static
|
|
void ColorPointer(Int32 size, GL.Enums.VertexPointerType type, [In, Out] object pointer)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glColorPointervINTEL((Int32)size, (GL.Enums.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexCoordPointer(Int32 size, GL.Enums.VertexPointerType type, IntPtr pointer)
|
|
{
|
|
Delegates.glTexCoordPointervINTEL((Int32)size, (GL.Enums.VertexPointerType)type, (IntPtr)pointer);
|
|
}
|
|
|
|
public static
|
|
void TexCoordPointer(Int32 size, GL.Enums.VertexPointerType type, [In, Out] object pointer)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glTexCoordPointervINTEL((Int32)size, (GL.Enums.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(GL.Enums.SUN_triangle_list type, Int32 stride, IntPtr pointer)
|
|
{
|
|
Delegates.glReplacementCodePointerSUN((GL.Enums.SUN_triangle_list)type, (Int32)stride, (IntPtr)pointer);
|
|
}
|
|
|
|
public static
|
|
void ReplacementCodePointer(GL.Enums.SUN_triangle_list type, Int32 stride, [In, Out] object pointer)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glReplacementCodePointerSUN((GL.Enums.SUN_triangle_list)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(GL.Enums.BeginMode mode, Int32 first, Int32 count, Int32 width)
|
|
{
|
|
Delegates.glDrawMeshArraysSUN((GL.Enums.BeginMode)mode, (Int32)first, (Int32)count, (Int32)width);
|
|
}
|
|
|
|
}
|
|
|
|
public static partial class INGR
|
|
{
|
|
public static
|
|
void BlendFuncSeparate(GL.Enums.All sfactorRGB, GL.Enums.All dfactorRGB, GL.Enums.All sfactorAlpha, GL.Enums.All dfactorAlpha)
|
|
{
|
|
Delegates.glBlendFuncSeparateINGR((GL.Enums.All)sfactorRGB, (GL.Enums.All)dfactorRGB, (GL.Enums.All)sfactorAlpha, (GL.Enums.All)dfactorAlpha);
|
|
}
|
|
|
|
}
|
|
|
|
public static partial class NV
|
|
{
|
|
public static
|
|
void FlushVertexArrayRange()
|
|
{
|
|
Delegates.glFlushVertexArrayRangeNV();
|
|
}
|
|
|
|
public static
|
|
void VertexArrayRange(Int32 length, IntPtr pointer)
|
|
{
|
|
Delegates.glVertexArrayRangeNV((Int32)length, (IntPtr)pointer);
|
|
}
|
|
|
|
public static
|
|
void VertexArrayRange(Int32 length, [In, Out] object pointer)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glVertexArrayRangeNV((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CombinerParameterv(GL.Enums.NV_register_combiners pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glCombinerParameterfvNV((GL.Enums.NV_register_combiners)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CombinerParameterv(GL.Enums.NV_register_combiners pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glCombinerParameterfvNV((GL.Enums.NV_register_combiners)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void CombinerParameterv(GL.Enums.NV_register_combiners pname, Single* @params)
|
|
{
|
|
Delegates.glCombinerParameterfvNV((GL.Enums.NV_register_combiners)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void CombinerParameter(GL.Enums.NV_register_combiners pname, Single param)
|
|
{
|
|
Delegates.glCombinerParameterfNV((GL.Enums.NV_register_combiners)pname, (Single)param);
|
|
}
|
|
|
|
public static
|
|
void CombinerParameterv(GL.Enums.NV_register_combiners pname, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glCombinerParameterivNV((GL.Enums.NV_register_combiners)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CombinerParameterv(GL.Enums.NV_register_combiners pname, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glCombinerParameterivNV((GL.Enums.NV_register_combiners)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void CombinerParameterv(GL.Enums.NV_register_combiners pname, Int32* @params)
|
|
{
|
|
Delegates.glCombinerParameterivNV((GL.Enums.NV_register_combiners)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void CombinerParameter(GL.Enums.NV_register_combiners pname, Int32 param)
|
|
{
|
|
Delegates.glCombinerParameteriNV((GL.Enums.NV_register_combiners)pname, (Int32)param);
|
|
}
|
|
|
|
public static
|
|
void CombinerInput(GL.Enums.NV_register_combiners stage, GL.Enums.NV_register_combiners portion, GL.Enums.NV_register_combiners variable, GL.Enums.NV_register_combiners input, GL.Enums.NV_register_combiners mapping, GL.Enums.NV_register_combiners componentUsage)
|
|
{
|
|
Delegates.glCombinerInputNV((GL.Enums.NV_register_combiners)stage, (GL.Enums.NV_register_combiners)portion, (GL.Enums.NV_register_combiners)variable, (GL.Enums.NV_register_combiners)input, (GL.Enums.NV_register_combiners)mapping, (GL.Enums.NV_register_combiners)componentUsage);
|
|
}
|
|
|
|
public static
|
|
void CombinerOutput(GL.Enums.NV_register_combiners stage, GL.Enums.NV_register_combiners portion, GL.Enums.NV_register_combiners abOutput, GL.Enums.NV_register_combiners cdOutput, GL.Enums.NV_register_combiners sumOutput, GL.Enums.NV_register_combiners scale, GL.Enums.NV_register_combiners bias, GL.Enums.Boolean abDotProduct, GL.Enums.Boolean cdDotProduct, GL.Enums.Boolean muxSum)
|
|
{
|
|
Delegates.glCombinerOutputNV((GL.Enums.NV_register_combiners)stage, (GL.Enums.NV_register_combiners)portion, (GL.Enums.NV_register_combiners)abOutput, (GL.Enums.NV_register_combiners)cdOutput, (GL.Enums.NV_register_combiners)sumOutput, (GL.Enums.NV_register_combiners)scale, (GL.Enums.NV_register_combiners)bias, (GL.Enums.Boolean)abDotProduct, (GL.Enums.Boolean)cdDotProduct, (GL.Enums.Boolean)muxSum);
|
|
}
|
|
|
|
public static
|
|
void FinalCombinerInput(GL.Enums.NV_register_combiners variable, GL.Enums.NV_register_combiners input, GL.Enums.NV_register_combiners mapping, GL.Enums.NV_register_combiners componentUsage)
|
|
{
|
|
Delegates.glFinalCombinerInputNV((GL.Enums.NV_register_combiners)variable, (GL.Enums.NV_register_combiners)input, (GL.Enums.NV_register_combiners)mapping, (GL.Enums.NV_register_combiners)componentUsage);
|
|
}
|
|
|
|
public static
|
|
void GetCombinerInputParameter(GL.Enums.NV_register_combiners stage, GL.Enums.NV_register_combiners portion, GL.Enums.NV_register_combiners variable, GL.Enums.NV_register_combiners pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetCombinerInputParameterfvNV((GL.Enums.NV_register_combiners)stage, (GL.Enums.NV_register_combiners)portion, (GL.Enums.NV_register_combiners)variable, (GL.Enums.NV_register_combiners)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetCombinerInputParameter(GL.Enums.NV_register_combiners stage, GL.Enums.NV_register_combiners portion, GL.Enums.NV_register_combiners variable, GL.Enums.NV_register_combiners pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetCombinerInputParameterfvNV((GL.Enums.NV_register_combiners)stage, (GL.Enums.NV_register_combiners)portion, (GL.Enums.NV_register_combiners)variable, (GL.Enums.NV_register_combiners)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetCombinerInputParameter(GL.Enums.NV_register_combiners stage, GL.Enums.NV_register_combiners portion, GL.Enums.NV_register_combiners variable, GL.Enums.NV_register_combiners pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetCombinerInputParameterfvNV((GL.Enums.NV_register_combiners)stage, (GL.Enums.NV_register_combiners)portion, (GL.Enums.NV_register_combiners)variable, (GL.Enums.NV_register_combiners)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetCombinerInputParameter(GL.Enums.NV_register_combiners stage, GL.Enums.NV_register_combiners portion, GL.Enums.NV_register_combiners variable, GL.Enums.NV_register_combiners pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetCombinerInputParameterivNV((GL.Enums.NV_register_combiners)stage, (GL.Enums.NV_register_combiners)portion, (GL.Enums.NV_register_combiners)variable, (GL.Enums.NV_register_combiners)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetCombinerInputParameter(GL.Enums.NV_register_combiners stage, GL.Enums.NV_register_combiners portion, GL.Enums.NV_register_combiners variable, GL.Enums.NV_register_combiners pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetCombinerInputParameterivNV((GL.Enums.NV_register_combiners)stage, (GL.Enums.NV_register_combiners)portion, (GL.Enums.NV_register_combiners)variable, (GL.Enums.NV_register_combiners)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetCombinerInputParameter(GL.Enums.NV_register_combiners stage, GL.Enums.NV_register_combiners portion, GL.Enums.NV_register_combiners variable, GL.Enums.NV_register_combiners pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetCombinerInputParameterivNV((GL.Enums.NV_register_combiners)stage, (GL.Enums.NV_register_combiners)portion, (GL.Enums.NV_register_combiners)variable, (GL.Enums.NV_register_combiners)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetCombinerOutputParameter(GL.Enums.NV_register_combiners stage, GL.Enums.NV_register_combiners portion, GL.Enums.NV_register_combiners pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetCombinerOutputParameterfvNV((GL.Enums.NV_register_combiners)stage, (GL.Enums.NV_register_combiners)portion, (GL.Enums.NV_register_combiners)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetCombinerOutputParameter(GL.Enums.NV_register_combiners stage, GL.Enums.NV_register_combiners portion, GL.Enums.NV_register_combiners pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetCombinerOutputParameterfvNV((GL.Enums.NV_register_combiners)stage, (GL.Enums.NV_register_combiners)portion, (GL.Enums.NV_register_combiners)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetCombinerOutputParameter(GL.Enums.NV_register_combiners stage, GL.Enums.NV_register_combiners portion, GL.Enums.NV_register_combiners pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetCombinerOutputParameterfvNV((GL.Enums.NV_register_combiners)stage, (GL.Enums.NV_register_combiners)portion, (GL.Enums.NV_register_combiners)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetCombinerOutputParameter(GL.Enums.NV_register_combiners stage, GL.Enums.NV_register_combiners portion, GL.Enums.NV_register_combiners pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetCombinerOutputParameterivNV((GL.Enums.NV_register_combiners)stage, (GL.Enums.NV_register_combiners)portion, (GL.Enums.NV_register_combiners)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetCombinerOutputParameter(GL.Enums.NV_register_combiners stage, GL.Enums.NV_register_combiners portion, GL.Enums.NV_register_combiners pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetCombinerOutputParameterivNV((GL.Enums.NV_register_combiners)stage, (GL.Enums.NV_register_combiners)portion, (GL.Enums.NV_register_combiners)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetCombinerOutputParameter(GL.Enums.NV_register_combiners stage, GL.Enums.NV_register_combiners portion, GL.Enums.NV_register_combiners pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetCombinerOutputParameterivNV((GL.Enums.NV_register_combiners)stage, (GL.Enums.NV_register_combiners)portion, (GL.Enums.NV_register_combiners)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetFinalCombinerInputParameter(GL.Enums.NV_register_combiners variable, GL.Enums.NV_register_combiners pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetFinalCombinerInputParameterfvNV((GL.Enums.NV_register_combiners)variable, (GL.Enums.NV_register_combiners)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetFinalCombinerInputParameter(GL.Enums.NV_register_combiners variable, GL.Enums.NV_register_combiners pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetFinalCombinerInputParameterfvNV((GL.Enums.NV_register_combiners)variable, (GL.Enums.NV_register_combiners)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetFinalCombinerInputParameter(GL.Enums.NV_register_combiners variable, GL.Enums.NV_register_combiners pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetFinalCombinerInputParameterfvNV((GL.Enums.NV_register_combiners)variable, (GL.Enums.NV_register_combiners)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetFinalCombinerInputParameter(GL.Enums.NV_register_combiners variable, GL.Enums.NV_register_combiners pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetFinalCombinerInputParameterivNV((GL.Enums.NV_register_combiners)variable, (GL.Enums.NV_register_combiners)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetFinalCombinerInputParameter(GL.Enums.NV_register_combiners variable, GL.Enums.NV_register_combiners pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetFinalCombinerInputParameterivNV((GL.Enums.NV_register_combiners)variable, (GL.Enums.NV_register_combiners)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetFinalCombinerInputParameter(GL.Enums.NV_register_combiners variable, GL.Enums.NV_register_combiners pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetFinalCombinerInputParameterivNV((GL.Enums.NV_register_combiners)variable, (GL.Enums.NV_register_combiners)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
|
|
Boolean IsFence(UInt32 fence)
|
|
{
|
|
return Delegates.glIsFenceNV((UInt32)fence);
|
|
}
|
|
|
|
public static
|
|
Boolean IsFence(Int32 fence)
|
|
{
|
|
return Delegates.glIsFenceNV((UInt32)fence);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
Boolean TestFence(UInt32 fence)
|
|
{
|
|
return Delegates.glTestFenceNV((UInt32)fence);
|
|
}
|
|
|
|
public static
|
|
Boolean TestFence(Int32 fence)
|
|
{
|
|
return Delegates.glTestFenceNV((UInt32)fence);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetFence(UInt32 fence, GL.Enums.NV_fence pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetFenceivNV((UInt32)fence, (GL.Enums.NV_fence)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetFence(Int32 fence, GL.Enums.NV_fence pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetFenceivNV((UInt32)fence, (GL.Enums.NV_fence)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetFence(UInt32 fence, GL.Enums.NV_fence pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetFenceivNV((UInt32)fence, (GL.Enums.NV_fence)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetFence(Int32 fence, GL.Enums.NV_fence pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetFenceivNV((UInt32)fence, (GL.Enums.NV_fence)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetFence(UInt32 fence, GL.Enums.NV_fence pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetFenceivNV((UInt32)fence, (GL.Enums.NV_fence)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetFence(Int32 fence, GL.Enums.NV_fence pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetFenceivNV((UInt32)fence, (GL.Enums.NV_fence)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, GL.Enums.NV_fence condition)
|
|
{
|
|
Delegates.glSetFenceNV((UInt32)fence, (GL.Enums.NV_fence)condition);
|
|
}
|
|
|
|
public static
|
|
void SetFence(Int32 fence, GL.Enums.NV_fence condition)
|
|
{
|
|
Delegates.glSetFenceNV((UInt32)fence, (GL.Enums.NV_fence)condition);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void MapControlPoints(GL.Enums.NV_evaluators target, UInt32 index, GL.Enums.NV_evaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, GL.Enums.Boolean packed, IntPtr points)
|
|
{
|
|
Delegates.glMapControlPointsNV((GL.Enums.NV_evaluators)target, (UInt32)index, (GL.Enums.NV_evaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (GL.Enums.Boolean)packed, (IntPtr)points);
|
|
}
|
|
|
|
public static
|
|
void MapControlPoints(GL.Enums.NV_evaluators target, Int32 index, GL.Enums.NV_evaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, GL.Enums.Boolean packed, IntPtr points)
|
|
{
|
|
Delegates.glMapControlPointsNV((GL.Enums.NV_evaluators)target, (UInt32)index, (GL.Enums.NV_evaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (GL.Enums.Boolean)packed, (IntPtr)points);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void MapControlPoints(GL.Enums.NV_evaluators target, UInt32 index, GL.Enums.NV_evaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, GL.Enums.Boolean packed, [In, Out] object points)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle points_ptr = System.Runtime.InteropServices.GCHandle.Alloc(points, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glMapControlPointsNV((GL.Enums.NV_evaluators)target, (UInt32)index, (GL.Enums.NV_evaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (GL.Enums.Boolean)packed, (IntPtr)points_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
points_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MapControlPoints(GL.Enums.NV_evaluators target, Int32 index, GL.Enums.NV_evaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, GL.Enums.Boolean packed, [In, Out] object points)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle points_ptr = System.Runtime.InteropServices.GCHandle.Alloc(points, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glMapControlPointsNV((GL.Enums.NV_evaluators)target, (UInt32)index, (GL.Enums.NV_evaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (GL.Enums.Boolean)packed, (IntPtr)points_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
points_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MapParameter(GL.Enums.NV_evaluators target, GL.Enums.NV_evaluators pname, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glMapParameterivNV((GL.Enums.NV_evaluators)target, (GL.Enums.NV_evaluators)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MapParameter(GL.Enums.NV_evaluators target, GL.Enums.NV_evaluators pname, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glMapParameterivNV((GL.Enums.NV_evaluators)target, (GL.Enums.NV_evaluators)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MapParameter(GL.Enums.NV_evaluators target, GL.Enums.NV_evaluators pname, Int32* @params)
|
|
{
|
|
Delegates.glMapParameterivNV((GL.Enums.NV_evaluators)target, (GL.Enums.NV_evaluators)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void MapParameter(GL.Enums.NV_evaluators target, GL.Enums.NV_evaluators pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glMapParameterfvNV((GL.Enums.NV_evaluators)target, (GL.Enums.NV_evaluators)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MapParameter(GL.Enums.NV_evaluators target, GL.Enums.NV_evaluators pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glMapParameterfvNV((GL.Enums.NV_evaluators)target, (GL.Enums.NV_evaluators)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MapParameter(GL.Enums.NV_evaluators target, GL.Enums.NV_evaluators pname, Single* @params)
|
|
{
|
|
Delegates.glMapParameterfvNV((GL.Enums.NV_evaluators)target, (GL.Enums.NV_evaluators)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetMapControlPoints(GL.Enums.NV_evaluators target, UInt32 index, GL.Enums.NV_evaluators type, Int32 ustride, Int32 vstride, GL.Enums.Boolean packed, [Out] IntPtr points)
|
|
{
|
|
Delegates.glGetMapControlPointsNV((GL.Enums.NV_evaluators)target, (UInt32)index, (GL.Enums.NV_evaluators)type, (Int32)ustride, (Int32)vstride, (GL.Enums.Boolean)packed, (IntPtr)points);
|
|
}
|
|
|
|
public static
|
|
void GetMapControlPoints(GL.Enums.NV_evaluators target, Int32 index, GL.Enums.NV_evaluators type, Int32 ustride, Int32 vstride, GL.Enums.Boolean packed, [Out] IntPtr points)
|
|
{
|
|
Delegates.glGetMapControlPointsNV((GL.Enums.NV_evaluators)target, (UInt32)index, (GL.Enums.NV_evaluators)type, (Int32)ustride, (Int32)vstride, (GL.Enums.Boolean)packed, (IntPtr)points);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetMapControlPoints(GL.Enums.NV_evaluators target, UInt32 index, GL.Enums.NV_evaluators type, Int32 ustride, Int32 vstride, GL.Enums.Boolean packed, [In, Out] object points)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle points_ptr = System.Runtime.InteropServices.GCHandle.Alloc(points, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetMapControlPointsNV((GL.Enums.NV_evaluators)target, (UInt32)index, (GL.Enums.NV_evaluators)type, (Int32)ustride, (Int32)vstride, (GL.Enums.Boolean)packed, (IntPtr)points_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
points_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetMapControlPoints(GL.Enums.NV_evaluators target, Int32 index, GL.Enums.NV_evaluators type, Int32 ustride, Int32 vstride, GL.Enums.Boolean packed, [In, Out] object points)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle points_ptr = System.Runtime.InteropServices.GCHandle.Alloc(points, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetMapControlPointsNV((GL.Enums.NV_evaluators)target, (UInt32)index, (GL.Enums.NV_evaluators)type, (Int32)ustride, (Int32)vstride, (GL.Enums.Boolean)packed, (IntPtr)points_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
points_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetMapParameter(GL.Enums.NV_evaluators target, GL.Enums.NV_evaluators pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetMapParameterivNV((GL.Enums.NV_evaluators)target, (GL.Enums.NV_evaluators)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetMapParameter(GL.Enums.NV_evaluators target, GL.Enums.NV_evaluators pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetMapParameterivNV((GL.Enums.NV_evaluators)target, (GL.Enums.NV_evaluators)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetMapParameter(GL.Enums.NV_evaluators target, GL.Enums.NV_evaluators pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetMapParameterivNV((GL.Enums.NV_evaluators)target, (GL.Enums.NV_evaluators)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetMapParameter(GL.Enums.NV_evaluators target, GL.Enums.NV_evaluators pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetMapParameterfvNV((GL.Enums.NV_evaluators)target, (GL.Enums.NV_evaluators)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetMapParameter(GL.Enums.NV_evaluators target, GL.Enums.NV_evaluators pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetMapParameterfvNV((GL.Enums.NV_evaluators)target, (GL.Enums.NV_evaluators)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetMapParameter(GL.Enums.NV_evaluators target, GL.Enums.NV_evaluators pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetMapParameterfvNV((GL.Enums.NV_evaluators)target, (GL.Enums.NV_evaluators)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetMapAttribParameter(GL.Enums.NV_evaluators target, UInt32 index, GL.Enums.NV_evaluators pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetMapAttribParameterivNV((GL.Enums.NV_evaluators)target, (UInt32)index, (GL.Enums.NV_evaluators)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetMapAttribParameter(GL.Enums.NV_evaluators target, Int32 index, GL.Enums.NV_evaluators pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetMapAttribParameterivNV((GL.Enums.NV_evaluators)target, (UInt32)index, (GL.Enums.NV_evaluators)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetMapAttribParameter(GL.Enums.NV_evaluators target, UInt32 index, GL.Enums.NV_evaluators pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetMapAttribParameterivNV((GL.Enums.NV_evaluators)target, (UInt32)index, (GL.Enums.NV_evaluators)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetMapAttribParameter(GL.Enums.NV_evaluators target, Int32 index, GL.Enums.NV_evaluators pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetMapAttribParameterivNV((GL.Enums.NV_evaluators)target, (UInt32)index, (GL.Enums.NV_evaluators)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetMapAttribParameter(GL.Enums.NV_evaluators target, UInt32 index, GL.Enums.NV_evaluators pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetMapAttribParameterivNV((GL.Enums.NV_evaluators)target, (UInt32)index, (GL.Enums.NV_evaluators)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetMapAttribParameter(GL.Enums.NV_evaluators target, Int32 index, GL.Enums.NV_evaluators pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetMapAttribParameterivNV((GL.Enums.NV_evaluators)target, (UInt32)index, (GL.Enums.NV_evaluators)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetMapAttribParameter(GL.Enums.NV_evaluators target, UInt32 index, GL.Enums.NV_evaluators pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetMapAttribParameterfvNV((GL.Enums.NV_evaluators)target, (UInt32)index, (GL.Enums.NV_evaluators)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetMapAttribParameter(GL.Enums.NV_evaluators target, Int32 index, GL.Enums.NV_evaluators pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetMapAttribParameterfvNV((GL.Enums.NV_evaluators)target, (UInt32)index, (GL.Enums.NV_evaluators)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetMapAttribParameter(GL.Enums.NV_evaluators target, UInt32 index, GL.Enums.NV_evaluators pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetMapAttribParameterfvNV((GL.Enums.NV_evaluators)target, (UInt32)index, (GL.Enums.NV_evaluators)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetMapAttribParameter(GL.Enums.NV_evaluators target, Int32 index, GL.Enums.NV_evaluators pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetMapAttribParameterfvNV((GL.Enums.NV_evaluators)target, (UInt32)index, (GL.Enums.NV_evaluators)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetMapAttribParameter(GL.Enums.NV_evaluators target, UInt32 index, GL.Enums.NV_evaluators pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetMapAttribParameterfvNV((GL.Enums.NV_evaluators)target, (UInt32)index, (GL.Enums.NV_evaluators)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetMapAttribParameter(GL.Enums.NV_evaluators target, Int32 index, GL.Enums.NV_evaluators pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetMapAttribParameterfvNV((GL.Enums.NV_evaluators)target, (UInt32)index, (GL.Enums.NV_evaluators)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void EvalMap(GL.Enums.NV_evaluators target, GL.Enums.NV_evaluators mode)
|
|
{
|
|
Delegates.glEvalMapsNV((GL.Enums.NV_evaluators)target, (GL.Enums.NV_evaluators)mode);
|
|
}
|
|
|
|
public static
|
|
void CombinerStageParameter(GL.Enums.NV_register_combiners2 stage, GL.Enums.NV_register_combiners2 pname, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glCombinerStageParameterfvNV((GL.Enums.NV_register_combiners2)stage, (GL.Enums.NV_register_combiners2)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void CombinerStageParameter(GL.Enums.NV_register_combiners2 stage, GL.Enums.NV_register_combiners2 pname, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glCombinerStageParameterfvNV((GL.Enums.NV_register_combiners2)stage, (GL.Enums.NV_register_combiners2)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void CombinerStageParameter(GL.Enums.NV_register_combiners2 stage, GL.Enums.NV_register_combiners2 pname, Single* @params)
|
|
{
|
|
Delegates.glCombinerStageParameterfvNV((GL.Enums.NV_register_combiners2)stage, (GL.Enums.NV_register_combiners2)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetCombinerStageParameter(GL.Enums.NV_register_combiners2 stage, GL.Enums.NV_register_combiners2 pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetCombinerStageParameterfvNV((GL.Enums.NV_register_combiners2)stage, (GL.Enums.NV_register_combiners2)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetCombinerStageParameter(GL.Enums.NV_register_combiners2 stage, GL.Enums.NV_register_combiners2 pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetCombinerStageParameterfvNV((GL.Enums.NV_register_combiners2)stage, (GL.Enums.NV_register_combiners2)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetCombinerStageParameter(GL.Enums.NV_register_combiners2 stage, GL.Enums.NV_register_combiners2 pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetCombinerStageParameterfvNV((GL.Enums.NV_register_combiners2)stage, (GL.Enums.NV_register_combiners2)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe Boolean AreProgramsResident(Int32 n, UInt32[] programs, [Out] GL.Enums.Boolean* residences)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* programs_ptr = programs)
|
|
{
|
|
return Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs_ptr, (GL.Enums.Boolean*)residences);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe Boolean AreProgramsResident(Int32 n, Int32[] programs, [Out] GL.Enums.Boolean* residences)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* programs_ptr = programs)
|
|
{
|
|
return Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs_ptr, (GL.Enums.Boolean*)residences);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe Boolean AreProgramsResident(Int32 n, ref UInt32 programs, [Out] GL.Enums.Boolean* residences)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* programs_ptr = &programs)
|
|
{
|
|
return Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs_ptr, (GL.Enums.Boolean*)residences);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe Boolean AreProgramsResident(Int32 n, ref Int32 programs, [Out] GL.Enums.Boolean* residences)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* programs_ptr = &programs)
|
|
{
|
|
return Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs_ptr, (GL.Enums.Boolean*)residences);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe Boolean AreProgramsResident(Int32 n, UInt32* programs, [Out] GL.Enums.Boolean* residences)
|
|
{
|
|
return Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs, (GL.Enums.Boolean*)residences);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe Boolean AreProgramsResident(Int32 n, Int32* programs, [Out] GL.Enums.Boolean* residences)
|
|
{
|
|
return Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs, (GL.Enums.Boolean*)residences);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void BindProgram(GL.Enums.NV_vertex_program target, UInt32 id)
|
|
{
|
|
Delegates.glBindProgramNV((GL.Enums.NV_vertex_program)target, (UInt32)id);
|
|
}
|
|
|
|
public static
|
|
void BindProgram(GL.Enums.NV_vertex_program target, Int32 id)
|
|
{
|
|
Delegates.glBindProgramNV((GL.Enums.NV_vertex_program)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(GL.Enums.NV_vertex_program target, UInt32 id, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glExecuteProgramNV((GL.Enums.NV_vertex_program)target, (UInt32)id, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ExecuteProgram(GL.Enums.NV_vertex_program target, Int32 id, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glExecuteProgramNV((GL.Enums.NV_vertex_program)target, (UInt32)id, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ExecuteProgram(GL.Enums.NV_vertex_program target, UInt32 id, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glExecuteProgramNV((GL.Enums.NV_vertex_program)target, (UInt32)id, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ExecuteProgram(GL.Enums.NV_vertex_program target, Int32 id, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glExecuteProgramNV((GL.Enums.NV_vertex_program)target, (UInt32)id, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ExecuteProgram(GL.Enums.NV_vertex_program target, UInt32 id, Single* @params)
|
|
{
|
|
Delegates.glExecuteProgramNV((GL.Enums.NV_vertex_program)target, (UInt32)id, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ExecuteProgram(GL.Enums.NV_vertex_program target, Int32 id, Single* @params)
|
|
{
|
|
Delegates.glExecuteProgramNV((GL.Enums.NV_vertex_program)target, (UInt32)id, (Single*)@params);
|
|
}
|
|
|
|
[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(GL.Enums.NV_vertex_program target, UInt32 index, GL.Enums.NV_vertex_program pname, [Out] Double[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetProgramParameterdvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (GL.Enums.NV_vertex_program)pname, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgramParameter(GL.Enums.NV_vertex_program target, Int32 index, GL.Enums.NV_vertex_program pname, [Out] Double[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetProgramParameterdvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (GL.Enums.NV_vertex_program)pname, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgramParameter(GL.Enums.NV_vertex_program target, UInt32 index, GL.Enums.NV_vertex_program pname, [Out] out Double @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetProgramParameterdvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (GL.Enums.NV_vertex_program)pname, (Double*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgramParameter(GL.Enums.NV_vertex_program target, Int32 index, GL.Enums.NV_vertex_program pname, [Out] out Double @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetProgramParameterdvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (GL.Enums.NV_vertex_program)pname, (Double*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgramParameter(GL.Enums.NV_vertex_program target, UInt32 index, GL.Enums.NV_vertex_program pname, [Out] Double* @params)
|
|
{
|
|
Delegates.glGetProgramParameterdvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (GL.Enums.NV_vertex_program)pname, (Double*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgramParameter(GL.Enums.NV_vertex_program target, Int32 index, GL.Enums.NV_vertex_program pname, [Out] Double* @params)
|
|
{
|
|
Delegates.glGetProgramParameterdvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (GL.Enums.NV_vertex_program)pname, (Double*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgramParameter(GL.Enums.NV_vertex_program target, UInt32 index, GL.Enums.NV_vertex_program pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetProgramParameterfvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (GL.Enums.NV_vertex_program)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgramParameter(GL.Enums.NV_vertex_program target, Int32 index, GL.Enums.NV_vertex_program pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetProgramParameterfvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (GL.Enums.NV_vertex_program)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgramParameter(GL.Enums.NV_vertex_program target, UInt32 index, GL.Enums.NV_vertex_program pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetProgramParameterfvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (GL.Enums.NV_vertex_program)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgramParameter(GL.Enums.NV_vertex_program target, Int32 index, GL.Enums.NV_vertex_program pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetProgramParameterfvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (GL.Enums.NV_vertex_program)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgramParameter(GL.Enums.NV_vertex_program target, UInt32 index, GL.Enums.NV_vertex_program pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetProgramParameterfvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (GL.Enums.NV_vertex_program)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgramParameter(GL.Enums.NV_vertex_program target, Int32 index, GL.Enums.NV_vertex_program pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetProgramParameterfvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (GL.Enums.NV_vertex_program)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgram(UInt32 id, GL.Enums.NV_vertex_program pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetProgramivNV((UInt32)id, (GL.Enums.NV_vertex_program)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgram(Int32 id, GL.Enums.NV_vertex_program pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetProgramivNV((UInt32)id, (GL.Enums.NV_vertex_program)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgram(UInt32 id, GL.Enums.NV_vertex_program pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetProgramivNV((UInt32)id, (GL.Enums.NV_vertex_program)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgram(Int32 id, GL.Enums.NV_vertex_program pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetProgramivNV((UInt32)id, (GL.Enums.NV_vertex_program)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgram(UInt32 id, GL.Enums.NV_vertex_program pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetProgramivNV((UInt32)id, (GL.Enums.NV_vertex_program)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgram(Int32 id, GL.Enums.NV_vertex_program pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetProgramivNV((UInt32)id, (GL.Enums.NV_vertex_program)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgramString(UInt32 id, GL.Enums.NV_vertex_program pname, [Out] Byte[] program)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* program_ptr = program)
|
|
{
|
|
Delegates.glGetProgramStringNV((UInt32)id, (GL.Enums.NV_vertex_program)pname, (Byte*)program_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgramString(Int32 id, GL.Enums.NV_vertex_program pname, [Out] Byte[] program)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* program_ptr = program)
|
|
{
|
|
Delegates.glGetProgramStringNV((UInt32)id, (GL.Enums.NV_vertex_program)pname, (Byte*)program_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgramString(UInt32 id, GL.Enums.NV_vertex_program pname, [Out] out Byte program)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* program_ptr = &program)
|
|
{
|
|
Delegates.glGetProgramStringNV((UInt32)id, (GL.Enums.NV_vertex_program)pname, (Byte*)program_ptr);
|
|
program = *program_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgramString(Int32 id, GL.Enums.NV_vertex_program pname, [Out] out Byte program)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* program_ptr = &program)
|
|
{
|
|
Delegates.glGetProgramStringNV((UInt32)id, (GL.Enums.NV_vertex_program)pname, (Byte*)program_ptr);
|
|
program = *program_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgramString(UInt32 id, GL.Enums.NV_vertex_program pname, [Out] Byte* program)
|
|
{
|
|
Delegates.glGetProgramStringNV((UInt32)id, (GL.Enums.NV_vertex_program)pname, (Byte*)program);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgramString(Int32 id, GL.Enums.NV_vertex_program pname, [Out] Byte* program)
|
|
{
|
|
Delegates.glGetProgramStringNV((UInt32)id, (GL.Enums.NV_vertex_program)pname, (Byte*)program);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetTrackMatrix(GL.Enums.NV_vertex_program target, UInt32 address, GL.Enums.NV_vertex_program pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetTrackMatrixivNV((GL.Enums.NV_vertex_program)target, (UInt32)address, (GL.Enums.NV_vertex_program)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetTrackMatrix(GL.Enums.NV_vertex_program target, Int32 address, GL.Enums.NV_vertex_program pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetTrackMatrixivNV((GL.Enums.NV_vertex_program)target, (UInt32)address, (GL.Enums.NV_vertex_program)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetTrackMatrix(GL.Enums.NV_vertex_program target, UInt32 address, GL.Enums.NV_vertex_program pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetTrackMatrixivNV((GL.Enums.NV_vertex_program)target, (UInt32)address, (GL.Enums.NV_vertex_program)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetTrackMatrix(GL.Enums.NV_vertex_program target, Int32 address, GL.Enums.NV_vertex_program pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetTrackMatrixivNV((GL.Enums.NV_vertex_program)target, (UInt32)address, (GL.Enums.NV_vertex_program)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetTrackMatrix(GL.Enums.NV_vertex_program target, UInt32 address, GL.Enums.NV_vertex_program pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetTrackMatrixivNV((GL.Enums.NV_vertex_program)target, (UInt32)address, (GL.Enums.NV_vertex_program)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetTrackMatrix(GL.Enums.NV_vertex_program target, Int32 address, GL.Enums.NV_vertex_program pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetTrackMatrixivNV((GL.Enums.NV_vertex_program)target, (UInt32)address, (GL.Enums.NV_vertex_program)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttrib(UInt32 index, GL.Enums.NV_vertex_program pname, [Out] Double[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVertexAttribdvNV((UInt32)index, (GL.Enums.NV_vertex_program)pname, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttrib(Int32 index, GL.Enums.NV_vertex_program pname, [Out] Double[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVertexAttribdvNV((UInt32)index, (GL.Enums.NV_vertex_program)pname, (Double*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttrib(UInt32 index, GL.Enums.NV_vertex_program pname, [Out] out Double @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVertexAttribdvNV((UInt32)index, (GL.Enums.NV_vertex_program)pname, (Double*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttrib(Int32 index, GL.Enums.NV_vertex_program pname, [Out] out Double @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVertexAttribdvNV((UInt32)index, (GL.Enums.NV_vertex_program)pname, (Double*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVertexAttrib(UInt32 index, GL.Enums.NV_vertex_program pname, [Out] Double* @params)
|
|
{
|
|
Delegates.glGetVertexAttribdvNV((UInt32)index, (GL.Enums.NV_vertex_program)pname, (Double*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVertexAttrib(Int32 index, GL.Enums.NV_vertex_program pname, [Out] Double* @params)
|
|
{
|
|
Delegates.glGetVertexAttribdvNV((UInt32)index, (GL.Enums.NV_vertex_program)pname, (Double*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttrib(UInt32 index, GL.Enums.NV_vertex_program pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVertexAttribfvNV((UInt32)index, (GL.Enums.NV_vertex_program)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttrib(Int32 index, GL.Enums.NV_vertex_program pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVertexAttribfvNV((UInt32)index, (GL.Enums.NV_vertex_program)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttrib(UInt32 index, GL.Enums.NV_vertex_program pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVertexAttribfvNV((UInt32)index, (GL.Enums.NV_vertex_program)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttrib(Int32 index, GL.Enums.NV_vertex_program pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVertexAttribfvNV((UInt32)index, (GL.Enums.NV_vertex_program)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVertexAttrib(UInt32 index, GL.Enums.NV_vertex_program pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetVertexAttribfvNV((UInt32)index, (GL.Enums.NV_vertex_program)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVertexAttrib(Int32 index, GL.Enums.NV_vertex_program pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetVertexAttribfvNV((UInt32)index, (GL.Enums.NV_vertex_program)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttrib(UInt32 index, GL.Enums.NV_vertex_program pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVertexAttribivNV((UInt32)index, (GL.Enums.NV_vertex_program)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttrib(Int32 index, GL.Enums.NV_vertex_program pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVertexAttribivNV((UInt32)index, (GL.Enums.NV_vertex_program)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttrib(UInt32 index, GL.Enums.NV_vertex_program pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVertexAttribivNV((UInt32)index, (GL.Enums.NV_vertex_program)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttrib(Int32 index, GL.Enums.NV_vertex_program pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVertexAttribivNV((UInt32)index, (GL.Enums.NV_vertex_program)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVertexAttrib(UInt32 index, GL.Enums.NV_vertex_program pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetVertexAttribivNV((UInt32)index, (GL.Enums.NV_vertex_program)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVertexAttrib(Int32 index, GL.Enums.NV_vertex_program pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetVertexAttribivNV((UInt32)index, (GL.Enums.NV_vertex_program)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttribPointer(UInt32 index, GL.Enums.NV_vertex_program pname, [Out] IntPtr pointer)
|
|
{
|
|
Delegates.glGetVertexAttribPointervNV((UInt32)index, (GL.Enums.NV_vertex_program)pname, (IntPtr)pointer);
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttribPointer(Int32 index, GL.Enums.NV_vertex_program pname, [Out] IntPtr pointer)
|
|
{
|
|
Delegates.glGetVertexAttribPointervNV((UInt32)index, (GL.Enums.NV_vertex_program)pname, (IntPtr)pointer);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttribPointer(UInt32 index, GL.Enums.NV_vertex_program pname, [In, Out] object pointer)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetVertexAttribPointervNV((UInt32)index, (GL.Enums.NV_vertex_program)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttribPointer(Int32 index, GL.Enums.NV_vertex_program pname, [In, Out] object pointer)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glGetVertexAttribPointervNV((UInt32)index, (GL.Enums.NV_vertex_program)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
Boolean IsProgram(UInt32 id)
|
|
{
|
|
return Delegates.glIsProgramNV((UInt32)id);
|
|
}
|
|
|
|
public static
|
|
Boolean IsProgram(Int32 id)
|
|
{
|
|
return Delegates.glIsProgramNV((UInt32)id);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void LoadProgram(GL.Enums.NV_vertex_program target, UInt32 id, Int32 len, Byte[] program)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* program_ptr = program)
|
|
{
|
|
Delegates.glLoadProgramNV((GL.Enums.NV_vertex_program)target, (UInt32)id, (Int32)len, (Byte*)program_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void LoadProgram(GL.Enums.NV_vertex_program target, Int32 id, Int32 len, Byte[] program)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* program_ptr = program)
|
|
{
|
|
Delegates.glLoadProgramNV((GL.Enums.NV_vertex_program)target, (UInt32)id, (Int32)len, (Byte*)program_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void LoadProgram(GL.Enums.NV_vertex_program target, UInt32 id, Int32 len, ref Byte program)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* program_ptr = &program)
|
|
{
|
|
Delegates.glLoadProgramNV((GL.Enums.NV_vertex_program)target, (UInt32)id, (Int32)len, (Byte*)program_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void LoadProgram(GL.Enums.NV_vertex_program target, Int32 id, Int32 len, ref Byte program)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* program_ptr = &program)
|
|
{
|
|
Delegates.glLoadProgramNV((GL.Enums.NV_vertex_program)target, (UInt32)id, (Int32)len, (Byte*)program_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void LoadProgram(GL.Enums.NV_vertex_program target, UInt32 id, Int32 len, Byte* program)
|
|
{
|
|
Delegates.glLoadProgramNV((GL.Enums.NV_vertex_program)target, (UInt32)id, (Int32)len, (Byte*)program);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void LoadProgram(GL.Enums.NV_vertex_program target, Int32 id, Int32 len, Byte* program)
|
|
{
|
|
Delegates.glLoadProgramNV((GL.Enums.NV_vertex_program)target, (UInt32)id, (Int32)len, (Byte*)program);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramParameter4(GL.Enums.NV_vertex_program target, UInt32 index, Double x, Double y, Double z, Double w)
|
|
{
|
|
Delegates.glProgramParameter4dNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w);
|
|
}
|
|
|
|
public static
|
|
void ProgramParameter4(GL.Enums.NV_vertex_program target, Int32 index, Double x, Double y, Double z, Double w)
|
|
{
|
|
Delegates.glProgramParameter4dNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramParameter4(GL.Enums.NV_vertex_program target, UInt32 index, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glProgramParameter4dvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramParameter4(GL.Enums.NV_vertex_program target, Int32 index, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glProgramParameter4dvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramParameter4(GL.Enums.NV_vertex_program target, UInt32 index, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glProgramParameter4dvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramParameter4(GL.Enums.NV_vertex_program target, Int32 index, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glProgramParameter4dvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramParameter4(GL.Enums.NV_vertex_program target, UInt32 index, Double* v)
|
|
{
|
|
Delegates.glProgramParameter4dvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (Double*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramParameter4(GL.Enums.NV_vertex_program target, Int32 index, Double* v)
|
|
{
|
|
Delegates.glProgramParameter4dvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (Double*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramParameter4(GL.Enums.NV_vertex_program target, UInt32 index, Single x, Single y, Single z, Single w)
|
|
{
|
|
Delegates.glProgramParameter4fNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w);
|
|
}
|
|
|
|
public static
|
|
void ProgramParameter4(GL.Enums.NV_vertex_program target, Int32 index, Single x, Single y, Single z, Single w)
|
|
{
|
|
Delegates.glProgramParameter4fNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramParameter4(GL.Enums.NV_vertex_program target, UInt32 index, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glProgramParameter4fvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramParameter4(GL.Enums.NV_vertex_program target, Int32 index, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glProgramParameter4fvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramParameter4(GL.Enums.NV_vertex_program target, UInt32 index, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glProgramParameter4fvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramParameter4(GL.Enums.NV_vertex_program target, Int32 index, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glProgramParameter4fvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramParameter4(GL.Enums.NV_vertex_program target, UInt32 index, Single* v)
|
|
{
|
|
Delegates.glProgramParameter4fvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramParameter4(GL.Enums.NV_vertex_program target, Int32 index, Single* v)
|
|
{
|
|
Delegates.glProgramParameter4fvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramParameters4(GL.Enums.NV_vertex_program target, UInt32 index, UInt32 count, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glProgramParameters4dvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (UInt32)count, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramParameters4(GL.Enums.NV_vertex_program target, Int32 index, Int32 count, Double[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = v)
|
|
{
|
|
Delegates.glProgramParameters4dvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (UInt32)count, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramParameters4(GL.Enums.NV_vertex_program target, UInt32 index, UInt32 count, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glProgramParameters4dvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (UInt32)count, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramParameters4(GL.Enums.NV_vertex_program target, Int32 index, Int32 count, ref Double v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* v_ptr = &v)
|
|
{
|
|
Delegates.glProgramParameters4dvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (UInt32)count, (Double*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramParameters4(GL.Enums.NV_vertex_program target, UInt32 index, UInt32 count, Double* v)
|
|
{
|
|
Delegates.glProgramParameters4dvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (UInt32)count, (Double*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramParameters4(GL.Enums.NV_vertex_program target, Int32 index, Int32 count, Double* v)
|
|
{
|
|
Delegates.glProgramParameters4dvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (UInt32)count, (Double*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramParameters4(GL.Enums.NV_vertex_program target, UInt32 index, UInt32 count, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glProgramParameters4fvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (UInt32)count, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramParameters4(GL.Enums.NV_vertex_program target, Int32 index, Int32 count, Single[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = v)
|
|
{
|
|
Delegates.glProgramParameters4fvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (UInt32)count, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramParameters4(GL.Enums.NV_vertex_program target, UInt32 index, UInt32 count, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glProgramParameters4fvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (UInt32)count, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramParameters4(GL.Enums.NV_vertex_program target, Int32 index, Int32 count, ref Single v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* v_ptr = &v)
|
|
{
|
|
Delegates.glProgramParameters4fvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (UInt32)count, (Single*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramParameters4(GL.Enums.NV_vertex_program target, UInt32 index, UInt32 count, Single* v)
|
|
{
|
|
Delegates.glProgramParameters4fvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (UInt32)count, (Single*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramParameters4(GL.Enums.NV_vertex_program target, Int32 index, Int32 count, Single* v)
|
|
{
|
|
Delegates.glProgramParameters4fvNV((GL.Enums.NV_vertex_program)target, (UInt32)index, (UInt32)count, (Single*)v);
|
|
}
|
|
|
|
[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(GL.Enums.NV_vertex_program target, UInt32 address, GL.Enums.NV_vertex_program matrix, GL.Enums.NV_vertex_program transform)
|
|
{
|
|
Delegates.glTrackMatrixNV((GL.Enums.NV_vertex_program)target, (UInt32)address, (GL.Enums.NV_vertex_program)matrix, (GL.Enums.NV_vertex_program)transform);
|
|
}
|
|
|
|
public static
|
|
void TrackMatrix(GL.Enums.NV_vertex_program target, Int32 address, GL.Enums.NV_vertex_program matrix, GL.Enums.NV_vertex_program transform)
|
|
{
|
|
Delegates.glTrackMatrixNV((GL.Enums.NV_vertex_program)target, (UInt32)address, (GL.Enums.NV_vertex_program)matrix, (GL.Enums.NV_vertex_program)transform);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribPointer(UInt32 index, Int32 fsize, GL.Enums.NV_vertex_program type, Int32 stride, IntPtr pointer)
|
|
{
|
|
Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (GL.Enums.NV_vertex_program)type, (Int32)stride, (IntPtr)pointer);
|
|
}
|
|
|
|
public static
|
|
void VertexAttribPointer(Int32 index, Int32 fsize, GL.Enums.NV_vertex_program type, Int32 stride, IntPtr pointer)
|
|
{
|
|
Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (GL.Enums.NV_vertex_program)type, (Int32)stride, (IntPtr)pointer);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribPointer(UInt32 index, Int32 fsize, GL.Enums.NV_vertex_program type, Int32 stride, [In, Out] object pointer)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (GL.Enums.NV_vertex_program)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexAttribPointer(Int32 index, Int32 fsize, GL.Enums.NV_vertex_program type, Int32 stride, [In, Out] object pointer)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (GL.Enums.NV_vertex_program)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
|
|
Boolean IsOcclusionQuery(UInt32 id)
|
|
{
|
|
return Delegates.glIsOcclusionQueryNV((UInt32)id);
|
|
}
|
|
|
|
public static
|
|
Boolean 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, GL.Enums.NV_occlusion_query pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetOcclusionQueryivNV((UInt32)id, (GL.Enums.NV_occlusion_query)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetOcclusionQuery(UInt32 id, GL.Enums.NV_occlusion_query pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetOcclusionQueryivNV((UInt32)id, (GL.Enums.NV_occlusion_query)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetOcclusionQuery(UInt32 id, GL.Enums.NV_occlusion_query pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetOcclusionQueryivNV((UInt32)id, (GL.Enums.NV_occlusion_query)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetOcclusionQuery(UInt32 id, GL.Enums.NV_occlusion_query pname, [Out] UInt32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetOcclusionQueryuivNV((UInt32)id, (GL.Enums.NV_occlusion_query)pname, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetOcclusionQuery(Int32 id, GL.Enums.NV_occlusion_query pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetOcclusionQueryuivNV((UInt32)id, (GL.Enums.NV_occlusion_query)pname, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetOcclusionQuery(UInt32 id, GL.Enums.NV_occlusion_query pname, [Out] out UInt32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetOcclusionQueryuivNV((UInt32)id, (GL.Enums.NV_occlusion_query)pname, (UInt32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetOcclusionQuery(Int32 id, GL.Enums.NV_occlusion_query pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetOcclusionQueryuivNV((UInt32)id, (GL.Enums.NV_occlusion_query)pname, (UInt32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetOcclusionQuery(UInt32 id, GL.Enums.NV_occlusion_query pname, [Out] UInt32* @params)
|
|
{
|
|
Delegates.glGetOcclusionQueryuivNV((UInt32)id, (GL.Enums.NV_occlusion_query)pname, (UInt32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetOcclusionQuery(Int32 id, GL.Enums.NV_occlusion_query pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetOcclusionQueryuivNV((UInt32)id, (GL.Enums.NV_occlusion_query)pname, (UInt32*)@params);
|
|
}
|
|
|
|
public static
|
|
void PointParameter(GL.Enums.NV_point_sprite pname, Int32 param)
|
|
{
|
|
Delegates.glPointParameteriNV((GL.Enums.NV_point_sprite)pname, (Int32)param);
|
|
}
|
|
|
|
public static
|
|
void PointParameterv(GL.Enums.NV_point_sprite pname, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glPointParameterivNV((GL.Enums.NV_point_sprite)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void PointParameterv(GL.Enums.NV_point_sprite pname, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glPointParameterivNV((GL.Enums.NV_point_sprite)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void PointParameterv(GL.Enums.NV_point_sprite pname, Int32* @params)
|
|
{
|
|
Delegates.glPointParameterivNV((GL.Enums.NV_point_sprite)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(GL.Enums.NV_half_float target, UInt16 s)
|
|
{
|
|
Delegates.glMultiTexCoord1hNV((GL.Enums.NV_half_float)target, (UInt16)s);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1h(GL.Enums.NV_half_float target, Int16 s)
|
|
{
|
|
Delegates.glMultiTexCoord1hNV((GL.Enums.NV_half_float)target, (UInt16)s);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void MultiTexCoord1hv(GL.Enums.NV_half_float target, UInt16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord1hvNV((GL.Enums.NV_half_float)target, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1hv(GL.Enums.NV_half_float target, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord1hvNV((GL.Enums.NV_half_float)target, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void MultiTexCoord1hv(GL.Enums.NV_half_float target, ref UInt16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord1hvNV((GL.Enums.NV_half_float)target, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord1hv(GL.Enums.NV_half_float target, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord1hvNV((GL.Enums.NV_half_float)target, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord1hv(GL.Enums.NV_half_float target, UInt16* v)
|
|
{
|
|
Delegates.glMultiTexCoord1hvNV((GL.Enums.NV_half_float)target, (UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord1hv(GL.Enums.NV_half_float target, Int16* v)
|
|
{
|
|
Delegates.glMultiTexCoord1hvNV((GL.Enums.NV_half_float)target, (UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void MultiTexCoord2h(GL.Enums.NV_half_float target, UInt16 s, UInt16 t)
|
|
{
|
|
Delegates.glMultiTexCoord2hNV((GL.Enums.NV_half_float)target, (UInt16)s, (UInt16)t);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2h(GL.Enums.NV_half_float target, Int16 s, Int16 t)
|
|
{
|
|
Delegates.glMultiTexCoord2hNV((GL.Enums.NV_half_float)target, (UInt16)s, (UInt16)t);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void MultiTexCoord2h(GL.Enums.NV_half_float target, UInt16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord2hvNV((GL.Enums.NV_half_float)target, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2h(GL.Enums.NV_half_float target, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord2hvNV((GL.Enums.NV_half_float)target, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void MultiTexCoord2h(GL.Enums.NV_half_float target, ref UInt16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord2hvNV((GL.Enums.NV_half_float)target, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord2h(GL.Enums.NV_half_float target, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord2hvNV((GL.Enums.NV_half_float)target, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord2h(GL.Enums.NV_half_float target, UInt16* v)
|
|
{
|
|
Delegates.glMultiTexCoord2hvNV((GL.Enums.NV_half_float)target, (UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord2h(GL.Enums.NV_half_float target, Int16* v)
|
|
{
|
|
Delegates.glMultiTexCoord2hvNV((GL.Enums.NV_half_float)target, (UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void MultiTexCoord3h(GL.Enums.NV_half_float target, UInt16 s, UInt16 t, UInt16 r)
|
|
{
|
|
Delegates.glMultiTexCoord3hNV((GL.Enums.NV_half_float)target, (UInt16)s, (UInt16)t, (UInt16)r);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3h(GL.Enums.NV_half_float target, Int16 s, Int16 t, Int16 r)
|
|
{
|
|
Delegates.glMultiTexCoord3hNV((GL.Enums.NV_half_float)target, (UInt16)s, (UInt16)t, (UInt16)r);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void MultiTexCoord3h(GL.Enums.NV_half_float target, UInt16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord3hvNV((GL.Enums.NV_half_float)target, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3h(GL.Enums.NV_half_float target, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord3hvNV((GL.Enums.NV_half_float)target, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void MultiTexCoord3h(GL.Enums.NV_half_float target, ref UInt16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord3hvNV((GL.Enums.NV_half_float)target, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord3h(GL.Enums.NV_half_float target, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord3hvNV((GL.Enums.NV_half_float)target, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord3h(GL.Enums.NV_half_float target, UInt16* v)
|
|
{
|
|
Delegates.glMultiTexCoord3hvNV((GL.Enums.NV_half_float)target, (UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord3h(GL.Enums.NV_half_float target, Int16* v)
|
|
{
|
|
Delegates.glMultiTexCoord3hvNV((GL.Enums.NV_half_float)target, (UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void MultiTexCoord4h(GL.Enums.NV_half_float target, UInt16 s, UInt16 t, UInt16 r, UInt16 q)
|
|
{
|
|
Delegates.glMultiTexCoord4hNV((GL.Enums.NV_half_float)target, (UInt16)s, (UInt16)t, (UInt16)r, (UInt16)q);
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4h(GL.Enums.NV_half_float target, Int16 s, Int16 t, Int16 r, Int16 q)
|
|
{
|
|
Delegates.glMultiTexCoord4hNV((GL.Enums.NV_half_float)target, (UInt16)s, (UInt16)t, (UInt16)r, (UInt16)q);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void MultiTexCoord4h(GL.Enums.NV_half_float target, UInt16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord4hvNV((GL.Enums.NV_half_float)target, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4h(GL.Enums.NV_half_float target, Int16[] v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = v)
|
|
{
|
|
Delegates.glMultiTexCoord4hvNV((GL.Enums.NV_half_float)target, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void MultiTexCoord4h(GL.Enums.NV_half_float target, ref UInt16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt16* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord4hvNV((GL.Enums.NV_half_float)target, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiTexCoord4h(GL.Enums.NV_half_float target, ref Int16 v)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* v_ptr = &v)
|
|
{
|
|
Delegates.glMultiTexCoord4hvNV((GL.Enums.NV_half_float)target, (UInt16*)v_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord4h(GL.Enums.NV_half_float target, UInt16* v)
|
|
{
|
|
Delegates.glMultiTexCoord4hvNV((GL.Enums.NV_half_float)target, (UInt16*)v);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiTexCoord4h(GL.Enums.NV_half_float target, Int16* v)
|
|
{
|
|
Delegates.glMultiTexCoord4hvNV((GL.Enums.NV_half_float)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(GL.Enums.NV_pixel_data_range target, Int32 length, [Out] IntPtr pointer)
|
|
{
|
|
Delegates.glPixelDataRangeNV((GL.Enums.NV_pixel_data_range)target, (Int32)length, (IntPtr)pointer);
|
|
}
|
|
|
|
public static
|
|
void PixelDataRange(GL.Enums.NV_pixel_data_range target, Int32 length, [In, Out] object pointer)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glPixelDataRangeNV((GL.Enums.NV_pixel_data_range)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void FlushPixelDataRange(GL.Enums.NV_pixel_data_range target)
|
|
{
|
|
Delegates.glFlushPixelDataRangeNV((GL.Enums.NV_pixel_data_range)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(GL.Enums.NV_gpu_program4 target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w)
|
|
{
|
|
Delegates.glProgramLocalParameterI4iNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramLocalParameterI4(GL.Enums.NV_gpu_program4 target, UInt32 index, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramLocalParameterI4ivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramLocalParameterI4(GL.Enums.NV_gpu_program4 target, UInt32 index, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramLocalParameterI4ivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramLocalParameterI4(GL.Enums.NV_gpu_program4 target, UInt32 index, Int32* @params)
|
|
{
|
|
Delegates.glProgramLocalParameterI4ivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramLocalParametersI4(GL.Enums.NV_gpu_program4 target, UInt32 index, Int32 count, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramLocalParametersI4ivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramLocalParametersI4(GL.Enums.NV_gpu_program4 target, UInt32 index, Int32 count, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramLocalParametersI4ivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramLocalParametersI4(GL.Enums.NV_gpu_program4 target, UInt32 index, Int32 count, Int32* @params)
|
|
{
|
|
Delegates.glProgramLocalParametersI4ivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32)count, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramLocalParameterI4(GL.Enums.NV_gpu_program4 target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w)
|
|
{
|
|
Delegates.glProgramLocalParameterI4uiNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w);
|
|
}
|
|
|
|
public static
|
|
void ProgramLocalParameterI4(GL.Enums.NV_gpu_program4 target, Int32 index, Int32 x, Int32 y, Int32 z, Int32 w)
|
|
{
|
|
Delegates.glProgramLocalParameterI4uiNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramLocalParameterI4(GL.Enums.NV_gpu_program4 target, UInt32 index, UInt32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramLocalParameterI4uivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramLocalParameterI4(GL.Enums.NV_gpu_program4 target, Int32 index, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramLocalParameterI4uivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramLocalParameterI4(GL.Enums.NV_gpu_program4 target, UInt32 index, ref UInt32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramLocalParameterI4uivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramLocalParameterI4(GL.Enums.NV_gpu_program4 target, Int32 index, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramLocalParameterI4uivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramLocalParameterI4(GL.Enums.NV_gpu_program4 target, UInt32 index, UInt32* @params)
|
|
{
|
|
Delegates.glProgramLocalParameterI4uivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (UInt32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramLocalParameterI4(GL.Enums.NV_gpu_program4 target, Int32 index, Int32* @params)
|
|
{
|
|
Delegates.glProgramLocalParameterI4uivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (UInt32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramLocalParametersI4(GL.Enums.NV_gpu_program4 target, UInt32 index, Int32 count, UInt32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramLocalParametersI4uivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramLocalParametersI4(GL.Enums.NV_gpu_program4 target, Int32 index, Int32 count, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramLocalParametersI4uivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramLocalParametersI4(GL.Enums.NV_gpu_program4 target, UInt32 index, Int32 count, ref UInt32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramLocalParametersI4uivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramLocalParametersI4(GL.Enums.NV_gpu_program4 target, Int32 index, Int32 count, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramLocalParametersI4uivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramLocalParametersI4(GL.Enums.NV_gpu_program4 target, UInt32 index, Int32 count, UInt32* @params)
|
|
{
|
|
Delegates.glProgramLocalParametersI4uivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32)count, (UInt32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramLocalParametersI4(GL.Enums.NV_gpu_program4 target, Int32 index, Int32 count, Int32* @params)
|
|
{
|
|
Delegates.glProgramLocalParametersI4uivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32)count, (UInt32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramEnvParameterI4(GL.Enums.NV_gpu_program4 target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w)
|
|
{
|
|
Delegates.glProgramEnvParameterI4iNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramEnvParameterI4(GL.Enums.NV_gpu_program4 target, UInt32 index, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramEnvParameterI4ivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramEnvParameterI4(GL.Enums.NV_gpu_program4 target, UInt32 index, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramEnvParameterI4ivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramEnvParameterI4(GL.Enums.NV_gpu_program4 target, UInt32 index, Int32* @params)
|
|
{
|
|
Delegates.glProgramEnvParameterI4ivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramEnvParametersI4(GL.Enums.NV_gpu_program4 target, UInt32 index, Int32 count, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramEnvParametersI4ivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramEnvParametersI4(GL.Enums.NV_gpu_program4 target, UInt32 index, Int32 count, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramEnvParametersI4ivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramEnvParametersI4(GL.Enums.NV_gpu_program4 target, UInt32 index, Int32 count, Int32* @params)
|
|
{
|
|
Delegates.glProgramEnvParametersI4ivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32)count, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramEnvParameterI4(GL.Enums.NV_gpu_program4 target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w)
|
|
{
|
|
Delegates.glProgramEnvParameterI4uiNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w);
|
|
}
|
|
|
|
public static
|
|
void ProgramEnvParameterI4(GL.Enums.NV_gpu_program4 target, Int32 index, Int32 x, Int32 y, Int32 z, Int32 w)
|
|
{
|
|
Delegates.glProgramEnvParameterI4uiNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramEnvParameterI4(GL.Enums.NV_gpu_program4 target, UInt32 index, UInt32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramEnvParameterI4uivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramEnvParameterI4(GL.Enums.NV_gpu_program4 target, Int32 index, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramEnvParameterI4uivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramEnvParameterI4(GL.Enums.NV_gpu_program4 target, UInt32 index, ref UInt32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramEnvParameterI4uivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramEnvParameterI4(GL.Enums.NV_gpu_program4 target, Int32 index, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramEnvParameterI4uivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramEnvParameterI4(GL.Enums.NV_gpu_program4 target, UInt32 index, UInt32* @params)
|
|
{
|
|
Delegates.glProgramEnvParameterI4uivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (UInt32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramEnvParameterI4(GL.Enums.NV_gpu_program4 target, Int32 index, Int32* @params)
|
|
{
|
|
Delegates.glProgramEnvParameterI4uivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (UInt32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramEnvParametersI4(GL.Enums.NV_gpu_program4 target, UInt32 index, Int32 count, UInt32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramEnvParametersI4uivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramEnvParametersI4(GL.Enums.NV_gpu_program4 target, Int32 index, Int32 count, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramEnvParametersI4uivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramEnvParametersI4(GL.Enums.NV_gpu_program4 target, UInt32 index, Int32 count, ref UInt32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramEnvParametersI4uivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramEnvParametersI4(GL.Enums.NV_gpu_program4 target, Int32 index, Int32 count, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramEnvParametersI4uivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramEnvParametersI4(GL.Enums.NV_gpu_program4 target, UInt32 index, Int32 count, UInt32* @params)
|
|
{
|
|
Delegates.glProgramEnvParametersI4uivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32)count, (UInt32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramEnvParametersI4(GL.Enums.NV_gpu_program4 target, Int32 index, Int32 count, Int32* @params)
|
|
{
|
|
Delegates.glProgramEnvParametersI4uivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32)count, (UInt32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgramLocalParameterI(GL.Enums.NV_gpu_program4 target, UInt32 index, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetProgramLocalParameterIivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgramLocalParameterI(GL.Enums.NV_gpu_program4 target, UInt32 index, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetProgramLocalParameterIivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgramLocalParameterI(GL.Enums.NV_gpu_program4 target, UInt32 index, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetProgramLocalParameterIivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgramLocalParameterI(GL.Enums.NV_gpu_program4 target, UInt32 index, [Out] UInt32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetProgramLocalParameterIuivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgramLocalParameterI(GL.Enums.NV_gpu_program4 target, Int32 index, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetProgramLocalParameterIuivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgramLocalParameterI(GL.Enums.NV_gpu_program4 target, UInt32 index, [Out] out UInt32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetProgramLocalParameterIuivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (UInt32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgramLocalParameterI(GL.Enums.NV_gpu_program4 target, Int32 index, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetProgramLocalParameterIuivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (UInt32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgramLocalParameterI(GL.Enums.NV_gpu_program4 target, UInt32 index, [Out] UInt32* @params)
|
|
{
|
|
Delegates.glGetProgramLocalParameterIuivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (UInt32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgramLocalParameterI(GL.Enums.NV_gpu_program4 target, Int32 index, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetProgramLocalParameterIuivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (UInt32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgramEnvParameterI(GL.Enums.NV_gpu_program4 target, UInt32 index, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetProgramEnvParameterIivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgramEnvParameterI(GL.Enums.NV_gpu_program4 target, UInt32 index, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetProgramEnvParameterIivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgramEnvParameterI(GL.Enums.NV_gpu_program4 target, UInt32 index, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetProgramEnvParameterIivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgramEnvParameterI(GL.Enums.NV_gpu_program4 target, UInt32 index, [Out] UInt32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetProgramEnvParameterIuivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgramEnvParameterI(GL.Enums.NV_gpu_program4 target, Int32 index, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetProgramEnvParameterIuivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetProgramEnvParameterI(GL.Enums.NV_gpu_program4 target, UInt32 index, [Out] out UInt32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetProgramEnvParameterIuivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (UInt32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetProgramEnvParameterI(GL.Enums.NV_gpu_program4 target, Int32 index, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetProgramEnvParameterIuivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (UInt32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgramEnvParameterI(GL.Enums.NV_gpu_program4 target, UInt32 index, [Out] UInt32* @params)
|
|
{
|
|
Delegates.glGetProgramEnvParameterIuivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (UInt32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetProgramEnvParameterI(GL.Enums.NV_gpu_program4 target, Int32 index, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetProgramEnvParameterIuivNV((GL.Enums.NV_gpu_program4)target, (UInt32)index, (UInt32*)@params);
|
|
}
|
|
|
|
public static
|
|
void ProgramVertexLimit(GL.Enums.NV_geometry_program4 target, Int32 limit)
|
|
{
|
|
Delegates.glProgramVertexLimitNV((GL.Enums.NV_geometry_program4)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(GL.Enums.NV_framebuffer_multisample_coverage target, Int32 coverageSamples, Int32 colorSamples, GL.Enums.PixelInternalFormat internalformat, Int32 width, Int32 height)
|
|
{
|
|
Delegates.glRenderbufferStorageMultisampleCoverageNV((GL.Enums.NV_framebuffer_multisample_coverage)target, (Int32)coverageSamples, (Int32)colorSamples, (GL.Enums.PixelInternalFormat)internalformat, (Int32)width, (Int32)height);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramBufferParameters(GL.Enums.NV_parameter_buffer_object target, UInt32 buffer, UInt32 index, Int32 count, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramBufferParametersfvNV((GL.Enums.NV_parameter_buffer_object)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramBufferParameters(GL.Enums.NV_parameter_buffer_object target, Int32 buffer, Int32 index, Int32 count, Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramBufferParametersfvNV((GL.Enums.NV_parameter_buffer_object)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramBufferParameters(GL.Enums.NV_parameter_buffer_object target, UInt32 buffer, UInt32 index, Int32 count, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramBufferParametersfvNV((GL.Enums.NV_parameter_buffer_object)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramBufferParameters(GL.Enums.NV_parameter_buffer_object target, Int32 buffer, Int32 index, Int32 count, ref Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramBufferParametersfvNV((GL.Enums.NV_parameter_buffer_object)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramBufferParameters(GL.Enums.NV_parameter_buffer_object target, UInt32 buffer, UInt32 index, Int32 count, Single* @params)
|
|
{
|
|
Delegates.glProgramBufferParametersfvNV((GL.Enums.NV_parameter_buffer_object)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramBufferParameters(GL.Enums.NV_parameter_buffer_object target, Int32 buffer, Int32 index, Int32 count, Single* @params)
|
|
{
|
|
Delegates.glProgramBufferParametersfvNV((GL.Enums.NV_parameter_buffer_object)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramBufferParametersI(GL.Enums.NV_parameter_buffer_object target, UInt32 buffer, UInt32 index, Int32 count, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramBufferParametersIivNV((GL.Enums.NV_parameter_buffer_object)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramBufferParametersI(GL.Enums.NV_parameter_buffer_object target, UInt32 buffer, UInt32 index, Int32 count, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramBufferParametersIivNV((GL.Enums.NV_parameter_buffer_object)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramBufferParametersI(GL.Enums.NV_parameter_buffer_object target, UInt32 buffer, UInt32 index, Int32 count, Int32* @params)
|
|
{
|
|
Delegates.glProgramBufferParametersIivNV((GL.Enums.NV_parameter_buffer_object)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramBufferParametersI(GL.Enums.NV_parameter_buffer_object target, UInt32 buffer, UInt32 index, Int32 count, UInt32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramBufferParametersIuivNV((GL.Enums.NV_parameter_buffer_object)target, (UInt32)buffer, (UInt32)index, (Int32)count, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramBufferParametersI(GL.Enums.NV_parameter_buffer_object target, Int32 buffer, Int32 index, Int32 count, Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glProgramBufferParametersIuivNV((GL.Enums.NV_parameter_buffer_object)target, (UInt32)buffer, (UInt32)index, (Int32)count, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ProgramBufferParametersI(GL.Enums.NV_parameter_buffer_object target, UInt32 buffer, UInt32 index, Int32 count, ref UInt32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (UInt32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramBufferParametersIuivNV((GL.Enums.NV_parameter_buffer_object)target, (UInt32)buffer, (UInt32)index, (Int32)count, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ProgramBufferParametersI(GL.Enums.NV_parameter_buffer_object target, Int32 buffer, Int32 index, Int32 count, ref Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glProgramBufferParametersIuivNV((GL.Enums.NV_parameter_buffer_object)target, (UInt32)buffer, (UInt32)index, (Int32)count, (UInt32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramBufferParametersI(GL.Enums.NV_parameter_buffer_object target, UInt32 buffer, UInt32 index, Int32 count, UInt32* @params)
|
|
{
|
|
Delegates.glProgramBufferParametersIuivNV((GL.Enums.NV_parameter_buffer_object)target, (UInt32)buffer, (UInt32)index, (Int32)count, (UInt32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void ProgramBufferParametersI(GL.Enums.NV_parameter_buffer_object target, Int32 buffer, Int32 index, Int32 count, Int32* @params)
|
|
{
|
|
Delegates.glProgramBufferParametersIuivNV((GL.Enums.NV_parameter_buffer_object)target, (UInt32)buffer, (UInt32)index, (Int32)count, (UInt32*)@params);
|
|
}
|
|
|
|
public static
|
|
void BeginTransformFeedback(GL.Enums.NV_transform_feedback primitiveMode)
|
|
{
|
|
Delegates.glBeginTransformFeedbackNV((GL.Enums.NV_transform_feedback)primitiveMode);
|
|
}
|
|
|
|
public static
|
|
void EndTransformFeedback()
|
|
{
|
|
Delegates.glEndTransformFeedbackNV();
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void TransformFeedbackAttrib(UInt32 count, Int32[] attribs, GL.Enums.NV_transform_feedback bufferMode)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* attribs_ptr = attribs)
|
|
{
|
|
Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs_ptr, (GL.Enums.NV_transform_feedback)bufferMode);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TransformFeedbackAttrib(Int32 count, Int32[] attribs, GL.Enums.NV_transform_feedback bufferMode)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* attribs_ptr = attribs)
|
|
{
|
|
Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs_ptr, (GL.Enums.NV_transform_feedback)bufferMode);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void TransformFeedbackAttrib(UInt32 count, ref Int32 attribs, GL.Enums.NV_transform_feedback bufferMode)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* attribs_ptr = &attribs)
|
|
{
|
|
Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs_ptr, (GL.Enums.NV_transform_feedback)bufferMode);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TransformFeedbackAttrib(Int32 count, ref Int32 attribs, GL.Enums.NV_transform_feedback bufferMode)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* attribs_ptr = &attribs)
|
|
{
|
|
Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs_ptr, (GL.Enums.NV_transform_feedback)bufferMode);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TransformFeedbackAttrib(UInt32 count, Int32* attribs, GL.Enums.NV_transform_feedback bufferMode)
|
|
{
|
|
Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs, (GL.Enums.NV_transform_feedback)bufferMode);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TransformFeedbackAttrib(Int32 count, Int32* attribs, GL.Enums.NV_transform_feedback bufferMode)
|
|
{
|
|
Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs, (GL.Enums.NV_transform_feedback)bufferMode);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void BindBufferRange(GL.Enums.NV_transform_feedback target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size)
|
|
{
|
|
Delegates.glBindBufferRangeNV((GL.Enums.NV_transform_feedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size);
|
|
}
|
|
|
|
public static
|
|
void BindBufferRange(GL.Enums.NV_transform_feedback target, Int32 index, Int32 buffer, IntPtr offset, IntPtr size)
|
|
{
|
|
Delegates.glBindBufferRangeNV((GL.Enums.NV_transform_feedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void BindBufferRange(GL.Enums.NV_transform_feedback target, UInt32 index, UInt32 buffer, [In, Out] object offset, [In, Out] object size)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle offset_ptr = System.Runtime.InteropServices.GCHandle.Alloc(offset, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
System.Runtime.InteropServices.GCHandle size_ptr = System.Runtime.InteropServices.GCHandle.Alloc(size, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glBindBufferRangeNV((GL.Enums.NV_transform_feedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset_ptr.AddrOfPinnedObject(), (IntPtr)size_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
offset_ptr.Free();
|
|
size_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void BindBufferRange(GL.Enums.NV_transform_feedback target, Int32 index, Int32 buffer, [In, Out] object offset, [In, Out] object size)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle offset_ptr = System.Runtime.InteropServices.GCHandle.Alloc(offset, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
System.Runtime.InteropServices.GCHandle size_ptr = System.Runtime.InteropServices.GCHandle.Alloc(size, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glBindBufferRangeNV((GL.Enums.NV_transform_feedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset_ptr.AddrOfPinnedObject(), (IntPtr)size_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
offset_ptr.Free();
|
|
size_ptr.Free();
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void BindBufferOffset(GL.Enums.NV_transform_feedback target, UInt32 index, UInt32 buffer, IntPtr offset)
|
|
{
|
|
Delegates.glBindBufferOffsetNV((GL.Enums.NV_transform_feedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset);
|
|
}
|
|
|
|
public static
|
|
void BindBufferOffset(GL.Enums.NV_transform_feedback target, Int32 index, Int32 buffer, IntPtr offset)
|
|
{
|
|
Delegates.glBindBufferOffsetNV((GL.Enums.NV_transform_feedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void BindBufferOffset(GL.Enums.NV_transform_feedback target, UInt32 index, UInt32 buffer, [In, Out] object offset)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle offset_ptr = System.Runtime.InteropServices.GCHandle.Alloc(offset, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glBindBufferOffsetNV((GL.Enums.NV_transform_feedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
offset_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void BindBufferOffset(GL.Enums.NV_transform_feedback target, Int32 index, Int32 buffer, [In, Out] object offset)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle offset_ptr = System.Runtime.InteropServices.GCHandle.Alloc(offset, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glBindBufferOffsetNV((GL.Enums.NV_transform_feedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
offset_ptr.Free();
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void BindBufferBase(GL.Enums.NV_transform_feedback target, UInt32 index, UInt32 buffer)
|
|
{
|
|
Delegates.glBindBufferBaseNV((GL.Enums.NV_transform_feedback)target, (UInt32)index, (UInt32)buffer);
|
|
}
|
|
|
|
public static
|
|
void BindBufferBase(GL.Enums.NV_transform_feedback target, Int32 index, Int32 buffer)
|
|
{
|
|
Delegates.glBindBufferBaseNV((GL.Enums.NV_transform_feedback)target, (UInt32)index, (UInt32)buffer);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void TransformFeedbackVarying(UInt32 program, Int32 count, Int32[] locations, GL.Enums.NV_transform_feedback bufferMode)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* locations_ptr = locations)
|
|
{
|
|
Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations_ptr, (GL.Enums.NV_transform_feedback)bufferMode);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TransformFeedbackVarying(Int32 program, Int32 count, Int32[] locations, GL.Enums.NV_transform_feedback bufferMode)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* locations_ptr = locations)
|
|
{
|
|
Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations_ptr, (GL.Enums.NV_transform_feedback)bufferMode);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void TransformFeedbackVarying(UInt32 program, Int32 count, ref Int32 locations, GL.Enums.NV_transform_feedback bufferMode)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* locations_ptr = &locations)
|
|
{
|
|
Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations_ptr, (GL.Enums.NV_transform_feedback)bufferMode);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TransformFeedbackVarying(Int32 program, Int32 count, ref Int32 locations, GL.Enums.NV_transform_feedback bufferMode)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* locations_ptr = &locations)
|
|
{
|
|
Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations_ptr, (GL.Enums.NV_transform_feedback)bufferMode);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TransformFeedbackVarying(UInt32 program, Int32 count, Int32* locations, GL.Enums.NV_transform_feedback bufferMode)
|
|
{
|
|
Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations, (GL.Enums.NV_transform_feedback)bufferMode);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TransformFeedbackVarying(Int32 program, Int32 count, Int32* locations, GL.Enums.NV_transform_feedback bufferMode)
|
|
{
|
|
Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations, (GL.Enums.NV_transform_feedback)bufferMode);
|
|
}
|
|
|
|
[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] GL.Enums.NV_transform_feedback[] type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = length)
|
|
fixed (Int32* size_ptr = size)
|
|
fixed (GL.Enums.NV_transform_feedback* type_ptr = type)
|
|
{
|
|
Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.NV_transform_feedback*)type_ptr, (System.Text.StringBuilder)name);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] Int32[] length, [Out] Int32[] size, [Out] GL.Enums.NV_transform_feedback[] type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = length)
|
|
fixed (Int32* size_ptr = size)
|
|
fixed (GL.Enums.NV_transform_feedback* type_ptr = type)
|
|
{
|
|
Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.NV_transform_feedback*)type_ptr, (System.Text.StringBuilder)name);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out GL.Enums.NV_transform_feedback type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = &length)
|
|
fixed (Int32* size_ptr = &size)
|
|
fixed (GL.Enums.NV_transform_feedback* type_ptr = &type)
|
|
{
|
|
Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.NV_transform_feedback*)type_ptr, (System.Text.StringBuilder)name);
|
|
length = *length_ptr;
|
|
size = *size_ptr;
|
|
type = *type_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out GL.Enums.NV_transform_feedback type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* length_ptr = &length)
|
|
fixed (Int32* size_ptr = &size)
|
|
fixed (GL.Enums.NV_transform_feedback* type_ptr = &type)
|
|
{
|
|
Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (GL.Enums.NV_transform_feedback*)type_ptr, (System.Text.StringBuilder)name);
|
|
length = *length_ptr;
|
|
size = *size_ptr;
|
|
type = *type_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] GL.Enums.NV_transform_feedback* type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (GL.Enums.NV_transform_feedback*)type, (System.Text.StringBuilder)name);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] GL.Enums.NV_transform_feedback* type, [Out] System.Text.StringBuilder name)
|
|
{
|
|
Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (GL.Enums.NV_transform_feedback*)type, (System.Text.StringBuilder)name);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
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 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(GL.Enums.BeginMode[] mode, Int32[] first, Int32[] count, Int32 primcount, Int32 modestride)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (GL.Enums.BeginMode* mode_ptr = mode)
|
|
fixed (Int32* first_ptr = first)
|
|
fixed (Int32* count_ptr = count)
|
|
{
|
|
Delegates.glMultiModeDrawArraysIBM((GL.Enums.BeginMode*)mode_ptr, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount, (Int32)modestride);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiModeDrawArrays(ref GL.Enums.BeginMode mode, ref Int32 first, ref Int32 count, Int32 primcount, Int32 modestride)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (GL.Enums.BeginMode* mode_ptr = &mode)
|
|
fixed (Int32* first_ptr = &first)
|
|
fixed (Int32* count_ptr = &count)
|
|
{
|
|
Delegates.glMultiModeDrawArraysIBM((GL.Enums.BeginMode*)mode_ptr, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount, (Int32)modestride);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiModeDrawArrays(GL.Enums.BeginMode* mode, Int32* first, Int32* count, Int32 primcount, Int32 modestride)
|
|
{
|
|
Delegates.glMultiModeDrawArraysIBM((GL.Enums.BeginMode*)mode, (Int32*)first, (Int32*)count, (Int32)primcount, (Int32)modestride);
|
|
}
|
|
|
|
public static
|
|
void MultiModeDrawElements(GL.Enums.BeginMode[] mode, Int32[] count, GL.Enums.IBM_multimode_draw_arrays type, IntPtr indices, Int32 primcount, Int32 modestride)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (GL.Enums.BeginMode* mode_ptr = mode)
|
|
fixed (Int32* count_ptr = count)
|
|
{
|
|
Delegates.glMultiModeDrawElementsIBM((GL.Enums.BeginMode*)mode_ptr, (Int32*)count_ptr, (GL.Enums.IBM_multimode_draw_arrays)type, (IntPtr)indices, (Int32)primcount, (Int32)modestride);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiModeDrawElements(GL.Enums.BeginMode* mode, Int32* count, GL.Enums.IBM_multimode_draw_arrays type, [In, Out] object indices, Int32 primcount, Int32 modestride)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glMultiModeDrawElementsIBM((GL.Enums.BeginMode*)mode, (Int32*)count, (GL.Enums.IBM_multimode_draw_arrays)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride);
|
|
}
|
|
finally
|
|
{
|
|
indices_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiModeDrawElements(ref GL.Enums.BeginMode mode, ref Int32 count, GL.Enums.IBM_multimode_draw_arrays type, [In, Out] object indices, Int32 primcount, Int32 modestride)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (GL.Enums.BeginMode* mode_ptr = &mode)
|
|
fixed (Int32* count_ptr = &count)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glMultiModeDrawElementsIBM((GL.Enums.BeginMode*)mode_ptr, (Int32*)count_ptr, (GL.Enums.IBM_multimode_draw_arrays)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride);
|
|
}
|
|
finally
|
|
{
|
|
indices_ptr.Free();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void ColorPointerList(Int32 size, GL.Enums.ColorPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride)
|
|
{
|
|
Delegates.glColorPointerListIBM((Int32)size, (GL.Enums.ColorPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride);
|
|
}
|
|
|
|
public static
|
|
void ColorPointerList(Int32 size, GL.Enums.ColorPointerType type, Int32 stride, [In, Out] object pointer, Int32 ptrstride)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glColorPointerListIBM((Int32)size, (GL.Enums.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride);
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void SecondaryColorPointerList(Int32 size, GL.Enums.IBM_vertex_array_lists type, Int32 stride, IntPtr pointer, Int32 ptrstride)
|
|
{
|
|
Delegates.glSecondaryColorPointerListIBM((Int32)size, (GL.Enums.IBM_vertex_array_lists)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride);
|
|
}
|
|
|
|
public static
|
|
void SecondaryColorPointerList(Int32 size, GL.Enums.IBM_vertex_array_lists type, Int32 stride, [In, Out] object pointer, Int32 ptrstride)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glSecondaryColorPointerListIBM((Int32)size, (GL.Enums.IBM_vertex_array_lists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride);
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void EdgeFlagPointerList(Int32 stride, Boolean* pointer, Int32 ptrstride)
|
|
{
|
|
Delegates.glEdgeFlagPointerListIBM((Int32)stride, (Boolean*)pointer, (Int32)ptrstride);
|
|
}
|
|
|
|
public static
|
|
void FogCoordPointerList(GL.Enums.IBM_vertex_array_lists type, Int32 stride, IntPtr pointer, Int32 ptrstride)
|
|
{
|
|
Delegates.glFogCoordPointerListIBM((GL.Enums.IBM_vertex_array_lists)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride);
|
|
}
|
|
|
|
public static
|
|
void FogCoordPointerList(GL.Enums.IBM_vertex_array_lists type, Int32 stride, [In, Out] object pointer, Int32 ptrstride)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glFogCoordPointerListIBM((GL.Enums.IBM_vertex_array_lists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride);
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void IndexPointerList(GL.Enums.IndexPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride)
|
|
{
|
|
Delegates.glIndexPointerListIBM((GL.Enums.IndexPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride);
|
|
}
|
|
|
|
public static
|
|
void IndexPointerList(GL.Enums.IndexPointerType type, Int32 stride, [In, Out] object pointer, Int32 ptrstride)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glIndexPointerListIBM((GL.Enums.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride);
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void NormalPointerList(GL.Enums.NormalPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride)
|
|
{
|
|
Delegates.glNormalPointerListIBM((GL.Enums.NormalPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride);
|
|
}
|
|
|
|
public static
|
|
void NormalPointerList(GL.Enums.NormalPointerType type, Int32 stride, [In, Out] object pointer, Int32 ptrstride)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glNormalPointerListIBM((GL.Enums.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride);
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexCoordPointerList(Int32 size, GL.Enums.TexCoordPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride)
|
|
{
|
|
Delegates.glTexCoordPointerListIBM((Int32)size, (GL.Enums.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride);
|
|
}
|
|
|
|
public static
|
|
void TexCoordPointerList(Int32 size, GL.Enums.TexCoordPointerType type, Int32 stride, [In, Out] object pointer, Int32 ptrstride)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glTexCoordPointerListIBM((Int32)size, (GL.Enums.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride);
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexPointerList(Int32 size, GL.Enums.VertexPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride)
|
|
{
|
|
Delegates.glVertexPointerListIBM((Int32)size, (GL.Enums.VertexPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride);
|
|
}
|
|
|
|
public static
|
|
void VertexPointerList(Int32 size, GL.Enums.VertexPointerType type, Int32 stride, [In, Out] object pointer, Int32 ptrstride)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glVertexPointerListIBM((Int32)size, (GL.Enums.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(GL.Enums.ATI_envmap_bumpmap pname, Int32[] param)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* param_ptr = param)
|
|
{
|
|
Delegates.glTexBumpParameterivATI((GL.Enums.ATI_envmap_bumpmap)pname, (Int32*)param_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexBumpParameter(GL.Enums.ATI_envmap_bumpmap pname, ref Int32 param)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* param_ptr = ¶m)
|
|
{
|
|
Delegates.glTexBumpParameterivATI((GL.Enums.ATI_envmap_bumpmap)pname, (Int32*)param_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexBumpParameter(GL.Enums.ATI_envmap_bumpmap pname, Int32* param)
|
|
{
|
|
Delegates.glTexBumpParameterivATI((GL.Enums.ATI_envmap_bumpmap)pname, (Int32*)param);
|
|
}
|
|
|
|
public static
|
|
void TexBumpParameter(GL.Enums.ATI_envmap_bumpmap pname, Single[] param)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* param_ptr = param)
|
|
{
|
|
Delegates.glTexBumpParameterfvATI((GL.Enums.ATI_envmap_bumpmap)pname, (Single*)param_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void TexBumpParameter(GL.Enums.ATI_envmap_bumpmap pname, ref Single param)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* param_ptr = ¶m)
|
|
{
|
|
Delegates.glTexBumpParameterfvATI((GL.Enums.ATI_envmap_bumpmap)pname, (Single*)param_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void TexBumpParameter(GL.Enums.ATI_envmap_bumpmap pname, Single* param)
|
|
{
|
|
Delegates.glTexBumpParameterfvATI((GL.Enums.ATI_envmap_bumpmap)pname, (Single*)param);
|
|
}
|
|
|
|
public static
|
|
void GetTexBumpParameter(GL.Enums.ATI_envmap_bumpmap pname, [Out] Int32[] param)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* param_ptr = param)
|
|
{
|
|
Delegates.glGetTexBumpParameterivATI((GL.Enums.ATI_envmap_bumpmap)pname, (Int32*)param_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetTexBumpParameter(GL.Enums.ATI_envmap_bumpmap pname, [Out] out Int32 param)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* param_ptr = ¶m)
|
|
{
|
|
Delegates.glGetTexBumpParameterivATI((GL.Enums.ATI_envmap_bumpmap)pname, (Int32*)param_ptr);
|
|
param = *param_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetTexBumpParameter(GL.Enums.ATI_envmap_bumpmap pname, [Out] Int32* param)
|
|
{
|
|
Delegates.glGetTexBumpParameterivATI((GL.Enums.ATI_envmap_bumpmap)pname, (Int32*)param);
|
|
}
|
|
|
|
public static
|
|
void GetTexBumpParameter(GL.Enums.ATI_envmap_bumpmap pname, [Out] Single[] param)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* param_ptr = param)
|
|
{
|
|
Delegates.glGetTexBumpParameterfvATI((GL.Enums.ATI_envmap_bumpmap)pname, (Single*)param_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetTexBumpParameter(GL.Enums.ATI_envmap_bumpmap pname, [Out] out Single param)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* param_ptr = ¶m)
|
|
{
|
|
Delegates.glGetTexBumpParameterfvATI((GL.Enums.ATI_envmap_bumpmap)pname, (Single*)param_ptr);
|
|
param = *param_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetTexBumpParameter(GL.Enums.ATI_envmap_bumpmap pname, [Out] Single* param)
|
|
{
|
|
Delegates.glGetTexBumpParameterfvATI((GL.Enums.ATI_envmap_bumpmap)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, GL.Enums.ATI_fragment_shader swizzle)
|
|
{
|
|
Delegates.glPassTexCoordATI((UInt32)dst, (UInt32)coord, (GL.Enums.ATI_fragment_shader)swizzle);
|
|
}
|
|
|
|
public static
|
|
void PassTexCoor(Int32 dst, Int32 coord, GL.Enums.ATI_fragment_shader swizzle)
|
|
{
|
|
Delegates.glPassTexCoordATI((UInt32)dst, (UInt32)coord, (GL.Enums.ATI_fragment_shader)swizzle);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void SampleMap(UInt32 dst, UInt32 interp, GL.Enums.ATI_fragment_shader swizzle)
|
|
{
|
|
Delegates.glSampleMapATI((UInt32)dst, (UInt32)interp, (GL.Enums.ATI_fragment_shader)swizzle);
|
|
}
|
|
|
|
public static
|
|
void SampleMap(Int32 dst, Int32 interp, GL.Enums.ATI_fragment_shader swizzle)
|
|
{
|
|
Delegates.glSampleMapATI((UInt32)dst, (UInt32)interp, (GL.Enums.ATI_fragment_shader)swizzle);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ColorFragmentOp1(GL.Enums.ATI_fragment_shader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod)
|
|
{
|
|
Delegates.glColorFragmentOp1ATI((GL.Enums.ATI_fragment_shader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod);
|
|
}
|
|
|
|
public static
|
|
void ColorFragmentOp1(GL.Enums.ATI_fragment_shader op, Int32 dst, Int32 dstMask, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod)
|
|
{
|
|
Delegates.glColorFragmentOp1ATI((GL.Enums.ATI_fragment_shader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void ColorFragmentOp2(GL.Enums.ATI_fragment_shader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod)
|
|
{
|
|
Delegates.glColorFragmentOp2ATI((GL.Enums.ATI_fragment_shader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod);
|
|
}
|
|
|
|
public static
|
|
void ColorFragmentOp2(GL.Enums.ATI_fragment_shader op, Int32 dst, Int32 dstMask, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod, Int32 arg2, Int32 arg2Rep, Int32 arg2Mod)
|
|
{
|
|
Delegates.glColorFragmentOp2ATI((GL.Enums.ATI_fragment_shader)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(GL.Enums.ATI_fragment_shader 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((GL.Enums.ATI_fragment_shader)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(GL.Enums.ATI_fragment_shader 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((GL.Enums.ATI_fragment_shader)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(GL.Enums.ATI_fragment_shader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod)
|
|
{
|
|
Delegates.glAlphaFragmentOp1ATI((GL.Enums.ATI_fragment_shader)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod);
|
|
}
|
|
|
|
public static
|
|
void AlphaFragmentOp1(GL.Enums.ATI_fragment_shader op, Int32 dst, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod)
|
|
{
|
|
Delegates.glAlphaFragmentOp1ATI((GL.Enums.ATI_fragment_shader)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void AlphaFragmentOp2(GL.Enums.ATI_fragment_shader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod)
|
|
{
|
|
Delegates.glAlphaFragmentOp2ATI((GL.Enums.ATI_fragment_shader)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod);
|
|
}
|
|
|
|
public static
|
|
void AlphaFragmentOp2(GL.Enums.ATI_fragment_shader op, Int32 dst, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod, Int32 arg2, Int32 arg2Rep, Int32 arg2Mod)
|
|
{
|
|
Delegates.glAlphaFragmentOp2ATI((GL.Enums.ATI_fragment_shader)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void AlphaFragmentOp3(GL.Enums.ATI_fragment_shader 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((GL.Enums.ATI_fragment_shader)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(GL.Enums.ATI_fragment_shader 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((GL.Enums.ATI_fragment_shader)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(GL.Enums.ATI_pn_triangles pname, Int32 param)
|
|
{
|
|
Delegates.glPNTrianglesiATI((GL.Enums.ATI_pn_triangles)pname, (Int32)param);
|
|
}
|
|
|
|
public static
|
|
void PNTriangles(GL.Enums.ATI_pn_triangles pname, Single param)
|
|
{
|
|
Delegates.glPNTrianglesfATI((GL.Enums.ATI_pn_triangles)pname, (Single)param);
|
|
}
|
|
|
|
public static
|
|
Int32 NewObjectBuffer(Int32 size, IntPtr pointer, GL.Enums.ATI_vertex_array_object usage)
|
|
{
|
|
return Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer, (GL.Enums.ATI_vertex_array_object)usage);
|
|
}
|
|
|
|
public static
|
|
Int32 NewObjectBuffer(Int32 size, [In, Out] object pointer, GL.Enums.ATI_vertex_array_object usage)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
return Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (GL.Enums.ATI_vertex_array_object)usage);
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
Boolean IsObjectBuffer(UInt32 buffer)
|
|
{
|
|
return Delegates.glIsObjectBufferATI((UInt32)buffer);
|
|
}
|
|
|
|
public static
|
|
Boolean IsObjectBuffer(Int32 buffer)
|
|
{
|
|
return Delegates.glIsObjectBufferATI((UInt32)buffer);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, IntPtr pointer, GL.Enums.ATI_vertex_array_object preserve)
|
|
{
|
|
Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer, (GL.Enums.ATI_vertex_array_object)preserve);
|
|
}
|
|
|
|
public static
|
|
void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, IntPtr pointer, GL.Enums.ATI_vertex_array_object preserve)
|
|
{
|
|
Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer, (GL.Enums.ATI_vertex_array_object)preserve);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, [In, Out] object pointer, GL.Enums.ATI_vertex_array_object preserve)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (GL.Enums.ATI_vertex_array_object)preserve);
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, [In, Out] object pointer, GL.Enums.ATI_vertex_array_object preserve)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (GL.Enums.ATI_vertex_array_object)preserve);
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetObjectBuffer(UInt32 buffer, GL.Enums.ATI_vertex_array_object pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetObjectBufferfvATI((UInt32)buffer, (GL.Enums.ATI_vertex_array_object)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetObjectBuffer(Int32 buffer, GL.Enums.ATI_vertex_array_object pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetObjectBufferfvATI((UInt32)buffer, (GL.Enums.ATI_vertex_array_object)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetObjectBuffer(UInt32 buffer, GL.Enums.ATI_vertex_array_object pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetObjectBufferfvATI((UInt32)buffer, (GL.Enums.ATI_vertex_array_object)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetObjectBuffer(Int32 buffer, GL.Enums.ATI_vertex_array_object pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetObjectBufferfvATI((UInt32)buffer, (GL.Enums.ATI_vertex_array_object)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetObjectBuffer(UInt32 buffer, GL.Enums.ATI_vertex_array_object pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetObjectBufferfvATI((UInt32)buffer, (GL.Enums.ATI_vertex_array_object)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetObjectBuffer(Int32 buffer, GL.Enums.ATI_vertex_array_object pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetObjectBufferfvATI((UInt32)buffer, (GL.Enums.ATI_vertex_array_object)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetObjectBuffer(UInt32 buffer, GL.Enums.ATI_vertex_array_object pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetObjectBufferivATI((UInt32)buffer, (GL.Enums.ATI_vertex_array_object)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetObjectBuffer(Int32 buffer, GL.Enums.ATI_vertex_array_object pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetObjectBufferivATI((UInt32)buffer, (GL.Enums.ATI_vertex_array_object)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetObjectBuffer(UInt32 buffer, GL.Enums.ATI_vertex_array_object pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetObjectBufferivATI((UInt32)buffer, (GL.Enums.ATI_vertex_array_object)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetObjectBuffer(Int32 buffer, GL.Enums.ATI_vertex_array_object pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetObjectBufferivATI((UInt32)buffer, (GL.Enums.ATI_vertex_array_object)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetObjectBuffer(UInt32 buffer, GL.Enums.ATI_vertex_array_object pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetObjectBufferivATI((UInt32)buffer, (GL.Enums.ATI_vertex_array_object)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetObjectBuffer(Int32 buffer, GL.Enums.ATI_vertex_array_object pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetObjectBufferivATI((UInt32)buffer, (GL.Enums.ATI_vertex_array_object)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(GL.Enums.EnableCap array, Int32 size, GL.Enums.ATI_vertex_array_object type, Int32 stride, UInt32 buffer, UInt32 offset)
|
|
{
|
|
Delegates.glArrayObjectATI((GL.Enums.EnableCap)array, (Int32)size, (GL.Enums.ATI_vertex_array_object)type, (Int32)stride, (UInt32)buffer, (UInt32)offset);
|
|
}
|
|
|
|
public static
|
|
void ArrayObject(GL.Enums.EnableCap array, Int32 size, GL.Enums.ATI_vertex_array_object type, Int32 stride, Int32 buffer, Int32 offset)
|
|
{
|
|
Delegates.glArrayObjectATI((GL.Enums.EnableCap)array, (Int32)size, (GL.Enums.ATI_vertex_array_object)type, (Int32)stride, (UInt32)buffer, (UInt32)offset);
|
|
}
|
|
|
|
public static
|
|
void GetArrayObject(GL.Enums.EnableCap array, GL.Enums.ATI_vertex_array_object pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetArrayObjectfvATI((GL.Enums.EnableCap)array, (GL.Enums.ATI_vertex_array_object)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetArrayObject(GL.Enums.EnableCap array, GL.Enums.ATI_vertex_array_object pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetArrayObjectfvATI((GL.Enums.EnableCap)array, (GL.Enums.ATI_vertex_array_object)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetArrayObject(GL.Enums.EnableCap array, GL.Enums.ATI_vertex_array_object pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetArrayObjectfvATI((GL.Enums.EnableCap)array, (GL.Enums.ATI_vertex_array_object)pname, (Single*)@params);
|
|
}
|
|
|
|
public static
|
|
void GetArrayObject(GL.Enums.EnableCap array, GL.Enums.ATI_vertex_array_object pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetArrayObjectivATI((GL.Enums.EnableCap)array, (GL.Enums.ATI_vertex_array_object)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetArrayObject(GL.Enums.EnableCap array, GL.Enums.ATI_vertex_array_object pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetArrayObjectivATI((GL.Enums.EnableCap)array, (GL.Enums.ATI_vertex_array_object)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetArrayObject(GL.Enums.EnableCap array, GL.Enums.ATI_vertex_array_object pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetArrayObjectivATI((GL.Enums.EnableCap)array, (GL.Enums.ATI_vertex_array_object)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VariantArrayObject(UInt32 id, GL.Enums.ATI_vertex_array_object type, Int32 stride, UInt32 buffer, UInt32 offset)
|
|
{
|
|
Delegates.glVariantArrayObjectATI((UInt32)id, (GL.Enums.ATI_vertex_array_object)type, (Int32)stride, (UInt32)buffer, (UInt32)offset);
|
|
}
|
|
|
|
public static
|
|
void VariantArrayObject(Int32 id, GL.Enums.ATI_vertex_array_object type, Int32 stride, Int32 buffer, Int32 offset)
|
|
{
|
|
Delegates.glVariantArrayObjectATI((UInt32)id, (GL.Enums.ATI_vertex_array_object)type, (Int32)stride, (UInt32)buffer, (UInt32)offset);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVariantArrayObject(UInt32 id, GL.Enums.ATI_vertex_array_object pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (GL.Enums.ATI_vertex_array_object)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVariantArrayObject(Int32 id, GL.Enums.ATI_vertex_array_object pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (GL.Enums.ATI_vertex_array_object)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVariantArrayObject(UInt32 id, GL.Enums.ATI_vertex_array_object pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (GL.Enums.ATI_vertex_array_object)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVariantArrayObject(Int32 id, GL.Enums.ATI_vertex_array_object pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (GL.Enums.ATI_vertex_array_object)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVariantArrayObject(UInt32 id, GL.Enums.ATI_vertex_array_object pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (GL.Enums.ATI_vertex_array_object)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVariantArrayObject(Int32 id, GL.Enums.ATI_vertex_array_object pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (GL.Enums.ATI_vertex_array_object)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVariantArrayObject(UInt32 id, GL.Enums.ATI_vertex_array_object pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVariantArrayObjectivATI((UInt32)id, (GL.Enums.ATI_vertex_array_object)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVariantArrayObject(Int32 id, GL.Enums.ATI_vertex_array_object pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVariantArrayObjectivATI((UInt32)id, (GL.Enums.ATI_vertex_array_object)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVariantArrayObject(UInt32 id, GL.Enums.ATI_vertex_array_object pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVariantArrayObjectivATI((UInt32)id, (GL.Enums.ATI_vertex_array_object)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVariantArrayObject(Int32 id, GL.Enums.ATI_vertex_array_object pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVariantArrayObjectivATI((UInt32)id, (GL.Enums.ATI_vertex_array_object)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVariantArrayObject(UInt32 id, GL.Enums.ATI_vertex_array_object pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetVariantArrayObjectivATI((UInt32)id, (GL.Enums.ATI_vertex_array_object)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVariantArrayObject(Int32 id, GL.Enums.ATI_vertex_array_object pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetVariantArrayObjectivATI((UInt32)id, (GL.Enums.ATI_vertex_array_object)pname, (Int32*)@params);
|
|
}
|
|
|
|
public static
|
|
void VertexStream1(GL.Enums.ATI_vertex_streams stream, Int16 x)
|
|
{
|
|
Delegates.glVertexStream1sATI((GL.Enums.ATI_vertex_streams)stream, (Int16)x);
|
|
}
|
|
|
|
public static
|
|
void VertexStream1v(GL.Enums.ATI_vertex_streams stream, Int16[] coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* coords_ptr = coords)
|
|
{
|
|
Delegates.glVertexStream1svATI((GL.Enums.ATI_vertex_streams)stream, (Int16*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexStream1v(GL.Enums.ATI_vertex_streams stream, ref Int16 coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* coords_ptr = &coords)
|
|
{
|
|
Delegates.glVertexStream1svATI((GL.Enums.ATI_vertex_streams)stream, (Int16*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexStream1v(GL.Enums.ATI_vertex_streams stream, Int16* coords)
|
|
{
|
|
Delegates.glVertexStream1svATI((GL.Enums.ATI_vertex_streams)stream, (Int16*)coords);
|
|
}
|
|
|
|
public static
|
|
void VertexStream1(GL.Enums.ATI_vertex_streams stream, Int32 x)
|
|
{
|
|
Delegates.glVertexStream1iATI((GL.Enums.ATI_vertex_streams)stream, (Int32)x);
|
|
}
|
|
|
|
public static
|
|
void VertexStream1v(GL.Enums.ATI_vertex_streams stream, Int32[] coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* coords_ptr = coords)
|
|
{
|
|
Delegates.glVertexStream1ivATI((GL.Enums.ATI_vertex_streams)stream, (Int32*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexStream1v(GL.Enums.ATI_vertex_streams stream, ref Int32 coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* coords_ptr = &coords)
|
|
{
|
|
Delegates.glVertexStream1ivATI((GL.Enums.ATI_vertex_streams)stream, (Int32*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexStream1v(GL.Enums.ATI_vertex_streams stream, Int32* coords)
|
|
{
|
|
Delegates.glVertexStream1ivATI((GL.Enums.ATI_vertex_streams)stream, (Int32*)coords);
|
|
}
|
|
|
|
public static
|
|
void VertexStream1(GL.Enums.ATI_vertex_streams stream, Single x)
|
|
{
|
|
Delegates.glVertexStream1fATI((GL.Enums.ATI_vertex_streams)stream, (Single)x);
|
|
}
|
|
|
|
public static
|
|
void VertexStream1v(GL.Enums.ATI_vertex_streams stream, Single[] coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* coords_ptr = coords)
|
|
{
|
|
Delegates.glVertexStream1fvATI((GL.Enums.ATI_vertex_streams)stream, (Single*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexStream1v(GL.Enums.ATI_vertex_streams stream, ref Single coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* coords_ptr = &coords)
|
|
{
|
|
Delegates.glVertexStream1fvATI((GL.Enums.ATI_vertex_streams)stream, (Single*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexStream1v(GL.Enums.ATI_vertex_streams stream, Single* coords)
|
|
{
|
|
Delegates.glVertexStream1fvATI((GL.Enums.ATI_vertex_streams)stream, (Single*)coords);
|
|
}
|
|
|
|
public static
|
|
void VertexStream1(GL.Enums.ATI_vertex_streams stream, Double x)
|
|
{
|
|
Delegates.glVertexStream1dATI((GL.Enums.ATI_vertex_streams)stream, (Double)x);
|
|
}
|
|
|
|
public static
|
|
void VertexStream1v(GL.Enums.ATI_vertex_streams stream, Double[] coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* coords_ptr = coords)
|
|
{
|
|
Delegates.glVertexStream1dvATI((GL.Enums.ATI_vertex_streams)stream, (Double*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexStream1v(GL.Enums.ATI_vertex_streams stream, ref Double coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* coords_ptr = &coords)
|
|
{
|
|
Delegates.glVertexStream1dvATI((GL.Enums.ATI_vertex_streams)stream, (Double*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexStream1v(GL.Enums.ATI_vertex_streams stream, Double* coords)
|
|
{
|
|
Delegates.glVertexStream1dvATI((GL.Enums.ATI_vertex_streams)stream, (Double*)coords);
|
|
}
|
|
|
|
public static
|
|
void VertexStream2(GL.Enums.ATI_vertex_streams stream, Int16 x, Int16 y)
|
|
{
|
|
Delegates.glVertexStream2sATI((GL.Enums.ATI_vertex_streams)stream, (Int16)x, (Int16)y);
|
|
}
|
|
|
|
public static
|
|
void VertexStream2(GL.Enums.ATI_vertex_streams stream, Int16[] coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* coords_ptr = coords)
|
|
{
|
|
Delegates.glVertexStream2svATI((GL.Enums.ATI_vertex_streams)stream, (Int16*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexStream2(GL.Enums.ATI_vertex_streams stream, ref Int16 coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* coords_ptr = &coords)
|
|
{
|
|
Delegates.glVertexStream2svATI((GL.Enums.ATI_vertex_streams)stream, (Int16*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexStream2(GL.Enums.ATI_vertex_streams stream, Int16* coords)
|
|
{
|
|
Delegates.glVertexStream2svATI((GL.Enums.ATI_vertex_streams)stream, (Int16*)coords);
|
|
}
|
|
|
|
public static
|
|
void VertexStream2(GL.Enums.ATI_vertex_streams stream, Int32 x, Int32 y)
|
|
{
|
|
Delegates.glVertexStream2iATI((GL.Enums.ATI_vertex_streams)stream, (Int32)x, (Int32)y);
|
|
}
|
|
|
|
public static
|
|
void VertexStream2(GL.Enums.ATI_vertex_streams stream, Int32[] coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* coords_ptr = coords)
|
|
{
|
|
Delegates.glVertexStream2ivATI((GL.Enums.ATI_vertex_streams)stream, (Int32*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexStream2(GL.Enums.ATI_vertex_streams stream, ref Int32 coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* coords_ptr = &coords)
|
|
{
|
|
Delegates.glVertexStream2ivATI((GL.Enums.ATI_vertex_streams)stream, (Int32*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexStream2(GL.Enums.ATI_vertex_streams stream, Int32* coords)
|
|
{
|
|
Delegates.glVertexStream2ivATI((GL.Enums.ATI_vertex_streams)stream, (Int32*)coords);
|
|
}
|
|
|
|
public static
|
|
void VertexStream2(GL.Enums.ATI_vertex_streams stream, Single x, Single y)
|
|
{
|
|
Delegates.glVertexStream2fATI((GL.Enums.ATI_vertex_streams)stream, (Single)x, (Single)y);
|
|
}
|
|
|
|
public static
|
|
void VertexStream2(GL.Enums.ATI_vertex_streams stream, Single[] coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* coords_ptr = coords)
|
|
{
|
|
Delegates.glVertexStream2fvATI((GL.Enums.ATI_vertex_streams)stream, (Single*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexStream2(GL.Enums.ATI_vertex_streams stream, ref Single coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* coords_ptr = &coords)
|
|
{
|
|
Delegates.glVertexStream2fvATI((GL.Enums.ATI_vertex_streams)stream, (Single*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexStream2(GL.Enums.ATI_vertex_streams stream, Single* coords)
|
|
{
|
|
Delegates.glVertexStream2fvATI((GL.Enums.ATI_vertex_streams)stream, (Single*)coords);
|
|
}
|
|
|
|
public static
|
|
void VertexStream2(GL.Enums.ATI_vertex_streams stream, Double x, Double y)
|
|
{
|
|
Delegates.glVertexStream2dATI((GL.Enums.ATI_vertex_streams)stream, (Double)x, (Double)y);
|
|
}
|
|
|
|
public static
|
|
void VertexStream2(GL.Enums.ATI_vertex_streams stream, Double[] coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* coords_ptr = coords)
|
|
{
|
|
Delegates.glVertexStream2dvATI((GL.Enums.ATI_vertex_streams)stream, (Double*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexStream2(GL.Enums.ATI_vertex_streams stream, ref Double coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* coords_ptr = &coords)
|
|
{
|
|
Delegates.glVertexStream2dvATI((GL.Enums.ATI_vertex_streams)stream, (Double*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexStream2(GL.Enums.ATI_vertex_streams stream, Double* coords)
|
|
{
|
|
Delegates.glVertexStream2dvATI((GL.Enums.ATI_vertex_streams)stream, (Double*)coords);
|
|
}
|
|
|
|
public static
|
|
void VertexStream3(GL.Enums.ATI_vertex_streams stream, Int16 x, Int16 y, Int16 z)
|
|
{
|
|
Delegates.glVertexStream3sATI((GL.Enums.ATI_vertex_streams)stream, (Int16)x, (Int16)y, (Int16)z);
|
|
}
|
|
|
|
public static
|
|
void VertexStream3(GL.Enums.ATI_vertex_streams stream, Int16[] coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* coords_ptr = coords)
|
|
{
|
|
Delegates.glVertexStream3svATI((GL.Enums.ATI_vertex_streams)stream, (Int16*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexStream3(GL.Enums.ATI_vertex_streams stream, ref Int16 coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* coords_ptr = &coords)
|
|
{
|
|
Delegates.glVertexStream3svATI((GL.Enums.ATI_vertex_streams)stream, (Int16*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexStream3(GL.Enums.ATI_vertex_streams stream, Int16* coords)
|
|
{
|
|
Delegates.glVertexStream3svATI((GL.Enums.ATI_vertex_streams)stream, (Int16*)coords);
|
|
}
|
|
|
|
public static
|
|
void VertexStream3(GL.Enums.ATI_vertex_streams stream, Int32 x, Int32 y, Int32 z)
|
|
{
|
|
Delegates.glVertexStream3iATI((GL.Enums.ATI_vertex_streams)stream, (Int32)x, (Int32)y, (Int32)z);
|
|
}
|
|
|
|
public static
|
|
void VertexStream3(GL.Enums.ATI_vertex_streams stream, Int32[] coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* coords_ptr = coords)
|
|
{
|
|
Delegates.glVertexStream3ivATI((GL.Enums.ATI_vertex_streams)stream, (Int32*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexStream3(GL.Enums.ATI_vertex_streams stream, ref Int32 coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* coords_ptr = &coords)
|
|
{
|
|
Delegates.glVertexStream3ivATI((GL.Enums.ATI_vertex_streams)stream, (Int32*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexStream3(GL.Enums.ATI_vertex_streams stream, Int32* coords)
|
|
{
|
|
Delegates.glVertexStream3ivATI((GL.Enums.ATI_vertex_streams)stream, (Int32*)coords);
|
|
}
|
|
|
|
public static
|
|
void VertexStream3(GL.Enums.ATI_vertex_streams stream, Single x, Single y, Single z)
|
|
{
|
|
Delegates.glVertexStream3fATI((GL.Enums.ATI_vertex_streams)stream, (Single)x, (Single)y, (Single)z);
|
|
}
|
|
|
|
public static
|
|
void VertexStream3(GL.Enums.ATI_vertex_streams stream, Single[] coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* coords_ptr = coords)
|
|
{
|
|
Delegates.glVertexStream3fvATI((GL.Enums.ATI_vertex_streams)stream, (Single*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexStream3(GL.Enums.ATI_vertex_streams stream, ref Single coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* coords_ptr = &coords)
|
|
{
|
|
Delegates.glVertexStream3fvATI((GL.Enums.ATI_vertex_streams)stream, (Single*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexStream3(GL.Enums.ATI_vertex_streams stream, Single* coords)
|
|
{
|
|
Delegates.glVertexStream3fvATI((GL.Enums.ATI_vertex_streams)stream, (Single*)coords);
|
|
}
|
|
|
|
public static
|
|
void VertexStream3(GL.Enums.ATI_vertex_streams stream, Double x, Double y, Double z)
|
|
{
|
|
Delegates.glVertexStream3dATI((GL.Enums.ATI_vertex_streams)stream, (Double)x, (Double)y, (Double)z);
|
|
}
|
|
|
|
public static
|
|
void VertexStream3(GL.Enums.ATI_vertex_streams stream, Double[] coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* coords_ptr = coords)
|
|
{
|
|
Delegates.glVertexStream3dvATI((GL.Enums.ATI_vertex_streams)stream, (Double*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexStream3(GL.Enums.ATI_vertex_streams stream, ref Double coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* coords_ptr = &coords)
|
|
{
|
|
Delegates.glVertexStream3dvATI((GL.Enums.ATI_vertex_streams)stream, (Double*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexStream3(GL.Enums.ATI_vertex_streams stream, Double* coords)
|
|
{
|
|
Delegates.glVertexStream3dvATI((GL.Enums.ATI_vertex_streams)stream, (Double*)coords);
|
|
}
|
|
|
|
public static
|
|
void VertexStream4(GL.Enums.ATI_vertex_streams stream, Int16 x, Int16 y, Int16 z, Int16 w)
|
|
{
|
|
Delegates.glVertexStream4sATI((GL.Enums.ATI_vertex_streams)stream, (Int16)x, (Int16)y, (Int16)z, (Int16)w);
|
|
}
|
|
|
|
public static
|
|
void VertexStream4(GL.Enums.ATI_vertex_streams stream, Int16[] coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* coords_ptr = coords)
|
|
{
|
|
Delegates.glVertexStream4svATI((GL.Enums.ATI_vertex_streams)stream, (Int16*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexStream4(GL.Enums.ATI_vertex_streams stream, ref Int16 coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* coords_ptr = &coords)
|
|
{
|
|
Delegates.glVertexStream4svATI((GL.Enums.ATI_vertex_streams)stream, (Int16*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexStream4(GL.Enums.ATI_vertex_streams stream, Int16* coords)
|
|
{
|
|
Delegates.glVertexStream4svATI((GL.Enums.ATI_vertex_streams)stream, (Int16*)coords);
|
|
}
|
|
|
|
public static
|
|
void VertexStream4(GL.Enums.ATI_vertex_streams stream, Int32 x, Int32 y, Int32 z, Int32 w)
|
|
{
|
|
Delegates.glVertexStream4iATI((GL.Enums.ATI_vertex_streams)stream, (Int32)x, (Int32)y, (Int32)z, (Int32)w);
|
|
}
|
|
|
|
public static
|
|
void VertexStream4(GL.Enums.ATI_vertex_streams stream, Int32[] coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* coords_ptr = coords)
|
|
{
|
|
Delegates.glVertexStream4ivATI((GL.Enums.ATI_vertex_streams)stream, (Int32*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexStream4(GL.Enums.ATI_vertex_streams stream, ref Int32 coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* coords_ptr = &coords)
|
|
{
|
|
Delegates.glVertexStream4ivATI((GL.Enums.ATI_vertex_streams)stream, (Int32*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexStream4(GL.Enums.ATI_vertex_streams stream, Int32* coords)
|
|
{
|
|
Delegates.glVertexStream4ivATI((GL.Enums.ATI_vertex_streams)stream, (Int32*)coords);
|
|
}
|
|
|
|
public static
|
|
void VertexStream4(GL.Enums.ATI_vertex_streams stream, Single x, Single y, Single z, Single w)
|
|
{
|
|
Delegates.glVertexStream4fATI((GL.Enums.ATI_vertex_streams)stream, (Single)x, (Single)y, (Single)z, (Single)w);
|
|
}
|
|
|
|
public static
|
|
void VertexStream4(GL.Enums.ATI_vertex_streams stream, Single[] coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* coords_ptr = coords)
|
|
{
|
|
Delegates.glVertexStream4fvATI((GL.Enums.ATI_vertex_streams)stream, (Single*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexStream4(GL.Enums.ATI_vertex_streams stream, ref Single coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* coords_ptr = &coords)
|
|
{
|
|
Delegates.glVertexStream4fvATI((GL.Enums.ATI_vertex_streams)stream, (Single*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexStream4(GL.Enums.ATI_vertex_streams stream, Single* coords)
|
|
{
|
|
Delegates.glVertexStream4fvATI((GL.Enums.ATI_vertex_streams)stream, (Single*)coords);
|
|
}
|
|
|
|
public static
|
|
void VertexStream4(GL.Enums.ATI_vertex_streams stream, Double x, Double y, Double z, Double w)
|
|
{
|
|
Delegates.glVertexStream4dATI((GL.Enums.ATI_vertex_streams)stream, (Double)x, (Double)y, (Double)z, (Double)w);
|
|
}
|
|
|
|
public static
|
|
void VertexStream4(GL.Enums.ATI_vertex_streams stream, Double[] coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* coords_ptr = coords)
|
|
{
|
|
Delegates.glVertexStream4dvATI((GL.Enums.ATI_vertex_streams)stream, (Double*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexStream4(GL.Enums.ATI_vertex_streams stream, ref Double coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* coords_ptr = &coords)
|
|
{
|
|
Delegates.glVertexStream4dvATI((GL.Enums.ATI_vertex_streams)stream, (Double*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void VertexStream4(GL.Enums.ATI_vertex_streams stream, Double* coords)
|
|
{
|
|
Delegates.glVertexStream4dvATI((GL.Enums.ATI_vertex_streams)stream, (Double*)coords);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void NormalStream3(GL.Enums.ATI_vertex_streams stream, SByte nx, SByte ny, SByte nz)
|
|
{
|
|
Delegates.glNormalStream3bATI((GL.Enums.ATI_vertex_streams)stream, (SByte)nx, (SByte)ny, (SByte)nz);
|
|
}
|
|
|
|
public static
|
|
void NormalStream3(GL.Enums.ATI_vertex_streams stream, Byte nx, Byte ny, Byte nz)
|
|
{
|
|
Delegates.glNormalStream3bATI((GL.Enums.ATI_vertex_streams)stream, (SByte)nx, (SByte)ny, (SByte)nz);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void NormalStream3(GL.Enums.ATI_vertex_streams stream, SByte[] coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (SByte* coords_ptr = coords)
|
|
{
|
|
Delegates.glNormalStream3bvATI((GL.Enums.ATI_vertex_streams)stream, (SByte*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void NormalStream3(GL.Enums.ATI_vertex_streams stream, Byte[] coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* coords_ptr = coords)
|
|
{
|
|
Delegates.glNormalStream3bvATI((GL.Enums.ATI_vertex_streams)stream, (SByte*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void NormalStream3(GL.Enums.ATI_vertex_streams stream, ref SByte coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (SByte* coords_ptr = &coords)
|
|
{
|
|
Delegates.glNormalStream3bvATI((GL.Enums.ATI_vertex_streams)stream, (SByte*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void NormalStream3(GL.Enums.ATI_vertex_streams stream, ref Byte coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Byte* coords_ptr = &coords)
|
|
{
|
|
Delegates.glNormalStream3bvATI((GL.Enums.ATI_vertex_streams)stream, (SByte*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void NormalStream3(GL.Enums.ATI_vertex_streams stream, SByte* coords)
|
|
{
|
|
Delegates.glNormalStream3bvATI((GL.Enums.ATI_vertex_streams)stream, (SByte*)coords);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void NormalStream3(GL.Enums.ATI_vertex_streams stream, Byte* coords)
|
|
{
|
|
Delegates.glNormalStream3bvATI((GL.Enums.ATI_vertex_streams)stream, (SByte*)coords);
|
|
}
|
|
|
|
public static
|
|
void NormalStream3(GL.Enums.ATI_vertex_streams stream, Int16 nx, Int16 ny, Int16 nz)
|
|
{
|
|
Delegates.glNormalStream3sATI((GL.Enums.ATI_vertex_streams)stream, (Int16)nx, (Int16)ny, (Int16)nz);
|
|
}
|
|
|
|
public static
|
|
void NormalStream3(GL.Enums.ATI_vertex_streams stream, Int16[] coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* coords_ptr = coords)
|
|
{
|
|
Delegates.glNormalStream3svATI((GL.Enums.ATI_vertex_streams)stream, (Int16*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void NormalStream3(GL.Enums.ATI_vertex_streams stream, ref Int16 coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int16* coords_ptr = &coords)
|
|
{
|
|
Delegates.glNormalStream3svATI((GL.Enums.ATI_vertex_streams)stream, (Int16*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void NormalStream3(GL.Enums.ATI_vertex_streams stream, Int16* coords)
|
|
{
|
|
Delegates.glNormalStream3svATI((GL.Enums.ATI_vertex_streams)stream, (Int16*)coords);
|
|
}
|
|
|
|
public static
|
|
void NormalStream3(GL.Enums.ATI_vertex_streams stream, Int32 nx, Int32 ny, Int32 nz)
|
|
{
|
|
Delegates.glNormalStream3iATI((GL.Enums.ATI_vertex_streams)stream, (Int32)nx, (Int32)ny, (Int32)nz);
|
|
}
|
|
|
|
public static
|
|
void NormalStream3(GL.Enums.ATI_vertex_streams stream, Int32[] coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* coords_ptr = coords)
|
|
{
|
|
Delegates.glNormalStream3ivATI((GL.Enums.ATI_vertex_streams)stream, (Int32*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void NormalStream3(GL.Enums.ATI_vertex_streams stream, ref Int32 coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* coords_ptr = &coords)
|
|
{
|
|
Delegates.glNormalStream3ivATI((GL.Enums.ATI_vertex_streams)stream, (Int32*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void NormalStream3(GL.Enums.ATI_vertex_streams stream, Int32* coords)
|
|
{
|
|
Delegates.glNormalStream3ivATI((GL.Enums.ATI_vertex_streams)stream, (Int32*)coords);
|
|
}
|
|
|
|
public static
|
|
void NormalStream3(GL.Enums.ATI_vertex_streams stream, Single nx, Single ny, Single nz)
|
|
{
|
|
Delegates.glNormalStream3fATI((GL.Enums.ATI_vertex_streams)stream, (Single)nx, (Single)ny, (Single)nz);
|
|
}
|
|
|
|
public static
|
|
void NormalStream3(GL.Enums.ATI_vertex_streams stream, Single[] coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* coords_ptr = coords)
|
|
{
|
|
Delegates.glNormalStream3fvATI((GL.Enums.ATI_vertex_streams)stream, (Single*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void NormalStream3(GL.Enums.ATI_vertex_streams stream, ref Single coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* coords_ptr = &coords)
|
|
{
|
|
Delegates.glNormalStream3fvATI((GL.Enums.ATI_vertex_streams)stream, (Single*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void NormalStream3(GL.Enums.ATI_vertex_streams stream, Single* coords)
|
|
{
|
|
Delegates.glNormalStream3fvATI((GL.Enums.ATI_vertex_streams)stream, (Single*)coords);
|
|
}
|
|
|
|
public static
|
|
void NormalStream3(GL.Enums.ATI_vertex_streams stream, Double nx, Double ny, Double nz)
|
|
{
|
|
Delegates.glNormalStream3dATI((GL.Enums.ATI_vertex_streams)stream, (Double)nx, (Double)ny, (Double)nz);
|
|
}
|
|
|
|
public static
|
|
void NormalStream3(GL.Enums.ATI_vertex_streams stream, Double[] coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* coords_ptr = coords)
|
|
{
|
|
Delegates.glNormalStream3dvATI((GL.Enums.ATI_vertex_streams)stream, (Double*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void NormalStream3(GL.Enums.ATI_vertex_streams stream, ref Double coords)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Double* coords_ptr = &coords)
|
|
{
|
|
Delegates.glNormalStream3dvATI((GL.Enums.ATI_vertex_streams)stream, (Double*)coords_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void NormalStream3(GL.Enums.ATI_vertex_streams stream, Double* coords)
|
|
{
|
|
Delegates.glNormalStream3dvATI((GL.Enums.ATI_vertex_streams)stream, (Double*)coords);
|
|
}
|
|
|
|
public static
|
|
void ClientActiveVertexStream(GL.Enums.ATI_vertex_streams stream)
|
|
{
|
|
Delegates.glClientActiveVertexStreamATI((GL.Enums.ATI_vertex_streams)stream);
|
|
}
|
|
|
|
public static
|
|
void VertexBlendEnv(GL.Enums.ATI_vertex_streams pname, Int32 param)
|
|
{
|
|
Delegates.glVertexBlendEnviATI((GL.Enums.ATI_vertex_streams)pname, (Int32)param);
|
|
}
|
|
|
|
public static
|
|
void VertexBlendEnv(GL.Enums.ATI_vertex_streams pname, Single param)
|
|
{
|
|
Delegates.glVertexBlendEnvfATI((GL.Enums.ATI_vertex_streams)pname, (Single)param);
|
|
}
|
|
|
|
public static
|
|
void ElementPointer(GL.Enums.ATI_element_array type, IntPtr pointer)
|
|
{
|
|
Delegates.glElementPointerATI((GL.Enums.ATI_element_array)type, (IntPtr)pointer);
|
|
}
|
|
|
|
public static
|
|
void ElementPointer(GL.Enums.ATI_element_array type, [In, Out] object pointer)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glElementPointerATI((GL.Enums.ATI_element_array)type, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DrawElementArray(GL.Enums.BeginMode mode, Int32 count)
|
|
{
|
|
Delegates.glDrawElementArrayATI((GL.Enums.BeginMode)mode, (Int32)count);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DrawRangeElementArray(GL.Enums.BeginMode mode, UInt32 start, UInt32 end, Int32 count)
|
|
{
|
|
Delegates.glDrawRangeElementArrayATI((GL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count);
|
|
}
|
|
|
|
public static
|
|
void DrawRangeElementArray(GL.Enums.BeginMode mode, Int32 start, Int32 end, Int32 count)
|
|
{
|
|
Delegates.glDrawRangeElementArrayATI((GL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count);
|
|
}
|
|
|
|
public static
|
|
void DrawBuffers(Int32 n, GL.Enums.ATI_draw_buffers[] bufs)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (GL.Enums.ATI_draw_buffers* bufs_ptr = bufs)
|
|
{
|
|
Delegates.glDrawBuffersATI((Int32)n, (GL.Enums.ATI_draw_buffers*)bufs_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DrawBuffers(Int32 n, ref GL.Enums.ATI_draw_buffers bufs)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (GL.Enums.ATI_draw_buffers* bufs_ptr = &bufs)
|
|
{
|
|
Delegates.glDrawBuffersATI((Int32)n, (GL.Enums.ATI_draw_buffers*)bufs_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void DrawBuffers(Int32 n, GL.Enums.ATI_draw_buffers* bufs)
|
|
{
|
|
Delegates.glDrawBuffersATI((Int32)n, (GL.Enums.ATI_draw_buffers*)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(GL.Enums.ATI_separate_stencil face, GL.Enums.StencilOp sfail, GL.Enums.StencilOp dpfail, GL.Enums.StencilOp dppass)
|
|
{
|
|
Delegates.glStencilOpSeparateATI((GL.Enums.ATI_separate_stencil)face, (GL.Enums.StencilOp)sfail, (GL.Enums.StencilOp)dpfail, (GL.Enums.StencilOp)dppass);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void StencilFuncSeparate(GL.Enums.StencilFunction frontfunc, GL.Enums.StencilFunction backfunc, Int32 @ref, UInt32 mask)
|
|
{
|
|
Delegates.glStencilFuncSeparateATI((GL.Enums.StencilFunction)frontfunc, (GL.Enums.StencilFunction)backfunc, (Int32)@ref, (UInt32)mask);
|
|
}
|
|
|
|
public static
|
|
void StencilFuncSeparate(GL.Enums.StencilFunction frontfunc, GL.Enums.StencilFunction backfunc, Int32 @ref, Int32 mask)
|
|
{
|
|
Delegates.glStencilFuncSeparateATI((GL.Enums.StencilFunction)frontfunc, (GL.Enums.StencilFunction)backfunc, (Int32)@ref, (UInt32)mask);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void VertexAttribArrayObject(UInt32 index, Int32 size, GL.Enums.ATI_vertex_attrib_array_object type, GL.Enums.Boolean normalized, Int32 stride, UInt32 buffer, UInt32 offset)
|
|
{
|
|
Delegates.glVertexAttribArrayObjectATI((UInt32)index, (Int32)size, (GL.Enums.ATI_vertex_attrib_array_object)type, (GL.Enums.Boolean)normalized, (Int32)stride, (UInt32)buffer, (UInt32)offset);
|
|
}
|
|
|
|
public static
|
|
void VertexAttribArrayObject(Int32 index, Int32 size, GL.Enums.ATI_vertex_attrib_array_object type, GL.Enums.Boolean normalized, Int32 stride, Int32 buffer, Int32 offset)
|
|
{
|
|
Delegates.glVertexAttribArrayObjectATI((UInt32)index, (Int32)size, (GL.Enums.ATI_vertex_attrib_array_object)type, (GL.Enums.Boolean)normalized, (Int32)stride, (UInt32)buffer, (UInt32)offset);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttribArrayObject(UInt32 index, GL.Enums.ATI_vertex_attrib_array_object pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (GL.Enums.ATI_vertex_attrib_array_object)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttribArrayObject(Int32 index, GL.Enums.ATI_vertex_attrib_array_object pname, [Out] Single[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (GL.Enums.ATI_vertex_attrib_array_object)pname, (Single*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttribArrayObject(UInt32 index, GL.Enums.ATI_vertex_attrib_array_object pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (GL.Enums.ATI_vertex_attrib_array_object)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttribArrayObject(Int32 index, GL.Enums.ATI_vertex_attrib_array_object pname, [Out] out Single @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Single* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (GL.Enums.ATI_vertex_attrib_array_object)pname, (Single*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVertexAttribArrayObject(UInt32 index, GL.Enums.ATI_vertex_attrib_array_object pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (GL.Enums.ATI_vertex_attrib_array_object)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVertexAttribArrayObject(Int32 index, GL.Enums.ATI_vertex_attrib_array_object pname, [Out] Single* @params)
|
|
{
|
|
Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (GL.Enums.ATI_vertex_attrib_array_object)pname, (Single*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttribArrayObject(UInt32 index, GL.Enums.ATI_vertex_attrib_array_object pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (GL.Enums.ATI_vertex_attrib_array_object)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttribArrayObject(Int32 index, GL.Enums.ATI_vertex_attrib_array_object pname, [Out] Int32[] @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = @params)
|
|
{
|
|
Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (GL.Enums.ATI_vertex_attrib_array_object)pname, (Int32*)@params_ptr);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void GetVertexAttribArrayObject(UInt32 index, GL.Enums.ATI_vertex_attrib_array_object pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (GL.Enums.ATI_vertex_attrib_array_object)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void GetVertexAttribArrayObject(Int32 index, GL.Enums.ATI_vertex_attrib_array_object pname, [Out] out Int32 @params)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* @params_ptr = &@params)
|
|
{
|
|
Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (GL.Enums.ATI_vertex_attrib_array_object)pname, (Int32*)@params_ptr);
|
|
@params = *@params_ptr;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVertexAttribArrayObject(UInt32 index, GL.Enums.ATI_vertex_attrib_array_object pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (GL.Enums.ATI_vertex_attrib_array_object)pname, (Int32*)@params);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void GetVertexAttribArrayObject(Int32 index, GL.Enums.ATI_vertex_attrib_array_object pname, [Out] Int32* @params)
|
|
{
|
|
Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (GL.Enums.ATI_vertex_attrib_array_object)pname, (Int32*)@params);
|
|
}
|
|
|
|
}
|
|
|
|
public static partial class APPLE
|
|
{
|
|
public static
|
|
void ElementPointer(GL.Enums.APPLE_element_array type, IntPtr pointer)
|
|
{
|
|
Delegates.glElementPointerAPPLE((GL.Enums.APPLE_element_array)type, (IntPtr)pointer);
|
|
}
|
|
|
|
public static
|
|
void ElementPointer(GL.Enums.APPLE_element_array type, [In, Out] object pointer)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glElementPointerAPPLE((GL.Enums.APPLE_element_array)type, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void DrawElementArray(GL.Enums.BeginMode mode, Int32 first, Int32 count)
|
|
{
|
|
Delegates.glDrawElementArrayAPPLE((GL.Enums.BeginMode)mode, (Int32)first, (Int32)count);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void DrawRangeElementArray(GL.Enums.BeginMode mode, UInt32 start, UInt32 end, Int32 first, Int32 count)
|
|
{
|
|
Delegates.glDrawRangeElementArrayAPPLE((GL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)first, (Int32)count);
|
|
}
|
|
|
|
public static
|
|
void DrawRangeElementArray(GL.Enums.BeginMode mode, Int32 start, Int32 end, Int32 first, Int32 count)
|
|
{
|
|
Delegates.glDrawRangeElementArrayAPPLE((GL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)first, (Int32)count);
|
|
}
|
|
|
|
public static
|
|
void MultiDrawElementArray(GL.Enums.BeginMode mode, Int32[] first, Int32[] count, Int32 primcount)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* first_ptr = first)
|
|
fixed (Int32* count_ptr = count)
|
|
{
|
|
Delegates.glMultiDrawElementArrayAPPLE((GL.Enums.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiDrawElementArray(GL.Enums.BeginMode mode, ref Int32 first, ref Int32 count, Int32 primcount)
|
|
{
|
|
unsafe
|
|
{
|
|
fixed (Int32* first_ptr = &first)
|
|
fixed (Int32* count_ptr = &count)
|
|
{
|
|
Delegates.glMultiDrawElementArrayAPPLE((GL.Enums.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiDrawElementArray(GL.Enums.BeginMode mode, Int32* first, Int32* count, Int32 primcount)
|
|
{
|
|
Delegates.glMultiDrawElementArrayAPPLE((GL.Enums.BeginMode)mode, (Int32*)first, (Int32*)count, (Int32)primcount);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void MultiDrawRangeElementArray(GL.Enums.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((GL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiDrawRangeElementArray(GL.Enums.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((GL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
void MultiDrawRangeElementArray(GL.Enums.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((GL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static
|
|
void MultiDrawRangeElementArray(GL.Enums.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((GL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiDrawRangeElementArray(GL.Enums.BeginMode mode, UInt32 start, UInt32 end, Int32* first, Int32* count, Int32 primcount)
|
|
{
|
|
Delegates.glMultiDrawRangeElementArrayAPPLE((GL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first, (Int32*)count, (Int32)primcount);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
unsafe void MultiDrawRangeElementArray(GL.Enums.BeginMode mode, Int32 start, Int32 end, Int32* first, Int32* count, Int32 primcount)
|
|
{
|
|
Delegates.glMultiDrawRangeElementArrayAPPLE((GL.Enums.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first, (Int32*)count, (Int32)primcount);
|
|
}
|
|
|
|
[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
|
|
Boolean IsFence(UInt32 fence)
|
|
{
|
|
return Delegates.glIsFenceAPPLE((UInt32)fence);
|
|
}
|
|
|
|
public static
|
|
Boolean IsFence(Int32 fence)
|
|
{
|
|
return Delegates.glIsFenceAPPLE((UInt32)fence);
|
|
}
|
|
|
|
[System.CLSCompliant(false)]
|
|
public static
|
|
Boolean TestFence(UInt32 fence)
|
|
{
|
|
return Delegates.glTestFenceAPPLE((UInt32)fence);
|
|
}
|
|
|
|
public static
|
|
Boolean 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
|
|
Boolean TestObject(GL.Enums.APPLE_fence @object, UInt32 name)
|
|
{
|
|
return Delegates.glTestObjectAPPLE((GL.Enums.APPLE_fence)@object, (UInt32)name);
|
|
}
|
|
|
|
public static
|
|
Boolean TestObject(GL.Enums.APPLE_fence @object, Int32 name)
|
|
{
|
|
return Delegates.glTestObjectAPPLE((GL.Enums.APPLE_fence)@object, (UInt32)name);
|
|
}
|
|
|
|
public static
|
|
void FinishObject(GL.Enums.APPLE_fence @object, Int32 name)
|
|
{
|
|
Delegates.glFinishObjectAPPLE((GL.Enums.APPLE_fence)@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
|
|
Boolean IsVertexArray(UInt32 array)
|
|
{
|
|
return Delegates.glIsVertexArrayAPPLE((UInt32)array);
|
|
}
|
|
|
|
public static
|
|
Boolean IsVertexArray(Int32 array)
|
|
{
|
|
return Delegates.glIsVertexArrayAPPLE((UInt32)array);
|
|
}
|
|
|
|
public static
|
|
void VertexArrayRange(Int32 length, [Out] IntPtr pointer)
|
|
{
|
|
Delegates.glVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer);
|
|
}
|
|
|
|
public static
|
|
void VertexArrayRange(Int32 length, [In, Out] object pointer)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void FlushVertexArrayRange(Int32 length, [Out] IntPtr pointer)
|
|
{
|
|
Delegates.glFlushVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer);
|
|
}
|
|
|
|
public static
|
|
void FlushVertexArrayRange(Int32 length, [In, Out] object pointer)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glFlushVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
pointer_ptr.Free();
|
|
}
|
|
}
|
|
|
|
public static
|
|
void VertexArrayParameter(GL.Enums.APPLE_vertex_array_range pname, Int32 param)
|
|
{
|
|
Delegates.glVertexArrayParameteriAPPLE((GL.Enums.APPLE_vertex_array_range)pname, (Int32)param);
|
|
}
|
|
|
|
public static
|
|
void BufferParameter(GL.Enums.APPLE_flush_buffer_range target, GL.Enums.APPLE_flush_buffer_range pname, Int32 param)
|
|
{
|
|
Delegates.glBufferParameteriAPPLE((GL.Enums.APPLE_flush_buffer_range)target, (GL.Enums.APPLE_flush_buffer_range)pname, (Int32)param);
|
|
}
|
|
|
|
public static
|
|
void FlushMappedBufferRange(GL.Enums.APPLE_flush_buffer_range target, IntPtr offset, IntPtr size)
|
|
{
|
|
Delegates.glFlushMappedBufferRangeAPPLE((GL.Enums.APPLE_flush_buffer_range)target, (IntPtr)offset, (IntPtr)size);
|
|
}
|
|
|
|
public static
|
|
void FlushMappedBufferRange(GL.Enums.APPLE_flush_buffer_range target, [In, Out] object offset, [In, Out] object size)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle offset_ptr = System.Runtime.InteropServices.GCHandle.Alloc(offset, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
System.Runtime.InteropServices.GCHandle size_ptr = System.Runtime.InteropServices.GCHandle.Alloc(size, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glFlushMappedBufferRangeAPPLE((GL.Enums.APPLE_flush_buffer_range)target, (IntPtr)offset_ptr.AddrOfPinnedObject(), (IntPtr)size_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
offset_ptr.Free();
|
|
size_ptr.Free();
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public static partial class GREMEDY
|
|
{
|
|
public static
|
|
void StringMarker(Int32 len, IntPtr @string)
|
|
{
|
|
Delegates.glStringMarkerGREMEDY((Int32)len, (IntPtr)@string);
|
|
}
|
|
|
|
public static
|
|
void StringMarker(Int32 len, [In, Out] object @string)
|
|
{
|
|
System.Runtime.InteropServices.GCHandle @string_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@string, System.Runtime.InteropServices.GCHandleType.Pinned);
|
|
try
|
|
{
|
|
Delegates.glStringMarkerGREMEDY((Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject());
|
|
}
|
|
finally
|
|
{
|
|
@string_ptr.Free();
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
}
|