VulkanContextDescriptor class final
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.
See mln_vulkan_context_descriptor in the
C API reference.
Constructors
- VulkanContextDescriptor({required NativePointer instance, required NativePointer physicalDevice, required NativePointer device, required NativePointer graphicsQueue, int graphicsQueueFamilyIndex = 0, NativePointer getInstanceProcAddr = NativePointer.nullPointer, NativePointer getDeviceProcAddr = NativePointer.nullPointer})
-
const
Properties
- device → NativePointer
-
A
VkDevice.final - getDeviceProcAddr → NativePointer
-
Your
vkGetDeviceProcAddr, or null to look it up from the instance.final - getInstanceProcAddr → NativePointer
-
Your
vkGetInstanceProcAddr, or null to use the Vulkan loader's.final - graphicsQueue → NativePointer
-
A
VkQueuefromgraphics_queue_family_indexthat supports graphics. If you submit to it too, setRenderSessionAttachOptions.queueLock.final - graphicsQueueFamilyIndex → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- instance → NativePointer
-
A
VkInstance.final - physicalDevice → NativePointer
-
A
VkPhysicalDevice.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{NativePointer? instance, NativePointer? physicalDevice, NativePointer? device, NativePointer? graphicsQueue, int? graphicsQueueFamilyIndex, NativePointer? getInstanceProcAddr, NativePointer? getDeviceProcAddr}) → VulkanContextDescriptor - 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