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
See
VkDeviceGroupSubmitInfo
.
Layout
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 classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested 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, WAITSEMAPHORECOUNT
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorDescriptionVkDeviceGroupSubmitInfoKHR
(ByteBuffer container) Creates aVkDeviceGroupSubmitInfoKHR
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkDeviceGroupSubmitInfoKHR
calloc()
Returns a newVkDeviceGroupSubmitInfoKHR
instance allocated withmemCalloc
.calloc
(int capacity) Returns a newVkDeviceGroupSubmitInfoKHR.Buffer
instance allocated withmemCalloc
.calloc
(int capacity, MemoryStack stack) Returns a newVkDeviceGroupSubmitInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkDeviceGroupSubmitInfoKHR
calloc
(MemoryStack stack) Returns a newVkDeviceGroupSubmitInfoKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkDeviceGroupSubmitInfoKHR
Deprecated.callocStack
(int capacity) Deprecated.callocStack
(int capacity, MemoryStack stack) Deprecated.static VkDeviceGroupSubmitInfoKHR
callocStack
(MemoryStack stack) Deprecated.static VkDeviceGroupSubmitInfoKHR
create()
Returns a newVkDeviceGroupSubmitInfoKHR
instance allocated withBufferUtils
.create
(int capacity) Returns a newVkDeviceGroupSubmitInfoKHR.Buffer
instance allocated withBufferUtils
.static VkDeviceGroupSubmitInfoKHR
create
(long address) Returns a newVkDeviceGroupSubmitInfoKHR
instance for the specified memory address.create
(long address, int capacity) Create aVkDeviceGroupSubmitInfoKHR.Buffer
instance at the specified memory.static VkDeviceGroupSubmitInfoKHR
createSafe
(long address) createSafe
(long address, int capacity) static VkDeviceGroupSubmitInfoKHR
malloc()
Returns a newVkDeviceGroupSubmitInfoKHR
instance allocated withmemAlloc
.malloc
(int capacity) Returns a newVkDeviceGroupSubmitInfoKHR.Buffer
instance allocated withmemAlloc
.malloc
(int capacity, MemoryStack stack) Returns a newVkDeviceGroupSubmitInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
.static VkDeviceGroupSubmitInfoKHR
malloc
(MemoryStack stack) Returns a newVkDeviceGroupSubmitInfoKHR
instance allocated on the specifiedMemoryStack
.static VkDeviceGroupSubmitInfoKHR
Deprecated.mallocStack
(int capacity) Deprecated.mallocStack
(int capacity, MemoryStack stack) Deprecated.static VkDeviceGroupSubmitInfoKHR
mallocStack
(MemoryStack stack) Deprecated.Sets the address of the specifiedIntBuffer
to thepCommandBufferDeviceMasks
field.pNext
(long value) Sets the specified value to thepNext
field.Sets the address of the specifiedIntBuffer
to thepSignalSemaphoreDeviceIndices
field.Sets the address of the specifiedIntBuffer
to thepWaitSemaphoreDeviceIndices
field.set
(int sType, long pNext, IntBuffer pWaitSemaphoreDeviceIndices, IntBuffer pCommandBufferDeviceMasks, 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 thesType
field.Sets theSTRUCTURE_TYPE_DEVICE_GROUP_SUBMIT_INFO
value to thesType
field.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, waitSemaphoreCount
Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
VkDeviceGroupSubmitInfoKHR
Creates aVkDeviceGroupSubmitInfoKHR
instance at the current position of the specifiedByteBuffer
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.
-
-
Method Details
-
sType
Sets the specified value to thesType
field.- Overrides:
sType
in classVkDeviceGroupSubmitInfo
-
sType$Default
Sets theSTRUCTURE_TYPE_DEVICE_GROUP_SUBMIT_INFO
value to thesType
field.- Overrides:
sType$Default
in classVkDeviceGroupSubmitInfo
-
pNext
Sets the specified value to thepNext
field.- Overrides:
pNext
in classVkDeviceGroupSubmitInfo
-
pWaitSemaphoreDeviceIndices
Sets the address of the specifiedIntBuffer
to thepWaitSemaphoreDeviceIndices
field.- Overrides:
pWaitSemaphoreDeviceIndices
in classVkDeviceGroupSubmitInfo
-
pCommandBufferDeviceMasks
Sets the address of the specifiedIntBuffer
to thepCommandBufferDeviceMasks
field.- Overrides:
pCommandBufferDeviceMasks
in classVkDeviceGroupSubmitInfo
-
pSignalSemaphoreDeviceIndices
Sets the address of the specifiedIntBuffer
to thepSignalSemaphoreDeviceIndices
field.- Overrides:
pSignalSemaphoreDeviceIndices
in 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:
set
in classVkDeviceGroupSubmitInfo
-
set
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
Returns a newVkDeviceGroupSubmitInfoKHR
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newVkDeviceGroupSubmitInfoKHR
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newVkDeviceGroupSubmitInfoKHR
instance allocated withBufferUtils
. -
create
Returns a newVkDeviceGroupSubmitInfoKHR
instance for the specified memory address. -
createSafe
-
malloc
Returns a newVkDeviceGroupSubmitInfoKHR.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newVkDeviceGroupSubmitInfoKHR.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newVkDeviceGroupSubmitInfoKHR.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aVkDeviceGroupSubmitInfoKHR.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)
instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)
instead. -
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)
instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)
instead. -
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)
instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)
instead. -
mallocStack
@Deprecated public static VkDeviceGroupSubmitInfoKHR.Buffer mallocStack(int capacity, MemoryStack stack) Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)
instead. -
callocStack
@Deprecated public static VkDeviceGroupSubmitInfoKHR.Buffer callocStack(int capacity, MemoryStack stack) Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)
instead. -
malloc
Returns a newVkDeviceGroupSubmitInfoKHR
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newVkDeviceGroupSubmitInfoKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newVkDeviceGroupSubmitInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newVkDeviceGroupSubmitInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-