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

mln_logical_extent extent
mln_vulkan_context_descriptor context
mln_vulkan_non_dispatchable_handle surface

Detailed Description

Vulkan attachment options for a native surface.

Field Documentation

◆ context

mln_vulkan_context_descriptor mln_vulkan_surface_descriptor::context

Borrowed Vulkan context. All handles are required. The device must support VK_KHR_swapchain, and the queue family must support graphics and presentation to this descriptor's surface.

◆ extent

mln_logical_extent mln_vulkan_surface_descriptor::extent

Logical surface extent. A scale_factor that differs from the map's is accepted and logged as a warning.

◆ surface

mln_vulkan_non_dispatchable_handle mln_vulkan_surface_descriptor::surface

Borrowed VkSurfaceKHR bit pattern. Required.


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