Package org.lwjgl.vulkan
Class VkDeviceGroupSubmitInfo
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
- Direct Known Subclasses:
VkDeviceGroupSubmitInfoKHR
public class VkDeviceGroupSubmitInfo
extends Struct<VkDeviceGroupSubmitInfo>
implements NativeResource
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 Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.static final intThe struct member offsets.static final intThe struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionVkDeviceGroupSubmitInfo(ByteBuffer container) Creates aVkDeviceGroupSubmitInfoinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkDeviceGroupSubmitInfocalloc()Returns a newVkDeviceGroupSubmitInfoinstance allocated withmemCalloc.calloc(int capacity) Returns a newVkDeviceGroupSubmitInfo.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newVkDeviceGroupSubmitInfo.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkDeviceGroupSubmitInfocalloc(MemoryStack stack) Returns a newVkDeviceGroupSubmitInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.intstatic VkDeviceGroupSubmitInfocreate()Returns a newVkDeviceGroupSubmitInfoinstance allocated withBufferUtils.create(int capacity) Returns a newVkDeviceGroupSubmitInfo.Bufferinstance allocated withBufferUtils.static VkDeviceGroupSubmitInfocreate(long address) Returns a newVkDeviceGroupSubmitInfoinstance for the specified memory address.create(long address, int capacity) Create aVkDeviceGroupSubmitInfo.Bufferinstance at the specified memory.static @Nullable VkDeviceGroupSubmitInfocreateSafe(long address) static @Nullable VkDeviceGroupSubmitInfo.BuffercreateSafe(long address, int capacity) static VkDeviceGroupSubmitInfomalloc()Returns a newVkDeviceGroupSubmitInfoinstance allocated withmemAlloc.malloc(int capacity) Returns a newVkDeviceGroupSubmitInfo.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newVkDeviceGroupSubmitInfo.Bufferinstance allocated on the specifiedMemoryStack.static VkDeviceGroupSubmitInfomalloc(MemoryStack stack) Returns a newVkDeviceGroupSubmitInfoinstance allocated on the specifiedMemoryStack.static intncommandBufferCount(long struct) Unsafe version ofcommandBufferCount().static voidncommandBufferCount(long struct, int value) Sets the specified value to thecommandBufferCountfield of the specifiedstruct.static @Nullable IntBuffernpCommandBufferDeviceMasks(long struct) Unsafe version ofpCommandBufferDeviceMasks.static voidnpCommandBufferDeviceMasks(long struct, @Nullable IntBuffer value) Unsafe version ofpCommandBufferDeviceMasks.static longnpNext(long struct) Unsafe version ofpNext().static voidnpNext(long struct, long value) Unsafe version ofpNext.static @Nullable IntBuffernpSignalSemaphoreDeviceIndices(long struct) Unsafe version ofpSignalSemaphoreDeviceIndices.static voidnpSignalSemaphoreDeviceIndices(long struct, @Nullable IntBuffer value) Unsafe version ofpSignalSemaphoreDeviceIndices.static @Nullable IntBuffernpWaitSemaphoreDeviceIndices(long struct) Unsafe version ofpWaitSemaphoreDeviceIndices.static voidnpWaitSemaphoreDeviceIndices(long struct, @Nullable IntBuffer value) Unsafe version ofpWaitSemaphoreDeviceIndices.static intnsignalSemaphoreCount(long struct) Unsafe version ofsignalSemaphoreCount().static voidnsignalSemaphoreCount(long struct, int value) Sets the specified value to thesignalSemaphoreCountfield of the specifiedstruct.static intnsType(long struct) Unsafe version ofsType().static voidnsType(long struct, int value) Unsafe version ofsType.static intnwaitSemaphoreCount(long struct) Unsafe version ofwaitSemaphoreCount().static voidnwaitSemaphoreCount(long struct, int value) Sets the specified value to thewaitSemaphoreCountfield of the specifiedstruct.@Nullable IntBufferpCommandBufferDeviceMasks(@Nullable IntBuffer value) Sets the address of the specifiedIntBufferto thepCommandBufferDeviceMasksfield.longpNext()pNext(long value) Sets the specified value to thepNextfield.@Nullable IntBufferpSignalSemaphoreDeviceIndices(@Nullable IntBuffer value) Sets the address of the specifiedIntBufferto thepSignalSemaphoreDeviceIndicesfield.@Nullable IntBufferpWaitSemaphoreDeviceIndices(@Nullable IntBuffer value) Sets the address of the specifiedIntBufferto thepWaitSemaphoreDeviceIndicesfield.set(int sType, long pNext, @Nullable IntBuffer pWaitSemaphoreDeviceIndices, @Nullable IntBuffer pCommandBufferDeviceMasks, @Nullable IntBuffer pSignalSemaphoreDeviceIndices) Initializes this struct with the specified values.Copies the specified struct data to this struct.intintsizeof()Returnssizeof(struct).intsType()sType(int value) Sets the specified value to thesTypefield.Sets theSTRUCTURE_TYPE_DEVICE_GROUP_SUBMIT_INFOvalue to thesTypefield.static voidvalidate(long struct) Validates pointer members that should not beNULL.intMethods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
STYPE
public static final int STYPEThe struct member offsets. -
PNEXT
public static final int PNEXTThe struct member offsets. -
WAITSEMAPHORECOUNT
public static final int WAITSEMAPHORECOUNTThe struct member offsets. -
PWAITSEMAPHOREDEVICEINDICES
public static final int PWAITSEMAPHOREDEVICEINDICESThe struct member offsets. -
COMMANDBUFFERCOUNT
public static final int COMMANDBUFFERCOUNTThe struct member offsets. -
PCOMMANDBUFFERDEVICEMASKS
public static final int PCOMMANDBUFFERDEVICEMASKSThe struct member offsets. -
SIGNALSEMAPHORECOUNT
public static final int SIGNALSEMAPHORECOUNTThe struct member offsets. -
PSIGNALSEMAPHOREDEVICEINDICES
public static final int PSIGNALSEMAPHOREDEVICEINDICESThe struct member offsets.
-
-
Constructor Details
-
VkDeviceGroupSubmitInfo
Creates aVkDeviceGroupSubmitInfoinstance at the current position of the specifiedByteBuffercontainer. 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 Details
-
sizeof
public int sizeof()Description copied from class:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<VkDeviceGroupSubmitInfo>
-
sType
public int sType()- Returns:
- the value of the
sTypefield.
-
pNext
public long pNext()- Returns:
- the value of the
pNextfield.
-
waitSemaphoreCount
public int waitSemaphoreCount()- Returns:
- the value of the
waitSemaphoreCountfield.
-
pWaitSemaphoreDeviceIndices
- Returns:
- a
IntBufferview of the data pointed to by thepWaitSemaphoreDeviceIndicesfield.
-
commandBufferCount
public int commandBufferCount()- Returns:
- the value of the
commandBufferCountfield.
-
pCommandBufferDeviceMasks
- Returns:
- a
IntBufferview of the data pointed to by thepCommandBufferDeviceMasksfield.
-
signalSemaphoreCount
public int signalSemaphoreCount()- Returns:
- the value of the
signalSemaphoreCountfield.
-
pSignalSemaphoreDeviceIndices
- Returns:
- a
IntBufferview of the data pointed to by thepSignalSemaphoreDeviceIndicesfield.
-
sType
Sets the specified value to thesTypefield. -
sType$Default
Sets theSTRUCTURE_TYPE_DEVICE_GROUP_SUBMIT_INFOvalue to thesTypefield. -
pNext
Sets the specified value to thepNextfield. -
pWaitSemaphoreDeviceIndices
Sets the address of the specifiedIntBufferto thepWaitSemaphoreDeviceIndicesfield. -
pCommandBufferDeviceMasks
Sets the address of the specifiedIntBufferto thepCommandBufferDeviceMasksfield. -
pSignalSemaphoreDeviceIndices
Sets the address of the specifiedIntBufferto thepSignalSemaphoreDeviceIndicesfield. -
set
public VkDeviceGroupSubmitInfo set(int sType, long pNext, @Nullable IntBuffer pWaitSemaphoreDeviceIndices, @Nullable IntBuffer pCommandBufferDeviceMasks, @Nullable IntBuffer pSignalSemaphoreDeviceIndices) Initializes this struct with the specified values. -
set
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newVkDeviceGroupSubmitInfoinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkDeviceGroupSubmitInfoinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkDeviceGroupSubmitInfoinstance allocated withBufferUtils. -
create
Returns a newVkDeviceGroupSubmitInfoinstance for the specified memory address. -
createSafe
-
malloc
Returns a newVkDeviceGroupSubmitInfo.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkDeviceGroupSubmitInfo.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkDeviceGroupSubmitInfo.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aVkDeviceGroupSubmitInfo.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newVkDeviceGroupSubmitInfoinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newVkDeviceGroupSubmitInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newVkDeviceGroupSubmitInfo.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newVkDeviceGroupSubmitInfo.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
nsType
public static int nsType(long struct) Unsafe version ofsType(). -
npNext
public static long npNext(long struct) Unsafe version ofpNext(). -
nwaitSemaphoreCount
public static int nwaitSemaphoreCount(long struct) Unsafe version ofwaitSemaphoreCount(). -
npWaitSemaphoreDeviceIndices
Unsafe version ofpWaitSemaphoreDeviceIndices. -
ncommandBufferCount
public static int ncommandBufferCount(long struct) Unsafe version ofcommandBufferCount(). -
npCommandBufferDeviceMasks
Unsafe version ofpCommandBufferDeviceMasks. -
nsignalSemaphoreCount
public static int nsignalSemaphoreCount(long struct) Unsafe version ofsignalSemaphoreCount(). -
npSignalSemaphoreDeviceIndices
Unsafe version ofpSignalSemaphoreDeviceIndices. -
nsType
public static void nsType(long struct, int value) Unsafe version ofsType. -
npNext
public static void npNext(long struct, long value) Unsafe version ofpNext. -
nwaitSemaphoreCount
public static void nwaitSemaphoreCount(long struct, int value) Sets the specified value to thewaitSemaphoreCountfield of the specifiedstruct. -
npWaitSemaphoreDeviceIndices
Unsafe version ofpWaitSemaphoreDeviceIndices. -
ncommandBufferCount
public static void ncommandBufferCount(long struct, int value) Sets the specified value to thecommandBufferCountfield of the specifiedstruct. -
npCommandBufferDeviceMasks
Unsafe version ofpCommandBufferDeviceMasks. -
nsignalSemaphoreCount
public static void nsignalSemaphoreCount(long struct, int value) Sets the specified value to thesignalSemaphoreCountfield of the specifiedstruct. -
npSignalSemaphoreDeviceIndices
Unsafe version ofpSignalSemaphoreDeviceIndices. -
validate
public static void validate(long struct) Validates pointer members that should not beNULL.- Parameters:
struct- the struct to validate
-