Opentk/Source/OpenTK/Graphics/ES10/Delegates.cs
2009-10-28 23:09:25 +00:00

361 lines
24 KiB
C#

#region License
//
// The Open Toolkit Library License
//
// Copyright (c) 2006 - 2009 the Open Toolkit library.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights to
// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
// the Software, and to permit persons to whom the Software is furnished to do
// so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in all
// copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
// OTHER DEALINGS IN THE SOFTWARE.
//
#endregion
namespace OpenTK.Graphics.ES10
{
using System;
using System.Text;
using System.Runtime.InteropServices;
#pragma warning disable 0649
#pragma warning disable 3019
#pragma warning disable 1591
partial class GL
{
internal static partial class Delegates
{
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void ActiveTexture(OpenTK.Graphics.ES10.All texture);
internal static ActiveTexture glActiveTexture;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void AlphaFunc(OpenTK.Graphics.ES10.All func, Single @ref);
internal static AlphaFunc glAlphaFunc;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void AlphaFuncx(OpenTK.Graphics.ES10.All func, int @ref);
internal static AlphaFuncx glAlphaFuncx;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void BindTexture(OpenTK.Graphics.ES10.All target, UInt32 texture);
internal static BindTexture glBindTexture;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void BlendFunc(OpenTK.Graphics.ES10.All sfactor, OpenTK.Graphics.ES10.All dfactor);
internal static BlendFunc glBlendFunc;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void Clear(UInt32 mask);
internal static Clear glClear;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void ClearColor(Single red, Single green, Single blue, Single alpha);
internal static ClearColor glClearColor;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void ClearColorx(int red, int green, int blue, int alpha);
internal static ClearColorx glClearColorx;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void ClearDepthf(Single depth);
internal static ClearDepthf glClearDepthf;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void ClearDepthx(int depth);
internal static ClearDepthx glClearDepthx;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void ClearStencil(Int32 s);
internal static ClearStencil glClearStencil;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void ClientActiveTexture(OpenTK.Graphics.ES10.All texture);
internal static ClientActiveTexture glClientActiveTexture;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void Color4f(Single red, Single green, Single blue, Single alpha);
internal static Color4f glColor4f;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void Color4x(int red, int green, int blue, int alpha);
internal static Color4x glColor4x;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void ColorMask(bool red, bool green, bool blue, bool alpha);
internal static ColorMask glColorMask;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void ColorPointer(Int32 size, OpenTK.Graphics.ES10.All type, Int32 stride, IntPtr pointer);
internal static ColorPointer glColorPointer;
[System.Security.SuppressUnmanagedCodeSecurity()]
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);
internal static CompressedTexImage2D glCompressedTexImage2D;
[System.Security.SuppressUnmanagedCodeSecurity()]
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);
internal static CompressedTexSubImage2D glCompressedTexSubImage2D;
[System.Security.SuppressUnmanagedCodeSecurity()]
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);
internal static CopyTexImage2D glCopyTexImage2D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void CopyTexSubImage2D(OpenTK.Graphics.ES10.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height);
internal static CopyTexSubImage2D glCopyTexSubImage2D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void CullFace(OpenTK.Graphics.ES10.All mode);
internal static CullFace glCullFace;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void DeleteTextures(Int32 n, UInt32* textures);
internal unsafe static DeleteTextures glDeleteTextures;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DepthFunc(OpenTK.Graphics.ES10.All func);
internal static DepthFunc glDepthFunc;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DepthMask(bool flag);
internal static DepthMask glDepthMask;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DepthRangef(Single zNear, Single zFar);
internal static DepthRangef glDepthRangef;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DepthRangex(int zNear, int zFar);
internal static DepthRangex glDepthRangex;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void Disable(OpenTK.Graphics.ES10.All cap);
internal static Disable glDisable;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DisableClientState(OpenTK.Graphics.ES10.All array);
internal static DisableClientState glDisableClientState;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawArrays(OpenTK.Graphics.ES10.All mode, Int32 first, Int32 count);
internal static DrawArrays glDrawArrays;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawElements(OpenTK.Graphics.ES10.All mode, Int32 count, OpenTK.Graphics.ES10.All type, IntPtr indices);
internal static DrawElements glDrawElements;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void Enable(OpenTK.Graphics.ES10.All cap);
internal static Enable glEnable;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void EnableClientState(OpenTK.Graphics.ES10.All array);
internal static EnableClientState glEnableClientState;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void Finish();
internal static Finish glFinish;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void Flush();
internal static Flush glFlush;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void Fogf(OpenTK.Graphics.ES10.All pname, Single param);
internal static Fogf glFogf;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void Fogfv(OpenTK.Graphics.ES10.All pname, Single* @params);
internal unsafe static Fogfv glFogfv;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void Fogx(OpenTK.Graphics.ES10.All pname, int param);
internal static Fogx glFogx;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void Fogxv(OpenTK.Graphics.ES10.All pname, int* @params);
internal unsafe static Fogxv glFogxv;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void FrontFace(OpenTK.Graphics.ES10.All mode);
internal static FrontFace glFrontFace;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void Frustumf(Single left, Single right, Single bottom, Single top, Single zNear, Single zFar);
internal static Frustumf glFrustumf;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void Frustumx(int left, int right, int bottom, int top, int zNear, int zFar);
internal static Frustumx glFrustumx;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GenTextures(Int32 n, UInt32* textures);
internal unsafe static GenTextures glGenTextures;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate OpenTK.Graphics.ES10.All GetError();
internal static GetError glGetError;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetIntegerv(OpenTK.Graphics.ES10.All pname, Int32* @params);
internal unsafe static GetIntegerv glGetIntegerv;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate System.IntPtr GetString(OpenTK.Graphics.ES10.All name);
internal unsafe static GetString glGetString;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void Hint(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All mode);
internal static Hint glHint;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void Lightf(OpenTK.Graphics.ES10.All light, OpenTK.Graphics.ES10.All pname, Single param);
internal static Lightf glLightf;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void Lightfv(OpenTK.Graphics.ES10.All light, OpenTK.Graphics.ES10.All pname, Single* @params);
internal unsafe static Lightfv glLightfv;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void LightModelf(OpenTK.Graphics.ES10.All pname, Single param);
internal static LightModelf glLightModelf;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void LightModelfv(OpenTK.Graphics.ES10.All pname, Single* @params);
internal unsafe static LightModelfv glLightModelfv;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void LightModelx(OpenTK.Graphics.ES10.All pname, int param);
internal static LightModelx glLightModelx;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void LightModelxv(OpenTK.Graphics.ES10.All pname, int* @params);
internal unsafe static LightModelxv glLightModelxv;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void Lightx(OpenTK.Graphics.ES10.All light, OpenTK.Graphics.ES10.All pname, int param);
internal static Lightx glLightx;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void Lightxv(OpenTK.Graphics.ES10.All light, OpenTK.Graphics.ES10.All pname, int* @params);
internal unsafe static Lightxv glLightxv;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void LineWidth(Single width);
internal static LineWidth glLineWidth;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void LineWidthx(int width);
internal static LineWidthx glLineWidthx;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void LoadIdentity();
internal static LoadIdentity glLoadIdentity;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void LoadMatrixf(Single* m);
internal unsafe static LoadMatrixf glLoadMatrixf;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void LoadMatrixx(int* m);
internal unsafe static LoadMatrixx glLoadMatrixx;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void LogicOp(OpenTK.Graphics.ES10.All opcode);
internal static LogicOp glLogicOp;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void Materialf(OpenTK.Graphics.ES10.All face, OpenTK.Graphics.ES10.All pname, Single param);
internal static Materialf glMaterialf;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void Materialfv(OpenTK.Graphics.ES10.All face, OpenTK.Graphics.ES10.All pname, Single* @params);
internal unsafe static Materialfv glMaterialfv;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void Materialx(OpenTK.Graphics.ES10.All face, OpenTK.Graphics.ES10.All pname, int param);
internal static Materialx glMaterialx;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void Materialxv(OpenTK.Graphics.ES10.All face, OpenTK.Graphics.ES10.All pname, int* @params);
internal unsafe static Materialxv glMaterialxv;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void MatrixMode(OpenTK.Graphics.ES10.All mode);
internal static MatrixMode glMatrixMode;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void MultiTexCoord4f(OpenTK.Graphics.ES10.All target, Single s, Single t, Single r, Single q);
internal static MultiTexCoord4f glMultiTexCoord4f;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void MultiTexCoord4x(OpenTK.Graphics.ES10.All target, int s, int t, int r, int q);
internal static MultiTexCoord4x glMultiTexCoord4x;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void MultMatrixf(Single* m);
internal unsafe static MultMatrixf glMultMatrixf;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void MultMatrixx(int* m);
internal unsafe static MultMatrixx glMultMatrixx;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void Normal3f(Single nx, Single ny, Single nz);
internal static Normal3f glNormal3f;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void Normal3x(int nx, int ny, int nz);
internal static Normal3x glNormal3x;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void NormalPointer(OpenTK.Graphics.ES10.All type, Int32 stride, IntPtr pointer);
internal static NormalPointer glNormalPointer;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void Orthof(Single left, Single right, Single bottom, Single top, Single zNear, Single zFar);
internal static Orthof glOrthof;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void Orthox(int left, int right, int bottom, int top, int zNear, int zFar);
internal static Orthox glOrthox;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void PixelStorei(OpenTK.Graphics.ES10.All pname, Int32 param);
internal static PixelStorei glPixelStorei;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void PointSize(Single size);
internal static PointSize glPointSize;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void PointSizex(int size);
internal static PointSizex glPointSizex;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void PolygonOffset(Single factor, Single units);
internal static PolygonOffset glPolygonOffset;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void PolygonOffsetx(int factor, int units);
internal static PolygonOffsetx glPolygonOffsetx;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void PopMatrix();
internal static PopMatrix glPopMatrix;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void PushMatrix();
internal static PushMatrix glPushMatrix;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES10.All format, OpenTK.Graphics.ES10.All type, IntPtr pixels);
internal static ReadPixels glReadPixels;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void Rotatef(Single angle, Single x, Single y, Single z);
internal static Rotatef glRotatef;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void Rotatex(int angle, int x, int y, int z);
internal static Rotatex glRotatex;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void SampleCoverage(Single value, bool invert);
internal static SampleCoverage glSampleCoverage;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void SampleCoveragex(int value, bool invert);
internal static SampleCoveragex glSampleCoveragex;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void Scalef(Single x, Single y, Single z);
internal static Scalef glScalef;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void Scalex(int x, int y, int z);
internal static Scalex glScalex;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void Scissor(Int32 x, Int32 y, Int32 width, Int32 height);
internal static Scissor glScissor;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void ShadeModel(OpenTK.Graphics.ES10.All mode);
internal static ShadeModel glShadeModel;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void StencilFunc(OpenTK.Graphics.ES10.All func, Int32 @ref, UInt32 mask);
internal static StencilFunc glStencilFunc;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void StencilMask(UInt32 mask);
internal static StencilMask glStencilMask;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void StencilOp(OpenTK.Graphics.ES10.All fail, OpenTK.Graphics.ES10.All zfail, OpenTK.Graphics.ES10.All zpass);
internal static StencilOp glStencilOp;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void TexCoordPointer(Int32 size, OpenTK.Graphics.ES10.All type, Int32 stride, IntPtr pointer);
internal static TexCoordPointer glTexCoordPointer;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void TexEnvf(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All pname, Single param);
internal static TexEnvf glTexEnvf;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void TexEnvfv(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All pname, Single* @params);
internal unsafe static TexEnvfv glTexEnvfv;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void TexEnvx(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All pname, int param);
internal static TexEnvx glTexEnvx;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void TexEnvxv(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All pname, int* @params);
internal unsafe static TexEnvxv glTexEnvxv;
[System.Security.SuppressUnmanagedCodeSecurity()]
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);
internal static TexImage2D glTexImage2D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void TexParameterf(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All pname, Single param);
internal static TexParameterf glTexParameterf;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void TexParameterx(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All pname, int param);
internal static TexParameterx glTexParameterx;
[System.Security.SuppressUnmanagedCodeSecurity()]
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);
internal static TexSubImage2D glTexSubImage2D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void Translatef(Single x, Single y, Single z);
internal static Translatef glTranslatef;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void Translatex(int x, int y, int z);
internal static Translatex glTranslatex;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void VertexPointer(Int32 size, OpenTK.Graphics.ES10.All type, Int32 stride, IntPtr pointer);
internal static VertexPointer glVertexPointer;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void Viewport(Int32 x, Int32 y, Int32 width, Int32 height);
internal static Viewport glViewport;
}
}
}