Package org.lwjgl.vulkan
Class VkBindSparseInfo
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkBindSparseInfo
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkBindSparseInfo extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifying a sparse binding operation.Valid Usage
- If any element of
pWaitSemaphoresorpSignalSemaphoreswas created with aVkSemaphoreTypeofSEMAPHORE_TYPE_TIMELINEthen thepNextchain must include aVkTimelineSemaphoreSubmitInfostructure - If the
pNextchain of this structure includes aVkTimelineSemaphoreSubmitInfostructure and any element ofpWaitSemaphoreswas created with aVkSemaphoreTypeofSEMAPHORE_TYPE_TIMELINEthen itswaitSemaphoreValueCountmember must equalwaitSemaphoreCount - If the
pNextchain of this structure includes aVkTimelineSemaphoreSubmitInfostructure and any element ofpSignalSemaphoreswas created with aVkSemaphoreTypeofSEMAPHORE_TYPE_TIMELINEthen 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 from 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 from the value of any outstanding semaphore wait or signal operation on that semaphore by more thanmaxTimelineSemaphoreValueDifference
Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_BIND_SPARSE_INFO- Each
pNextmember of any structure (including this one) in thepNextchain must be eitherNULLor a pointer to a valid instance ofVkDeviceGroupBindSparseInfoorVkTimelineSemaphoreSubmitInfo - The
sTypevalue of each struct in thepNextchain must be unique - If
waitSemaphoreCountis not 0,pWaitSemaphoresmust be a valid pointer to an array ofwaitSemaphoreCountvalidVkSemaphorehandles - If
bufferBindCountis not 0,pBufferBindsmust be a valid pointer to an array ofbufferBindCountvalidVkSparseBufferMemoryBindInfostructures - If
imageOpaqueBindCountis not 0,pImageOpaqueBindsmust be a valid pointer to an array ofimageOpaqueBindCountvalidVkSparseImageOpaqueMemoryBindInfostructures - If
imageBindCountis not 0,pImageBindsmust be a valid pointer to an array ofimageBindCountvalidVkSparseImageMemoryBindInfostructures - If
signalSemaphoreCountis not 0,pSignalSemaphoresmust be a valid pointer to an array ofsignalSemaphoreCountvalidVkSemaphorehandles - Both of the elements of
pSignalSemaphores, and the elements ofpWaitSemaphoresthat are valid handles of non-ignored parameters must have been created, allocated, or retrieved from the sameVkDevice
See Also
VkSparseBufferMemoryBindInfo,VkSparseImageMemoryBindInfo,VkSparseImageOpaqueMemoryBindInfo,QueueBindSparseLayout
struct VkBindSparseInfo { VkStructureTypesType(); void const *pNext(); uint32_twaitSemaphoreCount(); VkSemaphore const *pWaitSemaphores(); uint32_tbufferBindCount();VkSparseBufferMemoryBindInfoconst *pBufferBinds(); uint32_timageOpaqueBindCount();VkSparseImageOpaqueMemoryBindInfoconst *pImageOpaqueBinds(); uint32_timageBindCount();VkSparseImageMemoryBindInfoconst *pImageBinds(); uint32_tsignalSemaphoreCount(); VkSemaphore const *pSignalSemaphores(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkBindSparseInfo.BufferAn array ofVkBindSparseInfostructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intBUFFERBINDCOUNT
IMAGEBINDCOUNT
IMAGEOPAQUEBINDCOUNT
PBUFFERBINDS
PIMAGEBINDS
PIMAGEOPAQUEBINDS
PNEXT
PSIGNALSEMAPHORES
PWAITSEMAPHORES
SIGNALSEMAPHORECOUNTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPE
WAITSEMAPHORECOUNTThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkBindSparseInfo(java.nio.ByteBuffer container)Creates aVkBindSparseInfoinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description intbufferBindCount()the number of sparse buffer bindings to perform in the batch.static VkBindSparseInfocalloc()Returns a newVkBindSparseInfoinstance allocated withmemCalloc.static VkBindSparseInfo.Buffercalloc(int capacity)Returns a newVkBindSparseInfo.Bufferinstance allocated withmemCalloc.static VkBindSparseInfo.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkBindSparseInfo.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkBindSparseInfocalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkBindSparseInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkBindSparseInfocallocStack()Deprecated.static VkBindSparseInfo.BuffercallocStack(int capacity)Deprecated.static VkBindSparseInfo.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkBindSparseInfocallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static VkBindSparseInfocreate()Returns a newVkBindSparseInfoinstance allocated withBufferUtils.static VkBindSparseInfo.Buffercreate(int capacity)Returns a newVkBindSparseInfo.Bufferinstance allocated withBufferUtils.static VkBindSparseInfocreate(long address)Returns a newVkBindSparseInfoinstance for the specified memory address.static VkBindSparseInfo.Buffercreate(long address, int capacity)Create aVkBindSparseInfo.Bufferinstance at the specified memory.static VkBindSparseInfocreateSafe(long address)static VkBindSparseInfo.BuffercreateSafe(long address, int capacity)intimageBindCount()the number of sparse image bindings to perform.intimageOpaqueBindCount()the number of opaque sparse image bindings to perform.static VkBindSparseInfomalloc()Returns a newVkBindSparseInfoinstance allocated withmemAlloc.static VkBindSparseInfo.Buffermalloc(int capacity)Returns a newVkBindSparseInfo.Bufferinstance allocated withmemAlloc.static VkBindSparseInfo.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkBindSparseInfo.Bufferinstance allocated on the specifiedMemoryStack.static VkBindSparseInfomalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkBindSparseInfoinstance allocated on the specifiedMemoryStack.static VkBindSparseInfomallocStack()Deprecated.static VkBindSparseInfo.BuffermallocStack(int capacity)Deprecated.static VkBindSparseInfo.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkBindSparseInfomallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static intnbufferBindCount(long struct)Unsafe version ofbufferBindCount().static voidnbufferBindCount(long struct, int value)Sets the specified value to thebufferBindCountfield of the specifiedstruct.static intnimageBindCount(long struct)Unsafe version ofimageBindCount().static voidnimageBindCount(long struct, int value)Sets the specified value to theimageBindCountfield of the specifiedstruct.static intnimageOpaqueBindCount(long struct)Unsafe version ofimageOpaqueBindCount().static voidnimageOpaqueBindCount(long struct, int value)Sets the specified value to theimageOpaqueBindCountfield of the specifiedstruct.static VkSparseBufferMemoryBindInfo.BuffernpBufferBinds(long struct)Unsafe version ofpBufferBinds().static voidnpBufferBinds(long struct, VkSparseBufferMemoryBindInfo.Buffer value)Unsafe version ofpBufferBinds.static VkSparseImageMemoryBindInfo.BuffernpImageBinds(long struct)Unsafe version ofpImageBinds().static voidnpImageBinds(long struct, VkSparseImageMemoryBindInfo.Buffer value)Unsafe version ofpImageBinds.static VkSparseImageOpaqueMemoryBindInfo.BuffernpImageOpaqueBinds(long struct)Unsafe version ofpImageOpaqueBinds().static voidnpImageOpaqueBinds(long struct, VkSparseImageOpaqueMemoryBindInfo.Buffer value)Unsafe version ofpImageOpaqueBinds.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.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.VkSparseBufferMemoryBindInfo.BufferpBufferBinds()a pointer to an array ofVkSparseBufferMemoryBindInfostructures.VkBindSparseInfopBufferBinds(VkSparseBufferMemoryBindInfo.Buffer value)Sets the address of the specifiedVkSparseBufferMemoryBindInfo.Bufferto thepBufferBinds()field.VkSparseImageMemoryBindInfo.BufferpImageBinds()a pointer to an array ofVkSparseImageMemoryBindInfostructures, indicating sparse image bindings to perform.VkBindSparseInfopImageBinds(VkSparseImageMemoryBindInfo.Buffer value)Sets the address of the specifiedVkSparseImageMemoryBindInfo.Bufferto thepImageBinds()field.VkSparseImageOpaqueMemoryBindInfo.BufferpImageOpaqueBinds()a pointer to an array ofVkSparseImageOpaqueMemoryBindInfostructures, indicating opaque sparse image bindings to perform.VkBindSparseInfopImageOpaqueBinds(VkSparseImageOpaqueMemoryBindInfo.Buffer value)Sets the address of the specifiedVkSparseImageOpaqueMemoryBindInfo.Bufferto thepImageOpaqueBinds()field.longpNext()NULLor a pointer to a structure extending this structure.VkBindSparseInfopNext(long value)Sets the specified value to thepNext()field.VkBindSparseInfopNext(VkDeviceGroupBindSparseInfo value)Prepends the specifiedVkDeviceGroupBindSparseInfovalue to thepNextchain.VkBindSparseInfopNext(VkDeviceGroupBindSparseInfoKHR value)Prepends the specifiedVkDeviceGroupBindSparseInfoKHRvalue to thepNextchain.VkBindSparseInfopNext(VkTimelineSemaphoreSubmitInfo value)Prepends the specifiedVkTimelineSemaphoreSubmitInfovalue to thepNextchain.VkBindSparseInfopNext(VkTimelineSemaphoreSubmitInfoKHR value)Prepends the specifiedVkTimelineSemaphoreSubmitInfoKHRvalue to thepNextchain.java.nio.LongBufferpSignalSemaphores()a pointer to an array of semaphores which will be signaled when the sparse binding operations for this batch have completed execution.VkBindSparseInfopSignalSemaphores(java.nio.LongBuffer value)Sets the address of the specifiedLongBufferto thepSignalSemaphores()field.java.nio.LongBufferpWaitSemaphores()a pointer to an array of semaphores upon which to wait on before the sparse binding operations for this batch begin execution.VkBindSparseInfopWaitSemaphores(java.nio.LongBuffer value)Sets the address of the specifiedLongBufferto thepWaitSemaphores()field.VkBindSparseInfoset(int sType, long pNext, java.nio.LongBuffer pWaitSemaphores, VkSparseBufferMemoryBindInfo.Buffer pBufferBinds, VkSparseImageOpaqueMemoryBindInfo.Buffer pImageOpaqueBinds, VkSparseImageMemoryBindInfo.Buffer pImageBinds, java.nio.LongBuffer pSignalSemaphores)Initializes this struct with the specified values.VkBindSparseInfoset(VkBindSparseInfo src)Copies the specified struct data to this struct.intsignalSemaphoreCount()the number of semaphores to be signaled once the sparse binding operations specified by the structure have completed execution.intsizeof()intsType()the type of this structure.VkBindSparseInfosType(int value)Sets the specified value to thesType()field.VkBindSparseInfosType$Default()Sets theSTRUCTURE_TYPE_BIND_SPARSE_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 sparse binding operations for the batch.
-
-
-
Field Detail
-
SIZEOF
The struct size in bytes.
-
ALIGNOF
The struct alignment in bytes.
-
STYPE, PNEXT, WAITSEMAPHORECOUNT, PWAITSEMAPHORES, BUFFERBINDCOUNT, PBUFFERBINDS, IMAGEOPAQUEBINDCOUNT, PIMAGEOPAQUEBINDS, IMAGEBINDCOUNT, PIMAGEBINDS, SIGNALSEMAPHORECOUNT, PSIGNALSEMAPHORES
The struct member offsets.
-
-
Constructor Detail
-
VkBindSparseInfo
public VkBindSparseInfo(java.nio.ByteBuffer container)
Creates aVkBindSparseInfoinstance 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 sparse binding operations for the batch.
-
pWaitSemaphores
@Nullable public java.nio.LongBuffer pWaitSemaphores()
a pointer to an array of semaphores upon which to wait on before the sparse binding operations for this batch begin execution. If semaphores to wait on are provided, they define a semaphore wait operation.
-
bufferBindCount
public int bufferBindCount()
the number of sparse buffer bindings to perform in the batch.
-
pBufferBinds
@Nullable public VkSparseBufferMemoryBindInfo.Buffer pBufferBinds()
a pointer to an array ofVkSparseBufferMemoryBindInfostructures.
-
imageOpaqueBindCount
public int imageOpaqueBindCount()
the number of opaque sparse image bindings to perform.
-
pImageOpaqueBinds
@Nullable public VkSparseImageOpaqueMemoryBindInfo.Buffer pImageOpaqueBinds()
a pointer to an array ofVkSparseImageOpaqueMemoryBindInfostructures, indicating opaque sparse image bindings to perform.
-
imageBindCount
public int imageBindCount()
the number of sparse image bindings to perform.
-
pImageBinds
@Nullable public VkSparseImageMemoryBindInfo.Buffer pImageBinds()
a pointer to an array ofVkSparseImageMemoryBindInfostructures, indicating sparse image bindings to perform.
-
signalSemaphoreCount
public int signalSemaphoreCount()
the number of semaphores to be signaled once the sparse binding operations specified by the structure have completed execution.
-
pSignalSemaphores
@Nullable public java.nio.LongBuffer pSignalSemaphores()
a pointer to an array of semaphores which will be signaled when the sparse binding operations for this batch have completed execution. If semaphores to be signaled are provided, they define a semaphore signal operation.
-
sType
public VkBindSparseInfo sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkBindSparseInfo sType$Default()
Sets theSTRUCTURE_TYPE_BIND_SPARSE_INFOvalue to thesType()field.
-
pNext
public VkBindSparseInfo pNext(long value)
Sets the specified value to thepNext()field.
-
pNext
public VkBindSparseInfo pNext(VkDeviceGroupBindSparseInfo value)
Prepends the specifiedVkDeviceGroupBindSparseInfovalue to thepNextchain.
-
pNext
public VkBindSparseInfo pNext(VkDeviceGroupBindSparseInfoKHR value)
Prepends the specifiedVkDeviceGroupBindSparseInfoKHRvalue to thepNextchain.
-
pNext
public VkBindSparseInfo pNext(VkTimelineSemaphoreSubmitInfo value)
Prepends the specifiedVkTimelineSemaphoreSubmitInfovalue to thepNextchain.
-
pNext
public VkBindSparseInfo pNext(VkTimelineSemaphoreSubmitInfoKHR value)
Prepends the specifiedVkTimelineSemaphoreSubmitInfoKHRvalue to thepNextchain.
-
pWaitSemaphores
public VkBindSparseInfo pWaitSemaphores(@Nullable java.nio.LongBuffer value)
Sets the address of the specifiedLongBufferto thepWaitSemaphores()field.
-
pBufferBinds
public VkBindSparseInfo pBufferBinds(@Nullable VkSparseBufferMemoryBindInfo.Buffer value)
Sets the address of the specifiedVkSparseBufferMemoryBindInfo.Bufferto thepBufferBinds()field.
-
pImageOpaqueBinds
public VkBindSparseInfo pImageOpaqueBinds(@Nullable VkSparseImageOpaqueMemoryBindInfo.Buffer value)
Sets the address of the specifiedVkSparseImageOpaqueMemoryBindInfo.Bufferto thepImageOpaqueBinds()field.
-
pImageBinds
public VkBindSparseInfo pImageBinds(@Nullable VkSparseImageMemoryBindInfo.Buffer value)
Sets the address of the specifiedVkSparseImageMemoryBindInfo.Bufferto thepImageBinds()field.
-
pSignalSemaphores
public VkBindSparseInfo pSignalSemaphores(@Nullable java.nio.LongBuffer value)
Sets the address of the specifiedLongBufferto thepSignalSemaphores()field.
-
set
public VkBindSparseInfo set(int sType, long pNext, @Nullable java.nio.LongBuffer pWaitSemaphores, @Nullable VkSparseBufferMemoryBindInfo.Buffer pBufferBinds, @Nullable VkSparseImageOpaqueMemoryBindInfo.Buffer pImageOpaqueBinds, @Nullable VkSparseImageMemoryBindInfo.Buffer pImageBinds, @Nullable java.nio.LongBuffer pSignalSemaphores)
Initializes this struct with the specified values.
-
set
public VkBindSparseInfo set(VkBindSparseInfo src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkBindSparseInfo malloc()
Returns a newVkBindSparseInfoinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkBindSparseInfo calloc()
Returns a newVkBindSparseInfoinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkBindSparseInfo create()
Returns a newVkBindSparseInfoinstance allocated withBufferUtils.
-
create
public static VkBindSparseInfo create(long address)
Returns a newVkBindSparseInfoinstance for the specified memory address.
-
createSafe
@Nullable public static VkBindSparseInfo createSafe(long address)
-
malloc
public static VkBindSparseInfo.Buffer malloc(int capacity)
Returns a newVkBindSparseInfo.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkBindSparseInfo.Buffer calloc(int capacity)
Returns a newVkBindSparseInfo.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkBindSparseInfo.Buffer create(int capacity)
Returns a newVkBindSparseInfo.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkBindSparseInfo.Buffer create(long address, int capacity)
Create aVkBindSparseInfo.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkBindSparseInfo.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VkBindSparseInfo mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkBindSparseInfo callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkBindSparseInfo mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkBindSparseInfo callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkBindSparseInfo.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkBindSparseInfo.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkBindSparseInfo.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 VkBindSparseInfo.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkBindSparseInfo malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkBindSparseInfoinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkBindSparseInfo calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkBindSparseInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkBindSparseInfo.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkBindSparseInfo.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkBindSparseInfo.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkBindSparseInfo.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.
-
nbufferBindCount
public static int nbufferBindCount(long struct)
Unsafe version ofbufferBindCount().
-
npBufferBinds
@Nullable public static VkSparseBufferMemoryBindInfo.Buffer npBufferBinds(long struct)
Unsafe version ofpBufferBinds().
-
nimageOpaqueBindCount
public static int nimageOpaqueBindCount(long struct)
Unsafe version ofimageOpaqueBindCount().
-
npImageOpaqueBinds
@Nullable public static VkSparseImageOpaqueMemoryBindInfo.Buffer npImageOpaqueBinds(long struct)
Unsafe version ofpImageOpaqueBinds().
-
nimageBindCount
public static int nimageBindCount(long struct)
Unsafe version ofimageBindCount().
-
npImageBinds
@Nullable public static VkSparseImageMemoryBindInfo.Buffer npImageBinds(long struct)
Unsafe version ofpImageBinds().
-
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.
-
nbufferBindCount
public static void nbufferBindCount(long struct, int value)Sets the specified value to thebufferBindCountfield of the specifiedstruct.
-
npBufferBinds
public static void npBufferBinds(long struct, @Nullable VkSparseBufferMemoryBindInfo.Buffer value)Unsafe version ofpBufferBinds.
-
nimageOpaqueBindCount
public static void nimageOpaqueBindCount(long struct, int value)Sets the specified value to theimageOpaqueBindCountfield of the specifiedstruct.
-
npImageOpaqueBinds
public static void npImageOpaqueBinds(long struct, @Nullable VkSparseImageOpaqueMemoryBindInfo.Buffer value)Unsafe version ofpImageOpaqueBinds.
-
nimageBindCount
public static void nimageBindCount(long struct, int value)Sets the specified value to theimageBindCountfield of the specifiedstruct.
-
npImageBinds
public static void npImageBinds(long struct, @Nullable VkSparseImageMemoryBindInfo.Buffer value)Unsafe version ofpImageBinds.
-
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
-
-