Package org.lwjgl.vulkan
Class VkDeviceGroupSubmitInfoKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkDeviceGroupSubmitInfo
-
- org.lwjgl.vulkan.VkDeviceGroupSubmitInfoKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
public class VkDeviceGroupSubmitInfoKHR extends VkDeviceGroupSubmitInfo
SeeVkDeviceGroupSubmitInfo
.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 Modifier and Type Class Description static class
VkDeviceGroupSubmitInfoKHR.Buffer
An array ofVkDeviceGroupSubmitInfoKHR
structs.
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Fields inherited from class org.lwjgl.vulkan.VkDeviceGroupSubmitInfo
ALIGNOF, COMMANDBUFFERCOUNT, PCOMMANDBUFFERDEVICEMASKS, PNEXT, PSIGNALSEMAPHOREDEVICEINDICES, PWAITSEMAPHOREDEVICEINDICES, SIGNALSEMAPHORECOUNT, SIZEOF, STYPE, WAITSEMAPHORECOUNT
-
-
Constructor Summary
Constructors Constructor Description VkDeviceGroupSubmitInfoKHR(java.nio.ByteBuffer container)
Creates aVkDeviceGroupSubmitInfoKHR
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkDeviceGroupSubmitInfoKHR
calloc()
Returns a newVkDeviceGroupSubmitInfoKHR
instance allocated withmemCalloc
.static VkDeviceGroupSubmitInfoKHR.Buffer
calloc(int capacity)
Returns a newVkDeviceGroupSubmitInfoKHR.Buffer
instance allocated withmemCalloc
.static VkDeviceGroupSubmitInfoKHR
callocStack()
Returns a newVkDeviceGroupSubmitInfoKHR
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkDeviceGroupSubmitInfoKHR.Buffer
callocStack(int capacity)
Returns a newVkDeviceGroupSubmitInfoKHR.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkDeviceGroupSubmitInfoKHR.Buffer
callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGroupSubmitInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkDeviceGroupSubmitInfoKHR
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGroupSubmitInfoKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkDeviceGroupSubmitInfoKHR
create()
Returns a newVkDeviceGroupSubmitInfoKHR
instance allocated withBufferUtils
.static VkDeviceGroupSubmitInfoKHR.Buffer
create(int capacity)
Returns a newVkDeviceGroupSubmitInfoKHR.Buffer
instance allocated withBufferUtils
.static VkDeviceGroupSubmitInfoKHR
create(long address)
Returns a newVkDeviceGroupSubmitInfoKHR
instance for the specified memory address.static VkDeviceGroupSubmitInfoKHR.Buffer
create(long address, int capacity)
Create aVkDeviceGroupSubmitInfoKHR.Buffer
instance at the specified memory.static VkDeviceGroupSubmitInfoKHR
createSafe(long address)
static VkDeviceGroupSubmitInfoKHR.Buffer
createSafe(long address, int capacity)
static VkDeviceGroupSubmitInfoKHR
malloc()
Returns a newVkDeviceGroupSubmitInfoKHR
instance allocated withmemAlloc
.static VkDeviceGroupSubmitInfoKHR.Buffer
malloc(int capacity)
Returns a newVkDeviceGroupSubmitInfoKHR.Buffer
instance allocated withmemAlloc
.static VkDeviceGroupSubmitInfoKHR
mallocStack()
Returns a newVkDeviceGroupSubmitInfoKHR
instance allocated on the thread-localMemoryStack
.static VkDeviceGroupSubmitInfoKHR.Buffer
mallocStack(int capacity)
Returns a newVkDeviceGroupSubmitInfoKHR.Buffer
instance allocated on the thread-localMemoryStack
.static VkDeviceGroupSubmitInfoKHR.Buffer
mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGroupSubmitInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
.static VkDeviceGroupSubmitInfoKHR
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGroupSubmitInfoKHR
instance allocated on the specifiedMemoryStack
.VkDeviceGroupSubmitInfoKHR
pCommandBufferDeviceMasks(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thepCommandBufferDeviceMasks
field.VkDeviceGroupSubmitInfoKHR
pNext(long value)
Sets the specified value to thepNext
field.VkDeviceGroupSubmitInfoKHR
pSignalSemaphoreDeviceIndices(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thepSignalSemaphoreDeviceIndices
field.VkDeviceGroupSubmitInfoKHR
pWaitSemaphoreDeviceIndices(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thepWaitSemaphoreDeviceIndices
field.VkDeviceGroupSubmitInfoKHR
set(int sType, long pNext, java.nio.IntBuffer pWaitSemaphoreDeviceIndices, java.nio.IntBuffer pCommandBufferDeviceMasks, java.nio.IntBuffer pSignalSemaphoreDeviceIndices)
Initializes this struct with the specified values.VkDeviceGroupSubmitInfoKHR
set(VkDeviceGroupSubmitInfoKHR src)
Copies the specified struct data to this struct.VkDeviceGroupSubmitInfoKHR
sType(int value)
Sets the specified 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, validate, waitSemaphoreCount
-
-
-
-
Constructor Detail
-
VkDeviceGroupSubmitInfoKHR
public VkDeviceGroupSubmitInfoKHR(java.nio.ByteBuffer container)
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 Detail
-
sType
public VkDeviceGroupSubmitInfoKHR sType(int value)
Sets the specified value to thesType
field.- Overrides:
sType
in classVkDeviceGroupSubmitInfo
-
pNext
public VkDeviceGroupSubmitInfoKHR pNext(long value)
Sets the specified value to thepNext
field.- Overrides:
pNext
in classVkDeviceGroupSubmitInfo
-
pWaitSemaphoreDeviceIndices
public VkDeviceGroupSubmitInfoKHR pWaitSemaphoreDeviceIndices(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thepWaitSemaphoreDeviceIndices
field.- Overrides:
pWaitSemaphoreDeviceIndices
in classVkDeviceGroupSubmitInfo
-
pCommandBufferDeviceMasks
public VkDeviceGroupSubmitInfoKHR pCommandBufferDeviceMasks(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thepCommandBufferDeviceMasks
field.- Overrides:
pCommandBufferDeviceMasks
in classVkDeviceGroupSubmitInfo
-
pSignalSemaphoreDeviceIndices
public VkDeviceGroupSubmitInfoKHR pSignalSemaphoreDeviceIndices(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thepSignalSemaphoreDeviceIndices
field.- Overrides:
pSignalSemaphoreDeviceIndices
in classVkDeviceGroupSubmitInfo
-
set
public VkDeviceGroupSubmitInfoKHR set(int sType, long pNext, @Nullable java.nio.IntBuffer pWaitSemaphoreDeviceIndices, @Nullable java.nio.IntBuffer pCommandBufferDeviceMasks, @Nullable java.nio.IntBuffer pSignalSemaphoreDeviceIndices)
Initializes this struct with the specified values.- Overrides:
set
in classVkDeviceGroupSubmitInfo
-
set
public VkDeviceGroupSubmitInfoKHR set(VkDeviceGroupSubmitInfoKHR src)
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
public static VkDeviceGroupSubmitInfoKHR malloc()
Returns a newVkDeviceGroupSubmitInfoKHR
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static VkDeviceGroupSubmitInfoKHR calloc()
Returns a newVkDeviceGroupSubmitInfoKHR
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static VkDeviceGroupSubmitInfoKHR create()
Returns a newVkDeviceGroupSubmitInfoKHR
instance allocated withBufferUtils
.
-
create
public static VkDeviceGroupSubmitInfoKHR create(long address)
Returns a newVkDeviceGroupSubmitInfoKHR
instance for the specified memory address.
-
createSafe
@Nullable public static VkDeviceGroupSubmitInfoKHR createSafe(long address)
-
malloc
public static VkDeviceGroupSubmitInfoKHR.Buffer malloc(int capacity)
Returns a newVkDeviceGroupSubmitInfoKHR.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static VkDeviceGroupSubmitInfoKHR.Buffer calloc(int capacity)
Returns a newVkDeviceGroupSubmitInfoKHR.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static VkDeviceGroupSubmitInfoKHR.Buffer create(int capacity)
Returns a newVkDeviceGroupSubmitInfoKHR.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static VkDeviceGroupSubmitInfoKHR.Buffer create(long address, int capacity)
Create aVkDeviceGroupSubmitInfoKHR.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static VkDeviceGroupSubmitInfoKHR.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkDeviceGroupSubmitInfoKHR mallocStack()
Returns a newVkDeviceGroupSubmitInfoKHR
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static VkDeviceGroupSubmitInfoKHR callocStack()
Returns a newVkDeviceGroupSubmitInfoKHR
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static VkDeviceGroupSubmitInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGroupSubmitInfoKHR
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static VkDeviceGroupSubmitInfoKHR callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGroupSubmitInfoKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
mallocStack
public static VkDeviceGroupSubmitInfoKHR.Buffer mallocStack(int capacity)
Returns a newVkDeviceGroupSubmitInfoKHR.Buffer
instance allocated on the thread-localMemoryStack
.- Parameters:
capacity
- the buffer capacity
-
callocStack
public static VkDeviceGroupSubmitInfoKHR.Buffer callocStack(int capacity)
Returns a newVkDeviceGroupSubmitInfoKHR.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacity
-
mallocStack
public static VkDeviceGroupSubmitInfoKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGroupSubmitInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
callocStack
public static VkDeviceGroupSubmitInfoKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGroupSubmitInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
-