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.NativeResource
Structure specifying a sparse binding operation.Valid Usage (Implicit)
sType
must beSTRUCTURE_TYPE_BIND_SPARSE_INFO
pNext
must beNULL
or a pointer to a valid instance ofVkDeviceGroupBindSparseInfo
- If
waitSemaphoreCount
is not 0,pWaitSemaphores
must be a valid pointer to an array ofwaitSemaphoreCount
validVkSemaphore
handles - If
bufferBindCount
is not 0,pBufferBinds
must be a valid pointer to an array ofbufferBindCount
validVkSparseBufferMemoryBindInfo
structures - If
imageOpaqueBindCount
is not 0,pImageOpaqueBinds
must be a valid pointer to an array ofimageOpaqueBindCount
validVkSparseImageOpaqueMemoryBindInfo
structures - If
imageBindCount
is not 0,pImageBinds
must be a valid pointer to an array ofimageBindCount
validVkSparseImageMemoryBindInfo
structures - If
signalSemaphoreCount
is not 0,pSignalSemaphores
must be a valid pointer to an array ofsignalSemaphoreCount
validVkSemaphore
handles - Both of the elements of
pSignalSemaphores
, and the elements ofpWaitSemaphores
that are valid handles must have been created, allocated, or retrieved from the sameVkDevice
See Also
VkSparseBufferMemoryBindInfo
,VkSparseImageMemoryBindInfo
,VkSparseImageOpaqueMemoryBindInfo
,QueueBindSparse
Member documentation
sType
– the type of this structure.pNext
–NULL
or a pointer to an extension-specific structure.waitSemaphoreCount
– the number of semaphores upon which to wait before executing the sparse binding operations for the batch.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
– the number of sparse buffer bindings to perform in the batch.pBufferBinds
– a pointer to an array ofVkSparseBufferMemoryBindInfo
structures.imageOpaqueBindCount
– the number of opaque sparse image bindings to perform.pImageOpaqueBinds
– a pointer to an array ofVkSparseImageOpaqueMemoryBindInfo
structures, indicating opaque sparse image bindings to perform.imageBindCount
– the number of sparse image bindings to perform.pImageBinds
– a pointer to an array ofVkSparseImageMemoryBindInfo
structures, indicating sparse image bindings to perform.signalSemaphoreCount
– the number of semaphores to be signaled once the sparse binding operations specified by the structure have completed execution.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.
Layout
struct VkBindSparseInfo { VkStructureType sType; void const * pNext; uint32_t waitSemaphoreCount; VkSemaphore const * pWaitSemaphores; uint32_t bufferBindCount;
VkSparseBufferMemoryBindInfo
const * pBufferBinds; uint32_t imageOpaqueBindCount;VkSparseImageOpaqueMemoryBindInfo
const * pImageOpaqueBinds; uint32_t imageBindCount;VkSparseImageMemoryBindInfo
const * pImageBinds; uint32_t signalSemaphoreCount; VkSemaphore const * pSignalSemaphores; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VkBindSparseInfo.Buffer
An array ofVkBindSparseInfo
structs.
-
Field Summary
Fields Modifier and Type Field Description static int
ALIGNOF
The struct alignment in bytes.static int
BUFFERBINDCOUNT
IMAGEBINDCOUNT
IMAGEOPAQUEBINDCOUNT
PBUFFERBINDS
PIMAGEBINDS
PIMAGEOPAQUEBINDS
PNEXT
PSIGNALSEMAPHORES
PWAITSEMAPHORES
SIGNALSEMAPHORECOUNTThe struct member offsets.static int
SIZEOF
The struct size in bytes.static int
STYPE
WAITSEMAPHORECOUNTThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkBindSparseInfo(java.nio.ByteBuffer container)
Creates aVkBindSparseInfo
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
bufferBindCount()
Returns the value of thebufferBindCount
field.static VkBindSparseInfo
calloc()
Returns a newVkBindSparseInfo
instance allocated withmemCalloc
.static VkBindSparseInfo.Buffer
calloc(int capacity)
Returns a newVkBindSparseInfo.Buffer
instance allocated withmemCalloc
.static VkBindSparseInfo
callocStack()
Returns a newVkBindSparseInfo
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkBindSparseInfo.Buffer
callocStack(int capacity)
Returns a newVkBindSparseInfo.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkBindSparseInfo.Buffer
callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkBindSparseInfo.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkBindSparseInfo
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkBindSparseInfo
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkBindSparseInfo
create()
Returns a newVkBindSparseInfo
instance allocated withBufferUtils
.static VkBindSparseInfo.Buffer
create(int capacity)
Returns a newVkBindSparseInfo.Buffer
instance allocated withBufferUtils
.static VkBindSparseInfo
create(long address)
Returns a newVkBindSparseInfo
instance for the specified memory address.static VkBindSparseInfo.Buffer
create(long address, int capacity)
Create aVkBindSparseInfo.Buffer
instance at the specified memory.static VkBindSparseInfo
createSafe(long address)
static VkBindSparseInfo.Buffer
createSafe(long address, int capacity)
int
imageBindCount()
Returns the value of theimageBindCount
field.int
imageOpaqueBindCount()
Returns the value of theimageOpaqueBindCount
field.static VkBindSparseInfo
malloc()
Returns a newVkBindSparseInfo
instance allocated withmemAlloc
.static VkBindSparseInfo.Buffer
malloc(int capacity)
Returns a newVkBindSparseInfo.Buffer
instance allocated withmemAlloc
.static VkBindSparseInfo
mallocStack()
Returns a newVkBindSparseInfo
instance allocated on the thread-localMemoryStack
.static VkBindSparseInfo.Buffer
mallocStack(int capacity)
Returns a newVkBindSparseInfo.Buffer
instance allocated on the thread-localMemoryStack
.static VkBindSparseInfo.Buffer
mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkBindSparseInfo.Buffer
instance allocated on the specifiedMemoryStack
.static VkBindSparseInfo
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkBindSparseInfo
instance allocated on the specifiedMemoryStack
.static int
nbufferBindCount(long struct)
Unsafe version ofbufferBindCount()
.static void
nbufferBindCount(long struct, int value)
Sets the specified value to thebufferBindCount
field of the specifiedstruct
.static int
nimageBindCount(long struct)
Unsafe version ofimageBindCount()
.static void
nimageBindCount(long struct, int value)
Sets the specified value to theimageBindCount
field of the specifiedstruct
.static int
nimageOpaqueBindCount(long struct)
Unsafe version ofimageOpaqueBindCount()
.static void
nimageOpaqueBindCount(long struct, int value)
Sets the specified value to theimageOpaqueBindCount
field of the specifiedstruct
.static VkSparseBufferMemoryBindInfo.Buffer
npBufferBinds(long struct)
Unsafe version ofpBufferBinds()
.static void
npBufferBinds(long struct, VkSparseBufferMemoryBindInfo.Buffer value)
Unsafe version ofpBufferBinds
.static VkSparseImageMemoryBindInfo.Buffer
npImageBinds(long struct)
Unsafe version ofpImageBinds()
.static void
npImageBinds(long struct, VkSparseImageMemoryBindInfo.Buffer value)
Unsafe version ofpImageBinds
.static VkSparseImageOpaqueMemoryBindInfo.Buffer
npImageOpaqueBinds(long struct)
Unsafe version ofpImageOpaqueBinds()
.static void
npImageOpaqueBinds(long struct, VkSparseImageOpaqueMemoryBindInfo.Buffer value)
Unsafe version ofpImageOpaqueBinds
.static long
npNext(long struct)
Unsafe version ofpNext()
.static void
npNext(long struct, long value)
Unsafe version ofpNext
.static java.nio.LongBuffer
npSignalSemaphores(long struct)
Unsafe version ofpSignalSemaphores
.static void
npSignalSemaphores(long struct, java.nio.LongBuffer value)
Unsafe version ofpSignalSemaphores
.static java.nio.LongBuffer
npWaitSemaphores(long struct)
Unsafe version ofpWaitSemaphores
.static void
npWaitSemaphores(long struct, java.nio.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
.VkSparseBufferMemoryBindInfo.Buffer
pBufferBinds()
Returns aVkSparseBufferMemoryBindInfo.Buffer
view of the struct array pointed to by thepBufferBinds
field.VkBindSparseInfo
pBufferBinds(VkSparseBufferMemoryBindInfo.Buffer value)
Sets the address of the specifiedVkSparseBufferMemoryBindInfo.Buffer
to thepBufferBinds
field.VkSparseImageMemoryBindInfo.Buffer
pImageBinds()
Returns aVkSparseImageMemoryBindInfo.Buffer
view of the struct array pointed to by thepImageBinds
field.VkBindSparseInfo
pImageBinds(VkSparseImageMemoryBindInfo.Buffer value)
Sets the address of the specifiedVkSparseImageMemoryBindInfo.Buffer
to thepImageBinds
field.VkSparseImageOpaqueMemoryBindInfo.Buffer
pImageOpaqueBinds()
Returns aVkSparseImageOpaqueMemoryBindInfo.Buffer
view of the struct array pointed to by thepImageOpaqueBinds
field.VkBindSparseInfo
pImageOpaqueBinds(VkSparseImageOpaqueMemoryBindInfo.Buffer value)
Sets the address of the specifiedVkSparseImageOpaqueMemoryBindInfo.Buffer
to thepImageOpaqueBinds
field.long
pNext()
Returns the value of thepNext
field.VkBindSparseInfo
pNext(long value)
Sets the specified value to thepNext
field.java.nio.LongBuffer
pSignalSemaphores()
Returns aLongBuffer
view of the data pointed to by thepSignalSemaphores
field.VkBindSparseInfo
pSignalSemaphores(java.nio.LongBuffer value)
Sets the address of the specifiedLongBuffer
to thepSignalSemaphores
field.java.nio.LongBuffer
pWaitSemaphores()
Returns aLongBuffer
view of the data pointed to by thepWaitSemaphores
field.VkBindSparseInfo
pWaitSemaphores(java.nio.LongBuffer value)
Sets the address of the specifiedLongBuffer
to thepWaitSemaphores
field.VkBindSparseInfo
set(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.VkBindSparseInfo
set(VkBindSparseInfo src)
Copies the specified struct data to this struct.int
signalSemaphoreCount()
Returns the value of thesignalSemaphoreCount
field.int
sizeof()
int
sType()
Returns the value of thesType
field.VkBindSparseInfo
sType(int value)
Sets the specified value to thesType
field.static void
validate(long struct)
Validates pointer members that should not beNULL
.static void
validate(long array, int count)
Callsvalidate(long)
for each struct contained in the specified struct array.int
waitSemaphoreCount()
Returns the value of thewaitSemaphoreCount
field.
-
-
-
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 aVkBindSparseInfo
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 Detail
-
sizeof
public int sizeof()
- Specified by:
sizeof
in classorg.lwjgl.system.Struct
-
sType
public int sType()
Returns the value of thesType
field.
-
pNext
public long pNext()
Returns the value of thepNext
field.
-
waitSemaphoreCount
public int waitSemaphoreCount()
Returns the value of thewaitSemaphoreCount
field.
-
pWaitSemaphores
@Nullable public java.nio.LongBuffer pWaitSemaphores()
Returns aLongBuffer
view of the data pointed to by thepWaitSemaphores
field.
-
bufferBindCount
public int bufferBindCount()
Returns the value of thebufferBindCount
field.
-
pBufferBinds
@Nullable public VkSparseBufferMemoryBindInfo.Buffer pBufferBinds()
Returns aVkSparseBufferMemoryBindInfo.Buffer
view of the struct array pointed to by thepBufferBinds
field.
-
imageOpaqueBindCount
public int imageOpaqueBindCount()
Returns the value of theimageOpaqueBindCount
field.
-
pImageOpaqueBinds
@Nullable public VkSparseImageOpaqueMemoryBindInfo.Buffer pImageOpaqueBinds()
Returns aVkSparseImageOpaqueMemoryBindInfo.Buffer
view of the struct array pointed to by thepImageOpaqueBinds
field.
-
imageBindCount
public int imageBindCount()
Returns the value of theimageBindCount
field.
-
pImageBinds
@Nullable public VkSparseImageMemoryBindInfo.Buffer pImageBinds()
Returns aVkSparseImageMemoryBindInfo.Buffer
view of the struct array pointed to by thepImageBinds
field.
-
signalSemaphoreCount
public int signalSemaphoreCount()
Returns the value of thesignalSemaphoreCount
field.
-
pSignalSemaphores
@Nullable public java.nio.LongBuffer pSignalSemaphores()
Returns aLongBuffer
view of the data pointed to by thepSignalSemaphores
field.
-
sType
public VkBindSparseInfo sType(int value)
Sets the specified value to thesType
field.
-
pNext
public VkBindSparseInfo pNext(long value)
Sets the specified value to thepNext
field.
-
pWaitSemaphores
public VkBindSparseInfo pWaitSemaphores(@Nullable java.nio.LongBuffer value)
Sets the address of the specifiedLongBuffer
to thepWaitSemaphores
field.
-
pBufferBinds
public VkBindSparseInfo pBufferBinds(@Nullable VkSparseBufferMemoryBindInfo.Buffer value)
Sets the address of the specifiedVkSparseBufferMemoryBindInfo.Buffer
to thepBufferBinds
field.
-
pImageOpaqueBinds
public VkBindSparseInfo pImageOpaqueBinds(@Nullable VkSparseImageOpaqueMemoryBindInfo.Buffer value)
Sets the address of the specifiedVkSparseImageOpaqueMemoryBindInfo.Buffer
to thepImageOpaqueBinds
field.
-
pImageBinds
public VkBindSparseInfo pImageBinds(@Nullable VkSparseImageMemoryBindInfo.Buffer value)
Sets the address of the specifiedVkSparseImageMemoryBindInfo.Buffer
to thepImageBinds
field.
-
pSignalSemaphores
public VkBindSparseInfo pSignalSemaphores(@Nullable java.nio.LongBuffer value)
Sets the address of the specifiedLongBuffer
to 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 newVkBindSparseInfo
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static VkBindSparseInfo calloc()
Returns a newVkBindSparseInfo
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static VkBindSparseInfo create()
Returns a newVkBindSparseInfo
instance allocated withBufferUtils
.
-
create
public static VkBindSparseInfo create(long address)
Returns a newVkBindSparseInfo
instance for the specified memory address.
-
createSafe
@Nullable public static VkBindSparseInfo createSafe(long address)
-
malloc
public static VkBindSparseInfo.Buffer malloc(int capacity)
Returns a newVkBindSparseInfo.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static VkBindSparseInfo.Buffer calloc(int capacity)
Returns a newVkBindSparseInfo.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static VkBindSparseInfo.Buffer create(int capacity)
Returns a newVkBindSparseInfo.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static VkBindSparseInfo.Buffer create(long address, int capacity)
Create aVkBindSparseInfo.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static VkBindSparseInfo.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkBindSparseInfo mallocStack()
Returns a newVkBindSparseInfo
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static VkBindSparseInfo callocStack()
Returns a newVkBindSparseInfo
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static VkBindSparseInfo mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkBindSparseInfo
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static VkBindSparseInfo callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkBindSparseInfo
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
mallocStack
public static VkBindSparseInfo.Buffer mallocStack(int capacity)
Returns a newVkBindSparseInfo.Buffer
instance allocated on the thread-localMemoryStack
.- Parameters:
capacity
- the buffer capacity
-
callocStack
public static VkBindSparseInfo.Buffer callocStack(int capacity)
Returns a newVkBindSparseInfo.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacity
-
mallocStack
public static VkBindSparseInfo.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkBindSparseInfo.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
callocStack
public static VkBindSparseInfo.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkBindSparseInfo.Buffer
instance allocated on the specifiedMemoryStack
and 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 thewaitSemaphoreCount
field 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 thebufferBindCount
field 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 theimageOpaqueBindCount
field 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 theimageBindCount
field 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 thesignalSemaphoreCount
field 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
-
validate
public static void validate(long array, int count)
Callsvalidate(long)
for each struct contained in the specified struct array.- Parameters:
array
- the struct array to validatecount
- the number of structs inarray
-
-