VulkanDeviceOptions class final
Options for VulkanDeviceHandle.create().
See mln_vulkan_device_options in the
C API reference.
Constructors
- VulkanDeviceOptions({bool? presentation, Uint8List? deviceUuid, Uint8List? deviceLuid})
Properties
- deviceLuid → Uint8List?
-
The 8-byte
deviceLUIDof the GPU to use, asVkPhysicalDeviceIDPropertiesreports it. On Windows, this is the GPU's DXGI adapter LUID.final - deviceUuid → Uint8List?
-
The 16-byte
deviceUUIDof the GPU to use, asVkPhysicalDeviceIDPropertiesreports it.final - hashCode → int
-
The hash code for this object.
no setterinherited
- presentation → bool?
-
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.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{bool? presentation, Uint8List? deviceUuid, Uint8List? deviceLuid}) → VulkanDeviceOptions - A copy of this value with the given members replaced.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited