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
WidthuintHeightuintScaleFactordoubleSlotuintThe buffer's index in the ring.
BufferNativePointerThe
AHardwareBuffer*.
Remarks
See mln_android_hardware_buffer_frame in the C API reference.
Properties
Buffer
The AHardwareBuffer*.
public NativePointer Buffer { get; init; }
Property Value
Height
public uint Height { get; init; }
Property Value
ScaleFactor
public double ScaleFactor { get; init; }
Property Value
Slot
The buffer's index in the ring.
public uint Slot { get; init; }
Property Value
Width
public uint Width { get; init; }