Skip to content

RenderResourceSnapshot structure

One reading of RenderResourceMetrics.

public struct RenderResourceSnapshot : IEquatable<RenderResourceSnapshot>
parameter description
ScratchActiveCount Scratch surfaces currently rented by a cache (bitmap caches, vector caches).
ScratchActiveBytes Allocated pixel bytes of the rented scratch surfaces.
ScratchPooledCount Scratch surfaces sitting in the pool, ready to be rented.
ScratchPooledBytes Allocated pixel bytes of the pooled scratch surfaces.
ScratchCreated Scratch surfaces created since the process started.
ScratchDisposed Scratch surfaces disposed since the process started.
BitmapCacheCount Elements currently holding a BitmapCache bitmap.
BitmapCacheBytes Allocated pixel bytes behind those bitmaps.
VectorCacheCount Image controls currently holding a rasterized vector bitmap.
VectorCacheBytes Allocated pixel bytes behind those bitmaps.
TextCacheBytes Rasterized text the backend text caches hold.
GeometryCacheBytes Tessellation and geometry data retained for frozen paths.
PrivateUsage See PrivateUsage.
WorkingSetSize See WorkingSetSize.
PrivateWorkingSetSize See PrivateWorkingSetSize.
GcHeapBytes Managed heap at the time of the reading.
name description
RenderResourceSnapshot(…) One reading of RenderResourceMetrics.
AtlasPageBytes { get; set; } Estimated bytes reserved by active atlas page leases.
AtlasPageCount { get; set; } Active atlas page leases; a classified subset of native resources.
BitmapCacheBytes { get; set; } Allocated pixel bytes behind those bitmaps.
BitmapCacheCount { get; set; } Elements currently holding a BitmapCache bitmap.
DecodeAttempts { get; set; } Built-in image decode attempts since process start.
DecodedPixelBytes { get; set; } Bytes in decoded BGRA image variants currently retained by ImageSource instances.
DecodedPixelCount { get; set; } Decoded BGRA image variants currently retained by ImageSource instances.
DecodeFailed { get; set; } Failed built-in image decodes since process start.
DecodeSucceeded { get; set; } Successful built-in image decodes since process start.
DecodeTemporaryBytes { get; set; } Estimated bytes reserved by image decodes currently in progress.
DecodeTemporaryCount { get; set; } Image decodes currently holding a temporary-memory reservation.
DecodeTemporaryPeakBytes { get; set; } Highest simultaneous decode temporary reservation since process start.
EncodedBackingBytes { get; set; } Bytes in encoded image payloads currently retained by ImageSource instances.
EncodedBackingCount { get; set; } Encoded image payloads currently retained by ImageSource instances.
GcHeapBytes { get; set; } Managed heap at the time of the reading.
GeometryCacheBytes { get; set; } Tessellation and geometry data retained for frozen paths.
ImageRealizationRequests { get; set; } Backend image realization requests since process start.
ImageRealizationSucceeded { get; set; } Backend image realization requests completed successfully since process start.
IsBalanced { get; } Every scratch surface ever created is either still rented, pooled, or disposed.
MetadataProbeAttempts { get; set; } Image metadata probe attempts since process start.
MetadataProbeSucceeded { get; set; } Image metadata probes completed successfully since process start.
NativeImageRealizationBytes { get; set; } Estimated resident pixel bytes of shared backend image realizations.
NativeImageRealizationCount { get; set; } Shared backend image realizations currently alive.
NativeImageRealizationCreated { get; set; } Shared backend image realizations created since process start.
PendingReleaseBytes { get; set; } Estimated bytes waiting for a backend operation before disposal.
PendingReleaseCount { get; set; } Resources waiting for a backend operation before disposal.
PersistentResourceBytes { get; set; } Estimated surface bytes owned by persistent render-cache entries.
PersistentResourceCount { get; set; } Persistent render-cache entries currently owned by device resource caches.
PrivateUsage { get; set; } See PrivateUsage.
PrivateWorkingSetSize { get; set; } See PrivateWorkingSetSize.
ScratchActiveBytes { get; set; } Allocated pixel bytes of the rented scratch surfaces.
ScratchActiveCount { get; set; } Scratch surfaces currently rented by a cache (bitmap caches, vector caches).
ScratchCreated { get; set; } Scratch surfaces created since the process started.
ScratchDisposed { get; set; } Scratch surfaces disposed since the process started.
ScratchPooledBytes { get; set; } Allocated pixel bytes of the pooled scratch surfaces.
ScratchPooledCount { get; set; } Scratch surfaces sitting in the pool, ready to be rented.
TextCacheBytes { get; set; } Rasterized text the backend text caches hold.
UploadStagingBytes { get; set; } Estimated bytes of current upload staging allocations.
UploadStagingCount { get; set; } Upload staging allocations currently reserved by backends.
VectorCacheBytes { get; set; } Allocated pixel bytes behind those bitmaps.
VectorCacheCount { get; set; } Image controls currently holding a rasterized vector bitmap.
WorkingSetSize { get; set; } See WorkingSetSize.