Cg Toolkit Cg 3.1 Toolkit Documentation
Cg / Sampler States / MagFilter

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


Cg Toolkit | Cg Toolkit | Download | Release Archive | Profiles | Reference | Books | Discussions |


Cg Sampler States

AddressU
AddressV
AddressW
BorderColor
CompareFunc
CompareMode
DepthMode
GenerateMipmap
LODBias
MagFilter
MaxAnisotropy
MaxMipLevel
MinFilter
MinMipLevel
MipFilter
MipMapLodBias
SRGBTexture
Texture
WrapR
WrapS
WrapT