Bindings (with new naming conventions) re-generated with Bind 0.9.9

This commit is contained in:
the_fiddler 2007-11-04 15:29:41 +00:00
parent b314c198cc
commit 8d7019ac9a
4 changed files with 528 additions and 539 deletions

View file

@ -31,18 +31,18 @@ namespace OpenTK.OpenGL
} }
public static public static
Int32 Build1DMipmapLevel(GL.Enums.TextureTarget target, Int32 internalFormat, Int32 width, GL.Enums.PixelFormat format, GL.Enums.PixelType type, Int32 level, Int32 @base, Int32 max, IntPtr data) Int32 Build1DMipmapLevel(OpenTK.OpenGL.Enums.TextureTarget target, Int32 internalFormat, Int32 width, OpenTK.OpenGL.Enums.PixelFormat format, OpenTK.OpenGL.Enums.PixelType type, Int32 level, Int32 @base, Int32 max, IntPtr data)
{ {
return Delegates.gluBuild1DMipmapLevels((GL.Enums.TextureTarget)target, (Int32)internalFormat, (Int32)width, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (Int32)level, (Int32)@base, (Int32)max, (IntPtr)data); return Delegates.gluBuild1DMipmapLevels((OpenTK.OpenGL.Enums.TextureTarget)target, (Int32)internalFormat, (Int32)width, (OpenTK.OpenGL.Enums.PixelFormat)format, (OpenTK.OpenGL.Enums.PixelType)type, (Int32)level, (Int32)@base, (Int32)max, (IntPtr)data);
} }
public static public static
Int32 Build1DMipmapLevel(GL.Enums.TextureTarget target, Int32 internalFormat, Int32 width, GL.Enums.PixelFormat format, GL.Enums.PixelType type, Int32 level, Int32 @base, Int32 max, [In, Out] object data) Int32 Build1DMipmapLevel(OpenTK.OpenGL.Enums.TextureTarget target, Int32 internalFormat, Int32 width, OpenTK.OpenGL.Enums.PixelFormat format, OpenTK.OpenGL.Enums.PixelType type, Int32 level, Int32 @base, Int32 max, [In, Out] object data)
{ {
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
try try
{ {
return Delegates.gluBuild1DMipmapLevels((GL.Enums.TextureTarget)target, (Int32)internalFormat, (Int32)width, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (Int32)level, (Int32)@base, (Int32)max, (IntPtr)data_ptr.AddrOfPinnedObject()); return Delegates.gluBuild1DMipmapLevels((OpenTK.OpenGL.Enums.TextureTarget)target, (Int32)internalFormat, (Int32)width, (OpenTK.OpenGL.Enums.PixelFormat)format, (OpenTK.OpenGL.Enums.PixelType)type, (Int32)level, (Int32)@base, (Int32)max, (IntPtr)data_ptr.AddrOfPinnedObject());
} }
finally finally
{ {
@ -51,18 +51,18 @@ namespace OpenTK.OpenGL
} }
public static public static
Int32 Build1DMipmap(GL.Enums.TextureTarget target, Int32 internalFormat, Int32 width, GL.Enums.PixelFormat format, GL.Enums.PixelType type, IntPtr data) Int32 Build1DMipmap(OpenTK.OpenGL.Enums.TextureTarget target, Int32 internalFormat, Int32 width, OpenTK.OpenGL.Enums.PixelFormat format, OpenTK.OpenGL.Enums.PixelType type, IntPtr data)
{ {
return Delegates.gluBuild1DMipmaps((GL.Enums.TextureTarget)target, (Int32)internalFormat, (Int32)width, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)data); return Delegates.gluBuild1DMipmaps((OpenTK.OpenGL.Enums.TextureTarget)target, (Int32)internalFormat, (Int32)width, (OpenTK.OpenGL.Enums.PixelFormat)format, (OpenTK.OpenGL.Enums.PixelType)type, (IntPtr)data);
} }
public static public static
Int32 Build1DMipmap(GL.Enums.TextureTarget target, Int32 internalFormat, Int32 width, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object data) Int32 Build1DMipmap(OpenTK.OpenGL.Enums.TextureTarget target, Int32 internalFormat, Int32 width, OpenTK.OpenGL.Enums.PixelFormat format, OpenTK.OpenGL.Enums.PixelType type, [In, Out] object data)
{ {
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
try try
{ {
return Delegates.gluBuild1DMipmaps((GL.Enums.TextureTarget)target, (Int32)internalFormat, (Int32)width, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); return Delegates.gluBuild1DMipmaps((OpenTK.OpenGL.Enums.TextureTarget)target, (Int32)internalFormat, (Int32)width, (OpenTK.OpenGL.Enums.PixelFormat)format, (OpenTK.OpenGL.Enums.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject());
} }
finally finally
{ {
@ -71,18 +71,18 @@ namespace OpenTK.OpenGL
} }
public static public static
Int32 Build2DMipmapLevel(GL.Enums.TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, GL.Enums.PixelFormat format, GL.Enums.PixelType type, Int32 level, Int32 @base, Int32 max, IntPtr data) Int32 Build2DMipmapLevel(OpenTK.OpenGL.Enums.TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, OpenTK.OpenGL.Enums.PixelFormat format, OpenTK.OpenGL.Enums.PixelType type, Int32 level, Int32 @base, Int32 max, IntPtr data)
{ {
return Delegates.gluBuild2DMipmapLevels((GL.Enums.TextureTarget)target, (Int32)internalFormat, (Int32)width, (Int32)height, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (Int32)level, (Int32)@base, (Int32)max, (IntPtr)data); return Delegates.gluBuild2DMipmapLevels((OpenTK.OpenGL.Enums.TextureTarget)target, (Int32)internalFormat, (Int32)width, (Int32)height, (OpenTK.OpenGL.Enums.PixelFormat)format, (OpenTK.OpenGL.Enums.PixelType)type, (Int32)level, (Int32)@base, (Int32)max, (IntPtr)data);
} }
public static public static
Int32 Build2DMipmapLevel(GL.Enums.TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, GL.Enums.PixelFormat format, GL.Enums.PixelType type, Int32 level, Int32 @base, Int32 max, [In, Out] object data) Int32 Build2DMipmapLevel(OpenTK.OpenGL.Enums.TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, OpenTK.OpenGL.Enums.PixelFormat format, OpenTK.OpenGL.Enums.PixelType type, Int32 level, Int32 @base, Int32 max, [In, Out] object data)
{ {
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
try try
{ {
return Delegates.gluBuild2DMipmapLevels((GL.Enums.TextureTarget)target, (Int32)internalFormat, (Int32)width, (Int32)height, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (Int32)level, (Int32)@base, (Int32)max, (IntPtr)data_ptr.AddrOfPinnedObject()); return Delegates.gluBuild2DMipmapLevels((OpenTK.OpenGL.Enums.TextureTarget)target, (Int32)internalFormat, (Int32)width, (Int32)height, (OpenTK.OpenGL.Enums.PixelFormat)format, (OpenTK.OpenGL.Enums.PixelType)type, (Int32)level, (Int32)@base, (Int32)max, (IntPtr)data_ptr.AddrOfPinnedObject());
} }
finally finally
{ {
@ -91,18 +91,18 @@ namespace OpenTK.OpenGL
} }
public static public static
Int32 Build2DMipmap(GL.Enums.TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, GL.Enums.PixelFormat format, GL.Enums.PixelType type, IntPtr data) Int32 Build2DMipmap(OpenTK.OpenGL.Enums.TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, OpenTK.OpenGL.Enums.PixelFormat format, OpenTK.OpenGL.Enums.PixelType type, IntPtr data)
{ {
return Delegates.gluBuild2DMipmaps((GL.Enums.TextureTarget)target, (Int32)internalFormat, (Int32)width, (Int32)height, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)data); return Delegates.gluBuild2DMipmaps((OpenTK.OpenGL.Enums.TextureTarget)target, (Int32)internalFormat, (Int32)width, (Int32)height, (OpenTK.OpenGL.Enums.PixelFormat)format, (OpenTK.OpenGL.Enums.PixelType)type, (IntPtr)data);
} }
public static public static
Int32 Build2DMipmap(GL.Enums.TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object data) Int32 Build2DMipmap(OpenTK.OpenGL.Enums.TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, OpenTK.OpenGL.Enums.PixelFormat format, OpenTK.OpenGL.Enums.PixelType type, [In, Out] object data)
{ {
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
try try
{ {
return Delegates.gluBuild2DMipmaps((GL.Enums.TextureTarget)target, (Int32)internalFormat, (Int32)width, (Int32)height, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); return Delegates.gluBuild2DMipmaps((OpenTK.OpenGL.Enums.TextureTarget)target, (Int32)internalFormat, (Int32)width, (Int32)height, (OpenTK.OpenGL.Enums.PixelFormat)format, (OpenTK.OpenGL.Enums.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject());
} }
finally finally
{ {
@ -111,18 +111,18 @@ namespace OpenTK.OpenGL
} }
public static public static
Int32 Build3DMipmapLevel(GL.Enums.TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, GL.Enums.PixelFormat format, GL.Enums.PixelType type, Int32 level, Int32 @base, Int32 max, IntPtr data) Int32 Build3DMipmapLevel(OpenTK.OpenGL.Enums.TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, OpenTK.OpenGL.Enums.PixelFormat format, OpenTK.OpenGL.Enums.PixelType type, Int32 level, Int32 @base, Int32 max, IntPtr data)
{ {
return Delegates.gluBuild3DMipmapLevels((GL.Enums.TextureTarget)target, (Int32)internalFormat, (Int32)width, (Int32)height, (Int32)depth, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (Int32)level, (Int32)@base, (Int32)max, (IntPtr)data); return Delegates.gluBuild3DMipmapLevels((OpenTK.OpenGL.Enums.TextureTarget)target, (Int32)internalFormat, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.OpenGL.Enums.PixelFormat)format, (OpenTK.OpenGL.Enums.PixelType)type, (Int32)level, (Int32)@base, (Int32)max, (IntPtr)data);
} }
public static public static
Int32 Build3DMipmapLevel(GL.Enums.TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, GL.Enums.PixelFormat format, GL.Enums.PixelType type, Int32 level, Int32 @base, Int32 max, [In, Out] object data) Int32 Build3DMipmapLevel(OpenTK.OpenGL.Enums.TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, OpenTK.OpenGL.Enums.PixelFormat format, OpenTK.OpenGL.Enums.PixelType type, Int32 level, Int32 @base, Int32 max, [In, Out] object data)
{ {
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
try try
{ {
return Delegates.gluBuild3DMipmapLevels((GL.Enums.TextureTarget)target, (Int32)internalFormat, (Int32)width, (Int32)height, (Int32)depth, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (Int32)level, (Int32)@base, (Int32)max, (IntPtr)data_ptr.AddrOfPinnedObject()); return Delegates.gluBuild3DMipmapLevels((OpenTK.OpenGL.Enums.TextureTarget)target, (Int32)internalFormat, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.OpenGL.Enums.PixelFormat)format, (OpenTK.OpenGL.Enums.PixelType)type, (Int32)level, (Int32)@base, (Int32)max, (IntPtr)data_ptr.AddrOfPinnedObject());
} }
finally finally
{ {
@ -131,18 +131,18 @@ namespace OpenTK.OpenGL
} }
public static public static
Int32 Build3DMipmap(GL.Enums.TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, GL.Enums.PixelFormat format, GL.Enums.PixelType type, IntPtr data) Int32 Build3DMipmap(OpenTK.OpenGL.Enums.TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, OpenTK.OpenGL.Enums.PixelFormat format, OpenTK.OpenGL.Enums.PixelType type, IntPtr data)
{ {
return Delegates.gluBuild3DMipmaps((GL.Enums.TextureTarget)target, (Int32)internalFormat, (Int32)width, (Int32)height, (Int32)depth, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)data); return Delegates.gluBuild3DMipmaps((OpenTK.OpenGL.Enums.TextureTarget)target, (Int32)internalFormat, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.OpenGL.Enums.PixelFormat)format, (OpenTK.OpenGL.Enums.PixelType)type, (IntPtr)data);
} }
public static public static
Int32 Build3DMipmap(GL.Enums.TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, GL.Enums.PixelFormat format, GL.Enums.PixelType type, [In, Out] object data) Int32 Build3DMipmap(OpenTK.OpenGL.Enums.TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, OpenTK.OpenGL.Enums.PixelFormat format, OpenTK.OpenGL.Enums.PixelType type, [In, Out] object data)
{ {
System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned);
try try
{ {
return Delegates.gluBuild3DMipmaps((GL.Enums.TextureTarget)target, (Int32)internalFormat, (Int32)width, (Int32)height, (Int32)depth, (GL.Enums.PixelFormat)format, (GL.Enums.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); return Delegates.gluBuild3DMipmaps((OpenTK.OpenGL.Enums.TextureTarget)target, (Int32)internalFormat, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.OpenGL.Enums.PixelFormat)format, (OpenTK.OpenGL.Enums.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject());
} }
finally finally
{ {
@ -151,7 +151,7 @@ namespace OpenTK.OpenGL
} }
public static public static
Boolean CheckExtension(Byte[] extName, Byte[] extString) bool CheckExtension(Byte[] extName, Byte[] extString)
{ {
unsafe unsafe
{ {
@ -164,7 +164,7 @@ namespace OpenTK.OpenGL
} }
public static public static
Boolean CheckExtension(ref Byte extName, ref Byte extString) bool CheckExtension(ref Byte extName, ref Byte extString)
{ {
unsafe unsafe
{ {
@ -178,7 +178,7 @@ namespace OpenTK.OpenGL
[System.CLSCompliant(false)] [System.CLSCompliant(false)]
public static public static
unsafe Boolean CheckExtension(Byte* extName, Byte* extString) unsafe bool CheckExtension(Byte* extName, Byte* extString)
{ {
return Delegates.gluCheckExtension((Byte*)extName, (Byte*)extString); return Delegates.gluCheckExtension((Byte*)extName, (Byte*)extString);
} }
@ -238,37 +238,37 @@ namespace OpenTK.OpenGL
} }
public static public static
string ErrorString(Glu.Enums.ErrorCode error) string ErrorString(OpenTK.OpenGL.Enums.GluErrorCode error)
{ {
return System.Runtime.InteropServices.Marshal.PtrToStringAnsi(Delegates.gluErrorString((Glu.Enums.ErrorCode)error)); return System.Runtime.InteropServices.Marshal.PtrToStringAnsi(Delegates.gluErrorString((OpenTK.OpenGL.Enums.GluErrorCode)error));
} }
public static public static
string GetString(Glu.Enums.StringName name) string GetString(OpenTK.OpenGL.Enums.GluStringName name)
{ {
return System.Runtime.InteropServices.Marshal.PtrToStringAnsi(Delegates.gluGetString((Glu.Enums.StringName)name)); return System.Runtime.InteropServices.Marshal.PtrToStringAnsi(Delegates.gluGetString((OpenTK.OpenGL.Enums.GluStringName)name));
} }
public static public static
void GetNurbsProperty(int nurb, Glu.Enums.NurbsProperty property, [Out] float[] data) void GetNurbsProperty(int nurb, OpenTK.OpenGL.Enums.NurbsProperty property, [Out] float[] data)
{ {
unsafe unsafe
{ {
fixed (float* data_ptr = data) fixed (float* data_ptr = data)
{ {
Delegates.gluGetNurbsProperty((int)nurb, (Glu.Enums.NurbsProperty)property, (float*)data_ptr); Delegates.gluGetNurbsProperty((int)nurb, (OpenTK.OpenGL.Enums.NurbsProperty)property, (float*)data_ptr);
} }
} }
} }
public static public static
void GetNurbsProperty(int nurb, Glu.Enums.NurbsProperty property, [Out] out float data) void GetNurbsProperty(int nurb, OpenTK.OpenGL.Enums.NurbsProperty property, [Out] out float data)
{ {
unsafe unsafe
{ {
fixed (float* data_ptr = &data) fixed (float* data_ptr = &data)
{ {
Delegates.gluGetNurbsProperty((int)nurb, (Glu.Enums.NurbsProperty)property, (float*)data_ptr); Delegates.gluGetNurbsProperty((int)nurb, (OpenTK.OpenGL.Enums.NurbsProperty)property, (float*)data_ptr);
data = *data_ptr; data = *data_ptr;
} }
} }
@ -276,31 +276,31 @@ namespace OpenTK.OpenGL
[System.CLSCompliant(false)] [System.CLSCompliant(false)]
public static public static
unsafe void GetNurbsProperty(int nurb, Glu.Enums.NurbsProperty property, [Out] float* data) unsafe void GetNurbsProperty(int nurb, OpenTK.OpenGL.Enums.NurbsProperty property, [Out] float* data)
{ {
Delegates.gluGetNurbsProperty((int)nurb, (Glu.Enums.NurbsProperty)property, (float*)data); Delegates.gluGetNurbsProperty((int)nurb, (OpenTK.OpenGL.Enums.NurbsProperty)property, (float*)data);
} }
public static public static
void GetTessProperty(int tess, Glu.Enums.TessProperty which, [Out] double[] data) void GetTessProperty(int tess, OpenTK.OpenGL.Enums.TessProperty which, [Out] double[] data)
{ {
unsafe unsafe
{ {
fixed (double* data_ptr = data) fixed (double* data_ptr = data)
{ {
Delegates.gluGetTessProperty((int)tess, (Glu.Enums.TessProperty)which, (double*)data_ptr); Delegates.gluGetTessProperty((int)tess, (OpenTK.OpenGL.Enums.TessProperty)which, (double*)data_ptr);
} }
} }
} }
public static public static
void GetTessProperty(int tess, Glu.Enums.TessProperty which, [Out] out double data) void GetTessProperty(int tess, OpenTK.OpenGL.Enums.TessProperty which, [Out] out double data)
{ {
unsafe unsafe
{ {
fixed (double* data_ptr = &data) fixed (double* data_ptr = &data)
{ {
Delegates.gluGetTessProperty((int)tess, (Glu.Enums.TessProperty)which, (double*)data_ptr); Delegates.gluGetTessProperty((int)tess, (OpenTK.OpenGL.Enums.TessProperty)which, (double*)data_ptr);
data = *data_ptr; data = *data_ptr;
} }
} }
@ -308,9 +308,9 @@ namespace OpenTK.OpenGL
[System.CLSCompliant(false)] [System.CLSCompliant(false)]
public static public static
unsafe void GetTessProperty(int tess, Glu.Enums.TessProperty which, [Out] double* data) unsafe void GetTessProperty(int tess, OpenTK.OpenGL.Enums.TessProperty which, [Out] double* data)
{ {
Delegates.gluGetTessProperty((int)tess, (Glu.Enums.TessProperty)which, (double*)data); Delegates.gluGetTessProperty((int)tess, (OpenTK.OpenGL.Enums.TessProperty)which, (double*)data);
} }
public static public static
@ -373,15 +373,15 @@ namespace OpenTK.OpenGL
} }
public static public static
void NextContour(int tess, Glu.Enums.TessContour type) void NextContour(int tess, OpenTK.OpenGL.Enums.TessContour type)
{ {
Delegates.gluNextContour((int)tess, (Glu.Enums.TessContour)type); Delegates.gluNextContour((int)tess, (OpenTK.OpenGL.Enums.TessContour)type);
} }
public static public static
void NurbsCallback(int nurb, Glu.Enums.NurbsCallback which, IntPtr CallBackFunc) void NurbsCallback(int nurb, OpenTK.OpenGL.Enums.NurbsCallback which, IntPtr CallBackFunc)
{ {
Delegates.gluNurbsCallback((int)nurb, (Glu.Enums.NurbsCallback)which, (IntPtr)CallBackFunc); Delegates.gluNurbsCallback((int)nurb, (OpenTK.OpenGL.Enums.NurbsCallback)which, (IntPtr)CallBackFunc);
} }
public static public static
@ -405,27 +405,27 @@ namespace OpenTK.OpenGL
} }
public static public static
void NurbsCurve(int nurb, Int32 knotCount, [Out] float[] knots, Int32 stride, [Out] float[] control, Int32 order, GL.Enums.MapTarget type) void NurbsCurve(int nurb, Int32 knotCount, [Out] float[] knots, Int32 stride, [Out] float[] control, Int32 order, OpenTK.OpenGL.Enums.MapTarget type)
{ {
unsafe unsafe
{ {
fixed (float* knots_ptr = knots) fixed (float* knots_ptr = knots)
fixed (float* control_ptr = control) fixed (float* control_ptr = control)
{ {
Delegates.gluNurbsCurve((int)nurb, (Int32)knotCount, (float*)knots_ptr, (Int32)stride, (float*)control_ptr, (Int32)order, (GL.Enums.MapTarget)type); Delegates.gluNurbsCurve((int)nurb, (Int32)knotCount, (float*)knots_ptr, (Int32)stride, (float*)control_ptr, (Int32)order, (OpenTK.OpenGL.Enums.MapTarget)type);
} }
} }
} }
public static public static
void NurbsCurve(int nurb, Int32 knotCount, [Out] out float knots, Int32 stride, [Out] out float control, Int32 order, GL.Enums.MapTarget type) void NurbsCurve(int nurb, Int32 knotCount, [Out] out float knots, Int32 stride, [Out] out float control, Int32 order, OpenTK.OpenGL.Enums.MapTarget type)
{ {
unsafe unsafe
{ {
fixed (float* knots_ptr = &knots) fixed (float* knots_ptr = &knots)
fixed (float* control_ptr = &control) fixed (float* control_ptr = &control)
{ {
Delegates.gluNurbsCurve((int)nurb, (Int32)knotCount, (float*)knots_ptr, (Int32)stride, (float*)control_ptr, (Int32)order, (GL.Enums.MapTarget)type); Delegates.gluNurbsCurve((int)nurb, (Int32)knotCount, (float*)knots_ptr, (Int32)stride, (float*)control_ptr, (Int32)order, (OpenTK.OpenGL.Enums.MapTarget)type);
knots = *knots_ptr; knots = *knots_ptr;
control = *control_ptr; control = *control_ptr;
} }
@ -434,19 +434,19 @@ namespace OpenTK.OpenGL
[System.CLSCompliant(false)] [System.CLSCompliant(false)]
public static public static
unsafe void NurbsCurve(int nurb, Int32 knotCount, [Out] float* knots, Int32 stride, [Out] float* control, Int32 order, GL.Enums.MapTarget type) unsafe void NurbsCurve(int nurb, Int32 knotCount, [Out] float* knots, Int32 stride, [Out] float* control, Int32 order, OpenTK.OpenGL.Enums.MapTarget type)
{ {
Delegates.gluNurbsCurve((int)nurb, (Int32)knotCount, (float*)knots, (Int32)stride, (float*)control, (Int32)order, (GL.Enums.MapTarget)type); Delegates.gluNurbsCurve((int)nurb, (Int32)knotCount, (float*)knots, (Int32)stride, (float*)control, (Int32)order, (OpenTK.OpenGL.Enums.MapTarget)type);
} }
public static public static
void NurbsProperty(int nurb, Glu.Enums.NurbsProperty property, float value) void NurbsProperty(int nurb, OpenTK.OpenGL.Enums.NurbsProperty property, float value)
{ {
Delegates.gluNurbsProperty((int)nurb, (Glu.Enums.NurbsProperty)property, (float)value); Delegates.gluNurbsProperty((int)nurb, (OpenTK.OpenGL.Enums.NurbsProperty)property, (float)value);
} }
public static public static
void NurbsSurface(int nurb, Int32 sKnotCount, float[] sKnots, Int32 tKnotCount, float[] tKnots, Int32 sStride, Int32 tStride, float[] control, Int32 sOrder, Int32 tOrder, GL.Enums.MapTarget type) void NurbsSurface(int nurb, Int32 sKnotCount, float[] sKnots, Int32 tKnotCount, float[] tKnots, Int32 sStride, Int32 tStride, float[] control, Int32 sOrder, Int32 tOrder, OpenTK.OpenGL.Enums.MapTarget type)
{ {
unsafe unsafe
{ {
@ -454,13 +454,13 @@ namespace OpenTK.OpenGL
fixed (float* tKnots_ptr = tKnots) fixed (float* tKnots_ptr = tKnots)
fixed (float* control_ptr = control) fixed (float* control_ptr = control)
{ {
Delegates.gluNurbsSurface((int)nurb, (Int32)sKnotCount, (float*)sKnots_ptr, (Int32)tKnotCount, (float*)tKnots_ptr, (Int32)sStride, (Int32)tStride, (float*)control_ptr, (Int32)sOrder, (Int32)tOrder, (GL.Enums.MapTarget)type); Delegates.gluNurbsSurface((int)nurb, (Int32)sKnotCount, (float*)sKnots_ptr, (Int32)tKnotCount, (float*)tKnots_ptr, (Int32)sStride, (Int32)tStride, (float*)control_ptr, (Int32)sOrder, (Int32)tOrder, (OpenTK.OpenGL.Enums.MapTarget)type);
} }
} }
} }
public static public static
void NurbsSurface(int nurb, Int32 sKnotCount, ref float sKnots, Int32 tKnotCount, ref float tKnots, Int32 sStride, Int32 tStride, ref float control, Int32 sOrder, Int32 tOrder, GL.Enums.MapTarget type) void NurbsSurface(int nurb, Int32 sKnotCount, ref float sKnots, Int32 tKnotCount, ref float tKnots, Int32 sStride, Int32 tStride, ref float control, Int32 sOrder, Int32 tOrder, OpenTK.OpenGL.Enums.MapTarget type)
{ {
unsafe unsafe
{ {
@ -468,16 +468,16 @@ namespace OpenTK.OpenGL
fixed (float* tKnots_ptr = &tKnots) fixed (float* tKnots_ptr = &tKnots)
fixed (float* control_ptr = &control) fixed (float* control_ptr = &control)
{ {
Delegates.gluNurbsSurface((int)nurb, (Int32)sKnotCount, (float*)sKnots_ptr, (Int32)tKnotCount, (float*)tKnots_ptr, (Int32)sStride, (Int32)tStride, (float*)control_ptr, (Int32)sOrder, (Int32)tOrder, (GL.Enums.MapTarget)type); Delegates.gluNurbsSurface((int)nurb, (Int32)sKnotCount, (float*)sKnots_ptr, (Int32)tKnotCount, (float*)tKnots_ptr, (Int32)sStride, (Int32)tStride, (float*)control_ptr, (Int32)sOrder, (Int32)tOrder, (OpenTK.OpenGL.Enums.MapTarget)type);
} }
} }
} }
[System.CLSCompliant(false)] [System.CLSCompliant(false)]
public static public static
unsafe void NurbsSurface(int nurb, Int32 sKnotCount, float* sKnots, Int32 tKnotCount, float* tKnots, Int32 sStride, Int32 tStride, float* control, Int32 sOrder, Int32 tOrder, GL.Enums.MapTarget type) unsafe void NurbsSurface(int nurb, Int32 sKnotCount, float* sKnots, Int32 tKnotCount, float* tKnots, Int32 sStride, Int32 tStride, float* control, Int32 sOrder, Int32 tOrder, OpenTK.OpenGL.Enums.MapTarget type)
{ {
Delegates.gluNurbsSurface((int)nurb, (Int32)sKnotCount, (float*)sKnots, (Int32)tKnotCount, (float*)tKnots, (Int32)sStride, (Int32)tStride, (float*)control, (Int32)sOrder, (Int32)tOrder, (GL.Enums.MapTarget)type); Delegates.gluNurbsSurface((int)nurb, (Int32)sKnotCount, (float*)sKnots, (Int32)tKnotCount, (float*)tKnots, (Int32)sStride, (Int32)tStride, (float*)control, (Int32)sOrder, (Int32)tOrder, (OpenTK.OpenGL.Enums.MapTarget)type);
} }
public static public static
@ -572,80 +572,80 @@ namespace OpenTK.OpenGL
} }
public static public static
void PwlCurve(int nurb, Int32 count, float[] data, Int32 stride, Glu.Enums.NurbsTrim type) void PwlCurve(int nurb, Int32 count, float[] data, Int32 stride, OpenTK.OpenGL.Enums.NurbsTrim type)
{ {
unsafe unsafe
{ {
fixed (float* data_ptr = data) fixed (float* data_ptr = data)
{ {
Delegates.gluPwlCurve((int)nurb, (Int32)count, (float*)data_ptr, (Int32)stride, (Glu.Enums.NurbsTrim)type); Delegates.gluPwlCurve((int)nurb, (Int32)count, (float*)data_ptr, (Int32)stride, (OpenTK.OpenGL.Enums.NurbsTrim)type);
} }
} }
} }
public static public static
void PwlCurve(int nurb, Int32 count, ref float data, Int32 stride, Glu.Enums.NurbsTrim type) void PwlCurve(int nurb, Int32 count, ref float data, Int32 stride, OpenTK.OpenGL.Enums.NurbsTrim type)
{ {
unsafe unsafe
{ {
fixed (float* data_ptr = &data) fixed (float* data_ptr = &data)
{ {
Delegates.gluPwlCurve((int)nurb, (Int32)count, (float*)data_ptr, (Int32)stride, (Glu.Enums.NurbsTrim)type); Delegates.gluPwlCurve((int)nurb, (Int32)count, (float*)data_ptr, (Int32)stride, (OpenTK.OpenGL.Enums.NurbsTrim)type);
} }
} }
} }
[System.CLSCompliant(false)] [System.CLSCompliant(false)]
public static public static
unsafe void PwlCurve(int nurb, Int32 count, float* data, Int32 stride, Glu.Enums.NurbsTrim type) unsafe void PwlCurve(int nurb, Int32 count, float* data, Int32 stride, OpenTK.OpenGL.Enums.NurbsTrim type)
{ {
Delegates.gluPwlCurve((int)nurb, (Int32)count, (float*)data, (Int32)stride, (Glu.Enums.NurbsTrim)type); Delegates.gluPwlCurve((int)nurb, (Int32)count, (float*)data, (Int32)stride, (OpenTK.OpenGL.Enums.NurbsTrim)type);
} }
public static public static
void QuadricCallback(int quad, Glu.Enums.QuadricCallback which, IntPtr CallBackFunc) void QuadricCallback(int quad, OpenTK.OpenGL.Enums.QuadricCallback which, IntPtr CallBackFunc)
{ {
Delegates.gluQuadricCallback((int)quad, (Glu.Enums.QuadricCallback)which, (IntPtr)CallBackFunc); Delegates.gluQuadricCallback((int)quad, (OpenTK.OpenGL.Enums.QuadricCallback)which, (IntPtr)CallBackFunc);
} }
public static public static
void QuadricDrawStyle(int quad, Glu.Enums.QuadricDrawStyle draw) void QuadricDrawStyle(int quad, OpenTK.OpenGL.Enums.QuadricDrawStyle draw)
{ {
Delegates.gluQuadricDrawStyle((int)quad, (Glu.Enums.QuadricDrawStyle)draw); Delegates.gluQuadricDrawStyle((int)quad, (OpenTK.OpenGL.Enums.QuadricDrawStyle)draw);
} }
public static public static
void QuadricNormal(int quad, Glu.Enums.QuadricNormal normal) void QuadricNormal(int quad, OpenTK.OpenGL.Enums.QuadricNormal normal)
{ {
Delegates.gluQuadricNormals((int)quad, (Glu.Enums.QuadricNormal)normal); Delegates.gluQuadricNormals((int)quad, (OpenTK.OpenGL.Enums.QuadricNormal)normal);
} }
public static public static
void QuadricOrientation(int quad, Glu.Enums.QuadricOrientation orientation) void QuadricOrientation(int quad, OpenTK.OpenGL.Enums.QuadricOrientation orientation)
{ {
Delegates.gluQuadricOrientation((int)quad, (Glu.Enums.QuadricOrientation)orientation); Delegates.gluQuadricOrientation((int)quad, (OpenTK.OpenGL.Enums.QuadricOrientation)orientation);
} }
public static public static
void QuadricTexture(int quad, Glu.Enums.Boolean texture) void QuadricTexture(int quad, bool texture)
{ {
Delegates.gluQuadricTexture((int)quad, (Glu.Enums.Boolean)texture); Delegates.gluQuadricTexture((int)quad, (bool)texture);
} }
public static public static
Int32 ScaleImage(GL.Enums.PixelFormat format, Int32 wIn, Int32 hIn, GL.Enums.PixelType typeIn, IntPtr dataIn, Int32 wOut, Int32 hOut, GL.Enums.PixelType typeOut, [Out] IntPtr dataOut) Int32 ScaleImage(OpenTK.OpenGL.Enums.PixelFormat format, Int32 wIn, Int32 hIn, OpenTK.OpenGL.Enums.PixelType typeIn, IntPtr dataIn, Int32 wOut, Int32 hOut, OpenTK.OpenGL.Enums.PixelType typeOut, [Out] IntPtr dataOut)
{ {
return Delegates.gluScaleImage((GL.Enums.PixelFormat)format, (Int32)wIn, (Int32)hIn, (GL.Enums.PixelType)typeIn, (IntPtr)dataIn, (Int32)wOut, (Int32)hOut, (GL.Enums.PixelType)typeOut, (IntPtr)dataOut); return Delegates.gluScaleImage((OpenTK.OpenGL.Enums.PixelFormat)format, (Int32)wIn, (Int32)hIn, (OpenTK.OpenGL.Enums.PixelType)typeIn, (IntPtr)dataIn, (Int32)wOut, (Int32)hOut, (OpenTK.OpenGL.Enums.PixelType)typeOut, (IntPtr)dataOut);
} }
public static public static
Int32 ScaleImage(GL.Enums.PixelFormat format, Int32 wIn, Int32 hIn, GL.Enums.PixelType typeIn, [In, Out] object dataIn, Int32 wOut, Int32 hOut, GL.Enums.PixelType typeOut, [In, Out] object dataOut) Int32 ScaleImage(OpenTK.OpenGL.Enums.PixelFormat format, Int32 wIn, Int32 hIn, OpenTK.OpenGL.Enums.PixelType typeIn, [In, Out] object dataIn, Int32 wOut, Int32 hOut, OpenTK.OpenGL.Enums.PixelType typeOut, [In, Out] object dataOut)
{ {
System.Runtime.InteropServices.GCHandle dataIn_ptr = System.Runtime.InteropServices.GCHandle.Alloc(dataIn, System.Runtime.InteropServices.GCHandleType.Pinned); System.Runtime.InteropServices.GCHandle dataIn_ptr = System.Runtime.InteropServices.GCHandle.Alloc(dataIn, System.Runtime.InteropServices.GCHandleType.Pinned);
System.Runtime.InteropServices.GCHandle dataOut_ptr = System.Runtime.InteropServices.GCHandle.Alloc(dataOut, System.Runtime.InteropServices.GCHandleType.Pinned); System.Runtime.InteropServices.GCHandle dataOut_ptr = System.Runtime.InteropServices.GCHandle.Alloc(dataOut, System.Runtime.InteropServices.GCHandleType.Pinned);
try try
{ {
return Delegates.gluScaleImage((GL.Enums.PixelFormat)format, (Int32)wIn, (Int32)hIn, (GL.Enums.PixelType)typeIn, (IntPtr)dataIn_ptr.AddrOfPinnedObject(), (Int32)wOut, (Int32)hOut, (GL.Enums.PixelType)typeOut, (IntPtr)dataOut_ptr.AddrOfPinnedObject()); return Delegates.gluScaleImage((OpenTK.OpenGL.Enums.PixelFormat)format, (Int32)wIn, (Int32)hIn, (OpenTK.OpenGL.Enums.PixelType)typeIn, (IntPtr)dataIn_ptr.AddrOfPinnedObject(), (Int32)wOut, (Int32)hOut, (OpenTK.OpenGL.Enums.PixelType)typeOut, (IntPtr)dataOut_ptr.AddrOfPinnedObject());
} }
finally finally
{ {
@ -687,9 +687,9 @@ namespace OpenTK.OpenGL
} }
public static public static
void TessCallback(int tess, Glu.Enums.TessCallback which, IntPtr CallBackFunc) void TessCallback(int tess, OpenTK.OpenGL.Enums.TessCallback which, IntPtr CallBackFunc)
{ {
Delegates.gluTessCallback((int)tess, (Glu.Enums.TessCallback)which, (IntPtr)CallBackFunc); Delegates.gluTessCallback((int)tess, (OpenTK.OpenGL.Enums.TessCallback)which, (IntPtr)CallBackFunc);
} }
public static public static
@ -711,9 +711,9 @@ namespace OpenTK.OpenGL
} }
public static public static
void TessProperty(int tess, Glu.Enums.TessProperty which, double data) void TessProperty(int tess, OpenTK.OpenGL.Enums.TessProperty which, double data)
{ {
Delegates.gluTessProperty((int)tess, (Glu.Enums.TessProperty)which, (double)data); Delegates.gluTessProperty((int)tess, (OpenTK.OpenGL.Enums.TessProperty)which, (double)data);
} }
public static public static
@ -848,7 +848,7 @@ namespace OpenTK.OpenGL
return Delegates.gluUnProject4((double)winX, (double)winY, (double)winZ, (double)clipW, (double*)model, (double*)proj, (Int32*)view, (double)near, (double)far, (double*)objX, (double*)objY, (double*)objZ, (double*)objW); return Delegates.gluUnProject4((double)winX, (double)winY, (double)winZ, (double)clipW, (double*)model, (double*)proj, (Int32*)view, (double)near, (double)far, (double*)objX, (double*)objY, (double*)objZ, (double*)objW);
} }
public static partial class EXT public static partial class Ext
{ {
public static public static
void NurbsCallbackData(int nurb, IntPtr userData) void NurbsCallbackData(int nurb, IntPtr userData)
@ -872,30 +872,30 @@ namespace OpenTK.OpenGL
} }
public static partial class SGI public static partial class Sgi
{ {
public static public static
Int32 TexFilterFunc(GL.Enums.TextureTarget target, Glu.Enums.Filter4TypeSGIS filtertype, float[] parms, Int32 n, [Out] float[] weights) Int32 TexFilterFunc(OpenTK.OpenGL.Enums.TextureTarget target, OpenTK.OpenGL.Enums.Filter4TypeSgis filtertype, float[] parms, Int32 n, [Out] float[] weights)
{ {
unsafe unsafe
{ {
fixed (float* parms_ptr = parms) fixed (float* parms_ptr = parms)
fixed (float* weights_ptr = weights) fixed (float* weights_ptr = weights)
{ {
return Delegates.gluTexFilterFuncSGI((GL.Enums.TextureTarget)target, (Glu.Enums.Filter4TypeSGIS)filtertype, (float*)parms_ptr, (Int32)n, (float*)weights_ptr); return Delegates.gluTexFilterFuncSGI((OpenTK.OpenGL.Enums.TextureTarget)target, (OpenTK.OpenGL.Enums.Filter4TypeSgis)filtertype, (float*)parms_ptr, (Int32)n, (float*)weights_ptr);
} }
} }
} }
public static public static
Int32 TexFilterFunc(GL.Enums.TextureTarget target, Glu.Enums.Filter4TypeSGIS filtertype, ref float parms, Int32 n, [Out] out float weights) Int32 TexFilterFunc(OpenTK.OpenGL.Enums.TextureTarget target, OpenTK.OpenGL.Enums.Filter4TypeSgis filtertype, ref float parms, Int32 n, [Out] out float weights)
{ {
unsafe unsafe
{ {
fixed (float* parms_ptr = &parms) fixed (float* parms_ptr = &parms)
fixed (float* weights_ptr = &weights) fixed (float* weights_ptr = &weights)
{ {
Int32 retval = Delegates.gluTexFilterFuncSGI((GL.Enums.TextureTarget)target, (Glu.Enums.Filter4TypeSGIS)filtertype, (float*)parms_ptr, (Int32)n, (float*)weights_ptr); Int32 retval = Delegates.gluTexFilterFuncSGI((OpenTK.OpenGL.Enums.TextureTarget)target, (OpenTK.OpenGL.Enums.Filter4TypeSgis)filtertype, (float*)parms_ptr, (Int32)n, (float*)weights_ptr);
weights = *weights_ptr; weights = *weights_ptr;
return retval; return retval;
} }
@ -904,9 +904,9 @@ namespace OpenTK.OpenGL
[System.CLSCompliant(false)] [System.CLSCompliant(false)]
public static public static
unsafe Int32 TexFilterFunc(GL.Enums.TextureTarget target, Glu.Enums.Filter4TypeSGIS filtertype, float* parms, Int32 n, [Out] float* weights) unsafe Int32 TexFilterFunc(OpenTK.OpenGL.Enums.TextureTarget target, OpenTK.OpenGL.Enums.Filter4TypeSgis filtertype, float* parms, Int32 n, [Out] float* weights)
{ {
return Delegates.gluTexFilterFuncSGI((GL.Enums.TextureTarget)target, (Glu.Enums.Filter4TypeSGIS)filtertype, (float*)parms, (Int32)n, (float*)weights); return Delegates.gluTexFilterFuncSGI((OpenTK.OpenGL.Enums.TextureTarget)target, (OpenTK.OpenGL.Enums.Filter4TypeSgis)filtertype, (float*)parms, (Int32)n, (float*)weights);
} }
} }

View file

@ -23,25 +23,25 @@ namespace OpenTK.OpenGL
internal extern static void BeginTrim(int nurb); internal extern static void BeginTrim(int nurb);
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluBuild1DMipmapLevels", ExactSpelling = true)] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluBuild1DMipmapLevels", ExactSpelling = true)]
internal extern static Int32 Build1DMipmapLevels(GL.Enums.TextureTarget target, Int32 internalFormat, Int32 width, GL.Enums.PixelFormat format, GL.Enums.PixelType type, Int32 level, Int32 @base, Int32 max, IntPtr data); internal extern static Int32 Build1DMipmapLevels(OpenTK.OpenGL.Enums.TextureTarget target, Int32 internalFormat, Int32 width, OpenTK.OpenGL.Enums.PixelFormat format, OpenTK.OpenGL.Enums.PixelType type, Int32 level, Int32 @base, Int32 max, IntPtr data);
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluBuild1DMipmaps", ExactSpelling = true)] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluBuild1DMipmaps", ExactSpelling = true)]
internal extern static Int32 Build1DMipmaps(GL.Enums.TextureTarget target, Int32 internalFormat, Int32 width, GL.Enums.PixelFormat format, GL.Enums.PixelType type, IntPtr data); internal extern static Int32 Build1DMipmaps(OpenTK.OpenGL.Enums.TextureTarget target, Int32 internalFormat, Int32 width, OpenTK.OpenGL.Enums.PixelFormat format, OpenTK.OpenGL.Enums.PixelType type, IntPtr data);
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluBuild2DMipmapLevels", ExactSpelling = true)] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluBuild2DMipmapLevels", ExactSpelling = true)]
internal extern static Int32 Build2DMipmapLevels(GL.Enums.TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, GL.Enums.PixelFormat format, GL.Enums.PixelType type, Int32 level, Int32 @base, Int32 max, IntPtr data); internal extern static Int32 Build2DMipmapLevels(OpenTK.OpenGL.Enums.TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, OpenTK.OpenGL.Enums.PixelFormat format, OpenTK.OpenGL.Enums.PixelType type, Int32 level, Int32 @base, Int32 max, IntPtr data);
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluBuild2DMipmaps", ExactSpelling = true)] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluBuild2DMipmaps", ExactSpelling = true)]
internal extern static Int32 Build2DMipmaps(GL.Enums.TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, GL.Enums.PixelFormat format, GL.Enums.PixelType type, IntPtr data); internal extern static Int32 Build2DMipmaps(OpenTK.OpenGL.Enums.TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, OpenTK.OpenGL.Enums.PixelFormat format, OpenTK.OpenGL.Enums.PixelType type, IntPtr data);
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluBuild3DMipmapLevels", ExactSpelling = true)] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluBuild3DMipmapLevels", ExactSpelling = true)]
internal extern static Int32 Build3DMipmapLevels(GL.Enums.TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, GL.Enums.PixelFormat format, GL.Enums.PixelType type, Int32 level, Int32 @base, Int32 max, IntPtr data); internal extern static Int32 Build3DMipmapLevels(OpenTK.OpenGL.Enums.TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, OpenTK.OpenGL.Enums.PixelFormat format, OpenTK.OpenGL.Enums.PixelType type, Int32 level, Int32 @base, Int32 max, IntPtr data);
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluBuild3DMipmaps", ExactSpelling = true)] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluBuild3DMipmaps", ExactSpelling = true)]
internal extern static Int32 Build3DMipmaps(GL.Enums.TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, GL.Enums.PixelFormat format, GL.Enums.PixelType type, IntPtr data); internal extern static Int32 Build3DMipmaps(OpenTK.OpenGL.Enums.TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, OpenTK.OpenGL.Enums.PixelFormat format, OpenTK.OpenGL.Enums.PixelType type, IntPtr data);
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluCheckExtension", ExactSpelling = true)] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluCheckExtension", ExactSpelling = true)]
internal extern static unsafe Boolean CheckExtension(Byte* extName, Byte* extString); internal extern static unsafe bool CheckExtension(Byte* extName, Byte* extString);
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluCylinder", ExactSpelling = true)] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluCylinder", ExactSpelling = true)]
internal extern static void Cylinder(int quad, double @base, double top, double height, Int32 slices, Int32 stacks); internal extern static void Cylinder(int quad, double @base, double top, double height, Int32 slices, Int32 stacks);
@ -71,16 +71,16 @@ namespace OpenTK.OpenGL
internal extern static void EndTrim(int nurb); internal extern static void EndTrim(int nurb);
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluErrorString", ExactSpelling = true)] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluErrorString", ExactSpelling = true)]
internal extern static IntPtr ErrorString(Glu.Enums.ErrorCode error); internal extern static IntPtr ErrorString(OpenTK.OpenGL.Enums.GluErrorCode error);
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluGetString", ExactSpelling = true)] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluGetString", ExactSpelling = true)]
internal extern static IntPtr GetString(Glu.Enums.StringName name); internal extern static IntPtr GetString(OpenTK.OpenGL.Enums.GluStringName name);
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluGetNurbsProperty", ExactSpelling = true)] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluGetNurbsProperty", ExactSpelling = true)]
internal extern static unsafe void GetNurbsProperty(int nurb, Glu.Enums.NurbsProperty property, [Out] float* data); internal extern static unsafe void GetNurbsProperty(int nurb, OpenTK.OpenGL.Enums.NurbsProperty property, [Out] float* data);
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluGetTessProperty", ExactSpelling = true)] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluGetTessProperty", ExactSpelling = true)]
internal extern static unsafe void GetTessProperty(int tess, Glu.Enums.TessProperty which, [Out] double* data); internal extern static unsafe void GetTessProperty(int tess, OpenTK.OpenGL.Enums.TessProperty which, [Out] double* data);
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluLoadSamplingMatrices", ExactSpelling = true)] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluLoadSamplingMatrices", ExactSpelling = true)]
internal extern static unsafe void LoadSamplingMatrices(int nurb, float* model, float* perspective, Int32* view); internal extern static unsafe void LoadSamplingMatrices(int nurb, float* model, float* perspective, Int32* view);
@ -98,22 +98,22 @@ namespace OpenTK.OpenGL
internal extern static int NewTess(); internal extern static int NewTess();
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluNextContour", ExactSpelling = true)] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluNextContour", ExactSpelling = true)]
internal extern static void NextContour(int tess, Glu.Enums.TessContour type); internal extern static void NextContour(int tess, OpenTK.OpenGL.Enums.TessContour type);
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluNurbsCallback", ExactSpelling = true)] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluNurbsCallback", ExactSpelling = true)]
internal extern static void NurbsCallback(int nurb, Glu.Enums.NurbsCallback which, IntPtr CallBackFunc); internal extern static void NurbsCallback(int nurb, OpenTK.OpenGL.Enums.NurbsCallback which, IntPtr CallBackFunc);
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluNurbsCallbackData", ExactSpelling = true)] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluNurbsCallbackData", ExactSpelling = true)]
internal extern static void NurbsCallbackData(int nurb, IntPtr userData); internal extern static void NurbsCallbackData(int nurb, IntPtr userData);
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluNurbsCurve", ExactSpelling = true)] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluNurbsCurve", ExactSpelling = true)]
internal extern static unsafe void NurbsCurve(int nurb, Int32 knotCount, [Out] float* knots, Int32 stride, [Out] float* control, Int32 order, GL.Enums.MapTarget type); internal extern static unsafe void NurbsCurve(int nurb, Int32 knotCount, [Out] float* knots, Int32 stride, [Out] float* control, Int32 order, OpenTK.OpenGL.Enums.MapTarget type);
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluNurbsProperty", ExactSpelling = true)] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluNurbsProperty", ExactSpelling = true)]
internal extern static void NurbsProperty(int nurb, Glu.Enums.NurbsProperty property, float value); internal extern static void NurbsProperty(int nurb, OpenTK.OpenGL.Enums.NurbsProperty property, float value);
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluNurbsSurface", ExactSpelling = true)] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluNurbsSurface", ExactSpelling = true)]
internal extern static unsafe void NurbsSurface(int nurb, Int32 sKnotCount, float* sKnots, Int32 tKnotCount, float* tKnots, Int32 sStride, Int32 tStride, float* control, Int32 sOrder, Int32 tOrder, GL.Enums.MapTarget type); internal extern static unsafe void NurbsSurface(int nurb, Int32 sKnotCount, float* sKnots, Int32 tKnotCount, float* tKnots, Int32 sStride, Int32 tStride, float* control, Int32 sOrder, Int32 tOrder, OpenTK.OpenGL.Enums.MapTarget type);
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluOrtho2D", ExactSpelling = true)] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluOrtho2D", ExactSpelling = true)]
internal extern static void Ortho2D(double left, double right, double bottom, double top); internal extern static void Ortho2D(double left, double right, double bottom, double top);
@ -131,25 +131,25 @@ namespace OpenTK.OpenGL
internal extern static unsafe Int32 Project(double objX, double objY, double objZ, double* model, double* proj, Int32* view, double* winX, double* winY, double* winZ); internal extern static unsafe Int32 Project(double objX, double objY, double objZ, double* model, double* proj, Int32* view, double* winX, double* winY, double* winZ);
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluPwlCurve", ExactSpelling = true)] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluPwlCurve", ExactSpelling = true)]
internal extern static unsafe void PwlCurve(int nurb, Int32 count, float* data, Int32 stride, Glu.Enums.NurbsTrim type); internal extern static unsafe void PwlCurve(int nurb, Int32 count, float* data, Int32 stride, OpenTK.OpenGL.Enums.NurbsTrim type);
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluQuadricCallback", ExactSpelling = true)] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluQuadricCallback", ExactSpelling = true)]
internal extern static void QuadricCallback(int quad, Glu.Enums.QuadricCallback which, IntPtr CallBackFunc); internal extern static void QuadricCallback(int quad, OpenTK.OpenGL.Enums.QuadricCallback which, IntPtr CallBackFunc);
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluQuadricDrawStyle", ExactSpelling = true)] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluQuadricDrawStyle", ExactSpelling = true)]
internal extern static void QuadricDrawStyle(int quad, Glu.Enums.QuadricDrawStyle draw); internal extern static void QuadricDrawStyle(int quad, OpenTK.OpenGL.Enums.QuadricDrawStyle draw);
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluQuadricNormals", ExactSpelling = true)] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluQuadricNormals", ExactSpelling = true)]
internal extern static void QuadricNormals(int quad, Glu.Enums.QuadricNormal normal); internal extern static void QuadricNormals(int quad, OpenTK.OpenGL.Enums.QuadricNormal normal);
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluQuadricOrientation", ExactSpelling = true)] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluQuadricOrientation", ExactSpelling = true)]
internal extern static void QuadricOrientation(int quad, Glu.Enums.QuadricOrientation orientation); internal extern static void QuadricOrientation(int quad, OpenTK.OpenGL.Enums.QuadricOrientation orientation);
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluQuadricTexture", ExactSpelling = true)] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluQuadricTexture", ExactSpelling = true)]
internal extern static void QuadricTexture(int quad, Glu.Enums.Boolean texture); internal extern static void QuadricTexture(int quad, bool texture);
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluScaleImage", ExactSpelling = true)] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluScaleImage", ExactSpelling = true)]
internal extern static Int32 ScaleImage(GL.Enums.PixelFormat format, Int32 wIn, Int32 hIn, GL.Enums.PixelType typeIn, IntPtr dataIn, Int32 wOut, Int32 hOut, GL.Enums.PixelType typeOut, [Out] IntPtr dataOut); internal extern static Int32 ScaleImage(OpenTK.OpenGL.Enums.PixelFormat format, Int32 wIn, Int32 hIn, OpenTK.OpenGL.Enums.PixelType typeIn, IntPtr dataIn, Int32 wOut, Int32 hOut, OpenTK.OpenGL.Enums.PixelType typeOut, [Out] IntPtr dataOut);
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluSphere", ExactSpelling = true)] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluSphere", ExactSpelling = true)]
internal extern static void Sphere(int quad, double radius, Int32 slices, Int32 stacks); internal extern static void Sphere(int quad, double radius, Int32 slices, Int32 stacks);
@ -161,7 +161,7 @@ namespace OpenTK.OpenGL
internal extern static void TessBeginPolygon(int tess, IntPtr data); internal extern static void TessBeginPolygon(int tess, IntPtr data);
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluTessCallback", ExactSpelling = true)] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluTessCallback", ExactSpelling = true)]
internal extern static void TessCallback(int tess, Glu.Enums.TessCallback which, IntPtr CallBackFunc); internal extern static void TessCallback(int tess, OpenTK.OpenGL.Enums.TessCallback which, IntPtr CallBackFunc);
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluTessEndContour", ExactSpelling = true)] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluTessEndContour", ExactSpelling = true)]
internal extern static void TessEndContour(int tess); internal extern static void TessEndContour(int tess);
@ -173,7 +173,7 @@ namespace OpenTK.OpenGL
internal extern static void TessNormal(int tess, double valueX, double valueY, double valueZ); internal extern static void TessNormal(int tess, double valueX, double valueY, double valueZ);
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluTessProperty", ExactSpelling = true)] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluTessProperty", ExactSpelling = true)]
internal extern static void TessProperty(int tess, Glu.Enums.TessProperty which, double data); internal extern static void TessProperty(int tess, OpenTK.OpenGL.Enums.TessProperty which, double data);
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluTessVertex", ExactSpelling = true)] [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluTessVertex", ExactSpelling = true)]
internal extern static unsafe void TessVertex(int tess, [Out] double* location, IntPtr data); internal extern static unsafe void TessVertex(int tess, [Out] double* location, IntPtr data);

