Merged OpenGL 3.2 bindings. Fixed a conflict between the new ProgramParameter method and the existing ProgramParameter enum in GLHelper.cs.

This commit is contained in:
the_fiddler 2009-08-03 23:16:10 +00:00
parent 19b1539ef7
commit a3f5cd8605
5 changed files with 45458 additions and 36283 deletions

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -278,21 +278,45 @@ namespace OpenTK.Graphics
internal delegate void BlendEquationEXT(OpenTK.Graphics.ExtBlendMinmax mode);
internal static BlendEquationEXT glBlendEquationEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void BlendEquationi(UInt32 buf, OpenTK.Graphics.ArbDrawBuffersBlend mode);
internal static BlendEquationi glBlendEquationi;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void BlendEquationIndexedAMD(UInt32 buf, OpenTK.Graphics.AmdDrawBuffersBlend mode);
internal static BlendEquationIndexedAMD glBlendEquationIndexedAMD;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void BlendEquationSeparate(OpenTK.Graphics.BlendEquationMode modeRGB, OpenTK.Graphics.BlendEquationMode modeAlpha);
internal static BlendEquationSeparate glBlendEquationSeparate;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void BlendEquationSeparateEXT(OpenTK.Graphics.ExtBlendEquationSeparate modeRGB, OpenTK.Graphics.ExtBlendEquationSeparate modeAlpha);
internal static BlendEquationSeparateEXT glBlendEquationSeparateEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void BlendEquationSeparatei(UInt32 buf, OpenTK.Graphics.BlendEquationMode modeRGB, OpenTK.Graphics.BlendEquationMode modeAlpha);
internal static BlendEquationSeparatei glBlendEquationSeparatei;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void BlendEquationSeparateIndexedAMD(UInt32 buf, OpenTK.Graphics.AmdDrawBuffersBlend modeRGB, OpenTK.Graphics.AmdDrawBuffersBlend modeAlpha);
internal static BlendEquationSeparateIndexedAMD glBlendEquationSeparateIndexedAMD;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void BlendFunc(OpenTK.Graphics.BlendingFactorSrc sfactor, OpenTK.Graphics.BlendingFactorDest dfactor);
internal static BlendFunc glBlendFunc;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void BlendFunci(UInt32 buf, OpenTK.Graphics.ArbDrawBuffersBlend src, OpenTK.Graphics.ArbDrawBuffersBlend dst);
internal static BlendFunci glBlendFunci;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void BlendFuncIndexedAMD(UInt32 buf, OpenTK.Graphics.AmdDrawBuffersBlend src, OpenTK.Graphics.AmdDrawBuffersBlend dst);
internal static BlendFuncIndexedAMD glBlendFuncIndexedAMD;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void BlendFuncSeparate(OpenTK.Graphics.BlendingFactorSrc sfactorRGB, OpenTK.Graphics.BlendingFactorDest dfactorRGB, OpenTK.Graphics.BlendingFactorSrc sfactorAlpha, OpenTK.Graphics.BlendingFactorDest dfactorAlpha);
internal static BlendFuncSeparate glBlendFuncSeparate;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void BlendFuncSeparateEXT(OpenTK.Graphics.ExtBlendFuncSeparate sfactorRGB, OpenTK.Graphics.ExtBlendFuncSeparate dfactorRGB, OpenTK.Graphics.ExtBlendFuncSeparate sfactorAlpha, OpenTK.Graphics.ExtBlendFuncSeparate dfactorAlpha);
internal static BlendFuncSeparateEXT glBlendFuncSeparateEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void BlendFuncSeparatei(UInt32 buf, OpenTK.Graphics.ArbDrawBuffersBlend srcRGB, OpenTK.Graphics.ArbDrawBuffersBlend dstRGB, OpenTK.Graphics.ArbDrawBuffersBlend srcAlpha, OpenTK.Graphics.ArbDrawBuffersBlend dstAlpha);
internal static BlendFuncSeparatei glBlendFuncSeparatei;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void BlendFuncSeparateIndexedAMD(UInt32 buf, OpenTK.Graphics.AmdDrawBuffersBlend srcRGB, OpenTK.Graphics.AmdDrawBuffersBlend dstRGB, OpenTK.Graphics.AmdDrawBuffersBlend srcAlpha, OpenTK.Graphics.AmdDrawBuffersBlend dstAlpha);
internal static BlendFuncSeparateIndexedAMD glBlendFuncSeparateIndexedAMD;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void BlendFuncSeparateINGR(OpenTK.Graphics.All sfactorRGB, OpenTK.Graphics.All dfactorRGB, OpenTK.Graphics.All sfactorAlpha, OpenTK.Graphics.All dfactorAlpha);
internal static BlendFuncSeparateINGR glBlendFuncSeparateINGR;
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -389,6 +413,9 @@ namespace OpenTK.Graphics
internal delegate void ClientAttribDefaultEXT(OpenTK.Graphics.ClientAttribMask mask);
internal static ClientAttribDefaultEXT glClientAttribDefaultEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate OpenTK.Graphics.ArbSync ClientWaitSync(IntPtr sync, UInt32 flags, UInt64 timeout);
internal static ClientWaitSync glClientWaitSync;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void ClipPlane(OpenTK.Graphics.ClipPlaneName plane, Double* equation);
internal unsafe static ClipPlane glClipPlane;
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -902,6 +929,9 @@ namespace OpenTK.Graphics
internal delegate void DeleteShader(UInt32 shader);
internal static DeleteShader glDeleteShader;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DeleteSync(IntPtr sync);
internal static DeleteSync glDeleteSync;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void DeleteTextures(Int32 n, UInt32* textures);
internal unsafe static DeleteTextures glDeleteTextures;
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -965,6 +995,9 @@ namespace OpenTK.Graphics
internal delegate void DisableVariantClientStateEXT(UInt32 id);
internal static DisableVariantClientStateEXT glDisableVariantClientStateEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DisableVertexAttribAPPLE(UInt32 index, OpenTK.Graphics.AppleVertexProgramEvaluators pname);
internal static DisableVertexAttribAPPLE glDisableVertexAttribAPPLE;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DisableVertexAttribArray(UInt32 index);
internal static DisableVertexAttribArray glDisableVertexAttribArray;
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -1007,12 +1040,18 @@ namespace OpenTK.Graphics
internal delegate void DrawElements(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices);
internal static DrawElements glDrawElements;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 basevertex);
internal static DrawElementsBaseVertex glDrawElementsBaseVertex;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount);
internal static DrawElementsInstanced glDrawElementsInstanced;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawElementsInstancedARB(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount);
internal static DrawElementsInstancedARB glDrawElementsInstancedARB;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawElementsInstancedBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 basevertex);
internal static DrawElementsInstancedBaseVertex glDrawElementsInstancedBaseVertex;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawElementsInstancedEXT(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount);
internal static DrawElementsInstancedEXT glDrawElementsInstancedEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -1031,6 +1070,9 @@ namespace OpenTK.Graphics
internal delegate void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices);
internal static DrawRangeElements glDrawRangeElements;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawRangeElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 basevertex);
internal static DrawRangeElementsBaseVertex glDrawRangeElementsBaseVertex;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawRangeElementsEXT(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices);
internal static DrawRangeElementsEXT glDrawRangeElementsEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -1076,6 +1118,9 @@ namespace OpenTK.Graphics
internal delegate void EnableVariantClientStateEXT(UInt32 id);
internal static EnableVariantClientStateEXT glEnableVariantClientStateEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void EnableVertexAttribAPPLE(UInt32 index, OpenTK.Graphics.AppleVertexProgramEvaluators pname);
internal static EnableVertexAttribAPPLE glEnableVertexAttribAPPLE;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void EnableVertexAttribArray(UInt32 index);
internal static EnableVertexAttribArray glEnableVertexAttribArray;
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -1169,6 +1214,9 @@ namespace OpenTK.Graphics
internal unsafe delegate void FeedbackBuffer(Int32 size, OpenTK.Graphics.FeedbackType type, [Out] Single* buffer);
internal unsafe static FeedbackBuffer glFeedbackBuffer;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate IntPtr FenceSync(OpenTK.Graphics.ArbSync condition, UInt32 flags);
internal static FenceSync glFenceSync;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void FinalCombinerInputNV(OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners input, OpenTK.Graphics.NvRegisterCombiners mapping, OpenTK.Graphics.NvRegisterCombiners componentUsage);
internal static FinalCombinerInputNV glFinalCombinerInputNV;
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -1319,6 +1367,9 @@ namespace OpenTK.Graphics
internal delegate void FramebufferRenderbufferEXT(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer);
internal static FramebufferRenderbufferEXT glFramebufferRenderbufferEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void FramebufferTexture(OpenTK.Graphics.Version32 target, OpenTK.Graphics.Version32 attachment, UInt32 texture, Int32 level);
internal static FramebufferTexture glFramebufferTexture;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void FramebufferTexture1D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level);
internal static FramebufferTexture1D glFramebufferTexture1D;
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -1343,6 +1394,9 @@ namespace OpenTK.Graphics
internal delegate void FramebufferTextureEXT(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level);
internal static FramebufferTextureEXT glFramebufferTextureEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void FramebufferTextureFace(OpenTK.Graphics.Version32 target, OpenTK.Graphics.Version32 attachment, UInt32 texture, Int32 level, OpenTK.Graphics.Version32 face);
internal static FramebufferTextureFace glFramebufferTextureFace;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void FramebufferTextureFaceARB(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.TextureTarget face);
internal static FramebufferTextureFaceARB glFramebufferTextureFaceARB;
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -1511,6 +1565,9 @@ namespace OpenTK.Graphics
internal unsafe delegate void GetBooleanv(OpenTK.Graphics.GetPName pname, [Out] bool* @params);
internal unsafe static GetBooleanv glGetBooleanv;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetBufferParameteri64v(OpenTK.Graphics.Version32 target, OpenTK.Graphics.Version32 pname, [Out] Int64* @params);
internal unsafe static GetBufferParameteri64v glGetBufferParameteri64v;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetBufferParameteriv(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferParameterName pname, [Out] Int32* @params);
internal unsafe static GetBufferParameteriv glGetBufferParameteriv;
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -1694,6 +1751,12 @@ namespace OpenTK.Graphics
internal delegate Int32 GetInstrumentsSGIX();
internal static GetInstrumentsSGIX glGetInstrumentsSGIX;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetInteger64i_v(OpenTK.Graphics.Version32 target, UInt32 index, [Out] Int64* data);
internal unsafe static GetInteger64i_v glGetInteger64i_v;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetInteger64v(OpenTK.Graphics.ArbSync pname, [Out] Int64* @params);
internal unsafe static GetInteger64v glGetInteger64v;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetIntegeri_v(OpenTK.Graphics.GetIndexedPName target, UInt32 index, [Out] Int32* data);
internal unsafe static GetIntegeri_v glGetIntegeri_v;
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -1781,6 +1844,9 @@ namespace OpenTK.Graphics
internal unsafe delegate void GetMinmaxParameterivEXT(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Int32* @params);
internal unsafe static GetMinmaxParameterivEXT glGetMinmaxParameterivEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetMultisamplefv(OpenTK.Graphics.ArbTextureMultisample pname, UInt32 index, [Out] Single* val);
internal unsafe static GetMultisamplefv glGetMultisamplefv;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetMultisamplefvNV(OpenTK.Graphics.NvExplicitMultisample pname, UInt32 index, [Out] Single* val);
internal unsafe static GetMultisamplefvNV glGetMultisamplefvNV;
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -1862,6 +1928,9 @@ namespace OpenTK.Graphics
internal unsafe delegate void GetObjectParameterfvARB(UInt32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] Single* @params);
internal unsafe static GetObjectParameterfvARB glGetObjectParameterfvARB;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetObjectParameterivAPPLE(OpenTK.Graphics.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.AppleObjectPurgeable pname, [Out] Int32* @params);
internal unsafe static GetObjectParameterivAPPLE glGetObjectParameterivAPPLE;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetObjectParameterivARB(UInt32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] Int32* @params);
internal unsafe static GetObjectParameterivARB glGetObjectParameterivARB;
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -2027,6 +2096,9 @@ namespace OpenTK.Graphics
internal delegate IntPtr GetStringi(OpenTK.Graphics.StringName name, UInt32 index);
internal static GetStringi glGetStringi;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetSynciv(IntPtr sync, OpenTK.Graphics.ArbSync pname, Int32 bufSize, [Out] Int32* length, [Out] Int32* values);
internal unsafe static GetSynciv glGetSynciv;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetTexBumpParameterfvATI(OpenTK.Graphics.AtiEnvmapBumpmap pname, [Out] Single* param);
internal unsafe static GetTexBumpParameterfvATI glGetTexBumpParameterfvATI;
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -2078,6 +2150,9 @@ namespace OpenTK.Graphics
internal unsafe delegate void GetTexParameteriv(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params);
internal unsafe static GetTexParameteriv glGetTexParameteriv;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void GetTexParameterPointervAPPLE(OpenTK.Graphics.AppleTextureRange target, OpenTK.Graphics.AppleTextureRange pname, [Out] IntPtr @params);
internal static GetTexParameterPointervAPPLE glGetTexParameterPointervAPPLE;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void GetTextureImageEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr pixels);
internal static GetTextureImageEXT glGetTextureImageEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -2408,6 +2483,9 @@ namespace OpenTK.Graphics
internal delegate bool IsShader(UInt32 shader);
internal static IsShader glIsShader;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate bool IsSync(IntPtr sync);
internal static IsSync glIsSync;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate bool IsTexture(UInt32 texture);
internal static IsTexture glIsTexture;
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -2426,6 +2504,9 @@ namespace OpenTK.Graphics
internal delegate bool IsVertexArrayAPPLE(UInt32 array);
internal static IsVertexArrayAPPLE glIsVertexArrayAPPLE;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate bool IsVertexAttribEnabledAPPLE(UInt32 index, OpenTK.Graphics.AppleVertexProgramEvaluators pname);
internal static IsVertexAttribEnabledAPPLE glIsVertexAttribEnabledAPPLE;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void LightEnviSGIX(OpenTK.Graphics.SgixFragmentLighting pname, Int32 param);
internal static LightEnviSGIX glLightEnviSGIX;
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -2564,6 +2645,18 @@ namespace OpenTK.Graphics
internal unsafe delegate void MapParameterivNV(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, Int32* @params);
internal unsafe static MapParameterivNV glMapParameterivNV;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void MapVertexAttrib1dAPPLE(UInt32 index, UInt32 size, Double u1, Double u2, Int32 stride, Int32 order, Double* points);
internal unsafe static MapVertexAttrib1dAPPLE glMapVertexAttrib1dAPPLE;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void MapVertexAttrib1fAPPLE(UInt32 index, UInt32 size, Single u1, Single u2, Int32 stride, Int32 order, Single* points);
internal unsafe static MapVertexAttrib1fAPPLE glMapVertexAttrib1fAPPLE;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void MapVertexAttrib2dAPPLE(UInt32 index, UInt32 size, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double* points);
internal unsafe static MapVertexAttrib2dAPPLE glMapVertexAttrib2dAPPLE;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void MapVertexAttrib2fAPPLE(UInt32 index, UInt32 size, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single* points);
internal unsafe static MapVertexAttrib2fAPPLE glMapVertexAttrib2fAPPLE;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void Materialf(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Single param);
internal static Materialf glMaterialf;
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -2654,6 +2747,9 @@ namespace OpenTK.Graphics
internal delegate void MinmaxEXT(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.PixelInternalFormat internalformat, bool sink);
internal static MinmaxEXT glMinmaxEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void MinSampleShading(Single value);
internal static MinSampleShading glMinSampleShading;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void MultiDrawArrays(OpenTK.Graphics.BeginMode mode, [Out] Int32* first, [Out] Int32* count, Int32 primcount);
internal unsafe static MultiDrawArrays glMultiDrawArrays;
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -2666,6 +2762,9 @@ namespace OpenTK.Graphics
internal unsafe delegate void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount);
internal unsafe static MultiDrawElements glMultiDrawElements;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void MultiDrawElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32* count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount, Int32* basevertex);
internal unsafe static MultiDrawElementsBaseVertex glMultiDrawElementsBaseVertex;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void MultiDrawElementsEXT(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount);
internal unsafe static MultiDrawElementsEXT glMultiDrawElementsEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -3149,6 +3248,12 @@ namespace OpenTK.Graphics
internal unsafe delegate void NormalStream3svATI(OpenTK.Graphics.AtiVertexStreams stream, Int16* coords);
internal unsafe static NormalStream3svATI glNormalStream3svATI;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate IntPtr ObjectPurgeableAPPLE(OpenTK.Graphics.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.AppleObjectPurgeable option);
internal static ObjectPurgeableAPPLE glObjectPurgeableAPPLE;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate IntPtr ObjectUnpurgeableAPPLE(OpenTK.Graphics.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.AppleObjectPurgeable option);
internal static ObjectUnpurgeableAPPLE glObjectUnpurgeableAPPLE;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void Ortho(Double left, Double right, Double bottom, Double top, Double zNear, Double zFar);
internal static Ortho glOrtho;
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -3410,6 +3515,9 @@ namespace OpenTK.Graphics
internal unsafe delegate void ProgramParameter4fvNV(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single* v);
internal unsafe static ProgramParameter4fvNV glProgramParameter4fvNV;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void ProgramParameteri(UInt32 program, OpenTK.Graphics.Version32 pname, Int32 value);
internal static ProgramParameteri glProgramParameteri;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void ProgramParameteriARB(UInt32 program, OpenTK.Graphics.ArbGeometryShader4 pname, Int32 value);
internal static ProgramParameteriARB glProgramParameteriARB;
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -3527,6 +3635,9 @@ namespace OpenTK.Graphics
internal delegate void ProgramVertexLimitNV(OpenTK.Graphics.NvGeometryProgram4 target, Int32 limit);
internal static ProgramVertexLimitNV glProgramVertexLimitNV;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void ProvokingVertex(OpenTK.Graphics.ArbProvokingVertex mode);
internal static ProvokingVertex glProvokingVertex;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void ProvokingVertexEXT(OpenTK.Graphics.ExtProvokingVertex mode);
internal static ProvokingVertexEXT glProvokingVertexEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -3779,6 +3890,9 @@ namespace OpenTK.Graphics
internal delegate void SampleMaskEXT(Single value, bool invert);
internal static SampleMaskEXT glSampleMaskEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void SampleMaski(UInt32 index, UInt32 mask);
internal static SampleMaski glSampleMaski;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void SampleMaskIndexedNV(UInt32 index, UInt32 mask);
internal static SampleMaskIndexedNV glSampleMaskIndexedNV;
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -4292,12 +4406,18 @@ namespace OpenTK.Graphics
internal delegate void TexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels);
internal static TexImage2D glTexImage2D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void TexImage2DMultisample(OpenTK.Graphics.ArbTextureMultisample target, Int32 samples, Int32 internalformat, Int32 width, Int32 height, bool fixedsamplelocations);
internal static TexImage2DMultisample glTexImage2DMultisample;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels);
internal static TexImage3D glTexImage3D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void TexImage3DEXT(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels);
internal static TexImage3DEXT glTexImage3DEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void TexImage3DMultisample(OpenTK.Graphics.ArbTextureMultisample target, Int32 samples, Int32 internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations);
internal static TexImage3DMultisample glTexImage3DMultisample;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void TexImage4DSGIS(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels);
internal static TexImage4DSGIS glTexImage4DSGIS;
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -4391,6 +4511,9 @@ namespace OpenTK.Graphics
internal unsafe delegate void TextureParameterivEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params);
internal unsafe static TextureParameterivEXT glTextureParameterivEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void TextureRangeAPPLE(OpenTK.Graphics.AppleTextureRange target, Int32 length, IntPtr pointer);
internal static TextureRangeAPPLE glTextureRangeAPPLE;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void TextureRenderbufferEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, UInt32 renderbuffer);
internal static TextureRenderbufferEXT glTextureRenderbufferEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -4415,8 +4538,8 @@ namespace OpenTK.Graphics
internal delegate void TransformFeedbackVaryingsEXT(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.ExtTransformFeedback bufferMode);
internal static TransformFeedbackVaryingsEXT glTransformFeedbackVaryingsEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void TransformFeedbackVaryingsNV(UInt32 program, Int32 count, Int32* locations, OpenTK.Graphics.NvTransformFeedback bufferMode);
internal unsafe static TransformFeedbackVaryingsNV glTransformFeedbackVaryingsNV;
internal delegate void TransformFeedbackVaryingsNV(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.NvTransformFeedback bufferMode);
internal static TransformFeedbackVaryingsNV glTransformFeedbackVaryingsNV;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void Translated(Double x, Double y, Double z);
internal static Translated glTranslated;
@ -5414,6 +5537,9 @@ namespace OpenTK.Graphics
internal delegate void Viewport(Int32 x, Int32 y, Int32 width, Int32 height);
internal static Viewport glViewport;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void WaitSync(IntPtr sync, UInt32 flags, UInt64 timeout);
internal static WaitSync glWaitSync;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void WeightbvARB(Int32 size, SByte* weights);
internal unsafe static WeightbvARB glWeightbvARB;
[System.Security.SuppressUnmanagedCodeSecurity()]

