Package org.lwjgl.vulkan
Class VkSubmitInfo2KHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkSubmitInfo2
-
- org.lwjgl.vulkan.VkSubmitInfo2KHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkSubmitInfo2KHR extends VkSubmitInfo2
SeeVkSubmitInfo2.Layout
struct VkSubmitInfo2KHR { VkStructureType sType; void const * pNext; VkSubmitFlags flags; uint32_t waitSemaphoreInfoCount;VkSemaphoreSubmitInfoconst * pWaitSemaphoreInfos; uint32_t commandBufferInfoCount;VkCommandBufferSubmitInfoconst * pCommandBufferInfos; uint32_t signalSemaphoreInfoCount;VkSemaphoreSubmitInfoconst * pSignalSemaphoreInfos; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkSubmitInfo2KHR.BufferAn array ofVkSubmitInfo2KHRstructs.
-
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.VkSubmitInfo2
ALIGNOF, COMMANDBUFFERINFOCOUNT, FLAGS, PCOMMANDBUFFERINFOS, PNEXT, PSIGNALSEMAPHOREINFOS, PWAITSEMAPHOREINFOS, SIGNALSEMAPHOREINFOCOUNT, SIZEOF, STYPE, WAITSEMAPHOREINFOCOUNT
-
-
Constructor Summary
Constructors Constructor Description VkSubmitInfo2KHR(java.nio.ByteBuffer container)Creates aVkSubmitInfo2KHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkSubmitInfo2KHRcalloc()Returns a newVkSubmitInfo2KHRinstance allocated withmemCalloc.static VkSubmitInfo2KHR.Buffercalloc(int capacity)Returns a newVkSubmitInfo2KHR.Bufferinstance allocated withmemCalloc.static VkSubmitInfo2KHR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkSubmitInfo2KHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkSubmitInfo2KHRcalloc(org.lwjgl.system.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 VkSubmitInfo2KHRcreateSafe(long address)static VkSubmitInfo2KHR.BuffercreateSafe(long address, int capacity)VkSubmitInfo2KHRflags(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, org.lwjgl.system.MemoryStack stack)Returns a newVkSubmitInfo2KHR.Bufferinstance allocated on the specifiedMemoryStack.static VkSubmitInfo2KHRmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkSubmitInfo2KHRinstance allocated on the specifiedMemoryStack.VkSubmitInfo2KHRpCommandBufferInfos(VkCommandBufferSubmitInfo.Buffer value)Sets the address of the specifiedVkCommandBufferSubmitInfo.Bufferto thepCommandBufferInfosfield.VkSubmitInfo2KHRpNext(long value)Sets the specified value to thepNextfield.VkSubmitInfo2KHRpSignalSemaphoreInfos(VkSemaphoreSubmitInfo.Buffer value)Sets the address of the specifiedVkSemaphoreSubmitInfo.Bufferto thepSignalSemaphoreInfosfield.VkSubmitInfo2KHRpWaitSemaphoreInfos(VkSemaphoreSubmitInfo.Buffer value)Sets the address of the specifiedVkSemaphoreSubmitInfo.Bufferto thepWaitSemaphoreInfosfield.VkSubmitInfo2KHRset(int sType, long pNext, int flags, VkSemaphoreSubmitInfo.Buffer pWaitSemaphoreInfos, VkCommandBufferSubmitInfo.Buffer pCommandBufferInfos, VkSemaphoreSubmitInfo.Buffer pSignalSemaphoreInfos)Initializes this struct with the specified values.VkSubmitInfo2KHRset(VkSubmitInfo2KHR src)Copies the specified struct data to this struct.VkSubmitInfo2KHRsType(int value)Sets the specified value to thesTypefield.VkSubmitInfo2KHRsType$Default()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, pSignalSemaphoreInfos, pWaitSemaphoreInfos, set, signalSemaphoreInfoCount, sizeof, sType, validate, waitSemaphoreInfoCount
-
-
-
-
Constructor Detail
-
VkSubmitInfo2KHR
public VkSubmitInfo2KHR(java.nio.ByteBuffer container)
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 Detail
-
sType
public VkSubmitInfo2KHR sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkSubmitInfo2
-
sType$Default
public VkSubmitInfo2KHR sType$Default()
Sets theSTRUCTURE_TYPE_SUBMIT_INFO_2value to thesTypefield.- Overrides:
sType$Defaultin classVkSubmitInfo2
-
pNext
public VkSubmitInfo2KHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkSubmitInfo2
-
flags
public VkSubmitInfo2KHR flags(int value)
Sets the specified value to theflagsfield.- Overrides:
flagsin classVkSubmitInfo2
-
pWaitSemaphoreInfos
public VkSubmitInfo2KHR pWaitSemaphoreInfos(@Nullable VkSemaphoreSubmitInfo.Buffer value)
Sets the address of the specifiedVkSemaphoreSubmitInfo.Bufferto thepWaitSemaphoreInfosfield.- Overrides:
pWaitSemaphoreInfosin classVkSubmitInfo2
-
pCommandBufferInfos
public VkSubmitInfo2KHR pCommandBufferInfos(@Nullable VkCommandBufferSubmitInfo.Buffer value)
Sets the address of the specifiedVkCommandBufferSubmitInfo.Bufferto thepCommandBufferInfosfield.- Overrides:
pCommandBufferInfosin classVkSubmitInfo2
-
pSignalSemaphoreInfos
public VkSubmitInfo2KHR pSignalSemaphoreInfos(@Nullable VkSemaphoreSubmitInfo.Buffer value)
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
public VkSubmitInfo2KHR set(VkSubmitInfo2KHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkSubmitInfo2KHR malloc()
Returns a newVkSubmitInfo2KHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkSubmitInfo2KHR calloc()
Returns a newVkSubmitInfo2KHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkSubmitInfo2KHR create()
Returns a newVkSubmitInfo2KHRinstance allocated withBufferUtils.
-
create
public static VkSubmitInfo2KHR create(long address)
Returns a newVkSubmitInfo2KHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkSubmitInfo2KHR createSafe(long address)
-
malloc
public static VkSubmitInfo2KHR.Buffer malloc(int capacity)
Returns a newVkSubmitInfo2KHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkSubmitInfo2KHR.Buffer calloc(int capacity)
Returns a newVkSubmitInfo2KHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkSubmitInfo2KHR.Buffer create(int capacity)
Returns a newVkSubmitInfo2KHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkSubmitInfo2KHR.Buffer create(long address, int capacity)
Create aVkSubmitInfo2KHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkSubmitInfo2KHR.Buffer createSafe(long address, int capacity)
-
malloc
public static VkSubmitInfo2KHR malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkSubmitInfo2KHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkSubmitInfo2KHR calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkSubmitInfo2KHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkSubmitInfo2KHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkSubmitInfo2KHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkSubmitInfo2KHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkSubmitInfo2KHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-