Class VulkanDeviceOptions
- Namespace
- Maplibre.NativeFfi
- Assembly
- Maplibre.NativeFfi.dll
Options for VulkanDeviceHandle.Create().
public sealed record VulkanDeviceOptions : IEquatable<VulkanDeviceOptions>
- Inheritance
-
VulkanDeviceOptions
- Implements
- Inherited Members
Remarks
See mln_vulkan_device_options in the C API reference.
Properties
DeviceLuid
The 8-byte deviceLUID of the GPU to use, as
VkPhysicalDeviceIDProperties reports it. On Windows, this is the
GPU's DXGI adapter LUID.
public ImmutableArray<byte>? DeviceLuid { get; init; }
Property Value
DeviceUuid
The 16-byte deviceUUID of the GPU to use, as
VkPhysicalDeviceIDProperties reports it.
public ImmutableArray<byte>? DeviceUuid { get; init; }
Property Value
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.
public bool? Presentation { get; init; }
Property Value
- bool?