Identifies a resident resource in an IRenderResourceCache; keys with the same values name the same content on the same device generation.
public struct RenderCacheKey : IEquatable<RenderCacheKey>
| parameter |
description |
| Kind |
What the entry holds. |
| PixelWidth |
Width in device pixels. |
| PixelHeight |
Height in device pixels. |
| DpiScale |
DPI scale the content was rendered at. |
| Format |
Pixel format. |
| SourceVersion |
Version of the source the content was derived from. |
| DeviceId |
Device the resource belongs to. |
| Scope |
Optional caller-defined scope that separates entries of the same kind. |
| DeviceGeneration |
Device generation the resource was created in. |
| ContextId |
Context within the device, when the device has several. |
| name |
description |
| RenderCacheKey(…) |
Identifies a resident resource in an IRenderResourceCache; keys with the same values name the same content on the same device generation. |
| ContextId { get; set; } |
Context within the device, when the device has several. |
| DeviceGeneration { get; set; } |
Device generation the resource was created in. |
| DeviceId { get; set; } |
Device the resource belongs to. |
| DpiScale { get; set; } |
DPI scale the content was rendered at. |
| Format { get; set; } |
Pixel format. |
| Kind { get; set; } |
What the entry holds. |
| PixelHeight { get; set; } |
Height in device pixels. |
| PixelWidth { get; set; } |
Width in device pixels. |
| Scope { get; set; } |
Optional caller-defined scope that separates entries of the same kind. |
| SourceVersion { get; set; } |
Version of the source the content was derived from. |
| ForDevice(…) |
Returns this content key partitioned for the supplied render device generation. |