VkWin32KeyedMutexAcquireReleaseInfoKHR - Use the Windows keyed mutex mechanism to synchronize work
Valid Usage
Each member of
pAcquireSyncsandpReleaseSyncsmust be a device memory object imported by setting ImportMemoryWin32HandleInfoKHR::handleTypeto EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_BIT or EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_KMT_BIT
Valid Usage (Implicit)
If
acquireCountis not0,pAcquireSyncsmust be a valid pointer to an array ofacquireCountvalid DeviceMemory handlesIf
acquireCountis not0,pAcquireKeysmust be a valid pointer to an array ofacquireCountuint64_tvaluesIf
acquireCountis not0,pAcquireTimeoutsmust be a valid pointer to an array ofacquireCountuint32_tvaluesIf
releaseCountis not0,pReleaseSyncsmust be a valid pointer to an array ofreleaseCountvalid DeviceMemory handlesIf
releaseCountis not0,pReleaseKeysmust be a valid pointer to an array ofreleaseCountuint64_tvaluesBoth of the elements of
pAcquireSyncs, and the elements ofpReleaseSyncsthat are valid handles of non-ignored parameters must have been created, allocated, or retrieved from the same Device
Structure Chaining
See Also
Constructors
Win32KeyedMutexAcquireReleaseInfoKHRacquireSyncs :: Vector DeviceMemorypAcquireSyncsis a pointer to an array of DeviceMemory objects which were imported from Direct3D 11 resources.acquireKeys :: Vector Word64pAcquireKeysis a pointer to an array of mutex key values to wait for prior to beginning the submitted work. Entries refer to the keyed mutex associated with the corresponding entries inpAcquireSyncs.acquireTimeouts :: Vector Word32pAcquireTimeoutsis a pointer to an array of timeout values, in millisecond units, for each acquire specified inpAcquireKeys.releaseSyncs :: Vector DeviceMemorypReleaseSyncsis a pointer to an array of DeviceMemory objects which were imported from Direct3D 11 resources.releaseKeys :: Vector Word64pReleaseKeysis a pointer to an array of mutex key values to set when the submitted work has completed. Entries refer to the keyed mutex associated with the corresponding entries inpReleaseSyncs.
Instances4Show, FromCStruct, ToCStruct, Zero
Show Win32KeyedMutexAcquireReleaseInfoKHRDefined in vulkan-3.27 · Vulkan.Extensions.VK_KHR_win32_keyed_mutexFromCStruct Win32KeyedMutexAcquireReleaseInfoKHRDefined in vulkan-3.27 · Vulkan.Extensions.VK_KHR_win32_keyed_mutexToCStruct Win32KeyedMutexAcquireReleaseInfoKHRDefined in vulkan-3.27 · Vulkan.Extensions.VK_KHR_win32_keyed_mutexZero Win32KeyedMutexAcquireReleaseInfoKHRDefined in vulkan-3.27 · Vulkan.Extensions.VK_KHR_win32_keyed_mutex