View file

@ -21,25 +21,25 @@ namespace OpenTK.OpenGL
internal delegate void BeginTrim(int nurb); internal delegate void BeginTrim(int nurb);
internal static BeginTrim gluBeginTrim; internal static BeginTrim gluBeginTrim;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate Int32 Build1DMipmapLevels(GL.Enums.TextureTarget target, Int32 internalFormat, Int32 width, GL.Enums.PixelFormat format, GL.Enums.PixelType type, Int32 level, Int32 @base, Int32 max, IntPtr data); internal delegate Int32 Build1DMipmapLevels(OpenTK.OpenGL.Enums.TextureTarget target, Int32 internalFormat, Int32 width, OpenTK.OpenGL.Enums.PixelFormat format, OpenTK.OpenGL.Enums.PixelType type, Int32 level, Int32 @base, Int32 max, IntPtr data);
internal static Build1DMipmapLevels gluBuild1DMipmapLevels; internal static Build1DMipmapLevels gluBuild1DMipmapLevels;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate Int32 Build1DMipmaps(GL.Enums.TextureTarget target, Int32 internalFormat, Int32 width, GL.Enums.PixelFormat format, GL.Enums.PixelType type, IntPtr data); internal delegate Int32 Build1DMipmaps(OpenTK.OpenGL.Enums.TextureTarget target, Int32 internalFormat, Int32 width, OpenTK.OpenGL.Enums.PixelFormat format, OpenTK.OpenGL.Enums.PixelType type, IntPtr data);
internal static Build1DMipmaps gluBuild1DMipmaps; internal static Build1DMipmaps gluBuild1DMipmaps;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate Int32 Build2DMipmapLevels(GL.Enums.TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, GL.Enums.PixelFormat format, GL.Enums.PixelType type, Int32 level, Int32 @base, Int32 max, IntPtr data); internal delegate Int32 Build2DMipmapLevels(OpenTK.OpenGL.Enums.TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, OpenTK.OpenGL.Enums.PixelFormat format, OpenTK.OpenGL.Enums.PixelType type, Int32 level, Int32 @base, Int32 max, IntPtr data);
internal static Build2DMipmapLevels gluBuild2DMipmapLevels; internal static Build2DMipmapLevels gluBuild2DMipmapLevels;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate Int32 Build2DMipmaps(GL.Enums.TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, GL.Enums.PixelFormat format, GL.Enums.PixelType type, IntPtr data); internal delegate Int32 Build2DMipmaps(OpenTK.OpenGL.Enums.TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, OpenTK.OpenGL.Enums.PixelFormat format, OpenTK.OpenGL.Enums.PixelType type, IntPtr data);
internal static Build2DMipmaps gluBuild2DMipmaps; internal static Build2DMipmaps gluBuild2DMipmaps;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate Int32 Build3DMipmapLevels(GL.Enums.TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, GL.Enums.PixelFormat format, GL.Enums.PixelType type, Int32 level, Int32 @base, Int32 max, IntPtr data); internal delegate Int32 Build3DMipmapLevels(OpenTK.OpenGL.Enums.TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, OpenTK.OpenGL.Enums.PixelFormat format, OpenTK.OpenGL.Enums.PixelType type, Int32 level, Int32 @base, Int32 max, IntPtr data);
internal static Build3DMipmapLevels gluBuild3DMipmapLevels; internal static Build3DMipmapLevels gluBuild3DMipmapLevels;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate Int32 Build3DMipmaps(GL.Enums.TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, GL.Enums.PixelFormat format, GL.Enums.PixelType type, IntPtr data); internal delegate Int32 Build3DMipmaps(OpenTK.OpenGL.Enums.TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, OpenTK.OpenGL.Enums.PixelFormat format, OpenTK.OpenGL.Enums.PixelType type, IntPtr data);
internal static Build3DMipmaps gluBuild3DMipmaps; internal static Build3DMipmaps gluBuild3DMipmaps;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate Boolean CheckExtension(Byte* extName, Byte* extString); internal unsafe delegate bool CheckExtension(Byte* extName, Byte* extString);
internal unsafe static CheckExtension gluCheckExtension; internal unsafe static CheckExtension gluCheckExtension;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void Cylinder(int quad, double @base, double top, double height, Int32 slices, Int32 stacks); internal delegate void Cylinder(int quad, double @base, double top, double height, Int32 slices, Int32 stacks);
@ -69,16 +69,16 @@ namespace OpenTK.OpenGL
internal delegate void EndTrim(int nurb); internal delegate void EndTrim(int nurb);
internal static EndTrim gluEndTrim; internal static EndTrim gluEndTrim;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate IntPtr ErrorString(Glu.Enums.ErrorCode error); internal delegate IntPtr ErrorString(OpenTK.OpenGL.Enums.GluErrorCode error);
internal static ErrorString gluErrorString; internal static ErrorString gluErrorString;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate IntPtr GetString(Glu.Enums.StringName name); internal delegate IntPtr GetString(OpenTK.OpenGL.Enums.GluStringName name);
internal static GetString gluGetString; internal static GetString gluGetString;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetNurbsProperty(int nurb, Glu.Enums.NurbsProperty property, [Out] float* data); internal unsafe delegate void GetNurbsProperty(int nurb, OpenTK.OpenGL.Enums.NurbsProperty property, [Out] float* data);
internal unsafe static GetNurbsProperty gluGetNurbsProperty; internal unsafe static GetNurbsProperty gluGetNurbsProperty;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetTessProperty(int tess, Glu.Enums.TessProperty which, [Out] double* data); internal unsafe delegate void GetTessProperty(int tess, OpenTK.OpenGL.Enums.TessProperty which, [Out] double* data);
internal unsafe static GetTessProperty gluGetTessProperty; internal unsafe static GetTessProperty gluGetTessProperty;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void LoadSamplingMatrices(int nurb, float* model, float* perspective, Int32* view); internal unsafe delegate void LoadSamplingMatrices(int nurb, float* model, float* perspective, Int32* view);
@ -96,10 +96,10 @@ namespace OpenTK.OpenGL
internal delegate int NewTess(); internal delegate int NewTess();
internal static NewTess gluNewTess; internal static NewTess gluNewTess;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void NextContour(int tess, Glu.Enums.TessContour type); internal delegate void NextContour(int tess, OpenTK.OpenGL.Enums.TessContour type);
internal static NextContour gluNextContour; internal static NextContour gluNextContour;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void NurbsCallback(int nurb, Glu.Enums.NurbsCallback which, IntPtr CallBackFunc); internal delegate void NurbsCallback(int nurb, OpenTK.OpenGL.Enums.NurbsCallback which, IntPtr CallBackFunc);
internal static NurbsCallback gluNurbsCallback; internal static NurbsCallback gluNurbsCallback;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void NurbsCallbackData(int nurb, IntPtr userData); internal delegate void NurbsCallbackData(int nurb, IntPtr userData);
@ -108,13 +108,13 @@ namespace OpenTK.OpenGL
internal delegate void NurbsCallbackDataEXT(int nurb, IntPtr userData); internal delegate void NurbsCallbackDataEXT(int nurb, IntPtr userData);
internal static NurbsCallbackDataEXT gluNurbsCallbackDataEXT; internal static NurbsCallbackDataEXT gluNurbsCallbackDataEXT;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void NurbsCurve(int nurb, Int32 knotCount, [Out] float* knots, Int32 stride, [Out] float* control, Int32 order, GL.Enums.MapTarget type); internal unsafe delegate void NurbsCurve(int nurb, Int32 knotCount, [Out] float* knots, Int32 stride, [Out] float* control, Int32 order, OpenTK.OpenGL.Enums.MapTarget type);
internal unsafe static NurbsCurve gluNurbsCurve; internal unsafe static NurbsCurve gluNurbsCurve;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void NurbsProperty(int nurb, Glu.Enums.NurbsProperty property, float value); internal delegate void NurbsProperty(int nurb, OpenTK.OpenGL.Enums.NurbsProperty property, float value);
internal static NurbsProperty gluNurbsProperty; internal static NurbsProperty gluNurbsProperty;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void NurbsSurface(int nurb, Int32 sKnotCount, float* sKnots, Int32 tKnotCount, float* tKnots, Int32 sStride, Int32 tStride, float* control, Int32 sOrder, Int32 tOrder, GL.Enums.MapTarget type); internal unsafe delegate void NurbsSurface(int nurb, Int32 sKnotCount, float* sKnots, Int32 tKnotCount, float* tKnots, Int32 sStride, Int32 tStride, float* control, Int32 sOrder, Int32 tOrder, OpenTK.OpenGL.Enums.MapTarget type);
internal unsafe static NurbsSurface gluNurbsSurface; internal unsafe static NurbsSurface gluNurbsSurface;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void Ortho2D(double left, double right, double bottom, double top); internal delegate void Ortho2D(double left, double right, double bottom, double top);
@ -132,25 +132,25 @@ namespace OpenTK.OpenGL
internal unsafe delegate Int32 Project(double objX, double objY, double objZ, double* model, double* proj, Int32* view, double* winX, double* winY, double* winZ); internal unsafe delegate Int32 Project(double objX, double objY, double objZ, double* model, double* proj, Int32* view, double* winX, double* winY, double* winZ);
internal unsafe static Project gluProject; internal unsafe static Project gluProject;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void PwlCurve(int nurb, Int32 count, float* data, Int32 stride, Glu.Enums.NurbsTrim type); internal unsafe delegate void PwlCurve(int nurb, Int32 count, float* data, Int32 stride, OpenTK.OpenGL.Enums.NurbsTrim type);
internal unsafe static PwlCurve gluPwlCurve; internal unsafe static PwlCurve gluPwlCurve;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void QuadricCallback(int quad, Glu.Enums.QuadricCallback which, IntPtr CallBackFunc); internal delegate void QuadricCallback(int quad, OpenTK.OpenGL.Enums.QuadricCallback which, IntPtr CallBackFunc);
internal static QuadricCallback gluQuadricCallback; internal static QuadricCallback gluQuadricCallback;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void QuadricDrawStyle(int quad, Glu.Enums.QuadricDrawStyle draw); internal delegate void QuadricDrawStyle(int quad, OpenTK.OpenGL.Enums.QuadricDrawStyle draw);
internal static QuadricDrawStyle gluQuadricDrawStyle; internal static QuadricDrawStyle gluQuadricDrawStyle;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void QuadricNormals(int quad, Glu.Enums.QuadricNormal normal); internal delegate void QuadricNormals(int quad, OpenTK.OpenGL.Enums.QuadricNormal normal);
internal static QuadricNormals gluQuadricNormals; internal static QuadricNormals gluQuadricNormals;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void QuadricOrientation(int quad, Glu.Enums.QuadricOrientation orientation); internal delegate void QuadricOrientation(int quad, OpenTK.OpenGL.Enums.QuadricOrientation orientation);
internal static QuadricOrientation gluQuadricOrientation; internal static QuadricOrientation gluQuadricOrientation;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void QuadricTexture(int quad, Glu.Enums.Boolean texture); internal delegate void QuadricTexture(int quad, bool texture);
internal static QuadricTexture gluQuadricTexture; internal static QuadricTexture gluQuadricTexture;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate Int32 ScaleImage(GL.Enums.PixelFormat format, Int32 wIn, Int32 hIn, GL.Enums.PixelType typeIn, IntPtr dataIn, Int32 wOut, Int32 hOut, GL.Enums.PixelType typeOut, [Out] IntPtr dataOut); internal delegate Int32 ScaleImage(OpenTK.OpenGL.Enums.PixelFormat format, Int32 wIn, Int32 hIn, OpenTK.OpenGL.Enums.PixelType typeIn, IntPtr dataIn, Int32 wOut, Int32 hOut, OpenTK.OpenGL.Enums.PixelType typeOut, [Out] IntPtr dataOut);
internal static ScaleImage gluScaleImage; internal static ScaleImage gluScaleImage;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void Sphere(int quad, double radius, Int32 slices, Int32 stacks); internal delegate void Sphere(int quad, double radius, Int32 slices, Int32 stacks);
@ -162,7 +162,7 @@ namespace OpenTK.OpenGL
internal delegate void TessBeginPolygon(int tess, IntPtr data); internal delegate void TessBeginPolygon(int tess, IntPtr data);
internal static TessBeginPolygon gluTessBeginPolygon; internal static TessBeginPolygon gluTessBeginPolygon;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void TessCallback(int tess, Glu.Enums.TessCallback which, IntPtr CallBackFunc); internal delegate void TessCallback(int tess, OpenTK.OpenGL.Enums.TessCallback which, IntPtr CallBackFunc);
internal static TessCallback gluTessCallback; internal static TessCallback gluTessCallback;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void TessEndContour(int tess); internal delegate void TessEndContour(int tess);
@ -174,13 +174,13 @@ namespace OpenTK.OpenGL
internal delegate void TessNormal(int tess, double valueX, double valueY, double valueZ); internal delegate void TessNormal(int tess, double valueX, double valueY, double valueZ);
internal static TessNormal gluTessNormal; internal static TessNormal gluTessNormal;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void TessProperty(int tess, Glu.Enums.TessProperty which, double data); internal delegate void TessProperty(int tess, OpenTK.OpenGL.Enums.TessProperty which, double data);
internal static TessProperty gluTessProperty; internal static TessProperty gluTessProperty;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void TessVertex(int tess, [Out] double* location, IntPtr data); internal unsafe delegate void TessVertex(int tess, [Out] double* location, IntPtr data);
internal unsafe static TessVertex gluTessVertex; internal unsafe static TessVertex gluTessVertex;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate Int32 TexFilterFuncSGI(GL.Enums.TextureTarget target, Glu.Enums.Filter4TypeSGIS filtertype, float* parms, Int32 n, [Out] float* weights); internal unsafe delegate Int32 TexFilterFuncSGI(OpenTK.OpenGL.Enums.TextureTarget target, OpenTK.OpenGL.Enums.Filter4TypeSgis filtertype, float* parms, Int32 n, [Out] float* weights);
internal unsafe static TexFilterFuncSGI gluTexFilterFuncSGI; internal unsafe static TexFilterFuncSGI gluTexFilterFuncSGI;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate Int32 UnProject(double winX, double winY, double winZ, double* model, double* proj, Int32* view, double* objX, double* objY, double* objZ); internal unsafe delegate Int32 UnProject(double winX, double winY, double winZ, double* model, double* proj, Int32* view, double* objX, double* objY, double* objZ);

