Skip to content

IRenderCacheEntry interface

An active view of a cache entry. Disposing the view releases its pin; it does not dispose the underlying resource while that resource remains resident or another view is active.

public interface IRenderCacheEntry : IDisposable
name description
Image { get; } Gets the image view over the surface.
Key { get; } Gets the key of the entry.
SafeToDisposeAfter { get; } Gets the operation that must complete before the resource may be disposed, or null when it can be disposed at once.
Surface { get; } Gets the resident surface.