Strongly-typed enums for ES 3.0 (WIP4)

Implemented sections: Texture Image Specification, Alternative Texture
Image Specification, Compressed Texture Images, Texture Parameters,
Manual Mipmap Generation and Enumerated Queries.
This commit is contained in:
Stefanos A 2013-11-04 22:27:06 +01:00
parent 6921509680
commit dcd2d03e59
5 changed files with 1034 additions and 220 deletions

View file

@ -5222,12 +5222,81 @@
</function>
<!-- Texture Image Specification [3.8.3-4] -->
<function name="TexImage2D">
<param name="target"><type>TextureTarget2d</type></param>
<param name="internalformat"><type>TextureComponentCount</type></param>
<param name="format"><type>PixelFormat</type></param>
<param name="type"><type>PixelType</type></param>
</function>
<function name="TexImage3D">
<param name="target"><type>TextureTarget3d</type></param>
<param name="internalformat"><type>PixelFormat</type></param>
<param name="internalformat"><type>TextureComponentCount</type></param>
<param name="format"><type>PixelFormat</type></param>
<param name="type"><type>PixelType</type></param>
</function>
<function name="TexStorage2D">
<param name="target"><type>TextureTarget2d</type></param>
<param name="internalformat"><type>SizedInternalFormat</type></param>
<param name="format"><type>PixelFormat</type></param>
<param name="type"><type>PixelType</type></param>
</function>
<function name="TexStorage3D">
<param name="target"><type>TextureTarget2d</type></param>
<param name="internalformat"><type>SizedInternalFormat</type></param>
<param name="format"><type>PixelFormat</type></param>
<param name="type"><type>PixelType</type></param>
</function>
<!-- Alt. Texture Image Specification Commands [3.8.5] -->
<function name="CopyTexImage2D">
<param name="target"><type>TextureTarget2d</type></param>
<param name="internalformat"><type>TextureCopyComponentCount</type></param>
</function>
<function name="TexSubImage2D">
<param name="target"><type>TextureTarget2d</type></param>
</function>
<function name="TexSubImage3D">
<param name="target"><type>TextureTarget3d</type></param>
</function>
<function name="CopyTexSubImage2D">
<param name="target"><type>TextureTarget2d</type></param>
</function>
<function name="CopyTexSubImage3D">
<param name="target"><type>TextureTarget3d</type></param>
</function>
<!-- Compressed Texture Images [3.8.6] -->
<function name="CompressedTexImage2D">
<param name="target"><type>TextureTarget2d</type></param>
<param name="internalformat"><type>CompressedInternalFormat</type></param>
</function>
<function name="CompressedTexImage3D">
<param name="target"><type>TextureTarget3d</type></param>
<param name="internalformat"><type>CompressedInternalFormat</type></param>
</function>
<function name="CompressedTexSubImage2D">
<param name="target"><type>TextureTarget2d</type></param>
</function>
<function name="CompressedTexSubImage3D">
<param name="target"><type>TextureTarget3d</type></param>
</function>
<!-- Texture Parameters [3.8.7] -->
<function name="TexParameter">
<param name="target"><type>TextureTarget</type></param>
<param name="pname"><type>TextureParameterName</type></param>
</function>
<!-- Manual Mipmap Generation [3.8.9] -->
<function name="GenerateMipmap">
<param name="target"><type>TextureTarget</type></param>
</function>
<!-- Enumerated Queries [6.1.3] -->
<function name="GetTexParameter">
<param name="target"><type>TextureTarget</type></param>
<param name="pname"><type>GetTextureParameterName</type></param>
</function>
</replace>
<add name="gles2" version="3.0">
@ -5369,6 +5438,18 @@
<use token="DEPTH_BUFFER_BIT" />
<use token="STENCIL_BUFFER_BIT" />
</enum>
<enum name="CompressedInternalFormat">
<use token="COMPRESSED_R11_EAC" />
<use token="COMPRESSED_SIGNED_R11_EAC" />
<use token="COMPRESSED_RG11_EAC" />
<use token="COMPRESSED_SIGNED_RG11_EAC" />
<use token="COMPRESSED_RGB8_ETC2" />
<use token="COMPRESSED_SRGB8_ETC2" />
<use token="COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2" />
<use token="COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2" />
<use token="COMPRESSED_RGBA8_ETC2_EAC" />
<use token="COMPRESSED_SRGB8_ALPHA8_ETC2_EAC" />
</enum>
<enum name="CullFaceMode">
<use token="FRONT" />
<use token="BACK" />
@ -5395,6 +5476,11 @@
<enum name="GetQueryParam">
<use token="CURRENT_QUERY" />
</enum>
<enum name="GetTextureParameterName">
<reuse enum="TextureParameterName" />
<use token="TEXTURE_IMMUTABLE_FORMAT" />
<use token="TEXTURE_IMMUTABLE_LEVELS" />
</enum>
<enum name="PixelFormat">
<use token="ALPHA" />
<use token="RGBA" />
@ -5482,11 +5568,11 @@
<use token="TEXTURE_COMPARE_FUNC" />
</enum>
<enum name="ShaderParameter">
<use token="ShaderType" />
<use token="DeleteStatus" />
<use token="CompileStatus" />
<use token="InfoLogLength" />
<use token="ShaderSourceLength" />
<use token="SHADER_TYPE" />
<use token="DELETE_STATUS" />
<use token="COMPILE_STATUS" />
<use token="INFO_LOG_LENGTH" />
<use token="SHADER_SOURCE_LENGTH" />
</enum>
<enum name="ShaderPrecision">
<use token="LOW_FLOAT" />
@ -5500,7 +5586,71 @@
<use token="VERTEX_SHADER" />
<use token="FRAGMENT_SHADER" />
</enum>
<enum name="SizedInternalFormat">
<use token="R8" />
<use token="R8I" />
<use token="R8UI" />
<use token="R8_SNORM" />
<use token="R16I" />
<use token="R16UI" />
<use token="R16F" />
<use token="R32I" />
<use token="R32UI" />
<use token="R32F" />
<use token="RG8" />
<use token="RG8I" />
<use token="RG8UI" />
<use token="RG8_SNORM" />
<use token="RG16I" />
<use token="RG16UI" />
<use token="RG16F" />
<use token="RG32I" />
<use token="RG32UI" />
<use token="RG32F" />
<use token="RGB5_A1" />
<use token="RGB565" />
<use token="RGB8" />
<use token="RGB8I" />
<use token="RGB8UI" />
<use token="RGB8_SNORM" />
<use token="RGB9_E5" />
<use token="RGB10_A2" />
<use token="RGB10_A2UI" />
<use token="RGB16I" />
<use token="RGB16UI" />
<use token="RGB16F" />
<use token="RGB32I" />
<use token="RGB32UI" />
<use token="RGB32F" />
<use token="SRGB8" />
<use token="RGBA4" />
<use token="RGBA8" />
<use token="RGBA8I" />
<use token="RGBA8UI" />
<use token="RGBA8_SNORM" />
<use token="RGBA16I" />
<use token="RGBA16UI" />
<use token="RGBA16F" />
<use token="RGBA32I" />
<use token="RGBA32UI" />
<use token="RGBA32F" />
<use token="SRGB8_ALPHA8" />
<use token="R11F_G11F_B10F" />
<use token="DEPTH_COMPONENT16" />
<use token="DEPTH_COMPONENT24" />
<use token="DEPTH_COMPONENT32F" />
<use token="DEPTH24_STENCIL8" />
<use token="DEPTH32F_STENCIL8" />
</enum>
<enum name="TextureComponentCount">
<reuse enum="SizedInternalFormat" />
<use token="RGB" />
<use token="RGBA" />
<use token="LUMINANCE_ALPHA" />
<use token="LUMINANCE" />
<use token="ALPHA" />
</enum>
<enum name="TextureCopyComponentCount">
<use token="R8" />
<use token="R8I" />
<use token="R8UI" />
@ -5552,21 +5702,42 @@
<use token="RGBA32F" />
<use token="SRGB8_ALPHA8" />
<use token="R11F_G11F_B10F" />
<use token="DEPTH_COMPONENT16" />
<use token="DEPTH_COMPONENT24" />
<use token="DEPTH_COMPONENT32F" />
<use token="DEPTH24_STENCIL8" />
<use token="DEPTH32F_STENCIL8" />
<use token="LUMINANCE_ALPHA" />
<use token="LUMINANCE" />
<use token="ALPHA" />
</enum>
<enum name="TextureParameterName">
<use token="TEXTURE_BASE_LEVEL" />
<use token="TEXTURE_MAX_LEVEL" />
<use token="TEXTURE_MIN_LOD" />
<use token="TEXTURE_MAX_LOD" />
<use token="TEXTURE_MIN_FILTER" />
<use token="TEXTURE_MAG_FILTER" />
<use token="TEXTURE_COMPARE_MODE" />
<use token="TEXTURE_COMPARE_FUNC" />
<use token="TEXTURE_SWIZZLE_R" />
<use token="TEXTURE_SWIZZLE_G" />
<use token="TEXTURE_SWIZZLE_B" />
<use token="TEXTURE_SWIZZLE_A" />
<use token="TEXTURE_WRAP_S" />
<use token="TEXTURE_WRAP_T" />
<use token="TEXTURE_WRAP_R" />
</enum>
<enum name="TextureTarget">
<use token="TEXTURE_2D" />
<use token="TEXTURE_3D" />
<use token="TEXTURE_2D_ARRAY" />
<use token="TEXTURE_CUBE_MAP" />
</enum>
<enum name="TextureTarget2d">
<use token="TEXTURE_2D" />
<use token="TEXTURE_CUBE_MAP_POSITIVE_X" />
<use token="TEXTURE_CUBE_MAP_POSITIVE_Y" />
<use token="TEXTURE_CUBE_MAP_POSITIVE_Z" />
<use token="TEXTURE_CUBE_MAP_NEGATIVE_X" />
<use token="TEXTURE_CUBE_MAP_NEGATIVE_Y" />
<use token="TEXTURE_CUBE_MAP_NEGATIVE_Z" />
</enum>
<enum name="TextureTarget3d">
<use token="TEXTURE_3D" />
<use token="TEXTURE_2D_ARRAY" />

