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 #if EXPERIMENTAL
00028 namespace OpenTK.Graphics.ES10
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.ES10.All texture);
00043 internal static ActiveTexture glActiveTexture;
00044 [System.Security.SuppressUnmanagedCodeSecurity()]
00045 internal delegate void AlphaFunc(OpenTK.Graphics.ES10.All func, Single @ref);
00046 internal static AlphaFunc glAlphaFunc;
00047 [System.Security.SuppressUnmanagedCodeSecurity()]
00048 internal delegate void AlphaFuncx(OpenTK.Graphics.ES10.All func, int @ref);
00049 internal static AlphaFuncx glAlphaFuncx;
00050 [System.Security.SuppressUnmanagedCodeSecurity()]
00051 internal delegate void BindTexture(OpenTK.Graphics.ES10.All target, UInt32 texture);
00052 internal static BindTexture glBindTexture;
00053 [System.Security.SuppressUnmanagedCodeSecurity()]
00054 internal delegate void BlendFunc(OpenTK.Graphics.ES10.All sfactor, OpenTK.Graphics.ES10.All dfactor);
00055 internal static BlendFunc glBlendFunc;
00056 [System.Security.SuppressUnmanagedCodeSecurity()]
00057 internal delegate void Clear(UInt32 mask);
00058 internal static Clear glClear;
00059 [System.Security.SuppressUnmanagedCodeSecurity()]
00060 internal delegate void ClearColor(Single red, Single green, Single blue, Single alpha);
00061 internal static ClearColor glClearColor;
00062 [System.Security.SuppressUnmanagedCodeSecurity()]
00063 internal delegate void ClearColorx(int red, int green, int blue, int alpha);
00064 internal static ClearColorx glClearColorx;
00065 [System.Security.SuppressUnmanagedCodeSecurity()]
00066 internal delegate void ClearDepthf(Single depth);
00067 internal static ClearDepthf glClearDepthf;
00068 [System.Security.SuppressUnmanagedCodeSecurity()]
00069 internal delegate void ClearDepthx(int depth);
00070 internal static ClearDepthx glClearDepthx;
00071 [System.Security.SuppressUnmanagedCodeSecurity()]
00072 internal delegate void ClearStencil(Int32 s);
00073 internal static ClearStencil glClearStencil;
00074 [System.Security.SuppressUnmanagedCodeSecurity()]
00075 internal delegate void ClientActiveTexture(OpenTK.Graphics.ES10.All texture);
00076 internal static ClientActiveTexture glClientActiveTexture;
00077 [System.Security.SuppressUnmanagedCodeSecurity()]
00078 internal delegate void Color4f(Single red, Single green, Single blue, Single alpha);
00079 internal static Color4f glColor4f;
00080 [System.Security.SuppressUnmanagedCodeSecurity()]
00081 internal delegate void Color4x(int red, int green, int blue, int alpha);
00082 internal static Color4x glColor4x;
00083 [System.Security.SuppressUnmanagedCodeSecurity()]
00084 internal delegate void ColorMask(bool red, bool green, bool blue, bool alpha);
00085 internal static ColorMask glColorMask;
00086 [System.Security.SuppressUnmanagedCodeSecurity()]
00087 internal delegate void ColorPointer(Int32 size, OpenTK.Graphics.ES10.All type, Int32 stride, IntPtr pointer);
00088 internal static ColorPointer glColorPointer;
00089 [System.Security.SuppressUnmanagedCodeSecurity()]
00090 internal delegate void CompressedTexImage2D(OpenTK.Graphics.ES10.All target, Int32 level, OpenTK.Graphics.ES10.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data);
00091 internal static CompressedTexImage2D glCompressedTexImage2D;
00092 [System.Security.SuppressUnmanagedCodeSecurity()]
00093 internal delegate void CompressedTexSubImage2D(OpenTK.Graphics.ES10.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES10.All format, Int32 imageSize, IntPtr data);
00094 internal static CompressedTexSubImage2D glCompressedTexSubImage2D;
00095 [System.Security.SuppressUnmanagedCodeSecurity()]
00096 internal delegate void CopyTexImage2D(OpenTK.Graphics.ES10.All target, Int32 level, OpenTK.Graphics.ES10.All internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border);
00097 internal static CopyTexImage2D glCopyTexImage2D;
00098 [System.Security.SuppressUnmanagedCodeSecurity()]
00099 internal delegate void CopyTexSubImage2D(OpenTK.Graphics.ES10.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height);
00100 internal static CopyTexSubImage2D glCopyTexSubImage2D;
00101 [System.Security.SuppressUnmanagedCodeSecurity()]
00102 internal delegate void CullFace(OpenTK.Graphics.ES10.All mode);
00103 internal static CullFace glCullFace;
00104 [System.Security.SuppressUnmanagedCodeSecurity()]
00105 internal unsafe delegate void DeleteTextures(Int32 n, UInt32* textures);
00106 internal unsafe static DeleteTextures glDeleteTextures;
00107 [System.Security.SuppressUnmanagedCodeSecurity()]
00108 internal delegate void DepthFunc(OpenTK.Graphics.ES10.All func);
00109 internal static DepthFunc glDepthFunc;
00110 [System.Security.SuppressUnmanagedCodeSecurity()]
00111 internal delegate void DepthMask(bool flag);
00112 internal static DepthMask glDepthMask;
00113 [System.Security.SuppressUnmanagedCodeSecurity()]
00114 internal delegate void DepthRangef(Single zNear, Single zFar);
00115 internal static DepthRangef glDepthRangef;
00116 [System.Security.SuppressUnmanagedCodeSecurity()]
00117 internal delegate void DepthRangex(int zNear, int zFar);
00118 internal static DepthRangex glDepthRangex;
00119 [System.Security.SuppressUnmanagedCodeSecurity()]
00120 internal delegate void Disable(OpenTK.Graphics.ES10.All cap);
00121 internal static Disable glDisable;
00122 [System.Security.SuppressUnmanagedCodeSecurity()]
00123 internal delegate void DisableClientState(OpenTK.Graphics.ES10.All array);
00124 internal static DisableClientState glDisableClientState;
00125 [System.Security.SuppressUnmanagedCodeSecurity()]
00126 internal delegate void DrawArrays(OpenTK.Graphics.ES10.All mode, Int32 first, Int32 count);
00127 internal static DrawArrays glDrawArrays;
00128 [System.Security.SuppressUnmanagedCodeSecurity()]
00129 internal delegate void DrawElements(OpenTK.Graphics.ES10.All mode, Int32 count, OpenTK.Graphics.ES10.All type, IntPtr indices);
00130 internal static DrawElements glDrawElements;
00131 [System.Security.SuppressUnmanagedCodeSecurity()]
00132 internal delegate void Enable(OpenTK.Graphics.ES10.All cap);
00133 internal static Enable glEnable;
00134 [System.Security.SuppressUnmanagedCodeSecurity()]
00135 internal delegate void EnableClientState(OpenTK.Graphics.ES10.All array);
00136 internal static EnableClientState glEnableClientState;
00137 [System.Security.SuppressUnmanagedCodeSecurity()]
00138 internal delegate void Finish();
00139 internal static Finish glFinish;
00140 [System.Security.SuppressUnmanagedCodeSecurity()]
00141 internal delegate void Flush();
00142 internal static Flush glFlush;
00143 [System.Security.SuppressUnmanagedCodeSecurity()]
00144 internal delegate void Fogf(OpenTK.Graphics.ES10.All pname, Single param);
00145 internal static Fogf glFogf;
00146 [System.Security.SuppressUnmanagedCodeSecurity()]
00147 internal unsafe delegate void Fogfv(OpenTK.Graphics.ES10.All pname, Single* @params);
00148 internal unsafe static Fogfv glFogfv;
00149 [System.Security.SuppressUnmanagedCodeSecurity()]
00150 internal delegate void Fogx(OpenTK.Graphics.ES10.All pname, int param);
00151 internal static Fogx glFogx;
00152 [System.Security.SuppressUnmanagedCodeSecurity()]
00153 internal unsafe delegate void Fogxv(OpenTK.Graphics.ES10.All pname, int* @params);
00154 internal unsafe static Fogxv glFogxv;
00155 [System.Security.SuppressUnmanagedCodeSecurity()]
00156 internal delegate void FrontFace(OpenTK.Graphics.ES10.All mode);
00157 internal static FrontFace glFrontFace;
00158 [System.Security.SuppressUnmanagedCodeSecurity()]
00159 internal delegate void Frustumf(Single left, Single right, Single bottom, Single top, Single zNear, Single zFar);
00160 internal static Frustumf glFrustumf;
00161 [System.Security.SuppressUnmanagedCodeSecurity()]
00162 internal delegate void Frustumx(int left, int right, int bottom, int top, int zNear, int zFar);
00163 internal static Frustumx glFrustumx;
00164 [System.Security.SuppressUnmanagedCodeSecurity()]
00165 internal unsafe delegate void GenTextures(Int32 n, UInt32* textures);
00166 internal unsafe static GenTextures glGenTextures;
00167 [System.Security.SuppressUnmanagedCodeSecurity()]
00168 internal delegate OpenTK.Graphics.ES10.All GetError();
00169 internal static GetError glGetError;
00170 [System.Security.SuppressUnmanagedCodeSecurity()]
00171 internal unsafe delegate void GetIntegerv(OpenTK.Graphics.ES10.All pname, Int32* @params);
00172 internal unsafe static GetIntegerv glGetIntegerv;
00173 [System.Security.SuppressUnmanagedCodeSecurity()]
00174 internal unsafe delegate System.IntPtr GetString(OpenTK.Graphics.ES10.All name);
00175 internal unsafe static GetString glGetString;
00176 [System.Security.SuppressUnmanagedCodeSecurity()]
00177 internal delegate void Hint(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All mode);
00178 internal static Hint glHint;
00179 [System.Security.SuppressUnmanagedCodeSecurity()]
00180 internal delegate void Lightf(OpenTK.Graphics.ES10.All light, OpenTK.Graphics.ES10.All pname, Single param);
00181 internal static Lightf glLightf;
00182 [System.Security.SuppressUnmanagedCodeSecurity()]
00183 internal unsafe delegate void Lightfv(OpenTK.Graphics.ES10.All light, OpenTK.Graphics.ES10.All pname, Single* @params);
00184 internal unsafe static Lightfv glLightfv;
00185 [System.Security.SuppressUnmanagedCodeSecurity()]
00186 internal delegate void LightModelf(OpenTK.Graphics.ES10.All pname, Single param);
00187 internal static LightModelf glLightModelf;
00188 [System.Security.SuppressUnmanagedCodeSecurity()]
00189 internal unsafe delegate void LightModelfv(OpenTK.Graphics.ES10.All pname, Single* @params);
00190 internal unsafe static LightModelfv glLightModelfv;
00191 [System.Security.SuppressUnmanagedCodeSecurity()]
00192 internal delegate void LightModelx(OpenTK.Graphics.ES10.All pname, int param);
00193 internal static LightModelx glLightModelx;
00194 [System.Security.SuppressUnmanagedCodeSecurity()]
00195 internal unsafe delegate void LightModelxv(OpenTK.Graphics.ES10.All pname, int* @params);
00196 internal unsafe static LightModelxv glLightModelxv;
00197 [System.Security.SuppressUnmanagedCodeSecurity()]
00198 internal delegate void Lightx(OpenTK.Graphics.ES10.All light, OpenTK.Graphics.ES10.All pname, int param);
00199 internal static Lightx glLightx;
00200 [System.Security.SuppressUnmanagedCodeSecurity()]
00201 internal unsafe delegate void Lightxv(OpenTK.Graphics.ES10.All light, OpenTK.Graphics.ES10.All pname, int* @params);
00202 internal unsafe static Lightxv glLightxv;
00203 [System.Security.SuppressUnmanagedCodeSecurity()]
00204 internal delegate void LineWidth(Single width);
00205 internal static LineWidth glLineWidth;
00206 [System.Security.SuppressUnmanagedCodeSecurity()]
00207 internal delegate void LineWidthx(int width);
00208 internal static LineWidthx glLineWidthx;
00209 [System.Security.SuppressUnmanagedCodeSecurity()]
00210 internal delegate void LoadIdentity();
00211 internal static LoadIdentity glLoadIdentity;
00212 [System.Security.SuppressUnmanagedCodeSecurity()]
00213 internal unsafe delegate void LoadMatrixf(Single* m);
00214 internal unsafe static LoadMatrixf glLoadMatrixf;
00215 [System.Security.SuppressUnmanagedCodeSecurity()]
00216 internal unsafe delegate void LoadMatrixx(int* m);
00217 internal unsafe static LoadMatrixx glLoadMatrixx;
00218 [System.Security.SuppressUnmanagedCodeSecurity()]
00219 internal delegate void LogicOp(OpenTK.Graphics.ES10.All opcode);
00220 internal static LogicOp glLogicOp;
00221 [System.Security.SuppressUnmanagedCodeSecurity()]
00222 internal delegate void Materialf(OpenTK.Graphics.ES10.All face, OpenTK.Graphics.ES10.All pname, Single param);
00223 internal static Materialf glMaterialf;
00224 [System.Security.SuppressUnmanagedCodeSecurity()]
00225 internal unsafe delegate void Materialfv(OpenTK.Graphics.ES10.All face, OpenTK.Graphics.ES10.All pname, Single* @params);
00226 internal unsafe static Materialfv glMaterialfv;
00227 [System.Security.SuppressUnmanagedCodeSecurity()]
00228 internal delegate void Materialx(OpenTK.Graphics.ES10.All face, OpenTK.Graphics.ES10.All pname, int param);
00229 internal static Materialx glMaterialx;
00230 [System.Security.SuppressUnmanagedCodeSecurity()]
00231 internal unsafe delegate void Materialxv(OpenTK.Graphics.ES10.All face, OpenTK.Graphics.ES10.All pname, int* @params);
00232 internal unsafe static Materialxv glMaterialxv;
00233 [System.Security.SuppressUnmanagedCodeSecurity()]
00234 internal delegate void MatrixMode(OpenTK.Graphics.ES10.All mode);
00235 internal static MatrixMode glMatrixMode;
00236 [System.Security.SuppressUnmanagedCodeSecurity()]
00237 internal delegate void MultiTexCoord4f(OpenTK.Graphics.ES10.All target, Single s, Single t, Single r, Single q);
00238 internal static MultiTexCoord4f glMultiTexCoord4f;
00239 [System.Security.SuppressUnmanagedCodeSecurity()]
00240 internal delegate void MultiTexCoord4x(OpenTK.Graphics.ES10.All target, int s, int t, int r, int q);
00241 internal static MultiTexCoord4x glMultiTexCoord4x;
00242 [System.Security.SuppressUnmanagedCodeSecurity()]
00243 internal unsafe delegate void MultMatrixf(Single* m);
00244 internal unsafe static MultMatrixf glMultMatrixf;
00245 [System.Security.SuppressUnmanagedCodeSecurity()]
00246 internal unsafe delegate void MultMatrixx(int* m);
00247 internal unsafe static MultMatrixx glMultMatrixx;
00248 [System.Security.SuppressUnmanagedCodeSecurity()]
00249 internal delegate void Normal3f(Single nx, Single ny, Single nz);
00250 internal static Normal3f glNormal3f;
00251 [System.Security.SuppressUnmanagedCodeSecurity()]
00252 internal delegate void Normal3x(int nx, int ny, int nz);
00253 internal static Normal3x glNormal3x;
00254 [System.Security.SuppressUnmanagedCodeSecurity()]
00255 internal delegate void NormalPointer(OpenTK.Graphics.ES10.All type, Int32 stride, IntPtr pointer);
00256 internal static NormalPointer glNormalPointer;
00257 [System.Security.SuppressUnmanagedCodeSecurity()]
00258 internal delegate void Orthof(Single left, Single right, Single bottom, Single top, Single zNear, Single zFar);
00259 internal static Orthof glOrthof;
00260 [System.Security.SuppressUnmanagedCodeSecurity()]
00261 internal delegate void Orthox(int left, int right, int bottom, int top, int zNear, int zFar);
00262 internal static Orthox glOrthox;
00263 [System.Security.SuppressUnmanagedCodeSecurity()]
00264 internal delegate void PixelStorei(OpenTK.Graphics.ES10.All pname, Int32 param);
00265 internal static PixelStorei glPixelStorei;
00266 [System.Security.SuppressUnmanagedCodeSecurity()]
00267 internal delegate void PointSize(Single size);
00268 internal static PointSize glPointSize;
00269 [System.Security.SuppressUnmanagedCodeSecurity()]
00270 internal delegate void PointSizex(int size);
00271 internal static PointSizex glPointSizex;
00272 [System.Security.SuppressUnmanagedCodeSecurity()]
00273 internal delegate void PolygonOffset(Single factor, Single units);
00274 internal static PolygonOffset glPolygonOffset;
00275 [System.Security.SuppressUnmanagedCodeSecurity()]
00276 internal delegate void PolygonOffsetx(int factor, int units);
00277 internal static PolygonOffsetx glPolygonOffsetx;
00278 [System.Security.SuppressUnmanagedCodeSecurity()]
00279 internal delegate void PopMatrix();
00280 internal static PopMatrix glPopMatrix;
00281 [System.Security.SuppressUnmanagedCodeSecurity()]
00282 internal delegate void PushMatrix();
00283 internal static PushMatrix glPushMatrix;
00284 [System.Security.SuppressUnmanagedCodeSecurity()]
00285 internal delegate void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES10.All format, OpenTK.Graphics.ES10.All type, IntPtr pixels);
00286 internal static ReadPixels glReadPixels;
00287 [System.Security.SuppressUnmanagedCodeSecurity()]
00288 internal delegate void Rotatef(Single angle, Single x, Single y, Single z);
00289 internal static Rotatef glRotatef;
00290 [System.Security.SuppressUnmanagedCodeSecurity()]
00291 internal delegate void Rotatex(int angle, int x, int y, int z);
00292 internal static Rotatex glRotatex;
00293 [System.Security.SuppressUnmanagedCodeSecurity()]
00294 internal delegate void SampleCoverage(Single value, bool invert);
00295 internal static SampleCoverage glSampleCoverage;
00296 [System.Security.SuppressUnmanagedCodeSecurity()]
00297 internal delegate void SampleCoveragex(int value, bool invert);
00298 internal static SampleCoveragex glSampleCoveragex;
00299 [System.Security.SuppressUnmanagedCodeSecurity()]
00300 internal delegate void Scalef(Single x, Single y, Single z);
00301 internal static Scalef glScalef;
00302 [System.Security.SuppressUnmanagedCodeSecurity()]
00303 internal delegate void Scalex(int x, int y, int z);
00304 internal static Scalex glScalex;
00305 [System.Security.SuppressUnmanagedCodeSecurity()]
00306 internal delegate void Scissor(Int32 x, Int32 y, Int32 width, Int32 height);
00307 internal static Scissor glScissor;
00308 [System.Security.SuppressUnmanagedCodeSecurity()]
00309 internal delegate void ShadeModel(OpenTK.Graphics.ES10.All mode);
00310 internal static ShadeModel glShadeModel;
00311 [System.Security.SuppressUnmanagedCodeSecurity()]
00312 internal delegate void StencilFunc(OpenTK.Graphics.ES10.All func, Int32 @ref, UInt32 mask);
00313 internal static StencilFunc glStencilFunc;
00314 [System.Security.SuppressUnmanagedCodeSecurity()]
00315 internal delegate void StencilMask(UInt32 mask);
00316 internal static StencilMask glStencilMask;
00317 [System.Security.SuppressUnmanagedCodeSecurity()]
00318 internal delegate void StencilOp(OpenTK.Graphics.ES10.All fail, OpenTK.Graphics.ES10.All zfail, OpenTK.Graphics.ES10.All zpass);
00319 internal static StencilOp glStencilOp;
00320 [System.Security.SuppressUnmanagedCodeSecurity()]
00321 internal delegate void TexCoordPointer(Int32 size, OpenTK.Graphics.ES10.All type, Int32 stride, IntPtr pointer);
00322 internal static TexCoordPointer glTexCoordPointer;
00323 [System.Security.SuppressUnmanagedCodeSecurity()]
00324 internal delegate void TexEnvf(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All pname, Single param);
00325 internal static TexEnvf glTexEnvf;
00326 [System.Security.SuppressUnmanagedCodeSecurity()]
00327 internal unsafe delegate void TexEnvfv(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All pname, Single* @params);
00328 internal unsafe static TexEnvfv glTexEnvfv;
00329 [System.Security.SuppressUnmanagedCodeSecurity()]
00330 internal delegate void TexEnvx(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All pname, int param);
00331 internal static TexEnvx glTexEnvx;
00332 [System.Security.SuppressUnmanagedCodeSecurity()]
00333 internal unsafe delegate void TexEnvxv(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All pname, int* @params);
00334 internal unsafe static TexEnvxv glTexEnvxv;
00335 [System.Security.SuppressUnmanagedCodeSecurity()]
00336 internal delegate void TexImage2D(OpenTK.Graphics.ES10.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES10.All format, OpenTK.Graphics.ES10.All type, IntPtr pixels);
00337 internal static TexImage2D glTexImage2D;
00338 [System.Security.SuppressUnmanagedCodeSecurity()]
00339 internal delegate void TexParameterf(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All pname, Single param);
00340 internal static TexParameterf glTexParameterf;
00341 [System.Security.SuppressUnmanagedCodeSecurity()]
00342 internal delegate void TexParameterx(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All pname, int param);
00343 internal static TexParameterx glTexParameterx;
00344 [System.Security.SuppressUnmanagedCodeSecurity()]
00345 internal delegate void TexSubImage2D(OpenTK.Graphics.ES10.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES10.All format, OpenTK.Graphics.ES10.All type, IntPtr pixels);
00346 internal static TexSubImage2D glTexSubImage2D;
00347 [System.Security.SuppressUnmanagedCodeSecurity()]
00348 internal delegate void Translatef(Single x, Single y, Single z);
00349 internal static Translatef glTranslatef;
00350 [System.Security.SuppressUnmanagedCodeSecurity()]
00351 internal delegate void Translatex(int x, int y, int z);
00352 internal static Translatex glTranslatex;
00353 [System.Security.SuppressUnmanagedCodeSecurity()]
00354 internal delegate void VertexPointer(Int32 size, OpenTK.Graphics.ES10.All type, Int32 stride, IntPtr pointer);
00355 internal static VertexPointer glVertexPointer;
00356 [System.Security.SuppressUnmanagedCodeSecurity()]
00357 internal delegate void Viewport(Int32 x, Int32 y, Int32 width, Int32 height);
00358 internal static Viewport glViewport;
00359 }
00360 }
00361 }
00362 #endif