Package org.lwjgl.vulkan
Class VkSubmitInfo
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
struct VkSubmitInfo {
VkStructureType sType;
void const * pNext;
uint32_t waitSemaphoreCount;
VkSemaphore const * pWaitSemaphores;
VkPipelineStageFlags const * pWaitDstStageMask;
uint32_t commandBufferCount;
VkCommandBuffer const * pCommandBuffers;
uint32_t signalSemaphoreCount;
VkSemaphore const * pSignalSemaphores;
}
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The struct alignment in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct size in bytes.static final int
The struct member offsets.static final int
The struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionVkSubmitInfo
(ByteBuffer container) Creates aVkSubmitInfo
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkSubmitInfo
calloc()
Returns a newVkSubmitInfo
instance allocated withmemCalloc
.static VkSubmitInfo.Buffer
calloc
(int capacity) Returns a newVkSubmitInfo.Buffer
instance allocated withmemCalloc
.static VkSubmitInfo.Buffer
calloc
(int capacity, MemoryStack stack) Returns a newVkSubmitInfo.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkSubmitInfo
calloc
(MemoryStack stack) Returns a newVkSubmitInfo
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkSubmitInfo
Deprecated.static VkSubmitInfo.Buffer
callocStack
(int capacity) Deprecated.static VkSubmitInfo.Buffer
callocStack
(int capacity, MemoryStack stack) Deprecated.static VkSubmitInfo
callocStack
(MemoryStack stack) Deprecated.int
static VkSubmitInfo
create()
Returns a newVkSubmitInfo
instance allocated withBufferUtils
.static VkSubmitInfo.Buffer
create
(int capacity) Returns a newVkSubmitInfo.Buffer
instance allocated withBufferUtils
.static VkSubmitInfo
create
(long address) Returns a newVkSubmitInfo
instance for the specified memory address.static VkSubmitInfo.Buffer
create
(long address, int capacity) Create aVkSubmitInfo.Buffer
instance at the specified memory.static @Nullable VkSubmitInfo
createSafe
(long address) static @Nullable VkSubmitInfo.Buffer
createSafe
(long address, int capacity) static VkSubmitInfo
malloc()
Returns a newVkSubmitInfo
instance allocated withmemAlloc
.static VkSubmitInfo.Buffer
malloc
(int capacity) Returns a newVkSubmitInfo.Buffer
instance allocated withmemAlloc
.static VkSubmitInfo.Buffer
malloc
(int capacity, MemoryStack stack) Returns a newVkSubmitInfo.Buffer
instance allocated on the specifiedMemoryStack
.static VkSubmitInfo
malloc
(MemoryStack stack) Returns a newVkSubmitInfo
instance allocated on the specifiedMemoryStack
.static VkSubmitInfo
Deprecated.static VkSubmitInfo.Buffer
mallocStack
(int capacity) Deprecated.static VkSubmitInfo.Buffer
mallocStack
(int capacity, MemoryStack stack) Deprecated.static VkSubmitInfo
mallocStack
(MemoryStack stack) Deprecated.static int
ncommandBufferCount
(long struct) Unsafe version ofcommandBufferCount()
.static void
ncommandBufferCount
(long struct, int value) Sets the specified value to thecommandBufferCount
field of the specifiedstruct
.static @Nullable PointerBuffer
npCommandBuffers
(long struct) Unsafe version ofpCommandBuffers
.static void
npCommandBuffers
(long struct, @Nullable PointerBuffer value) Unsafe version ofpCommandBuffers
.static long
npNext
(long struct) Unsafe version ofpNext()
.static void
npNext
(long struct, long value) Unsafe version ofpNext
.static @Nullable LongBuffer
npSignalSemaphores
(long struct) Unsafe version ofpSignalSemaphores
.static void
npSignalSemaphores
(long struct, @Nullable LongBuffer value) Unsafe version ofpSignalSemaphores
.static @Nullable IntBuffer
npWaitDstStageMask
(long struct) Unsafe version ofpWaitDstStageMask
.static void
npWaitDstStageMask
(long struct, @Nullable IntBuffer value) Unsafe version ofpWaitDstStageMask
.static @Nullable LongBuffer
npWaitSemaphores
(long struct) Unsafe version ofpWaitSemaphores
.static void
npWaitSemaphores
(long struct, @Nullable LongBuffer value) Unsafe version ofpWaitSemaphores
.static int
nsignalSemaphoreCount
(long struct) Unsafe version ofsignalSemaphoreCount()
.static void
nsignalSemaphoreCount
(long struct, int value) Sets the specified value to thesignalSemaphoreCount
field of the specifiedstruct
.static int
nsType
(long struct) Unsafe version ofsType()
.static void
nsType
(long struct, int value) Unsafe version ofsType
.static int
nwaitSemaphoreCount
(long struct) Unsafe version ofwaitSemaphoreCount()
.static void
nwaitSemaphoreCount
(long struct, int value) Sets the specified value to thewaitSemaphoreCount
field of the specifiedstruct
.@Nullable PointerBuffer
pCommandBuffers
(@Nullable PointerBuffer value) Sets the address of the specifiedPointerBuffer
to thepCommandBuffers
field.long
pNext()
pNext
(long value) Sets the specified value to thepNext
field.Prepends the specifiedVkAmigoProfilingSubmitInfoSEC
value to thepNext
chain.pNext
(VkD3D12FenceSubmitInfoKHR value) Prepends the specifiedVkD3D12FenceSubmitInfoKHR
value to thepNext
chain.pNext
(VkDeviceGroupSubmitInfo value) Prepends the specifiedVkDeviceGroupSubmitInfo
value to thepNext
chain.pNext
(VkDeviceGroupSubmitInfoKHR value) Prepends the specifiedVkDeviceGroupSubmitInfoKHR
value to thepNext
chain.pNext
(VkFrameBoundaryEXT value) Prepends the specifiedVkFrameBoundaryEXT
value to thepNext
chain.pNext
(VkFrameBoundaryTensorsARM value) Prepends the specifiedVkFrameBoundaryTensorsARM
value to thepNext
chain.Prepends the specifiedVkLatencySubmissionPresentIdNV
value to thepNext
chain.Prepends the specifiedVkPerformanceQuerySubmitInfoKHR
value to thepNext
chain.pNext
(VkProtectedSubmitInfo value) Prepends the specifiedVkProtectedSubmitInfo
value to thepNext
chain.Prepends the specifiedVkTimelineSemaphoreSubmitInfo
value to thepNext
chain.Prepends the specifiedVkTimelineSemaphoreSubmitInfoKHR
value to thepNext
chain.Prepends the specifiedVkWin32KeyedMutexAcquireReleaseInfoKHR
value to thepNext
chain.Prepends the specifiedVkWin32KeyedMutexAcquireReleaseInfoNV
value to thepNext
chain.@Nullable LongBuffer
pSignalSemaphores
(@Nullable LongBuffer value) Sets the address of the specifiedLongBuffer
to thepSignalSemaphores
field.@Nullable IntBuffer
pWaitDstStageMask
(@Nullable IntBuffer value) Sets the address of the specifiedIntBuffer
to thepWaitDstStageMask
field.@Nullable LongBuffer
pWaitSemaphores
(@Nullable LongBuffer value) Sets the address of the specifiedLongBuffer
to thepWaitSemaphores
field.set
(int sType, long pNext, int waitSemaphoreCount, @Nullable LongBuffer pWaitSemaphores, @Nullable IntBuffer pWaitDstStageMask, @Nullable PointerBuffer pCommandBuffers, @Nullable LongBuffer pSignalSemaphores) Initializes this struct with the specified values.set
(VkSubmitInfo src) Copies the specified struct data to this struct.int
int
sizeof()
Returnssizeof(struct)
.int
sType()
sType
(int value) Sets the specified value to thesType
field.Sets theSTRUCTURE_TYPE_SUBMIT_INFO
value to thesType
field.static void
validate
(long struct) Validates pointer members that should not beNULL
.int
waitSemaphoreCount
(int value) Sets the specified value to thewaitSemaphoreCount
field.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
STYPE
public static final int STYPEThe struct member offsets. -
PNEXT
public static final int PNEXTThe struct member offsets. -
WAITSEMAPHORECOUNT
public static final int WAITSEMAPHORECOUNTThe struct member offsets. -
PWAITSEMAPHORES
public static final int PWAITSEMAPHORESThe struct member offsets. -
PWAITDSTSTAGEMASK
public static final int PWAITDSTSTAGEMASKThe struct member offsets. -
COMMANDBUFFERCOUNT
public static final int COMMANDBUFFERCOUNTThe struct member offsets. -
PCOMMANDBUFFERS
public static final int PCOMMANDBUFFERSThe struct member offsets. -
SIGNALSEMAPHORECOUNT
public static final int SIGNALSEMAPHORECOUNTThe struct member offsets. -
PSIGNALSEMAPHORES
public static final int PSIGNALSEMAPHORESThe struct member offsets.
-
-
Constructor Details
-
VkSubmitInfo
Creates aVkSubmitInfo
instance at the current position of the specifiedByteBuffer
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.
-
-
Method Details
-
sizeof
public int sizeof()Description copied from class:Struct
Returnssizeof(struct)
.- Specified by:
sizeof
in classStruct<VkSubmitInfo>
-
sType
public int sType()- Returns:
- the value of the
sType
field.
-
pNext
public long pNext()- Returns:
- the value of the
pNext
field.
-
waitSemaphoreCount
public int waitSemaphoreCount()- Returns:
- the value of the
waitSemaphoreCount
field.
-
pWaitSemaphores
- Returns:
- a
LongBuffer
view of the data pointed to by thepWaitSemaphores
field.
-
pWaitDstStageMask
- Returns:
- a
IntBuffer
view of the data pointed to by thepWaitDstStageMask
field.
-
commandBufferCount
public int commandBufferCount()- Returns:
- the value of the
commandBufferCount
field.
-
pCommandBuffers
- Returns:
- a
PointerBuffer
view of the data pointed to by thepCommandBuffers
field.
-
signalSemaphoreCount
public int signalSemaphoreCount()- Returns:
- the value of the
signalSemaphoreCount
field.
-
pSignalSemaphores
- Returns:
- a
LongBuffer
view of the data pointed to by thepSignalSemaphores
field.
-
sType
Sets the specified value to thesType
field. -
sType$Default
Sets theSTRUCTURE_TYPE_SUBMIT_INFO
value to thesType
field. -
pNext
Sets the specified value to thepNext
field. -
pNext
Prepends the specifiedVkAmigoProfilingSubmitInfoSEC
value to thepNext
chain. -
pNext
Prepends the specifiedVkD3D12FenceSubmitInfoKHR
value to thepNext
chain. -
pNext
Prepends the specifiedVkDeviceGroupSubmitInfo
value to thepNext
chain. -
pNext
Prepends the specifiedVkDeviceGroupSubmitInfoKHR
value to thepNext
chain. -
pNext
Prepends the specifiedVkFrameBoundaryEXT
value to thepNext
chain. -
pNext
Prepends the specifiedVkFrameBoundaryTensorsARM
value to thepNext
chain. -
pNext
Prepends the specifiedVkLatencySubmissionPresentIdNV
value to thepNext
chain. -
pNext
Prepends the specifiedVkPerformanceQuerySubmitInfoKHR
value to thepNext
chain. -
pNext
Prepends the specifiedVkProtectedSubmitInfo
value to thepNext
chain. -
pNext
Prepends the specifiedVkTimelineSemaphoreSubmitInfo
value to thepNext
chain. -
pNext
Prepends the specifiedVkTimelineSemaphoreSubmitInfoKHR
value to thepNext
chain. -
pNext
Prepends the specifiedVkWin32KeyedMutexAcquireReleaseInfoKHR
value to thepNext
chain. -
pNext
Prepends the specifiedVkWin32KeyedMutexAcquireReleaseInfoNV
value to thepNext
chain. -
waitSemaphoreCount
Sets the specified value to thewaitSemaphoreCount
field. -
pWaitSemaphores
Sets the address of the specifiedLongBuffer
to thepWaitSemaphores
field. -
pWaitDstStageMask
Sets the address of the specifiedIntBuffer
to thepWaitDstStageMask
field. -
pCommandBuffers
Sets the address of the specifiedPointerBuffer
to thepCommandBuffers
field. -
pSignalSemaphores
Sets the address of the specifiedLongBuffer
to thepSignalSemaphores
field. -
set
public VkSubmitInfo set(int sType, long pNext, int waitSemaphoreCount, @Nullable LongBuffer pWaitSemaphores, @Nullable IntBuffer pWaitDstStageMask, @Nullable PointerBuffer pCommandBuffers, @Nullable LongBuffer pSignalSemaphores) Initializes this struct with the specified values. -
set
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
Returns a newVkSubmitInfo
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newVkSubmitInfo
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newVkSubmitInfo
instance allocated withBufferUtils
. -
create
Returns a newVkSubmitInfo
instance for the specified memory address. -
createSafe
-
malloc
Returns a newVkSubmitInfo.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newVkSubmitInfo.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newVkSubmitInfo.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aVkSubmitInfo.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)
instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)
instead. -
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)
instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)
instead. -
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)
instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)
instead. -
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)
instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)
instead. -
malloc
Returns a newVkSubmitInfo
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newVkSubmitInfo
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newVkSubmitInfo.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newVkSubmitInfo.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
nsType
public static int nsType(long struct) Unsafe version ofsType()
. -
npNext
public static long npNext(long struct) Unsafe version ofpNext()
. -
nwaitSemaphoreCount
public static int nwaitSemaphoreCount(long struct) Unsafe version ofwaitSemaphoreCount()
. -
npWaitSemaphores
Unsafe version ofpWaitSemaphores
. -
npWaitDstStageMask
Unsafe version ofpWaitDstStageMask
. -
ncommandBufferCount
public static int ncommandBufferCount(long struct) Unsafe version ofcommandBufferCount()
. -
npCommandBuffers
Unsafe version ofpCommandBuffers
. -
nsignalSemaphoreCount
public static int nsignalSemaphoreCount(long struct) Unsafe version ofsignalSemaphoreCount()
. -
npSignalSemaphores
Unsafe version ofpSignalSemaphores
. -
nsType
public static void nsType(long struct, int value) Unsafe version ofsType
. -
npNext
public static void npNext(long struct, long value) Unsafe version ofpNext
. -
nwaitSemaphoreCount
public static void nwaitSemaphoreCount(long struct, int value) Sets the specified value to thewaitSemaphoreCount
field of the specifiedstruct
. -
npWaitSemaphores
Unsafe version ofpWaitSemaphores
. -
npWaitDstStageMask
Unsafe version ofpWaitDstStageMask
. -
ncommandBufferCount
public static void ncommandBufferCount(long struct, int value) Sets the specified value to thecommandBufferCount
field of the specifiedstruct
. -
npCommandBuffers
Unsafe version ofpCommandBuffers
. -
nsignalSemaphoreCount
public static void nsignalSemaphoreCount(long struct, int value) Sets the specified value to thesignalSemaphoreCount
field of the specifiedstruct
. -
npSignalSemaphores
Unsafe version ofpSignalSemaphores
. -
validate
public static void validate(long struct) Validates pointer members that should not beNULL
.- Parameters:
struct
- the struct to validate
-