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.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.static final intThe struct member offsets.static final intThe 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 aVkSubmitInfoinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkSubmitInfocalloc()Returns a newVkSubmitInfoinstance allocated withmemCalloc.static VkSubmitInfo.Buffercalloc(int capacity) Returns a newVkSubmitInfo.Bufferinstance allocated withmemCalloc.static VkSubmitInfo.Buffercalloc(int capacity, MemoryStack stack) Returns a newVkSubmitInfo.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkSubmitInfocalloc(MemoryStack stack) Returns a newVkSubmitInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.intstatic VkSubmitInfocreate()Returns a newVkSubmitInfoinstance allocated withBufferUtils.static VkSubmitInfo.Buffercreate(int capacity) Returns a newVkSubmitInfo.Bufferinstance allocated withBufferUtils.static VkSubmitInfocreate(long address) Returns a newVkSubmitInfoinstance for the specified memory address.static VkSubmitInfo.Buffercreate(long address, int capacity) Create aVkSubmitInfo.Bufferinstance at the specified memory.static @Nullable VkSubmitInfocreateSafe(long address) static @Nullable VkSubmitInfo.BuffercreateSafe(long address, int capacity) static VkSubmitInfomalloc()Returns a newVkSubmitInfoinstance allocated withmemAlloc.static VkSubmitInfo.Buffermalloc(int capacity) Returns a newVkSubmitInfo.Bufferinstance allocated withmemAlloc.static VkSubmitInfo.Buffermalloc(int capacity, MemoryStack stack) Returns a newVkSubmitInfo.Bufferinstance allocated on the specifiedMemoryStack.static VkSubmitInfomalloc(MemoryStack stack) Returns a newVkSubmitInfoinstance allocated on the specifiedMemoryStack.static intncommandBufferCount(long struct) Unsafe version ofcommandBufferCount().static voidncommandBufferCount(long struct, int value) Sets the specified value to thecommandBufferCountfield of the specifiedstruct.static @Nullable PointerBuffernpCommandBuffers(long struct) Unsafe version ofpCommandBuffers.static voidnpCommandBuffers(long struct, @Nullable PointerBuffer value) Unsafe version ofpCommandBuffers.static longnpNext(long struct) Unsafe version ofpNext().static voidnpNext(long struct, long value) Unsafe version ofpNext.static @Nullable LongBuffernpSignalSemaphores(long struct) Unsafe version ofpSignalSemaphores.static voidnpSignalSemaphores(long struct, @Nullable LongBuffer value) Unsafe version ofpSignalSemaphores.static @Nullable IntBuffernpWaitDstStageMask(long struct) Unsafe version ofpWaitDstStageMask.static voidnpWaitDstStageMask(long struct, @Nullable IntBuffer value) Unsafe version ofpWaitDstStageMask.static @Nullable LongBuffernpWaitSemaphores(long struct) Unsafe version ofpWaitSemaphores.static voidnpWaitSemaphores(long struct, @Nullable LongBuffer value) Unsafe version ofpWaitSemaphores.static intnsignalSemaphoreCount(long struct) Unsafe version ofsignalSemaphoreCount().static voidnsignalSemaphoreCount(long struct, int value) Sets the specified value to thesignalSemaphoreCountfield of the specifiedstruct.static intnsType(long struct) Unsafe version ofsType().static voidnsType(long struct, int value) Unsafe version ofsType.static intnwaitSemaphoreCount(long struct) Unsafe version ofwaitSemaphoreCount().static voidnwaitSemaphoreCount(long struct, int value) Sets the specified value to thewaitSemaphoreCountfield of the specifiedstruct.@Nullable PointerBufferpCommandBuffers(@Nullable PointerBuffer value) Sets the address of the specifiedPointerBufferto thepCommandBuffersfield.longpNext()pNext(long value) Sets the specified value to thepNextfield.Prepends the specifiedVkAmigoProfilingSubmitInfoSECvalue to thepNextchain.pNext(VkD3D12FenceSubmitInfoKHR value) Prepends the specifiedVkD3D12FenceSubmitInfoKHRvalue to thepNextchain.pNext(VkDeviceGroupSubmitInfo value) Prepends the specifiedVkDeviceGroupSubmitInfovalue to thepNextchain.pNext(VkDeviceGroupSubmitInfoKHR value) Prepends the specifiedVkDeviceGroupSubmitInfoKHRvalue to thepNextchain.pNext(VkFrameBoundaryEXT value) Prepends the specifiedVkFrameBoundaryEXTvalue to thepNextchain.pNext(VkFrameBoundaryTensorsARM value) Prepends the specifiedVkFrameBoundaryTensorsARMvalue to thepNextchain.Prepends the specifiedVkLatencySubmissionPresentIdNVvalue to thepNextchain.Prepends the specifiedVkPerformanceQuerySubmitInfoKHRvalue to thepNextchain.pNext(VkProtectedSubmitInfo value) Prepends the specifiedVkProtectedSubmitInfovalue to thepNextchain.Prepends the specifiedVkTimelineSemaphoreSubmitInfovalue to thepNextchain.Prepends the specifiedVkTimelineSemaphoreSubmitInfoKHRvalue to thepNextchain.Prepends the specifiedVkWin32KeyedMutexAcquireReleaseInfoKHRvalue to thepNextchain.Prepends the specifiedVkWin32KeyedMutexAcquireReleaseInfoNVvalue to thepNextchain.@Nullable LongBufferpSignalSemaphores(@Nullable LongBuffer value) Sets the address of the specifiedLongBufferto thepSignalSemaphoresfield.@Nullable IntBufferpWaitDstStageMask(@Nullable IntBuffer value) Sets the address of the specifiedIntBufferto thepWaitDstStageMaskfield.@Nullable LongBufferpWaitSemaphores(@Nullable LongBuffer value) Sets the address of the specifiedLongBufferto thepWaitSemaphoresfield.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.intintsizeof()Returnssizeof(struct).intsType()sType(int value) Sets the specified value to thesTypefield.Sets theSTRUCTURE_TYPE_SUBMIT_INFOvalue to thesTypefield.static voidvalidate(long struct) Validates pointer members that should not beNULL.intwaitSemaphoreCount(int value) Sets the specified value to thewaitSemaphoreCountfield.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods 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 aVkSubmitInfoinstance 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
-
sizeof
public int sizeof()Description copied from class:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<VkSubmitInfo>
-
sType
public int sType()- Returns:
- the value of the
sTypefield.
-
pNext
public long pNext()- Returns:
- the value of the
pNextfield.
-
waitSemaphoreCount
public int waitSemaphoreCount()- Returns:
- the value of the
waitSemaphoreCountfield.
-
pWaitSemaphores
- Returns:
- a
LongBufferview of the data pointed to by thepWaitSemaphoresfield.
-
pWaitDstStageMask
- Returns:
- a
IntBufferview of the data pointed to by thepWaitDstStageMaskfield.
-
commandBufferCount
public int commandBufferCount()- Returns:
- the value of the
commandBufferCountfield.
-
pCommandBuffers
- Returns:
- a
PointerBufferview of the data pointed to by thepCommandBuffersfield.
-
signalSemaphoreCount
public int signalSemaphoreCount()- Returns:
- the value of the
signalSemaphoreCountfield.
-
pSignalSemaphores
- Returns:
- a
LongBufferview of the data pointed to by thepSignalSemaphoresfield.
-
sType
Sets the specified value to thesTypefield. -
sType$Default
Sets theSTRUCTURE_TYPE_SUBMIT_INFOvalue to thesTypefield. -
pNext
Sets the specified value to thepNextfield. -
pNext
Prepends the specifiedVkAmigoProfilingSubmitInfoSECvalue to thepNextchain. -
pNext
Prepends the specifiedVkD3D12FenceSubmitInfoKHRvalue to thepNextchain. -
pNext
Prepends the specifiedVkDeviceGroupSubmitInfovalue to thepNextchain. -
pNext
Prepends the specifiedVkDeviceGroupSubmitInfoKHRvalue to thepNextchain. -
pNext
Prepends the specifiedVkFrameBoundaryEXTvalue to thepNextchain. -
pNext
Prepends the specifiedVkFrameBoundaryTensorsARMvalue to thepNextchain. -
pNext
Prepends the specifiedVkLatencySubmissionPresentIdNVvalue to thepNextchain. -
pNext
Prepends the specifiedVkPerformanceQuerySubmitInfoKHRvalue to thepNextchain. -
pNext
Prepends the specifiedVkProtectedSubmitInfovalue to thepNextchain. -
pNext
Prepends the specifiedVkTimelineSemaphoreSubmitInfovalue to thepNextchain. -
pNext
Prepends the specifiedVkTimelineSemaphoreSubmitInfoKHRvalue to thepNextchain. -
pNext
Prepends the specifiedVkWin32KeyedMutexAcquireReleaseInfoKHRvalue to thepNextchain. -
pNext
Prepends the specifiedVkWin32KeyedMutexAcquireReleaseInfoNVvalue to thepNextchain. -
waitSemaphoreCount
Sets the specified value to thewaitSemaphoreCountfield. -
pWaitSemaphores
Sets the address of the specifiedLongBufferto thepWaitSemaphoresfield. -
pWaitDstStageMask
Sets the address of the specifiedIntBufferto thepWaitDstStageMaskfield. -
pCommandBuffers
Sets the address of the specifiedPointerBufferto thepCommandBuffersfield. -
pSignalSemaphores
Sets the address of the specifiedLongBufferto thepSignalSemaphoresfield. -
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 newVkSubmitInfoinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkSubmitInfoinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkSubmitInfoinstance allocated withBufferUtils. -
create
Returns a newVkSubmitInfoinstance for the specified memory address. -
createSafe
-
malloc
Returns a newVkSubmitInfo.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkSubmitInfo.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkSubmitInfo.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aVkSubmitInfo.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newVkSubmitInfoinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newVkSubmitInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newVkSubmitInfo.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newVkSubmitInfo.Bufferinstance allocated on the specifiedMemoryStackand 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 thewaitSemaphoreCountfield 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 thecommandBufferCountfield of the specifiedstruct. -
npCommandBuffers
Unsafe version ofpCommandBuffers. -
nsignalSemaphoreCount
public static void nsignalSemaphoreCount(long struct, int value) Sets the specified value to thesignalSemaphoreCountfield 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
-