Regenerated bindings using the latest overrides.xml: out parameters for Get/Gen methods; fixed return types for GetError and CheckFramebufferStatus. improved consistency with desktop OpenGL bindings.

This commit is contained in:
the_fiddler 2009-10-23 06:58:04 +00:00
parent 968dc4e299
commit b0607ede68
4 changed files with 632 additions and 609 deletions

View file

@ -61,7 +61,7 @@ namespace OpenTK.Graphics.ES20
internal extern static void BindRenderbuffer(OpenTK.Graphics.ES20.RenderbufferTarget target, UInt32 renderbuffer);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindTexture", ExactSpelling = true)]
internal extern static void BindTexture(OpenTK.Graphics.ES20.BindTextureTarget target, UInt32 texture);
internal extern static void BindTexture(OpenTK.Graphics.ES20.TextureTarget target, UInt32 texture);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendColor", ExactSpelling = true)]
internal extern static void BlendColor(Single red, Single green, Single blue, Single alpha);
@ -85,7 +85,7 @@ namespace OpenTK.Graphics.ES20
internal extern static void BufferSubData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCheckFramebufferStatus", ExactSpelling = true)]
internal extern static OpenTK.Graphics.ES20.All CheckFramebufferStatus(OpenTK.Graphics.ES20.FramebufferTarget target);
internal extern static OpenTK.Graphics.ES20.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.ES20.FramebufferTarget target);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClear", ExactSpelling = true)]
internal extern static void Clear(OpenTK.Graphics.ES20.ClearBufferMask mask);
@ -226,136 +226,136 @@ namespace OpenTK.Graphics.ES20
internal extern static void FrontFace(OpenTK.Graphics.ES20.FrontFaceDirection mode);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenBuffers", ExactSpelling = true)]
internal extern static unsafe void GenBuffers(Int32 n, UInt32* buffers);
internal extern static unsafe void GenBuffers(Int32 n, [OutAttribute] UInt32* buffers);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenerateMipmap", ExactSpelling = true)]
internal extern static void GenerateMipmap(OpenTK.Graphics.ES20.BindTextureTarget target);
internal extern static void GenerateMipmap(OpenTK.Graphics.ES20.TextureTarget target);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenFencesNV", ExactSpelling = true)]
internal extern static unsafe void GenFencesNV(Int32 n, UInt32* fences);
internal extern static unsafe void GenFencesNV(Int32 n, [OutAttribute] UInt32* fences);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenFramebuffers", ExactSpelling = true)]
internal extern static unsafe void GenFramebuffers(Int32 n, UInt32* framebuffers);
internal extern static unsafe void GenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenPerfMonitorsAMD", ExactSpelling = true)]
internal extern static unsafe void GenPerfMonitorsAMD(Int32 n, UInt32* monitors);
internal extern static unsafe void GenPerfMonitorsAMD(Int32 n, [OutAttribute] UInt32* monitors);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenRenderbuffers", ExactSpelling = true)]
internal extern static unsafe void GenRenderbuffers(Int32 n, UInt32* renderbuffers);
internal extern static unsafe void GenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenTextures", ExactSpelling = true)]
internal extern static unsafe void GenTextures(Int32 n, UInt32* textures);
internal extern static unsafe void GenTextures(Int32 n, [OutAttribute] UInt32* textures);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveAttrib", ExactSpelling = true)]
internal extern static unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufsize, Int32* length, Int32* size, OpenTK.Graphics.ES20.ActiveAttribType* type, String name);
internal extern static unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES20.ActiveAttribType* type, [OutAttribute] System.Text.StringBuilder name);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveUniform", ExactSpelling = true)]
internal extern static unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufsize, Int32* length, Int32* size, OpenTK.Graphics.ES20.ActiveUniformType* type, String name);
internal extern static unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES20.ActiveUniformType* type, [OutAttribute] System.Text.StringBuilder name);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetAttachedShaders", ExactSpelling = true)]
internal extern static unsafe void GetAttachedShaders(UInt32 program, Int32 maxcount, Int32* count, UInt32* shaders);
internal extern static unsafe void GetAttachedShaders(UInt32 program, Int32 maxcount, [OutAttribute] Int32* count, [OutAttribute] UInt32* shaders);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetAttribLocation", ExactSpelling = true)]
internal extern static int GetAttribLocation(UInt32 program, String name);
internal extern static int GetAttribLocation(UInt32 program, [OutAttribute] System.Text.StringBuilder name);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBooleanv", ExactSpelling = true)]
internal extern static unsafe void GetBooleanv(OpenTK.Graphics.ES20.GetBooleanPName pname, bool* @params);
internal extern static unsafe void GetBooleanv(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] bool* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferParameteriv", ExactSpelling = true)]
internal extern static unsafe void GetBufferParameteriv(OpenTK.Graphics.ES20.BufferTarget target, OpenTK.Graphics.ES20.GetBufferPName pname, Int32* @params);
internal extern static unsafe void GetBufferParameteriv(OpenTK.Graphics.ES20.BufferTarget target, OpenTK.Graphics.ES20.BufferParameterName pname, [OutAttribute] Int32* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferPointervOES", ExactSpelling = true)]
internal extern static void GetBufferPointervOES(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, IntPtr @params);
internal extern static void GetBufferPointervOES(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDriverControlsQCOM", ExactSpelling = true)]
internal extern static unsafe void GetDriverControlsQCOM(Int32* num, Int32 size, UInt32* driverControls);
internal extern static unsafe void GetDriverControlsQCOM([OutAttribute] Int32* num, Int32 size, [OutAttribute] UInt32* driverControls);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDriverControlStringQCOM", ExactSpelling = true)]
internal extern static unsafe void GetDriverControlStringQCOM(UInt32 driverControl, Int32 bufSize, Int32* length, String driverControlString);
internal extern static unsafe void GetDriverControlStringQCOM(UInt32 driverControl, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] System.Text.StringBuilder driverControlString);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetError", ExactSpelling = true)]
internal extern static OpenTK.Graphics.ES20.All GetError();
internal extern static OpenTK.Graphics.ES20.ErrorCode GetError();
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFenceivNV", ExactSpelling = true)]
internal extern static unsafe void GetFenceivNV(UInt32 fence, Int32* @params);
internal extern static unsafe void GetFenceivNV(UInt32 fence, [OutAttribute] Int32* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFloatv", ExactSpelling = true)]
internal extern static unsafe void GetFloatv(OpenTK.Graphics.ES20.GetFloatPName pname, Single* @params);
internal extern static unsafe void GetFloatv(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Single* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFramebufferAttachmentParameteriv", ExactSpelling = true)]
internal extern static unsafe void GetFramebufferAttachmentParameteriv(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.FramebufferAttachmentParameter pname, Int32* @params);
internal extern static unsafe void GetFramebufferAttachmentParameteriv(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.FramebufferParameterName pname, [OutAttribute] Int32* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetIntegerv", ExactSpelling = true)]
internal extern static unsafe void GetIntegerv(OpenTK.Graphics.ES20.GetIntegerPName pname, Int32* @params);
internal extern static unsafe void GetIntegerv(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Int32* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorCounterDataAMD", ExactSpelling = true)]
internal extern static unsafe void GetPerfMonitorCounterDataAMD(UInt32 monitor, OpenTK.Graphics.ES20.All pname, Int32 dataSize, UInt32* data, Int32* bytesWritten);
internal extern static unsafe void GetPerfMonitorCounterDataAMD(UInt32 monitor, OpenTK.Graphics.ES20.All pname, Int32 dataSize, [OutAttribute] UInt32* data, [OutAttribute] Int32* bytesWritten);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorCounterInfoAMD", ExactSpelling = true)]
internal extern static void GetPerfMonitorCounterInfoAMD(UInt32 group, UInt32 counter, OpenTK.Graphics.ES20.All pname, IntPtr data);
internal extern static void GetPerfMonitorCounterInfoAMD(UInt32 group, UInt32 counter, OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr data);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorCountersAMD", ExactSpelling = true)]
internal extern static unsafe void GetPerfMonitorCountersAMD(UInt32 group, Int32* numCounters, Int32* maxActiveCounters, Int32 counterSize, UInt32* counters);
internal extern static unsafe void GetPerfMonitorCountersAMD(UInt32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] UInt32* counters);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorCounterStringAMD", ExactSpelling = true)]
internal extern static unsafe void GetPerfMonitorCounterStringAMD(UInt32 group, UInt32 counter, Int32 bufSize, Int32* length, String counterString);
internal extern static unsafe void GetPerfMonitorCounterStringAMD(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] System.Text.StringBuilder counterString);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorGroupsAMD", ExactSpelling = true)]
internal extern static unsafe void GetPerfMonitorGroupsAMD(Int32* numGroups, Int32 groupsSize, UInt32* groups);
internal extern static unsafe void GetPerfMonitorGroupsAMD([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] UInt32* groups);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorGroupStringAMD", ExactSpelling = true)]
internal extern static unsafe void GetPerfMonitorGroupStringAMD(UInt32 group, Int32 bufSize, Int32* length, String groupString);
internal extern static unsafe void GetPerfMonitorGroupStringAMD(UInt32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] System.Text.StringBuilder groupString);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramBinaryOES", ExactSpelling = true)]
internal extern static unsafe void GetProgramBinaryOES(UInt32 program, Int32 bufSize, Int32* length, OpenTK.Graphics.ES20.All* binaryFormat, IntPtr binary);
internal extern static unsafe void GetProgramBinaryOES(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES20.All* binaryFormat, [OutAttribute] IntPtr binary);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramInfoLog", ExactSpelling = true)]
internal extern static unsafe void GetProgramInfoLog(UInt32 program, Int32 bufsize, Int32* length, [OutAttribute] System.Text.StringBuilder infolog);
internal extern static unsafe void GetProgramInfoLog(UInt32 program, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] System.Text.StringBuilder infolog);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramiv", ExactSpelling = true)]
internal extern static unsafe void GetProgramiv(UInt32 program, OpenTK.Graphics.ES20.ProgramPName pname, Int32* @params);
internal extern static unsafe void GetProgramiv(UInt32 program, OpenTK.Graphics.ES20.ProgramParameter pname, [OutAttribute] Int32* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetRenderbufferParameteriv", ExactSpelling = true)]
internal extern static unsafe void GetRenderbufferParameteriv(OpenTK.Graphics.ES20.RenderbufferTarget target, OpenTK.Graphics.ES20.GetRenderbufferPName pname, Int32* @params);
internal extern static unsafe void GetRenderbufferParameteriv(OpenTK.Graphics.ES20.RenderbufferTarget target, OpenTK.Graphics.ES20.RenderbufferParameterName pname, [OutAttribute] Int32* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetShaderInfoLog", ExactSpelling = true)]
internal extern static unsafe void GetShaderInfoLog(UInt32 shader, Int32 bufsize, Int32* length, String infolog);
internal extern static unsafe void GetShaderInfoLog(UInt32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] System.Text.StringBuilder infolog);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetShaderiv", ExactSpelling = true)]
internal extern static unsafe void GetShaderiv(UInt32 shader, OpenTK.Graphics.ES20.ShaderPName pname, Int32* @params);
internal extern static unsafe void GetShaderiv(UInt32 shader, OpenTK.Graphics.ES20.ShaderParameter pname, [OutAttribute] Int32* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetShaderPrecisionFormat", ExactSpelling = true)]
internal extern static unsafe void GetShaderPrecisionFormat(OpenTK.Graphics.ES20.ShaderType shadertype, OpenTK.Graphics.ES20.ShaderPrecision precisiontype, Int32* range, Int32* precision);
internal extern static unsafe void GetShaderPrecisionFormat(OpenTK.Graphics.ES20.ShaderType shadertype, OpenTK.Graphics.ES20.ShaderPrecision precisiontype, [OutAttribute] Int32* range, [OutAttribute] Int32* precision);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetShaderSource", ExactSpelling = true)]
internal extern static unsafe void GetShaderSource(UInt32 shader, Int32 bufsize, Int32* length, [OutAttribute] System.Text.StringBuilder source);
internal extern static unsafe void GetShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] System.Text.StringBuilder source);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetString", ExactSpelling = true)]
internal extern static unsafe IntPtr GetString(OpenTK.Graphics.ES20.All name);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameterfv", ExactSpelling = true)]
internal extern static unsafe void GetTexParameterfv(OpenTK.Graphics.ES20.BindTextureTarget target, OpenTK.Graphics.ES20.TexturePName pname, Single* @params);
internal extern static unsafe void GetTexParameterfv(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameter pname, [OutAttribute] Single* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameteriv", ExactSpelling = true)]
internal extern static unsafe void GetTexParameteriv(OpenTK.Graphics.ES20.BindTextureTarget target, OpenTK.Graphics.ES20.TexturePName pname, Int32* @params);
internal extern static unsafe void GetTexParameteriv(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameter pname, [OutAttribute] Int32* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformfv", ExactSpelling = true)]
internal extern static unsafe void GetUniformfv(UInt32 program, Int32 location, Single* @params);
internal extern static unsafe void GetUniformfv(UInt32 program, Int32 location, [OutAttribute] Single* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformiv", ExactSpelling = true)]
internal extern static unsafe void GetUniformiv(UInt32 program, Int32 location, Int32* @params);
internal extern static unsafe void GetUniformiv(UInt32 program, Int32 location, [OutAttribute] Int32* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformLocation", ExactSpelling = true)]
internal extern static int GetUniformLocation(UInt32 program, String name);
internal extern static int GetUniformLocation(UInt32 program, [OutAttribute] System.Text.StringBuilder name);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribfv", ExactSpelling = true)]
internal extern static unsafe void GetVertexAttribfv(UInt32 index, OpenTK.Graphics.ES20.VertexArray pname, Single* @params);
internal extern static unsafe void GetVertexAttribfv(UInt32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Single* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribiv", ExactSpelling = true)]
internal extern static unsafe void GetVertexAttribiv(UInt32 index, OpenTK.Graphics.ES20.VertexArray pname, Int32* @params);
internal extern static unsafe void GetVertexAttribiv(UInt32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Int32* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribPointerv", ExactSpelling = true)]
internal extern static void GetVertexAttribPointerv(UInt32 index, OpenTK.Graphics.ES20.VertexPointer pname, IntPtr pointer);
internal extern static void GetVertexAttribPointerv(UInt32 index, OpenTK.Graphics.ES20.VertexAttribPointerType pname, [OutAttribute] IntPtr pointer);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glHint", ExactSpelling = true)]
internal extern static void Hint(OpenTK.Graphics.ES20.HintTarget target, OpenTK.Graphics.ES20.HintMode mode);
@ -394,7 +394,7 @@ namespace OpenTK.Graphics.ES20
internal extern static unsafe IntPtr MapBufferOES(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All access);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelStorei", ExactSpelling = true)]
internal extern static void PixelStorei(OpenTK.Graphics.ES20.PixelStorePName pname, OpenTK.Graphics.ES20.PixelStoreParameter param);
internal extern static void PixelStorei(OpenTK.Graphics.ES20.PixelStoreParameter pname, Int32 param);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPolygonOffset", ExactSpelling = true)]
internal extern static void PolygonOffset(Single factor, Single units);
@ -457,16 +457,16 @@ namespace OpenTK.Graphics.ES20
internal extern static void TexImage3DOES(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, IntPtr pixels);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterf", ExactSpelling = true)]
internal extern static void TexParameterf(OpenTK.Graphics.ES20.BindTextureTarget target, OpenTK.Graphics.ES20.TexturePName pname, Single param);
internal extern static void TexParameterf(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Single param);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterfv", ExactSpelling = true)]
internal extern static unsafe void TexParameterfv(OpenTK.Graphics.ES20.BindTextureTarget target, OpenTK.Graphics.ES20.TexturePName pname, Single* @params);
internal extern static unsafe void TexParameterfv(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Single* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameteri", ExactSpelling = true)]
internal extern static void TexParameteri(OpenTK.Graphics.ES20.BindTextureTarget target, OpenTK.Graphics.ES20.TexturePName pname, Int32 param);
internal extern static void TexParameteri(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Int32 param);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameteriv", ExactSpelling = true)]
internal extern static unsafe void TexParameteriv(OpenTK.Graphics.ES20.BindTextureTarget target, OpenTK.Graphics.ES20.TexturePName pname, Int32* @params);
internal extern static unsafe void TexParameteriv(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Int32* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage2D", ExactSpelling = true)]
internal extern static void TexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels);

View file

@ -59,7 +59,7 @@ namespace OpenTK.Graphics.ES20
internal delegate void BindRenderbuffer(OpenTK.Graphics.ES20.RenderbufferTarget target, UInt32 renderbuffer);
internal static BindRenderbuffer glBindRenderbuffer;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void BindTexture(OpenTK.Graphics.ES20.BindTextureTarget target, UInt32 texture);
internal delegate void BindTexture(OpenTK.Graphics.ES20.TextureTarget target, UInt32 texture);
internal static BindTexture glBindTexture;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void BlendColor(Single red, Single green, Single blue, Single alpha);
@ -83,7 +83,7 @@ namespace OpenTK.Graphics.ES20
internal delegate void BufferSubData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data);
internal static BufferSubData glBufferSubData;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate OpenTK.Graphics.ES20.All CheckFramebufferStatus(OpenTK.Graphics.ES20.FramebufferTarget target);
internal delegate OpenTK.Graphics.ES20.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.ES20.FramebufferTarget target);
internal static CheckFramebufferStatus glCheckFramebufferStatus;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void Clear(OpenTK.Graphics.ES20.ClearBufferMask mask);
@ -224,136 +224,136 @@ namespace OpenTK.Graphics.ES20
internal delegate void FrontFace(OpenTK.Graphics.ES20.FrontFaceDirection mode);
internal static FrontFace glFrontFace;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GenBuffers(Int32 n, UInt32* buffers);
internal unsafe delegate void GenBuffers(Int32 n, [OutAttribute] UInt32* buffers);
internal unsafe static GenBuffers glGenBuffers;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void GenerateMipmap(OpenTK.Graphics.ES20.BindTextureTarget target);
internal delegate void GenerateMipmap(OpenTK.Graphics.ES20.TextureTarget target);
internal static GenerateMipmap glGenerateMipmap;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GenFencesNV(Int32 n, UInt32* fences);
internal unsafe delegate void GenFencesNV(Int32 n, [OutAttribute] UInt32* fences);
internal unsafe static GenFencesNV glGenFencesNV;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GenFramebuffers(Int32 n, UInt32* framebuffers);
internal unsafe delegate void GenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers);
internal unsafe static GenFramebuffers glGenFramebuffers;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GenPerfMonitorsAMD(Int32 n, UInt32* monitors);
internal unsafe delegate void GenPerfMonitorsAMD(Int32 n, [OutAttribute] UInt32* monitors);
internal unsafe static GenPerfMonitorsAMD glGenPerfMonitorsAMD;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GenRenderbuffers(Int32 n, UInt32* renderbuffers);
internal unsafe delegate void GenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers);
internal unsafe static GenRenderbuffers glGenRenderbuffers;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GenTextures(Int32 n, UInt32* textures);
internal unsafe delegate void GenTextures(Int32 n, [OutAttribute] UInt32* textures);
internal unsafe static GenTextures glGenTextures;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufsize, Int32* length, Int32* size, OpenTK.Graphics.ES20.ActiveAttribType* type, String name);
internal unsafe delegate void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES20.ActiveAttribType* type, [OutAttribute] System.Text.StringBuilder name);
internal unsafe static GetActiveAttrib glGetActiveAttrib;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufsize, Int32* length, Int32* size, OpenTK.Graphics.ES20.ActiveUniformType* type, String name);
internal unsafe delegate void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES20.ActiveUniformType* type, [OutAttribute] System.Text.StringBuilder name);
internal unsafe static GetActiveUniform glGetActiveUniform;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetAttachedShaders(UInt32 program, Int32 maxcount, Int32* count, UInt32* shaders);
internal unsafe delegate void GetAttachedShaders(UInt32 program, Int32 maxcount, [OutAttribute] Int32* count, [OutAttribute] UInt32* shaders);
internal unsafe static GetAttachedShaders glGetAttachedShaders;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate int GetAttribLocation(UInt32 program, String name);
internal delegate int GetAttribLocation(UInt32 program, [OutAttribute] System.Text.StringBuilder name);
internal static GetAttribLocation glGetAttribLocation;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetBooleanv(OpenTK.Graphics.ES20.GetBooleanPName pname, bool* @params);
internal unsafe delegate void GetBooleanv(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] bool* @params);
internal unsafe static GetBooleanv glGetBooleanv;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetBufferParameteriv(OpenTK.Graphics.ES20.BufferTarget target, OpenTK.Graphics.ES20.GetBufferPName pname, Int32* @params);
internal unsafe delegate void GetBufferParameteriv(OpenTK.Graphics.ES20.BufferTarget target, OpenTK.Graphics.ES20.BufferParameterName pname, [OutAttribute] Int32* @params);
internal unsafe static GetBufferParameteriv glGetBufferParameteriv;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void GetBufferPointervOES(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, IntPtr @params);
internal delegate void GetBufferPointervOES(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr @params);
internal static GetBufferPointervOES glGetBufferPointervOES;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetDriverControlsQCOM(Int32* num, Int32 size, UInt32* driverControls);
internal unsafe delegate void GetDriverControlsQCOM([OutAttribute] Int32* num, Int32 size, [OutAttribute] UInt32* driverControls);
internal unsafe static GetDriverControlsQCOM glGetDriverControlsQCOM;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetDriverControlStringQCOM(UInt32 driverControl, Int32 bufSize, Int32* length, String driverControlString);
internal unsafe delegate void GetDriverControlStringQCOM(UInt32 driverControl, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] System.Text.StringBuilder driverControlString);
internal unsafe static GetDriverControlStringQCOM glGetDriverControlStringQCOM;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate OpenTK.Graphics.ES20.All GetError();
internal delegate OpenTK.Graphics.ES20.ErrorCode GetError();
internal static GetError glGetError;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetFenceivNV(UInt32 fence, Int32* @params);
internal unsafe delegate void GetFenceivNV(UInt32 fence, [OutAttribute] Int32* @params);
internal unsafe static GetFenceivNV glGetFenceivNV;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetFloatv(OpenTK.Graphics.ES20.GetFloatPName pname, Single* @params);
internal unsafe delegate void GetFloatv(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Single* @params);
internal unsafe static GetFloatv glGetFloatv;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetFramebufferAttachmentParameteriv(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.FramebufferAttachmentParameter pname, Int32* @params);
internal unsafe delegate void GetFramebufferAttachmentParameteriv(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.FramebufferParameterName pname, [OutAttribute] Int32* @params);
internal unsafe static GetFramebufferAttachmentParameteriv glGetFramebufferAttachmentParameteriv;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetIntegerv(OpenTK.Graphics.ES20.GetIntegerPName pname, Int32* @params);
internal unsafe delegate void GetIntegerv(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Int32* @params);
internal unsafe static GetIntegerv glGetIntegerv;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetPerfMonitorCounterDataAMD(UInt32 monitor, OpenTK.Graphics.ES20.All pname, Int32 dataSize, UInt32* data, Int32* bytesWritten);
internal unsafe delegate void GetPerfMonitorCounterDataAMD(UInt32 monitor, OpenTK.Graphics.ES20.All pname, Int32 dataSize, [OutAttribute] UInt32* data, [OutAttribute] Int32* bytesWritten);
internal unsafe static GetPerfMonitorCounterDataAMD glGetPerfMonitorCounterDataAMD;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void GetPerfMonitorCounterInfoAMD(UInt32 group, UInt32 counter, OpenTK.Graphics.ES20.All pname, IntPtr data);
internal delegate void GetPerfMonitorCounterInfoAMD(UInt32 group, UInt32 counter, OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr data);
internal static GetPerfMonitorCounterInfoAMD glGetPerfMonitorCounterInfoAMD;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetPerfMonitorCountersAMD(UInt32 group, Int32* numCounters, Int32* maxActiveCounters, Int32 counterSize, UInt32* counters);
internal unsafe delegate void GetPerfMonitorCountersAMD(UInt32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] UInt32* counters);
internal unsafe static GetPerfMonitorCountersAMD glGetPerfMonitorCountersAMD;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetPerfMonitorCounterStringAMD(UInt32 group, UInt32 counter, Int32 bufSize, Int32* length, String counterString);
internal unsafe delegate void GetPerfMonitorCounterStringAMD(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] System.Text.StringBuilder counterString);
internal unsafe static GetPerfMonitorCounterStringAMD glGetPerfMonitorCounterStringAMD;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetPerfMonitorGroupsAMD(Int32* numGroups, Int32 groupsSize, UInt32* groups);
internal unsafe delegate void GetPerfMonitorGroupsAMD([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] UInt32* groups);
internal unsafe static GetPerfMonitorGroupsAMD glGetPerfMonitorGroupsAMD;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetPerfMonitorGroupStringAMD(UInt32 group, Int32 bufSize, Int32* length, String groupString);
internal unsafe delegate void GetPerfMonitorGroupStringAMD(UInt32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] System.Text.StringBuilder groupString);
internal unsafe static GetPerfMonitorGroupStringAMD glGetPerfMonitorGroupStringAMD;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetProgramBinaryOES(UInt32 program, Int32 bufSize, Int32* length, OpenTK.Graphics.ES20.All* binaryFormat, IntPtr binary);
internal unsafe delegate void GetProgramBinaryOES(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES20.All* binaryFormat, [OutAttribute] IntPtr binary);
internal unsafe static GetProgramBinaryOES glGetProgramBinaryOES;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetProgramInfoLog(UInt32 program, Int32 bufsize, Int32* length, [OutAttribute] System.Text.StringBuilder infolog);
internal unsafe delegate void GetProgramInfoLog(UInt32 program, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] System.Text.StringBuilder infolog);
internal unsafe static GetProgramInfoLog glGetProgramInfoLog;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetProgramiv(UInt32 program, OpenTK.Graphics.ES20.ProgramPName pname, Int32* @params);
internal unsafe delegate void GetProgramiv(UInt32 program, OpenTK.Graphics.ES20.ProgramParameter pname, [OutAttribute] Int32* @params);
internal unsafe static GetProgramiv glGetProgramiv;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetRenderbufferParameteriv(OpenTK.Graphics.ES20.RenderbufferTarget target, OpenTK.Graphics.ES20.GetRenderbufferPName pname, Int32* @params);
internal unsafe delegate void GetRenderbufferParameteriv(OpenTK.Graphics.ES20.RenderbufferTarget target, OpenTK.Graphics.ES20.RenderbufferParameterName pname, [OutAttribute] Int32* @params);
internal unsafe static GetRenderbufferParameteriv glGetRenderbufferParameteriv;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetShaderInfoLog(UInt32 shader, Int32 bufsize, Int32* length, String infolog);
internal unsafe delegate void GetShaderInfoLog(UInt32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] System.Text.StringBuilder infolog);
internal unsafe static GetShaderInfoLog glGetShaderInfoLog;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetShaderiv(UInt32 shader, OpenTK.Graphics.ES20.ShaderPName pname, Int32* @params);
internal unsafe delegate void GetShaderiv(UInt32 shader, OpenTK.Graphics.ES20.ShaderParameter pname, [OutAttribute] Int32* @params);
internal unsafe static GetShaderiv glGetShaderiv;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetShaderPrecisionFormat(OpenTK.Graphics.ES20.ShaderType shadertype, OpenTK.Graphics.ES20.ShaderPrecision precisiontype, Int32* range, Int32* precision);
internal unsafe delegate void GetShaderPrecisionFormat(OpenTK.Graphics.ES20.ShaderType shadertype, OpenTK.Graphics.ES20.ShaderPrecision precisiontype, [OutAttribute] Int32* range, [OutAttribute] Int32* precision);
internal unsafe static GetShaderPrecisionFormat glGetShaderPrecisionFormat;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetShaderSource(UInt32 shader, Int32 bufsize, Int32* length, [OutAttribute] System.Text.StringBuilder source);
internal unsafe delegate void GetShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] System.Text.StringBuilder source);
internal unsafe static GetShaderSource glGetShaderSource;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate IntPtr GetString(OpenTK.Graphics.ES20.All name);
internal unsafe static GetString glGetString;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetTexParameterfv(OpenTK.Graphics.ES20.BindTextureTarget target, OpenTK.Graphics.ES20.TexturePName pname, Single* @params);
internal unsafe delegate void GetTexParameterfv(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameter pname, [OutAttribute] Single* @params);
internal unsafe static GetTexParameterfv glGetTexParameterfv;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetTexParameteriv(OpenTK.Graphics.ES20.BindTextureTarget target, OpenTK.Graphics.ES20.TexturePName pname, Int32* @params);
internal unsafe delegate void GetTexParameteriv(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameter pname, [OutAttribute] Int32* @params);
internal unsafe static GetTexParameteriv glGetTexParameteriv;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetUniformfv(UInt32 program, Int32 location, Single* @params);
internal unsafe delegate void GetUniformfv(UInt32 program, Int32 location, [OutAttribute] Single* @params);
internal unsafe static GetUniformfv glGetUniformfv;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetUniformiv(UInt32 program, Int32 location, Int32* @params);
internal unsafe delegate void GetUniformiv(UInt32 program, Int32 location, [OutAttribute] Int32* @params);
internal unsafe static GetUniformiv glGetUniformiv;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate int GetUniformLocation(UInt32 program, String name);
internal delegate int GetUniformLocation(UInt32 program, [OutAttribute] System.Text.StringBuilder name);
internal static GetUniformLocation glGetUniformLocation;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetVertexAttribfv(UInt32 index, OpenTK.Graphics.ES20.VertexArray pname, Single* @params);
internal unsafe delegate void GetVertexAttribfv(UInt32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Single* @params);
internal unsafe static GetVertexAttribfv glGetVertexAttribfv;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetVertexAttribiv(UInt32 index, OpenTK.Graphics.ES20.VertexArray pname, Int32* @params);
internal unsafe delegate void GetVertexAttribiv(UInt32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Int32* @params);
internal unsafe static GetVertexAttribiv glGetVertexAttribiv;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void GetVertexAttribPointerv(UInt32 index, OpenTK.Graphics.ES20.VertexPointer pname, IntPtr pointer);
internal delegate void GetVertexAttribPointerv(UInt32 index, OpenTK.Graphics.ES20.VertexAttribPointerType pname, [OutAttribute] IntPtr pointer);
internal static GetVertexAttribPointerv glGetVertexAttribPointerv;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void Hint(OpenTK.Graphics.ES20.HintTarget target, OpenTK.Graphics.ES20.HintMode mode);
@ -392,7 +392,7 @@ namespace OpenTK.Graphics.ES20
internal unsafe delegate IntPtr MapBufferOES(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All access);
internal unsafe static MapBufferOES glMapBufferOES;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void PixelStorei(OpenTK.Graphics.ES20.PixelStorePName pname, OpenTK.Graphics.ES20.PixelStoreParameter param);
internal delegate void PixelStorei(OpenTK.Graphics.ES20.PixelStoreParameter pname, Int32 param);
internal static PixelStorei glPixelStorei;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void PolygonOffset(Single factor, Single units);
@ -455,16 +455,16 @@ namespace OpenTK.Graphics.ES20
internal delegate void TexImage3DOES(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, IntPtr pixels);
internal static TexImage3DOES glTexImage3DOES;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void TexParameterf(OpenTK.Graphics.ES20.BindTextureTarget target, OpenTK.Graphics.ES20.TexturePName pname, Single param);
internal delegate void TexParameterf(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Single param);
internal static TexParameterf glTexParameterf;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void TexParameterfv(OpenTK.Graphics.ES20.BindTextureTarget target, OpenTK.Graphics.ES20.TexturePName pname, Single* @params);
internal unsafe delegate void TexParameterfv(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Single* @params);
internal unsafe static TexParameterfv glTexParameterfv;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void TexParameteri(OpenTK.Graphics.ES20.BindTextureTarget target, OpenTK.Graphics.ES20.TexturePName pname, Int32 param);
internal delegate void TexParameteri(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Int32 param);
internal static TexParameteri glTexParameteri;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void TexParameteriv(OpenTK.Graphics.ES20.BindTextureTarget target, OpenTK.Graphics.ES20.TexturePName pname, Int32* @params);
internal unsafe delegate void TexParameteriv(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Int32* @params);
internal unsafe static TexParameteriv glTexParameteriv;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void TexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels);