File diff suppressed because it is too large Load diff

View file

@ -180,22 +180,22 @@ namespace OpenTK.Graphics.ES30
internal delegate void CompileShader(UInt32 shader);
internal static CompileShader glCompileShader;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void CompressedTexImage2D(OpenTK.Graphics.ES30.TextureTarget target, Int32 level, OpenTK.Graphics.ES30.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data);
internal delegate void CompressedTexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data);
internal static CompressedTexImage2D glCompressedTexImage2D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void CompressedTexImage3D(OpenTK.Graphics.ES30.TextureTarget target, Int32 level, OpenTK.Graphics.ES30.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data);
internal delegate void CompressedTexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data);
internal static CompressedTexImage3D glCompressedTexImage3D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void CompressedTexImage3DOES(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data);
internal delegate void CompressedTexImage3DOES(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data);
internal static CompressedTexImage3DOES glCompressedTexImage3DOES;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void CompressedTexSubImage2D(OpenTK.Graphics.ES30.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, Int32 imageSize, IntPtr data);
internal delegate void CompressedTexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, Int32 imageSize, IntPtr data);
internal static CompressedTexSubImage2D glCompressedTexSubImage2D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void CompressedTexSubImage3D(OpenTK.Graphics.ES30.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.PixelFormat format, Int32 imageSize, IntPtr data);
internal delegate void CompressedTexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.PixelFormat format, Int32 imageSize, IntPtr data);
internal static CompressedTexSubImage3D glCompressedTexSubImage3D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void CompressedTexSubImage3DOES(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, Int32 imageSize, IntPtr data);
internal delegate void CompressedTexSubImage3DOES(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, Int32 imageSize, IntPtr data);
internal static CompressedTexSubImage3DOES glCompressedTexSubImage3DOES;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void CopyBufferSubData(OpenTK.Graphics.ES30.All readTarget, OpenTK.Graphics.ES30.All writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size);
@ -204,16 +204,16 @@ namespace OpenTK.Graphics.ES30
internal delegate void CopyBufferSubDataNV(OpenTK.Graphics.ES30.All readTarget, OpenTK.Graphics.ES30.All writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size);
internal static CopyBufferSubDataNV glCopyBufferSubDataNV;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void CopyTexImage2D(OpenTK.Graphics.ES30.TextureTarget target, Int32 level, OpenTK.Graphics.ES30.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border);
internal delegate void CopyTexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.TextureCopyComponentCount internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border);
internal static CopyTexImage2D glCopyTexImage2D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void CopyTexSubImage2D(OpenTK.Graphics.ES30.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height);
internal delegate void CopyTexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d 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 CopyTexSubImage3D(OpenTK.Graphics.ES30.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height);
internal delegate void CopyTexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height);
internal static CopyTexSubImage3D glCopyTexSubImage3D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void CopyTexSubImage3DOES(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height);
internal delegate void CopyTexSubImage3DOES(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height);
internal static CopyTexSubImage3DOES glCopyTexSubImage3DOES;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void CopyTextureLevelsAPPLE(UInt32 destinationTexture, UInt32 sourceTexture, Int32 sourceBaseLevel, Int32 sourceLevelCount);
@ -738,10 +738,10 @@ namespace OpenTK.Graphics.ES30
internal unsafe delegate void GetSyncivAPPLE(IntPtr sync, OpenTK.Graphics.ES30.All pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values);
internal unsafe static GetSyncivAPPLE glGetSyncivAPPLE;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetTexParameterfv(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.GetTextureParameter pname, [OutAttribute] Single* @params);
internal unsafe delegate void GetTexParameterfv(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.GetTextureParameterName pname, [OutAttribute] Single* @params);
internal unsafe static GetTexParameterfv glGetTexParameterfv;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetTexParameteriv(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.GetTextureParameter pname, [OutAttribute] Int32* @params);
internal unsafe delegate void GetTexParameteriv(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.GetTextureParameterName pname, [OutAttribute] Int32* @params);
internal unsafe static GetTexParameteriv glGetTexParameteriv;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.TransformFeedbackType* type, [OutAttribute] StringBuilder name);
@ -1122,13 +1122,13 @@ namespace OpenTK.Graphics.ES30
internal delegate bool TestFenceNV(UInt32 fence);
internal static TestFenceNV glTestFenceNV;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void TexImage2D(OpenTK.Graphics.ES30.TextureTarget target, Int32 level, OpenTK.Graphics.ES30.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels);
internal delegate void TexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels);
internal static TexImage2D glTexImage2D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void TexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.PixelFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels);
internal delegate void TexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels);
internal static TexImage3D glTexImage3D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void TexImage3DOES(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.PixelFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.All type, IntPtr pixels);
internal delegate void TexImage3DOES(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels);
internal static TexImage3DOES glTexImage3DOES;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void TexParameterf(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.TextureParameterName pname, Single param);
@ -1146,25 +1146,25 @@ namespace OpenTK.Graphics.ES30
internal delegate void TexStorage1DEXT(OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width);
internal static TexStorage1DEXT glTexStorage1DEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void TexStorage2D(OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height);
internal delegate void TexStorage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 levels, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, Int32 width, Int32 height);
internal static TexStorage2D glTexStorage2D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void TexStorage2DEXT(OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height);
internal delegate void TexStorage2DEXT(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 levels, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, Int32 width, Int32 height);
internal static TexStorage2DEXT glTexStorage2DEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void TexStorage3D(OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth);
internal delegate void TexStorage3D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 levels, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth);
internal static TexStorage3D glTexStorage3D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void TexStorage3DEXT(OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth);
internal delegate void TexStorage3DEXT(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 levels, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth);
internal static TexStorage3DEXT glTexStorage3DEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void TexSubImage2D(OpenTK.Graphics.ES30.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels);
internal delegate void TexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels);
internal static TexSubImage2D glTexSubImage2D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void TexSubImage3D(OpenTK.Graphics.ES30.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels);
internal delegate void TexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels);
internal static TexSubImage3D glTexSubImage3D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void TexSubImage3DOES(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, IntPtr pixels);
internal delegate void TexSubImage3DOES(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, IntPtr pixels);
internal static TexSubImage3DOES glTexSubImage3DOES;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void TextureStorage1DEXT(UInt32 texture, OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width);

