Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan

public Class VkSubmitInfo2

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

Structure specifying a queue submit operation.
Valid Usage
Valid Usage (Implicit)
See Also

VkCommandBufferSubmitInfo, VkSemaphoreSubmitInfo, QueueSubmit2, QueueSubmit2KHR

Layout


struct VkSubmitInfo2 {
    VkStructureType sType;
    void const * pNext;
    VkSubmitFlags flags;
    uint32_t waitSemaphoreInfoCount;
    VkSemaphoreSubmitInfo const * pWaitSemaphoreInfos;
    uint32_t commandBufferInfoCount;
    VkCommandBufferSubmitInfo const * pCommandBufferInfos;
    uint32_t signalSemaphoreInfoCount;
    VkSemaphoreSubmitInfo const * pSignalSemaphoreInfos;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
VkSubmitInfo2.Buffer

An array of VkSubmitInfo2 structs.

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
COMMANDBUFFERINFOCOUNT

The struct member offsets.

public static final int
FLAGS

The struct member offsets.

public static final int
PCOMMANDBUFFERINFOS

The struct member offsets.

public static final int
PNEXT

The struct member offsets.

public static final int
PSIGNALSEMAPHOREINFOS

The struct member offsets.

public static final int
PWAITSEMAPHOREINFOS

The struct member offsets.

public static final int
SIGNALSEMAPHOREINFOCOUNT

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
WAITSEMAPHOREINFOCOUNT

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

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

public
VkSubmitInfo2(ByteBuffer container)

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

Method Summary

Modifier and TypeMethod and Description
public static VkSubmitInfo2
calloc()

Returns a new VkSubmitInfo2 instance allocated with memCalloc.

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

Returns a new VkSubmitInfo2.Buffer instance allocated with memCalloc.

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

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

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

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

public int
commandBufferInfoCount()

the number of elements in pCommandBufferInfos and the number of command buffers to execute in the batch.

protected VkSubmitInfo2
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 VkSubmitInfo2
create()

Returns a new VkSubmitInfo2 instance allocated with BufferUtils.

public static VkSubmitInfo2
create(long address)

Returns a new VkSubmitInfo2 instance for the specified memory address.

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

Returns a new VkSubmitInfo2.Buffer instance allocated with BufferUtils.

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

Create a VkSubmitInfo2.Buffer instance at the specified memory.

public static VkSubmitInfo2
createSafe(long address)

Like create, but returns null if address is NULL.

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

Like create, but returns null if address is NULL.

public int
flags()

a bitmask of VkSubmitFlagBits.

public VkSubmitInfo2
flags(int value)

Sets the specified value to the flags field.

public static VkSubmitInfo2
malloc()

Returns a new VkSubmitInfo2 instance allocated with memAlloc.

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

Returns a new VkSubmitInfo2.Buffer instance allocated with memAlloc.

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

Returns a new VkSubmitInfo2 instance allocated on the specified MemoryStack.

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

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

public static int
ncommandBufferInfoCount(long struct)

Unsafe version of commandBufferInfoCount.

public static void
ncommandBufferInfoCount(long struct, int value)

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

public static int
nflags(long struct)

Unsafe version of flags.

public static void
nflags(long struct, int value)

Unsafe version of flags.

public static VkCommandBufferSubmitInfo.Buffer
npCommandBufferInfos(long struct)

Unsafe version of pCommandBufferInfos.

public static void
public static long
npNext(long struct)

Unsafe version of pNext.

public static void
npNext(long struct, long value)

Unsafe version of pNext.

public static VkSemaphoreSubmitInfo.Buffer
npSignalSemaphoreInfos(long struct)

Unsafe version of pSignalSemaphoreInfos.

public static void
public static VkSemaphoreSubmitInfo.Buffer
npWaitSemaphoreInfos(long struct)

Unsafe version of pWaitSemaphoreInfos.

public static void
public static int
nsignalSemaphoreInfoCount(long struct)

Unsafe version of signalSemaphoreInfoCount.

public static void
nsignalSemaphoreInfoCount(long struct, int value)

Sets the specified value to the signalSemaphoreInfoCount 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
nwaitSemaphoreInfoCount(long struct)

Unsafe version of waitSemaphoreInfoCount.

public static void
nwaitSemaphoreInfoCount(long struct, int value)

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

public VkCommandBufferSubmitInfo.Buffer
pCommandBufferInfos()

a pointer to an array of VkCommandBufferSubmitInfo structures describing command buffers to execute in the batch.

public VkSubmitInfo2
public long
pNext()

NULL or a pointer to a structure extending this structure.

public VkSubmitInfo2
pNext(long value)

Sets the specified value to the pNext field.

public VkSubmitInfo2
pNext(VkFrameBoundaryEXT value)

Prepends the specified VkFrameBoundaryEXT value to the pNext chain.

public VkSubmitInfo2
pNext(VkPerformanceQuerySubmitInfoKHR value)

Prepends the specified VkPerformanceQuerySubmitInfoKHR value to the pNext chain.

public VkSubmitInfo2
pNext(VkWin32KeyedMutexAcquireReleaseInfoKHR value)

Prepends the specified VkWin32KeyedMutexAcquireReleaseInfoKHR value to the pNext chain.

public VkSubmitInfo2
pNext(VkWin32KeyedMutexAcquireReleaseInfoNV value)

Prepends the specified VkWin32KeyedMutexAcquireReleaseInfoNV value to the pNext chain.

public VkSemaphoreSubmitInfo.Buffer
public VkSubmitInfo2
public VkSemaphoreSubmitInfo.Buffer
pWaitSemaphoreInfos()

a pointer to an array of VkSemaphoreSubmitInfo structures defining semaphore wait operations.

public VkSubmitInfo2
public VkSubmitInfo2
set(int sType, long pNext, int flags, VkSemaphoreSubmitInfo.Buffer pWaitSemaphoreInfos, VkCommandBufferSubmitInfo.Buffer pCommandBufferInfos, VkSemaphoreSubmitInfo.Buffer pSignalSemaphoreInfos)

Initializes this struct with the specified values.

public VkSubmitInfo2

Returns:

this struct
set
(VkSubmitInfo2
the source struct
src
)

Copies the specified struct data to this struct.

public int
signalSemaphoreInfoCount()

the number of elements in pSignalSemaphoreInfos.

public int
sizeof()

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

Returns sizeof(struct).
public int
sType()

a VkStructureType value identifying this structure.

public VkSubmitInfo2
sType(int value)

Sets the specified value to the sType field.

public VkSubmitInfo2
sType$Default()

Sets the STRUCTURE_TYPE_SUBMIT_INFO_2 value to the sType field.

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

Validates pointer members that should not be NULL.

public int
waitSemaphoreInfoCount()

the number of elements in pWaitSemaphoreInfos.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate