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

#include <render_target.h>

Data Fields

void * instance
void * physical_device
void * device
void * graphics_queue
uint32_t graphics_queue_family_index
void * get_instance_proc_addr
void * get_device_proc_addr

Detailed Description

The Vulkan device and queue that a render session uses.

Keep these objects alive until a detach or release of the session completes, or an abandon of it returns.

Field Documentation

◆ device

void* mln_vulkan_context_descriptor::device

A VkDevice.

◆ get_device_proc_addr

void* mln_vulkan_context_descriptor::get_device_proc_addr

Your vkGetDeviceProcAddr, or null to look it up from the instance.

◆ get_instance_proc_addr

void* mln_vulkan_context_descriptor::get_instance_proc_addr

Your vkGetInstanceProcAddr, or null to use the Vulkan loader's.

◆ graphics_queue

void* mln_vulkan_context_descriptor::graphics_queue

A VkQueue from graphics_queue_family_index that supports graphics. If you submit to it too, set mln_render_session_attach_options.queue_lock.

◆ graphics_queue_family_index

uint32_t mln_vulkan_context_descriptor::graphics_queue_family_index

◆ instance

void* mln_vulkan_context_descriptor::instance

A VkInstance.

◆ physical_device

void* mln_vulkan_context_descriptor::physical_device

A VkPhysicalDevice.


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