View file

@ -385,7 +385,7 @@ namespace OpenTK.Graphics.ES30
}
/// <summary>
/// Used in GL.Amd.GetPerfMonitorCounterData, GL.Amd.GetPerfMonitorCounterInfo and 86 other functions
/// Used in GL.Amd.GetPerfMonitorCounterData, GL.Amd.GetPerfMonitorCounterInfo and 79 other functions
/// </summary>
public enum All : int
{
@ -9944,6 +9944,53 @@ namespace OpenTK.Graphics.ES30
ProxyPostColorMatrixColorTableSgi = ((int)0x80D5) ,
}
/// <summary>
/// Used in GL.CompressedTexImage2D, GL.CompressedTexImage3D and 1 other function
/// </summary>
public enum CompressedInternalFormat : int
{
/// <summary>
/// Original was GL_COMPRESSED_R11_EAC = 0x9270
/// </summary>
CompressedR11Eac = ((int)0x9270) ,
/// <summary>
/// Original was GL_COMPRESSED_SIGNED_R11_EAC = 0x9271
/// </summary>
CompressedSignedR11Eac = ((int)0x9271) ,
/// <summary>
/// Original was GL_COMPRESSED_RG11_EAC = 0x9272
/// </summary>
CompressedRg11Eac = ((int)0x9272) ,
/// <summary>
/// Original was GL_COMPRESSED_SIGNED_RG11_EAC = 0x9273
/// </summary>
CompressedSignedRg11Eac = ((int)0x9273) ,
/// <summary>
/// Original was GL_COMPRESSED_RGB8_ETC2 = 0x9274
/// </summary>
CompressedRgb8Etc2 = ((int)0x9274) ,
/// <summary>
/// Original was GL_COMPRESSED_SRGB8_ETC2 = 0x9275
/// </summary>
CompressedSrgb8Etc2 = ((int)0x9275) ,
/// <summary>
/// Original was GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 = 0x9276
/// </summary>
CompressedRgb8PunchthroughAlpha1Etc2 = ((int)0x9276) ,
/// <summary>
/// Original was GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 = 0x9277
/// </summary>
CompressedSrgb8PunchthroughAlpha1Etc2 = ((int)0x9277) ,
/// <summary>
/// Original was GL_COMPRESSED_RGBA8_ETC2_EAC = 0x9278
/// </summary>
CompressedRgba8Etc2Eac = ((int)0x9278) ,
/// <summary>
/// Original was GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC = 0x9279
/// </summary>
CompressedSrgb8Alpha8Etc2Eac = ((int)0x9279) ,
}
/// <summary>
/// Not used directly.
/// </summary>
@ -16546,7 +16593,7 @@ namespace OpenTK.Graphics.ES30
}
/// <summary>
/// Used in GL.GetTexParameter
/// Not used directly.
/// </summary>
public enum GetTextureParameter : int
{
@ -16768,6 +16815,81 @@ namespace OpenTK.Graphics.ES30
TextureMaxClampRSgix = ((int)0x836B) ,
}
/// <summary>
/// Used in GL.GetTexParameter
/// </summary>
public enum GetTextureParameterName : int
{
/// <summary>
/// Original was GL_TEXTURE_MAG_FILTER = 0x2800
/// </summary>
TextureMagFilter = ((int)0x2800) ,
/// <summary>
/// Original was GL_TEXTURE_MIN_FILTER = 0x2801
/// </summary>
TextureMinFilter = ((int)0x2801) ,
/// <summary>
/// Original was GL_TEXTURE_WRAP_S = 0x2802
/// </summary>
TextureWrapS = ((int)0x2802) ,
/// <summary>
/// Original was GL_TEXTURE_WRAP_T = 0x2803
/// </summary>
TextureWrapT = ((int)0x2803) ,
/// <summary>
/// Original was GL_TEXTURE_WRAP_R = 0x8072
/// </summary>
TextureWrapR = ((int)0x8072) ,
/// <summary>
/// Original was GL_TEXTURE_MIN_LOD = 0x813A
/// </summary>
TextureMinLod = ((int)0x813A) ,
/// <summary>
/// Original was GL_TEXTURE_MAX_LOD = 0x813B
/// </summary>
TextureMaxLod = ((int)0x813B) ,
/// <summary>
/// Original was GL_TEXTURE_BASE_LEVEL = 0x813C
/// </summary>
TextureBaseLevel = ((int)0x813C) ,
/// <summary>
/// Original was GL_TEXTURE_MAX_LEVEL = 0x813D
/// </summary>
TextureMaxLevel = ((int)0x813D) ,
/// <summary>
/// Original was GL_TEXTURE_IMMUTABLE_LEVELS = 0x82DF
/// </summary>
TextureImmutableLevels = ((int)0x82DF) ,
/// <summary>
/// Original was GL_TEXTURE_COMPARE_MODE = 0x884C
/// </summary>
TextureCompareMode = ((int)0x884C) ,
/// <summary>
/// Original was GL_TEXTURE_COMPARE_FUNC = 0x884D
/// </summary>
TextureCompareFunc = ((int)0x884D) ,
/// <summary>
/// Original was GL_TEXTURE_SWIZZLE_R = 0x8E42
/// </summary>
TextureSwizzleR = ((int)0x8E42) ,
/// <summary>
/// Original was GL_TEXTURE_SWIZZLE_G = 0x8E43
/// </summary>
TextureSwizzleG = ((int)0x8E43) ,
/// <summary>
/// Original was GL_TEXTURE_SWIZZLE_B = 0x8E44
/// </summary>
TextureSwizzleB = ((int)0x8E44) ,
/// <summary>
/// Original was GL_TEXTURE_SWIZZLE_A = 0x8E45
/// </summary>
TextureSwizzleA = ((int)0x8E45) ,
/// <summary>
/// Original was GL_TEXTURE_IMMUTABLE_FORMAT = 0x912F
/// </summary>
TextureImmutableFormat = ((int)0x912F) ,
}
/// <summary>
/// Used in GL.Hint
/// </summary>
@ -20298,7 +20420,7 @@ namespace OpenTK.Graphics.ES30
}
/// <summary>
/// Used in GL.CompressedTexImage2D, GL.CompressedTexImage3D and 2 other functions
/// Not used directly.
/// </summary>
public enum PixelInternalFormat : int
{
@ -20822,7 +20944,7 @@ namespace OpenTK.Graphics.ES30
}
/// <summary>
/// Used in GL.ReadPixels, GL.TexImage2D and 3 other functions
/// Used in GL.ReadPixels, GL.TexImage2D and 4 other functions
/// </summary>
public enum PixelType : int
{
@ -21867,25 +21989,25 @@ namespace OpenTK.Graphics.ES30
public enum ShaderParameter : int
{
/// <summary>
/// Original was GL_ShaderType = 0X8b4f
/// Original was GL_SHADER_TYPE = 0x8B4F
/// </summary>
ShaderType = ((int)0X8b4f) ,
ShaderType = ((int)0x8B4F) ,
/// <summary>
/// Original was GL_DeleteStatus = 0X8b80
/// Original was GL_DELETE_STATUS = 0x8B80
/// </summary>
DeleteStatus = ((int)0X8b80) ,
DeleteStatus = ((int)0x8B80) ,
/// <summary>
/// Original was GL_CompileStatus = 0X8b81
/// Original was GL_COMPILE_STATUS = 0x8B81
/// </summary>
CompileStatus = ((int)0X8b81) ,
CompileStatus = ((int)0x8B81) ,
/// <summary>
/// Original was GL_InfoLogLength = 0X8b84
/// Original was GL_INFO_LOG_LENGTH = 0x8B84
/// </summary>
InfoLogLength = ((int)0X8b84) ,
InfoLogLength = ((int)0x8B84) ,
/// <summary>
/// Original was GL_ShaderSourceLength = 0X8b88
/// Original was GL_SHADER_SOURCE_LENGTH = 0x8B88
/// </summary>
ShaderSourceLength = ((int)0X8b88) ,
ShaderSourceLength = ((int)0x8B88) ,
}
/// <summary>
@ -21949,6 +22071,229 @@ namespace OpenTK.Graphics.ES30
Smooth = ((int)0x1D01) ,
}
/// <summary>
/// Used in GL.TexStorage2D, GL.TexStorage3D and 2 other functions
/// </summary>
public enum SizedInternalFormat : int
{
/// <summary>
/// Original was GL_RGB8 = 0x8051
/// </summary>
Rgb8 = ((int)0x8051) ,
/// <summary>
/// Original was GL_RGBA4 = 0X8056
/// </summary>
Rgba4 = ((int)0X8056) ,
/// <summary>
/// Original was GL_RGB5_A1 = 0x8057
/// </summary>
Rgb5A1 = ((int)0x8057) ,
/// <summary>
/// Original was GL_RGBA8 = 0x8058
/// </summary>
Rgba8 = ((int)0x8058) ,
/// <summary>
/// Original was GL_RGB10_A2 = 0x8059
/// </summary>
Rgb10A2 = ((int)0x8059) ,
/// <summary>
/// Original was GL_DEPTH_COMPONENT16 = 0x81A5
/// </summary>
DepthComponent16 = ((int)0x81A5) ,
/// <summary>
/// Original was GL_DEPTH_COMPONENT24 = 0x81A6
/// </summary>
DepthComponent24 = ((int)0x81A6) ,
/// <summary>
/// Original was GL_R8 = 0x8229
/// </summary>
R8 = ((int)0x8229) ,
/// <summary>
/// Original was GL_RG8 = 0x822B
/// </summary>
Rg8 = ((int)0x822B) ,
/// <summary>
/// Original was GL_R16F = 0x822D
/// </summary>
R16f = ((int)0x822D) ,
/// <summary>
/// Original was GL_R32F = 0x822E
/// </summary>
R32f = ((int)0x822E) ,
/// <summary>
/// Original was GL_RG16F = 0x822F
/// </summary>
Rg16f = ((int)0x822F) ,
/// <summary>
/// Original was GL_RG32F = 0x8230
/// </summary>
Rg32f = ((int)0x8230) ,
/// <summary>
/// Original was GL_R8I = 0x8231
/// </summary>
R8i = ((int)0x8231) ,
/// <summary>
/// Original was GL_R8UI = 0x8232
/// </summary>
R8ui = ((int)0x8232) ,
/// <summary>
/// Original was GL_R16I = 0x8233
/// </summary>
R16i = ((int)0x8233) ,
/// <summary>
/// Original was GL_R16UI = 0x8234
/// </summary>
R16ui = ((int)0x8234) ,
/// <summary>
/// Original was GL_R32I = 0x8235
/// </summary>
R32i = ((int)0x8235) ,
/// <summary>
/// Original was GL_R32UI = 0x8236
/// </summary>
R32ui = ((int)0x8236) ,
/// <summary>
/// Original was GL_RG8I = 0x8237
/// </summary>
Rg8i = ((int)0x8237) ,
/// <summary>
/// Original was GL_RG8UI = 0x8238
/// </summary>
Rg8ui = ((int)0x8238) ,
/// <summary>
/// Original was GL_RG16I = 0x8239
/// </summary>
Rg16i = ((int)0x8239) ,
/// <summary>
/// Original was GL_RG16UI = 0x823A
/// </summary>
Rg16ui = ((int)0x823A) ,
/// <summary>
/// Original was GL_RG32I = 0x823B
/// </summary>
Rg32i = ((int)0x823B) ,
/// <summary>
/// Original was GL_RG32UI = 0x823C
/// </summary>
Rg32ui = ((int)0x823C) ,
/// <summary>
/// Original was GL_RGBA32F = 0x8814
/// </summary>
Rgba32f = ((int)0x8814) ,
/// <summary>
/// Original was GL_RGB32F = 0x8815
/// </summary>
Rgb32f = ((int)0x8815) ,
/// <summary>
/// Original was GL_RGBA16F = 0x881A
/// </summary>
Rgba16f = ((int)0x881A) ,
/// <summary>
/// Original was GL_RGB16F = 0x881B
/// </summary>
Rgb16f = ((int)0x881B) ,
/// <summary>
/// Original was GL_DEPTH24_STENCIL8 = 0x88F0
/// </summary>
Depth24Stencil8 = ((int)0x88F0) ,
/// <summary>
/// Original was GL_R11F_G11F_B10F = 0x8C3A
/// </summary>
R11fG11fB10f = ((int)0x8C3A) ,
/// <summary>
/// Original was GL_RGB9_E5 = 0x8C3D
/// </summary>
Rgb9E5 = ((int)0x8C3D) ,
/// <summary>
/// Original was GL_SRGB8 = 0x8C41
/// </summary>
Srgb8 = ((int)0x8C41) ,
/// <summary>
/// Original was GL_SRGB8_ALPHA8 = 0x8C43
/// </summary>
Srgb8Alpha8 = ((int)0x8C43) ,
/// <summary>
/// Original was GL_DEPTH_COMPONENT32F = 0x8CAC
/// </summary>
DepthComponent32f = ((int)0x8CAC) ,
/// <summary>
/// Original was GL_DEPTH32F_STENCIL8 = 0x8CAD
/// </summary>
Depth32fStencil8 = ((int)0x8CAD) ,
/// <summary>
/// Original was GL_RGB565 = 0X8d62
/// </summary>
Rgb565 = ((int)0X8d62) ,
/// <summary>
/// Original was GL_RGBA32UI = 0x8D70
/// </summary>
Rgba32ui = ((int)0x8D70) ,
/// <summary>
/// Original was GL_RGB32UI = 0x8D71
/// </summary>
Rgb32ui = ((int)0x8D71) ,
/// <summary>
/// Original was GL_RGBA16UI = 0x8D76
/// </summary>
Rgba16ui = ((int)0x8D76) ,
/// <summary>
/// Original was GL_RGB16UI = 0x8D77
/// </summary>
Rgb16ui = ((int)0x8D77) ,
/// <summary>
/// Original was GL_RGBA8UI = 0x8D7C
/// </summary>
Rgba8ui = ((int)0x8D7C) ,
/// <summary>
/// Original was GL_RGB8UI = 0x8D7D
/// </summary>
Rgb8ui = ((int)0x8D7D) ,
/// <summary>
/// Original was GL_RGBA32I = 0x8D82
/// </summary>
Rgba32i = ((int)0x8D82) ,
/// <summary>
/// Original was GL_RGB32I = 0x8D83
/// </summary>
Rgb32i = ((int)0x8D83) ,
/// <summary>
/// Original was GL_RGBA16I = 0x8D88
/// </summary>
Rgba16i = ((int)0x8D88) ,
/// <summary>
/// Original was GL_RGB16I = 0x8D89
/// </summary>
Rgb16i = ((int)0x8D89) ,
/// <summary>
/// Original was GL_RGBA8I = 0x8D8E
/// </summary>
Rgba8i = ((int)0x8D8E) ,
/// <summary>
/// Original was GL_RGB8I = 0x8D8F
/// </summary>
Rgb8i = ((int)0x8D8F) ,
/// <summary>
/// Original was GL_R8_SNORM = 0x8F94
/// </summary>
R8Snorm = ((int)0x8F94) ,
/// <summary>
/// Original was GL_RG8_SNORM = 0x8F95
/// </summary>
Rg8Snorm = ((int)0x8F95) ,
/// <summary>
/// Original was GL_RGB8_SNORM = 0x8F96
/// </summary>
Rgb8Snorm = ((int)0x8F96) ,
/// <summary>
/// Original was GL_RGBA8_SNORM = 0x8F97
/// </summary>
Rgba8Snorm = ((int)0x8F97) ,
/// <summary>
/// Original was GL_RGB10_A2UI = 0x906F
/// </summary>
Rgb10A2ui = ((int)0x906F) ,
}
/// <summary>
/// Used in GL.StencilFunc, GL.StencilFuncSeparate
/// </summary>
@ -22078,7 +22423,7 @@ namespace OpenTK.Graphics.ES30
}
/// <summary>
/// Not used directly.
/// Used in GL.TexImage2D, GL.TexImage3D and 1 other function
/// </summary>
public enum TextureComponentCount : int
{
@ -22343,6 +22688,229 @@ namespace OpenTK.Graphics.ES30
Q = ((int)0x2003) ,
}
/// <summary>
/// Used in GL.CopyTexImage2D
/// </summary>
public enum TextureCopyComponentCount : int
{
/// <summary>
/// Original was GL_ALPHA = 0X1906
/// </summary>
Alpha = ((int)0X1906) ,
/// <summary>
/// Original was GL_RGB = 0X1907
/// </summary>
Rgb = ((int)0X1907) ,
/// <summary>
/// Original was GL_RGBA = 0X1908
/// </summary>
Rgba = ((int)0X1908) ,
/// <summary>
/// Original was GL_LUMINANCE = 0X1909
/// </summary>
Luminance = ((int)0X1909) ,
/// <summary>
/// Original was GL_LUMINANCE_ALPHA = 0x190A
/// </summary>
LuminanceAlpha = ((int)0x190A) ,
/// <summary>
/// Original was GL_RGB8 = 0x8051
/// </summary>
Rgb8 = ((int)0x8051) ,
/// <summary>
/// Original was GL_RGBA4 = 0X8056
/// </summary>
Rgba4 = ((int)0X8056) ,
/// <summary>
/// Original was GL_RGB5_A1 = 0x8057
/// </summary>
Rgb5A1 = ((int)0x8057) ,
/// <summary>
/// Original was GL_RGBA8 = 0x8058
/// </summary>
Rgba8 = ((int)0x8058) ,
/// <summary>
/// Original was GL_RGB10_A2 = 0x8059
/// </summary>
Rgb10A2 = ((int)0x8059) ,
/// <summary>
/// Original was GL_R8 = 0x8229
/// </summary>
R8 = ((int)0x8229) ,
/// <summary>
/// Original was GL_RG8 = 0x822B
/// </summary>
Rg8 = ((int)0x822B) ,
/// <summary>
/// Original was GL_R16F = 0x822D
/// </summary>
R16f = ((int)0x822D) ,
/// <summary>
/// Original was GL_R32F = 0x822E
/// </summary>
R32f = ((int)0x822E) ,
/// <summary>
/// Original was GL_RG16F = 0x822F
/// </summary>
Rg16f = ((int)0x822F) ,
/// <summary>
/// Original was GL_RG32F = 0x8230
/// </summary>
Rg32f = ((int)0x8230) ,
/// <summary>
/// Original was GL_R8I = 0x8231
/// </summary>
R8i = ((int)0x8231) ,
/// <summary>
/// Original was GL_R8UI = 0x8232
/// </summary>
R8ui = ((int)0x8232) ,
/// <summary>
/// Original was GL_R16I = 0x8233
/// </summary>
R16i = ((int)0x8233) ,
/// <summary>
/// Original was GL_R16UI = 0x8234
/// </summary>
R16ui = ((int)0x8234) ,
/// <summary>
/// Original was GL_R32I = 0x8235
/// </summary>
R32i = ((int)0x8235) ,
/// <summary>
/// Original was GL_R32UI = 0x8236
/// </summary>
R32ui = ((int)0x8236) ,
/// <summary>
/// Original was GL_RG8I = 0x8237
/// </summary>
Rg8i = ((int)0x8237) ,
/// <summary>
/// Original was GL_RG8UI = 0x8238
/// </summary>
Rg8ui = ((int)0x8238) ,
/// <summary>
/// Original was GL_RG16I = 0x8239
/// </summary>
Rg16i = ((int)0x8239) ,
/// <summary>
/// Original was GL_RG16UI = 0x823A
/// </summary>
Rg16ui = ((int)0x823A) ,
/// <summary>
/// Original was GL_RG32I = 0x823B
/// </summary>
Rg32i = ((int)0x823B) ,
/// <summary>
/// Original was GL_RG32UI = 0x823C
/// </summary>
Rg32ui = ((int)0x823C) ,
/// <summary>
/// Original was GL_RGBA32F = 0x8814
/// </summary>
Rgba32f = ((int)0x8814) ,
/// <summary>
/// Original was GL_RGB32F = 0x8815
/// </summary>
Rgb32f = ((int)0x8815) ,
/// <summary>
/// Original was GL_RGBA16F = 0x881A
/// </summary>
Rgba16f = ((int)0x881A) ,
/// <summary>
/// Original was GL_RGB16F = 0x881B
/// </summary>
Rgb16f = ((int)0x881B) ,
/// <summary>
/// Original was GL_R11F_G11F_B10F = 0x8C3A
/// </summary>
R11fG11fB10f = ((int)0x8C3A) ,
/// <summary>
/// Original was GL_RGB9_E5 = 0x8C3D
/// </summary>
Rgb9E5 = ((int)0x8C3D) ,
/// <summary>
/// Original was GL_SRGB8 = 0x8C41
/// </summary>
Srgb8 = ((int)0x8C41) ,
/// <summary>
/// Original was GL_SRGB8_ALPHA8 = 0x8C43
/// </summary>
Srgb8Alpha8 = ((int)0x8C43) ,
/// <summary>
/// Original was GL_RGB565 = 0X8d62
/// </summary>
Rgb565 = ((int)0X8d62) ,
/// <summary>
/// Original was GL_RGBA32UI = 0x8D70
/// </summary>
Rgba32ui = ((int)0x8D70) ,
/// <summary>
/// Original was GL_RGB32UI = 0x8D71
/// </summary>
Rgb32ui = ((int)0x8D71) ,
/// <summary>
/// Original was GL_RGBA16UI = 0x8D76
/// </summary>
Rgba16ui = ((int)0x8D76) ,
/// <summary>
/// Original was GL_RGB16UI = 0x8D77
/// </summary>
Rgb16ui = ((int)0x8D77) ,
/// <summary>
/// Original was GL_RGBA8UI = 0x8D7C
/// </summary>
Rgba8ui = ((int)0x8D7C) ,
/// <summary>
/// Original was GL_RGB8UI = 0x8D7D
/// </summary>
Rgb8ui = ((int)0x8D7D) ,
/// <summary>
/// Original was GL_RGBA32I = 0x8D82
/// </summary>
Rgba32i = ((int)0x8D82) ,
/// <summary>
/// Original was GL_RGB32I = 0x8D83
/// </summary>
Rgb32i = ((int)0x8D83) ,
/// <summary>
/// Original was GL_RGBA16I = 0x8D88
/// </summary>
Rgba16i = ((int)0x8D88) ,
/// <summary>
/// Original was GL_RGB16I = 0x8D89
/// </summary>
Rgb16i = ((int)0x8D89) ,
/// <summary>
/// Original was GL_RGBA8I = 0x8D8E
/// </summary>
Rgba8i = ((int)0x8D8E) ,
/// <summary>
/// Original was GL_RGB8I = 0x8D8F
/// </summary>
Rgb8i = ((int)0x8D8F) ,
/// <summary>
/// Original was GL_R8_SNORM = 0x8F94
/// </summary>
R8Snorm = ((int)0x8F94) ,
/// <summary>
/// Original was GL_RG8_SNORM = 0x8F95
/// </summary>
Rg8Snorm = ((int)0x8F95) ,
/// <summary>
/// Original was GL_RGB8_SNORM = 0x8F96
/// </summary>
Rgb8Snorm = ((int)0x8F96) ,
/// <summary>
/// Original was GL_RGBA8_SNORM = 0x8F97
/// </summary>
Rgba8Snorm = ((int)0x8F97) ,
/// <summary>
/// Original was GL_RGB10_A2UI = 0x906F
/// </summary>
Rgb10A2ui = ((int)0x906F) ,
}
/// <summary>
/// Not used directly.
/// </summary>
@ -22669,6 +23237,22 @@ namespace OpenTK.Graphics.ES30
/// </summary>
TextureWrapQSgis = ((int)0x8137) ,
/// <summary>
/// Original was GL_TEXTURE_MIN_LOD = 0x813A
/// </summary>
TextureMinLod = ((int)0x813A) ,
/// <summary>
/// Original was GL_TEXTURE_MAX_LOD = 0x813B
/// </summary>
TextureMaxLod = ((int)0x813B) ,
/// <summary>
/// Original was GL_TEXTURE_BASE_LEVEL = 0x813C
/// </summary>
TextureBaseLevel = ((int)0x813C) ,
/// <summary>
/// Original was GL_TEXTURE_MAX_LEVEL = 0x813D
/// </summary>
TextureMaxLevel = ((int)0x813D) ,
/// <summary>
/// Original was GL_TEXTURE_CLIPMAP_CENTER_SGIX = 0x8171
/// </summary>
TextureClipmapCenterSgix = ((int)0x8171) ,
@ -22736,10 +23320,34 @@ namespace OpenTK.Graphics.ES30
/// Original was GL_TEXTURE_MAX_CLAMP_R_SGIX = 0x836B
/// </summary>
TextureMaxClampRSgix = ((int)0x836B) ,
/// <summary>
/// Original was GL_TEXTURE_COMPARE_MODE = 0x884C
/// </summary>
TextureCompareMode = ((int)0x884C) ,
/// <summary>
/// Original was GL_TEXTURE_COMPARE_FUNC = 0x884D
/// </summary>
TextureCompareFunc = ((int)0x884D) ,
/// <summary>
/// Original was GL_TEXTURE_SWIZZLE_R = 0x8E42
/// </summary>
TextureSwizzleR = ((int)0x8E42) ,
/// <summary>
/// Original was GL_TEXTURE_SWIZZLE_G = 0x8E43
/// </summary>
TextureSwizzleG = ((int)0x8E43) ,
/// <summary>
/// Original was GL_TEXTURE_SWIZZLE_B = 0x8E44
/// </summary>
TextureSwizzleB = ((int)0x8E44) ,
/// <summary>
/// Original was GL_TEXTURE_SWIZZLE_A = 0x8E45
/// </summary>
TextureSwizzleA = ((int)0x8E45) ,
}
/// <summary>
/// Used in GL.BindTexture, GL.CompressedTexImage2D and 13 other functions
/// Used in GL.BindTexture, GL.FramebufferTexture2D and 3 other functions
/// </summary>
public enum TextureTarget : int
{
@ -22866,7 +23474,42 @@ namespace OpenTK.Graphics.ES30
}
/// <summary>
/// Used in GL.TexImage3D, GL.Oes.TexImage3D
/// Used in GL.CompressedTexImage2D, GL.CompressedTexSubImage2D and 8 other functions
/// </summary>
public enum TextureTarget2d : int
{
/// <summary>
/// Original was GL_TEXTURE_2D = 0x0DE1
/// </summary>
Texture2D = ((int)0x0DE1) ,
/// <summary>
/// Original was GL_TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515
/// </summary>
TextureCubeMapPositiveX = ((int)0x8515) ,
/// <summary>
/// Original was GL_TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516
/// </summary>
TextureCubeMapNegativeX = ((int)0x8516) ,
/// <summary>
/// Original was GL_TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517
/// </summary>
TextureCubeMapPositiveY = ((int)0x8517) ,
/// <summary>
/// Original was GL_TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518
/// </summary>
TextureCubeMapNegativeY = ((int)0x8518) ,
/// <summary>
/// Original was GL_TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519
/// </summary>
TextureCubeMapPositiveZ = ((int)0x8519) ,
/// <summary>
/// Original was GL_TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A
/// </summary>
TextureCubeMapNegativeZ = ((int)0x851A) ,
}
/// <summary>
/// Used in GL.CompressedTexImage3D, GL.CompressedTexSubImage3D and 8 other functions
/// </summary>
public enum TextureTarget3d : int
{

View file

@ -182,22 +182,22 @@ namespace OpenTK.Graphics.ES30
internal extern static void CompileShader(UInt32 shader);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexImage2D", ExactSpelling = true)]
internal extern static void CompressedTexImage2D(OpenTK.Graphics.ES30.TextureTarget target, Int32 level, OpenTK.Graphics.ES30.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data);
internal extern static void CompressedTexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexImage3D", ExactSpelling = true)]
internal extern static void CompressedTexImage3D(OpenTK.Graphics.ES30.TextureTarget target, Int32 level, OpenTK.Graphics.ES30.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data);
internal extern static void CompressedTexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexImage3DOES", ExactSpelling = true)]
internal extern static void CompressedTexImage3DOES(OpenTK.Graphics.ES30.All target, Int32 level, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data);
internal extern static void CompressedTexImage3DOES(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexSubImage2D", ExactSpelling = true)]
internal extern static void CompressedTexSubImage2D(OpenTK.Graphics.ES30.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, Int32 imageSize, IntPtr data);
internal extern static void CompressedTexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, Int32 imageSize, IntPtr data);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexSubImage3D", ExactSpelling = true)]
internal extern static void CompressedTexSubImage3D(OpenTK.Graphics.ES30.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.PixelFormat format, Int32 imageSize, IntPtr data);
internal extern static void CompressedTexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.PixelFormat format, Int32 imageSize, IntPtr data);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexSubImage3DOES", ExactSpelling = true)]
internal extern static void CompressedTexSubImage3DOES(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, Int32 imageSize, IntPtr data);
internal extern static void CompressedTexSubImage3DOES(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, Int32 imageSize, IntPtr data);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyBufferSubData", ExactSpelling = true)]
internal extern static void CopyBufferSubData(OpenTK.Graphics.ES30.All readTarget, OpenTK.Graphics.ES30.All writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size);
@ -206,16 +206,16 @@ namespace OpenTK.Graphics.ES30
internal extern static void CopyBufferSubDataNV(OpenTK.Graphics.ES30.All readTarget, OpenTK.Graphics.ES30.All writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexImage2D", ExactSpelling = true)]
internal extern static void CopyTexImage2D(OpenTK.Graphics.ES30.TextureTarget target, Int32 level, OpenTK.Graphics.ES30.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border);
internal extern static void CopyTexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.TextureCopyComponentCount internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexSubImage2D", ExactSpelling = true)]
internal extern static void CopyTexSubImage2D(OpenTK.Graphics.ES30.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height);
internal extern static void CopyTexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexSubImage3D", ExactSpelling = true)]
internal extern static void CopyTexSubImage3D(OpenTK.Graphics.ES30.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height);
internal extern static void CopyTexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexSubImage3DOES", ExactSpelling = true)]
internal extern static void CopyTexSubImage3DOES(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height);
internal extern static void CopyTexSubImage3DOES(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTextureLevelsAPPLE", ExactSpelling = true)]
internal extern static void CopyTextureLevelsAPPLE(UInt32 destinationTexture, UInt32 sourceTexture, Int32 sourceBaseLevel, Int32 sourceLevelCount);
@ -740,10 +740,10 @@ namespace OpenTK.Graphics.ES30
internal extern static unsafe void GetSyncivAPPLE(IntPtr sync, OpenTK.Graphics.ES30.All pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameterfv", ExactSpelling = true)]
internal extern static unsafe void GetTexParameterfv(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.GetTextureParameter pname, [OutAttribute] Single* @params);
internal extern static unsafe void GetTexParameterfv(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.GetTextureParameterName pname, [OutAttribute] Single* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameteriv", ExactSpelling = true)]
internal extern static unsafe void GetTexParameteriv(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.GetTextureParameter pname, [OutAttribute] Int32* @params);
internal extern static unsafe void GetTexParameteriv(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.GetTextureParameterName pname, [OutAttribute] Int32* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTransformFeedbackVarying", ExactSpelling = true)]
internal extern static unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.TransformFeedbackType* type, [OutAttribute] StringBuilder name);
@ -1124,13 +1124,13 @@ namespace OpenTK.Graphics.ES30
internal extern static bool TestFenceNV(UInt32 fence);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage2D", ExactSpelling = true)]
internal extern static void TexImage2D(OpenTK.Graphics.ES30.TextureTarget target, Int32 level, OpenTK.Graphics.ES30.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels);
internal extern static void TexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage3D", ExactSpelling = true)]
internal extern static void TexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.PixelFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels);
internal extern static void TexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage3DOES", ExactSpelling = true)]
internal extern static void TexImage3DOES(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.PixelFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.All type, IntPtr pixels);
internal extern static void TexImage3DOES(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterf", ExactSpelling = true)]
internal extern static void TexParameterf(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.TextureParameterName pname, Single param);
@ -1148,25 +1148,25 @@ namespace OpenTK.Graphics.ES30
internal extern static void TexStorage1DEXT(OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexStorage2D", ExactSpelling = true)]
internal extern static void TexStorage2D(OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height);
internal extern static void TexStorage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 levels, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, Int32 width, Int32 height);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexStorage2DEXT", ExactSpelling = true)]
internal extern static void TexStorage2DEXT(OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height);
internal extern static void TexStorage2DEXT(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 levels, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, Int32 width, Int32 height);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexStorage3D", ExactSpelling = true)]
internal extern static void TexStorage3D(OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth);
internal extern static void TexStorage3D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 levels, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexStorage3DEXT", ExactSpelling = true)]
internal extern static void TexStorage3DEXT(OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth);
internal extern static void TexStorage3DEXT(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 levels, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage2D", ExactSpelling = true)]
internal extern static void TexSubImage2D(OpenTK.Graphics.ES30.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels);
internal extern static void TexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage3D", ExactSpelling = true)]
internal extern static void TexSubImage3D(OpenTK.Graphics.ES30.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels);
internal extern static void TexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage3DOES", ExactSpelling = true)]
internal extern static void TexSubImage3DOES(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, IntPtr pixels);
internal extern static void TexSubImage3DOES(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, IntPtr pixels);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureStorage1DEXT", ExactSpelling = true)]
internal extern static void TextureStorage1DEXT(UInt32 texture, OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width);