Method

MaplibreNativeFfiAcquiredFrameget_producer_sync

Declaration [src]

MaplibreNativeFfiGpuSync*
maplibre_native_ffi_acquired_frame_get_producer_sync (
  MaplibreNativeFfiAcquiredFrame* self
  GError** error
)

Description [src]

Reads what to wait for before you read an acquired frame’s texture.

See mln_acquired_frame_get_producer_sync in the C API reference.

It fails with these errors:

  • MAPLIBRE_NATIVE_FFI_ERROR_TARGET_LOST when the session failed, or you detached, abandoned, or disposed it.

Return value

Type: MaplibreNativeFfiGpuSync

The value.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.