Struct

MaplibreNativeFfiDmaBufFrame

Description [src]

struct MaplibreNativeFfiDmaBufFrame {
  /* No available fields */
}

The dmabuf of an acquired frame.

See mln_dma_buf_frame in the C API reference.

Constructors

maplibre_native_ffi_dma_buf_frame_new

Creates a MaplibreNativeFfiDmaBufFrame whose members are zero or empty.

Instance methods

maplibre_native_ffi_dma_buf_frame_get_planes

The buffer’s planes, in the order that its fourcc and modifier define. Import all of them, as EGL_EXT_image_dma_buf_import_modifiers planes 0 and up, or with one zwp_linux_buffer_params_v1.add call each.

maplibre_native_ffi_dma_buf_frame_get_slot

The buffer’s index in the ring.