File diff suppressed because it is too large Load diff

View file

@ -75,13 +75,10 @@ namespace OpenTK.Graphics.ES20
ColorBufferBit = ((int)0x00004000),
Lines = ((int)0x0001),
LineLoop = ((int)0x0002),
Two = ((int)0X0002),
LineStrip = ((int)0x0003),
Triangles = ((int)0x0004),
Four = ((int)0X0004),
TriangleStrip = ((int)0x0005),
TriangleFan = ((int)0x0006),
Eight = ((int)0X0008),
Never = ((int)0x0200),
Less = ((int)0x0201),
Equal = ((int)0x0202),
@ -517,12 +514,6 @@ namespace OpenTK.Graphics.ES20
TriangleFan = ((int)0x0006),
}
public enum BindTextureTarget : int
{
Texture2D = ((int)0X0de1),
TextureCubeMap = ((int)0X8513),
}
public enum BlendEquationSeparate : int
{
FuncAdd = ((int)0x8006),
@ -601,6 +592,12 @@ namespace OpenTK.Graphics.ES20
DynamicDraw = ((int)0x88E8),
}
public enum BufferParameterName : int
{
BufferSize = ((int)0X8764),
BufferUsage = ((int)0X8765),
}
public enum BufferTarget : int
{
ArrayBuffer = ((int)0X8892),
@ -702,15 +699,7 @@ namespace OpenTK.Graphics.ES20
ExtTextureType2101010Rev = ((int)1),
}
public enum FramebufferAttachmentParameter : int
{
FramebufferAttachmentObjectType = ((int)0X8cd0),
FramebufferAttachmentObjectName = ((int)0X8cd1),
FramebufferAttachmentTextureLevel = ((int)0X8cd2),
FramebufferAttachmentTextureCubeMapFace = ((int)0X8cd3),
}
public enum FramebufferError : int
public enum FramebufferErrorCode : int
{
FramebufferComplete = ((int)0X8cd5),
FramebufferIncompleteAttachment = ((int)0X8cd6),
@ -757,6 +746,14 @@ namespace OpenTK.Graphics.ES20
Rgb565 = ((int)0x8D62),
}
public enum FramebufferParameterName : int
{
FramebufferAttachmentObjectType = ((int)0X8cd0),
FramebufferAttachmentObjectName = ((int)0X8cd1),
FramebufferAttachmentTextureLevel = ((int)0X8cd2),
FramebufferAttachmentTextureCubeMapFace = ((int)0X8cd3),
}
public enum FramebufferSlot : int
{
ColorAttachment0 = ((int)0X8ce0),
@ -775,102 +772,6 @@ namespace OpenTK.Graphics.ES20
Ccw = ((int)0x0901),
}
public enum GetBooleanPName : int
{
DepthWritemask = ((int)0X0b72),
ColorWritemask = ((int)0X0c23),
SampleCoverageInvert = ((int)0X80ab),
ShaderCompiler = ((int)0X8dfa),
}
public enum GetBufferPName : int
{
BufferSize = ((int)0X8764),
BufferUsage = ((int)0X8765),
}
public enum GetFloatPName : int
{
LineWidth = ((int)0X0b21),
DepthRange = ((int)0X0b70),
ColorClearValue = ((int)0X0c22),
PolygonOffsetUnits = ((int)0X2a00),
BlendColor = ((int)0X8005),
PolygonOffsetFactor = ((int)0X8038),
SampleCoverageValue = ((int)0X80aa),
AliasedPointSizeRange = ((int)0X846d),
AliasedLineWidthRange = ((int)0X846e),
}
public enum GetIntegerPName : int
{
CullFaceMode = ((int)0X0b45),
FrontFace = ((int)0X0b46),
DepthClearValue = ((int)0X0b73),
DepthFunc = ((int)0X0b74),
StencilClearValue = ((int)0X0b91),
StencilFunc = ((int)0X0b92),
StencilValueMask = ((int)0X0b93),
StencilFail = ((int)0X0b94),
StencilPassDepthFail = ((int)0X0b95),
StencilPassDepthPass = ((int)0X0b96),
StencilRef = ((int)0X0b97),
StencilWritemask = ((int)0X0b98),
Viewport = ((int)0X0ba2),
ScissorBox = ((int)0X0c10),
UnpackAlignment = ((int)0X0cf5),
PackAlignment = ((int)0X0d05),
MaxTextureSize = ((int)0X0d33),
MaxViewportDims = ((int)0X0d3a),
SubpixelBits = ((int)0X0d50),
RedBits = ((int)0X0d52),
GreenBits = ((int)0X0d53),
BlueBits = ((int)0X0d54),
AlphaBits = ((int)0X0d55),
DepthBits = ((int)0X0d56),
StencilBits = ((int)0X0d57),
BlendEquation = ((int)0X8009),
BlendEquationRgb = ((int)0X8009),
TextureBinding2D = ((int)0X8069),
SampleBuffers = ((int)0X80a8),
Samples = ((int)0X80a9),
BlendDstRgb = ((int)0X80c8),
BlendSrcRgb = ((int)0X80c9),
BlendDstAlpha = ((int)0X80ca),
BlendSrcAlpha = ((int)0X80cb),
GenerateMipmapHint = ((int)0X8192),
ActiveTexture = ((int)0X84e0),
MaxRenderbufferSize = ((int)0X84e8),
TextureBindingCubeMap = ((int)0X8514),
MaxCubeMapTextureSize = ((int)0X851c),
NumCompressedTextureFormats = ((int)0X86a2),
CompressedTextureFormats = ((int)0X86a3),
StencilBackFunc = ((int)0X8800),
StencilBackFail = ((int)0X8801),
StencilBackPassDepthFail = ((int)0X8802),
StencilBackPassDepthPass = ((int)0X8803),
BlendEquationAlpha = ((int)0X883d),
MaxVertexAttribs = ((int)0X8869),
MaxTextureImageUnits = ((int)0X8872),
ArrayBufferBinding = ((int)0X8894),
ElementArrayBufferBinding = ((int)0X8895),
MaxVertexTextureImageUnits = ((int)0X8b4c),
MaxCombinedTextureImageUnits = ((int)0X8b4d),
CurrentProgram = ((int)0X8b8d),
ImplementationColorReadType = ((int)0X8b9a),
ImplementationColorReadFormat = ((int)0X8b9b),
StencilBackRef = ((int)0X8ca3),
StencilBackValueMask = ((int)0X8ca4),
StencilBackWritemask = ((int)0X8ca5),
FramebufferBinding = ((int)0X8ca6),
RenderbufferBinding = ((int)0X8ca7),
ShaderBinaryFormats = ((int)0X8df8),
NumShaderBinaryFormats = ((int)0X8df9),
MaxVertexUniformVectors = ((int)0X8dfb),
MaxVaryingVectors = ((int)0X8dfc),
MaxFragmentUniformVectors = ((int)0X8dfd),
}
public enum GetPName : int
{
LineWidth = ((int)0x0B21),
@ -904,38 +805,61 @@ namespace OpenTK.Graphics.ES20
DepthBits = ((int)0x0D56),
StencilBits = ((int)0x0D57),
PolygonOffsetUnits = ((int)0x2A00),
BlendColor = ((int)0X8005),
BlendEquation = ((int)0X8009),
BlendEquationRgb = ((int)0X8009),
PolygonOffsetFactor = ((int)0x8038),
TextureBinding2D = ((int)0x8069),
SampleBuffers = ((int)0x80A8),
Samples = ((int)0x80A9),
SampleCoverageValue = ((int)0x80AA),
SampleCoverageInvert = ((int)0x80AB),
BlendDstRgb = ((int)0X80c8),
BlendSrcRgb = ((int)0X80c9),
BlendDstAlpha = ((int)0X80ca),
BlendSrcAlpha = ((int)0X80cb),
GenerateMipmapHint = ((int)0X8192),
AliasedPointSizeRange = ((int)0x846D),
AliasedLineWidthRange = ((int)0x846E),
ActiveTexture = ((int)0X84e0),
MaxRenderbufferSize = ((int)0X84e8),
TextureBindingCubeMap = ((int)0X8514),
MaxCubeMapTextureSize = ((int)0X851c),
NumCompressedTextureFormats = ((int)0X86a2),
CompressedTextureFormats = ((int)0X86a3),
StencilBackFunc = ((int)0x8800),
StencilBackFail = ((int)0x8801),
StencilBackPassDepthFail = ((int)0x8802),
StencilBackPassDepthPass = ((int)0x8803),
BlendEquationAlpha = ((int)0X883d),
MaxVertexAttribs = ((int)0X8869),
MaxTextureImageUnits = ((int)0X8872),
ArrayBufferBinding = ((int)0X8894),
ElementArrayBufferBinding = ((int)0X8895),
MaxVertexTextureImageUnits = ((int)0X8b4c),
MaxCombinedTextureImageUnits = ((int)0X8b4d),
CurrentProgram = ((int)0X8b8d),
ImplementationColorReadType = ((int)0X8b9a),
ImplementationColorReadFormat = ((int)0X8b9b),
StencilBackRef = ((int)0x8CA3),
StencilBackValueMask = ((int)0x8CA4),
StencilBackWritemask = ((int)0x8CA5),
}
public enum GetRenderbufferPName : int
{
RenderbufferWidth = ((int)0X8d42),
RenderbufferHeight = ((int)0X8d43),
RenderbufferInternalFormat = ((int)0X8d44),
RenderbufferRedSize = ((int)0X8d50),
RenderbufferGreenSize = ((int)0X8d51),
RenderbufferBlueSize = ((int)0X8d52),
RenderbufferAlphaSize = ((int)0X8d53),
RenderbufferDepthSize = ((int)0X8d54),
RenderbufferStencilSize = ((int)0X8d55),
FramebufferBinding = ((int)0X8ca6),
RenderbufferBinding = ((int)0X8ca7),
ShaderBinaryFormats = ((int)0X8df8),
NumShaderBinaryFormats = ((int)0X8df9),
ShaderCompiler = ((int)0X8dfa),
MaxVertexUniformVectors = ((int)0X8dfb),
MaxVaryingVectors = ((int)0X8dfc),
MaxFragmentUniformVectors = ((int)0X8dfd),
}
public enum GetTextureParameter : int
{
TextureMagFilter = ((int)0X2800),
TextureMinFilter = ((int)0X2801),
TextureWrapS = ((int)0X2802),
TextureWrapT = ((int)0X2803),
NumCompressedTextureFormats = ((int)0x86A2),
CompressedTextureFormats = ((int)0x86A3),
}
@ -1159,14 +1083,6 @@ namespace OpenTK.Graphics.ES20
}
public enum PixelStoreParameter : int
{
One = ((int)0X0001),
Two = ((int)0X0002),
Four = ((int)0X0004),
Eight = ((int)0X0008),
}
public enum PixelStorePName : int
{
UnpackAlignment = ((int)0X0cf5),
PackAlignment = ((int)0X0d05),
@ -1191,7 +1107,7 @@ namespace OpenTK.Graphics.ES20
TriangleFan = ((int)0X0006),
}
public enum ProgramPName : int
public enum ProgramParameter : int
{
DeleteStatus = ((int)0X8b80),
LinkStatus = ((int)0X8b82),
@ -1230,6 +1146,19 @@ namespace OpenTK.Graphics.ES20
Rgb565 = ((int)0X8d62),
}
public enum RenderbufferParameterName : int
{
RenderbufferWidth = ((int)0X8d42),
RenderbufferHeight = ((int)0X8d43),
RenderbufferInternalFormat = ((int)0X8d44),
RenderbufferRedSize = ((int)0X8d50),
RenderbufferGreenSize = ((int)0X8d51),
RenderbufferBlueSize = ((int)0X8d52),
RenderbufferAlphaSize = ((int)0X8d53),
RenderbufferDepthSize = ((int)0X8d54),
RenderbufferStencilSize = ((int)0X8d55),
}
public enum RenderbufferTarget : int
{
Renderbuffer = ((int)0X8d41),
@ -1254,7 +1183,7 @@ namespace OpenTK.Graphics.ES20
NumShaderBinaryFormats = ((int)0x8DF9),
}
public enum ShaderPName : int
public enum ShaderParameter : int
{
ShaderType = ((int)0X8b4f),
DeleteStatus = ((int)0X8b80),
@ -1389,14 +1318,6 @@ namespace OpenTK.Graphics.ES20
TextureWrapT = ((int)0x2803),
}
public enum TexturePName : int
{
TextureMagFilter = ((int)0X2800),
TextureMinFilter = ((int)0X2801),
TextureWrapS = ((int)0X2802),
TextureWrapT = ((int)0X2803),
}
public enum TextureTarget : int
{
Texture2D = ((int)0X0de1),
@ -1475,7 +1396,18 @@ namespace OpenTK.Graphics.ES20
SamplerCube = ((int)0x8B60),
}
public enum VertexArray : int
public enum VertexArrays : int
{
VertexAttribArrayEnabled = ((int)0x8622),
VertexAttribArraySize = ((int)0x8623),
VertexAttribArrayStride = ((int)0x8624),
VertexAttribArrayType = ((int)0x8625),
VertexAttribArrayPointer = ((int)0x8645),
VertexAttribArrayNormalized = ((int)0x886A),
VertexAttribArrayBufferBinding = ((int)0x889F),
}
public enum VertexAttribParameter : int
{
VertexAttribArrayEnabled = ((int)0X8622),
VertexAttribArraySize = ((int)0X8623),
@ -1486,15 +1418,9 @@ namespace OpenTK.Graphics.ES20
VertexAttribArrayBufferBinding = ((int)0X889f),
}
public enum VertexArrays : int
public enum VertexAttribPointerType : int
{
VertexAttribArrayEnabled = ((int)0x8622),
VertexAttribArraySize = ((int)0x8623),
VertexAttribArrayStride = ((int)0x8624),
VertexAttribArrayType = ((int)0x8625),
VertexAttribArrayPointer = ((int)0x8645),
VertexAttribArrayNormalized = ((int)0x886A),
VertexAttribArrayBufferBinding = ((int)0x889F),
VertexAttribArrayPointer = ((int)0X8645),
}
public enum VertexAttribType : int
@ -1507,9 +1433,4 @@ namespace OpenTK.Graphics.ES20
Fixed = ((int)0X140c),
}
public enum VertexPointer : int
{
VertexAttribArrayPointer = ((int)0X8645),
}
}