Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


isTracingCacheMisses

Flag indicating if the collection is actively tracing cache misses into GraphicsStateCollection.cacheMissCollection.
Read time 1 minuteLast updated 10 days ago

Definition

public bool isTracingCacheMisses { get; }

Remarks

Cache miss tracing can only begin if the current collection is used to prewarm shader variant states via GraphicsStateCollection.WarmUp. While true, any time a shader variant permutation that does not exist in the current collection is used, it will be added to the cache miss collection. Use GraphicsStateCollection.EndTrace with the GraphicsStateCollection.cacheMissCollection to stop tracing.