Package org.lwjgl.vulkan
Class VkSemaphoreSubmitInfoKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkSemaphoreSubmitInfo
-
- org.lwjgl.vulkan.VkSemaphoreSubmitInfoKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkSemaphoreSubmitInfoKHR extends VkSemaphoreSubmitInfo
SeeVkSemaphoreSubmitInfo.Layout
struct VkSemaphoreSubmitInfoKHR { VkStructureType sType; void const * pNext; VkSemaphore semaphore; uint64_t value; VkPipelineStageFlags2 stageMask; uint32_t deviceIndex; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkSemaphoreSubmitInfoKHR.BufferAn array ofVkSemaphoreSubmitInfoKHRstructs.
-
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.VkSemaphoreSubmitInfo
ALIGNOF, DEVICEINDEX, PNEXT, SEMAPHORE, SIZEOF, STAGEMASK, STYPE, VALUE
-
-
Constructor Summary
Constructors Constructor Description VkSemaphoreSubmitInfoKHR(java.nio.ByteBuffer container)Creates aVkSemaphoreSubmitInfoKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkSemaphoreSubmitInfoKHRcalloc()Returns a newVkSemaphoreSubmitInfoKHRinstance allocated withmemCalloc.static VkSemaphoreSubmitInfoKHR.Buffercalloc(int capacity)Returns a newVkSemaphoreSubmitInfoKHR.Bufferinstance allocated withmemCalloc.static VkSemaphoreSubmitInfoKHR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkSemaphoreSubmitInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkSemaphoreSubmitInfoKHRcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkSemaphoreSubmitInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkSemaphoreSubmitInfoKHRcreate()Returns a newVkSemaphoreSubmitInfoKHRinstance allocated withBufferUtils.static VkSemaphoreSubmitInfoKHR.Buffercreate(int capacity)Returns a newVkSemaphoreSubmitInfoKHR.Bufferinstance allocated withBufferUtils.static VkSemaphoreSubmitInfoKHRcreate(long address)Returns a newVkSemaphoreSubmitInfoKHRinstance for the specified memory address.static VkSemaphoreSubmitInfoKHR.Buffercreate(long address, int capacity)Create aVkSemaphoreSubmitInfoKHR.Bufferinstance at the specified memory.static VkSemaphoreSubmitInfoKHRcreateSafe(long address)static VkSemaphoreSubmitInfoKHR.BuffercreateSafe(long address, int capacity)VkSemaphoreSubmitInfoKHRdeviceIndex(int value)Sets the specified value to thedeviceIndexfield.static VkSemaphoreSubmitInfoKHRmalloc()Returns a newVkSemaphoreSubmitInfoKHRinstance allocated withmemAlloc.static VkSemaphoreSubmitInfoKHR.Buffermalloc(int capacity)Returns a newVkSemaphoreSubmitInfoKHR.Bufferinstance allocated withmemAlloc.static VkSemaphoreSubmitInfoKHR.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkSemaphoreSubmitInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkSemaphoreSubmitInfoKHRmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkSemaphoreSubmitInfoKHRinstance allocated on the specifiedMemoryStack.VkSemaphoreSubmitInfoKHRpNext(long value)Sets the specified value to thepNextfield.VkSemaphoreSubmitInfoKHRsemaphore(long value)Sets the specified value to thesemaphorefield.VkSemaphoreSubmitInfoKHRset(int sType, long pNext, long semaphore, long value, long stageMask, int deviceIndex)Initializes this struct with the specified values.VkSemaphoreSubmitInfoKHRset(VkSemaphoreSubmitInfoKHR src)Copies the specified struct data to this struct.VkSemaphoreSubmitInfoKHRstageMask(long value)Sets the specified value to thestageMaskfield.VkSemaphoreSubmitInfoKHRsType(int value)Sets the specified value to thesTypefield.VkSemaphoreSubmitInfoKHRsType$Default()Sets theSTRUCTURE_TYPE_SEMAPHORE_SUBMIT_INFOvalue to thesTypefield.VkSemaphoreSubmitInfoKHRvalue(long value)Sets the specified value to thevaluefield.-
Methods inherited from class org.lwjgl.vulkan.VkSemaphoreSubmitInfo
deviceIndex, ndeviceIndex, ndeviceIndex, npNext, npNext, nsemaphore, nsemaphore, nstageMask, nstageMask, nsType, nsType, nvalue, nvalue, pNext, semaphore, set, sizeof, stageMask, sType, value
-
-
-
-
Constructor Detail
-
VkSemaphoreSubmitInfoKHR
public VkSemaphoreSubmitInfoKHR(java.nio.ByteBuffer container)
Creates aVkSemaphoreSubmitInfoKHRinstance 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 VkSemaphoreSubmitInfoKHR sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkSemaphoreSubmitInfo
-
sType$Default
public VkSemaphoreSubmitInfoKHR sType$Default()
Sets theSTRUCTURE_TYPE_SEMAPHORE_SUBMIT_INFOvalue to thesTypefield.- Overrides:
sType$Defaultin classVkSemaphoreSubmitInfo
-
pNext
public VkSemaphoreSubmitInfoKHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkSemaphoreSubmitInfo
-
semaphore
public VkSemaphoreSubmitInfoKHR semaphore(long value)
Sets the specified value to thesemaphorefield.- Overrides:
semaphorein classVkSemaphoreSubmitInfo
-
value
public VkSemaphoreSubmitInfoKHR value(long value)
Sets the specified value to thevaluefield.- Overrides:
valuein classVkSemaphoreSubmitInfo
-
stageMask
public VkSemaphoreSubmitInfoKHR stageMask(long value)
Sets the specified value to thestageMaskfield.- Overrides:
stageMaskin classVkSemaphoreSubmitInfo
-
deviceIndex
public VkSemaphoreSubmitInfoKHR deviceIndex(int value)
Sets the specified value to thedeviceIndexfield.- Overrides:
deviceIndexin classVkSemaphoreSubmitInfo
-
set
public VkSemaphoreSubmitInfoKHR set(int sType, long pNext, long semaphore, long value, long stageMask, int deviceIndex)
Initializes this struct with the specified values.- Overrides:
setin classVkSemaphoreSubmitInfo
-
set
public VkSemaphoreSubmitInfoKHR set(VkSemaphoreSubmitInfoKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkSemaphoreSubmitInfoKHR malloc()
Returns a newVkSemaphoreSubmitInfoKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkSemaphoreSubmitInfoKHR calloc()
Returns a newVkSemaphoreSubmitInfoKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkSemaphoreSubmitInfoKHR create()
Returns a newVkSemaphoreSubmitInfoKHRinstance allocated withBufferUtils.
-
create
public static VkSemaphoreSubmitInfoKHR create(long address)
Returns a newVkSemaphoreSubmitInfoKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkSemaphoreSubmitInfoKHR createSafe(long address)
-
malloc
public static VkSemaphoreSubmitInfoKHR.Buffer malloc(int capacity)
Returns a newVkSemaphoreSubmitInfoKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkSemaphoreSubmitInfoKHR.Buffer calloc(int capacity)
Returns a newVkSemaphoreSubmitInfoKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkSemaphoreSubmitInfoKHR.Buffer create(int capacity)
Returns a newVkSemaphoreSubmitInfoKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkSemaphoreSubmitInfoKHR.Buffer create(long address, int capacity)
Create aVkSemaphoreSubmitInfoKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkSemaphoreSubmitInfoKHR.Buffer createSafe(long address, int capacity)
-
malloc
public static VkSemaphoreSubmitInfoKHR malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkSemaphoreSubmitInfoKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkSemaphoreSubmitInfoKHR calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkSemaphoreSubmitInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkSemaphoreSubmitInfoKHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkSemaphoreSubmitInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkSemaphoreSubmitInfoKHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkSemaphoreSubmitInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-