Package org.lwjgl.vulkan
Class VkSubmitInfo2KHR
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkSubmitInfo2>
org.lwjgl.vulkan.VkSubmitInfo2
org.lwjgl.vulkan.VkSubmitInfo2KHR
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
struct VkSubmitInfo2KHR {
VkStructureType sType;
void const * pNext;
VkSubmitFlags flags;
uint32_t waitSemaphoreInfoCount;
{@link VkSemaphoreSubmitInfo VkSemaphoreSubmitInfo} const * pWaitSemaphoreInfos;
uint32_t commandBufferInfoCount;
{@link VkCommandBufferSubmitInfo VkCommandBufferSubmitInfo} const * pCommandBufferInfos;
uint32_t signalSemaphoreInfoCount;
{@link VkSemaphoreSubmitInfo VkSemaphoreSubmitInfo} const * pSignalSemaphoreInfos;
}-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
Fields inherited from class org.lwjgl.vulkan.VkSubmitInfo2
ALIGNOF, COMMANDBUFFERINFOCOUNT, FLAGS, PCOMMANDBUFFERINFOS, PNEXT, PSIGNALSEMAPHOREINFOS, PWAITSEMAPHOREINFOS, SIGNALSEMAPHOREINFOCOUNT, SIZEOF, STYPE, WAITSEMAPHOREINFOCOUNTFields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionVkSubmitInfo2KHR(ByteBuffer container) Creates aVkSubmitInfo2KHRinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkSubmitInfo2KHRcalloc()Returns a newVkSubmitInfo2KHRinstance allocated withmemCalloc.static VkSubmitInfo2KHR.Buffercalloc(int capacity) Returns a newVkSubmitInfo2KHR.Bufferinstance allocated withmemCalloc.static VkSubmitInfo2KHR.Buffercalloc(int capacity, MemoryStack stack) Returns a newVkSubmitInfo2KHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkSubmitInfo2KHRcalloc(MemoryStack stack) Returns a newVkSubmitInfo2KHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkSubmitInfo2KHRcreate()Returns a newVkSubmitInfo2KHRinstance allocated withBufferUtils.static VkSubmitInfo2KHR.Buffercreate(int capacity) Returns a newVkSubmitInfo2KHR.Bufferinstance allocated withBufferUtils.static VkSubmitInfo2KHRcreate(long address) Returns a newVkSubmitInfo2KHRinstance for the specified memory address.static VkSubmitInfo2KHR.Buffercreate(long address, int capacity) Create aVkSubmitInfo2KHR.Bufferinstance at the specified memory.static @Nullable VkSubmitInfo2KHRcreateSafe(long address) static @Nullable VkSubmitInfo2KHR.BuffercreateSafe(long address, int capacity) flags(int value) Sets the specified value to theflagsfield.static VkSubmitInfo2KHRmalloc()Returns a newVkSubmitInfo2KHRinstance allocated withmemAlloc.static VkSubmitInfo2KHR.Buffermalloc(int capacity) Returns a newVkSubmitInfo2KHR.Bufferinstance allocated withmemAlloc.static VkSubmitInfo2KHR.Buffermalloc(int capacity, MemoryStack stack) Returns a newVkSubmitInfo2KHR.Bufferinstance allocated on the specifiedMemoryStack.static VkSubmitInfo2KHRmalloc(MemoryStack stack) Returns a newVkSubmitInfo2KHRinstance allocated on the specifiedMemoryStack.pCommandBufferInfos(@Nullable VkCommandBufferSubmitInfo.Buffer value) Sets the address of the specifiedVkCommandBufferSubmitInfo.Bufferto thepCommandBufferInfosfield.pNext(long value) Sets the specified value to thepNextfield.pSignalSemaphoreInfos(@Nullable VkSemaphoreSubmitInfo.Buffer value) Sets the address of the specifiedVkSemaphoreSubmitInfo.Bufferto thepSignalSemaphoreInfosfield.pWaitSemaphoreInfos(@Nullable VkSemaphoreSubmitInfo.Buffer value) Sets the address of the specifiedVkSemaphoreSubmitInfo.Bufferto thepWaitSemaphoreInfosfield.set(int sType, long pNext, int flags, @Nullable VkSemaphoreSubmitInfo.Buffer pWaitSemaphoreInfos, @Nullable VkCommandBufferSubmitInfo.Buffer pCommandBufferInfos, @Nullable VkSemaphoreSubmitInfo.Buffer pSignalSemaphoreInfos) Initializes this struct with the specified values.set(VkSubmitInfo2KHR src) Copies the specified struct data to this struct.sType(int value) Sets the specified value to thesTypefield.Sets theSTRUCTURE_TYPE_SUBMIT_INFO_2value to thesTypefield.Methods inherited from class org.lwjgl.vulkan.VkSubmitInfo2
commandBufferInfoCount, flags, ncommandBufferInfoCount, ncommandBufferInfoCount, nflags, nflags, npCommandBufferInfos, npCommandBufferInfos, npNext, npNext, npSignalSemaphoreInfos, npSignalSemaphoreInfos, npWaitSemaphoreInfos, npWaitSemaphoreInfos, nsignalSemaphoreInfoCount, nsignalSemaphoreInfoCount, nsType, nsType, nwaitSemaphoreInfoCount, nwaitSemaphoreInfoCount, pCommandBufferInfos, pNext, pNext, pNext, pNext, pNext, pNext, pNext, pSignalSemaphoreInfos, pWaitSemaphoreInfos, set, signalSemaphoreInfoCount, sizeof, sType, validate, waitSemaphoreInfoCountMethods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
VkSubmitInfo2KHR
Creates aVkSubmitInfo2KHRinstance 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 Details
-
sType
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkSubmitInfo2
-
sType$Default
Sets theSTRUCTURE_TYPE_SUBMIT_INFO_2value to thesTypefield.- Overrides:
sType$Defaultin classVkSubmitInfo2
-
pNext
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkSubmitInfo2
-
flags
Sets the specified value to theflagsfield.- Overrides:
flagsin classVkSubmitInfo2
-
pWaitSemaphoreInfos
Sets the address of the specifiedVkSemaphoreSubmitInfo.Bufferto thepWaitSemaphoreInfosfield.- Overrides:
pWaitSemaphoreInfosin classVkSubmitInfo2
-
pCommandBufferInfos
Sets the address of the specifiedVkCommandBufferSubmitInfo.Bufferto thepCommandBufferInfosfield.- Overrides:
pCommandBufferInfosin classVkSubmitInfo2
-
pSignalSemaphoreInfos
Sets the address of the specifiedVkSemaphoreSubmitInfo.Bufferto thepSignalSemaphoreInfosfield.- Overrides:
pSignalSemaphoreInfosin classVkSubmitInfo2
-
set
public VkSubmitInfo2KHR set(int sType, long pNext, int flags, @Nullable VkSemaphoreSubmitInfo.Buffer pWaitSemaphoreInfos, @Nullable VkCommandBufferSubmitInfo.Buffer pCommandBufferInfos, @Nullable VkSemaphoreSubmitInfo.Buffer pSignalSemaphoreInfos) Initializes this struct with the specified values.- Overrides:
setin classVkSubmitInfo2
-
set
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newVkSubmitInfo2KHRinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkSubmitInfo2KHRinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkSubmitInfo2KHRinstance allocated withBufferUtils. -
create
Returns a newVkSubmitInfo2KHRinstance for the specified memory address. -
createSafe
-
malloc
Returns a newVkSubmitInfo2KHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkSubmitInfo2KHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkSubmitInfo2KHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aVkSubmitInfo2KHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newVkSubmitInfo2KHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newVkSubmitInfo2KHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newVkSubmitInfo2KHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newVkSubmitInfo2KHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-