Package org.lwjgl.vulkan
Class VkSemaphoreWaitInfoKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkSemaphoreWaitInfo
-
- org.lwjgl.vulkan.VkSemaphoreWaitInfoKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkSemaphoreWaitInfoKHR extends VkSemaphoreWaitInfo
SeeVkSemaphoreWaitInfo.Layout
struct VkSemaphoreWaitInfoKHR { VkStructureType sType; void const * pNext; VkSemaphoreWaitFlags flags; uint32_t semaphoreCount; VkSemaphore const * pSemaphores; uint64_t const * pValues; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkSemaphoreWaitInfoKHR.BufferAn array ofVkSemaphoreWaitInfoKHRstructs.
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Fields inherited from class org.lwjgl.vulkan.VkSemaphoreWaitInfo
ALIGNOF, FLAGS, PNEXT, PSEMAPHORES, PVALUES, SEMAPHORECOUNT, SIZEOF, STYPE
-
-
Constructor Summary
Constructors Constructor Description VkSemaphoreWaitInfoKHR(java.nio.ByteBuffer container)Creates aVkSemaphoreWaitInfoKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkSemaphoreWaitInfoKHRcalloc()Returns a newVkSemaphoreWaitInfoKHRinstance allocated withmemCalloc.static VkSemaphoreWaitInfoKHR.Buffercalloc(int capacity)Returns a newVkSemaphoreWaitInfoKHR.Bufferinstance allocated withmemCalloc.static VkSemaphoreWaitInfoKHR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkSemaphoreWaitInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkSemaphoreWaitInfoKHRcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkSemaphoreWaitInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkSemaphoreWaitInfoKHRcreate()Returns a newVkSemaphoreWaitInfoKHRinstance allocated withBufferUtils.static VkSemaphoreWaitInfoKHR.Buffercreate(int capacity)Returns a newVkSemaphoreWaitInfoKHR.Bufferinstance allocated withBufferUtils.static VkSemaphoreWaitInfoKHRcreate(long address)Returns a newVkSemaphoreWaitInfoKHRinstance for the specified memory address.static VkSemaphoreWaitInfoKHR.Buffercreate(long address, int capacity)Create aVkSemaphoreWaitInfoKHR.Bufferinstance at the specified memory.static VkSemaphoreWaitInfoKHRcreateSafe(long address)static VkSemaphoreWaitInfoKHR.BuffercreateSafe(long address, int capacity)VkSemaphoreWaitInfoKHRflags(int value)Sets the specified value to theflagsfield.static VkSemaphoreWaitInfoKHRmalloc()Returns a newVkSemaphoreWaitInfoKHRinstance allocated withmemAlloc.static VkSemaphoreWaitInfoKHR.Buffermalloc(int capacity)Returns a newVkSemaphoreWaitInfoKHR.Bufferinstance allocated withmemAlloc.static VkSemaphoreWaitInfoKHR.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkSemaphoreWaitInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkSemaphoreWaitInfoKHRmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkSemaphoreWaitInfoKHRinstance allocated on the specifiedMemoryStack.VkSemaphoreWaitInfoKHRpNext(long value)Sets the specified value to thepNextfield.VkSemaphoreWaitInfoKHRpSemaphores(java.nio.LongBuffer value)Sets the address of the specifiedLongBufferto thepSemaphoresfield.VkSemaphoreWaitInfoKHRpValues(java.nio.LongBuffer value)Sets the address of the specifiedLongBufferto thepValuesfield.VkSemaphoreWaitInfoKHRsemaphoreCount(int value)Sets the specified value to thesemaphoreCountfield.VkSemaphoreWaitInfoKHRset(int sType, long pNext, int flags, int semaphoreCount, java.nio.LongBuffer pSemaphores, java.nio.LongBuffer pValues)Initializes this struct with the specified values.VkSemaphoreWaitInfoKHRset(VkSemaphoreWaitInfoKHR src)Copies the specified struct data to this struct.VkSemaphoreWaitInfoKHRsType(int value)Sets the specified value to thesTypefield.VkSemaphoreWaitInfoKHRsType$Default()Sets theSTRUCTURE_TYPE_SEMAPHORE_WAIT_INFOvalue to thesTypefield.-
Methods inherited from class org.lwjgl.vulkan.VkSemaphoreWaitInfo
flags, nflags, nflags, npNext, npNext, npSemaphores, npSemaphores, npValues, npValues, nsemaphoreCount, nsemaphoreCount, nsType, nsType, pNext, pSemaphores, pValues, semaphoreCount, set, sizeof, sType, validate
-
-
-
-
Constructor Detail
-
VkSemaphoreWaitInfoKHR
public VkSemaphoreWaitInfoKHR(java.nio.ByteBuffer container)
Creates aVkSemaphoreWaitInfoKHRinstance at the current position of the specifiedByteBuffercontainer. 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.
-
-
Method Detail
-
sType
public VkSemaphoreWaitInfoKHR sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkSemaphoreWaitInfo
-
sType$Default
public VkSemaphoreWaitInfoKHR sType$Default()
Sets theSTRUCTURE_TYPE_SEMAPHORE_WAIT_INFOvalue to thesTypefield.- Overrides:
sType$Defaultin classVkSemaphoreWaitInfo
-
pNext
public VkSemaphoreWaitInfoKHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkSemaphoreWaitInfo
-
flags
public VkSemaphoreWaitInfoKHR flags(int value)
Sets the specified value to theflagsfield.- Overrides:
flagsin classVkSemaphoreWaitInfo
-
semaphoreCount
public VkSemaphoreWaitInfoKHR semaphoreCount(int value)
Sets the specified value to thesemaphoreCountfield.- Overrides:
semaphoreCountin classVkSemaphoreWaitInfo
-
pSemaphores
public VkSemaphoreWaitInfoKHR pSemaphores(java.nio.LongBuffer value)
Sets the address of the specifiedLongBufferto thepSemaphoresfield.- Overrides:
pSemaphoresin classVkSemaphoreWaitInfo
-
pValues
public VkSemaphoreWaitInfoKHR pValues(java.nio.LongBuffer value)
Sets the address of the specifiedLongBufferto thepValuesfield.- Overrides:
pValuesin classVkSemaphoreWaitInfo
-
set
public VkSemaphoreWaitInfoKHR set(int sType, long pNext, int flags, int semaphoreCount, java.nio.LongBuffer pSemaphores, java.nio.LongBuffer pValues)
Initializes this struct with the specified values.- Overrides:
setin classVkSemaphoreWaitInfo
-
set
public VkSemaphoreWaitInfoKHR set(VkSemaphoreWaitInfoKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkSemaphoreWaitInfoKHR malloc()
Returns a newVkSemaphoreWaitInfoKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkSemaphoreWaitInfoKHR calloc()
Returns a newVkSemaphoreWaitInfoKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkSemaphoreWaitInfoKHR create()
Returns a newVkSemaphoreWaitInfoKHRinstance allocated withBufferUtils.
-
create
public static VkSemaphoreWaitInfoKHR create(long address)
Returns a newVkSemaphoreWaitInfoKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkSemaphoreWaitInfoKHR createSafe(long address)
-
malloc
public static VkSemaphoreWaitInfoKHR.Buffer malloc(int capacity)
Returns a newVkSemaphoreWaitInfoKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkSemaphoreWaitInfoKHR.Buffer calloc(int capacity)
Returns a newVkSemaphoreWaitInfoKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkSemaphoreWaitInfoKHR.Buffer create(int capacity)
Returns a newVkSemaphoreWaitInfoKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkSemaphoreWaitInfoKHR.Buffer create(long address, int capacity)
Create aVkSemaphoreWaitInfoKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkSemaphoreWaitInfoKHR.Buffer createSafe(long address, int capacity)
-
malloc
public static VkSemaphoreWaitInfoKHR malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkSemaphoreWaitInfoKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkSemaphoreWaitInfoKHR calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkSemaphoreWaitInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkSemaphoreWaitInfoKHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkSemaphoreWaitInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkSemaphoreWaitInfoKHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkSemaphoreWaitInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-