Table of Contents

Struct AndroidHardwareBufferFrame

Namespace
Maplibre.NativeFfi
Assembly
Maplibre.NativeFfi.dll

The Android hardware buffer of an acquired frame.

public readonly record struct AndroidHardwareBufferFrame : IEquatable<AndroidHardwareBufferFrame>
Implements
Inherited Members

Remarks

See mln_android_hardware_buffer_frame in the C API reference.

Constructors

AndroidHardwareBufferFrame(uint, uint, double, uint, NativePointer)

The Android hardware buffer of an acquired frame.

public AndroidHardwareBufferFrame(uint Width, uint Height, double ScaleFactor, uint Slot, NativePointer Buffer)

Parameters

Width uint
Height uint
ScaleFactor double
Slot uint

The buffer's index in the ring.

Buffer NativePointer

The AHardwareBuffer*.

Remarks

See mln_android_hardware_buffer_frame in the C API reference.

Properties

Buffer

The AHardwareBuffer*.

public NativePointer Buffer { get; init; }

Property Value

NativePointer

Height

public uint Height { get; init; }

Property Value

uint

ScaleFactor

public double ScaleFactor { get; init; }

Property Value

double

Slot

The buffer's index in the ring.

public uint Slot { get; init; }

Property Value

uint

Width

public uint Width { get; init; }

Property Value

uint