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

> ## Name

> MagFilter - 3D API mag filter

> ## Usage

> MagFilter = int(type)

> ## Valid Enumerants

> type: Point, Nearest, Linear

> ## Description

> Set the sampler magnification filter type. See the GL_TEXTURE_MAG_FILTER description on the OpenGL glTexParameter manual page for details. See the D3DSAMP_MAGFILTER sampler state description for DirectX 9.

> The standard reset callback sets the MagFilter state to int(Point).

> ## Opengl Functionality Requirements

> Not applicable.

> ## Direct3D Functionality Requirements

> DirectX 9

> ## See Also

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