Cg Toolkit Cg 3.1 Toolkit Documentation
Cg / Sampler States / MaxAnisotropy

Name

MaxAnisotropy - 3D API max anisotropy

Usage

MaxAnisotropy = int(d3d_max)

MaxAnisotropy = float(gl_max)

Valid Enumerants

d3d_max: integer value

gl_max: floating point value

Description

Set the maximum anisotropy value. See the D3DSAMP_MAXANISOTROPY sampler state description for DirectX 9. See the description of GL_TEXTURE_MAX_ANISOTROPY_EXT in the OpenGL EXT_texture_filter_anisotropic extension for details.

The standard reset callback sets the MaxAnisotropy state to int(1).

Opengl Functionality Requirements

Support for extension EXT_texture_filter_anisotropic.

Direct3D Functionality Requirements

DirectX 9

See Also

MaxAnisotropyi


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