# Sandbox.ComputeShader.DispatchWithAttributes

```csharp
void DispatchWithAttributes(RenderAttributes attributes, int threadsX = 32, int threadsY = 32, int threadsZ = 32)
```

### Parameters

- `attributes` (`RenderAttributes`)
- `threadsX` (`int`), default `32`
- `threadsY` (`int`), default `32`
- `threadsZ` (`int`), default `32`

Declared in [Sandbox.ComputeShader](/api/Sandbox.ComputeShader).
Assembly: `Sandbox.Engine`.
