⚠ Preview docs — built from the develop branch and may be unstable. Go to the stable docs.

Backend.Vulkan.Queue

static IntPtr Queue(BackendVulkanQueue queue)

Gets the VkQueue StereoKit uses for the given queue family. Currently only BackendVulkanQueue.Graphics has a handle available; the others return IntPtr.Zero until StereoKit makes real use of them. If you submit work to this queue, you MUST guard it with Backend.Vulkan.QueueLock / Backend.Vulkan.QueueUnlock, since StereoKit shares it across threads.

   
BackendVulkanQueue queue Which queue family to retrieve the queue for.
RETURNS: IntPtr A VkQueue handle, or IntPtr.Zero if no queue handle is available for that family.




Found an issue with these docs, or have some additional questions? Create an Issue on Github!