Struct IoSurfaceFrame
- Namespace
- Maplibre.NativeFfi
- Assembly
- Maplibre.NativeFfi.dll
The IOSurface of an acquired frame.
public readonly record struct IoSurfaceFrame : IEquatable<IoSurfaceFrame>
- Implements
- Inherited Members
Remarks
See mln_io_surface_frame in the C API reference.
Constructors
IoSurfaceFrame(uint, uint, double, uint, NativePointer)
The IOSurface of an acquired frame.
public IoSurfaceFrame(uint Width, uint Height, double ScaleFactor, uint Slot, NativePointer Surface)
Parameters
WidthuintHeightuintScaleFactordoubleSlotuintThe surface's index in the ring.
SurfaceNativePointerThe
IOSurfaceRef.
Remarks
See mln_io_surface_frame in the C API reference.
Properties
Height
public uint Height { get; init; }
Property Value
ScaleFactor
public double ScaleFactor { get; init; }
Property Value
Slot
The surface's index in the ring.
public uint Slot { get; init; }
Property Value
Surface
The IOSurfaceRef.
public NativePointer Surface { get; init; }
Property Value
Width
public uint Width { get; init; }