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_render_target_extent extent
 
mln_vulkan_context_descriptor context
 
void * surface
 

Detailed Description

Vulkan native surface session attachment options.

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_render_target_extent mln_vulkan_surface_descriptor::extent

Logical surface extent.

◆ surface

void* mln_vulkan_surface_descriptor::surface

Borrowed VkSurfaceKHR. Required.


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