public class VkDeviceGroupSubmitInfo
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If this structure is not present, semaphore operations and command buffers execute on device index zero.
waitSemaphoreCount must equal VkSubmitInfo::waitSemaphoreCountcommandBufferCount must equal VkSubmitInfo::commandBufferCountsignalSemaphoreCount must equal VkSubmitInfo::signalSemaphoreCountpWaitSemaphoreDeviceIndices and pSignalSemaphoreDeviceIndices must be valid device indicespCommandBufferDeviceMasks must be valid device maskssType must be STRUCTURE_TYPE_DEVICE_GROUP_SUBMIT_INFOwaitSemaphoreCount is not 0, pWaitSemaphoreDeviceIndices must be a valid pointer to an array of waitSemaphoreCount uint32_t valuescommandBufferCount is not 0, pCommandBufferDeviceMasks must be a valid pointer to an array of commandBufferCount uint32_t valuessignalSemaphoreCount is not 0, pSignalSemaphoreDeviceIndices must be a valid pointer to an array of signalSemaphoreCount uint32_t valuessType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.waitSemaphoreCount – the number of elements in the pWaitSemaphoreDeviceIndices array.pWaitSemaphoreDeviceIndices – a pointer to an array of waitSemaphoreCount device indices indicating which physical device executes the semaphore wait operation in the corresponding element of VkSubmitInfo::pWaitSemaphores.commandBufferCount – the number of elements in the pCommandBufferDeviceMasks array.pCommandBufferDeviceMasks – a pointer to an array of commandBufferCount device masks indicating which physical devices execute the command buffer in the corresponding element of VkSubmitInfo::pCommandBuffers. A physical device executes the command buffer if the corresponding bit is set in the mask.signalSemaphoreCount – the number of elements in the pSignalSemaphoreDeviceIndices array.pSignalSemaphoreDeviceIndices – a pointer to an array of signalSemaphoreCount device indices indicating which physical device executes the semaphore signal operation in the corresponding element of VkSubmitInfo::pSignalSemaphores.
struct VkDeviceGroupSubmitInfo {
VkStructureType sType;
void const * pNext;
uint32_t waitSemaphoreCount;
uint32_t const * pWaitSemaphoreDeviceIndices;
uint32_t commandBufferCount;
uint32_t const * pCommandBufferDeviceMasks;
uint32_t signalSemaphoreCount;
uint32_t const * pSignalSemaphoreDeviceIndices;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkDeviceGroupSubmitInfo.Buffer
An array of
VkDeviceGroupSubmitInfo structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
COMMANDBUFFERCOUNT
The struct member offsets.
|
static int |
PCOMMANDBUFFERDEVICEMASKS
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
PSIGNALSEMAPHOREDEVICEINDICES
The struct member offsets.
|
static int |
PWAITSEMAPHOREDEVICEINDICES
The struct member offsets.
|
static int |
SIGNALSEMAPHORECOUNT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
static int |
WAITSEMAPHORECOUNT
The struct member offsets.
|
| Constructor and Description |
|---|
VkDeviceGroupSubmitInfo(java.nio.ByteBuffer container)
Creates a
VkDeviceGroupSubmitInfo instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkDeviceGroupSubmitInfo |
calloc()
Returns a new
VkDeviceGroupSubmitInfo instance allocated with memCalloc. |
static VkDeviceGroupSubmitInfo.Buffer |
calloc(int capacity)
Returns a new
VkDeviceGroupSubmitInfo.Buffer instance allocated with memCalloc. |
static VkDeviceGroupSubmitInfo |
callocStack()
Returns a new
VkDeviceGroupSubmitInfo instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkDeviceGroupSubmitInfo.Buffer |
callocStack(int capacity)
Returns a new
VkDeviceGroupSubmitInfo.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkDeviceGroupSubmitInfo.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkDeviceGroupSubmitInfo.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkDeviceGroupSubmitInfo |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkDeviceGroupSubmitInfo instance allocated on the specified MemoryStack and initializes all its bits to zero. |
int |
commandBufferCount()
Returns the value of the
commandBufferCount field. |
static VkDeviceGroupSubmitInfo |
create()
Returns a new
VkDeviceGroupSubmitInfo instance allocated with BufferUtils. |
static VkDeviceGroupSubmitInfo.Buffer |
create(int capacity)
Returns a new
VkDeviceGroupSubmitInfo.Buffer instance allocated with BufferUtils. |
static VkDeviceGroupSubmitInfo |
create(long address)
Returns a new
VkDeviceGroupSubmitInfo instance for the specified memory address. |
static VkDeviceGroupSubmitInfo.Buffer |
create(long address,
int capacity)
Create a
VkDeviceGroupSubmitInfo.Buffer instance at the specified memory. |
static VkDeviceGroupSubmitInfo |
createSafe(long address)
|
static VkDeviceGroupSubmitInfo.Buffer |
createSafe(long address,
int capacity)
|
static VkDeviceGroupSubmitInfo |
malloc()
Returns a new
VkDeviceGroupSubmitInfo instance allocated with memAlloc. |
static VkDeviceGroupSubmitInfo.Buffer |
malloc(int capacity)
Returns a new
VkDeviceGroupSubmitInfo.Buffer instance allocated with memAlloc. |
static VkDeviceGroupSubmitInfo |
mallocStack()
Returns a new
VkDeviceGroupSubmitInfo instance allocated on the thread-local MemoryStack. |
static VkDeviceGroupSubmitInfo.Buffer |
mallocStack(int capacity)
Returns a new
VkDeviceGroupSubmitInfo.Buffer instance allocated on the thread-local MemoryStack. |
static VkDeviceGroupSubmitInfo.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkDeviceGroupSubmitInfo.Buffer instance allocated on the specified MemoryStack. |
static VkDeviceGroupSubmitInfo |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkDeviceGroupSubmitInfo instance allocated on the specified MemoryStack. |
static int |
ncommandBufferCount(long struct)
Unsafe version of
commandBufferCount(). |
static void |
ncommandBufferCount(long struct,
int value)
Sets the specified value to the
commandBufferCount field of the specified struct. |
static java.nio.IntBuffer |
npCommandBufferDeviceMasks(long struct)
Unsafe version of
pCommandBufferDeviceMasks. |
static void |
npCommandBufferDeviceMasks(long struct,
java.nio.IntBuffer value)
Unsafe version of
pCommandBufferDeviceMasks. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static java.nio.IntBuffer |
npSignalSemaphoreDeviceIndices(long struct)
Unsafe version of
pSignalSemaphoreDeviceIndices. |
static void |
npSignalSemaphoreDeviceIndices(long struct,
java.nio.IntBuffer value)
Unsafe version of
pSignalSemaphoreDeviceIndices. |
static java.nio.IntBuffer |
npWaitSemaphoreDeviceIndices(long struct)
Unsafe version of
pWaitSemaphoreDeviceIndices. |
static void |
npWaitSemaphoreDeviceIndices(long struct,
java.nio.IntBuffer value)
Unsafe version of
pWaitSemaphoreDeviceIndices. |
static int |
nsignalSemaphoreCount(long struct)
Unsafe version of
signalSemaphoreCount(). |
static void |
nsignalSemaphoreCount(long struct,
int value)
Sets the specified value to the
signalSemaphoreCount field of the specified struct. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
static int |
nwaitSemaphoreCount(long struct)
Unsafe version of
waitSemaphoreCount(). |
static void |
nwaitSemaphoreCount(long struct,
int value)
Sets the specified value to the
waitSemaphoreCount field of the specified struct. |
java.nio.IntBuffer |
pCommandBufferDeviceMasks()
Returns a
IntBuffer view of the data pointed to by the pCommandBufferDeviceMasks field. |
VkDeviceGroupSubmitInfo |
pCommandBufferDeviceMasks(java.nio.IntBuffer value)
Sets the address of the specified
IntBuffer to the pCommandBufferDeviceMasks field. |
long |
pNext()
Returns the value of the
pNext field. |
VkDeviceGroupSubmitInfo |
pNext(long value)
Sets the specified value to the
pNext field. |
java.nio.IntBuffer |
pSignalSemaphoreDeviceIndices()
Returns a
IntBuffer view of the data pointed to by the pSignalSemaphoreDeviceIndices field. |
VkDeviceGroupSubmitInfo |
pSignalSemaphoreDeviceIndices(java.nio.IntBuffer value)
Sets the address of the specified
IntBuffer to the pSignalSemaphoreDeviceIndices field. |
java.nio.IntBuffer |
pWaitSemaphoreDeviceIndices()
Returns a
IntBuffer view of the data pointed to by the pWaitSemaphoreDeviceIndices field. |
VkDeviceGroupSubmitInfo |
pWaitSemaphoreDeviceIndices(java.nio.IntBuffer value)
Sets the address of the specified
IntBuffer to the pWaitSemaphoreDeviceIndices field. |
VkDeviceGroupSubmitInfo |
set(int sType,
long pNext,
java.nio.IntBuffer pWaitSemaphoreDeviceIndices,
java.nio.IntBuffer pCommandBufferDeviceMasks,
java.nio.IntBuffer pSignalSemaphoreDeviceIndices)
Initializes this struct with the specified values.
|
VkDeviceGroupSubmitInfo |
set(VkDeviceGroupSubmitInfo src)
Copies the specified struct data to this struct.
|
int |
signalSemaphoreCount()
Returns the value of the
signalSemaphoreCount field. |
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkDeviceGroupSubmitInfo |
sType(int value)
Sets the specified value to the
sType field. |
static void |
validate(long struct)
Validates pointer members that should not be
NULL. |
static void |
validate(long array,
int count)
Calls
validate(long) for each struct contained in the specified struct array. |
int |
waitSemaphoreCount()
Returns the value of the
waitSemaphoreCount 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 WAITSEMAPHORECOUNT
public static final int PWAITSEMAPHOREDEVICEINDICES
public static final int COMMANDBUFFERCOUNT
public static final int PCOMMANDBUFFERDEVICEMASKS
public static final int SIGNALSEMAPHORECOUNT
public static final int PSIGNALSEMAPHOREDEVICEINDICES
public VkDeviceGroupSubmitInfo(java.nio.ByteBuffer container)
VkDeviceGroupSubmitInfo 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 waitSemaphoreCount()
waitSemaphoreCount field.@Nullable public java.nio.IntBuffer pWaitSemaphoreDeviceIndices()
IntBuffer view of the data pointed to by the pWaitSemaphoreDeviceIndices field.public int commandBufferCount()
commandBufferCount field.@Nullable public java.nio.IntBuffer pCommandBufferDeviceMasks()
IntBuffer view of the data pointed to by the pCommandBufferDeviceMasks field.public int signalSemaphoreCount()
signalSemaphoreCount field.@Nullable public java.nio.IntBuffer pSignalSemaphoreDeviceIndices()
IntBuffer view of the data pointed to by the pSignalSemaphoreDeviceIndices field.public VkDeviceGroupSubmitInfo sType(int value)
sType field.public VkDeviceGroupSubmitInfo pNext(long value)
pNext field.public VkDeviceGroupSubmitInfo pWaitSemaphoreDeviceIndices(@Nullable java.nio.IntBuffer value)
IntBuffer to the pWaitSemaphoreDeviceIndices field.public VkDeviceGroupSubmitInfo pCommandBufferDeviceMasks(@Nullable java.nio.IntBuffer value)
IntBuffer to the pCommandBufferDeviceMasks field.public VkDeviceGroupSubmitInfo pSignalSemaphoreDeviceIndices(@Nullable java.nio.IntBuffer value)
IntBuffer to the pSignalSemaphoreDeviceIndices field.public VkDeviceGroupSubmitInfo set(int sType, long pNext, @Nullable java.nio.IntBuffer pWaitSemaphoreDeviceIndices, @Nullable java.nio.IntBuffer pCommandBufferDeviceMasks, @Nullable java.nio.IntBuffer pSignalSemaphoreDeviceIndices)
public VkDeviceGroupSubmitInfo set(VkDeviceGroupSubmitInfo src)
src - the source structpublic static VkDeviceGroupSubmitInfo malloc()
VkDeviceGroupSubmitInfo instance allocated with memAlloc. The instance must be explicitly freed.public static VkDeviceGroupSubmitInfo calloc()
VkDeviceGroupSubmitInfo instance allocated with memCalloc. The instance must be explicitly freed.public static VkDeviceGroupSubmitInfo create()
VkDeviceGroupSubmitInfo instance allocated with BufferUtils.public static VkDeviceGroupSubmitInfo create(long address)
VkDeviceGroupSubmitInfo instance for the specified memory address.@Nullable public static VkDeviceGroupSubmitInfo createSafe(long address)
public static VkDeviceGroupSubmitInfo.Buffer malloc(int capacity)
VkDeviceGroupSubmitInfo.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkDeviceGroupSubmitInfo.Buffer calloc(int capacity)
VkDeviceGroupSubmitInfo.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkDeviceGroupSubmitInfo.Buffer create(int capacity)
VkDeviceGroupSubmitInfo.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkDeviceGroupSubmitInfo.Buffer create(long address, int capacity)
VkDeviceGroupSubmitInfo.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkDeviceGroupSubmitInfo.Buffer createSafe(long address, int capacity)
public static VkDeviceGroupSubmitInfo mallocStack()
VkDeviceGroupSubmitInfo instance allocated on the thread-local MemoryStack.public static VkDeviceGroupSubmitInfo callocStack()
VkDeviceGroupSubmitInfo instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkDeviceGroupSubmitInfo mallocStack(org.lwjgl.system.MemoryStack stack)
VkDeviceGroupSubmitInfo instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkDeviceGroupSubmitInfo callocStack(org.lwjgl.system.MemoryStack stack)
VkDeviceGroupSubmitInfo instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkDeviceGroupSubmitInfo.Buffer mallocStack(int capacity)
VkDeviceGroupSubmitInfo.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkDeviceGroupSubmitInfo.Buffer callocStack(int capacity)
VkDeviceGroupSubmitInfo.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkDeviceGroupSubmitInfo.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkDeviceGroupSubmitInfo.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkDeviceGroupSubmitInfo.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkDeviceGroupSubmitInfo.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 nwaitSemaphoreCount(long struct)
waitSemaphoreCount().@Nullable public static java.nio.IntBuffer npWaitSemaphoreDeviceIndices(long struct)
pWaitSemaphoreDeviceIndices.public static int ncommandBufferCount(long struct)
commandBufferCount().@Nullable public static java.nio.IntBuffer npCommandBufferDeviceMasks(long struct)
pCommandBufferDeviceMasks.public static int nsignalSemaphoreCount(long struct)
signalSemaphoreCount().@Nullable public static java.nio.IntBuffer npSignalSemaphoreDeviceIndices(long struct)
pSignalSemaphoreDeviceIndices.public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nwaitSemaphoreCount(long struct,
int value)
waitSemaphoreCount field of the specified struct.public static void npWaitSemaphoreDeviceIndices(long struct,
@Nullable
java.nio.IntBuffer value)
pWaitSemaphoreDeviceIndices.public static void ncommandBufferCount(long struct,
int value)
commandBufferCount field of the specified struct.public static void npCommandBufferDeviceMasks(long struct,
@Nullable
java.nio.IntBuffer value)
pCommandBufferDeviceMasks.public static void nsignalSemaphoreCount(long struct,
int value)
signalSemaphoreCount field of the specified struct.public static void npSignalSemaphoreDeviceIndices(long struct,
@Nullable
java.nio.IntBuffer value)
pSignalSemaphoreDeviceIndices.public static void validate(long struct)
NULL.struct - the struct to validatepublic static void validate(long array,
int count)
validate(long) for each struct contained in the specified struct array.array - the struct array to validatecount - the number of structs in arrayCopyright LWJGL. All Rights Reserved. License terms.