public class VkTimelineSemaphoreSubmitInfoKHR
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 was not created with a VkSemaphoreTypeKHR of SEMAPHORE_TYPE_TIMELINE_KHR, the implementation must ignore the value in the pWaitSemaphoreValues or pSignalSemaphoreValues entry.
sType must be STRUCTURE_TYPE_TIMELINE_SEMAPHORE_SUBMIT_INFO_KHRwaitSemaphoreValueCount is not 0, and pWaitSemaphoreValues is not NULL, pWaitSemaphoreValues must be a valid pointer to an array of waitSemaphoreValueCount uint64_t valuessignalSemaphoreValueCount is not 0, and pSignalSemaphoreValues is not NULL, pSignalSemaphoreValues must be a valid pointer to an array of signalSemaphoreValueCount uint64_t valuessType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.waitSemaphoreValueCount – the number of semaphore wait values specified in pWaitSemaphoreValues.pWaitSemaphoreValues – an array of length waitSemaphoreValueCount containing values for the corresponding semaphores in VkSubmitInfo::pWaitSemaphores to wait for.signalSemaphoreValueCount – the number of semaphore signal values specified in pSignalSemaphoreValues.pSignalSemaphoreValues – an array of length signalSemaphoreValueCount containing values for the corresponding semaphores in VkSubmitInfo::pSignalSemaphores to set when signaled.
struct VkTimelineSemaphoreSubmitInfoKHR {
VkStructureType sType;
void const * pNext;
uint32_t waitSemaphoreValueCount;
uint64_t const * pWaitSemaphoreValues;
uint32_t signalSemaphoreValueCount;
uint64_t const * pSignalSemaphoreValues;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkTimelineSemaphoreSubmitInfoKHR.Buffer
An array of
VkTimelineSemaphoreSubmitInfoKHR 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 |
SIGNALSEMAPHOREVALUECOUNT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
static int |
WAITSEMAPHOREVALUECOUNT
The struct member offsets.
|
| Constructor and Description |
|---|
VkTimelineSemaphoreSubmitInfoKHR(java.nio.ByteBuffer container)
Creates a
VkTimelineSemaphoreSubmitInfoKHR instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkTimelineSemaphoreSubmitInfoKHR |
calloc()
Returns a new
VkTimelineSemaphoreSubmitInfoKHR instance allocated with memCalloc. |
static VkTimelineSemaphoreSubmitInfoKHR.Buffer |
calloc(int capacity)
Returns a new
VkTimelineSemaphoreSubmitInfoKHR.Buffer instance allocated with memCalloc. |
static VkTimelineSemaphoreSubmitInfoKHR |
callocStack()
Returns a new
VkTimelineSemaphoreSubmitInfoKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkTimelineSemaphoreSubmitInfoKHR.Buffer |
callocStack(int capacity)
Returns a new
VkTimelineSemaphoreSubmitInfoKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkTimelineSemaphoreSubmitInfoKHR.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkTimelineSemaphoreSubmitInfoKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkTimelineSemaphoreSubmitInfoKHR |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkTimelineSemaphoreSubmitInfoKHR instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkTimelineSemaphoreSubmitInfoKHR |
create()
Returns a new
VkTimelineSemaphoreSubmitInfoKHR instance allocated with BufferUtils. |
static VkTimelineSemaphoreSubmitInfoKHR.Buffer |
create(int capacity)
Returns a new
VkTimelineSemaphoreSubmitInfoKHR.Buffer instance allocated with BufferUtils. |
static VkTimelineSemaphoreSubmitInfoKHR |
create(long address)
Returns a new
VkTimelineSemaphoreSubmitInfoKHR instance for the specified memory address. |
static VkTimelineSemaphoreSubmitInfoKHR.Buffer |
create(long address,
int capacity)
Create a
VkTimelineSemaphoreSubmitInfoKHR.Buffer instance at the specified memory. |
static VkTimelineSemaphoreSubmitInfoKHR |
createSafe(long address)
|
static VkTimelineSemaphoreSubmitInfoKHR.Buffer |
createSafe(long address,
int capacity)
|
static VkTimelineSemaphoreSubmitInfoKHR |
malloc()
Returns a new
VkTimelineSemaphoreSubmitInfoKHR instance allocated with memAlloc. |
static VkTimelineSemaphoreSubmitInfoKHR.Buffer |
malloc(int capacity)
Returns a new
VkTimelineSemaphoreSubmitInfoKHR.Buffer instance allocated with memAlloc. |
static VkTimelineSemaphoreSubmitInfoKHR |
mallocStack()
Returns a new
VkTimelineSemaphoreSubmitInfoKHR instance allocated on the thread-local MemoryStack. |
static VkTimelineSemaphoreSubmitInfoKHR.Buffer |
mallocStack(int capacity)
Returns a new
VkTimelineSemaphoreSubmitInfoKHR.Buffer instance allocated on the thread-local MemoryStack. |
static VkTimelineSemaphoreSubmitInfoKHR.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkTimelineSemaphoreSubmitInfoKHR.Buffer instance allocated on the specified MemoryStack. |
static VkTimelineSemaphoreSubmitInfoKHR |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkTimelineSemaphoreSubmitInfoKHR 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 |
nsignalSemaphoreValueCount(long struct)
Unsafe version of
signalSemaphoreValueCount(). |
static void |
nsignalSemaphoreValueCount(long struct,
int value)
Sets the specified value to the
signalSemaphoreValueCount 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 |
nwaitSemaphoreValueCount(long struct)
Unsafe version of
waitSemaphoreValueCount(). |
static void |
nwaitSemaphoreValueCount(long struct,
int value)
Sets the specified value to the
waitSemaphoreValueCount field of the specified struct. |
long |
pNext()
Returns the value of the
pNext field. |
VkTimelineSemaphoreSubmitInfoKHR |
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. |
VkTimelineSemaphoreSubmitInfoKHR |
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. |
VkTimelineSemaphoreSubmitInfoKHR |
pWaitSemaphoreValues(java.nio.LongBuffer value)
Sets the address of the specified
LongBuffer to the pWaitSemaphoreValues field. |
VkTimelineSemaphoreSubmitInfoKHR |
set(int sType,
long pNext,
int waitSemaphoreValueCount,
java.nio.LongBuffer pWaitSemaphoreValues,
int signalSemaphoreValueCount,
java.nio.LongBuffer pSignalSemaphoreValues)
Initializes this struct with the specified values.
|
VkTimelineSemaphoreSubmitInfoKHR |
set(VkTimelineSemaphoreSubmitInfoKHR src)
Copies the specified struct data to this struct.
|
int |
signalSemaphoreValueCount()
Returns the value of the
signalSemaphoreValueCount field. |
VkTimelineSemaphoreSubmitInfoKHR |
signalSemaphoreValueCount(int value)
Sets the specified value to the
signalSemaphoreValueCount field. |
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkTimelineSemaphoreSubmitInfoKHR |
sType(int value)
Sets the specified value to the
sType field. |
int |
waitSemaphoreValueCount()
Returns the value of the
waitSemaphoreValueCount field. |
VkTimelineSemaphoreSubmitInfoKHR |
waitSemaphoreValueCount(int value)
Sets the specified value to the
waitSemaphoreValueCount 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 WAITSEMAPHOREVALUECOUNT
public static final int PWAITSEMAPHOREVALUES
public static final int SIGNALSEMAPHOREVALUECOUNT
public static final int PSIGNALSEMAPHOREVALUES
public VkTimelineSemaphoreSubmitInfoKHR(java.nio.ByteBuffer container)
VkTimelineSemaphoreSubmitInfoKHR 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 waitSemaphoreValueCount()
waitSemaphoreValueCount field.@Nullable public java.nio.LongBuffer pWaitSemaphoreValues()
LongBuffer view of the data pointed to by the pWaitSemaphoreValues field.public int signalSemaphoreValueCount()
signalSemaphoreValueCount field.@Nullable public java.nio.LongBuffer pSignalSemaphoreValues()
LongBuffer view of the data pointed to by the pSignalSemaphoreValues field.public VkTimelineSemaphoreSubmitInfoKHR sType(int value)
sType field.public VkTimelineSemaphoreSubmitInfoKHR pNext(long value)
pNext field.public VkTimelineSemaphoreSubmitInfoKHR waitSemaphoreValueCount(int value)
waitSemaphoreValueCount field.public VkTimelineSemaphoreSubmitInfoKHR pWaitSemaphoreValues(@Nullable java.nio.LongBuffer value)
LongBuffer to the pWaitSemaphoreValues field.public VkTimelineSemaphoreSubmitInfoKHR signalSemaphoreValueCount(int value)
signalSemaphoreValueCount field.public VkTimelineSemaphoreSubmitInfoKHR pSignalSemaphoreValues(@Nullable java.nio.LongBuffer value)
LongBuffer to the pSignalSemaphoreValues field.public VkTimelineSemaphoreSubmitInfoKHR set(int sType, long pNext, int waitSemaphoreValueCount, @Nullable java.nio.LongBuffer pWaitSemaphoreValues, int signalSemaphoreValueCount, @Nullable java.nio.LongBuffer pSignalSemaphoreValues)
public VkTimelineSemaphoreSubmitInfoKHR set(VkTimelineSemaphoreSubmitInfoKHR src)
src - the source structpublic static VkTimelineSemaphoreSubmitInfoKHR malloc()
VkTimelineSemaphoreSubmitInfoKHR instance allocated with memAlloc. The instance must be explicitly freed.public static VkTimelineSemaphoreSubmitInfoKHR calloc()
VkTimelineSemaphoreSubmitInfoKHR instance allocated with memCalloc. The instance must be explicitly freed.public static VkTimelineSemaphoreSubmitInfoKHR create()
VkTimelineSemaphoreSubmitInfoKHR instance allocated with BufferUtils.public static VkTimelineSemaphoreSubmitInfoKHR create(long address)
VkTimelineSemaphoreSubmitInfoKHR instance for the specified memory address.@Nullable public static VkTimelineSemaphoreSubmitInfoKHR createSafe(long address)
public static VkTimelineSemaphoreSubmitInfoKHR.Buffer malloc(int capacity)
VkTimelineSemaphoreSubmitInfoKHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkTimelineSemaphoreSubmitInfoKHR.Buffer calloc(int capacity)
VkTimelineSemaphoreSubmitInfoKHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkTimelineSemaphoreSubmitInfoKHR.Buffer create(int capacity)
VkTimelineSemaphoreSubmitInfoKHR.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkTimelineSemaphoreSubmitInfoKHR.Buffer create(long address, int capacity)
VkTimelineSemaphoreSubmitInfoKHR.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkTimelineSemaphoreSubmitInfoKHR.Buffer createSafe(long address, int capacity)
public static VkTimelineSemaphoreSubmitInfoKHR mallocStack()
VkTimelineSemaphoreSubmitInfoKHR instance allocated on the thread-local MemoryStack.public static VkTimelineSemaphoreSubmitInfoKHR callocStack()
VkTimelineSemaphoreSubmitInfoKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkTimelineSemaphoreSubmitInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
VkTimelineSemaphoreSubmitInfoKHR instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkTimelineSemaphoreSubmitInfoKHR callocStack(org.lwjgl.system.MemoryStack stack)
VkTimelineSemaphoreSubmitInfoKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkTimelineSemaphoreSubmitInfoKHR.Buffer mallocStack(int capacity)
VkTimelineSemaphoreSubmitInfoKHR.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkTimelineSemaphoreSubmitInfoKHR.Buffer callocStack(int capacity)
VkTimelineSemaphoreSubmitInfoKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkTimelineSemaphoreSubmitInfoKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkTimelineSemaphoreSubmitInfoKHR.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkTimelineSemaphoreSubmitInfoKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkTimelineSemaphoreSubmitInfoKHR.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 nwaitSemaphoreValueCount(long struct)
waitSemaphoreValueCount().@Nullable public static java.nio.LongBuffer npWaitSemaphoreValues(long struct)
pWaitSemaphoreValues.public static int nsignalSemaphoreValueCount(long struct)
signalSemaphoreValueCount().@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 nwaitSemaphoreValueCount(long struct,
int value)
waitSemaphoreValueCount field of the specified struct.public static void npWaitSemaphoreValues(long struct,
@Nullable
java.nio.LongBuffer value)
pWaitSemaphoreValues.public static void nsignalSemaphoreValueCount(long struct,
int value)
signalSemaphoreValueCount field of the specified struct.public static void npSignalSemaphoreValues(long struct,
@Nullable
java.nio.LongBuffer value)
pSignalSemaphoreValues.Copyright LWJGL. All Rights Reserved. License terms.