Enumeration

MaplibreNativeFfiVulkanImageOwner

Declaration

enum MaplibreNativeFfi.VulkanImageOwner

Description [src]

The queue family that a borrowed image goes to after each frame.

With MAPLIBRE_NATIVE_FFI_VULKAN_IMAGE_OWNER_EXTERNAL or MAPLIBRE_NATIVE_FFI_VULKAN_IMAGE_OWNER_FOREIGN, acquire the image on your side before you read it. You don’t need to release it back.

See mln_vulkan_image_owner in the C API reference.

Members

MAPLIBRE_NATIVE_FFI_VULKAN_IMAGE_OWNER_GRAPHICS_QUEUE

The image stays with the queue family of graphics_queue_family_index.

  • Value: 0
  • Available since: 0
MAPLIBRE_NATIVE_FFI_VULKAN_IMAGE_OWNER_EXTERNAL

Each frame releases the image to VK_QUEUE_FAMILY_EXTERNAL.

  • Value: 1
  • Available since: 0
MAPLIBRE_NATIVE_FFI_VULKAN_IMAGE_OWNER_FOREIGN

Each frame releases the image to VK_QUEUE_FAMILY_FOREIGN_EXT.

  • Value: 2
  • Available since: 0