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

Backend.Vulkan.QueueLock

static void QueueLock(BackendVulkanQueue queue)

Locks the mutex StereoKit uses to guard the given queue family, so you can safely submit work to a queue StereoKit also uses. Always pair this with Backend.Vulkan.QueueUnlock. Note that queue families that resolve to the same index share a single lock, so don’t nest locks across two families that may alias.

   
BackendVulkanQueue queue Which queue family’s lock to acquire.




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