# Sandbox.Engine.Shaders.ShaderCompileOptions.MaxThreads

```csharp
int MaxThreads { get; set; }
```

Most combos to compile at once. 0 picks from the core count and free memory.

Declared in [Sandbox.Engine.Shaders.ShaderCompileOptions](/api/Sandbox.Engine.Shaders.ShaderCompileOptions).
Assembly: `Sandbox.Engine`.
