# PrewarmComputeShaders()

> Loads and prewarms all the compute shaders associated with the VisualEffectAsset.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.VFX](/engine/6000.5/script-reference/unityengine/vfx.md)
* **Assembly:** UnityEngine.VFXModule

```csharp
public void PrewarmComputeShaders()
```

### Remarks

Note: to prewarm rendering shaders, use the [GraphicsStateCollection](/engine/6000.5/script-reference/unityengine/rendering/graphicsstatecollection.md) workflow.
