00001 #region License
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #endregion
00027
00028 namespace OpenTK.Graphics.ES20
00029 {
00030 using System;
00031 using System.Text;
00032 using System.Runtime.InteropServices;
00033 #pragma warning disable 0649
00034 #pragma warning disable 3019
00035 #pragma warning disable 1591
00036
00037 partial class GL
00038 {
00039 internal static partial class Delegates
00040 {
00041 [System.Security.SuppressUnmanagedCodeSecurity()]
00042 internal delegate void ActiveTexture(OpenTK.Graphics.ES20.TextureUnit texture);
00043 internal static ActiveTexture glActiveTexture;
00044 [System.Security.SuppressUnmanagedCodeSecurity()]
00045 internal delegate void AttachShader(UInt32 program, UInt32 shader);
00046 internal static AttachShader glAttachShader;
00047 [System.Security.SuppressUnmanagedCodeSecurity()]
00048 internal delegate void BeginPerfMonitorAMD(UInt32 monitor);
00049 internal static BeginPerfMonitorAMD glBeginPerfMonitorAMD;
00050 [System.Security.SuppressUnmanagedCodeSecurity()]
00051 internal delegate void BindAttribLocation(UInt32 program, UInt32 index, String name);
00052 internal static BindAttribLocation glBindAttribLocation;
00053 [System.Security.SuppressUnmanagedCodeSecurity()]
00054 internal delegate void BindBuffer(OpenTK.Graphics.ES20.BufferTarget target, UInt32 buffer);
00055 internal static BindBuffer glBindBuffer;
00056 [System.Security.SuppressUnmanagedCodeSecurity()]
00057 internal delegate void BindFramebuffer(OpenTK.Graphics.ES20.FramebufferTarget target, UInt32 framebuffer);
00058 internal static BindFramebuffer glBindFramebuffer;
00059 [System.Security.SuppressUnmanagedCodeSecurity()]
00060 internal delegate void BindRenderbuffer(OpenTK.Graphics.ES20.RenderbufferTarget target, UInt32 renderbuffer);
00061 internal static BindRenderbuffer glBindRenderbuffer;
00062 [System.Security.SuppressUnmanagedCodeSecurity()]
00063 internal delegate void BindTexture(OpenTK.Graphics.ES20.TextureTarget target, UInt32 texture);
00064 internal static BindTexture glBindTexture;
00065 [System.Security.SuppressUnmanagedCodeSecurity()]
00066 internal delegate void BlendColor(Single red, Single green, Single blue, Single alpha);
00067 internal static BlendColor glBlendColor;
00068 [System.Security.SuppressUnmanagedCodeSecurity()]
00069 internal delegate void BlendEquation(OpenTK.Graphics.ES20.BlendEquationMode mode);
00070 internal static BlendEquation glBlendEquation;
00071 [System.Security.SuppressUnmanagedCodeSecurity()]
00072 internal delegate void BlendEquationSeparate(OpenTK.Graphics.ES20.BlendEquationMode modeRGB, OpenTK.Graphics.ES20.BlendEquationMode modeAlpha);
00073 internal static BlendEquationSeparate glBlendEquationSeparate;
00074 [System.Security.SuppressUnmanagedCodeSecurity()]
00075 internal delegate void BlendFunc(OpenTK.Graphics.ES20.BlendingFactorSrc sfactor, OpenTK.Graphics.ES20.BlendingFactorDest dfactor);
00076 internal static BlendFunc glBlendFunc;
00077 [System.Security.SuppressUnmanagedCodeSecurity()]
00078 internal delegate void BlendFuncSeparate(OpenTK.Graphics.ES20.BlendingFactorSrc srcRGB, OpenTK.Graphics.ES20.BlendingFactorDest dstRGB, OpenTK.Graphics.ES20.BlendingFactorSrc srcAlpha, OpenTK.Graphics.ES20.BlendingFactorDest dstAlpha);
00079 internal static BlendFuncSeparate glBlendFuncSeparate;
00080 [System.Security.SuppressUnmanagedCodeSecurity()]
00081 internal delegate void BufferData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.ES20.BufferUsage usage);
00082 internal static BufferData glBufferData;
00083 [System.Security.SuppressUnmanagedCodeSecurity()]
00084 internal delegate void BufferSubData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data);
00085 internal static BufferSubData glBufferSubData;
00086 [System.Security.SuppressUnmanagedCodeSecurity()]
00087 internal delegate OpenTK.Graphics.ES20.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.ES20.FramebufferTarget target);
00088 internal static CheckFramebufferStatus glCheckFramebufferStatus;
00089 [System.Security.SuppressUnmanagedCodeSecurity()]
00090 internal delegate void Clear(OpenTK.Graphics.ES20.ClearBufferMask mask);
00091 internal static Clear glClear;
00092 [System.Security.SuppressUnmanagedCodeSecurity()]
00093 internal delegate void ClearColor(Single red, Single green, Single blue, Single alpha);
00094 internal static ClearColor glClearColor;
00095 [System.Security.SuppressUnmanagedCodeSecurity()]
00096 internal delegate void ClearDepthf(Single depth);
00097 internal static ClearDepthf glClearDepthf;
00098 [System.Security.SuppressUnmanagedCodeSecurity()]
00099 internal delegate void ClearStencil(Int32 s);
00100 internal static ClearStencil glClearStencil;
00101 [System.Security.SuppressUnmanagedCodeSecurity()]
00102 internal delegate void ColorMask(bool red, bool green, bool blue, bool alpha);
00103 internal static ColorMask glColorMask;
00104 [System.Security.SuppressUnmanagedCodeSecurity()]
00105 internal delegate void CompileShader(UInt32 shader);
00106 internal static CompileShader glCompileShader;
00107 [System.Security.SuppressUnmanagedCodeSecurity()]
00108 internal delegate void CompressedTexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data);
00109 internal static CompressedTexImage2D glCompressedTexImage2D;
00110 [System.Security.SuppressUnmanagedCodeSecurity()]
00111 internal delegate void CompressedTexImage3DOES(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data);
00112 internal static CompressedTexImage3DOES glCompressedTexImage3DOES;
00113 [System.Security.SuppressUnmanagedCodeSecurity()]
00114 internal delegate void CompressedTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, Int32 imageSize, IntPtr data);
00115 internal static CompressedTexSubImage2D glCompressedTexSubImage2D;
00116 [System.Security.SuppressUnmanagedCodeSecurity()]
00117 internal delegate void CompressedTexSubImage3DOES(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, Int32 imageSize, IntPtr data);
00118 internal static CompressedTexSubImage3DOES glCompressedTexSubImage3DOES;
00119 [System.Security.SuppressUnmanagedCodeSecurity()]
00120 internal delegate void CopyTexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border);
00121 internal static CopyTexImage2D glCopyTexImage2D;
00122 [System.Security.SuppressUnmanagedCodeSecurity()]
00123 internal delegate void CopyTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height);
00124 internal static CopyTexSubImage2D glCopyTexSubImage2D;
00125 [System.Security.SuppressUnmanagedCodeSecurity()]
00126 internal delegate void CopyTexSubImage3DOES(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height);
00127 internal static CopyTexSubImage3DOES glCopyTexSubImage3DOES;
00128 [System.Security.SuppressUnmanagedCodeSecurity()]
00129 internal delegate Int32 CreateProgram();
00130 internal static CreateProgram glCreateProgram;
00131 [System.Security.SuppressUnmanagedCodeSecurity()]
00132 internal delegate Int32 CreateShader(OpenTK.Graphics.ES20.ShaderType type);
00133 internal static CreateShader glCreateShader;
00134 [System.Security.SuppressUnmanagedCodeSecurity()]
00135 internal delegate void CullFace(OpenTK.Graphics.ES20.CullFaceMode mode);
00136 internal static CullFace glCullFace;
00137 [System.Security.SuppressUnmanagedCodeSecurity()]
00138 internal unsafe delegate void DeleteBuffers(Int32 n, UInt32* buffers);
00139 internal unsafe static DeleteBuffers glDeleteBuffers;
00140 [System.Security.SuppressUnmanagedCodeSecurity()]
00141 internal unsafe delegate void DeleteFencesNV(Int32 n, UInt32* fences);
00142 internal unsafe static DeleteFencesNV glDeleteFencesNV;
00143 [System.Security.SuppressUnmanagedCodeSecurity()]
00144 internal unsafe delegate void DeleteFramebuffers(Int32 n, UInt32* framebuffers);
00145 internal unsafe static DeleteFramebuffers glDeleteFramebuffers;
00146 [System.Security.SuppressUnmanagedCodeSecurity()]
00147 internal unsafe delegate void DeletePerfMonitorsAMD(Int32 n, UInt32* monitors);
00148 internal unsafe static DeletePerfMonitorsAMD glDeletePerfMonitorsAMD;
00149 [System.Security.SuppressUnmanagedCodeSecurity()]
00150 internal delegate void DeleteProgram(UInt32 program);
00151 internal static DeleteProgram glDeleteProgram;
00152 [System.Security.SuppressUnmanagedCodeSecurity()]
00153 internal unsafe delegate void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers);
00154 internal unsafe static DeleteRenderbuffers glDeleteRenderbuffers;
00155 [System.Security.SuppressUnmanagedCodeSecurity()]
00156 internal delegate void DeleteShader(UInt32 shader);
00157 internal static DeleteShader glDeleteShader;
00158 [System.Security.SuppressUnmanagedCodeSecurity()]
00159 internal unsafe delegate void DeleteTextures(Int32 n, UInt32* textures);
00160 internal unsafe static DeleteTextures glDeleteTextures;
00161 [System.Security.SuppressUnmanagedCodeSecurity()]
00162 internal delegate void DepthFunc(OpenTK.Graphics.ES20.DepthFunction func);
00163 internal static DepthFunc glDepthFunc;
00164 [System.Security.SuppressUnmanagedCodeSecurity()]
00165 internal delegate void DepthMask(bool flag);
00166 internal static DepthMask glDepthMask;
00167 [System.Security.SuppressUnmanagedCodeSecurity()]
00168 internal delegate void DepthRangef(Single zNear, Single zFar);
00169 internal static DepthRangef glDepthRangef;
00170 [System.Security.SuppressUnmanagedCodeSecurity()]
00171 internal delegate void DetachShader(UInt32 program, UInt32 shader);
00172 internal static DetachShader glDetachShader;
00173 [System.Security.SuppressUnmanagedCodeSecurity()]
00174 internal delegate void Disable(OpenTK.Graphics.ES20.EnableCap cap);
00175 internal static Disable glDisable;
00176 [System.Security.SuppressUnmanagedCodeSecurity()]
00177 internal delegate void DisableDriverControlQCOM(UInt32 driverControl);
00178 internal static DisableDriverControlQCOM glDisableDriverControlQCOM;
00179 [System.Security.SuppressUnmanagedCodeSecurity()]
00180 internal delegate void DisableVertexAttribArray(UInt32 index);
00181 internal static DisableVertexAttribArray glDisableVertexAttribArray;
00182 [System.Security.SuppressUnmanagedCodeSecurity()]
00183 internal delegate void DrawArrays(OpenTK.Graphics.ES20.BeginMode mode, Int32 first, Int32 count);
00184 internal static DrawArrays glDrawArrays;
00185 [System.Security.SuppressUnmanagedCodeSecurity()]
00186 internal delegate void DrawElements(OpenTK.Graphics.ES20.BeginMode mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices);
00187 internal static DrawElements glDrawElements;
00188 [System.Security.SuppressUnmanagedCodeSecurity()]
00189 internal delegate void EGLImageTargetRenderbufferStorageOES(OpenTK.Graphics.ES20.All target, IntPtr image);
00190 internal static EGLImageTargetRenderbufferStorageOES glEGLImageTargetRenderbufferStorageOES;
00191 [System.Security.SuppressUnmanagedCodeSecurity()]
00192 internal delegate void EGLImageTargetTexture2DOES(OpenTK.Graphics.ES20.All target, IntPtr image);
00193 internal static EGLImageTargetTexture2DOES glEGLImageTargetTexture2DOES;
00194 [System.Security.SuppressUnmanagedCodeSecurity()]
00195 internal delegate void Enable(OpenTK.Graphics.ES20.EnableCap cap);
00196 internal static Enable glEnable;
00197 [System.Security.SuppressUnmanagedCodeSecurity()]
00198 internal delegate void EnableDriverControlQCOM(UInt32 driverControl);
00199 internal static EnableDriverControlQCOM glEnableDriverControlQCOM;
00200 [System.Security.SuppressUnmanagedCodeSecurity()]
00201 internal delegate void EnableVertexAttribArray(UInt32 index);
00202 internal static EnableVertexAttribArray glEnableVertexAttribArray;
00203 [System.Security.SuppressUnmanagedCodeSecurity()]
00204 internal delegate void EndPerfMonitorAMD(UInt32 monitor);
00205 internal static EndPerfMonitorAMD glEndPerfMonitorAMD;
00206 [System.Security.SuppressUnmanagedCodeSecurity()]
00207 internal delegate void Finish();
00208 internal static Finish glFinish;
00209 [System.Security.SuppressUnmanagedCodeSecurity()]
00210 internal delegate void FinishFenceNV(UInt32 fence);
00211 internal static FinishFenceNV glFinishFenceNV;
00212 [System.Security.SuppressUnmanagedCodeSecurity()]
00213 internal delegate void Flush();
00214 internal static Flush glFlush;
00215 [System.Security.SuppressUnmanagedCodeSecurity()]
00216 internal delegate void FramebufferRenderbuffer(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer);
00217 internal static FramebufferRenderbuffer glFramebufferRenderbuffer;
00218 [System.Security.SuppressUnmanagedCodeSecurity()]
00219 internal delegate void FramebufferTexture2D(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.TextureTarget textarget, UInt32 texture, Int32 level);
00220 internal static FramebufferTexture2D glFramebufferTexture2D;
00221 [System.Security.SuppressUnmanagedCodeSecurity()]
00222 internal delegate void FramebufferTexture3DOES(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All textarget, UInt32 texture, Int32 level, Int32 zoffset);
00223 internal static FramebufferTexture3DOES glFramebufferTexture3DOES;
00224 [System.Security.SuppressUnmanagedCodeSecurity()]
00225 internal delegate void FrontFace(OpenTK.Graphics.ES20.FrontFaceDirection mode);
00226 internal static FrontFace glFrontFace;
00227 [System.Security.SuppressUnmanagedCodeSecurity()]
00228 internal unsafe delegate void GenBuffers(Int32 n, [OutAttribute] UInt32* buffers);
00229 internal unsafe static GenBuffers glGenBuffers;
00230 [System.Security.SuppressUnmanagedCodeSecurity()]
00231 internal delegate void GenerateMipmap(OpenTK.Graphics.ES20.TextureTarget target);
00232 internal static GenerateMipmap glGenerateMipmap;
00233 [System.Security.SuppressUnmanagedCodeSecurity()]
00234 internal unsafe delegate void GenFencesNV(Int32 n, [OutAttribute] UInt32* fences);
00235 internal unsafe static GenFencesNV glGenFencesNV;
00236 [System.Security.SuppressUnmanagedCodeSecurity()]
00237 internal unsafe delegate void GenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers);
00238 internal unsafe static GenFramebuffers glGenFramebuffers;
00239 [System.Security.SuppressUnmanagedCodeSecurity()]
00240 internal unsafe delegate void GenPerfMonitorsAMD(Int32 n, [OutAttribute] UInt32* monitors);
00241 internal unsafe static GenPerfMonitorsAMD glGenPerfMonitorsAMD;
00242 [System.Security.SuppressUnmanagedCodeSecurity()]
00243 internal unsafe delegate void GenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers);
00244 internal unsafe static GenRenderbuffers glGenRenderbuffers;
00245 [System.Security.SuppressUnmanagedCodeSecurity()]
00246 internal unsafe delegate void GenTextures(Int32 n, [OutAttribute] UInt32* textures);
00247 internal unsafe static GenTextures glGenTextures;
00248 [System.Security.SuppressUnmanagedCodeSecurity()]
00249 internal unsafe delegate void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES20.ActiveAttribType* type, [OutAttribute] StringBuilder name);
00250 internal unsafe static GetActiveAttrib glGetActiveAttrib;
00251 [System.Security.SuppressUnmanagedCodeSecurity()]
00252 internal unsafe delegate void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES20.ActiveUniformType* type, [OutAttribute] StringBuilder name);
00253 internal unsafe static GetActiveUniform glGetActiveUniform;
00254 [System.Security.SuppressUnmanagedCodeSecurity()]
00255 internal unsafe delegate void GetAttachedShaders(UInt32 program, Int32 maxcount, [OutAttribute] Int32* count, [OutAttribute] UInt32* shaders);
00256 internal unsafe static GetAttachedShaders glGetAttachedShaders;
00257 [System.Security.SuppressUnmanagedCodeSecurity()]
00258 internal delegate int GetAttribLocation(UInt32 program, String name);
00259 internal static GetAttribLocation glGetAttribLocation;
00260 [System.Security.SuppressUnmanagedCodeSecurity()]
00261 internal unsafe delegate void GetBooleanv(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] bool* @params);
00262 internal unsafe static GetBooleanv glGetBooleanv;
00263 [System.Security.SuppressUnmanagedCodeSecurity()]
00264 internal unsafe delegate void GetBufferParameteriv(OpenTK.Graphics.ES20.BufferTarget target, OpenTK.Graphics.ES20.BufferParameterName pname, [OutAttribute] Int32* @params);
00265 internal unsafe static GetBufferParameteriv glGetBufferParameteriv;
00266 [System.Security.SuppressUnmanagedCodeSecurity()]
00267 internal delegate void GetBufferPointervOES(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr @params);
00268 internal static GetBufferPointervOES glGetBufferPointervOES;
00269 [System.Security.SuppressUnmanagedCodeSecurity()]
00270 internal unsafe delegate void GetDriverControlsQCOM([OutAttribute] Int32* num, Int32 size, [OutAttribute] UInt32* driverControls);
00271 internal unsafe static GetDriverControlsQCOM glGetDriverControlsQCOM;
00272 [System.Security.SuppressUnmanagedCodeSecurity()]
00273 internal unsafe delegate void GetDriverControlStringQCOM(UInt32 driverControl, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder driverControlString);
00274 internal unsafe static GetDriverControlStringQCOM glGetDriverControlStringQCOM;
00275 [System.Security.SuppressUnmanagedCodeSecurity()]
00276 internal delegate OpenTK.Graphics.ES20.ErrorCode GetError();
00277 internal static GetError glGetError;
00278 [System.Security.SuppressUnmanagedCodeSecurity()]
00279 internal unsafe delegate void GetFenceivNV(UInt32 fence, [OutAttribute] Int32* @params);
00280 internal unsafe static GetFenceivNV glGetFenceivNV;
00281 [System.Security.SuppressUnmanagedCodeSecurity()]
00282 internal unsafe delegate void GetFloatv(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Single* @params);
00283 internal unsafe static GetFloatv glGetFloatv;
00284 [System.Security.SuppressUnmanagedCodeSecurity()]
00285 internal unsafe delegate void GetFramebufferAttachmentParameteriv(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.FramebufferParameterName pname, [OutAttribute] Int32* @params);
00286 internal unsafe static GetFramebufferAttachmentParameteriv glGetFramebufferAttachmentParameteriv;
00287 [System.Security.SuppressUnmanagedCodeSecurity()]
00288 internal unsafe delegate void GetIntegerv(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Int32* @params);
00289 internal unsafe static GetIntegerv glGetIntegerv;
00290 [System.Security.SuppressUnmanagedCodeSecurity()]
00291 internal unsafe delegate void GetPerfMonitorCounterDataAMD(UInt32 monitor, OpenTK.Graphics.ES20.All pname, Int32 dataSize, [OutAttribute] UInt32* data, [OutAttribute] Int32* bytesWritten);
00292 internal unsafe static GetPerfMonitorCounterDataAMD glGetPerfMonitorCounterDataAMD;
00293 [System.Security.SuppressUnmanagedCodeSecurity()]
00294 internal delegate void GetPerfMonitorCounterInfoAMD(UInt32 group, UInt32 counter, OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr data);
00295 internal static GetPerfMonitorCounterInfoAMD glGetPerfMonitorCounterInfoAMD;
00296 [System.Security.SuppressUnmanagedCodeSecurity()]
00297 internal unsafe delegate void GetPerfMonitorCountersAMD(UInt32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] UInt32* counters);
00298 internal unsafe static GetPerfMonitorCountersAMD glGetPerfMonitorCountersAMD;
00299 [System.Security.SuppressUnmanagedCodeSecurity()]
00300 internal unsafe delegate void GetPerfMonitorCounterStringAMD(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder counterString);
00301 internal unsafe static GetPerfMonitorCounterStringAMD glGetPerfMonitorCounterStringAMD;
00302 [System.Security.SuppressUnmanagedCodeSecurity()]
00303 internal unsafe delegate void GetPerfMonitorGroupsAMD([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] UInt32* groups);
00304 internal unsafe static GetPerfMonitorGroupsAMD glGetPerfMonitorGroupsAMD;
00305 [System.Security.SuppressUnmanagedCodeSecurity()]
00306 internal unsafe delegate void GetPerfMonitorGroupStringAMD(UInt32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder groupString);
00307 internal unsafe static GetPerfMonitorGroupStringAMD glGetPerfMonitorGroupStringAMD;
00308 [System.Security.SuppressUnmanagedCodeSecurity()]
00309 internal unsafe delegate void GetProgramBinaryOES(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES20.All* binaryFormat, [OutAttribute] IntPtr binary);
00310 internal unsafe static GetProgramBinaryOES glGetProgramBinaryOES;
00311 [System.Security.SuppressUnmanagedCodeSecurity()]
00312 internal unsafe delegate void GetProgramInfoLog(UInt32 program, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infolog);
00313 internal unsafe static GetProgramInfoLog glGetProgramInfoLog;
00314 [System.Security.SuppressUnmanagedCodeSecurity()]
00315 internal unsafe delegate void GetProgramiv(UInt32 program, OpenTK.Graphics.ES20.ProgramParameter pname, [OutAttribute] Int32* @params);
00316 internal unsafe static GetProgramiv glGetProgramiv;
00317 [System.Security.SuppressUnmanagedCodeSecurity()]
00318 internal unsafe delegate void GetRenderbufferParameteriv(OpenTK.Graphics.ES20.RenderbufferTarget target, OpenTK.Graphics.ES20.RenderbufferParameterName pname, [OutAttribute] Int32* @params);
00319 internal unsafe static GetRenderbufferParameteriv glGetRenderbufferParameteriv;
00320 [System.Security.SuppressUnmanagedCodeSecurity()]
00321 internal unsafe delegate void GetShaderInfoLog(UInt32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infolog);
00322 internal unsafe static GetShaderInfoLog glGetShaderInfoLog;
00323 [System.Security.SuppressUnmanagedCodeSecurity()]
00324 internal unsafe delegate void GetShaderiv(UInt32 shader, OpenTK.Graphics.ES20.ShaderParameter pname, [OutAttribute] Int32* @params);
00325 internal unsafe static GetShaderiv glGetShaderiv;
00326 [System.Security.SuppressUnmanagedCodeSecurity()]
00327 internal unsafe delegate void GetShaderPrecisionFormat(OpenTK.Graphics.ES20.ShaderType shadertype, OpenTK.Graphics.ES20.ShaderPrecision precisiontype, [OutAttribute] Int32* range, [OutAttribute] Int32* precision);
00328 internal unsafe static GetShaderPrecisionFormat glGetShaderPrecisionFormat;
00329 [System.Security.SuppressUnmanagedCodeSecurity()]
00330 internal unsafe delegate void GetShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source);
00331 internal unsafe static GetShaderSource glGetShaderSource;
00332 [System.Security.SuppressUnmanagedCodeSecurity()]
00333 internal unsafe delegate System.IntPtr GetString(OpenTK.Graphics.ES20.StringName name);
00334 internal unsafe static GetString glGetString;
00335 [System.Security.SuppressUnmanagedCodeSecurity()]
00336 internal unsafe delegate void GetTexParameterfv(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameter pname, [OutAttribute] Single* @params);
00337 internal unsafe static GetTexParameterfv glGetTexParameterfv;
00338 [System.Security.SuppressUnmanagedCodeSecurity()]
00339 internal unsafe delegate void GetTexParameteriv(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameter pname, [OutAttribute] Int32* @params);
00340 internal unsafe static GetTexParameteriv glGetTexParameteriv;
00341 [System.Security.SuppressUnmanagedCodeSecurity()]
00342 internal unsafe delegate void GetUniformfv(UInt32 program, Int32 location, [OutAttribute] Single* @params);
00343 internal unsafe static GetUniformfv glGetUniformfv;
00344 [System.Security.SuppressUnmanagedCodeSecurity()]
00345 internal unsafe delegate void GetUniformiv(UInt32 program, Int32 location, [OutAttribute] Int32* @params);
00346 internal unsafe static GetUniformiv glGetUniformiv;
00347 [System.Security.SuppressUnmanagedCodeSecurity()]
00348 internal delegate int GetUniformLocation(UInt32 program, String name);
00349 internal static GetUniformLocation glGetUniformLocation;
00350 [System.Security.SuppressUnmanagedCodeSecurity()]
00351 internal unsafe delegate void GetVertexAttribfv(UInt32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Single* @params);
00352 internal unsafe static GetVertexAttribfv glGetVertexAttribfv;
00353 [System.Security.SuppressUnmanagedCodeSecurity()]
00354 internal unsafe delegate void GetVertexAttribiv(UInt32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Int32* @params);
00355 internal unsafe static GetVertexAttribiv glGetVertexAttribiv;
00356 [System.Security.SuppressUnmanagedCodeSecurity()]
00357 internal delegate void GetVertexAttribPointerv(UInt32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer);
00358 internal static GetVertexAttribPointerv glGetVertexAttribPointerv;
00359 [System.Security.SuppressUnmanagedCodeSecurity()]
00360 internal delegate void Hint(OpenTK.Graphics.ES20.HintTarget target, OpenTK.Graphics.ES20.HintMode mode);
00361 internal static Hint glHint;
00362 [System.Security.SuppressUnmanagedCodeSecurity()]
00363 internal delegate bool IsBuffer(UInt32 buffer);
00364 internal static IsBuffer glIsBuffer;
00365 [System.Security.SuppressUnmanagedCodeSecurity()]
00366 internal delegate bool IsEnabled(OpenTK.Graphics.ES20.EnableCap cap);
00367 internal static IsEnabled glIsEnabled;
00368 [System.Security.SuppressUnmanagedCodeSecurity()]
00369 internal delegate bool IsFenceNV(UInt32 fence);
00370 internal static IsFenceNV glIsFenceNV;
00371 [System.Security.SuppressUnmanagedCodeSecurity()]
00372 internal delegate bool IsFramebuffer(UInt32 framebuffer);
00373 internal static IsFramebuffer glIsFramebuffer;
00374 [System.Security.SuppressUnmanagedCodeSecurity()]
00375 internal delegate bool IsProgram(UInt32 program);
00376 internal static IsProgram glIsProgram;
00377 [System.Security.SuppressUnmanagedCodeSecurity()]
00378 internal delegate bool IsRenderbuffer(UInt32 renderbuffer);
00379 internal static IsRenderbuffer glIsRenderbuffer;
00380 [System.Security.SuppressUnmanagedCodeSecurity()]
00381 internal delegate bool IsShader(UInt32 shader);
00382 internal static IsShader glIsShader;
00383 [System.Security.SuppressUnmanagedCodeSecurity()]
00384 internal delegate bool IsTexture(UInt32 texture);
00385 internal static IsTexture glIsTexture;
00386 [System.Security.SuppressUnmanagedCodeSecurity()]
00387 internal delegate void LineWidth(Single width);
00388 internal static LineWidth glLineWidth;
00389 [System.Security.SuppressUnmanagedCodeSecurity()]
00390 internal delegate void LinkProgram(UInt32 program);
00391 internal static LinkProgram glLinkProgram;
00392 [System.Security.SuppressUnmanagedCodeSecurity()]
00393 internal unsafe delegate System.IntPtr MapBufferOES(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All access);
00394 internal unsafe static MapBufferOES glMapBufferOES;
00395 [System.Security.SuppressUnmanagedCodeSecurity()]
00396 internal delegate void PixelStorei(OpenTK.Graphics.ES20.PixelStoreParameter pname, Int32 param);
00397 internal static PixelStorei glPixelStorei;
00398 [System.Security.SuppressUnmanagedCodeSecurity()]
00399 internal delegate void PolygonOffset(Single factor, Single units);
00400 internal static PolygonOffset glPolygonOffset;
00401 [System.Security.SuppressUnmanagedCodeSecurity()]
00402 internal delegate void ProgramBinaryOES(UInt32 program, OpenTK.Graphics.ES20.All binaryFormat, IntPtr binary, Int32 length);
00403 internal static ProgramBinaryOES glProgramBinaryOES;
00404 [System.Security.SuppressUnmanagedCodeSecurity()]
00405 internal delegate void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels);
00406 internal static ReadPixels glReadPixels;
00407 [System.Security.SuppressUnmanagedCodeSecurity()]
00408 internal delegate void ReleaseShaderCompiler();
00409 internal static ReleaseShaderCompiler glReleaseShaderCompiler;
00410 [System.Security.SuppressUnmanagedCodeSecurity()]
00411 internal delegate void RenderbufferStorage(OpenTK.Graphics.ES20.RenderbufferTarget target, OpenTK.Graphics.ES20.RenderbufferInternalFormat internalformat, Int32 width, Int32 height);
00412 internal static RenderbufferStorage glRenderbufferStorage;
00413 [System.Security.SuppressUnmanagedCodeSecurity()]
00414 internal delegate void SampleCoverage(Single value, bool invert);
00415 internal static SampleCoverage glSampleCoverage;
00416 [System.Security.SuppressUnmanagedCodeSecurity()]
00417 internal delegate void Scissor(Int32 x, Int32 y, Int32 width, Int32 height);
00418 internal static Scissor glScissor;
00419 [System.Security.SuppressUnmanagedCodeSecurity()]
00420 internal unsafe delegate void SelectPerfMonitorCountersAMD(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, UInt32* countersList);
00421 internal unsafe static SelectPerfMonitorCountersAMD glSelectPerfMonitorCountersAMD;
00422 [System.Security.SuppressUnmanagedCodeSecurity()]
00423 internal delegate void SetFenceNV(UInt32 fence, OpenTK.Graphics.ES20.All condition);
00424 internal static SetFenceNV glSetFenceNV;
00425 [System.Security.SuppressUnmanagedCodeSecurity()]
00426 internal unsafe delegate void ShaderBinary(Int32 n, UInt32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length);
00427 internal unsafe static ShaderBinary glShaderBinary;
00428 [System.Security.SuppressUnmanagedCodeSecurity()]
00429 internal unsafe delegate void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32* length);
00430 internal unsafe static ShaderSource glShaderSource;
00431 [System.Security.SuppressUnmanagedCodeSecurity()]
00432 internal delegate void StencilFunc(OpenTK.Graphics.ES20.StencilFunction func, Int32 @ref, UInt32 mask);
00433 internal static StencilFunc glStencilFunc;
00434 [System.Security.SuppressUnmanagedCodeSecurity()]
00435 internal delegate void StencilFuncSeparate(OpenTK.Graphics.ES20.CullFaceMode face, OpenTK.Graphics.ES20.StencilFunction func, Int32 @ref, UInt32 mask);
00436 internal static StencilFuncSeparate glStencilFuncSeparate;
00437 [System.Security.SuppressUnmanagedCodeSecurity()]
00438 internal delegate void StencilMask(UInt32 mask);
00439 internal static StencilMask glStencilMask;
00440 [System.Security.SuppressUnmanagedCodeSecurity()]
00441 internal delegate void StencilMaskSeparate(OpenTK.Graphics.ES20.CullFaceMode face, UInt32 mask);
00442 internal static StencilMaskSeparate glStencilMaskSeparate;
00443 [System.Security.SuppressUnmanagedCodeSecurity()]
00444 internal delegate void StencilOp(OpenTK.Graphics.ES20.StencilOp fail, OpenTK.Graphics.ES20.StencilOp zfail, OpenTK.Graphics.ES20.StencilOp zpass);
00445 internal static StencilOp glStencilOp;
00446 [System.Security.SuppressUnmanagedCodeSecurity()]
00447 internal delegate void StencilOpSeparate(OpenTK.Graphics.ES20.CullFaceMode face, OpenTK.Graphics.ES20.StencilOp fail, OpenTK.Graphics.ES20.StencilOp zfail, OpenTK.Graphics.ES20.StencilOp zpass);
00448 internal static StencilOpSeparate glStencilOpSeparate;
00449 [System.Security.SuppressUnmanagedCodeSecurity()]
00450 internal delegate bool TestFenceNV(UInt32 fence);
00451 internal static TestFenceNV glTestFenceNV;
00452 [System.Security.SuppressUnmanagedCodeSecurity()]
00453 internal delegate void TexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels);
00454 internal static TexImage2D glTexImage2D;
00455 [System.Security.SuppressUnmanagedCodeSecurity()]
00456 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);
00457 internal static TexImage3DOES glTexImage3DOES;
00458 [System.Security.SuppressUnmanagedCodeSecurity()]
00459 internal delegate void TexParameterf(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Single param);
00460 internal static TexParameterf glTexParameterf;
00461 [System.Security.SuppressUnmanagedCodeSecurity()]
00462 internal unsafe delegate void TexParameterfv(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Single* @params);
00463 internal unsafe static TexParameterfv glTexParameterfv;
00464 [System.Security.SuppressUnmanagedCodeSecurity()]
00465 internal delegate void TexParameteri(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Int32 param);
00466 internal static TexParameteri glTexParameteri;
00467 [System.Security.SuppressUnmanagedCodeSecurity()]
00468 internal unsafe delegate void TexParameteriv(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Int32* @params);
00469 internal unsafe static TexParameteriv glTexParameteriv;
00470 [System.Security.SuppressUnmanagedCodeSecurity()]
00471 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);
00472 internal static TexSubImage2D glTexSubImage2D;
00473 [System.Security.SuppressUnmanagedCodeSecurity()]
00474 internal delegate void TexSubImage3DOES(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, IntPtr pixels);
00475 internal static TexSubImage3DOES glTexSubImage3DOES;
00476 [System.Security.SuppressUnmanagedCodeSecurity()]
00477 internal delegate void Uniform1f(Int32 location, Single x);
00478 internal static Uniform1f glUniform1f;
00479 [System.Security.SuppressUnmanagedCodeSecurity()]
00480 internal unsafe delegate void Uniform1fv(Int32 location, Int32 count, Single* v);
00481 internal unsafe static Uniform1fv glUniform1fv;
00482 [System.Security.SuppressUnmanagedCodeSecurity()]
00483 internal delegate void Uniform1i(Int32 location, Int32 x);
00484 internal static Uniform1i glUniform1i;
00485 [System.Security.SuppressUnmanagedCodeSecurity()]
00486 internal unsafe delegate void Uniform1iv(Int32 location, Int32 count, Int32* v);
00487 internal unsafe static Uniform1iv glUniform1iv;
00488 [System.Security.SuppressUnmanagedCodeSecurity()]
00489 internal delegate void Uniform2f(Int32 location, Single x, Single y);
00490 internal static Uniform2f glUniform2f;
00491 [System.Security.SuppressUnmanagedCodeSecurity()]
00492 internal unsafe delegate void Uniform2fv(Int32 location, Int32 count, Single* v);
00493 internal unsafe static Uniform2fv glUniform2fv;
00494 [System.Security.SuppressUnmanagedCodeSecurity()]
00495 internal delegate void Uniform2i(Int32 location, Int32 x, Int32 y);
00496 internal static Uniform2i glUniform2i;
00497 [System.Security.SuppressUnmanagedCodeSecurity()]
00498 internal unsafe delegate void Uniform2iv(Int32 location, Int32 count, Int32* v);
00499 internal unsafe static Uniform2iv glUniform2iv;
00500 [System.Security.SuppressUnmanagedCodeSecurity()]
00501 internal delegate void Uniform3f(Int32 location, Single x, Single y, Single z);
00502 internal static Uniform3f glUniform3f;
00503 [System.Security.SuppressUnmanagedCodeSecurity()]
00504 internal unsafe delegate void Uniform3fv(Int32 location, Int32 count, Single* v);
00505 internal unsafe static Uniform3fv glUniform3fv;
00506 [System.Security.SuppressUnmanagedCodeSecurity()]
00507 internal delegate void Uniform3i(Int32 location, Int32 x, Int32 y, Int32 z);
00508 internal static Uniform3i glUniform3i;
00509 [System.Security.SuppressUnmanagedCodeSecurity()]
00510 internal unsafe delegate void Uniform3iv(Int32 location, Int32 count, Int32* v);
00511 internal unsafe static Uniform3iv glUniform3iv;
00512 [System.Security.SuppressUnmanagedCodeSecurity()]
00513 internal delegate void Uniform4f(Int32 location, Single x, Single y, Single z, Single w);
00514 internal static Uniform4f glUniform4f;
00515 [System.Security.SuppressUnmanagedCodeSecurity()]
00516 internal unsafe delegate void Uniform4fv(Int32 location, Int32 count, Single* v);
00517 internal unsafe static Uniform4fv glUniform4fv;
00518 [System.Security.SuppressUnmanagedCodeSecurity()]
00519 internal delegate void Uniform4i(Int32 location, Int32 x, Int32 y, Int32 z, Int32 w);
00520 internal static Uniform4i glUniform4i;
00521 [System.Security.SuppressUnmanagedCodeSecurity()]
00522 internal unsafe delegate void Uniform4iv(Int32 location, Int32 count, Int32* v);
00523 internal unsafe static Uniform4iv glUniform4iv;
00524 [System.Security.SuppressUnmanagedCodeSecurity()]
00525 internal unsafe delegate void UniformMatrix2fv(Int32 location, Int32 count, bool transpose, Single* value);
00526 internal unsafe static UniformMatrix2fv glUniformMatrix2fv;
00527 [System.Security.SuppressUnmanagedCodeSecurity()]
00528 internal unsafe delegate void UniformMatrix3fv(Int32 location, Int32 count, bool transpose, Single* value);
00529 internal unsafe static UniformMatrix3fv glUniformMatrix3fv;
00530 [System.Security.SuppressUnmanagedCodeSecurity()]
00531 internal unsafe delegate void UniformMatrix4fv(Int32 location, Int32 count, bool transpose, Single* value);
00532 internal unsafe static UniformMatrix4fv glUniformMatrix4fv;
00533 [System.Security.SuppressUnmanagedCodeSecurity()]
00534 internal delegate bool UnmapBufferOES(OpenTK.Graphics.ES20.All target);
00535 internal static UnmapBufferOES glUnmapBufferOES;
00536 [System.Security.SuppressUnmanagedCodeSecurity()]
00537 internal delegate void UseProgram(UInt32 program);
00538 internal static UseProgram glUseProgram;
00539 [System.Security.SuppressUnmanagedCodeSecurity()]
00540 internal delegate void ValidateProgram(UInt32 program);
00541 internal static ValidateProgram glValidateProgram;
00542 [System.Security.SuppressUnmanagedCodeSecurity()]
00543 internal delegate void VertexAttrib1f(UInt32 indx, Single x);
00544 internal static VertexAttrib1f glVertexAttrib1f;
00545 [System.Security.SuppressUnmanagedCodeSecurity()]
00546 internal unsafe delegate void VertexAttrib1fv(UInt32 indx, Single* values);
00547 internal unsafe static VertexAttrib1fv glVertexAttrib1fv;
00548 [System.Security.SuppressUnmanagedCodeSecurity()]
00549 internal delegate void VertexAttrib2f(UInt32 indx, Single x, Single y);
00550 internal static VertexAttrib2f glVertexAttrib2f;
00551 [System.Security.SuppressUnmanagedCodeSecurity()]
00552 internal unsafe delegate void VertexAttrib2fv(UInt32 indx, Single* values);
00553 internal unsafe static VertexAttrib2fv glVertexAttrib2fv;
00554 [System.Security.SuppressUnmanagedCodeSecurity()]
00555 internal delegate void VertexAttrib3f(UInt32 indx, Single x, Single y, Single z);
00556 internal static VertexAttrib3f glVertexAttrib3f;
00557 [System.Security.SuppressUnmanagedCodeSecurity()]
00558 internal unsafe delegate void VertexAttrib3fv(UInt32 indx, Single* values);
00559 internal unsafe static VertexAttrib3fv glVertexAttrib3fv;
00560 [System.Security.SuppressUnmanagedCodeSecurity()]
00561 internal delegate void VertexAttrib4f(UInt32 indx, Single x, Single y, Single z, Single w);
00562 internal static VertexAttrib4f glVertexAttrib4f;
00563 [System.Security.SuppressUnmanagedCodeSecurity()]
00564 internal unsafe delegate void VertexAttrib4fv(UInt32 indx, Single* values);
00565 internal unsafe static VertexAttrib4fv glVertexAttrib4fv;
00566 [System.Security.SuppressUnmanagedCodeSecurity()]
00567 internal delegate void VertexAttribPointer(UInt32 indx, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr ptr);
00568 internal static VertexAttribPointer glVertexAttribPointer;
00569 [System.Security.SuppressUnmanagedCodeSecurity()]
00570 internal delegate void Viewport(Int32 x, Int32 y, Int32 width, Int32 height);
00571 internal static Viewport glViewport;
00572 }
00573 }
00574 }