Package org.lwjgl.vulkan
Class VkDeviceGroupCommandBufferBeginInfoKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkDeviceGroupCommandBufferBeginInfo
-
- org.lwjgl.vulkan.VkDeviceGroupCommandBufferBeginInfoKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
public class VkDeviceGroupCommandBufferBeginInfoKHR extends VkDeviceGroupCommandBufferBeginInfo
SeeVkDeviceGroupCommandBufferBeginInfo
.Layout
struct VkDeviceGroupCommandBufferBeginInfoKHR { VkStructureType sType; void const * pNext; uint32_t deviceMask; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VkDeviceGroupCommandBufferBeginInfoKHR.Buffer
An array ofVkDeviceGroupCommandBufferBeginInfoKHR
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.VkDeviceGroupCommandBufferBeginInfo
ALIGNOF, DEVICEMASK, PNEXT, SIZEOF, STYPE
-
-
Constructor Summary
Constructors Constructor Description VkDeviceGroupCommandBufferBeginInfoKHR(java.nio.ByteBuffer container)
Creates aVkDeviceGroupCommandBufferBeginInfoKHR
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 VkDeviceGroupCommandBufferBeginInfoKHR
calloc()
Returns a newVkDeviceGroupCommandBufferBeginInfoKHR
instance allocated withmemCalloc
.static VkDeviceGroupCommandBufferBeginInfoKHR.Buffer
calloc(int capacity)
Returns a newVkDeviceGroupCommandBufferBeginInfoKHR.Buffer
instance allocated withmemCalloc
.static VkDeviceGroupCommandBufferBeginInfoKHR
callocStack()
Returns a newVkDeviceGroupCommandBufferBeginInfoKHR
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkDeviceGroupCommandBufferBeginInfoKHR.Buffer
callocStack(int capacity)
Returns a newVkDeviceGroupCommandBufferBeginInfoKHR.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkDeviceGroupCommandBufferBeginInfoKHR.Buffer
callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGroupCommandBufferBeginInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkDeviceGroupCommandBufferBeginInfoKHR
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGroupCommandBufferBeginInfoKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkDeviceGroupCommandBufferBeginInfoKHR
create()
Returns a newVkDeviceGroupCommandBufferBeginInfoKHR
instance allocated withBufferUtils
.static VkDeviceGroupCommandBufferBeginInfoKHR.Buffer
create(int capacity)
Returns a newVkDeviceGroupCommandBufferBeginInfoKHR.Buffer
instance allocated withBufferUtils
.static VkDeviceGroupCommandBufferBeginInfoKHR
create(long address)
Returns a newVkDeviceGroupCommandBufferBeginInfoKHR
instance for the specified memory address.static VkDeviceGroupCommandBufferBeginInfoKHR.Buffer
create(long address, int capacity)
Create aVkDeviceGroupCommandBufferBeginInfoKHR.Buffer
instance at the specified memory.static VkDeviceGroupCommandBufferBeginInfoKHR
createSafe(long address)
static VkDeviceGroupCommandBufferBeginInfoKHR.Buffer
createSafe(long address, int capacity)
VkDeviceGroupCommandBufferBeginInfoKHR
deviceMask(int value)
Sets the specified value to thedeviceMask
field.static VkDeviceGroupCommandBufferBeginInfoKHR
malloc()
Returns a newVkDeviceGroupCommandBufferBeginInfoKHR
instance allocated withmemAlloc
.static VkDeviceGroupCommandBufferBeginInfoKHR.Buffer
malloc(int capacity)
Returns a newVkDeviceGroupCommandBufferBeginInfoKHR.Buffer
instance allocated withmemAlloc
.static VkDeviceGroupCommandBufferBeginInfoKHR
mallocStack()
Returns a newVkDeviceGroupCommandBufferBeginInfoKHR
instance allocated on the thread-localMemoryStack
.static VkDeviceGroupCommandBufferBeginInfoKHR.Buffer
mallocStack(int capacity)
Returns a newVkDeviceGroupCommandBufferBeginInfoKHR.Buffer
instance allocated on the thread-localMemoryStack
.static VkDeviceGroupCommandBufferBeginInfoKHR.Buffer
mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGroupCommandBufferBeginInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
.static VkDeviceGroupCommandBufferBeginInfoKHR
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGroupCommandBufferBeginInfoKHR
instance allocated on the specifiedMemoryStack
.VkDeviceGroupCommandBufferBeginInfoKHR
pNext(long value)
Sets the specified value to thepNext
field.VkDeviceGroupCommandBufferBeginInfoKHR
set(int sType, long pNext, int deviceMask)
Initializes this struct with the specified values.VkDeviceGroupCommandBufferBeginInfoKHR
set(VkDeviceGroupCommandBufferBeginInfoKHR src)
Copies the specified struct data to this struct.VkDeviceGroupCommandBufferBeginInfoKHR
sType(int value)
Sets the specified value to thesType
field.-
Methods inherited from class org.lwjgl.vulkan.VkDeviceGroupCommandBufferBeginInfo
deviceMask, ndeviceMask, ndeviceMask, npNext, npNext, nsType, nsType, pNext, set, sizeof, sType
-
-
-
-
Constructor Detail
-
VkDeviceGroupCommandBufferBeginInfoKHR
public VkDeviceGroupCommandBufferBeginInfoKHR(java.nio.ByteBuffer container)
Creates aVkDeviceGroupCommandBufferBeginInfoKHR
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 VkDeviceGroupCommandBufferBeginInfoKHR sType(int value)
Sets the specified value to thesType
field.- Overrides:
sType
in classVkDeviceGroupCommandBufferBeginInfo
-
pNext
public VkDeviceGroupCommandBufferBeginInfoKHR pNext(long value)
Sets the specified value to thepNext
field.- Overrides:
pNext
in classVkDeviceGroupCommandBufferBeginInfo
-
deviceMask
public VkDeviceGroupCommandBufferBeginInfoKHR deviceMask(int value)
Sets the specified value to thedeviceMask
field.- Overrides:
deviceMask
in classVkDeviceGroupCommandBufferBeginInfo
-
set
public VkDeviceGroupCommandBufferBeginInfoKHR set(int sType, long pNext, int deviceMask)
Initializes this struct with the specified values.- Overrides:
set
in classVkDeviceGroupCommandBufferBeginInfo
-
set
public VkDeviceGroupCommandBufferBeginInfoKHR set(VkDeviceGroupCommandBufferBeginInfoKHR src)
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
public static VkDeviceGroupCommandBufferBeginInfoKHR malloc()
Returns a newVkDeviceGroupCommandBufferBeginInfoKHR
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static VkDeviceGroupCommandBufferBeginInfoKHR calloc()
Returns a newVkDeviceGroupCommandBufferBeginInfoKHR
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static VkDeviceGroupCommandBufferBeginInfoKHR create()
Returns a newVkDeviceGroupCommandBufferBeginInfoKHR
instance allocated withBufferUtils
.
-
create
public static VkDeviceGroupCommandBufferBeginInfoKHR create(long address)
Returns a newVkDeviceGroupCommandBufferBeginInfoKHR
instance for the specified memory address.
-
createSafe
@Nullable public static VkDeviceGroupCommandBufferBeginInfoKHR createSafe(long address)
-
malloc
public static VkDeviceGroupCommandBufferBeginInfoKHR.Buffer malloc(int capacity)
Returns a newVkDeviceGroupCommandBufferBeginInfoKHR.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static VkDeviceGroupCommandBufferBeginInfoKHR.Buffer calloc(int capacity)
Returns a newVkDeviceGroupCommandBufferBeginInfoKHR.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static VkDeviceGroupCommandBufferBeginInfoKHR.Buffer create(int capacity)
Returns a newVkDeviceGroupCommandBufferBeginInfoKHR.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static VkDeviceGroupCommandBufferBeginInfoKHR.Buffer create(long address, int capacity)
Create aVkDeviceGroupCommandBufferBeginInfoKHR.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static VkDeviceGroupCommandBufferBeginInfoKHR.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkDeviceGroupCommandBufferBeginInfoKHR mallocStack()
Returns a newVkDeviceGroupCommandBufferBeginInfoKHR
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static VkDeviceGroupCommandBufferBeginInfoKHR callocStack()
Returns a newVkDeviceGroupCommandBufferBeginInfoKHR
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static VkDeviceGroupCommandBufferBeginInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGroupCommandBufferBeginInfoKHR
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static VkDeviceGroupCommandBufferBeginInfoKHR callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGroupCommandBufferBeginInfoKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
mallocStack
public static VkDeviceGroupCommandBufferBeginInfoKHR.Buffer mallocStack(int capacity)
Returns a newVkDeviceGroupCommandBufferBeginInfoKHR.Buffer
instance allocated on the thread-localMemoryStack
.- Parameters:
capacity
- the buffer capacity
-
callocStack
public static VkDeviceGroupCommandBufferBeginInfoKHR.Buffer callocStack(int capacity)
Returns a newVkDeviceGroupCommandBufferBeginInfoKHR.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacity
-
mallocStack
public static VkDeviceGroupCommandBufferBeginInfoKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGroupCommandBufferBeginInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
callocStack
public static VkDeviceGroupCommandBufferBeginInfoKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGroupCommandBufferBeginInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
-