Package org.lwjgl.vulkan
Class VkSubmitInfo
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkSubmitInfo
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkSubmitInfo extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifying a queue submit operation.Description
The order that command buffers appear in
pCommandBuffersis used to determine submission order, and thus all the implicit ordering guarantees that respect it. Other than these implicit ordering guarantees and any explicit synchronization primitives, these command buffers may overlap or otherwise execute out of order.Valid Usage
- If the geometry shaders feature is not enabled,
pWaitDstStageMaskmust not containPIPELINE_STAGE_GEOMETRY_SHADER_BIT - If the tessellation shaders feature is not enabled,
pWaitDstStageMaskmust not containPIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BITorPIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT - If the conditional rendering feature is not enabled,
pWaitDstStageMaskmust not containPIPELINE_STAGE_CONDITIONAL_RENDERING_BIT_EXT - If the fragment density map feature is not enabled,
pWaitDstStageMaskmust not containPIPELINE_STAGE_FRAGMENT_DENSITY_PROCESS_BIT_EXT - If the transform feedback feature is not enabled,
pWaitDstStageMaskmust not containPIPELINE_STAGE_TRANSFORM_FEEDBACK_BIT_EXT - If the mesh shaders feature is not enabled,
pWaitDstStageMaskmust not containPIPELINE_STAGE_MESH_SHADER_BIT_NV - If the task shaders feature is not enabled,
pWaitDstStageMaskmust not containPIPELINE_STAGE_TASK_SHADER_BIT_NV - If the shading rate image feature is not enabled,
pWaitDstStageMaskmust not containPIPELINE_STAGE_SHADING_RATE_IMAGE_BIT_NV - If the
synchronization2feature is not enabled,pWaitDstStageMaskmust not be 0 - Each element of
pCommandBuffersmust not have been allocated withCOMMAND_BUFFER_LEVEL_SECONDARY - Each element of
pWaitDstStageMaskmust not includePIPELINE_STAGE_HOST_BIT - If any element of
pWaitSemaphoresorpSignalSemaphoreswas created with aVkSemaphoreTypeofSEMAPHORE_TYPE_TIMELINE, then thepNextchain must include aVkTimelineSemaphoreSubmitInfostructure - If the
pNextchain of this structure includes aVkTimelineSemaphoreSubmitInfostructure and any element ofpWaitSemaphoreswas created with aVkSemaphoreTypeofSEMAPHORE_TYPE_TIMELINE, then itswaitSemaphoreValueCountmember must equalwaitSemaphoreCount - If the
pNextchain of this structure includes aVkTimelineSemaphoreSubmitInfostructure and any element ofpSignalSemaphoreswas created with aVkSemaphoreTypeofSEMAPHORE_TYPE_TIMELINE, then itssignalSemaphoreValueCountmember must equalsignalSemaphoreCount - For each element of
pSignalSemaphorescreated with aVkSemaphoreTypeofSEMAPHORE_TYPE_TIMELINEthe corresponding element ofVkTimelineSemaphoreSubmitInfo::pSignalSemaphoreValuesmust have a value greater than the current value of the semaphore when the semaphore signal operation is executed - For each element of
pWaitSemaphorescreated with aVkSemaphoreTypeofSEMAPHORE_TYPE_TIMELINEthe corresponding element ofVkTimelineSemaphoreSubmitInfo::pWaitSemaphoreValuesmust have a value which does not differ from the current value of the semaphore or the value of any outstanding semaphore wait or signal operation on that semaphore by more thanmaxTimelineSemaphoreValueDifference - For each element of
pSignalSemaphorescreated with aVkSemaphoreTypeofSEMAPHORE_TYPE_TIMELINEthe corresponding element ofVkTimelineSemaphoreSubmitInfo::pSignalSemaphoreValuesmust have a value which does not differ from the current value of the semaphore or the value of any outstanding semaphore wait or signal operation on that semaphore by more thanmaxTimelineSemaphoreValueDifference - If the
pNextchain of this structure does not include aVkProtectedSubmitInfostructure withprotectedSubmitset toTRUE, then each element of thepCommandBuffersarray must be an unprotected command buffer - If the
pNextchain of this structure includes aVkProtectedSubmitInfostructure withprotectedSubmitset toTRUE, then each element of thepCommandBuffersarray must be a protected command buffer - If
pCommandBufferscontains any resumed render pass instances, they must be suspended by a render pass instance earlier in submission order withinpCommandBuffers - If
pCommandBufferscontains any suspended render pass instances, they must be resumed by a render pass instance later in submission order withinpCommandBuffers - If
pCommandBufferscontains any suspended render pass instances, there must be no action or synchronization commands between that render pass instance and the render pass instance that resumes it - If
pCommandBufferscontains any suspended render pass instances, there must be no render pass instances between that render pass instance and the render pass instance that resumes it - If the
variableSampleLocationslimit is not supported, and any element ofpCommandBufferscontains any suspended render pass instances, where a graphics pipeline has been bound, any pipelines bound in the render pass instance that resumes it, or any subsequent render pass instances that resume from that one and so on, must use the same sample locations
Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_SUBMIT_INFO- Each
pNextmember of any structure (including this one) in thepNextchain must be eitherNULLor a pointer to a valid instance ofVkD3D12FenceSubmitInfoKHR,VkDeviceGroupSubmitInfo,VkPerformanceQuerySubmitInfoKHR,VkProtectedSubmitInfo,VkTimelineSemaphoreSubmitInfo,VkWin32KeyedMutexAcquireReleaseInfoKHR, orVkWin32KeyedMutexAcquireReleaseInfoNV - The
sTypevalue of each struct in thepNextchain must be unique - If
waitSemaphoreCountis not 0,pWaitSemaphoresmust be a valid pointer to an array ofwaitSemaphoreCountvalidVkSemaphorehandles - If
waitSemaphoreCountis not 0,pWaitDstStageMaskmust be a valid pointer to an array ofwaitSemaphoreCountvalid combinations ofVkPipelineStageFlagBitsvalues - Each element of
pWaitDstStageMaskmust not be 0 - If
commandBufferCountis not 0,pCommandBuffersmust be a valid pointer to an array ofcommandBufferCountvalidVkCommandBufferhandles - If
signalSemaphoreCountis not 0,pSignalSemaphoresmust be a valid pointer to an array ofsignalSemaphoreCountvalidVkSemaphorehandles - Each of the elements of
pCommandBuffers, the elements ofpSignalSemaphores, and the elements ofpWaitSemaphoresthat are valid handles of non-ignored parameters must have been created, allocated, or retrieved from the sameVkDevice
See Also
Layout
struct VkSubmitInfo { VkStructureTypesType(); void const *pNext(); uint32_twaitSemaphoreCount(); VkSemaphore const *pWaitSemaphores(); VkPipelineStageFlags const *pWaitDstStageMask(); uint32_tcommandBufferCount(); VkCommandBuffer const *pCommandBuffers(); uint32_tsignalSemaphoreCount(); VkSemaphore const *pSignalSemaphores(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkSubmitInfo.BufferAn array ofVkSubmitInfostructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intCOMMANDBUFFERCOUNT
PCOMMANDBUFFERS
PNEXT
PSIGNALSEMAPHORES
PWAITDSTSTAGEMASK
PWAITSEMAPHORES
SIGNALSEMAPHORECOUNTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPE
WAITSEMAPHORECOUNTThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkSubmitInfo(java.nio.ByteBuffer container)Creates aVkSubmitInfoinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static VkSubmitInfocalloc()Returns a newVkSubmitInfoinstance allocated withmemCalloc.static VkSubmitInfo.Buffercalloc(int capacity)Returns a newVkSubmitInfo.Bufferinstance allocated withmemCalloc.static VkSubmitInfo.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkSubmitInfo.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkSubmitInfocalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkSubmitInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkSubmitInfocallocStack()Deprecated.static VkSubmitInfo.BuffercallocStack(int capacity)Deprecated.static VkSubmitInfo.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkSubmitInfocallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.intcommandBufferCount()the number of command buffers to execute in the batch.static 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 VkSubmitInfocreateSafe(long address)static 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, org.lwjgl.system.MemoryStack stack)Returns a newVkSubmitInfo.Bufferinstance allocated on the specifiedMemoryStack.static VkSubmitInfomalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkSubmitInfoinstance allocated on the specifiedMemoryStack.static VkSubmitInfomallocStack()Deprecated.static VkSubmitInfo.BuffermallocStack(int capacity)Deprecated.static VkSubmitInfo.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkSubmitInfomallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static intncommandBufferCount(long struct)Unsafe version ofcommandBufferCount().static voidncommandBufferCount(long struct, int value)Sets the specified value to thecommandBufferCountfield of the specifiedstruct.static org.lwjgl.PointerBuffernpCommandBuffers(long struct)Unsafe version ofpCommandBuffers.static voidnpCommandBuffers(long struct, org.lwjgl.PointerBuffer value)Unsafe version ofpCommandBuffers.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static java.nio.LongBuffernpSignalSemaphores(long struct)Unsafe version ofpSignalSemaphores.static voidnpSignalSemaphores(long struct, java.nio.LongBuffer value)Unsafe version ofpSignalSemaphores.static java.nio.IntBuffernpWaitDstStageMask(long struct)Unsafe version ofpWaitDstStageMask.static voidnpWaitDstStageMask(long struct, java.nio.IntBuffer value)Unsafe version ofpWaitDstStageMask.static java.nio.LongBuffernpWaitSemaphores(long struct)Unsafe version ofpWaitSemaphores.static voidnpWaitSemaphores(long struct, java.nio.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.org.lwjgl.PointerBufferpCommandBuffers()a pointer to an array ofVkCommandBufferhandles to execute in the batch.VkSubmitInfopCommandBuffers(org.lwjgl.PointerBuffer value)Sets the address of the specifiedPointerBufferto thepCommandBuffers()field.longpNext()NULLor a pointer to a structure extending this structure.VkSubmitInfopNext(long value)Sets the specified value to thepNext()field.VkSubmitInfopNext(VkD3D12FenceSubmitInfoKHR value)Prepends the specifiedVkD3D12FenceSubmitInfoKHRvalue to thepNextchain.VkSubmitInfopNext(VkDeviceGroupSubmitInfo value)Prepends the specifiedVkDeviceGroupSubmitInfovalue to thepNextchain.VkSubmitInfopNext(VkDeviceGroupSubmitInfoKHR value)Prepends the specifiedVkDeviceGroupSubmitInfoKHRvalue to thepNextchain.VkSubmitInfopNext(VkPerformanceQuerySubmitInfoKHR value)Prepends the specifiedVkPerformanceQuerySubmitInfoKHRvalue to thepNextchain.VkSubmitInfopNext(VkProtectedSubmitInfo value)Prepends the specifiedVkProtectedSubmitInfovalue to thepNextchain.VkSubmitInfopNext(VkTimelineSemaphoreSubmitInfo value)Prepends the specifiedVkTimelineSemaphoreSubmitInfovalue to thepNextchain.VkSubmitInfopNext(VkTimelineSemaphoreSubmitInfoKHR value)Prepends the specifiedVkTimelineSemaphoreSubmitInfoKHRvalue to thepNextchain.VkSubmitInfopNext(VkWin32KeyedMutexAcquireReleaseInfoKHR value)Prepends the specifiedVkWin32KeyedMutexAcquireReleaseInfoKHRvalue to thepNextchain.VkSubmitInfopNext(VkWin32KeyedMutexAcquireReleaseInfoNV value)Prepends the specifiedVkWin32KeyedMutexAcquireReleaseInfoNVvalue to thepNextchain.java.nio.LongBufferpSignalSemaphores()a pointer to an array ofVkSemaphorehandles which will be signaled when the command buffers for this batch have completed execution.VkSubmitInfopSignalSemaphores(java.nio.LongBuffer value)Sets the address of the specifiedLongBufferto thepSignalSemaphores()field.java.nio.IntBufferpWaitDstStageMask()a pointer to an array of pipeline stages at which each corresponding semaphore wait will occur.VkSubmitInfopWaitDstStageMask(java.nio.IntBuffer value)Sets the address of the specifiedIntBufferto thepWaitDstStageMask()field.java.nio.LongBufferpWaitSemaphores()a pointer to an array ofVkSemaphorehandles upon which to wait before the command buffers for this batch begin execution.VkSubmitInfopWaitSemaphores(java.nio.LongBuffer value)Sets the address of the specifiedLongBufferto thepWaitSemaphores()field.VkSubmitInfoset(int sType, long pNext, int waitSemaphoreCount, java.nio.LongBuffer pWaitSemaphores, java.nio.IntBuffer pWaitDstStageMask, org.lwjgl.PointerBuffer pCommandBuffers, java.nio.LongBuffer pSignalSemaphores)Initializes this struct with the specified values.VkSubmitInfoset(VkSubmitInfo src)Copies the specified struct data to this struct.intsignalSemaphoreCount()the number of semaphores to be signaled once the commands specified inpCommandBuffershave completed execution.intsizeof()intsType()the type of this structure.VkSubmitInfosType(int value)Sets the specified value to thesType()field.VkSubmitInfosType$Default()Sets theSTRUCTURE_TYPE_SUBMIT_INFOvalue to thesType()field.static voidvalidate(long struct)Validates pointer members that should not beNULL.intwaitSemaphoreCount()the number of semaphores upon which to wait before executing the command buffers for the batch.VkSubmitInfowaitSemaphoreCount(int value)Sets the specified value to thewaitSemaphoreCount()field.
-
-
-
Constructor Detail
-
VkSubmitInfo
public VkSubmitInfo(java.nio.ByteBuffer container)
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 Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
sType
public int sType()
the type of this structure.
-
pNext
public long pNext()
NULLor a pointer to a structure extending this structure.
-
waitSemaphoreCount
public int waitSemaphoreCount()
the number of semaphores upon which to wait before executing the command buffers for the batch.
-
pWaitSemaphores
@Nullable public java.nio.LongBuffer pWaitSemaphores()
a pointer to an array ofVkSemaphorehandles upon which to wait before the command buffers for this batch begin execution. If semaphores to wait on are provided, they define a semaphore wait operation.
-
pWaitDstStageMask
@Nullable public java.nio.IntBuffer pWaitDstStageMask()
a pointer to an array of pipeline stages at which each corresponding semaphore wait will occur.
-
commandBufferCount
public int commandBufferCount()
the number of command buffers to execute in the batch.
-
pCommandBuffers
@Nullable public org.lwjgl.PointerBuffer pCommandBuffers()
a pointer to an array ofVkCommandBufferhandles to execute in the batch.
-
signalSemaphoreCount
public int signalSemaphoreCount()
the number of semaphores to be signaled once the commands specified inpCommandBuffershave completed execution.
-
pSignalSemaphores
@Nullable public java.nio.LongBuffer pSignalSemaphores()
a pointer to an array ofVkSemaphorehandles which will be signaled when the command buffers for this batch have completed execution. If semaphores to be signaled are provided, they define a semaphore signal operation.
-
sType
public VkSubmitInfo sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkSubmitInfo sType$Default()
Sets theSTRUCTURE_TYPE_SUBMIT_INFOvalue to thesType()field.
-
pNext
public VkSubmitInfo pNext(long value)
Sets the specified value to thepNext()field.
-
pNext
public VkSubmitInfo pNext(VkD3D12FenceSubmitInfoKHR value)
Prepends the specifiedVkD3D12FenceSubmitInfoKHRvalue to thepNextchain.
-
pNext
public VkSubmitInfo pNext(VkDeviceGroupSubmitInfo value)
Prepends the specifiedVkDeviceGroupSubmitInfovalue to thepNextchain.
-
pNext
public VkSubmitInfo pNext(VkDeviceGroupSubmitInfoKHR value)
Prepends the specifiedVkDeviceGroupSubmitInfoKHRvalue to thepNextchain.
-
pNext
public VkSubmitInfo pNext(VkPerformanceQuerySubmitInfoKHR value)
Prepends the specifiedVkPerformanceQuerySubmitInfoKHRvalue to thepNextchain.
-
pNext
public VkSubmitInfo pNext(VkProtectedSubmitInfo value)
Prepends the specifiedVkProtectedSubmitInfovalue to thepNextchain.
-
pNext
public VkSubmitInfo pNext(VkTimelineSemaphoreSubmitInfo value)
Prepends the specifiedVkTimelineSemaphoreSubmitInfovalue to thepNextchain.
-
pNext
public VkSubmitInfo pNext(VkTimelineSemaphoreSubmitInfoKHR value)
Prepends the specifiedVkTimelineSemaphoreSubmitInfoKHRvalue to thepNextchain.
-
pNext
public VkSubmitInfo pNext(VkWin32KeyedMutexAcquireReleaseInfoKHR value)
Prepends the specifiedVkWin32KeyedMutexAcquireReleaseInfoKHRvalue to thepNextchain.
-
pNext
public VkSubmitInfo pNext(VkWin32KeyedMutexAcquireReleaseInfoNV value)
Prepends the specifiedVkWin32KeyedMutexAcquireReleaseInfoNVvalue to thepNextchain.
-
waitSemaphoreCount
public VkSubmitInfo waitSemaphoreCount(int value)
Sets the specified value to thewaitSemaphoreCount()field.
-
pWaitSemaphores
public VkSubmitInfo pWaitSemaphores(@Nullable java.nio.LongBuffer value)
Sets the address of the specifiedLongBufferto thepWaitSemaphores()field.
-
pWaitDstStageMask
public VkSubmitInfo pWaitDstStageMask(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto thepWaitDstStageMask()field.
-
pCommandBuffers
public VkSubmitInfo pCommandBuffers(@Nullable org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBufferto thepCommandBuffers()field.
-
pSignalSemaphores
public VkSubmitInfo pSignalSemaphores(@Nullable java.nio.LongBuffer value)
Sets the address of the specifiedLongBufferto thepSignalSemaphores()field.
-
set
public VkSubmitInfo set(int sType, long pNext, int waitSemaphoreCount, @Nullable java.nio.LongBuffer pWaitSemaphores, @Nullable java.nio.IntBuffer pWaitDstStageMask, @Nullable org.lwjgl.PointerBuffer pCommandBuffers, @Nullable java.nio.LongBuffer pSignalSemaphores)
Initializes this struct with the specified values.
-
set
public VkSubmitInfo set(VkSubmitInfo src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkSubmitInfo malloc()
Returns a newVkSubmitInfoinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkSubmitInfo calloc()
Returns a newVkSubmitInfoinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkSubmitInfo create()
Returns a newVkSubmitInfoinstance allocated withBufferUtils.
-
create
public static VkSubmitInfo create(long address)
Returns a newVkSubmitInfoinstance for the specified memory address.
-
createSafe
@Nullable public static VkSubmitInfo createSafe(long address)
-
malloc
public static VkSubmitInfo.Buffer malloc(int capacity)
Returns a newVkSubmitInfo.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkSubmitInfo.Buffer calloc(int capacity)
Returns a newVkSubmitInfo.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkSubmitInfo.Buffer create(int capacity)
Returns a newVkSubmitInfo.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkSubmitInfo.Buffer create(long address, int capacity)
Create aVkSubmitInfo.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkSubmitInfo.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VkSubmitInfo mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkSubmitInfo callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkSubmitInfo mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkSubmitInfo callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkSubmitInfo.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkSubmitInfo.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkSubmitInfo.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkSubmitInfo.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkSubmitInfo malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkSubmitInfoinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkSubmitInfo calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkSubmitInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkSubmitInfo.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkSubmitInfo.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkSubmitInfo.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkSubmitInfo.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
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
@Nullable public static java.nio.LongBuffer npWaitSemaphores(long struct)
Unsafe version ofpWaitSemaphores.
-
npWaitDstStageMask
@Nullable public static java.nio.IntBuffer npWaitDstStageMask(long struct)
Unsafe version ofpWaitDstStageMask.
-
ncommandBufferCount
public static int ncommandBufferCount(long struct)
Unsafe version ofcommandBufferCount().
-
npCommandBuffers
@Nullable public static org.lwjgl.PointerBuffer npCommandBuffers(long struct)
Unsafe version ofpCommandBuffers.
-
nsignalSemaphoreCount
public static int nsignalSemaphoreCount(long struct)
Unsafe version ofsignalSemaphoreCount().
-
npSignalSemaphores
@Nullable public static java.nio.LongBuffer npSignalSemaphores(long struct)
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
public static void npWaitSemaphores(long struct, @Nullable java.nio.LongBuffer value)Unsafe version ofpWaitSemaphores.
-
npWaitDstStageMask
public static void npWaitDstStageMask(long struct, @Nullable java.nio.IntBuffer value)Unsafe version ofpWaitDstStageMask.
-
ncommandBufferCount
public static void ncommandBufferCount(long struct, int value)Sets the specified value to thecommandBufferCountfield of the specifiedstruct.
-
npCommandBuffers
public static void npCommandBuffers(long struct, @Nullable org.lwjgl.PointerBuffer value)Unsafe version ofpCommandBuffers.
-
nsignalSemaphoreCount
public static void nsignalSemaphoreCount(long struct, int value)Sets the specified value to thesignalSemaphoreCountfield of the specifiedstruct.
-
npSignalSemaphores
public static void npSignalSemaphores(long struct, @Nullable java.nio.LongBuffer value)Unsafe version ofpSignalSemaphores.
-
validate
public static void validate(long struct)
Validates pointer members that should not beNULL.- Parameters:
struct- the struct to validate
-
-