PrewarmComputeShaders()
Loads and prewarms all the compute shaders associated with the VisualEffectAsset.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEngine.VFX
- Assembly: UnityEngine.VFXModule
public void PrewarmComputeShaders()
Remarks
Note: to prewarm rendering shaders, use the GraphicsStateCollection workflow.