pAcquireSyncs and pReleaseSyncs must be a device memory object imported by setting VkImportMemoryWin32HandleInfoKHR::handleType to EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_BIT or EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_KMT_BITsType must be STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_KHRacquireCount is not 0, pAcquireSyncs must be a valid pointer to an array of acquireCount valid VkDeviceMemory handlesacquireCount is not 0, pAcquireKeys must be a valid pointer to an array of acquireCount uint64_t valuesacquireCount is not 0, pAcquireTimeouts must be a valid pointer to an array of acquireCount uint32_t valuesreleaseCount is not 0, pReleaseSyncs must be a valid pointer to an array of releaseCount valid VkDeviceMemory handlesreleaseCount is not 0, pReleaseKeys must be a valid pointer to an array of releaseCount uint64_t valuespAcquireSyncs, and the elements of pReleaseSyncs that are valid handles of non-ignored parameters must have been created, allocated, or retrieved from the same VkDevice
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;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkWin32KeyedMutexAcquireReleaseInfoKHR.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ACQUIRECOUNT
The struct member offsets. |
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | PACQUIREKEYS
The struct member offsets. |
| public static final int | PACQUIRESYNCS
The struct member offsets. |
| public static final int | PACQUIRETIMEOUTS
The struct member offsets. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | PRELEASEKEYS
The struct member offsets. |
| public static final int | PRELEASESYNCS
The struct member offsets. |
| public static final int | RELEASECOUNT
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkWin32KeyedMutexAcquireReleaseInfoKHR(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | acquireCount()
the number of entries in the |
| public VkWin32KeyedMutexAcquireReleaseInfoKHR | |
| public static VkWin32KeyedMutexAcquireReleaseInfoKHR | |
| public static VkWin32KeyedMutexAcquireReleaseInfoKHR. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkWin32KeyedMutexAcquireReleaseInfoKHR | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkWin32KeyedMutexAcquireReleaseInfoKHR. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkWin32KeyedMutexAcquireReleaseInfoKHR | |
| public static VkWin32KeyedMutexAcquireReleaseInfoKHR | |
| public static VkWin32KeyedMutexAcquireReleaseInfoKHR. | |
| public static VkWin32KeyedMutexAcquireReleaseInfoKHR. | |
| protected VkWin32KeyedMutexAcquireReleaseInfoKHR | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static VkWin32KeyedMutexAcquireReleaseInfoKHR | |
| public static VkWin32KeyedMutexAcquireReleaseInfoKHR | create(long address)
Returns a new |
| public static VkWin32KeyedMutexAcquireReleaseInfoKHR. | create(int
the buffer capacity capacity)Returns a new |
| public static VkWin32KeyedMutexAcquireReleaseInfoKHR. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkWin32KeyedMutexAcquireReleaseInfoKHR | |
| public static VkWin32KeyedMutexAcquireReleaseInfoKHR. | |
| public static VkWin32KeyedMutexAcquireReleaseInfoKHR | |
| public static VkWin32KeyedMutexAcquireReleaseInfoKHR. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkWin32KeyedMutexAcquireReleaseInfoKHR | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkWin32KeyedMutexAcquireReleaseInfoKHR. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkWin32KeyedMutexAcquireReleaseInfoKHR | |
| public static VkWin32KeyedMutexAcquireReleaseInfoKHR | |
| public static VkWin32KeyedMutexAcquireReleaseInfoKHR. | |
| public static VkWin32KeyedMutexAcquireReleaseInfoKHR. | |
| public static int | |
| public static void | nacquireCount(long struct, int value)
Sets the specified value to the |
| public static LongBuffer | |
| public static void | |
| public static LongBuffer | |
| public static void | |
| public static IntBuffer | |
| public static void | |
| public static long | |
| public static void | |
| public static LongBuffer | |
| public static void | |
| public static LongBuffer | |
| public static void | |
| public static int | |
| public static void | nreleaseCount(long struct, int value)
Sets the specified value to the |
| public static int | |
| public static void | |
| public LongBuffer | pAcquireKeys()
a pointer to an array of mutex key values to wait for prior to beginning the submitted work. |
| public VkWin32KeyedMutexAcquireReleaseInfoKHR | pAcquireKeys(LongBuffer value)
Sets the address of the specified |
| public LongBuffer | pAcquireSyncs()
a pointer to an array of |
| public VkWin32KeyedMutexAcquireReleaseInfoKHR | pAcquireSyncs(LongBuffer value)
Sets the address of the specified |
| public IntBuffer | pAcquireTimeouts()
a pointer to an array of timeout values, in millisecond units, for each acquire specified in |
| public VkWin32KeyedMutexAcquireReleaseInfoKHR | pAcquireTimeouts(IntBuffer value)
Sets the address of the specified |
| public long | |
| public VkWin32KeyedMutexAcquireReleaseInfoKHR | |
| public LongBuffer | pReleaseKeys()
a pointer to an array of mutex key values to set when the submitted work has completed. |
| public VkWin32KeyedMutexAcquireReleaseInfoKHR | pReleaseKeys(LongBuffer value)
Sets the address of the specified |
| public LongBuffer | pReleaseSyncs()
a pointer to an array of |
| public VkWin32KeyedMutexAcquireReleaseInfoKHR | pReleaseSyncs(LongBuffer value)
Sets the address of the specified |
| public int | |
| public VkWin32KeyedMutexAcquireReleaseInfoKHR | |
| public VkWin32KeyedMutexAcquireReleaseInfoKHR | set(int sType, long pNext, int acquireCount, LongBuffer pAcquireSyncs, LongBuffer pAcquireKeys, IntBuffer pAcquireTimeouts, int releaseCount, LongBuffer pReleaseSyncs, LongBuffer pReleaseKeys)
Initializes this struct with the specified values. |
| public VkWin32KeyedMutexAcquireReleaseInfoKHR | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkWin32KeyedMutexAcquireReleaseInfoKHR | |
| public VkWin32KeyedMutexAcquireReleaseInfoKHR | sType$Default()
Sets the |
| public static void |