Added new OpenGL 3.x tokens to GenerateMipmap. Fixes issue [#1162]: "GL.GenerateMipmap argument".

This commit is contained in:
the_fiddler 2009-11-16 14:15:56 +00:00
parent bbe606da53
commit 9cb660bf85
2 changed files with 12 additions and 0 deletions

View file

@ -7721,7 +7721,11 @@ BufferPointerNameARB enum:
GenerateMipmapTarget enum: GenerateMipmapTarget enum:
use TextureTarget TEXTURE_1D use TextureTarget TEXTURE_1D
use TextureTarget TEXTURE_1D_ARRAY
use TextureTarget TEXTURE_2D use TextureTarget TEXTURE_2D
use TextureTarget TEXTURE_2D_ARRAY
use TextureTarget TEXTURE_2D_MULTISAMPLE
use TextureTarget TEXTURE_2D_MULTISAMPLE_ARRAY
use TextureTarget TEXTURE_3D use TextureTarget TEXTURE_3D
use TextureTarget TEXTURE_CUBE_MAP use TextureTarget TEXTURE_CUBE_MAP
@ -7839,7 +7843,9 @@ GetTextureParameter enum:
TextureTarget enum: TextureTarget enum:
TEXTURE_2D_MULTISAMPLE = 0x9100 TEXTURE_2D_MULTISAMPLE = 0x9100
PROXY_TEXTURE_2D_MULTISAMPLE = 0x9101
TEXTURE_2D_MULTISAMPLE_ARRAY = 0x9102 TEXTURE_2D_MULTISAMPLE_ARRAY = 0x9102
PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY = 0x9103
ActiveUniformType enum: ActiveUniformType enum:
SAMPLER_2D_MULTISAMPLE = 0x9108 SAMPLER_2D_MULTISAMPLE = 0x9108

View file

@ -7016,6 +7016,10 @@ namespace OpenTK.Graphics.OpenGL
Texture2D = ((int)0x0DE1), Texture2D = ((int)0x0DE1),
Texture3D = ((int)0x806F), Texture3D = ((int)0x806F),
TextureCubeMap = ((int)0x8513), TextureCubeMap = ((int)0x8513),
Texture1DArray = ((int)0x8C18),
Texture2DArray = ((int)0x8C1A),
Texture2DMultisample = ((int)0x9100),
Texture2DMultisampleArray = ((int)0x9102),
} }
public enum GetColorTableParameterPName : int public enum GetColorTableParameterPName : int
@ -10457,7 +10461,9 @@ namespace OpenTK.Graphics.OpenGL
ProxyTexture2DArray = ((int)0x8C1B), ProxyTexture2DArray = ((int)0x8C1B),
TextureBuffer = ((int)0x8C2A), TextureBuffer = ((int)0x8C2A),
Texture2DMultisample = ((int)0x9100), Texture2DMultisample = ((int)0x9100),
ProxyTexture2DMultisample = ((int)0x9101),
Texture2DMultisampleArray = ((int)0x9102), Texture2DMultisampleArray = ((int)0x9102),
ProxyTexture2DMultisampleArray = ((int)0x9103),
} }
public enum TextureTargetMultisample : int public enum TextureTargetMultisample : int