isTracingCacheMisses
Flag indicating if the collection is actively tracing cache misses into GraphicsStateCollection.cacheMissCollection.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
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.
Additional Resources: GraphicsStateCollection.isTracing, GraphicsStateCollection.WarmUp, GraphicsStateCollection.EndTrace.