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 class
VkBindBufferMemoryDeviceGroupInfoKHR.Buffer
An array ofVkBindBufferMemoryDeviceGroupInfoKHR
structs.
-
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 aVkBindBufferMemoryDeviceGroupInfoKHR
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkBindBufferMemoryDeviceGroupInfoKHR
calloc()
Returns a newVkBindBufferMemoryDeviceGroupInfoKHR
instance allocated withmemCalloc
.static VkBindBufferMemoryDeviceGroupInfoKHR.Buffer
calloc(int capacity)
Returns a newVkBindBufferMemoryDeviceGroupInfoKHR.Buffer
instance allocated withmemCalloc
.static VkBindBufferMemoryDeviceGroupInfoKHR
callocStack()
Returns a newVkBindBufferMemoryDeviceGroupInfoKHR
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkBindBufferMemoryDeviceGroupInfoKHR.Buffer
callocStack(int capacity)
Returns a newVkBindBufferMemoryDeviceGroupInfoKHR.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkBindBufferMemoryDeviceGroupInfoKHR.Buffer
callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkBindBufferMemoryDeviceGroupInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkBindBufferMemoryDeviceGroupInfoKHR
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkBindBufferMemoryDeviceGroupInfoKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkBindBufferMemoryDeviceGroupInfoKHR
create()
Returns a newVkBindBufferMemoryDeviceGroupInfoKHR
instance allocated withBufferUtils
.static VkBindBufferMemoryDeviceGroupInfoKHR.Buffer
create(int capacity)
Returns a newVkBindBufferMemoryDeviceGroupInfoKHR.Buffer
instance allocated withBufferUtils
.static VkBindBufferMemoryDeviceGroupInfoKHR
create(long address)
Returns a newVkBindBufferMemoryDeviceGroupInfoKHR
instance for the specified memory address.static VkBindBufferMemoryDeviceGroupInfoKHR.Buffer
create(long address, int capacity)
Create aVkBindBufferMemoryDeviceGroupInfoKHR.Buffer
instance at the specified memory.static VkBindBufferMemoryDeviceGroupInfoKHR
createSafe(long address)
static VkBindBufferMemoryDeviceGroupInfoKHR.Buffer
createSafe(long address, int capacity)
static VkBindBufferMemoryDeviceGroupInfoKHR
malloc()
Returns a newVkBindBufferMemoryDeviceGroupInfoKHR
instance allocated withmemAlloc
.static VkBindBufferMemoryDeviceGroupInfoKHR.Buffer
malloc(int capacity)
Returns a newVkBindBufferMemoryDeviceGroupInfoKHR.Buffer
instance allocated withmemAlloc
.static VkBindBufferMemoryDeviceGroupInfoKHR
mallocStack()
Returns a newVkBindBufferMemoryDeviceGroupInfoKHR
instance allocated on the thread-localMemoryStack
.static VkBindBufferMemoryDeviceGroupInfoKHR.Buffer
mallocStack(int capacity)
Returns a newVkBindBufferMemoryDeviceGroupInfoKHR.Buffer
instance allocated on the thread-localMemoryStack
.static VkBindBufferMemoryDeviceGroupInfoKHR.Buffer
mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkBindBufferMemoryDeviceGroupInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
.static VkBindBufferMemoryDeviceGroupInfoKHR
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkBindBufferMemoryDeviceGroupInfoKHR
instance allocated on the specifiedMemoryStack
.VkBindBufferMemoryDeviceGroupInfoKHR
pDeviceIndices(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thepDeviceIndices
field.VkBindBufferMemoryDeviceGroupInfoKHR
pNext(long value)
Sets the specified value to thepNext
field.VkBindBufferMemoryDeviceGroupInfoKHR
set(int sType, long pNext, java.nio.IntBuffer pDeviceIndices)
Initializes this struct with the specified values.VkBindBufferMemoryDeviceGroupInfoKHR
set(VkBindBufferMemoryDeviceGroupInfoKHR src)
Copies the specified struct data to this struct.VkBindBufferMemoryDeviceGroupInfoKHR
sType(int value)
Sets the specified value to thesType
field.-
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 aVkBindBufferMemoryDeviceGroupInfoKHR
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
-
sType
public VkBindBufferMemoryDeviceGroupInfoKHR sType(int value)
Sets the specified value to thesType
field.- Overrides:
sType
in classVkBindBufferMemoryDeviceGroupInfo
-
pNext
public VkBindBufferMemoryDeviceGroupInfoKHR pNext(long value)
Sets the specified value to thepNext
field.- Overrides:
pNext
in classVkBindBufferMemoryDeviceGroupInfo
-
pDeviceIndices
public VkBindBufferMemoryDeviceGroupInfoKHR pDeviceIndices(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thepDeviceIndices
field.- Overrides:
pDeviceIndices
in classVkBindBufferMemoryDeviceGroupInfo
-
set
public VkBindBufferMemoryDeviceGroupInfoKHR set(int sType, long pNext, @Nullable java.nio.IntBuffer pDeviceIndices)
Initializes this struct with the specified values.- Overrides:
set
in 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 newVkBindBufferMemoryDeviceGroupInfoKHR
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static VkBindBufferMemoryDeviceGroupInfoKHR calloc()
Returns a newVkBindBufferMemoryDeviceGroupInfoKHR
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static VkBindBufferMemoryDeviceGroupInfoKHR create()
Returns a newVkBindBufferMemoryDeviceGroupInfoKHR
instance allocated withBufferUtils
.
-
create
public static VkBindBufferMemoryDeviceGroupInfoKHR create(long address)
Returns a newVkBindBufferMemoryDeviceGroupInfoKHR
instance for the specified memory address.
-
createSafe
@Nullable public static VkBindBufferMemoryDeviceGroupInfoKHR createSafe(long address)
-
malloc
public static VkBindBufferMemoryDeviceGroupInfoKHR.Buffer malloc(int capacity)
Returns a newVkBindBufferMemoryDeviceGroupInfoKHR.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static VkBindBufferMemoryDeviceGroupInfoKHR.Buffer calloc(int capacity)
Returns a newVkBindBufferMemoryDeviceGroupInfoKHR.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static VkBindBufferMemoryDeviceGroupInfoKHR.Buffer create(int capacity)
Returns a newVkBindBufferMemoryDeviceGroupInfoKHR.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static VkBindBufferMemoryDeviceGroupInfoKHR.Buffer create(long address, int capacity)
Create aVkBindBufferMemoryDeviceGroupInfoKHR.Buffer
instance 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 newVkBindBufferMemoryDeviceGroupInfoKHR
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static VkBindBufferMemoryDeviceGroupInfoKHR callocStack()
Returns a newVkBindBufferMemoryDeviceGroupInfoKHR
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static VkBindBufferMemoryDeviceGroupInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkBindBufferMemoryDeviceGroupInfoKHR
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static VkBindBufferMemoryDeviceGroupInfoKHR callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkBindBufferMemoryDeviceGroupInfoKHR
instance allocated on the specifiedMemoryStack
and 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.Buffer
instance allocated on the thread-localMemoryStack
.- Parameters:
capacity
- the buffer capacity
-
callocStack
public static VkBindBufferMemoryDeviceGroupInfoKHR.Buffer callocStack(int capacity)
Returns a newVkBindBufferMemoryDeviceGroupInfoKHR.Buffer
instance allocated on the thread-localMemoryStack
and 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.Buffer
instance 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.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
-