public class VkSemaphoreSignalInfoKHR
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
semaphore must have been created with a VkSemaphoreTypeKHR of SEMAPHORE_TYPE_TIMELINE_KHRvalue must have a value greater than the current value of the semaphorevalue must be less than the value of any pending semaphore signal operationsvalue must have a value which does not differ from the current value of the semaphore or the value of any outstanding semaphore wait or signal operation on semaphore by more than maxTimelineSemaphoreValueDifference.sType must be STRUCTURE_TYPE_SEMAPHORE_SIGNAL_INFO_KHRpNext must be NULLsemaphore must be a valid VkSemaphore handlesType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.semaphore – the handle of the semaphore to signal.value – the value to signal.
struct VkSemaphoreSignalInfoKHR {
VkStructureType sType;
void const * pNext;
VkSemaphore semaphore;
uint64_t value;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkSemaphoreSignalInfoKHR.Buffer
An array of
VkSemaphoreSignalInfoKHR structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SEMAPHORE
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
static int |
VALUE
The struct member offsets.
|
| Constructor and Description |
|---|
VkSemaphoreSignalInfoKHR(java.nio.ByteBuffer container)
Creates a
VkSemaphoreSignalInfoKHR instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkSemaphoreSignalInfoKHR |
calloc()
Returns a new
VkSemaphoreSignalInfoKHR instance allocated with memCalloc. |
static VkSemaphoreSignalInfoKHR.Buffer |
calloc(int capacity)
Returns a new
VkSemaphoreSignalInfoKHR.Buffer instance allocated with memCalloc. |
static VkSemaphoreSignalInfoKHR |
callocStack()
Returns a new
VkSemaphoreSignalInfoKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkSemaphoreSignalInfoKHR.Buffer |
callocStack(int capacity)
Returns a new
VkSemaphoreSignalInfoKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkSemaphoreSignalInfoKHR.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkSemaphoreSignalInfoKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkSemaphoreSignalInfoKHR |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkSemaphoreSignalInfoKHR instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkSemaphoreSignalInfoKHR |
create()
Returns a new
VkSemaphoreSignalInfoKHR instance allocated with BufferUtils. |
static VkSemaphoreSignalInfoKHR.Buffer |
create(int capacity)
Returns a new
VkSemaphoreSignalInfoKHR.Buffer instance allocated with BufferUtils. |
static VkSemaphoreSignalInfoKHR |
create(long address)
Returns a new
VkSemaphoreSignalInfoKHR instance for the specified memory address. |
static VkSemaphoreSignalInfoKHR.Buffer |
create(long address,
int capacity)
Create a
VkSemaphoreSignalInfoKHR.Buffer instance at the specified memory. |
static VkSemaphoreSignalInfoKHR |
createSafe(long address)
|
static VkSemaphoreSignalInfoKHR.Buffer |
createSafe(long address,
int capacity)
|
static VkSemaphoreSignalInfoKHR |
malloc()
Returns a new
VkSemaphoreSignalInfoKHR instance allocated with memAlloc. |
static VkSemaphoreSignalInfoKHR.Buffer |
malloc(int capacity)
Returns a new
VkSemaphoreSignalInfoKHR.Buffer instance allocated with memAlloc. |
static VkSemaphoreSignalInfoKHR |
mallocStack()
Returns a new
VkSemaphoreSignalInfoKHR instance allocated on the thread-local MemoryStack. |
static VkSemaphoreSignalInfoKHR.Buffer |
mallocStack(int capacity)
Returns a new
VkSemaphoreSignalInfoKHR.Buffer instance allocated on the thread-local MemoryStack. |
static VkSemaphoreSignalInfoKHR.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkSemaphoreSignalInfoKHR.Buffer instance allocated on the specified MemoryStack. |
static VkSemaphoreSignalInfoKHR |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkSemaphoreSignalInfoKHR 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 long |
nsemaphore(long struct)
Unsafe version of
semaphore(). |
static void |
nsemaphore(long struct,
long value)
Unsafe version of
semaphore. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
static long |
nvalue(long struct)
Unsafe version of
value(). |
static void |
nvalue(long struct,
long value)
Unsafe version of
value. |
long |
pNext()
Returns the value of the
pNext field. |
VkSemaphoreSignalInfoKHR |
pNext(long value)
Sets the specified value to the
pNext field. |
long |
semaphore()
Returns the value of the
semaphore field. |
VkSemaphoreSignalInfoKHR |
semaphore(long value)
Sets the specified value to the
semaphore field. |
VkSemaphoreSignalInfoKHR |
set(int sType,
long pNext,
long semaphore,
long value)
Initializes this struct with the specified values.
|
VkSemaphoreSignalInfoKHR |
set(VkSemaphoreSignalInfoKHR src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkSemaphoreSignalInfoKHR |
sType(int value)
Sets the specified value to the
sType field. |
long |
value()
Returns the value of the
value field. |
VkSemaphoreSignalInfoKHR |
value(long value)
Sets the specified value to the
value 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 SEMAPHORE
public static final int VALUE
public VkSemaphoreSignalInfoKHR(java.nio.ByteBuffer container)
VkSemaphoreSignalInfoKHR 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 long semaphore()
semaphore field.public long value()
value field.public VkSemaphoreSignalInfoKHR sType(int value)
sType field.public VkSemaphoreSignalInfoKHR pNext(long value)
pNext field.public VkSemaphoreSignalInfoKHR semaphore(long value)
semaphore field.public VkSemaphoreSignalInfoKHR value(long value)
value field.public VkSemaphoreSignalInfoKHR set(int sType, long pNext, long semaphore, long value)
public VkSemaphoreSignalInfoKHR set(VkSemaphoreSignalInfoKHR src)
src - the source structpublic static VkSemaphoreSignalInfoKHR malloc()
VkSemaphoreSignalInfoKHR instance allocated with memAlloc. The instance must be explicitly freed.public static VkSemaphoreSignalInfoKHR calloc()
VkSemaphoreSignalInfoKHR instance allocated with memCalloc. The instance must be explicitly freed.public static VkSemaphoreSignalInfoKHR create()
VkSemaphoreSignalInfoKHR instance allocated with BufferUtils.public static VkSemaphoreSignalInfoKHR create(long address)
VkSemaphoreSignalInfoKHR instance for the specified memory address.@Nullable public static VkSemaphoreSignalInfoKHR createSafe(long address)
public static VkSemaphoreSignalInfoKHR.Buffer malloc(int capacity)
VkSemaphoreSignalInfoKHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkSemaphoreSignalInfoKHR.Buffer calloc(int capacity)
VkSemaphoreSignalInfoKHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkSemaphoreSignalInfoKHR.Buffer create(int capacity)
VkSemaphoreSignalInfoKHR.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkSemaphoreSignalInfoKHR.Buffer create(long address, int capacity)
VkSemaphoreSignalInfoKHR.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkSemaphoreSignalInfoKHR.Buffer createSafe(long address, int capacity)
public static VkSemaphoreSignalInfoKHR mallocStack()
VkSemaphoreSignalInfoKHR instance allocated on the thread-local MemoryStack.public static VkSemaphoreSignalInfoKHR callocStack()
VkSemaphoreSignalInfoKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkSemaphoreSignalInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
VkSemaphoreSignalInfoKHR instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkSemaphoreSignalInfoKHR callocStack(org.lwjgl.system.MemoryStack stack)
VkSemaphoreSignalInfoKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkSemaphoreSignalInfoKHR.Buffer mallocStack(int capacity)
VkSemaphoreSignalInfoKHR.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkSemaphoreSignalInfoKHR.Buffer callocStack(int capacity)
VkSemaphoreSignalInfoKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkSemaphoreSignalInfoKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkSemaphoreSignalInfoKHR.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkSemaphoreSignalInfoKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkSemaphoreSignalInfoKHR.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 long nsemaphore(long struct)
semaphore().public static long nvalue(long struct)
value().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nsemaphore(long struct,
long value)
semaphore.public static void nvalue(long struct,
long value)
value.Copyright LWJGL. All Rights Reserved. License terms.