public class VkDeviceGroupCommandBufferBeginInfo
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
The initial device mask also acts as an upper bound on the set of devices that can ever be in the device mask in the command buffer.
If this structure is not present, the initial value of a command buffer's device mask is set to include all physical devices in the logical device when the command buffer begins recording.
deviceMask must be a valid device mask valuedeviceMask must not be zerosType must be STRUCTURE_TYPE_DEVICE_GROUP_COMMAND_BUFFER_BEGIN_INFOsType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.deviceMask – the initial value of the command buffer’s device mask.
struct VkDeviceGroupCommandBufferBeginInfo {
VkStructureType sType;
void const * pNext;
uint32_t deviceMask;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkDeviceGroupCommandBufferBeginInfo.Buffer
An array of
VkDeviceGroupCommandBufferBeginInfo structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
DEVICEMASK
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkDeviceGroupCommandBufferBeginInfo(java.nio.ByteBuffer container)
Creates a
VkDeviceGroupCommandBufferBeginInfo instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkDeviceGroupCommandBufferBeginInfo |
calloc()
Returns a new
VkDeviceGroupCommandBufferBeginInfo instance allocated with memCalloc. |
static VkDeviceGroupCommandBufferBeginInfo.Buffer |
calloc(int capacity)
Returns a new
VkDeviceGroupCommandBufferBeginInfo.Buffer instance allocated with memCalloc. |
static VkDeviceGroupCommandBufferBeginInfo |
callocStack()
Returns a new
VkDeviceGroupCommandBufferBeginInfo instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkDeviceGroupCommandBufferBeginInfo.Buffer |
callocStack(int capacity)
Returns a new
VkDeviceGroupCommandBufferBeginInfo.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkDeviceGroupCommandBufferBeginInfo.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkDeviceGroupCommandBufferBeginInfo.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkDeviceGroupCommandBufferBeginInfo |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkDeviceGroupCommandBufferBeginInfo instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkDeviceGroupCommandBufferBeginInfo |
create()
Returns a new
VkDeviceGroupCommandBufferBeginInfo instance allocated with BufferUtils. |
static VkDeviceGroupCommandBufferBeginInfo.Buffer |
create(int capacity)
Returns a new
VkDeviceGroupCommandBufferBeginInfo.Buffer instance allocated with BufferUtils. |
static VkDeviceGroupCommandBufferBeginInfo |
create(long address)
Returns a new
VkDeviceGroupCommandBufferBeginInfo instance for the specified memory address. |
static VkDeviceGroupCommandBufferBeginInfo.Buffer |
create(long address,
int capacity)
Create a
VkDeviceGroupCommandBufferBeginInfo.Buffer instance at the specified memory. |
static VkDeviceGroupCommandBufferBeginInfo |
createSafe(long address)
|
static VkDeviceGroupCommandBufferBeginInfo.Buffer |
createSafe(long address,
int capacity)
|
int |
deviceMask()
Returns the value of the
deviceMask field. |
VkDeviceGroupCommandBufferBeginInfo |
deviceMask(int value)
Sets the specified value to the
deviceMask field. |
static VkDeviceGroupCommandBufferBeginInfo |
malloc()
Returns a new
VkDeviceGroupCommandBufferBeginInfo instance allocated with memAlloc. |
static VkDeviceGroupCommandBufferBeginInfo.Buffer |
malloc(int capacity)
Returns a new
VkDeviceGroupCommandBufferBeginInfo.Buffer instance allocated with memAlloc. |
static VkDeviceGroupCommandBufferBeginInfo |
mallocStack()
Returns a new
VkDeviceGroupCommandBufferBeginInfo instance allocated on the thread-local MemoryStack. |
static VkDeviceGroupCommandBufferBeginInfo.Buffer |
mallocStack(int capacity)
Returns a new
VkDeviceGroupCommandBufferBeginInfo.Buffer instance allocated on the thread-local MemoryStack. |
static VkDeviceGroupCommandBufferBeginInfo.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkDeviceGroupCommandBufferBeginInfo.Buffer instance allocated on the specified MemoryStack. |
static VkDeviceGroupCommandBufferBeginInfo |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkDeviceGroupCommandBufferBeginInfo instance allocated on the specified MemoryStack. |
static int |
ndeviceMask(long struct)
Unsafe version of
deviceMask(). |
static void |
ndeviceMask(long struct,
int value)
Unsafe version of
deviceMask. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
long |
pNext()
Returns the value of the
pNext field. |
VkDeviceGroupCommandBufferBeginInfo |
pNext(long value)
Sets the specified value to the
pNext field. |
VkDeviceGroupCommandBufferBeginInfo |
set(int sType,
long pNext,
int deviceMask)
Initializes this struct with the specified values.
|
VkDeviceGroupCommandBufferBeginInfo |
set(VkDeviceGroupCommandBufferBeginInfo src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkDeviceGroupCommandBufferBeginInfo |
sType(int value)
Sets the specified value to the
sType field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int DEVICEMASK
public VkDeviceGroupCommandBufferBeginInfo(java.nio.ByteBuffer container)
VkDeviceGroupCommandBufferBeginInfo instance at the current position of the specified ByteBuffer 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.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic int sType()
sType field.public long pNext()
pNext field.public int deviceMask()
deviceMask field.public VkDeviceGroupCommandBufferBeginInfo sType(int value)
sType field.public VkDeviceGroupCommandBufferBeginInfo pNext(long value)
pNext field.public VkDeviceGroupCommandBufferBeginInfo deviceMask(int value)
deviceMask field.public VkDeviceGroupCommandBufferBeginInfo set(int sType, long pNext, int deviceMask)
public VkDeviceGroupCommandBufferBeginInfo set(VkDeviceGroupCommandBufferBeginInfo src)
src - the source structpublic static VkDeviceGroupCommandBufferBeginInfo malloc()
VkDeviceGroupCommandBufferBeginInfo instance allocated with memAlloc. The instance must be explicitly freed.public static VkDeviceGroupCommandBufferBeginInfo calloc()
VkDeviceGroupCommandBufferBeginInfo instance allocated with memCalloc. The instance must be explicitly freed.public static VkDeviceGroupCommandBufferBeginInfo create()
VkDeviceGroupCommandBufferBeginInfo instance allocated with BufferUtils.public static VkDeviceGroupCommandBufferBeginInfo create(long address)
VkDeviceGroupCommandBufferBeginInfo instance for the specified memory address.@Nullable public static VkDeviceGroupCommandBufferBeginInfo createSafe(long address)
public static VkDeviceGroupCommandBufferBeginInfo.Buffer malloc(int capacity)
VkDeviceGroupCommandBufferBeginInfo.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkDeviceGroupCommandBufferBeginInfo.Buffer calloc(int capacity)
VkDeviceGroupCommandBufferBeginInfo.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkDeviceGroupCommandBufferBeginInfo.Buffer create(int capacity)
VkDeviceGroupCommandBufferBeginInfo.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkDeviceGroupCommandBufferBeginInfo.Buffer create(long address, int capacity)
VkDeviceGroupCommandBufferBeginInfo.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkDeviceGroupCommandBufferBeginInfo.Buffer createSafe(long address, int capacity)
public static VkDeviceGroupCommandBufferBeginInfo mallocStack()
VkDeviceGroupCommandBufferBeginInfo instance allocated on the thread-local MemoryStack.public static VkDeviceGroupCommandBufferBeginInfo callocStack()
VkDeviceGroupCommandBufferBeginInfo instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkDeviceGroupCommandBufferBeginInfo mallocStack(org.lwjgl.system.MemoryStack stack)
VkDeviceGroupCommandBufferBeginInfo instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkDeviceGroupCommandBufferBeginInfo callocStack(org.lwjgl.system.MemoryStack stack)
VkDeviceGroupCommandBufferBeginInfo instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkDeviceGroupCommandBufferBeginInfo.Buffer mallocStack(int capacity)
VkDeviceGroupCommandBufferBeginInfo.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkDeviceGroupCommandBufferBeginInfo.Buffer callocStack(int capacity)
VkDeviceGroupCommandBufferBeginInfo.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkDeviceGroupCommandBufferBeginInfo.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkDeviceGroupCommandBufferBeginInfo.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkDeviceGroupCommandBufferBeginInfo.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkDeviceGroupCommandBufferBeginInfo.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int nsType(long struct)
sType().public static long npNext(long struct)
pNext().public static int ndeviceMask(long struct)
deviceMask().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void ndeviceMask(long struct,
int value)
deviceMask.Copyright LWJGL. All Rights Reserved. License terms.