Table of Contents

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

Width uint
Height uint
ScaleFactor double
Slot uint

The surface's index in the ring.

Surface NativePointer

The IOSurfaceRef.

Remarks

See mln_io_surface_frame in the C API reference.

Properties

Height

public uint Height { get; init; }

Property Value

uint

ScaleFactor

public double ScaleFactor { get; init; }

Property Value

double

Slot

The surface's index in the ring.

public uint Slot { get; init; }

Property Value

uint

Surface

The IOSurfaceRef.

public NativePointer Surface { get; init; }

Property Value

NativePointer

Width

public uint Width { get; init; }

Property Value

uint