# Sandbox.Material.SetFeature

```csharp
void SetFeature(string name, int value)
```

Set a feature flag on the material. This is usually used to enable/disable shader permutations.
This is kind of a define, also known as a combo.

### Parameters

- `name` (`string`)
- `value` (`int`)

Declared in [Sandbox.Material](/api/Sandbox.Material).
Assembly: `Sandbox.Engine`.
