Struct

MaplibreNativeFfiRenderSessionCapabilities

Description [src]

struct MaplibreNativeFfiRenderSessionCapabilities {
  MaplibreNativeFfiRenderDriverKind driver;
  guint32 texture_ring_depth;
  MaplibreNativeFfiRenderSessionCapabilityFlag flags;
  MaplibreNativeFfiGpuSyncKind producer_sync_kind;
  MaplibreNativeFfiGpuSyncKindFlag consumer_sync_kinds;
}

What an attached render session supports.

See mln_render_session_capabilities in the C API reference.

Structure members
driver: MaplibreNativeFfiRenderDriverKind

Driver.

texture_ring_depth: guint32

How many textures the session’s texture ring has.

flags: MaplibreNativeFfiRenderSessionCapabilityFlag

Flags.

producer_sync_kind: MaplibreNativeFfiGpuSyncKind

The kind of MaplibreNativeFfiGpuSync that maplibre_native_ffi_acquired_frame_get_producer_sync() reports.

consumer_sync_kinds: MaplibreNativeFfiGpuSyncKindFlag

The kinds of MaplibreNativeFfiGpuSync that maplibre_native_ffi_acquired_frame_release() accepts. They depend on the target and on what the device supports.