Table of Contents

Struct DmaBufPlane

Namespace
Maplibre.NativeFfi
Assembly
Maplibre.NativeFfi.dll

Where one plane of a dmabuf keeps its data.

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

Remarks

See mln_dma_buf_plane in the C API reference.

Constructors

DmaBufPlane(int, uint, uint)

Where one plane of a dmabuf keeps its data.

public DmaBufPlane(int Fd, uint Offset, uint Stride)

Parameters

Fd int

The file descriptor of the dmabuf that holds the plane. The planes of a buffer often share one.

Offset uint

The bytes from the start of the dmabuf to the plane's first byte.

Stride uint

The bytes from the start of one row to the start of the next.

Remarks

See mln_dma_buf_plane in the C API reference.

Properties

Fd

The file descriptor of the dmabuf that holds the plane. The planes of a buffer often share one.

public int Fd { get; init; }

Property Value

int

Offset

The bytes from the start of the dmabuf to the plane's first byte.

public uint Offset { get; init; }

Property Value

uint

Stride

The bytes from the start of one row to the start of the next.

public uint Stride { get; init; }

Property Value

uint