GenerateMipmap
Keywords: GenerateMipmap, NVIDIA, NVIDIA Cg Toolkit, Cg Toolkit, Shader, Shader Programming, GPU Shader Programming, GPU Program

> ## Name

> GenerateMipmap - 3D API texture mipmap generation

> ## Usage

> GenerateMipmap = bool(enable)

> ## Valid Enumerants

> enable: true, false

> ## Description

> Set the OpenGL texture mipmap generation for the given texture. See the GL_GENERATE_MIPMAP description on the OpenGL glTexParameter manual page for details.

> For a TextureRectangle texture, this state has no effect.

> The standard reset callback sets the GenerateMipmap state to bool(false).

> ## Opengl Functionality Requirements

> OpenGL 1.4 or support for extension SGIS_generate_mipmap.

> ## Direct3D Functionality Requirements

> Not applicable.

> ## See Also

> Texture, Texture1D, Texture1DEnable, Texture2D, Texture2DEnable, Texture3D, Texture3DEnable, TextureCubeMap, TextureCubeMapEnable, TextureEnvMode, TextureFactor, TextureRectangle, TextureRectangleEnable, MagFilter, MaxMipLevel, MinFilter, MipFilter, MipMapLodBias