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 Modifier and Type Method Description static VkDeviceGroupBindSparseInfoKHRcalloc()Returns a newVkDeviceGroupBindSparseInfoKHRinstance allocated withmemCalloc.static VkDeviceGroupBindSparseInfoKHR.Buffercalloc(int capacity)Returns a newVkDeviceGroupBindSparseInfoKHR.Bufferinstance allocated withmemCalloc.static VkDeviceGroupBindSparseInfoKHRcallocStack()Returns a newVkDeviceGroupBindSparseInfoKHRinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkDeviceGroupBindSparseInfoKHR.BuffercallocStack(int capacity)Returns a newVkDeviceGroupBindSparseInfoKHR.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkDeviceGroupBindSparseInfoKHR.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkDeviceGroupBindSparseInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkDeviceGroupBindSparseInfoKHRcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkDeviceGroupBindSparseInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.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 VkDeviceGroupBindSparseInfoKHRmallocStack()Returns a newVkDeviceGroupBindSparseInfoKHRinstance allocated on the thread-localMemoryStack.static VkDeviceGroupBindSparseInfoKHR.BuffermallocStack(int capacity)Returns a newVkDeviceGroupBindSparseInfoKHR.Bufferinstance allocated on the thread-localMemoryStack.static VkDeviceGroupBindSparseInfoKHR.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkDeviceGroupBindSparseInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkDeviceGroupBindSparseInfoKHRmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkDeviceGroupBindSparseInfoKHRinstance allocated on the specifiedMemoryStack.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.-
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
-
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
public static VkDeviceGroupBindSparseInfoKHR mallocStack()
Returns a newVkDeviceGroupBindSparseInfoKHRinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkDeviceGroupBindSparseInfoKHR callocStack()
Returns a newVkDeviceGroupBindSparseInfoKHRinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkDeviceGroupBindSparseInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGroupBindSparseInfoKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkDeviceGroupBindSparseInfoKHR callocStack(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
-
mallocStack
public static VkDeviceGroupBindSparseInfoKHR.Buffer mallocStack(int capacity)
Returns a newVkDeviceGroupBindSparseInfoKHR.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkDeviceGroupBindSparseInfoKHR.Buffer callocStack(int capacity)
Returns a newVkDeviceGroupBindSparseInfoKHR.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacity
-
mallocStack
public static VkDeviceGroupBindSparseInfoKHR.Buffer mallocStack(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
-
callocStack
public static VkDeviceGroupBindSparseInfoKHR.Buffer callocStack(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
-
-