Bagikan melalui


SamplerState.MaxAnisotropy Property

Gets or sets the maximum anisotropy. The default value is 4.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework.Graphics (in microsoft.xna.framework.graphics.dll)

Syntax

public int MaxAnisotropy { get; set; }

Property Value

The maximum anisotropy value.

Remarks

Use anisotropic filtering to reduce blur and aliasing effects when texturing a surface that will be viewed at an extreme viewing angle.

See Also

Reference

SamplerState Class
SamplerState Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP