Package org.lwjgl.vulkan
Class VkTimelineSemaphoreSubmitInfoKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkTimelineSemaphoreSubmitInfo
-
- org.lwjgl.vulkan.VkTimelineSemaphoreSubmitInfoKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkTimelineSemaphoreSubmitInfoKHR extends VkTimelineSemaphoreSubmitInfo
SeeVkTimelineSemaphoreSubmitInfo.Layout
struct VkTimelineSemaphoreSubmitInfoKHR { VkStructureType sType; void const * pNext; uint32_t waitSemaphoreValueCount; uint64_t const * pWaitSemaphoreValues; uint32_t signalSemaphoreValueCount; uint64_t const * pSignalSemaphoreValues; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkTimelineSemaphoreSubmitInfoKHR.BufferAn array ofVkTimelineSemaphoreSubmitInfoKHRstructs.
-
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.VkTimelineSemaphoreSubmitInfo
ALIGNOF, PNEXT, PSIGNALSEMAPHOREVALUES, PWAITSEMAPHOREVALUES, SIGNALSEMAPHOREVALUECOUNT, SIZEOF, STYPE, WAITSEMAPHOREVALUECOUNT
-
-
Constructor Summary
Constructors Constructor Description VkTimelineSemaphoreSubmitInfoKHR(java.nio.ByteBuffer container)Creates aVkTimelineSemaphoreSubmitInfoKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkTimelineSemaphoreSubmitInfoKHRcalloc()Returns a newVkTimelineSemaphoreSubmitInfoKHRinstance allocated withmemCalloc.static VkTimelineSemaphoreSubmitInfoKHR.Buffercalloc(int capacity)Returns a newVkTimelineSemaphoreSubmitInfoKHR.Bufferinstance allocated withmemCalloc.static VkTimelineSemaphoreSubmitInfoKHR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkTimelineSemaphoreSubmitInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkTimelineSemaphoreSubmitInfoKHRcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkTimelineSemaphoreSubmitInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkTimelineSemaphoreSubmitInfoKHRcreate()Returns a newVkTimelineSemaphoreSubmitInfoKHRinstance allocated withBufferUtils.static VkTimelineSemaphoreSubmitInfoKHR.Buffercreate(int capacity)Returns a newVkTimelineSemaphoreSubmitInfoKHR.Bufferinstance allocated withBufferUtils.static VkTimelineSemaphoreSubmitInfoKHRcreate(long address)Returns a newVkTimelineSemaphoreSubmitInfoKHRinstance for the specified memory address.static VkTimelineSemaphoreSubmitInfoKHR.Buffercreate(long address, int capacity)Create aVkTimelineSemaphoreSubmitInfoKHR.Bufferinstance at the specified memory.static VkTimelineSemaphoreSubmitInfoKHRcreateSafe(long address)static VkTimelineSemaphoreSubmitInfoKHR.BuffercreateSafe(long address, int capacity)static VkTimelineSemaphoreSubmitInfoKHRmalloc()Returns a newVkTimelineSemaphoreSubmitInfoKHRinstance allocated withmemAlloc.static VkTimelineSemaphoreSubmitInfoKHR.Buffermalloc(int capacity)Returns a newVkTimelineSemaphoreSubmitInfoKHR.Bufferinstance allocated withmemAlloc.static VkTimelineSemaphoreSubmitInfoKHR.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkTimelineSemaphoreSubmitInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkTimelineSemaphoreSubmitInfoKHRmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkTimelineSemaphoreSubmitInfoKHRinstance allocated on the specifiedMemoryStack.VkTimelineSemaphoreSubmitInfoKHRpNext(long value)Sets the specified value to thepNextfield.VkTimelineSemaphoreSubmitInfoKHRpSignalSemaphoreValues(java.nio.LongBuffer value)Sets the address of the specifiedLongBufferto thepSignalSemaphoreValuesfield.VkTimelineSemaphoreSubmitInfoKHRpWaitSemaphoreValues(java.nio.LongBuffer value)Sets the address of the specifiedLongBufferto thepWaitSemaphoreValuesfield.VkTimelineSemaphoreSubmitInfoKHRset(int sType, long pNext, int waitSemaphoreValueCount, java.nio.LongBuffer pWaitSemaphoreValues, int signalSemaphoreValueCount, java.nio.LongBuffer pSignalSemaphoreValues)Initializes this struct with the specified values.VkTimelineSemaphoreSubmitInfoKHRset(VkTimelineSemaphoreSubmitInfoKHR src)Copies the specified struct data to this struct.VkTimelineSemaphoreSubmitInfoKHRsignalSemaphoreValueCount(int value)Sets the specified value to thesignalSemaphoreValueCountfield.VkTimelineSemaphoreSubmitInfoKHRsType(int value)Sets the specified value to thesTypefield.VkTimelineSemaphoreSubmitInfoKHRsType$Default()Sets theSTRUCTURE_TYPE_TIMELINE_SEMAPHORE_SUBMIT_INFOvalue to thesTypefield.VkTimelineSemaphoreSubmitInfoKHRwaitSemaphoreValueCount(int value)Sets the specified value to thewaitSemaphoreValueCountfield.-
Methods inherited from class org.lwjgl.vulkan.VkTimelineSemaphoreSubmitInfo
npNext, npNext, npSignalSemaphoreValues, npSignalSemaphoreValues, npWaitSemaphoreValues, npWaitSemaphoreValues, nsignalSemaphoreValueCount, nsignalSemaphoreValueCount, nsType, nsType, nwaitSemaphoreValueCount, nwaitSemaphoreValueCount, pNext, pSignalSemaphoreValues, pWaitSemaphoreValues, set, signalSemaphoreValueCount, sizeof, sType, waitSemaphoreValueCount
-
-
-
-
Constructor Detail
-
VkTimelineSemaphoreSubmitInfoKHR
public VkTimelineSemaphoreSubmitInfoKHR(java.nio.ByteBuffer container)
Creates aVkTimelineSemaphoreSubmitInfoKHRinstance 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 VkTimelineSemaphoreSubmitInfoKHR sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkTimelineSemaphoreSubmitInfo
-
sType$Default
public VkTimelineSemaphoreSubmitInfoKHR sType$Default()
Sets theSTRUCTURE_TYPE_TIMELINE_SEMAPHORE_SUBMIT_INFOvalue to thesTypefield.- Overrides:
sType$Defaultin classVkTimelineSemaphoreSubmitInfo
-
pNext
public VkTimelineSemaphoreSubmitInfoKHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkTimelineSemaphoreSubmitInfo
-
waitSemaphoreValueCount
public VkTimelineSemaphoreSubmitInfoKHR waitSemaphoreValueCount(int value)
Sets the specified value to thewaitSemaphoreValueCountfield.- Overrides:
waitSemaphoreValueCountin classVkTimelineSemaphoreSubmitInfo
-
pWaitSemaphoreValues
public VkTimelineSemaphoreSubmitInfoKHR pWaitSemaphoreValues(@Nullable java.nio.LongBuffer value)
Sets the address of the specifiedLongBufferto thepWaitSemaphoreValuesfield.- Overrides:
pWaitSemaphoreValuesin classVkTimelineSemaphoreSubmitInfo
-
signalSemaphoreValueCount
public VkTimelineSemaphoreSubmitInfoKHR signalSemaphoreValueCount(int value)
Sets the specified value to thesignalSemaphoreValueCountfield.- Overrides:
signalSemaphoreValueCountin classVkTimelineSemaphoreSubmitInfo
-
pSignalSemaphoreValues
public VkTimelineSemaphoreSubmitInfoKHR pSignalSemaphoreValues(@Nullable java.nio.LongBuffer value)
Sets the address of the specifiedLongBufferto thepSignalSemaphoreValuesfield.- Overrides:
pSignalSemaphoreValuesin classVkTimelineSemaphoreSubmitInfo
-
set
public VkTimelineSemaphoreSubmitInfoKHR set(int sType, long pNext, int waitSemaphoreValueCount, @Nullable java.nio.LongBuffer pWaitSemaphoreValues, int signalSemaphoreValueCount, @Nullable java.nio.LongBuffer pSignalSemaphoreValues)
Initializes this struct with the specified values.- Overrides:
setin classVkTimelineSemaphoreSubmitInfo
-
set
public VkTimelineSemaphoreSubmitInfoKHR set(VkTimelineSemaphoreSubmitInfoKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkTimelineSemaphoreSubmitInfoKHR malloc()
Returns a newVkTimelineSemaphoreSubmitInfoKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkTimelineSemaphoreSubmitInfoKHR calloc()
Returns a newVkTimelineSemaphoreSubmitInfoKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkTimelineSemaphoreSubmitInfoKHR create()
Returns a newVkTimelineSemaphoreSubmitInfoKHRinstance allocated withBufferUtils.
-
create
public static VkTimelineSemaphoreSubmitInfoKHR create(long address)
Returns a newVkTimelineSemaphoreSubmitInfoKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkTimelineSemaphoreSubmitInfoKHR createSafe(long address)
-
malloc
public static VkTimelineSemaphoreSubmitInfoKHR.Buffer malloc(int capacity)
Returns a newVkTimelineSemaphoreSubmitInfoKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkTimelineSemaphoreSubmitInfoKHR.Buffer calloc(int capacity)
Returns a newVkTimelineSemaphoreSubmitInfoKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkTimelineSemaphoreSubmitInfoKHR.Buffer create(int capacity)
Returns a newVkTimelineSemaphoreSubmitInfoKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkTimelineSemaphoreSubmitInfoKHR.Buffer create(long address, int capacity)
Create aVkTimelineSemaphoreSubmitInfoKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkTimelineSemaphoreSubmitInfoKHR.Buffer createSafe(long address, int capacity)
-
malloc
public static VkTimelineSemaphoreSubmitInfoKHR malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkTimelineSemaphoreSubmitInfoKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkTimelineSemaphoreSubmitInfoKHR calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkTimelineSemaphoreSubmitInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkTimelineSemaphoreSubmitInfoKHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkTimelineSemaphoreSubmitInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkTimelineSemaphoreSubmitInfoKHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkTimelineSemaphoreSubmitInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-