|
MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
|
#include <vulkan.h>
Data Fields | |
| uint32_t | size |
| mln_vulkan_device_option_fields | fields |
| bool | presentation |
| mln_buffer_view | device_uuid |
| mln_buffer_view | device_luid |
Options for mln_vulkan_device_create().
| mln_buffer_view mln_vulkan_device_options::device_luid |
The 8-byte deviceLUID of the GPU to use, as VkPhysicalDeviceIDProperties reports it. On Windows, this is the GPU's DXGI adapter LUID.
| mln_buffer_view mln_vulkan_device_options::device_uuid |
The 16-byte deviceUUID of the GPU to use, as VkPhysicalDeviceIDProperties reports it.
| mln_vulkan_device_option_fields mln_vulkan_device_options::fields |
| bool mln_vulkan_device_options::presentation |
Whether the device can present to a window. The instance then enables VK_KHR_surface and the platform's surface extensions, and the device enables VK_KHR_swapchain. Defaults to false.
| uint32_t mln_vulkan_device_options::size |