Package org.lwjgl.vulkan
Class VkSemaphoreSignalInfoKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkSemaphoreSignalInfo
-
- org.lwjgl.vulkan.VkSemaphoreSignalInfoKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkSemaphoreSignalInfoKHR extends VkSemaphoreSignalInfo
SeeVkSemaphoreSignalInfo.Layout
struct VkSemaphoreSignalInfoKHR { VkStructureType sType; void const * pNext; VkSemaphore semaphore; uint64_t value; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkSemaphoreSignalInfoKHR.BufferAn array ofVkSemaphoreSignalInfoKHRstructs.
-
Constructor Summary
Constructors Constructor Description VkSemaphoreSignalInfoKHR(java.nio.ByteBuffer container)Creates aVkSemaphoreSignalInfoKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkSemaphoreSignalInfoKHRcalloc()Returns a newVkSemaphoreSignalInfoKHRinstance allocated withmemCalloc.static VkSemaphoreSignalInfoKHR.Buffercalloc(int capacity)Returns a newVkSemaphoreSignalInfoKHR.Bufferinstance allocated withmemCalloc.static VkSemaphoreSignalInfoKHR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkSemaphoreSignalInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkSemaphoreSignalInfoKHRcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkSemaphoreSignalInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkSemaphoreSignalInfoKHRcreate()Returns a newVkSemaphoreSignalInfoKHRinstance allocated withBufferUtils.static VkSemaphoreSignalInfoKHR.Buffercreate(int capacity)Returns a newVkSemaphoreSignalInfoKHR.Bufferinstance allocated withBufferUtils.static VkSemaphoreSignalInfoKHRcreate(long address)Returns a newVkSemaphoreSignalInfoKHRinstance for the specified memory address.static VkSemaphoreSignalInfoKHR.Buffercreate(long address, int capacity)Create aVkSemaphoreSignalInfoKHR.Bufferinstance at the specified memory.static VkSemaphoreSignalInfoKHRcreateSafe(long address)static VkSemaphoreSignalInfoKHR.BuffercreateSafe(long address, int capacity)static VkSemaphoreSignalInfoKHRmalloc()Returns a newVkSemaphoreSignalInfoKHRinstance allocated withmemAlloc.static VkSemaphoreSignalInfoKHR.Buffermalloc(int capacity)Returns a newVkSemaphoreSignalInfoKHR.Bufferinstance allocated withmemAlloc.static VkSemaphoreSignalInfoKHR.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkSemaphoreSignalInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkSemaphoreSignalInfoKHRmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkSemaphoreSignalInfoKHRinstance allocated on the specifiedMemoryStack.VkSemaphoreSignalInfoKHRpNext(long value)Sets the specified value to thepNextfield.VkSemaphoreSignalInfoKHRsemaphore(long value)Sets the specified value to thesemaphorefield.VkSemaphoreSignalInfoKHRset(int sType, long pNext, long semaphore, long value)Initializes this struct with the specified values.VkSemaphoreSignalInfoKHRset(VkSemaphoreSignalInfoKHR src)Copies the specified struct data to this struct.VkSemaphoreSignalInfoKHRsType(int value)Sets the specified value to thesTypefield.VkSemaphoreSignalInfoKHRsType$Default()Sets theSTRUCTURE_TYPE_SEMAPHORE_SIGNAL_INFOvalue to thesTypefield.VkSemaphoreSignalInfoKHRvalue(long value)Sets the specified value to thevaluefield.-
Methods inherited from class org.lwjgl.vulkan.VkSemaphoreSignalInfo
npNext, npNext, nsemaphore, nsemaphore, nsType, nsType, nvalue, nvalue, pNext, semaphore, set, sizeof, sType, value
-
-
-
-
Constructor Detail
-
VkSemaphoreSignalInfoKHR
public VkSemaphoreSignalInfoKHR(java.nio.ByteBuffer container)
Creates aVkSemaphoreSignalInfoKHRinstance 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 VkSemaphoreSignalInfoKHR sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkSemaphoreSignalInfo
-
sType$Default
public VkSemaphoreSignalInfoKHR sType$Default()
Sets theSTRUCTURE_TYPE_SEMAPHORE_SIGNAL_INFOvalue to thesTypefield.- Overrides:
sType$Defaultin classVkSemaphoreSignalInfo
-
pNext
public VkSemaphoreSignalInfoKHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkSemaphoreSignalInfo
-
semaphore
public VkSemaphoreSignalInfoKHR semaphore(long value)
Sets the specified value to thesemaphorefield.- Overrides:
semaphorein classVkSemaphoreSignalInfo
-
value
public VkSemaphoreSignalInfoKHR value(long value)
Sets the specified value to thevaluefield.- Overrides:
valuein classVkSemaphoreSignalInfo
-
set
public VkSemaphoreSignalInfoKHR set(int sType, long pNext, long semaphore, long value)
Initializes this struct with the specified values.- Overrides:
setin classVkSemaphoreSignalInfo
-
set
public VkSemaphoreSignalInfoKHR set(VkSemaphoreSignalInfoKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkSemaphoreSignalInfoKHR malloc()
Returns a newVkSemaphoreSignalInfoKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkSemaphoreSignalInfoKHR calloc()
Returns a newVkSemaphoreSignalInfoKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkSemaphoreSignalInfoKHR create()
Returns a newVkSemaphoreSignalInfoKHRinstance allocated withBufferUtils.
-
create
public static VkSemaphoreSignalInfoKHR create(long address)
Returns a newVkSemaphoreSignalInfoKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkSemaphoreSignalInfoKHR createSafe(long address)
-
malloc
public static VkSemaphoreSignalInfoKHR.Buffer malloc(int capacity)
Returns a newVkSemaphoreSignalInfoKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkSemaphoreSignalInfoKHR.Buffer calloc(int capacity)
Returns a newVkSemaphoreSignalInfoKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkSemaphoreSignalInfoKHR.Buffer create(int capacity)
Returns a newVkSemaphoreSignalInfoKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkSemaphoreSignalInfoKHR.Buffer create(long address, int capacity)
Create aVkSemaphoreSignalInfoKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkSemaphoreSignalInfoKHR.Buffer createSafe(long address, int capacity)
-
malloc
public static VkSemaphoreSignalInfoKHR malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkSemaphoreSignalInfoKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkSemaphoreSignalInfoKHR calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkSemaphoreSignalInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkSemaphoreSignalInfoKHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkSemaphoreSignalInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkSemaphoreSignalInfoKHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkSemaphoreSignalInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-