Package org.lwjgl.vulkan
Class VkSubmitInfo
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkSubmitInfo>
org.lwjgl.vulkan.VkSubmitInfo
- All Implemented Interfaces:
AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkSubmitInfo
extends org.lwjgl.system.Struct<VkSubmitInfo>
implements org.lwjgl.system.NativeResource
Structure specifying a queue submit operation.
Description
The order that command buffers appear in pCommandBuffers is 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
geometryShaderfeature is not enabled,pWaitDstStageMaskmust not containPIPELINE_STAGE_GEOMETRY_SHADER_BIT - If the
tessellationShaderfeature is not enabled,pWaitDstStageMaskmust not containPIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BITorPIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT - If the
conditionalRenderingfeature is not enabled,pWaitDstStageMaskmust not containPIPELINE_STAGE_CONDITIONAL_RENDERING_BIT_EXT - If the
fragmentDensityMapfeature is not enabled,pWaitDstStageMaskmust not containPIPELINE_STAGE_FRAGMENT_DENSITY_PROCESS_BIT_EXT - If the
transformFeedbackfeature is not enabled,pWaitDstStageMaskmust not containPIPELINE_STAGE_TRANSFORM_FEEDBACK_BIT_EXT - If the
meshShaderfeature is not enabled,pWaitDstStageMaskmust not containPIPELINE_STAGE_MESH_SHADER_BIT_EXT - If the
taskShaderfeature is not enabled,pWaitDstStageMaskmust not containPIPELINE_STAGE_TASK_SHADER_BIT_EXT - If neither of the
shadingRateImageor theattachmentFragmentShadingRatefeatures are enabled,pWaitDstStageMaskmust not containPIPELINE_STAGE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR - If the
synchronization2feature is not enabled,pWaitDstStageMaskmust not be 0 - If neither the
VK_NV_ray_tracingextension or therayTracingPipelinefeature are enabled,pWaitDstStageMaskmust not containPIPELINE_STAGE_RAY_TRACING_SHADER_BIT_KHR - 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 executed in a primary or secondary command buffer 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 ofVkAmigoProfilingSubmitInfoSEC,VkD3D12FenceSubmitInfoKHR,VkDeviceGroupSubmitInfo,VkFrameBoundaryEXT,VkLatencySubmissionPresentIdNV,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 - 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 {
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
org.lwjgl.system.Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
org.lwjgl.system.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, 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 VkSubmitInfoDeprecated.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.intthe 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 @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, 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 VkSubmitInfoDeprecated.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 @Nullable org.lwjgl.PointerBuffernpCommandBuffers(long struct) Unsafe version ofpCommandBuffers.static voidnpCommandBuffers(long struct, @Nullable org.lwjgl.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 org.lwjgl.PointerBuffera pointer to an array ofVkCommandBufferhandles to execute in the batch.pCommandBuffers(@Nullable org.lwjgl.PointerBuffer value) Sets the address of the specifiedPointerBufferto thepCommandBuffers()field.longpNext()NULLor a pointer to a structure extending this structure.pNext(long value) Sets the specified value to thepNext()field.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.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 LongBuffera pointer to an array ofVkSemaphorehandles which will be signaled when the command buffers for this batch have completed execution.pSignalSemaphores(@Nullable LongBuffer value) Sets the address of the specifiedLongBufferto thepSignalSemaphores()field.@Nullable IntBuffera pointer to an array of pipeline stages at which each corresponding semaphore wait will occur.pWaitDstStageMask(@Nullable IntBuffer value) Sets the address of the specifiedIntBufferto thepWaitDstStageMask()field.@Nullable LongBuffera pointer to an array ofVkSemaphorehandles upon which to wait before the command buffers for this batch begin execution.pWaitSemaphores(@Nullable LongBuffer value) Sets the address of the specifiedLongBufferto thepWaitSemaphores()field.set(int sType, long pNext, int waitSemaphoreCount, @Nullable LongBuffer pWaitSemaphores, @Nullable IntBuffer pWaitDstStageMask, @Nullable org.lwjgl.PointerBuffer pCommandBuffers, @Nullable LongBuffer pSignalSemaphores) Initializes this struct with the specified values.set(VkSubmitInfo src) Copies the specified struct data to this struct.intthe number of semaphores to be signaled once the commands specified inpCommandBuffershave completed execution.intsizeof()intsType()aVkStructureTypevalue identifying this structure.sType(int value) Sets the specified value to thesType()field.Sets theSTRUCTURE_TYPE_SUBMIT_INFOvalue to thesType()field.static voidvalidate(long struct) Validates pointer members that should not beNULL.intthe number of semaphores upon which to wait before executing the command buffers for the batch.waitSemaphoreCount(int value) Sets the specified value to thewaitSemaphoreCount()field.Methods inherited from class org.lwjgl.system.Struct
clear, free, isNull, validate, validateMethods 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()- Specified by:
sizeofin classorg.lwjgl.system.Struct<VkSubmitInfo>
-
sType
public int sType()aVkStructureTypevalue identifying 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
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
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
public @Nullable 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
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
Sets the specified value to thesType()field. -
sType$Default
Sets theSTRUCTURE_TYPE_SUBMIT_INFOvalue to thesType()field. -
pNext
Sets the specified value to thepNext()field. -
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 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 thewaitSemaphoreCount()field. -
pWaitSemaphores
Sets the address of the specifiedLongBufferto thepWaitSemaphores()field. -
pWaitDstStageMask
Sets the address of the specifiedIntBufferto thepWaitDstStageMask()field. -
pCommandBuffers
Sets the address of the specifiedPointerBufferto thepCommandBuffers()field. -
pSignalSemaphores
Sets the address of the specifiedLongBufferto thepSignalSemaphores()field. -
set
public VkSubmitInfo set(int sType, long pNext, int waitSemaphoreCount, @Nullable LongBuffer pWaitSemaphores, @Nullable IntBuffer pWaitDstStageMask, @Nullable org.lwjgl.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
-
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 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
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
public static @Nullable org.lwjgl.PointerBuffer npCommandBuffers(long struct) 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
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
Unsafe version ofpSignalSemaphores. -
validate
public static void validate(long struct) Validates pointer members that should not beNULL.- Parameters:
struct- the struct to validate
-