Class VkWin32KeyedMutexAcquireReleaseInfoKHR

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer

    public class VkWin32KeyedMutexAcquireReleaseInfoKHR
    extends Struct
    implements NativeResource
    Use the Windows keyed mutex mechanism to synchronize work.
    Valid Usage
    Valid Usage (Implicit)
    • sType must be STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_KHR
    • If acquireCount is not 0, pAcquireSyncs must be a valid pointer to an array of acquireCount valid VkDeviceMemory handles
    • If acquireCount is not 0, pAcquireKeys must be a valid pointer to an array of acquireCount uint64_t values
    • If acquireCount is not 0, pAcquireTimeouts must be a valid pointer to an array of acquireCount uint32_t values
    • If releaseCount is not 0, pReleaseSyncs must be a valid pointer to an array of releaseCount valid VkDeviceMemory handles
    • If releaseCount is not 0, pReleaseKeys must be a valid pointer to an array of releaseCount uint64_t values
    • Both of the elements of pAcquireSyncs, and the elements of pReleaseSyncs that are valid handles must have been created, allocated, or retrieved from the same VkDevice

    Member documentation

    • acquireCount – the number of entries in the pAcquireSyncs, pAcquireKeys, and pAcquireTimeoutMilliseconds arrays.
    • pAcquireSyncs – a pointer to an array of VkDeviceMemory objects which were imported from Direct3D 11 resources.
    • pAcquireKeys – 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 in pAcquireSyncs.
    • releaseCount – the number of entries in the pReleaseSyncs and pReleaseKeys arrays.
    • pReleaseSyncs – a pointer to an array of VkDeviceMemory objects which were imported from Direct3D 11 resources.
    • pReleaseKeys – 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 in pReleaseSyncs.

    Layout

    
     struct VkWin32KeyedMutexAcquireReleaseInfoKHR {
         VkStructureType sType;
         void const * pNext;
         uint32_t acquireCount;
         VkDeviceMemory const * pAcquireSyncs;
         uint64_t const * pAcquireKeys;
         uint32_t const * pAcquireTimeouts;
         uint32_t releaseCount;
         VkDeviceMemory const * pReleaseSyncs;
         uint64_t const * pReleaseKeys;
     }