View file

@ -110,12 +110,15 @@ namespace OpenTK.Graphics
Zero = ((int)0),
Points = ((int)0X0000),
ClientPixelStoreBit = ((int)0X00000001),
ContextCoreProfileBit = ((int)0X00000001),
CurrentBit = ((int)0X00000001),
Gl2XBitAti = ((int)0X00000001),
RedBitAti = ((int)0X00000001),
SyncFlushCommandsBit = ((int)0X00000001),
TextureDeformationBitSgix = ((int)0X00000001),
ClientVertexArrayBit = ((int)0X00000002),
CompBitAti = ((int)0X00000002),
ContextCompatibilityProfileBit = ((int)0X00000002),
GeometryDeformationBitSgix = ((int)0X00000002),
Gl4XBitAti = ((int)0X00000002),
GreenBitAti = ((int)0X00000002),
@ -169,12 +172,16 @@ namespace OpenTK.Graphics
IndexBitPgi = ((int)0X00080000),
ScissorBit = ((int)0X00080000),
Polygon = ((int)0X0009),
LinesAdjacency = ((int)0X000a),
LinesAdjacencyArb = ((int)0X000a),
LinesAdjacencyExt = ((int)0X000a),
LineStripAdjacency = ((int)0X000b),
LineStripAdjacencyArb = ((int)0X000b),
LineStripAdjacencyExt = ((int)0X000b),
TrianglesAdjacency = ((int)0X000c),
TrianglesAdjacencyArb = ((int)0X000c),
TrianglesAdjacencyExt = ((int)0X000c),
TriangleStripAdjacency = ((int)0X000d),
TriangleStripAdjacencyArb = ((int)0X000d),
TriangleStripAdjacencyExt = ((int)0X000d),
MapFlushExplicitBit = ((int)0X0010),
@ -501,6 +508,7 @@ namespace OpenTK.Graphics
Gl4Bytes = ((int)0X1409),
Double = ((int)0X140a),
DoubleExt = ((int)0X140a),
HalfApple = ((int)0X140b),
HalfFloat = ((int)0X140b),
HalfFloatArb = ((int)0X140b),
HalfFloatNv = ((int)0X140b),
@ -647,6 +655,8 @@ namespace OpenTK.Graphics
ClipPlane4 = ((int)0X3004),
ClipDistance5 = ((int)0X3005),
ClipPlane5 = ((int)0X3005),
ClipDistance6 = ((int)0X3006),
ClipDistance7 = ((int)0X3007),
Light0 = ((int)0X4000),
Texcoord3BitPgi = ((int)0X40000000),
Light1 = ((int)0X4001),
@ -1859,13 +1869,18 @@ namespace OpenTK.Graphics
LightModelSpecularVectorApple = ((int)0X85b0),
TransformHintApple = ((int)0X85b1),
UnpackClientStorageApple = ((int)0X85b2),
BufferObjectApple = ((int)0X85b3),
VertexArrayBinding = ((int)0X85b5),
VertexArrayBindingApple = ((int)0X85b5),
TextureRangeLengthApple = ((int)0X85b7),
TextureRangePointerApple = ((int)0X85b8),
Ycbcr422Apple = ((int)0X85b9),
UnsignedShort88Apple = ((int)0X85ba),
UnsignedShort88Mesa = ((int)0X85ba),
UnsignedShort88RevApple = ((int)0X85bb),
UnsignedShort88RevMesa = ((int)0X85bb),
TextureStorageHintApple = ((int)0X85bc),
StoragePrivateApple = ((int)0X85bd),
StorageCachedApple = ((int)0X85be),
StorageSharedApple = ((int)0X85bf),
ReplacementCodeArraySun = ((int)0X85c0),
@ -1932,6 +1947,7 @@ namespace OpenTK.Graphics
CurrentMatrixStackDepthNv = ((int)0X8640),
CurrentMatrixArb = ((int)0X8641),
CurrentMatrixNv = ((int)0X8641),
ProgramPointSize = ((int)0X8642),
ProgramPointSizeArb = ((int)0X8642),
ProgramPointSizeExt = ((int)0X8642),
VertexProgramPointSize = ((int)0X8642),
@ -1955,6 +1971,7 @@ namespace OpenTK.Graphics
OffsetTextureRectangleNv = ((int)0X864c),
OffsetTextureRectangleScaleNv = ((int)0X864d),
DotProductTextureRectangleNv = ((int)0X864e),
DepthClamp = ((int)0X864f),
DepthClampNv = ((int)0X864f),
VertexAttribArray0Nv = ((int)0X8650),
VertexAttribArray1Nv = ((int)0X8651),
@ -2357,31 +2374,43 @@ namespace OpenTK.Graphics
MaxProgramNativeTexIndirectionsArb = ((int)0X8810),
Rgba32f = ((int)0X8814),
Rgba32fArb = ((int)0X8814),
RgbaFloat32Apple = ((int)0X8814),
RgbaFloat32Ati = ((int)0X8814),
Rgb32f = ((int)0X8815),
Rgb32fArb = ((int)0X8815),
RgbFloat32Apple = ((int)0X8815),
RgbFloat32Ati = ((int)0X8815),
Alpha32fArb = ((int)0X8816),
AlphaFloat32Apple = ((int)0X8816),
AlphaFloat32Ati = ((int)0X8816),
Intensity32fArb = ((int)0X8817),
IntensityFloat32Apple = ((int)0X8817),
IntensityFloat32Ati = ((int)0X8817),
Luminance32fArb = ((int)0X8818),
LuminanceFloat32Apple = ((int)0X8818),
LuminanceFloat32Ati = ((int)0X8818),
LuminanceAlpha32fArb = ((int)0X8819),
LuminanceAlphaFloat32Apple = ((int)0X8819),
LuminanceAlphaFloat32Ati = ((int)0X8819),
Rgba16f = ((int)0X881a),
Rgba16fArb = ((int)0X881a),
RgbaFloat16Apple = ((int)0X881a),
RgbaFloat16Ati = ((int)0X881a),
Rgb16f = ((int)0X881b),
Rgb16fArb = ((int)0X881b),
RgbFloat16Apple = ((int)0X881b),
RgbFloat16Ati = ((int)0X881b),
Alpha16fArb = ((int)0X881c),
AlphaFloat16Apple = ((int)0X881c),
AlphaFloat16Ati = ((int)0X881c),
Intensity16fArb = ((int)0X881d),
IntensityFloat16Apple = ((int)0X881d),
IntensityFloat16Ati = ((int)0X881d),
Luminance16fArb = ((int)0X881e),
LuminanceFloat16Apple = ((int)0X881e),
LuminanceFloat16Ati = ((int)0X881e),
LuminanceAlpha16fArb = ((int)0X881f),
LuminanceAlphaFloat16Apple = ((int)0X881f),
LuminanceAlphaFloat16Ati = ((int)0X881f),
RgbaFloatMode = ((int)0X8820),
RgbaFloatModeArb = ((int)0X8820),
@ -2462,6 +2491,7 @@ namespace OpenTK.Graphics
CompareRefToTexture = ((int)0X884e),
CompareRToTexture = ((int)0X884e),
CompareRToTextureArb = ((int)0X884e),
TextureCubeMapSeamless = ((int)0X884f),
OffsetProjectiveTexture2DNv = ((int)0X8850),
OffsetProjectiveTexture2DScaleNv = ((int)0X8851),
OffsetProjectiveTextureRectangleNv = ((int)0X8852),
@ -2756,6 +2786,9 @@ namespace OpenTK.Graphics
MirrorClampToBorderExt = ((int)0X8912),
SamplesPassed = ((int)0X8914),
SamplesPassedArb = ((int)0X8914),
GeometryVerticesOut = ((int)0X8916),
GeometryInputType = ((int)0X8917),
GeometryOutputType = ((int)0X8918),
ClampVertexColor = ((int)0X891a),
ClampVertexColorArb = ((int)0X891a),
ClampFragmentColor = ((int)0X891b),
@ -2865,11 +2898,30 @@ namespace OpenTK.Graphics
ResampleZeroFillOml = ((int)0X8987),
ResampleAverageOml = ((int)0X8988),
ResampleDecimateOml = ((int)0X8989),
VertexAttribMap1Apple = ((int)0X8a00),
VertexAttribMap2Apple = ((int)0X8a01),
VertexAttribMap1SizeApple = ((int)0X8a02),
VertexAttribMap1CoeffApple = ((int)0X8a03),
VertexAttribMap1OrderApple = ((int)0X8a04),
VertexAttribMap1DomainApple = ((int)0X8a05),
VertexAttribMap2SizeApple = ((int)0X8a06),
VertexAttribMap2CoeffApple = ((int)0X8a07),
VertexAttribMap2OrderApple = ((int)0X8a08),
VertexAttribMap2DomainApple = ((int)0X8a09),
DrawPixelsApple = ((int)0X8a0a),
FenceApple = ((int)0X8a0b),
ColorFloatApple = ((int)0X8a0f),
UniformBuffer = ((int)0X8a11),
BufferSerializedModifyApple = ((int)0X8a12),
BufferFlushingUnmapApple = ((int)0X8a13),
AuxDepthStencilApple = ((int)0X8a14),
PackRowBytesApple = ((int)0X8a15),
UnpackRowBytesApple = ((int)0X8a16),
ReleasedApple = ((int)0X8a19),
VolatileApple = ((int)0X8a1a),
RetainedApple = ((int)0X8a1b),
UndefinedApple = ((int)0X8a1c),
PurgeableApple = ((int)0X8a1d),
UniformBufferBinding = ((int)0X8a28),
UniformBufferStart = ((int)0X8a29),
UniformBufferSize = ((int)0X8a2a),
@ -3037,6 +3089,7 @@ namespace OpenTK.Graphics
GeometryProgramNv = ((int)0X8c26),
MaxProgramOutputVerticesNv = ((int)0X8c27),
MaxProgramTotalOutputComponentsNv = ((int)0X8c28),
MaxGeometryTextureImageUnits = ((int)0X8c29),
MaxGeometryTextureImageUnitsArb = ((int)0X8c29),
MaxGeometryTextureImageUnitsExt = ((int)0X8c29),
TextureBuffer = ((int)0X8c2a),
@ -3054,6 +3107,8 @@ namespace OpenTK.Graphics
TextureBufferFormat = ((int)0X8c2e),
TextureBufferFormatArb = ((int)0X8c2e),
TextureBufferFormatExt = ((int)0X8c2e),
SampleShading = ((int)0X8c36),
MinSampleShadingValue = ((int)0X8c37),
R11fG11fB10f = ((int)0X8c3a),
R11fG11fB10fExt = ((int)0X8c3a),
UnsignedInt10F11F11FRev = ((int)0X8c3b),
@ -3346,8 +3401,10 @@ namespace OpenTK.Graphics
FragmentProgramParameterBufferNv = ((int)0X8da4),
MaxProgramGenericAttribsNv = ((int)0X8da5),
MaxProgramGenericResultsNv = ((int)0X8da6),
FramebufferAttachmentLayered = ((int)0X8da7),
FramebufferAttachmentLayeredArb = ((int)0X8da7),
FramebufferAttachmentLayeredExt = ((int)0X8da7),
FramebufferIncompleteLayerTargets = ((int)0X8da8),
FramebufferIncompleteLayerTargetsArb = ((int)0X8da8),
FramebufferIncompleteLayerTargetsExt = ((int)0X8da8),
FramebufferIncompleteLayerCountArb = ((int)0X8da9),
@ -3418,6 +3475,7 @@ namespace OpenTK.Graphics
UnsignedIntSampler2DArrayExt = ((int)0X8dd7),
UnsignedIntSamplerBuffer = ((int)0X8dd8),
UnsignedIntSamplerBufferExt = ((int)0X8dd8),
GeometryShader = ((int)0X8dd9),
GeometryShaderArb = ((int)0X8dd9),
GeometryShaderExt = ((int)0X8dd9),
GeometryVerticesOutArb = ((int)0X8dda),
@ -3430,10 +3488,13 @@ namespace OpenTK.Graphics
MaxGeometryVaryingComponentsExt = ((int)0X8ddd),
MaxVertexVaryingComponentsArb = ((int)0X8dde),
MaxVertexVaryingComponentsExt = ((int)0X8dde),
MaxGeometryUniformComponents = ((int)0X8ddf),
MaxGeometryUniformComponentsArb = ((int)0X8ddf),
MaxGeometryUniformComponentsExt = ((int)0X8ddf),
MaxGeometryOutputVertices = ((int)0X8de0),
MaxGeometryOutputVerticesArb = ((int)0X8de0),
MaxGeometryOutputVerticesExt = ((int)0X8de0),
MaxGeometryTotalOutputComponents = ((int)0X8de1),
MaxGeometryTotalOutputComponentsArb = ((int)0X8de1),
MaxGeometryTotalOutputComponentsExt = ((int)0X8de1),
MaxVertexBindableUniformsExt = ((int)0X8de2),
@ -3471,12 +3532,19 @@ namespace OpenTK.Graphics
TextureSwizzleBExt = ((int)0X8e44),
TextureSwizzleAExt = ((int)0X8e45),
TextureSwizzleRgbaExt = ((int)0X8e46),
QuadsFollowProvokingVertexConvention = ((int)0X8e4c),
QuadsFollowProvokingVertexConventionExt = ((int)0X8e4c),
FirstVertexConvention = ((int)0X8e4d),
FirstVertexConventionExt = ((int)0X8e4d),
LastVertexConvention = ((int)0X8e4e),
LastVertexConventionExt = ((int)0X8e4e),
ProvokingVertex = ((int)0X8e4f),
ProvokingVertexExt = ((int)0X8e4f),
SamplePosition = ((int)0X8e50),
SamplePositionNv = ((int)0X8e50),
SampleMask = ((int)0X8e51),
SampleMaskNv = ((int)0X8e51),
SampleMaskValue = ((int)0X8e52),
SampleMaskValueNv = ((int)0X8e52),
TextureBindingRenderbufferNv = ((int)0X8e53),
TextureRenderbufferDataStoreBindingNv = ((int)0X8e54),
@ -3484,7 +3552,10 @@ namespace OpenTK.Graphics
SamplerRenderbufferNv = ((int)0X8e56),
IntSamplerRenderbufferNv = ((int)0X8e57),
UnsignedIntSamplerRenderbufferNv = ((int)0X8e58),
MaxSampleMaskWords = ((int)0X8e59),
MaxSampleMaskWordsNv = ((int)0X8e59),
MinProgramTextureGatherOffset = ((int)0X8e5e),
MaxProgramTextureGatherOffset = ((int)0X8e5f),
CopyReadBuffer = ((int)0X8f36),
CopyWriteBuffer = ((int)0X8f37),
RedSnorm = ((int)0X8f90),
@ -3502,6 +3573,7 @@ namespace OpenTK.Graphics
SignedNormalized = ((int)0X8f9c),
PrimitiveRestart = ((int)0X8f9d),
PrimitiveRestartIndex = ((int)0X8f9e),
MaxProgramTextureGatherComponents = ((int)0X8f9f),
SamplerBufferAmd = ((int)0X9001),
IntSamplerBufferAmd = ((int)0X9002),
UnsignedIntSamplerBufferAmd = ((int)0X9003),
@ -3509,9 +3581,67 @@ namespace OpenTK.Graphics
TessellationFactorAmd = ((int)0X9005),
DiscreteAmd = ((int)0X9006),
ContinuousAmd = ((int)0X9007),
TextureCubeMapArray = ((int)0X9009),
TextureBindingCubeMapArray = ((int)0X900a),
ProxyTextureCubeMapArray = ((int)0X900b),
SamplerCubeMapArray = ((int)0X900c),
SamplerCubeMapArrayShadow = ((int)0X900d),
IntSamplerCubeMapArray = ((int)0X900e),
UnsignedIntSamplerCubeMapArray = ((int)0X900f),
AlphaSnorm = ((int)0X9010),
LuminanceSnorm = ((int)0X9011),
LuminanceAlphaSnorm = ((int)0X9012),
IntensitySnorm = ((int)0X9013),
Alpha8Snorm = ((int)0X9014),
Luminance8Snorm = ((int)0X9015),
Luminance8Alpha8Snorm = ((int)0X9016),
Intensity8Snorm = ((int)0X9017),
Alpha16Snorm = ((int)0X9018),
Luminance16Snorm = ((int)0X9019),
Luminance16Alpha16Snorm = ((int)0X901a),
Intensity16Snorm = ((int)0X901b),
Texture2DMultisample = ((int)0X9100),
ProxyTexture2DMultisample = ((int)0X9101),
Texture2DMultisampleArray = ((int)0X9102),
ProxyTexture2DMultisampleArray = ((int)0X9103),
TextureBinding2DMultisample = ((int)0X9104),
TextureBinding2DMultisampleArray = ((int)0X9105),
TextureSamples = ((int)0X9106),
TextureFixedSampleLocations = ((int)0X9107),
Sampler2DMultisample = ((int)0X9108),
IntSampler2DMultisample = ((int)0X9109),
UnsignedIntSampler2DMultisample = ((int)0X910a),
Sampler2DMultisampleArray = ((int)0X910b),
IntSampler2DMultisampleArray = ((int)0X910c),
UnsignedIntSampler2DMultisampleArray = ((int)0X910d),
MaxColorTextureSamples = ((int)0X910e),
MaxDepthTextureSamples = ((int)0X910f),
MaxIntegerSamples = ((int)0X9110),
MaxServerWaitTimeout = ((int)0X9111),
ObjectType = ((int)0X9112),
SyncCondition = ((int)0X9113),
SyncStatus = ((int)0X9114),
SyncFlags = ((int)0X9115),
SyncFence = ((int)0X9116),
SyncGpuCommandsComplete = ((int)0X9117),
Unsignaled = ((int)0X9118),
Signaled = ((int)0X9119),
AlreadySignaled = ((int)0X911a),
TimeoutExpired = ((int)0X911b),
ConditionSatisfied = ((int)0X911c),
WaitFailed = ((int)0X911d),
BufferAccessFlags = ((int)0X911f),
BufferMapLength = ((int)0X9120),
BufferMapOffset = ((int)0X9121),
MaxVertexOutputComponents = ((int)0X9122),
MaxGeometryInputComponents = ((int)0X9123),
MaxGeometryOutputComponents = ((int)0X9124),
MaxFragmentInputComponents = ((int)0X9125),
ContextProfileMask = ((int)0X9126),
AllAttribBits = unchecked((int)0Xffffffff),
ClientAllAttribBits = unchecked((int)0Xffffffff),
InvalidIndex = unchecked((int)0Xffffffff),
TimeoutIgnored = unchecked((int)0Xffffffffffffffff),
One = ((int)1),
True = ((int)1),
CullVertexIbm = ((int)103050),
@ -3548,6 +3678,10 @@ namespace OpenTK.Graphics
Always = ((int)0X0207),
}
public enum AmdDrawBuffersBlend
{
}
public enum AmdPerformanceMonitor
{
CounterTypeAmd = ((int)0X8bc0),
@ -3574,6 +3708,11 @@ namespace OpenTK.Graphics
ContinuousAmd = ((int)0X9007),
}
public enum AppleAuxDepthStencil
{
AuxDepthStencilApple = ((int)0X8a14),
}
public enum AppleClientStorage
{
UnpackClientStorageApple = ((int)0X85b2),
@ -3592,17 +3731,61 @@ namespace OpenTK.Graphics
FenceApple = ((int)0X8a0b),
}
public enum AppleFloatPixels
{
HalfApple = ((int)0X140b),
RgbaFloat32Apple = ((int)0X8814),
RgbFloat32Apple = ((int)0X8815),
AlphaFloat32Apple = ((int)0X8816),
IntensityFloat32Apple = ((int)0X8817),
LuminanceFloat32Apple = ((int)0X8818),
LuminanceAlphaFloat32Apple = ((int)0X8819),
RgbaFloat16Apple = ((int)0X881a),
RgbFloat16Apple = ((int)0X881b),
AlphaFloat16Apple = ((int)0X881c),
IntensityFloat16Apple = ((int)0X881d),
LuminanceFloat16Apple = ((int)0X881e),
LuminanceAlphaFloat16Apple = ((int)0X881f),
ColorFloatApple = ((int)0X8a0f),
}
public enum AppleFlushBufferRange
{
BufferSerializedModifyApple = ((int)0X8a12),
BufferFlushingUnmapApple = ((int)0X8a13),
}
public enum AppleObjectPurgeable
{
BufferObjectApple = ((int)0X85b3),
ReleasedApple = ((int)0X8a19),
VolatileApple = ((int)0X8a1a),
RetainedApple = ((int)0X8a1b),
UndefinedApple = ((int)0X8a1c),
PurgeableApple = ((int)0X8a1d),
}
public enum AppleRowBytes
{
PackRowBytesApple = ((int)0X8a15),
UnpackRowBytesApple = ((int)0X8a16),
}
public enum AppleSpecularVector
{
LightModelSpecularVectorApple = ((int)0X85b0),
}
public enum AppleTextureRange
{
TextureRangeLengthApple = ((int)0X85b7),
TextureRangePointerApple = ((int)0X85b8),
TextureStorageHintApple = ((int)0X85bc),
StoragePrivateApple = ((int)0X85bd),
StorageCachedApple = ((int)0X85be),
StorageSharedApple = ((int)0X85bf),
}
public enum AppleTransformHint
{
TransformHintApple = ((int)0X85b1),
@ -3623,6 +3806,20 @@ namespace OpenTK.Graphics
StorageSharedApple = ((int)0X85bf),
}
public enum AppleVertexProgramEvaluators
{
VertexAttribMap1Apple = ((int)0X8a00),
VertexAttribMap2Apple = ((int)0X8a01),
VertexAttribMap1SizeApple = ((int)0X8a02),
VertexAttribMap1CoeffApple = ((int)0X8a03),
VertexAttribMap1OrderApple = ((int)0X8a04),
VertexAttribMap1DomainApple = ((int)0X8a05),
VertexAttribMap2SizeApple = ((int)0X8a06),
VertexAttribMap2CoeffApple = ((int)0X8a07),
VertexAttribMap2OrderApple = ((int)0X8a08),
VertexAttribMap2DomainApple = ((int)0X8a09),
}
public enum AppleYcbcr422
{
Ycbcr422Apple = ((int)0X85b9),
@ -3656,6 +3853,11 @@ namespace OpenTK.Graphics
Float32UnsignedInt248Rev = ((int)0X8dad),
}
public enum ArbDepthClamp
{
DepthClamp = ((int)0X864f),
}
public enum ArbDepthTexture
{
DepthComponent16Arb = ((int)0X81a5),
@ -3686,10 +3888,22 @@ namespace OpenTK.Graphics
DrawBuffer15Arb = ((int)0X8834),
}
public enum ArbDrawBuffersBlend
{
}
public enum ArbDrawElementsBaseVertex
{
}
public enum ArbDrawInstanced
{
}
public enum ArbFragmentCoordConventions
{
}
public enum ArbFragmentProgram
{
FragmentProgramArb = ((int)0X8804),
@ -4042,6 +4256,25 @@ namespace OpenTK.Graphics
CoordReplaceArb = ((int)0X8862),
}
public enum ArbProvokingVertex
{
QuadsFollowProvokingVertexConvention = ((int)0X8e4c),
FirstVertexConvention = ((int)0X8e4d),
LastVertexConvention = ((int)0X8e4e),
ProvokingVertex = ((int)0X8e4f),
}
public enum ArbSampleShading
{
SampleShading = ((int)0X8c36),
MinSampleShadingValue = ((int)0X8c37),
}
public enum ArbSeamlessCubeMap
{
TextureCubeMapSeamless = ((int)0X884f),
}
public enum ArbShaderObjects
{
ProgramObjectArb = ((int)0X8b40),
@ -4101,6 +4334,25 @@ namespace OpenTK.Graphics
TextureCompareFailValueArb = ((int)0X80bf),
}
public enum ArbSync
{
SyncFlushCommandsBit = ((int)0X00000001),
MaxServerWaitTimeout = ((int)0X9111),
ObjectType = ((int)0X9112),
SyncCondition = ((int)0X9113),
SyncStatus = ((int)0X9114),
SyncFlags = ((int)0X9115),
SyncFence = ((int)0X9116),
SyncGpuCommandsComplete = ((int)0X9117),
Unsignaled = ((int)0X9118),
Signaled = ((int)0X9119),
AlreadySignaled = ((int)0X911a),
TimeoutExpired = ((int)0X911b),
ConditionSatisfied = ((int)0X911c),
WaitFailed = ((int)0X911d),
TimeoutIgnored = unchecked((int)0Xffffffffffffffff),
}
public enum ArbTextureBorderClamp
{
ClampToBorderArb = ((int)0X812d),
@ -4154,6 +4406,17 @@ namespace OpenTK.Graphics
MaxCubeMapTextureSizeArb = ((int)0X851c),
}
public enum ArbTextureCubeMapArray
{
TextureCubeMapArray = ((int)0X9009),
TextureBindingCubeMapArray = ((int)0X900a),
ProxyTextureCubeMapArray = ((int)0X900b),
SamplerCubeMapArray = ((int)0X900c),
SamplerCubeMapArrayShadow = ((int)0X900d),
IntSamplerCubeMapArray = ((int)0X900e),
UnsignedIntSamplerCubeMapArray = ((int)0X900f),
}
public enum ArbTextureEnvAdd
{
}
@ -4218,15 +4481,51 @@ namespace OpenTK.Graphics
UnsignedNormalizedArb = ((int)0X8c17),
}
public enum ArbTextureGather
{
MinProgramTextureGatherOffset = ((int)0X8e5e),
MaxProgramTextureGatherOffset = ((int)0X8e5f),
MaxProgramTextureGatherComponents = ((int)0X8f9f),
}
public enum ArbTextureMirroredRepeat
{
MirroredRepeatArb = ((int)0X8370),
}
public enum ArbTextureMultisample
{
SamplePosition = ((int)0X8e50),
SampleMask = ((int)0X8e51),
SampleMaskValue = ((int)0X8e52),
MaxSampleMaskWords = ((int)0X8e59),
Texture2DMultisample = ((int)0X9100),
ProxyTexture2DMultisample = ((int)0X9101),
Texture2DMultisampleArray = ((int)0X9102),
ProxyTexture2DMultisampleArray = ((int)0X9103),
TextureBinding2DMultisample = ((int)0X9104),
TextureBinding2DMultisampleArray = ((int)0X9105),
TextureSamples = ((int)0X9106),
TextureFixedSampleLocations = ((int)0X9107),
Sampler2DMultisample = ((int)0X9108),
IntSampler2DMultisample = ((int)0X9109),
UnsignedIntSampler2DMultisample = ((int)0X910a),
Sampler2DMultisampleArray = ((int)0X910b),
IntSampler2DMultisampleArray = ((int)0X910c),
UnsignedIntSampler2DMultisampleArray = ((int)0X910d),
MaxColorTextureSamples = ((int)0X910e),
MaxDepthTextureSamples = ((int)0X910f),
MaxIntegerSamples = ((int)0X9110),
}
public enum ArbTextureNonPowerOfTwo
{
}
public enum ArbTextureQueryLod
{
}
public enum ArbTextureRectangle
{
TextureRectangleArb = ((int)0X84f5),
@ -4306,6 +4605,11 @@ namespace OpenTK.Graphics
InvalidIndex = unchecked((int)0Xffffffff),
}
public enum ArbVertexArrayBgra
{
Bgra = ((int)0X80e1),
}
public enum ArbVertexArrayObject
{
VertexArrayBinding = ((int)0X85b5),
@ -6220,6 +6524,34 @@ namespace OpenTK.Graphics
TextureSharedSizeExt = ((int)0X8c3f),
}
public enum ExtTextureSnorm
{
RgSnorm = ((int)0X8f91),
RgbSnorm = ((int)0X8f92),
RgbaSnorm = ((int)0X8f93),
R8Snorm = ((int)0X8f94),
Rg8Snorm = ((int)0X8f95),
Rgb8Snorm = ((int)0X8f96),
Rgba8Snorm = ((int)0X8f97),
R16Snorm = ((int)0X8f98),
Rg16Snorm = ((int)0X8f99),
Rgb16Snorm = ((int)0X8f9a),
Rgba16Snorm = ((int)0X8f9b),
SignedNormalized = ((int)0X8f9c),
AlphaSnorm = ((int)0X9010),
LuminanceSnorm = ((int)0X9011),
LuminanceAlphaSnorm = ((int)0X9012),
IntensitySnorm = ((int)0X9013),
Alpha8Snorm = ((int)0X9014),
Luminance8Snorm = ((int)0X9015),
Luminance8Alpha8Snorm = ((int)0X9016),
Intensity8Snorm = ((int)0X9017),
Alpha16Snorm = ((int)0X9018),
Luminance16Snorm = ((int)0X9019),
Luminance16Alpha16Snorm = ((int)0X901a),
Intensity16Snorm = ((int)0X901b),
}
public enum ExtTextureSrgb
{
SrgbExt = ((int)0X8c40),
@ -11029,6 +11361,8 @@ namespace OpenTK.Graphics
ClipDistance3 = ((int)0X3003),
ClipDistance4 = ((int)0X3004),
ClipDistance5 = ((int)0X3005),
ClipDistance6 = ((int)0X3006),
ClipDistance7 = ((int)0X3007),
FramebufferAttachmentColorEncoding = ((int)0X8210),
FramebufferAttachmentComponentType = ((int)0X8211),
FramebufferAttachmentRedSize = ((int)0X8212),
@ -11225,6 +11559,9 @@ namespace OpenTK.Graphics
QueryNoWait = ((int)0X8e14),
QueryByRegionWait = ((int)0X8e15),
QueryByRegionNoWait = ((int)0X8e16),
BufferAccessFlags = ((int)0X911f),
BufferMapLength = ((int)0X9120),
BufferMapOffset = ((int)0X9121),
}
public enum Version30Deprecated
@ -11301,6 +11638,76 @@ namespace OpenTK.Graphics
InvalidIndex = unchecked((int)0Xffffffff),
}
public enum Version32
{
ContextCoreProfileBit = ((int)0X00000001),
SyncFlushCommandsBit = ((int)0X00000001),
ContextCompatibilityProfileBit = ((int)0X00000002),
LinesAdjacency = ((int)0X000a),
LineStripAdjacency = ((int)0X000b),
TrianglesAdjacency = ((int)0X000c),
TriangleStripAdjacency = ((int)0X000d),
ProgramPointSize = ((int)0X8642),
DepthClamp = ((int)0X864f),
TextureCubeMapSeamless = ((int)0X884f),
GeometryVerticesOut = ((int)0X8916),
GeometryInputType = ((int)0X8917),
GeometryOutputType = ((int)0X8918),
MaxVaryingComponents = ((int)0X8b4b),
MaxGeometryTextureImageUnits = ((int)0X8c29),
FramebufferAttachmentTextureLayer = ((int)0X8cd4),
FramebufferAttachmentLayered = ((int)0X8da7),
FramebufferIncompleteLayerTargets = ((int)0X8da8),
GeometryShader = ((int)0X8dd9),
MaxGeometryUniformComponents = ((int)0X8ddf),
MaxGeometryOutputVertices = ((int)0X8de0),
MaxGeometryTotalOutputComponents = ((int)0X8de1),
QuadsFollowProvokingVertexConvention = ((int)0X8e4c),
FirstVertexConvention = ((int)0X8e4D),
LastVertexConvention = ((int)0X8e4e),
ProvokingVertex = ((int)0X8e4f),
SamplePosition = ((int)0X8e50),
SampleMask = ((int)0X8e51),
SampleMaskValue = ((int)0X8e52),
MaxSampleMaskWords = ((int)0X8e59),
Texture2DMultisample = ((int)0X9100),
ProxyTexture2DMultisample = ((int)0X9101),
Texture2DMultisampleArray = ((int)0X9102),
ProxyTexture2DMultisampleArray = ((int)0X9103),
TextureBinding2DMultisample = ((int)0X9104),
TextureBinding2DMultisampleArray = ((int)0X9105),
TextureSamples = ((int)0X9106),
TextureFixedSampleLocations = ((int)0X9107),
Sampler2DMultisample = ((int)0X9108),
IntSampler2DMultisample = ((int)0X9109),
UnsignedIntSampler2DMultisample = ((int)0X910a),
Sampler2DMultisampleArray = ((int)0X910b),
IntSampler2DMultisampleArray = ((int)0X910c),
UnsignedIntSampler2DMultisampleArray = ((int)0X910D),
MaxColorTextureSamples = ((int)0X910e),
MaxDepthTextureSamples = ((int)0X910f),
MaxIntegerSamples = ((int)0X9110),
MaxServerWaitTimeout = ((int)0X9111),
ObjectType = ((int)0X9112),
SyncCondition = ((int)0X9113),
SyncStatus = ((int)0X9114),
SyncFlags = ((int)0X9115),
SyncFence = ((int)0X9116),
SyncGpuCommandsComplete = ((int)0X9117),
Unsignaled = ((int)0X9118),
Signaled = ((int)0X9119),
AlreadySignaled = ((int)0X911a),
TimeoutExpired = ((int)0X911b),
ConditionSatisfied = ((int)0X911c),
WaitFailed = ((int)0X911D),
MaxVertexOutputComponents = ((int)0X9122),
MaxGeometryInputComponents = ((int)0X9123),
MaxGeometryOutputComponents = ((int)0X9124),
MaxFragmentInputComponents = ((int)0X9125),
ContextProfileMask = ((int)0X9126),
TimeoutIgnored = unchecked((int)0Xffffffffffffffff),
}
public enum VertexAttribParameter
{
ArrayEnabled = ((int)0X8622),

View file

@ -968,7 +968,7 @@ namespace OpenTK.Graphics
unsafe
{
int length;
GL.GetProgram(program, ProgramParameter.InfoLogLength, out length);
GL.GetProgram(program, OpenTK.Graphics.ProgramParameter.InfoLogLength, out length);
if (length == 0)
{
info = String.Empty;