MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
Loading...
Searching...
No Matches
mln_vulkan_surface_descriptor Struct Reference

#include <surface.h>

Data Fields

uint32_t size
mln_logical_size logical_size
mln_vulkan_context_descriptor context
mln_vulkan_non_dispatchable_handle surface

Detailed Description

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.

Field Documentation

◆ context

mln_vulkan_context_descriptor mln_vulkan_surface_descriptor::context

◆ logical_size

mln_logical_size mln_vulkan_surface_descriptor::logical_size

◆ size

uint32_t mln_vulkan_surface_descriptor::size

◆ surface

mln_vulkan_non_dispatchable_handle mln_vulkan_surface_descriptor::surface

Your VkSurfaceKHR.


The documentation for this struct was generated from the following file: