Vulkan Context Descriptor
data class VulkanContextDescriptor(val instance: NativePointer, val physicalDevice: NativePointer, val device: NativePointer, val graphicsQueue: NativePointer, val graphicsQueueFamilyIndex: UInt, val getInstanceProcAddr: NativePointer, val getDeviceProcAddr: NativePointer)
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
Link copied to clipboard
constructor(instance: NativePointer, physicalDevice: NativePointer, device: NativePointer, graphicsQueue: NativePointer, graphicsQueueFamilyIndex: UInt, getInstanceProcAddr: NativePointer, getDeviceProcAddr: NativePointer)
Properties
Link copied to clipboard
A VkDevice.
Link copied to clipboard
Your vkGetDeviceProcAddr, or null to look it up from the instance.
Link copied to clipboard
Your vkGetInstanceProcAddr, or null to use the Vulkan loader's.
Link copied to clipboard
A VkQueue from graphics_queue_family_index that supports graphics. If you submit to it too, set RenderSessionAttachOptions.queueLock.
Link copied to clipboard
Link copied to clipboard
A VkInstance.
Link copied to clipboard
A VkPhysicalDevice.