PixelBufferLock class
Represents a locked pixel buffer snapshot and optional dirty region metadata.
public sealed class PixelBufferLock : IDisposablePublic Members
Section titled “Public Members”| name | description |
|---|---|
| PixelBufferLock(…) | Creates a lock over buffer that invokes release once on Dispose. |
| Buffer { get; } | Gets the backing byte buffer containing pixel data. |
| DirtyRegion { get; } | Gets the dirty region since the last lock, or null when the entire buffer should be treated as dirty. |
| PixelHeight { get; } | Gets the buffer height in pixels. |
| PixelWidth { get; } | Gets the buffer width in pixels. |
| StrideBytes { get; } | Gets the stride in bytes per row. |
| Version { get; } | Gets the source version captured at lock time. |
| Dispose() | Releases the lock. |
See Also
Section titled “See Also”- namespace Aprillz.MewUI.Resources