isWarmedUp
Flag indicating if the collection is completely warmed up.
Read time 1 minuteLast updated 21 hours ago
Definition
- Type: Property
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public bool isWarmedUp { get; }
Remarks
When a collection is "warmed up", Unity has processed every graphics state and compute shader variant in it and has created a GPU representation for each valid one. This is the case when GraphicsStateCollection.completedWarmupCount equals GraphicsStateCollection.totalGraphicsStateCount plus GraphicsStateCollection.computeVariantCount. If warmup falls back to the legacy ShaderVariantCollection.WarmUp, GraphicsStateCollection.variantCount replaces GraphicsStateCollection.totalGraphicsStateCount.
Additional Resources: GraphicsStateCollection.WarmUp, GraphicsStateCollection.completedWarmupCount.