Package org.lwjgl.vulkan
Class VkDeviceGroupSubmitInfoKHR
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkDeviceGroupSubmitInfo>
org.lwjgl.vulkan.VkDeviceGroupSubmitInfo
org.lwjgl.vulkan.VkDeviceGroupSubmitInfoKHR
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
struct VkDeviceGroupSubmitInfoKHR {
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
Fields inherited from class org.lwjgl.vulkan.VkDeviceGroupSubmitInfo
ALIGNOF, COMMANDBUFFERCOUNT, PCOMMANDBUFFERDEVICEMASKS, PNEXT, PSIGNALSEMAPHOREDEVICEINDICES, PWAITSEMAPHOREDEVICEINDICES, SIGNALSEMAPHORECOUNT, SIZEOF, STYPE, WAITSEMAPHORECOUNTFields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionVkDeviceGroupSubmitInfoKHR(ByteBuffer container) Creates aVkDeviceGroupSubmitInfoKHRinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkDeviceGroupSubmitInfoKHRcalloc()Returns a newVkDeviceGroupSubmitInfoKHRinstance allocated withmemCalloc.calloc(int capacity) Returns a newVkDeviceGroupSubmitInfoKHR.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newVkDeviceGroupSubmitInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkDeviceGroupSubmitInfoKHRcalloc(MemoryStack stack) Returns a newVkDeviceGroupSubmitInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkDeviceGroupSubmitInfoKHRcreate()Returns a newVkDeviceGroupSubmitInfoKHRinstance allocated withBufferUtils.create(int capacity) Returns a newVkDeviceGroupSubmitInfoKHR.Bufferinstance allocated withBufferUtils.static VkDeviceGroupSubmitInfoKHRcreate(long address) Returns a newVkDeviceGroupSubmitInfoKHRinstance for the specified memory address.create(long address, int capacity) Create aVkDeviceGroupSubmitInfoKHR.Bufferinstance at the specified memory.static @Nullable VkDeviceGroupSubmitInfoKHRcreateSafe(long address) static @Nullable VkDeviceGroupSubmitInfoKHR.BuffercreateSafe(long address, int capacity) static VkDeviceGroupSubmitInfoKHRmalloc()Returns a newVkDeviceGroupSubmitInfoKHRinstance allocated withmemAlloc.malloc(int capacity) Returns a newVkDeviceGroupSubmitInfoKHR.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newVkDeviceGroupSubmitInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkDeviceGroupSubmitInfoKHRmalloc(MemoryStack stack) Returns a newVkDeviceGroupSubmitInfoKHRinstance allocated on the specifiedMemoryStack.pCommandBufferDeviceMasks(@Nullable IntBuffer value) Sets the address of the specifiedIntBufferto thepCommandBufferDeviceMasksfield.pNext(long value) Sets the specified value to thepNextfield.pSignalSemaphoreDeviceIndices(@Nullable IntBuffer value) Sets the address of the specifiedIntBufferto thepSignalSemaphoreDeviceIndicesfield.pWaitSemaphoreDeviceIndices(@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.sType(int value) Sets the specified value to thesTypefield.Sets theSTRUCTURE_TYPE_DEVICE_GROUP_SUBMIT_INFOvalue to thesTypefield.Methods inherited from class org.lwjgl.vulkan.VkDeviceGroupSubmitInfo
commandBufferCount, ncommandBufferCount, ncommandBufferCount, npCommandBufferDeviceMasks, npCommandBufferDeviceMasks, npNext, npNext, npSignalSemaphoreDeviceIndices, npSignalSemaphoreDeviceIndices, npWaitSemaphoreDeviceIndices, npWaitSemaphoreDeviceIndices, nsignalSemaphoreCount, nsignalSemaphoreCount, nsType, nsType, nwaitSemaphoreCount, nwaitSemaphoreCount, pCommandBufferDeviceMasks, pNext, pSignalSemaphoreDeviceIndices, pWaitSemaphoreDeviceIndices, set, signalSemaphoreCount, sizeof, sType, validate, waitSemaphoreCountMethods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
VkDeviceGroupSubmitInfoKHR
Creates aVkDeviceGroupSubmitInfoKHRinstance 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
-
sType
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkDeviceGroupSubmitInfo
-
sType$Default
Sets theSTRUCTURE_TYPE_DEVICE_GROUP_SUBMIT_INFOvalue to thesTypefield.- Overrides:
sType$Defaultin classVkDeviceGroupSubmitInfo
-
pNext
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkDeviceGroupSubmitInfo
-
pWaitSemaphoreDeviceIndices
Sets the address of the specifiedIntBufferto thepWaitSemaphoreDeviceIndicesfield.- Overrides:
pWaitSemaphoreDeviceIndicesin classVkDeviceGroupSubmitInfo
-
pCommandBufferDeviceMasks
Sets the address of the specifiedIntBufferto thepCommandBufferDeviceMasksfield.- Overrides:
pCommandBufferDeviceMasksin classVkDeviceGroupSubmitInfo
-
pSignalSemaphoreDeviceIndices
Sets the address of the specifiedIntBufferto thepSignalSemaphoreDeviceIndicesfield.- Overrides:
pSignalSemaphoreDeviceIndicesin classVkDeviceGroupSubmitInfo
-
set
public VkDeviceGroupSubmitInfoKHR set(int sType, long pNext, @Nullable IntBuffer pWaitSemaphoreDeviceIndices, @Nullable IntBuffer pCommandBufferDeviceMasks, @Nullable IntBuffer pSignalSemaphoreDeviceIndices) Initializes this struct with the specified values.- Overrides:
setin classVkDeviceGroupSubmitInfo
-
set
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newVkDeviceGroupSubmitInfoKHRinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkDeviceGroupSubmitInfoKHRinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkDeviceGroupSubmitInfoKHRinstance allocated withBufferUtils. -
create
Returns a newVkDeviceGroupSubmitInfoKHRinstance for the specified memory address. -
createSafe
-
malloc
Returns a newVkDeviceGroupSubmitInfoKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkDeviceGroupSubmitInfoKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkDeviceGroupSubmitInfoKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aVkDeviceGroupSubmitInfoKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newVkDeviceGroupSubmitInfoKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newVkDeviceGroupSubmitInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newVkDeviceGroupSubmitInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newVkDeviceGroupSubmitInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-