Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan

public Class VkDeviceGroupSubmitInfo

extends Struct<VkDeviceGroupSubmitInfo>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Known Direct Subclasses
org.lwjgl.vulkan.VkDeviceGroupSubmitInfoKHR
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Structure indicating which physical devices execute semaphore operations and command buffers.
Description

If this structure is not present, semaphore operations and command buffers execute on device index zero.

Valid Usage
Valid Usage (Implicit)

Layout


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;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
COMMANDBUFFERCOUNT

The struct member offsets.

public static final int
PCOMMANDBUFFERDEVICEMASKS

The struct member offsets.

public static final int
PNEXT

The struct member offsets.

public static final int
PSIGNALSEMAPHOREDEVICEINDICES

The struct member offsets.

public static final int
PWAITSEMAPHOREDEVICEINDICES

The struct member offsets.

public static final int
SIGNALSEMAPHORECOUNT

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
STYPE

The struct member offsets.

public static final int
WAITSEMAPHORECOUNT

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
VkDeviceGroupSubmitInfo(long address, ByteBuffer container)

public
VkDeviceGroupSubmitInfo(ByteBuffer container)

Creates a VkDeviceGroupSubmitInfo instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public static VkDeviceGroupSubmitInfo
calloc()

Returns a new VkDeviceGroupSubmitInfo instance allocated with memCalloc.

public static VkDeviceGroupSubmitInfo.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new VkDeviceGroupSubmitInfo.Buffer instance allocated with memCalloc.

public static VkDeviceGroupSubmitInfo
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkDeviceGroupSubmitInfo instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static VkDeviceGroupSubmitInfo.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkDeviceGroupSubmitInfo.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static VkDeviceGroupSubmitInfo
callocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static VkDeviceGroupSubmitInfo
callocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static VkDeviceGroupSubmitInfo.Buffer
callocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static VkDeviceGroupSubmitInfo.Buffer
callocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public int
commandBufferCount()

the number of elements in the pCommandBufferDeviceMasks array.

protected VkDeviceGroupSubmitInfo
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static VkDeviceGroupSubmitInfo
create()

Returns a new VkDeviceGroupSubmitInfo instance allocated with BufferUtils.

public static VkDeviceGroupSubmitInfo
create(long address)

Returns a new VkDeviceGroupSubmitInfo instance for the specified memory address.

public static VkDeviceGroupSubmitInfo.Buffer
create(int
the buffer capacity
capacity
)

Returns a new VkDeviceGroupSubmitInfo.Buffer instance allocated with BufferUtils.

public static VkDeviceGroupSubmitInfo.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a VkDeviceGroupSubmitInfo.Buffer instance at the specified memory.

public static VkDeviceGroupSubmitInfo
createSafe(long address)

Like create, but returns null if address is NULL.

public static VkDeviceGroupSubmitInfo.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public static VkDeviceGroupSubmitInfo
malloc()

Returns a new VkDeviceGroupSubmitInfo instance allocated with memAlloc.

public static VkDeviceGroupSubmitInfo.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new VkDeviceGroupSubmitInfo.Buffer instance allocated with memAlloc.

public static VkDeviceGroupSubmitInfo
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkDeviceGroupSubmitInfo instance allocated on the specified MemoryStack.

public static VkDeviceGroupSubmitInfo.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkDeviceGroupSubmitInfo.Buffer instance allocated on the specified MemoryStack.

public static VkDeviceGroupSubmitInfo
mallocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static VkDeviceGroupSubmitInfo
mallocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static VkDeviceGroupSubmitInfo.Buffer
mallocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static VkDeviceGroupSubmitInfo.Buffer
mallocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static int
ncommandBufferCount(long struct)

Unsafe version of commandBufferCount.

public static void
ncommandBufferCount(long struct, int value)

Sets the specified value to the commandBufferCount field of the specified struct.

public static IntBuffer
public static void
npCommandBufferDeviceMasks(long struct, IntBuffer value)

Unsafe version of pCommandBufferDeviceMasks.

public static long
npNext(long struct)

Unsafe version of pNext.

public static void
npNext(long struct, long value)

Unsafe version of pNext.

public static IntBuffer
public static void
public static IntBuffer
public static void
public static int
nsignalSemaphoreCount(long struct)

Unsafe version of signalSemaphoreCount.

public static void
nsignalSemaphoreCount(long struct, int value)

Sets the specified value to the signalSemaphoreCount field of the specified struct.

public static int
nsType(long struct)

Unsafe version of sType.

public static void
nsType(long struct, int value)

Unsafe version of sType.

public static int
nwaitSemaphoreCount(long struct)

Unsafe version of waitSemaphoreCount.

public static void
nwaitSemaphoreCount(long struct, int value)

Sets the specified value to the waitSemaphoreCount field of the specified struct.

public IntBuffer
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.

public VkDeviceGroupSubmitInfo
pCommandBufferDeviceMasks(IntBuffer value)

Sets the address of the specified IntBuffer to the pCommandBufferDeviceMasks field.

public long
pNext()

NULL or a pointer to a structure extending this structure.

public VkDeviceGroupSubmitInfo
pNext(long value)

Sets the specified value to the pNext field.

public IntBuffer
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.

public VkDeviceGroupSubmitInfo
pSignalSemaphoreDeviceIndices(IntBuffer value)

Sets the address of the specified IntBuffer to the pSignalSemaphoreDeviceIndices field.

public IntBuffer
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.

public VkDeviceGroupSubmitInfo
pWaitSemaphoreDeviceIndices(IntBuffer value)

Sets the address of the specified IntBuffer to the pWaitSemaphoreDeviceIndices field.

public VkDeviceGroupSubmitInfo
set(int sType, long pNext, IntBuffer pWaitSemaphoreDeviceIndices, IntBuffer pCommandBufferDeviceMasks, IntBuffer pSignalSemaphoreDeviceIndices)

Initializes this struct with the specified values.

public VkDeviceGroupSubmitInfo

Returns:

this struct
set
(VkDeviceGroupSubmitInfo
the source struct
src
)

Copies the specified struct data to this struct.

public int
signalSemaphoreCount()

the number of elements in the pSignalSemaphoreDeviceIndices array.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public int
sType()

a VkStructureType value identifying this structure.

public VkDeviceGroupSubmitInfo
sType(int value)

Sets the specified value to the sType field.

public VkDeviceGroupSubmitInfo
public static void
validate(long
the struct to validate
struct
)

Validates pointer members that should not be NULL.

public int
waitSemaphoreCount()

the number of elements in the pWaitSemaphoreDeviceIndices array.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate