# Sandbox.Texture.SampleCount

```csharp
int SampleCount { get; set; }
```

The number of hardware samples in the allocated texture.

Declared in [Sandbox.Texture](/api/Sandbox.Texture).
Assembly: `Sandbox.Engine`.
