Documentation

Unity Engine

Download Unity

Unity Engine

isWarmedUp

Flag indicating if the collection is completely warmed up.
Read time 1 minuteLast updated 21 hours ago

Definition

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.