# Sandbox.Rendering.SamplerState.MaxAnisotropy

```csharp
int MaxAnisotropy { get; set; }
```

The maximum anisotropy level used for anisotropic filtering.
Higher values improve texture quality at oblique viewing angles.

Declared in [Sandbox.Rendering.SamplerState](/api/Sandbox.Rendering.SamplerState).
Assembly: `Sandbox.Engine`.
