Method

MaplibreNativeFfiAcquiredFrameget_vulkan_texture

Declaration [src]

MaplibreNativeFfiVulkanTextureFrame*
maplibre_native_ffi_acquired_frame_get_vulkan_texture (
  MaplibreNativeFfiAcquiredFrame* self
  GError** error
)

Description [src]

Gets the Vulkan image of an acquired frame.

See mln_acquired_frame_get_vulkan_texture 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

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