Package org.lwjgl.vulkan
Class VkDeviceGroupBindSparseInfoKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkDeviceGroupBindSparseInfo
-
- org.lwjgl.vulkan.VkDeviceGroupBindSparseInfoKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkDeviceGroupBindSparseInfoKHR extends VkDeviceGroupBindSparseInfo
SeeVkDeviceGroupBindSparseInfo.Layout
struct VkDeviceGroupBindSparseInfoKHR { VkStructureType sType; void const * pNext; uint32_t resourceDeviceIndex; uint32_t memoryDeviceIndex; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkDeviceGroupBindSparseInfoKHR.BufferAn array ofVkDeviceGroupBindSparseInfoKHRstructs.
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Fields inherited from class org.lwjgl.vulkan.VkDeviceGroupBindSparseInfo
ALIGNOF, MEMORYDEVICEINDEX, PNEXT, RESOURCEDEVICEINDEX, SIZEOF, STYPE
-
-
Constructor Summary
Constructors Constructor Description VkDeviceGroupBindSparseInfoKHR(java.nio.ByteBuffer container)Creates aVkDeviceGroupBindSparseInfoKHRinstance 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 VkDeviceGroupBindSparseInfoKHRcalloc()Returns a newVkDeviceGroupBindSparseInfoKHRinstance allocated withmemCalloc.static VkDeviceGroupBindSparseInfoKHR.Buffercalloc(int capacity)Returns a newVkDeviceGroupBindSparseInfoKHR.Bufferinstance allocated withmemCalloc.static VkDeviceGroupBindSparseInfoKHR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkDeviceGroupBindSparseInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkDeviceGroupBindSparseInfoKHRcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkDeviceGroupBindSparseInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkDeviceGroupBindSparseInfoKHRcallocStack()Deprecated.static VkDeviceGroupBindSparseInfoKHR.BuffercallocStack(int capacity)Deprecated.static VkDeviceGroupBindSparseInfoKHR.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkDeviceGroupBindSparseInfoKHRcallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static VkDeviceGroupBindSparseInfoKHRcreate()Returns a newVkDeviceGroupBindSparseInfoKHRinstance allocated withBufferUtils.static VkDeviceGroupBindSparseInfoKHR.Buffercreate(int capacity)Returns a newVkDeviceGroupBindSparseInfoKHR.Bufferinstance allocated withBufferUtils.static VkDeviceGroupBindSparseInfoKHRcreate(long address)Returns a newVkDeviceGroupBindSparseInfoKHRinstance for the specified memory address.static VkDeviceGroupBindSparseInfoKHR.Buffercreate(long address, int capacity)Create aVkDeviceGroupBindSparseInfoKHR.Bufferinstance at the specified memory.static VkDeviceGroupBindSparseInfoKHRcreateSafe(long address)static VkDeviceGroupBindSparseInfoKHR.BuffercreateSafe(long address, int capacity)static VkDeviceGroupBindSparseInfoKHRmalloc()Returns a newVkDeviceGroupBindSparseInfoKHRinstance allocated withmemAlloc.static VkDeviceGroupBindSparseInfoKHR.Buffermalloc(int capacity)Returns a newVkDeviceGroupBindSparseInfoKHR.Bufferinstance allocated withmemAlloc.static VkDeviceGroupBindSparseInfoKHR.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkDeviceGroupBindSparseInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkDeviceGroupBindSparseInfoKHRmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkDeviceGroupBindSparseInfoKHRinstance allocated on the specifiedMemoryStack.static VkDeviceGroupBindSparseInfoKHRmallocStack()Deprecated.static VkDeviceGroupBindSparseInfoKHR.BuffermallocStack(int capacity)Deprecated.static VkDeviceGroupBindSparseInfoKHR.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkDeviceGroupBindSparseInfoKHRmallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.VkDeviceGroupBindSparseInfoKHRmemoryDeviceIndex(int value)Sets the specified value to thememoryDeviceIndexfield.VkDeviceGroupBindSparseInfoKHRpNext(long value)Sets the specified value to thepNextfield.VkDeviceGroupBindSparseInfoKHRresourceDeviceIndex(int value)Sets the specified value to theresourceDeviceIndexfield.VkDeviceGroupBindSparseInfoKHRset(int sType, long pNext, int resourceDeviceIndex, int memoryDeviceIndex)Initializes this struct with the specified values.VkDeviceGroupBindSparseInfoKHRset(VkDeviceGroupBindSparseInfoKHR src)Copies the specified struct data to this struct.VkDeviceGroupBindSparseInfoKHRsType(int value)Sets the specified value to thesTypefield.VkDeviceGroupBindSparseInfoKHRsType$Default()Sets theSTRUCTURE_TYPE_DEVICE_GROUP_BIND_SPARSE_INFOvalue to thesTypefield.-
Methods inherited from class org.lwjgl.vulkan.VkDeviceGroupBindSparseInfo
memoryDeviceIndex, nmemoryDeviceIndex, nmemoryDeviceIndex, npNext, npNext, nresourceDeviceIndex, nresourceDeviceIndex, nsType, nsType, pNext, resourceDeviceIndex, set, sizeof, sType
-
-
-
-
Constructor Detail
-
VkDeviceGroupBindSparseInfoKHR
public VkDeviceGroupBindSparseInfoKHR(java.nio.ByteBuffer container)
Creates aVkDeviceGroupBindSparseInfoKHRinstance 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
-
sType
public VkDeviceGroupBindSparseInfoKHR sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkDeviceGroupBindSparseInfo
-
sType$Default
public VkDeviceGroupBindSparseInfoKHR sType$Default()
Sets theSTRUCTURE_TYPE_DEVICE_GROUP_BIND_SPARSE_INFOvalue to thesTypefield.- Overrides:
sType$Defaultin classVkDeviceGroupBindSparseInfo
-
pNext
public VkDeviceGroupBindSparseInfoKHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkDeviceGroupBindSparseInfo
-
resourceDeviceIndex
public VkDeviceGroupBindSparseInfoKHR resourceDeviceIndex(int value)
Sets the specified value to theresourceDeviceIndexfield.- Overrides:
resourceDeviceIndexin classVkDeviceGroupBindSparseInfo
-
memoryDeviceIndex
public VkDeviceGroupBindSparseInfoKHR memoryDeviceIndex(int value)
Sets the specified value to thememoryDeviceIndexfield.- Overrides:
memoryDeviceIndexin classVkDeviceGroupBindSparseInfo
-
set
public VkDeviceGroupBindSparseInfoKHR set(int sType, long pNext, int resourceDeviceIndex, int memoryDeviceIndex)
Initializes this struct with the specified values.- Overrides:
setin classVkDeviceGroupBindSparseInfo
-
set
public VkDeviceGroupBindSparseInfoKHR set(VkDeviceGroupBindSparseInfoKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkDeviceGroupBindSparseInfoKHR malloc()
Returns a newVkDeviceGroupBindSparseInfoKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkDeviceGroupBindSparseInfoKHR calloc()
Returns a newVkDeviceGroupBindSparseInfoKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkDeviceGroupBindSparseInfoKHR create()
Returns a newVkDeviceGroupBindSparseInfoKHRinstance allocated withBufferUtils.
-
create
public static VkDeviceGroupBindSparseInfoKHR create(long address)
Returns a newVkDeviceGroupBindSparseInfoKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkDeviceGroupBindSparseInfoKHR createSafe(long address)
-
malloc
public static VkDeviceGroupBindSparseInfoKHR.Buffer malloc(int capacity)
Returns a newVkDeviceGroupBindSparseInfoKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkDeviceGroupBindSparseInfoKHR.Buffer calloc(int capacity)
Returns a newVkDeviceGroupBindSparseInfoKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkDeviceGroupBindSparseInfoKHR.Buffer create(int capacity)
Returns a newVkDeviceGroupBindSparseInfoKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkDeviceGroupBindSparseInfoKHR.Buffer create(long address, int capacity)
Create aVkDeviceGroupBindSparseInfoKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkDeviceGroupBindSparseInfoKHR.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VkDeviceGroupBindSparseInfoKHR mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkDeviceGroupBindSparseInfoKHR callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkDeviceGroupBindSparseInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkDeviceGroupBindSparseInfoKHR callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkDeviceGroupBindSparseInfoKHR.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkDeviceGroupBindSparseInfoKHR.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkDeviceGroupBindSparseInfoKHR.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 VkDeviceGroupBindSparseInfoKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkDeviceGroupBindSparseInfoKHR malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGroupBindSparseInfoKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkDeviceGroupBindSparseInfoKHR calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGroupBindSparseInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkDeviceGroupBindSparseInfoKHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGroupBindSparseInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkDeviceGroupBindSparseInfoKHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGroupBindSparseInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-