If the semaphore in VkSubmitInfo::pWaitSemaphores or VkSubmitInfo::pSignalSemaphores corresponding to an entry in pWaitSemaphoreValues or pSignalSemaphoreValues respectively does not currently have a payload referring to a Direct3D 12 fence, the implementation must ignore the value in the pWaitSemaphoreValues or pSignalSemaphoreValues entry.
As the introduction of the external semaphore handle type EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT predates that of timeline semaphores, support for importing semaphore payloads from external handles of that type into semaphores created (implicitly or explicitly) with a VkSemaphoreType of SEMAPHORE_TYPE_BINARY is preserved for backwards compatibility. However, applications should prefer importing such handle types into semaphores created with a VkSemaphoreType of SEMAPHORE_TYPE_TIMELINE, and use the VkTimelineSemaphoreSubmitInfo structure instead of the VkD3D12FenceSubmitInfoKHR structure to specify the values to use when waiting for and signaling such semaphores.
waitSemaphoreValuesCount must be the same value as VkSubmitInfo::waitSemaphoreCount, where this structure is in the pNext chain of a VkSubmitInfo structuresignalSemaphoreValuesCount must be the same value as VkSubmitInfo::signalSemaphoreCount, where this structure is in the pNext chain of a VkSubmitInfo structuresType must be STRUCTURE_TYPE_D3D12_FENCE_SUBMIT_INFO_KHRwaitSemaphoreValuesCount is not 0, and pWaitSemaphoreValues is not NULL, pWaitSemaphoreValues must be a valid pointer to an array of waitSemaphoreValuesCount uint64_t valuessignalSemaphoreValuesCount is not 0, and pSignalSemaphoreValues is not NULL, pSignalSemaphoreValues must be a valid pointer to an array of signalSemaphoreValuesCount uint64_t values
struct VkD3D12FenceSubmitInfoKHR {
VkStructureType sType;
void const * pNext;
uint32_t waitSemaphoreValuesCount;
uint64_t const * pWaitSemaphoreValues;
uint32_t signalSemaphoreValuesCount;
uint64_t const * pSignalSemaphoreValues;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkD3D12FenceSubmitInfoKHR.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | PSIGNALSEMAPHOREVALUES
The struct member offsets. |
| public static final int | PWAITSEMAPHOREVALUES
The struct member offsets. |
| public static final int | SIGNALSEMAPHOREVALUESCOUNT
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STYPE
The struct member offsets. |
| public static final int | WAITSEMAPHOREVALUESCOUNT
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkD3D12FenceSubmitInfoKHR(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkD3D12FenceSubmitInfoKHR | |
| public static VkD3D12FenceSubmitInfoKHR. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkD3D12FenceSubmitInfoKHR | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkD3D12FenceSubmitInfoKHR. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkD3D12FenceSubmitInfoKHR | |
| public static VkD3D12FenceSubmitInfoKHR | |
| public static VkD3D12FenceSubmitInfoKHR. | |
| public static VkD3D12FenceSubmitInfoKHR. | |
| protected VkD3D12FenceSubmitInfoKHR | 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 VkD3D12FenceSubmitInfoKHR | |
| public static VkD3D12FenceSubmitInfoKHR | create(long address)
Returns a new |
| public static VkD3D12FenceSubmitInfoKHR. | create(int
the buffer capacity capacity)Returns a new |
| public static VkD3D12FenceSubmitInfoKHR. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkD3D12FenceSubmitInfoKHR | |
| public static VkD3D12FenceSubmitInfoKHR. | |
| public static VkD3D12FenceSubmitInfoKHR | |
| public static VkD3D12FenceSubmitInfoKHR. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkD3D12FenceSubmitInfoKHR | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkD3D12FenceSubmitInfoKHR. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkD3D12FenceSubmitInfoKHR | |
| public static VkD3D12FenceSubmitInfoKHR | |
| public static VkD3D12FenceSubmitInfoKHR. | |
| public static VkD3D12FenceSubmitInfoKHR. | |
| public static long | |
| public static void | |
| public static LongBuffer | |
| public static void | |
| public static LongBuffer | |
| public static void | |
| public static int | |
| public static void | nsignalSemaphoreValuesCount(long struct, int value)
Sets the specified value to the |
| public static int | |
| public static void | |
| public static int | |
| public static void | nwaitSemaphoreValuesCount(long struct, int value)
Sets the specified value to the |
| public long | |
| public VkD3D12FenceSubmitInfoKHR | |
| public LongBuffer | pSignalSemaphoreValues()
a pointer to an array of |
| public VkD3D12FenceSubmitInfoKHR | pSignalSemaphoreValues(LongBuffer value)
Sets the address of the specified |
| public LongBuffer | pWaitSemaphoreValues()
a pointer to an array of |
| public VkD3D12FenceSubmitInfoKHR | pWaitSemaphoreValues(LongBuffer value)
Sets the address of the specified |
| public VkD3D12FenceSubmitInfoKHR | set(int sType, long pNext, int waitSemaphoreValuesCount, LongBuffer pWaitSemaphoreValues, int signalSemaphoreValuesCount, LongBuffer pSignalSemaphoreValues)
Initializes this struct with the specified values. |
| public VkD3D12FenceSubmitInfoKHR | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | signalSemaphoreValuesCount()
the number of semaphore signal values specified in |
| public VkD3D12FenceSubmitInfoKHR | signalSemaphoreValuesCount(int value)
Sets the specified value to the |
| public int | |
| public int | |
| public VkD3D12FenceSubmitInfoKHR | |
| public VkD3D12FenceSubmitInfoKHR | |
| public int | |
| public VkD3D12FenceSubmitInfoKHR |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| PNEXT | back to summary |
|---|---|
| public static final int PNEXT The struct member offsets. | |
| PSIGNALSEMAPHOREVALUES | back to summary |
|---|---|
| public static final int PSIGNALSEMAPHOREVALUES The struct member offsets. | |
| PWAITSEMAPHOREVALUES | back to summary |
|---|---|
| public static final int PWAITSEMAPHOREVALUES The struct member offsets. | |
| SIGNALSEMAPHOREVALUESCOUNT | back to summary |
|---|---|
| public static final int SIGNALSEMAPHOREVALUESCOUNT The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| STYPE | back to summary |
|---|---|
| public static final int STYPE The struct member offsets. | |
| WAITSEMAPHOREVALUESCOUNT | back to summary |
|---|---|
| public static final int WAITSEMAPHOREVALUESCOUNT The struct member offsets. | |
| VkD3D12FenceSubmitInfoKHR | back to summary |
|---|---|
| protected VkD3D12FenceSubmitInfoKHR(long address, ByteBuffer container) | |
| VkD3D12FenceSubmitInfoKHR | back to summary |
|---|---|
| public VkD3D12FenceSubmitInfoKHR(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkD3D12FenceSubmitInfoKHR calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkD3D12FenceSubmitInfoKHR. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkD3D12FenceSubmitInfoKHR calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkD3D12FenceSubmitInfoKHR. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static VkD3D12FenceSubmitInfoKHR callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkD3D12FenceSubmitInfoKHR callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkD3D12FenceSubmitInfoKHR. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkD3D12FenceSubmitInfoKHR. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected VkD3D12FenceSubmitInfoKHR create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkD3D12FenceSubmitInfoKHR create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkD3D12FenceSubmitInfoKHR create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkD3D12FenceSubmitInfoKHR. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkD3D12FenceSubmitInfoKHR. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkD3D12FenceSubmitInfoKHR createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkD3D12FenceSubmitInfoKHR. Like
| |
| malloc | back to summary |
|---|---|
| public static VkD3D12FenceSubmitInfoKHR malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkD3D12FenceSubmitInfoKHR. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkD3D12FenceSubmitInfoKHR malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkD3D12FenceSubmitInfoKHR. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static VkD3D12FenceSubmitInfoKHR mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkD3D12FenceSubmitInfoKHR mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkD3D12FenceSubmitInfoKHR. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkD3D12FenceSubmitInfoKHR. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| npNext | back to summary |
|---|---|
| public static long npNext(long struct) Unsafe version of | |
| npNext | back to summary |
|---|---|
| public static void npNext(long struct, long value) Unsafe version of | |
| npSignalSemaphoreValues | back to summary |
|---|---|
| public static LongBuffer npSignalSemaphoreValues(long struct) Unsafe version of
| |
| npSignalSemaphoreValues | back to summary |
|---|---|
| public static void npSignalSemaphoreValues(long struct, LongBuffer value) Unsafe version of | |
| npWaitSemaphoreValues | back to summary |
|---|---|
| public static LongBuffer npWaitSemaphoreValues(long struct) Unsafe version of
| |
| npWaitSemaphoreValues | back to summary |
|---|---|
| public static void npWaitSemaphoreValues(long struct, LongBuffer value) Unsafe version of | |
| nsignalSemaphoreValuesCount | back to summary |
|---|---|
| public static int nsignalSemaphoreValuesCount(long struct) Unsafe version of | |
| nsignalSemaphoreValuesCount | back to summary |
|---|---|
| public static void nsignalSemaphoreValuesCount(long struct, int value) Sets the specified value to the | |
| nsType | back to summary |
|---|---|
| public static int nsType(long struct) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static void nsType(long struct, int value) Unsafe version of | |
| nwaitSemaphoreValuesCount | back to summary |
|---|---|
| public static int nwaitSemaphoreValuesCount(long struct) Unsafe version of | |
| nwaitSemaphoreValuesCount | back to summary |
|---|---|
| public static void nwaitSemaphoreValuesCount(long struct, int value) Sets the specified value to the | |
| pNext | back to summary |
|---|---|
| public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkD3D12FenceSubmitInfoKHR pNext(long value) Sets the specified value to the | |
| pSignalSemaphoreValues | back to summary |
|---|---|
| public LongBuffer pSignalSemaphoreValues() a pointer to an array of
| |
| pSignalSemaphoreValues | back to summary |
|---|---|
| public VkD3D12FenceSubmitInfoKHR pSignalSemaphoreValues(LongBuffer value) Sets the address of the specified | |
| pWaitSemaphoreValues | back to summary |
|---|---|
| public LongBuffer pWaitSemaphoreValues() a pointer to an array of
| |
| pWaitSemaphoreValues | back to summary |
|---|---|
| public VkD3D12FenceSubmitInfoKHR pWaitSemaphoreValues(LongBuffer value) Sets the address of the specified | |
| set | back to summary |
|---|---|
| public VkD3D12FenceSubmitInfoKHR set(int sType, long pNext, int waitSemaphoreValuesCount, LongBuffer pWaitSemaphoreValues, int signalSemaphoreValuesCount, LongBuffer pSignalSemaphoreValues) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkD3D12FenceSubmitInfoKHR set(VkD3D12FenceSubmitInfoKHR src) Copies the specified struct data to this struct.
| |
| signalSemaphoreValuesCount | back to summary |
|---|---|
| public int signalSemaphoreValuesCount() the number of semaphore signal values specified in
| |
| signalSemaphoreValuesCount | back to summary |
|---|---|
| public VkD3D12FenceSubmitInfoKHR signalSemaphoreValuesCount(int value) Sets the specified value to the | |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| sType | back to summary |
|---|---|
| public int sType() a
| |
| sType | back to summary |
|---|---|
| public VkD3D12FenceSubmitInfoKHR sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkD3D12FenceSubmitInfoKHR sType$Default() Sets the | |
| waitSemaphoreValuesCount | back to summary |
|---|---|
| public int waitSemaphoreValuesCount() the number of semaphore wait values specified in
| |
| waitSemaphoreValuesCount | back to summary |
|---|---|
| public VkD3D12FenceSubmitInfoKHR waitSemaphoreValuesCount(int value) Sets the specified value to the | |
VkD3D12FenceSubmitInfoKHR structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkD3D12FenceSubmitInfoKHR |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkD3D12FenceSubmitInfoKHR ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| getElementFactory | back to summary |
|---|---|
| protected VkD3D12FenceSubmitInfoKHR getElementFactory() Implements abstract org.
| |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkD3D12FenceSubmitInfoKHR. Sets the specified value to the | |
| pSignalSemaphoreValues | back to summary |
|---|---|
public LongBuffer pSignalSemaphoreValues()
| |
| pSignalSemaphoreValues | back to summary |
|---|---|
| public VkD3D12FenceSubmitInfoKHR. Sets the address of the specified | |
| pWaitSemaphoreValues | back to summary |
|---|---|
public LongBuffer pWaitSemaphoreValues()
| |
| pWaitSemaphoreValues | back to summary |
|---|---|
| public VkD3D12FenceSubmitInfoKHR. Sets the address of the specified | |
| self | back to summary |
|---|---|
| protected VkD3D12FenceSubmitInfoKHR. Implements abstract org.
| |
| signalSemaphoreValuesCount | back to summary |
|---|---|
public int signalSemaphoreValuesCount()
| |
| signalSemaphoreValuesCount | back to summary |
|---|---|
| public VkD3D12FenceSubmitInfoKHR. Sets the specified value to the | |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkD3D12FenceSubmitInfoKHR. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkD3D12FenceSubmitInfoKHR. Sets the | |
| waitSemaphoreValuesCount | back to summary |
|---|---|
public int waitSemaphoreValuesCount()
| |
| waitSemaphoreValuesCount | back to summary |
|---|---|
| public VkD3D12FenceSubmitInfoKHR. Sets the specified value to the | |