public class VkDeviceGroupBindSparseInfoKHR extends VkDeviceGroupBindSparseInfo
VkDeviceGroupBindSparseInfo.
struct VkDeviceGroupBindSparseInfoKHR {
VkStructureType sType;
void const * pNext;
uint32_t resourceDeviceIndex;
uint32_t memoryDeviceIndex;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkDeviceGroupBindSparseInfoKHR.Buffer
An array of
VkDeviceGroupBindSparseInfoKHR structs. |
ALIGNOF, MEMORYDEVICEINDEX, PNEXT, RESOURCEDEVICEINDEX, SIZEOF, STYPE| Constructor and Description |
|---|
VkDeviceGroupBindSparseInfoKHR(java.nio.ByteBuffer container)
Creates a
VkDeviceGroupBindSparseInfoKHR instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkDeviceGroupBindSparseInfoKHR |
calloc()
Returns a new
VkDeviceGroupBindSparseInfoKHR instance allocated with memCalloc. |
static VkDeviceGroupBindSparseInfoKHR.Buffer |
calloc(int capacity)
Returns a new
VkDeviceGroupBindSparseInfoKHR.Buffer instance allocated with memCalloc. |
static VkDeviceGroupBindSparseInfoKHR |
callocStack()
Returns a new
VkDeviceGroupBindSparseInfoKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkDeviceGroupBindSparseInfoKHR.Buffer |
callocStack(int capacity)
Returns a new
VkDeviceGroupBindSparseInfoKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkDeviceGroupBindSparseInfoKHR.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkDeviceGroupBindSparseInfoKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkDeviceGroupBindSparseInfoKHR |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkDeviceGroupBindSparseInfoKHR instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkDeviceGroupBindSparseInfoKHR |
create()
Returns a new
VkDeviceGroupBindSparseInfoKHR instance allocated with BufferUtils. |
static VkDeviceGroupBindSparseInfoKHR.Buffer |
create(int capacity)
Returns a new
VkDeviceGroupBindSparseInfoKHR.Buffer instance allocated with BufferUtils. |
static VkDeviceGroupBindSparseInfoKHR |
create(long address)
Returns a new
VkDeviceGroupBindSparseInfoKHR instance for the specified memory address. |
static VkDeviceGroupBindSparseInfoKHR.Buffer |
create(long address,
int capacity)
Create a
VkDeviceGroupBindSparseInfoKHR.Buffer instance at the specified memory. |
static VkDeviceGroupBindSparseInfoKHR |
createSafe(long address)
|
static VkDeviceGroupBindSparseInfoKHR.Buffer |
createSafe(long address,
int capacity)
|
static VkDeviceGroupBindSparseInfoKHR |
malloc()
Returns a new
VkDeviceGroupBindSparseInfoKHR instance allocated with memAlloc. |
static VkDeviceGroupBindSparseInfoKHR.Buffer |
malloc(int capacity)
Returns a new
VkDeviceGroupBindSparseInfoKHR.Buffer instance allocated with memAlloc. |
static VkDeviceGroupBindSparseInfoKHR |
mallocStack()
Returns a new
VkDeviceGroupBindSparseInfoKHR instance allocated on the thread-local MemoryStack. |
static VkDeviceGroupBindSparseInfoKHR.Buffer |
mallocStack(int capacity)
Returns a new
VkDeviceGroupBindSparseInfoKHR.Buffer instance allocated on the thread-local MemoryStack. |
static VkDeviceGroupBindSparseInfoKHR.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkDeviceGroupBindSparseInfoKHR.Buffer instance allocated on the specified MemoryStack. |
static VkDeviceGroupBindSparseInfoKHR |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkDeviceGroupBindSparseInfoKHR instance allocated on the specified MemoryStack. |
VkDeviceGroupBindSparseInfoKHR |
memoryDeviceIndex(int value)
Sets the specified value to the
memoryDeviceIndex field. |
VkDeviceGroupBindSparseInfoKHR |
pNext(long value)
Sets the specified value to the
pNext field. |
VkDeviceGroupBindSparseInfoKHR |
resourceDeviceIndex(int value)
Sets the specified value to the
resourceDeviceIndex field. |
VkDeviceGroupBindSparseInfoKHR |
set(int sType,
long pNext,
int resourceDeviceIndex,
int memoryDeviceIndex)
Initializes this struct with the specified values.
|
VkDeviceGroupBindSparseInfoKHR |
set(VkDeviceGroupBindSparseInfoKHR src)
Copies the specified struct data to this struct.
|
VkDeviceGroupBindSparseInfoKHR |
sType(int value)
Sets the specified value to the
sType field. |
memoryDeviceIndex, nmemoryDeviceIndex, nmemoryDeviceIndex, npNext, npNext, nresourceDeviceIndex, nresourceDeviceIndex, nsType, nsType, pNext, resourceDeviceIndex, set, sizeof, sTypepublic VkDeviceGroupBindSparseInfoKHR(java.nio.ByteBuffer container)
VkDeviceGroupBindSparseInfoKHR instance at the current position of the specified ByteBuffer 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.
public VkDeviceGroupBindSparseInfoKHR sType(int value)
sType field.sType in class VkDeviceGroupBindSparseInfopublic VkDeviceGroupBindSparseInfoKHR pNext(long value)
pNext field.pNext in class VkDeviceGroupBindSparseInfopublic VkDeviceGroupBindSparseInfoKHR resourceDeviceIndex(int value)
resourceDeviceIndex field.resourceDeviceIndex in class VkDeviceGroupBindSparseInfopublic VkDeviceGroupBindSparseInfoKHR memoryDeviceIndex(int value)
memoryDeviceIndex field.memoryDeviceIndex in class VkDeviceGroupBindSparseInfopublic VkDeviceGroupBindSparseInfoKHR set(int sType, long pNext, int resourceDeviceIndex, int memoryDeviceIndex)
set in class VkDeviceGroupBindSparseInfopublic VkDeviceGroupBindSparseInfoKHR set(VkDeviceGroupBindSparseInfoKHR src)
src - the source structpublic static VkDeviceGroupBindSparseInfoKHR malloc()
VkDeviceGroupBindSparseInfoKHR instance allocated with memAlloc. The instance must be explicitly freed.public static VkDeviceGroupBindSparseInfoKHR calloc()
VkDeviceGroupBindSparseInfoKHR instance allocated with memCalloc. The instance must be explicitly freed.public static VkDeviceGroupBindSparseInfoKHR create()
VkDeviceGroupBindSparseInfoKHR instance allocated with BufferUtils.public static VkDeviceGroupBindSparseInfoKHR create(long address)
VkDeviceGroupBindSparseInfoKHR instance for the specified memory address.@Nullable public static VkDeviceGroupBindSparseInfoKHR createSafe(long address)
public static VkDeviceGroupBindSparseInfoKHR.Buffer malloc(int capacity)
VkDeviceGroupBindSparseInfoKHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkDeviceGroupBindSparseInfoKHR.Buffer calloc(int capacity)
VkDeviceGroupBindSparseInfoKHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkDeviceGroupBindSparseInfoKHR.Buffer create(int capacity)
VkDeviceGroupBindSparseInfoKHR.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkDeviceGroupBindSparseInfoKHR.Buffer create(long address, int capacity)
VkDeviceGroupBindSparseInfoKHR.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkDeviceGroupBindSparseInfoKHR.Buffer createSafe(long address, int capacity)
public static VkDeviceGroupBindSparseInfoKHR mallocStack()
VkDeviceGroupBindSparseInfoKHR instance allocated on the thread-local MemoryStack.public static VkDeviceGroupBindSparseInfoKHR callocStack()
VkDeviceGroupBindSparseInfoKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkDeviceGroupBindSparseInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
VkDeviceGroupBindSparseInfoKHR instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkDeviceGroupBindSparseInfoKHR callocStack(org.lwjgl.system.MemoryStack stack)
VkDeviceGroupBindSparseInfoKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkDeviceGroupBindSparseInfoKHR.Buffer mallocStack(int capacity)
VkDeviceGroupBindSparseInfoKHR.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkDeviceGroupBindSparseInfoKHR.Buffer callocStack(int capacity)
VkDeviceGroupBindSparseInfoKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkDeviceGroupBindSparseInfoKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkDeviceGroupBindSparseInfoKHR.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkDeviceGroupBindSparseInfoKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkDeviceGroupBindSparseInfoKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacityCopyright LWJGL. All Rights Reserved. License terms.