public class VkD3D12FenceSubmitInfoKHR
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
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 VkSemaphoreTypeKHR of SEMAPHORE_TYPE_BINARY_KHR is preserved for backwards compatibility. However, applications should prefer importing such handle types into semaphores created with a VkSemaphoreTypeKHR of SEMAPHORE_TYPE_TIMELINE_KHR, and use the VkTimelineSemaphoreSubmitInfoKHR 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 VkSubmitInfo is in the pNext chain of this VkD3D12FenceSubmitInfoKHR structure.signalSemaphoreValuesCount must be the same value as VkSubmitInfo::signalSemaphoreCount, where VkSubmitInfo is in the pNext chain of this VkD3D12FenceSubmitInfoKHR structure.sType 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 valuessType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.waitSemaphoreValuesCount – the number of semaphore wait values specified in pWaitSemaphoreValues.pWaitSemaphoreValues – a pointer to an array of waitSemaphoreValuesCount values for the corresponding semaphores in VkSubmitInfo::pWaitSemaphores to wait for.signalSemaphoreValuesCount – the number of semaphore signal values specified in pSignalSemaphoreValues.pSignalSemaphoreValues – a pointer to an array of signalSemaphoreValuesCount values for the corresponding semaphores in VkSubmitInfo::pSignalSemaphores to set when signaled.
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 |
|---|---|
static class |
VkD3D12FenceSubmitInfoKHR.Buffer
An array of
VkD3D12FenceSubmitInfoKHR structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
PNEXT
The struct member offsets.
|
static int |
PSIGNALSEMAPHOREVALUES
The struct member offsets.
|
static int |
PWAITSEMAPHOREVALUES
The struct member offsets.
|
static int |
SIGNALSEMAPHOREVALUESCOUNT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
static int |
WAITSEMAPHOREVALUESCOUNT
The struct member offsets.
|
| Constructor and Description |
|---|
VkD3D12FenceSubmitInfoKHR(java.nio.ByteBuffer container)
Creates a
VkD3D12FenceSubmitInfoKHR instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkD3D12FenceSubmitInfoKHR |
calloc()
Returns a new
VkD3D12FenceSubmitInfoKHR instance allocated with memCalloc. |
static VkD3D12FenceSubmitInfoKHR.Buffer |
calloc(int capacity)
Returns a new
VkD3D12FenceSubmitInfoKHR.Buffer instance allocated with memCalloc. |
static VkD3D12FenceSubmitInfoKHR |
callocStack()
Returns a new
VkD3D12FenceSubmitInfoKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkD3D12FenceSubmitInfoKHR.Buffer |
callocStack(int capacity)
Returns a new
VkD3D12FenceSubmitInfoKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkD3D12FenceSubmitInfoKHR.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkD3D12FenceSubmitInfoKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkD3D12FenceSubmitInfoKHR |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkD3D12FenceSubmitInfoKHR instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkD3D12FenceSubmitInfoKHR |
create()
Returns a new
VkD3D12FenceSubmitInfoKHR instance allocated with BufferUtils. |
static VkD3D12FenceSubmitInfoKHR.Buffer |
create(int capacity)
Returns a new
VkD3D12FenceSubmitInfoKHR.Buffer instance allocated with BufferUtils. |
static VkD3D12FenceSubmitInfoKHR |
create(long address)
Returns a new
VkD3D12FenceSubmitInfoKHR instance for the specified memory address. |
static VkD3D12FenceSubmitInfoKHR.Buffer |
create(long address,
int capacity)
Create a
VkD3D12FenceSubmitInfoKHR.Buffer instance at the specified memory. |
static VkD3D12FenceSubmitInfoKHR |
createSafe(long address)
|
static VkD3D12FenceSubmitInfoKHR.Buffer |
createSafe(long address,
int capacity)
|
static VkD3D12FenceSubmitInfoKHR |
malloc()
Returns a new
VkD3D12FenceSubmitInfoKHR instance allocated with memAlloc. |
static VkD3D12FenceSubmitInfoKHR.Buffer |
malloc(int capacity)
Returns a new
VkD3D12FenceSubmitInfoKHR.Buffer instance allocated with memAlloc. |
static VkD3D12FenceSubmitInfoKHR |
mallocStack()
Returns a new
VkD3D12FenceSubmitInfoKHR instance allocated on the thread-local MemoryStack. |
static VkD3D12FenceSubmitInfoKHR.Buffer |
mallocStack(int capacity)
Returns a new
VkD3D12FenceSubmitInfoKHR.Buffer instance allocated on the thread-local MemoryStack. |
static VkD3D12FenceSubmitInfoKHR.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkD3D12FenceSubmitInfoKHR.Buffer instance allocated on the specified MemoryStack. |
static VkD3D12FenceSubmitInfoKHR |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkD3D12FenceSubmitInfoKHR instance allocated on the specified MemoryStack. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static java.nio.LongBuffer |
npSignalSemaphoreValues(long struct)
Unsafe version of
pSignalSemaphoreValues. |
static void |
npSignalSemaphoreValues(long struct,
java.nio.LongBuffer value)
Unsafe version of
pSignalSemaphoreValues. |
static java.nio.LongBuffer |
npWaitSemaphoreValues(long struct)
Unsafe version of
pWaitSemaphoreValues. |
static void |
npWaitSemaphoreValues(long struct,
java.nio.LongBuffer value)
Unsafe version of
pWaitSemaphoreValues. |
static int |
nsignalSemaphoreValuesCount(long struct)
Unsafe version of
signalSemaphoreValuesCount(). |
static void |
nsignalSemaphoreValuesCount(long struct,
int value)
Sets the specified value to the
signalSemaphoreValuesCount field of the specified struct. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
static int |
nwaitSemaphoreValuesCount(long struct)
Unsafe version of
waitSemaphoreValuesCount(). |
static void |
nwaitSemaphoreValuesCount(long struct,
int value)
Sets the specified value to the
waitSemaphoreValuesCount field of the specified struct. |
long |
pNext()
Returns the value of the
pNext field. |
VkD3D12FenceSubmitInfoKHR |
pNext(long value)
Sets the specified value to the
pNext field. |
java.nio.LongBuffer |
pSignalSemaphoreValues()
Returns a
LongBuffer view of the data pointed to by the pSignalSemaphoreValues field. |
VkD3D12FenceSubmitInfoKHR |
pSignalSemaphoreValues(java.nio.LongBuffer value)
Sets the address of the specified
LongBuffer to the pSignalSemaphoreValues field. |
java.nio.LongBuffer |
pWaitSemaphoreValues()
Returns a
LongBuffer view of the data pointed to by the pWaitSemaphoreValues field. |
VkD3D12FenceSubmitInfoKHR |
pWaitSemaphoreValues(java.nio.LongBuffer value)
Sets the address of the specified
LongBuffer to the pWaitSemaphoreValues field. |
VkD3D12FenceSubmitInfoKHR |
set(int sType,
long pNext,
int waitSemaphoreValuesCount,
java.nio.LongBuffer pWaitSemaphoreValues,
int signalSemaphoreValuesCount,
java.nio.LongBuffer pSignalSemaphoreValues)
Initializes this struct with the specified values.
|
VkD3D12FenceSubmitInfoKHR |
set(VkD3D12FenceSubmitInfoKHR src)
Copies the specified struct data to this struct.
|
int |
signalSemaphoreValuesCount()
Returns the value of the
signalSemaphoreValuesCount field. |
VkD3D12FenceSubmitInfoKHR |
signalSemaphoreValuesCount(int value)
Sets the specified value to the
signalSemaphoreValuesCount field. |
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkD3D12FenceSubmitInfoKHR |
sType(int value)
Sets the specified value to the
sType field. |
int |
waitSemaphoreValuesCount()
Returns the value of the
waitSemaphoreValuesCount field. |
VkD3D12FenceSubmitInfoKHR |
waitSemaphoreValuesCount(int value)
Sets the specified value to the
waitSemaphoreValuesCount field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int WAITSEMAPHOREVALUESCOUNT
public static final int PWAITSEMAPHOREVALUES
public static final int SIGNALSEMAPHOREVALUESCOUNT
public static final int PSIGNALSEMAPHOREVALUES
public VkD3D12FenceSubmitInfoKHR(java.nio.ByteBuffer container)
VkD3D12FenceSubmitInfoKHR 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.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic int sType()
sType field.public long pNext()
pNext field.public int waitSemaphoreValuesCount()
waitSemaphoreValuesCount field.@Nullable public java.nio.LongBuffer pWaitSemaphoreValues()
LongBuffer view of the data pointed to by the pWaitSemaphoreValues field.public int signalSemaphoreValuesCount()
signalSemaphoreValuesCount field.@Nullable public java.nio.LongBuffer pSignalSemaphoreValues()
LongBuffer view of the data pointed to by the pSignalSemaphoreValues field.public VkD3D12FenceSubmitInfoKHR sType(int value)
sType field.public VkD3D12FenceSubmitInfoKHR pNext(long value)
pNext field.public VkD3D12FenceSubmitInfoKHR waitSemaphoreValuesCount(int value)
waitSemaphoreValuesCount field.public VkD3D12FenceSubmitInfoKHR pWaitSemaphoreValues(@Nullable java.nio.LongBuffer value)
LongBuffer to the pWaitSemaphoreValues field.public VkD3D12FenceSubmitInfoKHR signalSemaphoreValuesCount(int value)
signalSemaphoreValuesCount field.public VkD3D12FenceSubmitInfoKHR pSignalSemaphoreValues(@Nullable java.nio.LongBuffer value)
LongBuffer to the pSignalSemaphoreValues field.public VkD3D12FenceSubmitInfoKHR set(int sType, long pNext, int waitSemaphoreValuesCount, @Nullable java.nio.LongBuffer pWaitSemaphoreValues, int signalSemaphoreValuesCount, @Nullable java.nio.LongBuffer pSignalSemaphoreValues)
public VkD3D12FenceSubmitInfoKHR set(VkD3D12FenceSubmitInfoKHR src)
src - the source structpublic static VkD3D12FenceSubmitInfoKHR malloc()
VkD3D12FenceSubmitInfoKHR instance allocated with memAlloc. The instance must be explicitly freed.public static VkD3D12FenceSubmitInfoKHR calloc()
VkD3D12FenceSubmitInfoKHR instance allocated with memCalloc. The instance must be explicitly freed.public static VkD3D12FenceSubmitInfoKHR create()
VkD3D12FenceSubmitInfoKHR instance allocated with BufferUtils.public static VkD3D12FenceSubmitInfoKHR create(long address)
VkD3D12FenceSubmitInfoKHR instance for the specified memory address.@Nullable public static VkD3D12FenceSubmitInfoKHR createSafe(long address)
public static VkD3D12FenceSubmitInfoKHR.Buffer malloc(int capacity)
VkD3D12FenceSubmitInfoKHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkD3D12FenceSubmitInfoKHR.Buffer calloc(int capacity)
VkD3D12FenceSubmitInfoKHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkD3D12FenceSubmitInfoKHR.Buffer create(int capacity)
VkD3D12FenceSubmitInfoKHR.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkD3D12FenceSubmitInfoKHR.Buffer create(long address, int capacity)
VkD3D12FenceSubmitInfoKHR.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkD3D12FenceSubmitInfoKHR.Buffer createSafe(long address, int capacity)
public static VkD3D12FenceSubmitInfoKHR mallocStack()
VkD3D12FenceSubmitInfoKHR instance allocated on the thread-local MemoryStack.public static VkD3D12FenceSubmitInfoKHR callocStack()
VkD3D12FenceSubmitInfoKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkD3D12FenceSubmitInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
VkD3D12FenceSubmitInfoKHR instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkD3D12FenceSubmitInfoKHR callocStack(org.lwjgl.system.MemoryStack stack)
VkD3D12FenceSubmitInfoKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkD3D12FenceSubmitInfoKHR.Buffer mallocStack(int capacity)
VkD3D12FenceSubmitInfoKHR.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkD3D12FenceSubmitInfoKHR.Buffer callocStack(int capacity)
VkD3D12FenceSubmitInfoKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkD3D12FenceSubmitInfoKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkD3D12FenceSubmitInfoKHR.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkD3D12FenceSubmitInfoKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkD3D12FenceSubmitInfoKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int nsType(long struct)
sType().public static long npNext(long struct)
pNext().public static int nwaitSemaphoreValuesCount(long struct)
waitSemaphoreValuesCount().@Nullable public static java.nio.LongBuffer npWaitSemaphoreValues(long struct)
pWaitSemaphoreValues.public static int nsignalSemaphoreValuesCount(long struct)
signalSemaphoreValuesCount().@Nullable public static java.nio.LongBuffer npSignalSemaphoreValues(long struct)
pSignalSemaphoreValues.public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nwaitSemaphoreValuesCount(long struct,
int value)
waitSemaphoreValuesCount field of the specified struct.public static void npWaitSemaphoreValues(long struct,
@Nullable
java.nio.LongBuffer value)
pWaitSemaphoreValues.public static void nsignalSemaphoreValuesCount(long struct,
int value)
signalSemaphoreValuesCount field of the specified struct.public static void npSignalSemaphoreValues(long struct,
@Nullable
java.nio.LongBuffer value)
pSignalSemaphoreValues.Copyright LWJGL. All Rights Reserved. License terms.