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 classVkDeviceGroupSubmitInfoKHR.BufferAn array ofVkDeviceGroupSubmitInfoKHRstructs.
-
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 aVkDeviceGroupSubmitInfoKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkDeviceGroupSubmitInfoKHRcalloc()Returns a newVkDeviceGroupSubmitInfoKHRinstance allocated withmemCalloc.static VkDeviceGroupSubmitInfoKHR.Buffercalloc(int capacity)Returns a newVkDeviceGroupSubmitInfoKHR.Bufferinstance allocated withmemCalloc.static VkDeviceGroupSubmitInfoKHRcallocStack()Returns a newVkDeviceGroupSubmitInfoKHRinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkDeviceGroupSubmitInfoKHR.BuffercallocStack(int capacity)Returns a newVkDeviceGroupSubmitInfoKHR.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkDeviceGroupSubmitInfoKHR.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkDeviceGroupSubmitInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkDeviceGroupSubmitInfoKHRcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkDeviceGroupSubmitInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkDeviceGroupSubmitInfoKHRcreate()Returns a newVkDeviceGroupSubmitInfoKHRinstance allocated withBufferUtils.static VkDeviceGroupSubmitInfoKHR.Buffercreate(int capacity)Returns a newVkDeviceGroupSubmitInfoKHR.Bufferinstance allocated withBufferUtils.static VkDeviceGroupSubmitInfoKHRcreate(long address)Returns a newVkDeviceGroupSubmitInfoKHRinstance for the specified memory address.static VkDeviceGroupSubmitInfoKHR.Buffercreate(long address, int capacity)Create aVkDeviceGroupSubmitInfoKHR.Bufferinstance at the specified memory.static VkDeviceGroupSubmitInfoKHRcreateSafe(long address)static VkDeviceGroupSubmitInfoKHR.BuffercreateSafe(long address, int capacity)static VkDeviceGroupSubmitInfoKHRmalloc()Returns a newVkDeviceGroupSubmitInfoKHRinstance allocated withmemAlloc.static VkDeviceGroupSubmitInfoKHR.Buffermalloc(int capacity)Returns a newVkDeviceGroupSubmitInfoKHR.Bufferinstance allocated withmemAlloc.static VkDeviceGroupSubmitInfoKHRmallocStack()Returns a newVkDeviceGroupSubmitInfoKHRinstance allocated on the thread-localMemoryStack.static VkDeviceGroupSubmitInfoKHR.BuffermallocStack(int capacity)Returns a newVkDeviceGroupSubmitInfoKHR.Bufferinstance allocated on the thread-localMemoryStack.static VkDeviceGroupSubmitInfoKHR.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkDeviceGroupSubmitInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkDeviceGroupSubmitInfoKHRmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkDeviceGroupSubmitInfoKHRinstance allocated on the specifiedMemoryStack.VkDeviceGroupSubmitInfoKHRpCommandBufferDeviceMasks(java.nio.IntBuffer value)Sets the address of the specifiedIntBufferto thepCommandBufferDeviceMasksfield.VkDeviceGroupSubmitInfoKHRpNext(long value)Sets the specified value to thepNextfield.VkDeviceGroupSubmitInfoKHRpSignalSemaphoreDeviceIndices(java.nio.IntBuffer value)Sets the address of the specifiedIntBufferto thepSignalSemaphoreDeviceIndicesfield.VkDeviceGroupSubmitInfoKHRpWaitSemaphoreDeviceIndices(java.nio.IntBuffer value)Sets the address of the specifiedIntBufferto thepWaitSemaphoreDeviceIndicesfield.VkDeviceGroupSubmitInfoKHRset(int sType, long pNext, java.nio.IntBuffer pWaitSemaphoreDeviceIndices, java.nio.IntBuffer pCommandBufferDeviceMasks, java.nio.IntBuffer pSignalSemaphoreDeviceIndices)Initializes this struct with the specified values.VkDeviceGroupSubmitInfoKHRset(VkDeviceGroupSubmitInfoKHR src)Copies the specified struct data to this struct.VkDeviceGroupSubmitInfoKHRsType(int value)Sets the specified value 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, validate, waitSemaphoreCount
-
-
-
-
Constructor Detail
-
VkDeviceGroupSubmitInfoKHR
public VkDeviceGroupSubmitInfoKHR(java.nio.ByteBuffer container)
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 Detail
-
sType
public VkDeviceGroupSubmitInfoKHR sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkDeviceGroupSubmitInfo
-
pNext
public VkDeviceGroupSubmitInfoKHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkDeviceGroupSubmitInfo
-
pWaitSemaphoreDeviceIndices
public VkDeviceGroupSubmitInfoKHR pWaitSemaphoreDeviceIndices(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto thepWaitSemaphoreDeviceIndicesfield.- Overrides:
pWaitSemaphoreDeviceIndicesin classVkDeviceGroupSubmitInfo
-
pCommandBufferDeviceMasks
public VkDeviceGroupSubmitInfoKHR pCommandBufferDeviceMasks(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto thepCommandBufferDeviceMasksfield.- Overrides:
pCommandBufferDeviceMasksin classVkDeviceGroupSubmitInfo
-
pSignalSemaphoreDeviceIndices
public VkDeviceGroupSubmitInfoKHR pSignalSemaphoreDeviceIndices(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto thepSignalSemaphoreDeviceIndicesfield.- Overrides:
pSignalSemaphoreDeviceIndicesin 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:
setin 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 newVkDeviceGroupSubmitInfoKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkDeviceGroupSubmitInfoKHR calloc()
Returns a newVkDeviceGroupSubmitInfoKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkDeviceGroupSubmitInfoKHR create()
Returns a newVkDeviceGroupSubmitInfoKHRinstance allocated withBufferUtils.
-
create
public static VkDeviceGroupSubmitInfoKHR create(long address)
Returns a newVkDeviceGroupSubmitInfoKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkDeviceGroupSubmitInfoKHR createSafe(long address)
-
malloc
public static VkDeviceGroupSubmitInfoKHR.Buffer malloc(int capacity)
Returns a newVkDeviceGroupSubmitInfoKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkDeviceGroupSubmitInfoKHR.Buffer calloc(int capacity)
Returns a newVkDeviceGroupSubmitInfoKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkDeviceGroupSubmitInfoKHR.Buffer create(int capacity)
Returns a newVkDeviceGroupSubmitInfoKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkDeviceGroupSubmitInfoKHR.Buffer create(long address, int capacity)
Create aVkDeviceGroupSubmitInfoKHR.Bufferinstance 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 newVkDeviceGroupSubmitInfoKHRinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkDeviceGroupSubmitInfoKHR callocStack()
Returns a newVkDeviceGroupSubmitInfoKHRinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkDeviceGroupSubmitInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGroupSubmitInfoKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkDeviceGroupSubmitInfoKHR callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGroupSubmitInfoKHRinstance allocated on the specifiedMemoryStackand 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.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkDeviceGroupSubmitInfoKHR.Buffer callocStack(int capacity)
Returns a newVkDeviceGroupSubmitInfoKHR.Bufferinstance allocated on the thread-localMemoryStackand 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.Bufferinstance 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.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-