ScratchSurfaceLease class
A rented scratch surface together with its CPU pixel view; dispose it to drop the surface when it is not handed back through Return.
public sealed class ScratchSurfaceLease : IDisposablePublic Members
Section titled “Public Members”| name | description |
|---|---|
| Pixels { get; } | Gets the CPU pixel view of the surface. |
| Surface { get; } | Gets the rented surface. |
| Dispose() | Releases the lease: an active lease disposes its surface, a pooled one is dropped from tracking. |
See Also
Section titled “See Also”- namespace Aprillz.MewUI.Rendering.Filters