Package org.lwjgl.vulkan
Class VkBindBufferMemoryDeviceGroupInfoKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkBindBufferMemoryDeviceGroupInfo
-
- org.lwjgl.vulkan.VkBindBufferMemoryDeviceGroupInfoKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkBindBufferMemoryDeviceGroupInfoKHR extends VkBindBufferMemoryDeviceGroupInfo
SeeVkBindBufferMemoryDeviceGroupInfo.Layout
struct VkBindBufferMemoryDeviceGroupInfoKHR { VkStructureType sType; void const * pNext; uint32_t deviceIndexCount; uint32_t const * pDeviceIndices; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkBindBufferMemoryDeviceGroupInfoKHR.BufferAn array ofVkBindBufferMemoryDeviceGroupInfoKHRstructs.
-
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.VkBindBufferMemoryDeviceGroupInfo
ALIGNOF, DEVICEINDEXCOUNT, PDEVICEINDICES, PNEXT, SIZEOF, STYPE
-
-
Constructor Summary
Constructors Constructor Description VkBindBufferMemoryDeviceGroupInfoKHR(java.nio.ByteBuffer container)Creates aVkBindBufferMemoryDeviceGroupInfoKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkBindBufferMemoryDeviceGroupInfoKHRcalloc()Returns a newVkBindBufferMemoryDeviceGroupInfoKHRinstance allocated withmemCalloc.static VkBindBufferMemoryDeviceGroupInfoKHR.Buffercalloc(int capacity)Returns a newVkBindBufferMemoryDeviceGroupInfoKHR.Bufferinstance allocated withmemCalloc.static VkBindBufferMemoryDeviceGroupInfoKHRcallocStack()Returns a newVkBindBufferMemoryDeviceGroupInfoKHRinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkBindBufferMemoryDeviceGroupInfoKHR.BuffercallocStack(int capacity)Returns a newVkBindBufferMemoryDeviceGroupInfoKHR.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkBindBufferMemoryDeviceGroupInfoKHR.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkBindBufferMemoryDeviceGroupInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkBindBufferMemoryDeviceGroupInfoKHRcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkBindBufferMemoryDeviceGroupInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkBindBufferMemoryDeviceGroupInfoKHRcreate()Returns a newVkBindBufferMemoryDeviceGroupInfoKHRinstance allocated withBufferUtils.static VkBindBufferMemoryDeviceGroupInfoKHR.Buffercreate(int capacity)Returns a newVkBindBufferMemoryDeviceGroupInfoKHR.Bufferinstance allocated withBufferUtils.static VkBindBufferMemoryDeviceGroupInfoKHRcreate(long address)Returns a newVkBindBufferMemoryDeviceGroupInfoKHRinstance for the specified memory address.static VkBindBufferMemoryDeviceGroupInfoKHR.Buffercreate(long address, int capacity)Create aVkBindBufferMemoryDeviceGroupInfoKHR.Bufferinstance at the specified memory.static VkBindBufferMemoryDeviceGroupInfoKHRcreateSafe(long address)static VkBindBufferMemoryDeviceGroupInfoKHR.BuffercreateSafe(long address, int capacity)static VkBindBufferMemoryDeviceGroupInfoKHRmalloc()Returns a newVkBindBufferMemoryDeviceGroupInfoKHRinstance allocated withmemAlloc.static VkBindBufferMemoryDeviceGroupInfoKHR.Buffermalloc(int capacity)Returns a newVkBindBufferMemoryDeviceGroupInfoKHR.Bufferinstance allocated withmemAlloc.static VkBindBufferMemoryDeviceGroupInfoKHRmallocStack()Returns a newVkBindBufferMemoryDeviceGroupInfoKHRinstance allocated on the thread-localMemoryStack.static VkBindBufferMemoryDeviceGroupInfoKHR.BuffermallocStack(int capacity)Returns a newVkBindBufferMemoryDeviceGroupInfoKHR.Bufferinstance allocated on the thread-localMemoryStack.static VkBindBufferMemoryDeviceGroupInfoKHR.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkBindBufferMemoryDeviceGroupInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkBindBufferMemoryDeviceGroupInfoKHRmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkBindBufferMemoryDeviceGroupInfoKHRinstance allocated on the specifiedMemoryStack.VkBindBufferMemoryDeviceGroupInfoKHRpDeviceIndices(java.nio.IntBuffer value)Sets the address of the specifiedIntBufferto thepDeviceIndicesfield.VkBindBufferMemoryDeviceGroupInfoKHRpNext(long value)Sets the specified value to thepNextfield.VkBindBufferMemoryDeviceGroupInfoKHRset(int sType, long pNext, java.nio.IntBuffer pDeviceIndices)Initializes this struct with the specified values.VkBindBufferMemoryDeviceGroupInfoKHRset(VkBindBufferMemoryDeviceGroupInfoKHR src)Copies the specified struct data to this struct.VkBindBufferMemoryDeviceGroupInfoKHRsType(int value)Sets the specified value to thesTypefield.-
Methods inherited from class org.lwjgl.vulkan.VkBindBufferMemoryDeviceGroupInfo
deviceIndexCount, ndeviceIndexCount, ndeviceIndexCount, npDeviceIndices, npDeviceIndices, npNext, npNext, nsType, nsType, pDeviceIndices, pNext, set, sizeof, sType, validate, validate
-
-
-
-
Constructor Detail
-
VkBindBufferMemoryDeviceGroupInfoKHR
public VkBindBufferMemoryDeviceGroupInfoKHR(java.nio.ByteBuffer container)
Creates aVkBindBufferMemoryDeviceGroupInfoKHRinstance 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 VkBindBufferMemoryDeviceGroupInfoKHR sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkBindBufferMemoryDeviceGroupInfo
-
pNext
public VkBindBufferMemoryDeviceGroupInfoKHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkBindBufferMemoryDeviceGroupInfo
-
pDeviceIndices
public VkBindBufferMemoryDeviceGroupInfoKHR pDeviceIndices(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto thepDeviceIndicesfield.- Overrides:
pDeviceIndicesin classVkBindBufferMemoryDeviceGroupInfo
-
set
public VkBindBufferMemoryDeviceGroupInfoKHR set(int sType, long pNext, @Nullable java.nio.IntBuffer pDeviceIndices)
Initializes this struct with the specified values.- Overrides:
setin classVkBindBufferMemoryDeviceGroupInfo
-
set
public VkBindBufferMemoryDeviceGroupInfoKHR set(VkBindBufferMemoryDeviceGroupInfoKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkBindBufferMemoryDeviceGroupInfoKHR malloc()
Returns a newVkBindBufferMemoryDeviceGroupInfoKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkBindBufferMemoryDeviceGroupInfoKHR calloc()
Returns a newVkBindBufferMemoryDeviceGroupInfoKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkBindBufferMemoryDeviceGroupInfoKHR create()
Returns a newVkBindBufferMemoryDeviceGroupInfoKHRinstance allocated withBufferUtils.
-
create
public static VkBindBufferMemoryDeviceGroupInfoKHR create(long address)
Returns a newVkBindBufferMemoryDeviceGroupInfoKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkBindBufferMemoryDeviceGroupInfoKHR createSafe(long address)
-
malloc
public static VkBindBufferMemoryDeviceGroupInfoKHR.Buffer malloc(int capacity)
Returns a newVkBindBufferMemoryDeviceGroupInfoKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkBindBufferMemoryDeviceGroupInfoKHR.Buffer calloc(int capacity)
Returns a newVkBindBufferMemoryDeviceGroupInfoKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkBindBufferMemoryDeviceGroupInfoKHR.Buffer create(int capacity)
Returns a newVkBindBufferMemoryDeviceGroupInfoKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkBindBufferMemoryDeviceGroupInfoKHR.Buffer create(long address, int capacity)
Create aVkBindBufferMemoryDeviceGroupInfoKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkBindBufferMemoryDeviceGroupInfoKHR.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkBindBufferMemoryDeviceGroupInfoKHR mallocStack()
Returns a newVkBindBufferMemoryDeviceGroupInfoKHRinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkBindBufferMemoryDeviceGroupInfoKHR callocStack()
Returns a newVkBindBufferMemoryDeviceGroupInfoKHRinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkBindBufferMemoryDeviceGroupInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkBindBufferMemoryDeviceGroupInfoKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkBindBufferMemoryDeviceGroupInfoKHR callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkBindBufferMemoryDeviceGroupInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
mallocStack
public static VkBindBufferMemoryDeviceGroupInfoKHR.Buffer mallocStack(int capacity)
Returns a newVkBindBufferMemoryDeviceGroupInfoKHR.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkBindBufferMemoryDeviceGroupInfoKHR.Buffer callocStack(int capacity)
Returns a newVkBindBufferMemoryDeviceGroupInfoKHR.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacity
-
mallocStack
public static VkBindBufferMemoryDeviceGroupInfoKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkBindBufferMemoryDeviceGroupInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
callocStack
public static VkBindBufferMemoryDeviceGroupInfoKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkBindBufferMemoryDeviceGroupInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-