PrewarmComputeShaders()
Loads and prewarms all the compute shaders associated with the VisualEffectAsset.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.VFX
- Assembly: UnityEngine.VFXModule
public void PrewarmComputeShaders()
Remarks
Note: to prewarm rendering shaders, use the GraphicsStateCollection workflow.