Class VkWin32KeyedMutexAcquireReleaseInfoNV

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

    public class VkWin32KeyedMutexAcquireReleaseInfoNV
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource
    Use Windows keyex mutex mechanism to synchronize work.
    Valid Usage (Implicit)
    • sType must be STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_NV
    • 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, pAcquireTimeoutMilliseconds 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 of non-ignored parameters must have been created, allocated, or retrieved from the same VkDevice

    Layout

    
     struct VkWin32KeyedMutexAcquireReleaseInfoNV {
         VkStructureType sType;
         void const * pNext;
         uint32_t acquireCount();
         VkDeviceMemory const * pAcquireSyncs();
         uint64_t const * pAcquireKeys();
         uint32_t const * pAcquireTimeoutMilliseconds();
         uint32_t releaseCount();
         VkDeviceMemory const * pReleaseSyncs();
         uint64_t const * pReleaseKeys();
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, ACQUIRECOUNT, PACQUIRESYNCS, PACQUIREKEYS, PACQUIRETIMEOUTMILLISECONDS, RELEASECOUNT, PRELEASESYNCS, PRELEASEKEYS

        The struct member offsets.
    • Constructor Detail

      • VkWin32KeyedMutexAcquireReleaseInfoNV

        public VkWin32KeyedMutexAcquireReleaseInfoNV​(java.nio.ByteBuffer container)
        Creates a VkWin32KeyedMutexAcquireReleaseInfoNV instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

        The created instance holds a strong reference to the container object.