Class LockedFramebuffer
public class LockedFramebuffer : ILockedFramebuffer, IDisposable
- Inheritance
-
LockedFramebuffer
- Implements
- Inherited Members
Constructors
LockedFramebuffer(nint, PixelSize, int, Vector, PixelFormat, Action?)
public LockedFramebuffer(nint address, PixelSize size, int rowBytes, Vector dpi, PixelFormat format, Action? onDispose)
Parameters
Properties
Address
Address of the first pixel
public nint Address { get; }
Property Value
Dpi
DPI of underling screen
public Vector Dpi { get; }
Property Value
Format
Pixel format
public PixelFormat Format { get; }
Property Value
RowBytes
Number of bytes per row
public int RowBytes { get; }
Property Value
Size
Gets the framebuffer size in device pixels.
public PixelSize Size { get; }
Property Value
Methods
Dispose()
public void Dispose()