mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-26 06:55:30 +00:00
Bindings (with new naming conventions) re-generated with Bind 0.9.9
This commit is contained in:
parent
b314c198cc
commit
8d7019ac9a
|
@ -31,18 +31,18 @@ namespace OpenTK.OpenGL
|
|||
}
|
||||
|
||||
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
|
||||
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);
|
||||
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
|
||||
{
|
||||
|
@ -51,18 +51,18 @@ namespace OpenTK.OpenGL
|
|||
}
|
||||
|
||||
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
|
||||
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);
|
||||
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
|
||||
{
|
||||
|
@ -71,18 +71,18 @@ namespace OpenTK.OpenGL
|
|||
}
|
||||
|
||||
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
|
||||
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);
|
||||
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
|
||||
{
|
||||
|
@ -91,18 +91,18 @@ namespace OpenTK.OpenGL
|
|||
}
|
||||
|
||||
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
|
||||
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);
|
||||
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
|
||||
{
|
||||
|
@ -111,18 +111,18 @@ namespace OpenTK.OpenGL
|
|||
}
|
||||
|
||||
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
|
||||
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);
|
||||
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
|
||||
{
|
||||
|
@ -131,18 +131,18 @@ namespace OpenTK.OpenGL
|
|||
}
|
||||
|
||||
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
|
||||
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);
|
||||
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
|
||||
{
|
||||
|
@ -151,7 +151,7 @@ namespace OpenTK.OpenGL
|
|||
}
|
||||
|
||||
public static
|
||||
Boolean CheckExtension(Byte[] extName, Byte[] extString)
|
||||
bool CheckExtension(Byte[] extName, Byte[] extString)
|
||||
{
|
||||
unsafe
|
||||
{
|
||||
|
@ -164,7 +164,7 @@ namespace OpenTK.OpenGL
|
|||
}
|
||||
|
||||
public static
|
||||
Boolean CheckExtension(ref Byte extName, ref Byte extString)
|
||||
bool CheckExtension(ref Byte extName, ref Byte extString)
|
||||
{
|
||||
unsafe
|
||||
{
|
||||
|
@ -178,7 +178,7 @@ namespace OpenTK.OpenGL
|
|||
|
||||
[System.CLSCompliant(false)]
|
||||
public static
|
||||
unsafe Boolean CheckExtension(Byte* extName, Byte* extString)
|
||||
unsafe bool CheckExtension(Byte* extName, Byte* extString)
|
||||
{
|
||||
return Delegates.gluCheckExtension((Byte*)extName, (Byte*)extString);
|
||||
}
|
||||
|
@ -238,37 +238,37 @@ namespace OpenTK.OpenGL
|
|||
}
|
||||
|
||||
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
|
||||
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
|
||||
void GetNurbsProperty(int nurb, Glu.Enums.NurbsProperty property, [Out] float[] data)
|
||||
void GetNurbsProperty(int nurb, OpenTK.OpenGL.Enums.NurbsProperty property, [Out] float[] data)
|
||||
{
|
||||
unsafe
|
||||
{
|
||||
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
|
||||
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
|
||||
{
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
@ -276,31 +276,31 @@ namespace OpenTK.OpenGL
|
|||
|
||||
[System.CLSCompliant(false)]
|
||||
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
|
||||
void GetTessProperty(int tess, Glu.Enums.TessProperty which, [Out] double[] data)
|
||||
void GetTessProperty(int tess, OpenTK.OpenGL.Enums.TessProperty which, [Out] double[] data)
|
||||
{
|
||||
unsafe
|
||||
{
|
||||
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
|
||||
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
|
||||
{
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
@ -308,9 +308,9 @@ namespace OpenTK.OpenGL
|
|||
|
||||
[System.CLSCompliant(false)]
|
||||
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
|
||||
|
@ -373,15 +373,15 @@ namespace OpenTK.OpenGL
|
|||
}
|
||||
|
||||
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
|
||||
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
|
||||
|
@ -405,27 +405,27 @@ namespace OpenTK.OpenGL
|
|||
}
|
||||
|
||||
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
|
||||
{
|
||||
fixed (float* knots_ptr = knots)
|
||||
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
|
||||
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
|
||||
{
|
||||
fixed (float* knots_ptr = &knots)
|
||||
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;
|
||||
control = *control_ptr;
|
||||
}
|
||||
|
@ -434,19 +434,19 @@ namespace OpenTK.OpenGL
|
|||
|
||||
[System.CLSCompliant(false)]
|
||||
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
|
||||
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
|
||||
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
|
||||
{
|
||||
|
@ -454,13 +454,13 @@ namespace OpenTK.OpenGL
|
|||
fixed (float* tKnots_ptr = tKnots)
|
||||
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
|
||||
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
|
||||
{
|
||||
|
@ -468,16 +468,16 @@ namespace OpenTK.OpenGL
|
|||
fixed (float* tKnots_ptr = &tKnots)
|
||||
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)]
|
||||
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
|
||||
|
@ -572,80 +572,80 @@ namespace OpenTK.OpenGL
|
|||
}
|
||||
|
||||
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
|
||||
{
|
||||
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
|
||||
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
|
||||
{
|
||||
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)]
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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 dataOut_ptr = System.Runtime.InteropServices.GCHandle.Alloc(dataOut, System.Runtime.InteropServices.GCHandleType.Pinned);
|
||||
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
|
||||
{
|
||||
|
@ -687,9 +687,9 @@ namespace OpenTK.OpenGL
|
|||
}
|
||||
|
||||
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
|
||||
|
@ -711,9 +711,9 @@ namespace OpenTK.OpenGL
|
|||
}
|
||||
|
||||
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
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
public static partial class EXT
|
||||
public static partial class Ext
|
||||
{
|
||||
public static
|
||||
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
|
||||
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
|
||||
{
|
||||
fixed (float* parms_ptr = parms)
|
||||
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
|
||||
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
|
||||
{
|
||||
fixed (float* parms_ptr = &parms)
|
||||
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;
|
||||
return retval;
|
||||
}
|
||||
|
@ -904,9 +904,9 @@ namespace OpenTK.OpenGL
|
|||
|
||||
[System.CLSCompliant(false)]
|
||||
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);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -23,25 +23,25 @@ namespace OpenTK.OpenGL
|
|||
internal extern static void BeginTrim(int nurb);
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
[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.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.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.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.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.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.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.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);
|
||||
|
@ -71,16 +71,16 @@ namespace OpenTK.OpenGL
|
|||
internal extern static void EndTrim(int nurb);
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
[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.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.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.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.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluLoadSamplingMatrices", ExactSpelling = true)]
|
||||
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();
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
[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.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.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluNurbsCallbackData", ExactSpelling = true)]
|
||||
internal extern static void NurbsCallbackData(int nurb, IntPtr userData);
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
[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.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.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.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluOrtho2D", ExactSpelling = true)]
|
||||
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);
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
[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.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.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.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.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.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.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.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluSphere", ExactSpelling = true)]
|
||||
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);
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
[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.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluTessEndContour", ExactSpelling = true)]
|
||||
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);
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
[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.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluTessVertex", ExactSpelling = true)]
|
||||
internal extern static unsafe void TessVertex(int tess, [Out] double* location, IntPtr data);
|
||||
|
|
|
@ -21,25 +21,25 @@ namespace OpenTK.OpenGL
|
|||
internal delegate void BeginTrim(int nurb);
|
||||
internal static BeginTrim gluBeginTrim;
|
||||
[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;
|
||||
[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;
|
||||
[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;
|
||||
[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;
|
||||
[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;
|
||||
[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;
|
||||
[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;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
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 static EndTrim gluEndTrim;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate IntPtr ErrorString(Glu.Enums.ErrorCode error);
|
||||
internal delegate IntPtr ErrorString(OpenTK.OpenGL.Enums.GluErrorCode error);
|
||||
internal static ErrorString gluErrorString;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate IntPtr GetString(Glu.Enums.StringName name);
|
||||
internal delegate IntPtr GetString(OpenTK.OpenGL.Enums.GluStringName name);
|
||||
internal static GetString gluGetString;
|
||||
[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;
|
||||
[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;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
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 static NewTess gluNewTess;
|
||||
[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;
|
||||
[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;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void NurbsCallbackData(int nurb, IntPtr userData);
|
||||
|
@ -108,13 +108,13 @@ namespace OpenTK.OpenGL
|
|||
internal delegate void NurbsCallbackDataEXT(int nurb, IntPtr userData);
|
||||
internal static NurbsCallbackDataEXT gluNurbsCallbackDataEXT;
|
||||
[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;
|
||||
[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;
|
||||
[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;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
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 static Project gluProject;
|
||||
[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;
|
||||
[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;
|
||||
[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;
|
||||
[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;
|
||||
[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;
|
||||
[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;
|
||||
[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;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
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 static TessBeginPolygon gluTessBeginPolygon;
|
||||
[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;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
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 static TessNormal gluTessNormal;
|
||||
[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;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal unsafe delegate void TessVertex(int tess, [Out] double* location, IntPtr data);
|
||||
internal unsafe static TessVertex gluTessVertex;
|
||||
[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;
|
||||
[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);
|
||||
|
|
|
@ -1,402 +1,391 @@
|
|||
namespace OpenTK.OpenGL
|
||||
{
|
||||
public static partial class Glu
|
||||
namespace Enums
|
||||
{
|
||||
public class Enums
|
||||
public enum GluVersion
|
||||
{
|
||||
public enum Boolean
|
||||
{
|
||||
TRUE = ((int)1),
|
||||
FALSE = ((int)0),
|
||||
Version11 = ((int)1),
|
||||
Version13 = ((int)1),
|
||||
Version12 = ((int)1),
|
||||
}
|
||||
|
||||
public enum Version
|
||||
public enum GluStringName
|
||||
{
|
||||
VERSION_1_1 = ((int)1),
|
||||
VERSION_1_2 = ((int)1),
|
||||
VERSION_1_3 = ((int)1),
|
||||
Version = ((int)100800),
|
||||
Extensions = ((int)100801),
|
||||
}
|
||||
|
||||
public enum StringName
|
||||
public enum GluErrorCode
|
||||
{
|
||||
VERSION = ((int)100800),
|
||||
EXTENSIONS = ((int)100801),
|
||||
OutOfMemory = ((int)100902),
|
||||
InvalidEnum = ((int)100900),
|
||||
InvalidValue = ((int)100901),
|
||||
InvalidOperation = ((int)100904),
|
||||
}
|
||||
|
||||
public enum ErrorCode
|
||||
public enum Filter4TypeSgis
|
||||
{
|
||||
INVALID_ENUM = ((int)100900),
|
||||
OUT_OF_MEMORY = ((int)100902),
|
||||
INVALID_OPERATION = ((int)100904),
|
||||
INVALID_VALUE = ((int)100901),
|
||||
}
|
||||
|
||||
public enum Filter4TypeSGIS
|
||||
{
|
||||
LAGRANGIAN_SGI = ((int)100300),
|
||||
MITCHELL_NETRAVALI_SGI = ((int)100301),
|
||||
MitchellNetravaliSgi = ((int)100301),
|
||||
LagrangianSgi = ((int)100300),
|
||||
}
|
||||
|
||||
public enum NurbsDisplay
|
||||
{
|
||||
FILL = ((int)QuadricDrawStyle.FILL),
|
||||
OUTLINE_POLYGON = ((int)100240),
|
||||
OUTLINE_PATCH = ((int)100241),
|
||||
OutlinePolygon = ((int)100240),
|
||||
OutlinePatch = ((int)100241),
|
||||
Fill = ((int)QuadricDrawStyle.Fill),
|
||||
}
|
||||
|
||||
public enum NurbsCallback
|
||||
{
|
||||
NURBS_END_DATA_EXT = ((int)100175),
|
||||
NURBS_TEXTURE_COORD_DATA = ((int)100174),
|
||||
NURBS_ERROR = ((int)100103),
|
||||
NURBS_END = ((int)100169),
|
||||
NURBS_NORMAL_DATA_EXT = ((int)100172),
|
||||
NURBS_BEGIN_EXT = ((int)100164),
|
||||
NURBS_BEGIN_DATA_EXT = ((int)100170),
|
||||
NURBS_NORMAL_DATA = ((int)100172),
|
||||
NURBS_BEGIN = ((int)100164),
|
||||
NURBS_END_EXT = ((int)100169),
|
||||
NURBS_VERTEX_DATA_EXT = ((int)100171),
|
||||
NURBS_COLOR_DATA = ((int)100173),
|
||||
NURBS_TEXTURE_COORD_DATA_EXT = ((int)100174),
|
||||
NURBS_NORMAL_EXT = ((int)100166),
|
||||
ERROR = ((int)100103),
|
||||
NURBS_TEXTURE_COORD_EXT = ((int)100168),
|
||||
NURBS_VERTEX = ((int)100165),
|
||||
NURBS_BEGIN_DATA = ((int)100170),
|
||||
NURBS_COLOR_DATA_EXT = ((int)100173),
|
||||
NURBS_COLOR = ((int)100167),
|
||||
NURBS_NORMAL = ((int)100166),
|
||||
NURBS_VERTEX_DATA = ((int)100171),
|
||||
NURBS_VERTEX_EXT = ((int)100165),
|
||||
NURBS_END_DATA = ((int)100175),
|
||||
NURBS_TEXTURE_COORD = ((int)100168),
|
||||
NURBS_COLOR_EXT = ((int)100167),
|
||||
NurbsColorData = ((int)100173),
|
||||
NurbsVertexData = ((int)100171),
|
||||
NurbsNormal = ((int)100166),
|
||||
NurbsError = ((int)100103),
|
||||
NurbsTextureCoordExt = ((int)100168),
|
||||
Error = ((int)100103),
|
||||
NurbsEndDataExt = ((int)100175),
|
||||
NurbsEnd = ((int)100169),
|
||||
NurbsTextureCoord = ((int)100168),
|
||||
NurbsEndExt = ((int)100169),
|
||||
NurbsNormalDataExt = ((int)100172),
|
||||
NurbsColor = ((int)100167),
|
||||
NurbsColorExt = ((int)100167),
|
||||
NurbsVertexExt = ((int)100165),
|
||||
NurbsBeginExt = ((int)100164),
|
||||
NurbsTextureCoordData = ((int)100174),
|
||||
NurbsBeginData = ((int)100170),
|
||||
NurbsColorDataExt = ((int)100173),
|
||||
NurbsBeginDataExt = ((int)100170),
|
||||
NurbsVertex = ((int)100165),
|
||||
NurbsTextureCoordDataExt = ((int)100174),
|
||||
NurbsNormalExt = ((int)100166),
|
||||
NurbsVertexDataExt = ((int)100171),
|
||||
NurbsBegin = ((int)100164),
|
||||
NurbsEndData = ((int)100175),
|
||||
NurbsNormalData = ((int)100172),
|
||||
}
|
||||
|
||||
public enum NurbsError
|
||||
{
|
||||
NURBS_ERROR3 = ((int)100253),
|
||||
NURBS_ERROR9 = ((int)100259),
|
||||
NURBS_ERROR4 = ((int)100254),
|
||||
NURBS_ERROR10 = ((int)100260),
|
||||
NURBS_ERROR11 = ((int)100261),
|
||||
NURBS_ERROR12 = ((int)100262),
|
||||
NURBS_ERROR13 = ((int)100263),
|
||||
NURBS_ERROR14 = ((int)100264),
|
||||
NURBS_ERROR15 = ((int)100265),
|
||||
NURBS_ERROR16 = ((int)100266),
|
||||
NURBS_ERROR17 = ((int)100267),
|
||||
NURBS_ERROR18 = ((int)100268),
|
||||
NURBS_ERROR19 = ((int)100269),
|
||||
NURBS_ERROR5 = ((int)100255),
|
||||
NURBS_ERROR1 = ((int)100251),
|
||||
NURBS_ERROR20 = ((int)100270),
|
||||
NURBS_ERROR21 = ((int)100271),
|
||||
NURBS_ERROR22 = ((int)100272),
|
||||
NURBS_ERROR23 = ((int)100273),
|
||||
NURBS_ERROR24 = ((int)100274),
|
||||
NURBS_ERROR25 = ((int)100275),
|
||||
NURBS_ERROR26 = ((int)100276),
|
||||
NURBS_ERROR27 = ((int)100277),
|
||||
NURBS_ERROR28 = ((int)100278),
|
||||
NURBS_ERROR29 = ((int)100279),
|
||||
NURBS_ERROR6 = ((int)100256),
|
||||
NURBS_ERROR30 = ((int)100280),
|
||||
NURBS_ERROR31 = ((int)100281),
|
||||
NURBS_ERROR32 = ((int)100282),
|
||||
NURBS_ERROR33 = ((int)100283),
|
||||
NURBS_ERROR34 = ((int)100284),
|
||||
NURBS_ERROR35 = ((int)100285),
|
||||
NURBS_ERROR36 = ((int)100286),
|
||||
NURBS_ERROR37 = ((int)100287),
|
||||
NURBS_ERROR7 = ((int)100257),
|
||||
NURBS_ERROR2 = ((int)100252),
|
||||
NURBS_ERROR8 = ((int)100258),
|
||||
NurbsError37 = ((int)100287),
|
||||
NurbsError16 = ((int)100266),
|
||||
NurbsError26 = ((int)100276),
|
||||
NurbsError36 = ((int)100286),
|
||||
NurbsError19 = ((int)100269),
|
||||
NurbsError29 = ((int)100279),
|
||||
NurbsError8 = ((int)100258),
|
||||
NurbsError12 = ((int)100262),
|
||||
NurbsError9 = ((int)100259),
|
||||
NurbsError1 = ((int)100251),
|
||||
NurbsError18 = ((int)100268),
|
||||
NurbsError28 = ((int)100278),
|
||||
NurbsError4 = ((int)100254),
|
||||
NurbsError5 = ((int)100255),
|
||||
NurbsError6 = ((int)100256),
|
||||
NurbsError7 = ((int)100257),
|
||||
NurbsError3 = ((int)100253),
|
||||
NurbsError22 = ((int)100272),
|
||||
NurbsError32 = ((int)100282),
|
||||
NurbsError2 = ((int)100252),
|
||||
NurbsError11 = ((int)100261),
|
||||
NurbsError21 = ((int)100271),
|
||||
NurbsError31 = ((int)100281),
|
||||
NurbsError10 = ((int)100260),
|
||||
NurbsError20 = ((int)100270),
|
||||
NurbsError30 = ((int)100280),
|
||||
NurbsError15 = ((int)100265),
|
||||
NurbsError25 = ((int)100275),
|
||||
NurbsError35 = ((int)100285),
|
||||
NurbsError14 = ((int)100264),
|
||||
NurbsError24 = ((int)100274),
|
||||
NurbsError34 = ((int)100284),
|
||||
NurbsError13 = ((int)100263),
|
||||
NurbsError23 = ((int)100273),
|
||||
NurbsError33 = ((int)100283),
|
||||
NurbsError17 = ((int)100267),
|
||||
NurbsError27 = ((int)100277),
|
||||
}
|
||||
|
||||
public enum NurbsProperty
|
||||
{
|
||||
CULLING = ((int)100201),
|
||||
U_STEP = ((int)100206),
|
||||
SAMPLING_METHOD = ((int)100205),
|
||||
SAMPLING_TOLERANCE = ((int)100203),
|
||||
NURBS_MODE = ((int)100160),
|
||||
DISPLAY_MODE = ((int)100204),
|
||||
NURBS_TESSELLATOR_EXT = ((int)100161),
|
||||
NURBS_TESSELLATOR = ((int)100161),
|
||||
V_STEP = ((int)100207),
|
||||
PARAMETRIC_TOLERANCE = ((int)100202),
|
||||
NURBS_RENDERER_EXT = ((int)100162),
|
||||
AUTO_LOAD_MATRIX = ((int)100200),
|
||||
NURBS_MODE_EXT = ((int)100160),
|
||||
NURBS_RENDERER = ((int)100162),
|
||||
DisplayMode = ((int)100204),
|
||||
ParametricTolerance = ((int)100202),
|
||||
NurbsRenderer = ((int)100162),
|
||||
NurbsTessellator = ((int)100161),
|
||||
NurbsTessellatorExt = ((int)100161),
|
||||
NurbsModeExt = ((int)100160),
|
||||
UStep = ((int)100206),
|
||||
SamplingMethod = ((int)100205),
|
||||
AutoLoadMatrix = ((int)100200),
|
||||
VStep = ((int)100207),
|
||||
Culling = ((int)100201),
|
||||
NurbsRendererExt = ((int)100162),
|
||||
NurbsMode = ((int)100160),
|
||||
SamplingTolerance = ((int)100203),
|
||||
}
|
||||
|
||||
public enum NurbsSampling
|
||||
{
|
||||
OBJECT_PATH_LENGTH_EXT = ((int)100209),
|
||||
DOMAIN_DISTANCE = ((int)100217),
|
||||
OBJECT_PARAMETRIC_ERROR = ((int)100208),
|
||||
OBJECT_PATH_LENGTH = ((int)100209),
|
||||
PATH_LENGTH = ((int)100215),
|
||||
PARAMETRIC_ERROR = ((int)100216),
|
||||
OBJECT_PARAMETRIC_ERROR_EXT = ((int)100208),
|
||||
ObjectParametricError = ((int)100208),
|
||||
ObjectPathLength = ((int)100209),
|
||||
PathLength = ((int)100215),
|
||||
DomainDistance = ((int)100217),
|
||||
ObjectPathLengthExt = ((int)100209),
|
||||
ObjectParametricErrorExt = ((int)100208),
|
||||
ParametricError = ((int)100216),
|
||||
}
|
||||
|
||||
public enum NurbsTrim
|
||||
{
|
||||
MAP1_TRIM_3 = ((int)100211),
|
||||
MAP1_TRIM_2 = ((int)100210),
|
||||
Map1Trim3 = ((int)100211),
|
||||
Map1Trim2 = ((int)100210),
|
||||
}
|
||||
|
||||
public enum QuadricDrawStyle
|
||||
{
|
||||
FILL = ((int)100012),
|
||||
SILHOUETTE = ((int)100013),
|
||||
POINT = ((int)100010),
|
||||
LINE = ((int)100011),
|
||||
Line = ((int)100011),
|
||||
Silhouette = ((int)100013),
|
||||
Point = ((int)100010),
|
||||
Fill = ((int)100012),
|
||||
}
|
||||
|
||||
public enum QuadricCallback
|
||||
{
|
||||
ERROR = ((int)NurbsCallback.ERROR),
|
||||
Error = ((int)NurbsCallback.Error),
|
||||
}
|
||||
|
||||
public enum QuadricNormal
|
||||
{
|
||||
FLAT = ((int)100001),
|
||||
NONE = ((int)100002),
|
||||
SMOOTH = ((int)100000),
|
||||
None = ((int)100002),
|
||||
Flat = ((int)100001),
|
||||
Smooth = ((int)100000),
|
||||
}
|
||||
|
||||
public enum QuadricOrientation
|
||||
{
|
||||
INSIDE = ((int)100021),
|
||||
OUTSIDE = ((int)100020),
|
||||
Outside = ((int)100020),
|
||||
Inside = ((int)100021),
|
||||
}
|
||||
|
||||
public enum TessCallback
|
||||
{
|
||||
TESS_EDGE_FLAG_DATA = ((int)100110),
|
||||
ERROR = ((int)100103),
|
||||
TESS_COMBINE = ((int)100105),
|
||||
TESS_BEGIN_DATA = ((int)100106),
|
||||
TESS_ERROR_DATA = ((int)100109),
|
||||
BEGIN = ((int)100100),
|
||||
TESS_ERROR = ((int)100103),
|
||||
TESS_EDGE_FLAG = ((int)100104),
|
||||
TESS_END = ((int)100102),
|
||||
TESS_BEGIN = ((int)100100),
|
||||
TESS_VERTEX_DATA = ((int)100107),
|
||||
TESS_VERTEX = ((int)100101),
|
||||
END = ((int)100102),
|
||||
VERTEX = ((int)100101),
|
||||
EDGE_FLAG = ((int)100104),
|
||||
TESS_END_DATA = ((int)100108),
|
||||
TESS_COMBINE_DATA = ((int)100111),
|
||||
TessEdgeFlagData = ((int)100110),
|
||||
Begin = ((int)100100),
|
||||
TessError = ((int)100103),
|
||||
EdgeFlag = ((int)100104),
|
||||
End = ((int)100102),
|
||||
TessCombine = ((int)100105),
|
||||
Error = ((int)100103),
|
||||
TessEndData = ((int)100108),
|
||||
TessBeginData = ((int)100106),
|
||||
TessErrorData = ((int)100109),
|
||||
Vertex = ((int)100101),
|
||||
TessVertexData = ((int)100107),
|
||||
TessVertex = ((int)100101),
|
||||
TessEdgeFlag = ((int)100104),
|
||||
TessEnd = ((int)100102),
|
||||
TessBegin = ((int)100100),
|
||||
TessCombineData = ((int)100111),
|
||||
}
|
||||
|
||||
public enum TessContour
|
||||
{
|
||||
CW = ((int)100120),
|
||||
INTERIOR = ((int)100122),
|
||||
EXTERIOR = ((int)100123),
|
||||
UNKNOWN = ((int)100124),
|
||||
CCW = ((int)100121),
|
||||
Exterior = ((int)100123),
|
||||
Ccw = ((int)100121),
|
||||
Interior = ((int)100122),
|
||||
Unknown = ((int)100124),
|
||||
Cw = ((int)100120),
|
||||
}
|
||||
|
||||
public enum TessProperty
|
||||
{
|
||||
TESS_BOUNDARY_ONLY = ((int)100141),
|
||||
TESS_TOLERANCE = ((int)100142),
|
||||
TESS_WINDING_RULE = ((int)100140),
|
||||
TessWindingRule = ((int)100140),
|
||||
TessBoundaryOnly = ((int)100141),
|
||||
TessTolerance = ((int)100142),
|
||||
}
|
||||
|
||||
public enum TessError
|
||||
{
|
||||
TESS_MISSING_END_CONTOUR = ((int)100154),
|
||||
TESS_COORD_TOO_LARGE = ((int)100155),
|
||||
TESS_MISSING_BEGIN_POLYGON = ((int)100151),
|
||||
TESS_MISSING_END_POLYGON = ((int)100153),
|
||||
TESS_ERROR8 = ((int)100158),
|
||||
TESS_ERROR7 = ((int)100157),
|
||||
TESS_ERROR6 = ((int)100156),
|
||||
TESS_ERROR5 = ((int)100155),
|
||||
TESS_ERROR4 = ((int)100154),
|
||||
TESS_ERROR3 = ((int)100153),
|
||||
TESS_ERROR2 = ((int)100152),
|
||||
TESS_ERROR1 = ((int)100151),
|
||||
TESS_NEED_COMBINE_CALLBACK = ((int)100156),
|
||||
TESS_MISSING_BEGIN_CONTOUR = ((int)100152),
|
||||
TessMissingBeginPolygon = ((int)100151),
|
||||
TessMissingEndPolygon = ((int)100153),
|
||||
TessError1 = ((int)100151),
|
||||
TessMissingBeginContour = ((int)100152),
|
||||
TessCoordTooLarge = ((int)100155),
|
||||
TessError7 = ((int)100157),
|
||||
TessError2 = ((int)100152),
|
||||
TessError4 = ((int)100154),
|
||||
TessNeedCombineCallback = ((int)100156),
|
||||
TessError3 = ((int)100153),
|
||||
TessError6 = ((int)100156),
|
||||
TessError5 = ((int)100155),
|
||||
TessError8 = ((int)100158),
|
||||
TessMissingEndContour = ((int)100154),
|
||||
}
|
||||
|
||||
public enum TessWinding
|
||||
{
|
||||
TESS_WINDING_NONZERO = ((int)100131),
|
||||
TESS_WINDING_POSITIVE = ((int)100132),
|
||||
TESS_WINDING_ODD = ((int)100130),
|
||||
TESS_WINDING_ABS_GEQ_TWO = ((int)100134),
|
||||
TESS_WINDING_NEGATIVE = ((int)100133),
|
||||
TessWindingNonzero = ((int)100131),
|
||||
TessWindingOdd = ((int)100130),
|
||||
TessWindingPositive = ((int)100132),
|
||||
TessWindingAbsGeqTwo = ((int)100134),
|
||||
TessWindingNegative = ((int)100133),
|
||||
}
|
||||
|
||||
public enum All
|
||||
public enum AllGlu
|
||||
{
|
||||
INTERIOR = ((int)100122),
|
||||
NURBS_ERROR3 = ((int)100253),
|
||||
TESS_WINDING_RULE = ((int)100140),
|
||||
CCW = ((int)100121),
|
||||
FALSE = ((int)0),
|
||||
NURBS_BEGIN_DATA = ((int)100170),
|
||||
UNKNOWN = ((int)100124),
|
||||
NURBS_ERROR6 = ((int)100256),
|
||||
NURBS_COLOR_DATA_EXT = ((int)100173),
|
||||
NONE = ((int)100002),
|
||||
NURBS_MODE = ((int)100160),
|
||||
AUTO_LOAD_MATRIX = ((int)100200),
|
||||
OBJECT_PATH_LENGTH = ((int)100209),
|
||||
FILL = ((int)100012),
|
||||
TESS_MISSING_BEGIN_POLYGON = ((int)100151),
|
||||
V_STEP = ((int)100207),
|
||||
NURBS_ERROR10 = ((int)100260),
|
||||
NURBS_ERROR11 = ((int)100261),
|
||||
NURBS_ERROR12 = ((int)100262),
|
||||
NURBS_ERROR13 = ((int)100263),
|
||||
NURBS_ERROR14 = ((int)100264),
|
||||
NURBS_ERROR15 = ((int)100265),
|
||||
NURBS_ERROR16 = ((int)100266),
|
||||
NURBS_ERROR17 = ((int)100267),
|
||||
NURBS_ERROR18 = ((int)100268),
|
||||
NURBS_ERROR19 = ((int)100269),
|
||||
OBJECT_PARAMETRIC_ERROR_EXT = ((int)100208),
|
||||
NURBS_END_EXT = ((int)100169),
|
||||
NURBS_NORMAL_EXT = ((int)100166),
|
||||
MAP1_TRIM_3 = ((int)100211),
|
||||
NURBS_RENDERER = ((int)100162),
|
||||
TESS_BOUNDARY_ONLY = ((int)100141),
|
||||
TESS_COORD_TOO_LARGE = ((int)100155),
|
||||
NURBS_TEXTURE_COORD_DATA = ((int)100174),
|
||||
NURBS_NORMAL = ((int)100166),
|
||||
PATH_LENGTH = ((int)100215),
|
||||
TESS_ERROR = ((int)100103),
|
||||
NURBS_ERROR2 = ((int)100252),
|
||||
NURBS_TEXTURE_COORD = ((int)100168),
|
||||
TESS_ERROR8 = ((int)100158),
|
||||
NURBS_TEXTURE_COORD_DATA_EXT = ((int)100174),
|
||||
TESS_ERROR6 = ((int)100156),
|
||||
TESS_ERROR5 = ((int)100155),
|
||||
TESS_ERROR4 = ((int)100154),
|
||||
TESS_ERROR3 = ((int)100153),
|
||||
TESS_BEGIN = ((int)100100),
|
||||
TESS_ERROR1 = ((int)100151),
|
||||
SMOOTH = ((int)100000),
|
||||
TESS_MISSING_END_POLYGON = ((int)100153),
|
||||
NURBS_ERROR9 = ((int)100259),
|
||||
NURBS_COLOR_DATA = ((int)100173),
|
||||
BEGIN = ((int)100100),
|
||||
OUTSIDE = ((int)100020),
|
||||
PARAMETRIC_TOLERANCE = ((int)100202),
|
||||
OUT_OF_MEMORY = ((int)100902),
|
||||
TESS_WINDING_NEGATIVE = ((int)100133),
|
||||
TESS_END = ((int)100102),
|
||||
NURBS_ERROR30 = ((int)100280),
|
||||
NURBS_ERROR31 = ((int)100281),
|
||||
NURBS_ERROR32 = ((int)100282),
|
||||
NURBS_ERROR33 = ((int)100283),
|
||||
NURBS_ERROR34 = ((int)100284),
|
||||
NURBS_ERROR35 = ((int)100285),
|
||||
NURBS_ERROR36 = ((int)100286),
|
||||
NURBS_ERROR37 = ((int)100287),
|
||||
INSIDE = ((int)100021),
|
||||
TESS_TOLERANCE = ((int)100142),
|
||||
NURBS_ERROR27 = ((int)100277),
|
||||
NURBS_END_DATA_EXT = ((int)100175),
|
||||
SAMPLING_TOLERANCE = ((int)100203),
|
||||
MITCHELL_NETRAVALI_SGI = ((int)100301),
|
||||
NURBS_TESSELLATOR_EXT = ((int)100161),
|
||||
ERROR = ((int)100103),
|
||||
OUTLINE_POLYGON = ((int)100240),
|
||||
POINT = ((int)100010),
|
||||
TESS_COMBINE_DATA = ((int)100111),
|
||||
NURBS_END = ((int)100169),
|
||||
NURBS_ERROR5 = ((int)100255),
|
||||
TESS_VERTEX = ((int)100101),
|
||||
TESS_EDGE_FLAG = ((int)100104),
|
||||
NURBS_NORMAL_DATA = ((int)100172),
|
||||
INVALID_VALUE = ((int)100901),
|
||||
VERSION = ((int)100800),
|
||||
MAP1_TRIM_2 = ((int)100210),
|
||||
NURBS_ERROR8 = ((int)100258),
|
||||
NURBS_VERTEX_DATA = ((int)100171),
|
||||
TESS_WINDING_ABS_GEQ_TWO = ((int)100134),
|
||||
LINE = ((int)100011),
|
||||
TESS_BEGIN_DATA = ((int)100106),
|
||||
SAMPLING_METHOD = ((int)100205),
|
||||
END = ((int)100102),
|
||||
CW = ((int)100120),
|
||||
DISPLAY_MODE = ((int)100204),
|
||||
EDGE_FLAG = ((int)100104),
|
||||
TESS_MISSING_BEGIN_CONTOUR = ((int)100152),
|
||||
NURBS_COLOR = ((int)100167),
|
||||
NURBS_TEXTURE_COORD_EXT = ((int)100168),
|
||||
NURBS_ERROR20 = ((int)100270),
|
||||
NURBS_ERROR21 = ((int)100271),
|
||||
NURBS_ERROR22 = ((int)100272),
|
||||
NURBS_ERROR23 = ((int)100273),
|
||||
NURBS_ERROR24 = ((int)100274),
|
||||
NURBS_ERROR25 = ((int)100275),
|
||||
NURBS_ERROR26 = ((int)100276),
|
||||
INVALID_OPERATION = ((int)100904),
|
||||
NURBS_ERROR28 = ((int)100278),
|
||||
NURBS_ERROR29 = ((int)100279),
|
||||
NURBS_TESSELLATOR = ((int)100161),
|
||||
OBJECT_PARAMETRIC_ERROR = ((int)100208),
|
||||
NURBS_BEGIN_DATA_EXT = ((int)100170),
|
||||
TESS_WINDING_NONZERO = ((int)100131),
|
||||
OUTLINE_PATCH = ((int)100241),
|
||||
VERSION_1_1 = ((int)1),
|
||||
VERSION_1_2 = ((int)1),
|
||||
VERSION_1_3 = ((int)1),
|
||||
LAGRANGIAN_SGI = ((int)100300),
|
||||
NURBS_ERROR1 = ((int)100251),
|
||||
NURBS_VERTEX = ((int)100165),
|
||||
SILHOUETTE = ((int)100013),
|
||||
DOMAIN_DISTANCE = ((int)100217),
|
||||
VERTEX = ((int)100101),
|
||||
NURBS_ERROR4 = ((int)100254),
|
||||
TESS_NEED_COMBINE_CALLBACK = ((int)100156),
|
||||
NURBS_COLOR_EXT = ((int)100167),
|
||||
NURBS_NORMAL_DATA_EXT = ((int)100172),
|
||||
CULLING = ((int)100201),
|
||||
NURBS_ERROR7 = ((int)100257),
|
||||
NURBS_VERTEX_EXT = ((int)100165),
|
||||
TESS_EDGE_FLAG_DATA = ((int)100110),
|
||||
NURBS_BEGIN_EXT = ((int)100164),
|
||||
OBJECT_PATH_LENGTH_EXT = ((int)100209),
|
||||
NURBS_MODE_EXT = ((int)100160),
|
||||
TESS_MISSING_END_CONTOUR = ((int)100154),
|
||||
NURBS_VERTEX_DATA_EXT = ((int)100171),
|
||||
NURBS_BEGIN = ((int)100164),
|
||||
FLAT = ((int)100001),
|
||||
NURBS_END_DATA = ((int)100175),
|
||||
TESS_END_DATA = ((int)100108),
|
||||
TESS_WINDING_POSITIVE = ((int)100132),
|
||||
PARAMETRIC_ERROR = ((int)100216),
|
||||
NURBS_RENDERER_EXT = ((int)100162),
|
||||
NURBS_ERROR = ((int)100103),
|
||||
TRUE = ((int)1),
|
||||
EXTENSIONS = ((int)100801),
|
||||
TESS_COMBINE = ((int)100105),
|
||||
TESS_ERROR_DATA = ((int)100109),
|
||||
INVALID_ENUM = ((int)100900),
|
||||
U_STEP = ((int)100206),
|
||||
TESS_VERTEX_DATA = ((int)100107),
|
||||
TESS_ERROR7 = ((int)100157),
|
||||
EXTERIOR = ((int)100123),
|
||||
TESS_ERROR2 = ((int)100152),
|
||||
TESS_WINDING_ODD = ((int)100130),
|
||||
None = ((int)100002),
|
||||
TessWindingRule = ((int)100140),
|
||||
TessWindingPositive = ((int)100132),
|
||||
ObjectPathLength = ((int)100209),
|
||||
NurbsTextureCoordExt = ((int)100168),
|
||||
Vertex = ((int)100101),
|
||||
TessCombine = ((int)100105),
|
||||
AutoLoadMatrix = ((int)100200),
|
||||
TessBoundaryOnly = ((int)100141),
|
||||
NurbsEndExt = ((int)100169),
|
||||
NurbsError17 = ((int)100267),
|
||||
NurbsError27 = ((int)100277),
|
||||
NurbsError37 = ((int)100287),
|
||||
Interior = ((int)100122),
|
||||
TessWindingOdd = ((int)100130),
|
||||
InvalidValue = ((int)100901),
|
||||
ParametricError = ((int)100216),
|
||||
TessError8 = ((int)100158),
|
||||
NurbsError14 = ((int)100264),
|
||||
NurbsError24 = ((int)100274),
|
||||
NurbsError34 = ((int)100284),
|
||||
NurbsTextureCoordDataExt = ((int)100174),
|
||||
TessMissingBeginContour = ((int)100152),
|
||||
Silhouette = ((int)100013),
|
||||
TessError7 = ((int)100157),
|
||||
NurbsNormalDataExt = ((int)100172),
|
||||
NurbsError21 = ((int)100271),
|
||||
NurbsError31 = ((int)100281),
|
||||
PathLength = ((int)100215),
|
||||
OutlinePolygon = ((int)100240),
|
||||
TessVertex = ((int)100101),
|
||||
TessWindingAbsGeqTwo = ((int)100134),
|
||||
Extensions = ((int)100801),
|
||||
TessEdgeFlagData = ((int)100110),
|
||||
EdgeFlag = ((int)100104),
|
||||
TessError1 = ((int)100151),
|
||||
Line = ((int)100011),
|
||||
NurbsBeginExt = ((int)100164),
|
||||
Point = ((int)100010),
|
||||
Begin = ((int)100100),
|
||||
Inside = ((int)100021),
|
||||
Flat = ((int)100001),
|
||||
TessBegin = ((int)100100),
|
||||
NurbsNormal = ((int)100166),
|
||||
NurbsColorData = ((int)100173),
|
||||
NurbsBeginDataExt = ((int)100170),
|
||||
NurbsRenderer = ((int)100162),
|
||||
NurbsBeginData = ((int)100170),
|
||||
Outside = ((int)100020),
|
||||
DisplayMode = ((int)100204),
|
||||
NurbsError15 = ((int)100265),
|
||||
NurbsError25 = ((int)100275),
|
||||
NurbsError35 = ((int)100285),
|
||||
NurbsVertexExt = ((int)100165),
|
||||
TessError5 = ((int)100155),
|
||||
Unknown = ((int)100124),
|
||||
NurbsEndDataExt = ((int)100175),
|
||||
NurbsError12 = ((int)100262),
|
||||
NurbsError22 = ((int)100272),
|
||||
NurbsError32 = ((int)100282),
|
||||
ObjectParametricErrorExt = ((int)100208),
|
||||
NurbsRendererExt = ((int)100162),
|
||||
TessError3 = ((int)100153),
|
||||
Fill = ((int)100012),
|
||||
TessError = ((int)100103),
|
||||
ObjectPathLengthExt = ((int)100209),
|
||||
TessWindingNegative = ((int)100133),
|
||||
NurbsTessellator = ((int)100161),
|
||||
NurbsColor = ((int)100167),
|
||||
NurbsModeExt = ((int)100160),
|
||||
SamplingTolerance = ((int)100203),
|
||||
NurbsColorDataExt = ((int)100173),
|
||||
Exterior = ((int)100123),
|
||||
Ccw = ((int)100121),
|
||||
Cw = ((int)100120),
|
||||
NurbsNormalExt = ((int)100166),
|
||||
NurbsError18 = ((int)100268),
|
||||
NurbsError28 = ((int)100278),
|
||||
LagrangianSgi = ((int)100300),
|
||||
TessEnd = ((int)100102),
|
||||
NurbsTessellatorExt = ((int)100161),
|
||||
NurbsEnd = ((int)100169),
|
||||
TessWindingNonzero = ((int)100131),
|
||||
OutOfMemory = ((int)100902),
|
||||
TessBeginData = ((int)100106),
|
||||
Error = ((int)100103),
|
||||
ObjectParametricError = ((int)100208),
|
||||
NurbsBegin = ((int)100164),
|
||||
TessCombineData = ((int)100111),
|
||||
TessMissingEndPolygon = ((int)100153),
|
||||
NurbsTextureCoord = ((int)100168),
|
||||
Smooth = ((int)100000),
|
||||
TessMissingBeginPolygon = ((int)100151),
|
||||
NurbsEndData = ((int)100175),
|
||||
NurbsVertexData = ((int)100171),
|
||||
TessEndData = ((int)100108),
|
||||
NurbsError11 = ((int)100261),
|
||||
NurbsVertex = ((int)100165),
|
||||
NurbsError30 = ((int)100280),
|
||||
Version11 = ((int)1),
|
||||
TessError6 = ((int)100156),
|
||||
Version13 = ((int)1),
|
||||
Version12 = ((int)1),
|
||||
TessErrorData = ((int)100109),
|
||||
NurbsError36 = ((int)100286),
|
||||
End = ((int)100102),
|
||||
SamplingMethod = ((int)100205),
|
||||
TessNeedCombineCallback = ((int)100156),
|
||||
UStep = ((int)100206),
|
||||
DomainDistance = ((int)100217),
|
||||
TessEdgeFlag = ((int)100104),
|
||||
NurbsColorExt = ((int)100167),
|
||||
NurbsError19 = ((int)100269),
|
||||
NurbsError29 = ((int)100279),
|
||||
InvalidOperation = ((int)100904),
|
||||
TessCoordTooLarge = ((int)100155),
|
||||
TessVertexData = ((int)100107),
|
||||
NurbsMode = ((int)100160),
|
||||
ParametricTolerance = ((int)100202),
|
||||
NurbsError2 = ((int)100252),
|
||||
VStep = ((int)100207),
|
||||
TessMissingEndContour = ((int)100154),
|
||||
Map1Trim2 = ((int)100210),
|
||||
Map1Trim3 = ((int)100211),
|
||||
Culling = ((int)100201),
|
||||
NurbsError16 = ((int)100266),
|
||||
NurbsError26 = ((int)100276),
|
||||
NurbsVertexDataExt = ((int)100171),
|
||||
NurbsNormalData = ((int)100172),
|
||||
TessError2 = ((int)100152),
|
||||
NurbsError13 = ((int)100263),
|
||||
NurbsError23 = ((int)100273),
|
||||
NurbsError33 = ((int)100283),
|
||||
NurbsError8 = ((int)100258),
|
||||
NurbsError9 = ((int)100259),
|
||||
TessError4 = ((int)100154),
|
||||
NurbsError10 = ((int)100260),
|
||||
NurbsError20 = ((int)100270),
|
||||
OutlinePatch = ((int)100241),
|
||||
NurbsError = ((int)100103),
|
||||
NurbsTextureCoordData = ((int)100174),
|
||||
NurbsError1 = ((int)100251),
|
||||
InvalidEnum = ((int)100900),
|
||||
NurbsError3 = ((int)100253),
|
||||
NurbsError4 = ((int)100254),
|
||||
NurbsError5 = ((int)100255),
|
||||
NurbsError6 = ((int)100256),
|
||||
NurbsError7 = ((int)100257),
|
||||
MitchellNetravaliSgi = ((int)100301),
|
||||
Version = ((int)100800),
|
||||
TessTolerance = ((int)100142),
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue