Struct

MaplibreNativeFfiDmaBufPlane

Description [src]

struct MaplibreNativeFfiDmaBufPlane {
  gint32 fd;
  guint32 offset;
  guint32 stride;
}

Where one plane of a dmabuf keeps its data.

See mln_dma_buf_plane in the C API reference.

Structure members
fd: gint32

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

offset: guint32

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

stride: guint32

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

Instance methods