|
MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
|
#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 |
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.
| void* mln_vulkan_context_descriptor::device |
A VkDevice.
| void* mln_vulkan_context_descriptor::get_device_proc_addr |
Your vkGetDeviceProcAddr, or null to look it up from the instance.
| void* mln_vulkan_context_descriptor::get_instance_proc_addr |
Your vkGetInstanceProcAddr, or null to use the Vulkan loader's.
| 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.
| uint32_t mln_vulkan_context_descriptor::graphics_queue_family_index |
| void* mln_vulkan_context_descriptor::instance |
A VkInstance.
| void* mln_vulkan_context_descriptor::physical_device |
A VkPhysicalDevice.