|
MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
|
#include <surface.h>
Data Fields | |
| uint32_t | size |
| mln_logical_size | logical_size |
| mln_vulkan_context_descriptor | context |
| mln_vulkan_non_dispatchable_handle | surface |
A Vulkan surface to present to, for mln_map_attach_vulkan_surface().
The device must have VK_KHR_swapchain enabled, and the queue family of graphics_queue_family_index must support presenting to the surface. The session creates the swapchain. It uses the surface until a replacement or release of the target completes, a detach or release of the session completes, or an abandon of it returns.
| mln_vulkan_context_descriptor mln_vulkan_surface_descriptor::context |
| mln_logical_size mln_vulkan_surface_descriptor::logical_size |
| uint32_t mln_vulkan_surface_descriptor::size |
| mln_vulkan_non_dispatchable_handle mln_vulkan_surface_descriptor::surface |
Your VkSurfaceKHR.