View file

@ -1,402 +1,391 @@
namespace OpenTK.OpenGL namespace OpenTK.OpenGL
{ {
public static partial class Glu namespace Enums
{ {
public class Enums public enum GluVersion
{ {
public enum Boolean Version11 = ((int)1),
{ Version13 = ((int)1),
TRUE = ((int)1), Version12 = ((int)1),
FALSE = ((int)0),
} }
public enum Version public enum GluStringName
{ {
VERSION_1_1 = ((int)1), Version = ((int)100800),
VERSION_1_2 = ((int)1), Extensions = ((int)100801),
VERSION_1_3 = ((int)1),
} }
public enum StringName public enum GluErrorCode
{ {
VERSION = ((int)100800), OutOfMemory = ((int)100902),
EXTENSIONS = ((int)100801), InvalidEnum = ((int)100900),
InvalidValue = ((int)100901),
InvalidOperation = ((int)100904),
} }
public enum ErrorCode public enum Filter4TypeSgis
{ {
INVALID_ENUM = ((int)100900), MitchellNetravaliSgi = ((int)100301),
OUT_OF_MEMORY = ((int)100902), LagrangianSgi = ((int)100300),
INVALID_OPERATION = ((int)100904),
INVALID_VALUE = ((int)100901),
}
public enum Filter4TypeSGIS
{
LAGRANGIAN_SGI = ((int)100300),
MITCHELL_NETRAVALI_SGI = ((int)100301),
} }
public enum NurbsDisplay public enum NurbsDisplay
{ {
FILL = ((int)QuadricDrawStyle.FILL), OutlinePolygon = ((int)100240),
OUTLINE_POLYGON = ((int)100240), OutlinePatch = ((int)100241),
OUTLINE_PATCH = ((int)100241), Fill = ((int)QuadricDrawStyle.Fill),
} }
public enum NurbsCallback public enum NurbsCallback
{ {
NURBS_END_DATA_EXT = ((int)100175), NurbsColorData = ((int)100173),
NURBS_TEXTURE_COORD_DATA = ((int)100174), NurbsVertexData = ((int)100171),
NURBS_ERROR = ((int)100103), NurbsNormal = ((int)100166),
NURBS_END = ((int)100169), NurbsError = ((int)100103),
NURBS_NORMAL_DATA_EXT = ((int)100172), NurbsTextureCoordExt = ((int)100168),
NURBS_BEGIN_EXT = ((int)100164), Error = ((int)100103),
NURBS_BEGIN_DATA_EXT = ((int)100170), NurbsEndDataExt = ((int)100175),
NURBS_NORMAL_DATA = ((int)100172), NurbsEnd = ((int)100169),
NURBS_BEGIN = ((int)100164), NurbsTextureCoord = ((int)100168),
NURBS_END_EXT = ((int)100169), NurbsEndExt = ((int)100169),
NURBS_VERTEX_DATA_EXT = ((int)100171), NurbsNormalDataExt = ((int)100172),
NURBS_COLOR_DATA = ((int)100173), NurbsColor = ((int)100167),
NURBS_TEXTURE_COORD_DATA_EXT = ((int)100174), NurbsColorExt = ((int)100167),
NURBS_NORMAL_EXT = ((int)100166), NurbsVertexExt = ((int)100165),
ERROR = ((int)100103), NurbsBeginExt = ((int)100164),
NURBS_TEXTURE_COORD_EXT = ((int)100168), NurbsTextureCoordData = ((int)100174),
NURBS_VERTEX = ((int)100165), NurbsBeginData = ((int)100170),
NURBS_BEGIN_DATA = ((int)100170), NurbsColorDataExt = ((int)100173),
NURBS_COLOR_DATA_EXT = ((int)100173), NurbsBeginDataExt = ((int)100170),
NURBS_COLOR = ((int)100167), NurbsVertex = ((int)100165),
NURBS_NORMAL = ((int)100166), NurbsTextureCoordDataExt = ((int)100174),
NURBS_VERTEX_DATA = ((int)100171), NurbsNormalExt = ((int)100166),
NURBS_VERTEX_EXT = ((int)100165), NurbsVertexDataExt = ((int)100171),
NURBS_END_DATA = ((int)100175), NurbsBegin = ((int)100164),
NURBS_TEXTURE_COORD = ((int)100168), NurbsEndData = ((int)100175),
NURBS_COLOR_EXT = ((int)100167), NurbsNormalData = ((int)100172),
} }
public enum NurbsError public enum NurbsError
{ {
NURBS_ERROR3 = ((int)100253), NurbsError37 = ((int)100287),
NURBS_ERROR9 = ((int)100259), NurbsError16 = ((int)100266),
NURBS_ERROR4 = ((int)100254), NurbsError26 = ((int)100276),
NURBS_ERROR10 = ((int)100260), NurbsError36 = ((int)100286),
NURBS_ERROR11 = ((int)100261), NurbsError19 = ((int)100269),
NURBS_ERROR12 = ((int)100262), NurbsError29 = ((int)100279),
NURBS_ERROR13 = ((int)100263), NurbsError8 = ((int)100258),
NURBS_ERROR14 = ((int)100264), NurbsError12 = ((int)100262),
NURBS_ERROR15 = ((int)100265), NurbsError9 = ((int)100259),
NURBS_ERROR16 = ((int)100266), NurbsError1 = ((int)100251),
NURBS_ERROR17 = ((int)100267), NurbsError18 = ((int)100268),
NURBS_ERROR18 = ((int)100268), NurbsError28 = ((int)100278),
NURBS_ERROR19 = ((int)100269), NurbsError4 = ((int)100254),
NURBS_ERROR5 = ((int)100255), NurbsError5 = ((int)100255),
NURBS_ERROR1 = ((int)100251), NurbsError6 = ((int)100256),
NURBS_ERROR20 = ((int)100270), NurbsError7 = ((int)100257),
NURBS_ERROR21 = ((int)100271), NurbsError3 = ((int)100253),
NURBS_ERROR22 = ((int)100272), NurbsError22 = ((int)100272),
NURBS_ERROR23 = ((int)100273), NurbsError32 = ((int)100282),
NURBS_ERROR24 = ((int)100274), NurbsError2 = ((int)100252),
NURBS_ERROR25 = ((int)100275), NurbsError11 = ((int)100261),
NURBS_ERROR26 = ((int)100276), NurbsError21 = ((int)100271),
NURBS_ERROR27 = ((int)100277), NurbsError31 = ((int)100281),
NURBS_ERROR28 = ((int)100278), NurbsError10 = ((int)100260),
NURBS_ERROR29 = ((int)100279), NurbsError20 = ((int)100270),
NURBS_ERROR6 = ((int)100256), NurbsError30 = ((int)100280),
NURBS_ERROR30 = ((int)100280), NurbsError15 = ((int)100265),
NURBS_ERROR31 = ((int)100281), NurbsError25 = ((int)100275),
NURBS_ERROR32 = ((int)100282), NurbsError35 = ((int)100285),
NURBS_ERROR33 = ((int)100283), NurbsError14 = ((int)100264),
NURBS_ERROR34 = ((int)100284), NurbsError24 = ((int)100274),
NURBS_ERROR35 = ((int)100285), NurbsError34 = ((int)100284),
NURBS_ERROR36 = ((int)100286), NurbsError13 = ((int)100263),
NURBS_ERROR37 = ((int)100287), NurbsError23 = ((int)100273),
NURBS_ERROR7 = ((int)100257), NurbsError33 = ((int)100283),
NURBS_ERROR2 = ((int)100252), NurbsError17 = ((int)100267),
NURBS_ERROR8 = ((int)100258), NurbsError27 = ((int)100277),
} }
public enum NurbsProperty public enum NurbsProperty
{ {
CULLING = ((int)100201), DisplayMode = ((int)100204),
U_STEP = ((int)100206), ParametricTolerance = ((int)100202),
SAMPLING_METHOD = ((int)100205), NurbsRenderer = ((int)100162),
SAMPLING_TOLERANCE = ((int)100203), NurbsTessellator = ((int)100161),
NURBS_MODE = ((int)100160), NurbsTessellatorExt = ((int)100161),
DISPLAY_MODE = ((int)100204), NurbsModeExt = ((int)100160),
NURBS_TESSELLATOR_EXT = ((int)100161), UStep = ((int)100206),
NURBS_TESSELLATOR = ((int)100161), SamplingMethod = ((int)100205),
V_STEP = ((int)100207), AutoLoadMatrix = ((int)100200),
PARAMETRIC_TOLERANCE = ((int)100202), VStep = ((int)100207),
NURBS_RENDERER_EXT = ((int)100162), Culling = ((int)100201),
AUTO_LOAD_MATRIX = ((int)100200), NurbsRendererExt = ((int)100162),
NURBS_MODE_EXT = ((int)100160), NurbsMode = ((int)100160),
NURBS_RENDERER = ((int)100162), SamplingTolerance = ((int)100203),
} }
public enum NurbsSampling public enum NurbsSampling
{ {
OBJECT_PATH_LENGTH_EXT = ((int)100209), ObjectParametricError = ((int)100208),
DOMAIN_DISTANCE = ((int)100217), ObjectPathLength = ((int)100209),
OBJECT_PARAMETRIC_ERROR = ((int)100208), PathLength = ((int)100215),
OBJECT_PATH_LENGTH = ((int)100209), DomainDistance = ((int)100217),
PATH_LENGTH = ((int)100215), ObjectPathLengthExt = ((int)100209),
PARAMETRIC_ERROR = ((int)100216), ObjectParametricErrorExt = ((int)100208),
OBJECT_PARAMETRIC_ERROR_EXT = ((int)100208), ParametricError = ((int)100216),
} }
public enum NurbsTrim public enum NurbsTrim
{ {
MAP1_TRIM_3 = ((int)100211), Map1Trim3 = ((int)100211),
MAP1_TRIM_2 = ((int)100210), Map1Trim2 = ((int)100210),
} }
public enum QuadricDrawStyle public enum QuadricDrawStyle
{ {
FILL = ((int)100012), Line = ((int)100011),
SILHOUETTE = ((int)100013), Silhouette = ((int)100013),
POINT = ((int)100010), Point = ((int)100010),
LINE = ((int)100011), Fill = ((int)100012),
} }
public enum QuadricCallback public enum QuadricCallback
{ {
ERROR = ((int)NurbsCallback.ERROR), Error = ((int)NurbsCallback.Error),
} }
public enum QuadricNormal public enum QuadricNormal
{ {
FLAT = ((int)100001), None = ((int)100002),
NONE = ((int)100002), Flat = ((int)100001),
SMOOTH = ((int)100000), Smooth = ((int)100000),
} }
public enum QuadricOrientation public enum QuadricOrientation
{ {
INSIDE = ((int)100021), Outside = ((int)100020),
OUTSIDE = ((int)100020), Inside = ((int)100021),
} }
public enum TessCallback public enum TessCallback
{ {
TESS_EDGE_FLAG_DATA = ((int)100110), TessEdgeFlagData = ((int)100110),
ERROR = ((int)100103), Begin = ((int)100100),
TESS_COMBINE = ((int)100105), TessError = ((int)100103),
TESS_BEGIN_DATA = ((int)100106), EdgeFlag = ((int)100104),
TESS_ERROR_DATA = ((int)100109), End = ((int)100102),
BEGIN = ((int)100100), TessCombine = ((int)100105),
TESS_ERROR = ((int)100103), Error = ((int)100103),
TESS_EDGE_FLAG = ((int)100104), TessEndData = ((int)100108),
TESS_END = ((int)100102), TessBeginData = ((int)100106),
TESS_BEGIN = ((int)100100), TessErrorData = ((int)100109),
TESS_VERTEX_DATA = ((int)100107), Vertex = ((int)100101),
TESS_VERTEX = ((int)100101), TessVertexData = ((int)100107),
END = ((int)100102), TessVertex = ((int)100101),
VERTEX = ((int)100101), TessEdgeFlag = ((int)100104),
EDGE_FLAG = ((int)100104), TessEnd = ((int)100102),
TESS_END_DATA = ((int)100108), TessBegin = ((int)100100),
TESS_COMBINE_DATA = ((int)100111), TessCombineData = ((int)100111),
} }
public enum TessContour public enum TessContour
{ {
CW = ((int)100120), Exterior = ((int)100123),
INTERIOR = ((int)100122), Ccw = ((int)100121),
EXTERIOR = ((int)100123), Interior = ((int)100122),
UNKNOWN = ((int)100124), Unknown = ((int)100124),
CCW = ((int)100121), Cw = ((int)100120),
} }
public enum TessProperty public enum TessProperty
{ {
TESS_BOUNDARY_ONLY = ((int)100141), TessWindingRule = ((int)100140),
TESS_TOLERANCE = ((int)100142), TessBoundaryOnly = ((int)100141),
TESS_WINDING_RULE = ((int)100140), TessTolerance = ((int)100142),
} }
public enum TessError public enum TessError
{ {
TESS_MISSING_END_CONTOUR = ((int)100154), TessMissingBeginPolygon = ((int)100151),
TESS_COORD_TOO_LARGE = ((int)100155), TessMissingEndPolygon = ((int)100153),
TESS_MISSING_BEGIN_POLYGON = ((int)100151), TessError1 = ((int)100151),
TESS_MISSING_END_POLYGON = ((int)100153), TessMissingBeginContour = ((int)100152),
TESS_ERROR8 = ((int)100158), TessCoordTooLarge = ((int)100155),
TESS_ERROR7 = ((int)100157), TessError7 = ((int)100157),
TESS_ERROR6 = ((int)100156), TessError2 = ((int)100152),
TESS_ERROR5 = ((int)100155), TessError4 = ((int)100154),
TESS_ERROR4 = ((int)100154), TessNeedCombineCallback = ((int)100156),
TESS_ERROR3 = ((int)100153), TessError3 = ((int)100153),
TESS_ERROR2 = ((int)100152), TessError6 = ((int)100156),
TESS_ERROR1 = ((int)100151), TessError5 = ((int)100155),
TESS_NEED_COMBINE_CALLBACK = ((int)100156), TessError8 = ((int)100158),
TESS_MISSING_BEGIN_CONTOUR = ((int)100152), TessMissingEndContour = ((int)100154),
} }
public enum TessWinding public enum TessWinding
{ {
TESS_WINDING_NONZERO = ((int)100131), TessWindingNonzero = ((int)100131),
TESS_WINDING_POSITIVE = ((int)100132), TessWindingOdd = ((int)100130),
TESS_WINDING_ODD = ((int)100130), TessWindingPositive = ((int)100132),
TESS_WINDING_ABS_GEQ_TWO = ((int)100134), TessWindingAbsGeqTwo = ((int)100134),
TESS_WINDING_NEGATIVE = ((int)100133), TessWindingNegative = ((int)100133),
} }
public enum All public enum AllGlu
{ {
INTERIOR = ((int)100122), None = ((int)100002),
NURBS_ERROR3 = ((int)100253), TessWindingRule = ((int)100140),
TESS_WINDING_RULE = ((int)100140), TessWindingPositive = ((int)100132),
CCW = ((int)100121), ObjectPathLength = ((int)100209),
FALSE = ((int)0), NurbsTextureCoordExt = ((int)100168),
NURBS_BEGIN_DATA = ((int)100170), Vertex = ((int)100101),
UNKNOWN = ((int)100124), TessCombine = ((int)100105),
NURBS_ERROR6 = ((int)100256), AutoLoadMatrix = ((int)100200),
NURBS_COLOR_DATA_EXT = ((int)100173), TessBoundaryOnly = ((int)100141),
NONE = ((int)100002), NurbsEndExt = ((int)100169),
NURBS_MODE = ((int)100160), NurbsError17 = ((int)100267),
AUTO_LOAD_MATRIX = ((int)100200), NurbsError27 = ((int)100277),
OBJECT_PATH_LENGTH = ((int)100209), NurbsError37 = ((int)100287),
FILL = ((int)100012), Interior = ((int)100122),
TESS_MISSING_BEGIN_POLYGON = ((int)100151), TessWindingOdd = ((int)100130),
V_STEP = ((int)100207), InvalidValue = ((int)100901),
NURBS_ERROR10 = ((int)100260), ParametricError = ((int)100216),
NURBS_ERROR11 = ((int)100261), TessError8 = ((int)100158),
NURBS_ERROR12 = ((int)100262), NurbsError14 = ((int)100264),
NURBS_ERROR13 = ((int)100263), NurbsError24 = ((int)100274),
NURBS_ERROR14 = ((int)100264), NurbsError34 = ((int)100284),
NURBS_ERROR15 = ((int)100265), NurbsTextureCoordDataExt = ((int)100174),
NURBS_ERROR16 = ((int)100266), TessMissingBeginContour = ((int)100152),
NURBS_ERROR17 = ((int)100267), Silhouette = ((int)100013),
NURBS_ERROR18 = ((int)100268), TessError7 = ((int)100157),
NURBS_ERROR19 = ((int)100269), NurbsNormalDataExt = ((int)100172),
OBJECT_PARAMETRIC_ERROR_EXT = ((int)100208), NurbsError21 = ((int)100271),
NURBS_END_EXT = ((int)100169), NurbsError31 = ((int)100281),
NURBS_NORMAL_EXT = ((int)100166), PathLength = ((int)100215),
MAP1_TRIM_3 = ((int)100211), OutlinePolygon = ((int)100240),
NURBS_RENDERER = ((int)100162), TessVertex = ((int)100101),
TESS_BOUNDARY_ONLY = ((int)100141), TessWindingAbsGeqTwo = ((int)100134),
TESS_COORD_TOO_LARGE = ((int)100155), Extensions = ((int)100801),
NURBS_TEXTURE_COORD_DATA = ((int)100174), TessEdgeFlagData = ((int)100110),
NURBS_NORMAL = ((int)100166), EdgeFlag = ((int)100104),
PATH_LENGTH = ((int)100215), TessError1 = ((int)100151),
TESS_ERROR = ((int)100103), Line = ((int)100011),
NURBS_ERROR2 = ((int)100252), NurbsBeginExt = ((int)100164),
NURBS_TEXTURE_COORD = ((int)100168), Point = ((int)100010),
TESS_ERROR8 = ((int)100158), Begin = ((int)100100),
NURBS_TEXTURE_COORD_DATA_EXT = ((int)100174), Inside = ((int)100021),
TESS_ERROR6 = ((int)100156), Flat = ((int)100001),
TESS_ERROR5 = ((int)100155), TessBegin = ((int)100100),
TESS_ERROR4 = ((int)100154), NurbsNormal = ((int)100166),
TESS_ERROR3 = ((int)100153), NurbsColorData = ((int)100173),
TESS_BEGIN = ((int)100100), NurbsBeginDataExt = ((int)100170),
TESS_ERROR1 = ((int)100151), NurbsRenderer = ((int)100162),
SMOOTH = ((int)100000), NurbsBeginData = ((int)100170),
TESS_MISSING_END_POLYGON = ((int)100153), Outside = ((int)100020),
NURBS_ERROR9 = ((int)100259), DisplayMode = ((int)100204),
NURBS_COLOR_DATA = ((int)100173), NurbsError15 = ((int)100265),
BEGIN = ((int)100100), NurbsError25 = ((int)100275),
OUTSIDE = ((int)100020), NurbsError35 = ((int)100285),
PARAMETRIC_TOLERANCE = ((int)100202), NurbsVertexExt = ((int)100165),
OUT_OF_MEMORY = ((int)100902), TessError5 = ((int)100155),
TESS_WINDING_NEGATIVE = ((int)100133), Unknown = ((int)100124),
TESS_END = ((int)100102), NurbsEndDataExt = ((int)100175),
NURBS_ERROR30 = ((int)100280), NurbsError12 = ((int)100262),
NURBS_ERROR31 = ((int)100281), NurbsError22 = ((int)100272),
NURBS_ERROR32 = ((int)100282), NurbsError32 = ((int)100282),
NURBS_ERROR33 = ((int)100283), ObjectParametricErrorExt = ((int)100208),
NURBS_ERROR34 = ((int)100284), NurbsRendererExt = ((int)100162),
NURBS_ERROR35 = ((int)100285), TessError3 = ((int)100153),
NURBS_ERROR36 = ((int)100286), Fill = ((int)100012),
NURBS_ERROR37 = ((int)100287), TessError = ((int)100103),
INSIDE = ((int)100021), ObjectPathLengthExt = ((int)100209),
TESS_TOLERANCE = ((int)100142), TessWindingNegative = ((int)100133),
NURBS_ERROR27 = ((int)100277), NurbsTessellator = ((int)100161),
NURBS_END_DATA_EXT = ((int)100175), NurbsColor = ((int)100167),
SAMPLING_TOLERANCE = ((int)100203), NurbsModeExt = ((int)100160),
MITCHELL_NETRAVALI_SGI = ((int)100301), SamplingTolerance = ((int)100203),
NURBS_TESSELLATOR_EXT = ((int)100161), NurbsColorDataExt = ((int)100173),
ERROR = ((int)100103), Exterior = ((int)100123),
OUTLINE_POLYGON = ((int)100240), Ccw = ((int)100121),
POINT = ((int)100010), Cw = ((int)100120),
TESS_COMBINE_DATA = ((int)100111), NurbsNormalExt = ((int)100166),
NURBS_END = ((int)100169), NurbsError18 = ((int)100268),
NURBS_ERROR5 = ((int)100255), NurbsError28 = ((int)100278),
TESS_VERTEX = ((int)100101), LagrangianSgi = ((int)100300),
TESS_EDGE_FLAG = ((int)100104), TessEnd = ((int)100102),
NURBS_NORMAL_DATA = ((int)100172), NurbsTessellatorExt = ((int)100161),
INVALID_VALUE = ((int)100901), NurbsEnd = ((int)100169),
VERSION = ((int)100800), TessWindingNonzero = ((int)100131),
MAP1_TRIM_2 = ((int)100210), OutOfMemory = ((int)100902),
NURBS_ERROR8 = ((int)100258), TessBeginData = ((int)100106),
NURBS_VERTEX_DATA = ((int)100171), Error = ((int)100103),
TESS_WINDING_ABS_GEQ_TWO = ((int)100134), ObjectParametricError = ((int)100208),
LINE = ((int)100011), NurbsBegin = ((int)100164),
TESS_BEGIN_DATA = ((int)100106), TessCombineData = ((int)100111),
SAMPLING_METHOD = ((int)100205), TessMissingEndPolygon = ((int)100153),
END = ((int)100102), NurbsTextureCoord = ((int)100168),
CW = ((int)100120), Smooth = ((int)100000),
DISPLAY_MODE = ((int)100204), TessMissingBeginPolygon = ((int)100151),
EDGE_FLAG = ((int)100104), NurbsEndData = ((int)100175),
TESS_MISSING_BEGIN_CONTOUR = ((int)100152), NurbsVertexData = ((int)100171),
NURBS_COLOR = ((int)100167), TessEndData = ((int)100108),
NURBS_TEXTURE_COORD_EXT = ((int)100168), NurbsError11 = ((int)100261),
NURBS_ERROR20 = ((int)100270), NurbsVertex = ((int)100165),
NURBS_ERROR21 = ((int)100271), NurbsError30 = ((int)100280),
NURBS_ERROR22 = ((int)100272), Version11 = ((int)1),
NURBS_ERROR23 = ((int)100273), TessError6 = ((int)100156),
NURBS_ERROR24 = ((int)100274), Version13 = ((int)1),
NURBS_ERROR25 = ((int)100275), Version12 = ((int)1),
NURBS_ERROR26 = ((int)100276), TessErrorData = ((int)100109),
INVALID_OPERATION = ((int)100904), NurbsError36 = ((int)100286),
NURBS_ERROR28 = ((int)100278), End = ((int)100102),
NURBS_ERROR29 = ((int)100279), SamplingMethod = ((int)100205),
NURBS_TESSELLATOR = ((int)100161), TessNeedCombineCallback = ((int)100156),
OBJECT_PARAMETRIC_ERROR = ((int)100208), UStep = ((int)100206),
NURBS_BEGIN_DATA_EXT = ((int)100170), DomainDistance = ((int)100217),
TESS_WINDING_NONZERO = ((int)100131), TessEdgeFlag = ((int)100104),
OUTLINE_PATCH = ((int)100241), NurbsColorExt = ((int)100167),
VERSION_1_1 = ((int)1), NurbsError19 = ((int)100269),
VERSION_1_2 = ((int)1), NurbsError29 = ((int)100279),
VERSION_1_3 = ((int)1), InvalidOperation = ((int)100904),
LAGRANGIAN_SGI = ((int)100300), TessCoordTooLarge = ((int)100155),
NURBS_ERROR1 = ((int)100251), TessVertexData = ((int)100107),
NURBS_VERTEX = ((int)100165), NurbsMode = ((int)100160),
SILHOUETTE = ((int)100013), ParametricTolerance = ((int)100202),
DOMAIN_DISTANCE = ((int)100217), NurbsError2 = ((int)100252),
VERTEX = ((int)100101), VStep = ((int)100207),
NURBS_ERROR4 = ((int)100254), TessMissingEndContour = ((int)100154),
TESS_NEED_COMBINE_CALLBACK = ((int)100156), Map1Trim2 = ((int)100210),
NURBS_COLOR_EXT = ((int)100167), Map1Trim3 = ((int)100211),
NURBS_NORMAL_DATA_EXT = ((int)100172), Culling = ((int)100201),
CULLING = ((int)100201), NurbsError16 = ((int)100266),
NURBS_ERROR7 = ((int)100257), NurbsError26 = ((int)100276),
NURBS_VERTEX_EXT = ((int)100165), NurbsVertexDataExt = ((int)100171),
TESS_EDGE_FLAG_DATA = ((int)100110), NurbsNormalData = ((int)100172),
NURBS_BEGIN_EXT = ((int)100164), TessError2 = ((int)100152),
OBJECT_PATH_LENGTH_EXT = ((int)100209), NurbsError13 = ((int)100263),
NURBS_MODE_EXT = ((int)100160), NurbsError23 = ((int)100273),
TESS_MISSING_END_CONTOUR = ((int)100154), NurbsError33 = ((int)100283),
NURBS_VERTEX_DATA_EXT = ((int)100171), NurbsError8 = ((int)100258),
NURBS_BEGIN = ((int)100164), NurbsError9 = ((int)100259),
FLAT = ((int)100001), TessError4 = ((int)100154),
NURBS_END_DATA = ((int)100175), NurbsError10 = ((int)100260),
TESS_END_DATA = ((int)100108), NurbsError20 = ((int)100270),
TESS_WINDING_POSITIVE = ((int)100132), OutlinePatch = ((int)100241),
PARAMETRIC_ERROR = ((int)100216), NurbsError = ((int)100103),
NURBS_RENDERER_EXT = ((int)100162), NurbsTextureCoordData = ((int)100174),
NURBS_ERROR = ((int)100103), NurbsError1 = ((int)100251),
TRUE = ((int)1), InvalidEnum = ((int)100900),
EXTENSIONS = ((int)100801), NurbsError3 = ((int)100253),
TESS_COMBINE = ((int)100105), NurbsError4 = ((int)100254),
TESS_ERROR_DATA = ((int)100109), NurbsError5 = ((int)100255),
INVALID_ENUM = ((int)100900), NurbsError6 = ((int)100256),
U_STEP = ((int)100206), NurbsError7 = ((int)100257),
TESS_VERTEX_DATA = ((int)100107), MitchellNetravaliSgi = ((int)100301),
TESS_ERROR7 = ((int)100157), Version = ((int)100800),
EXTERIOR = ((int)100123), TessTolerance = ((int)100142),
TESS_ERROR2 = ((int)100152),
TESS_WINDING_ODD = ((int)100130),
} }
} }
}
} }