DetachedScratchSurface class
Opaque ownership transfer for a detached filter scratch result. Consumers may draw the logical image while this handle is alive, but cannot observe the pooled allocation or return it directly. Disposing the handle preserves the originating pool’s deferred-release callback.
public sealed class DetachedScratchSurface : IDisposablePublic Members
Section titled “Public Members”| name | description |
|---|---|
| Image { get; } | Gets the image over the detached scratch surface; throws ObjectDisposedException after dispose. |
| Dispose() | Releases the image and returns the lease, exactly once. |
See Also
Section titled “See Also”- namespace Aprillz.MewUI.Rendering.Filters