Package org.lwjgl.vulkan
Class VkSemaphoreTypeCreateInfoKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkSemaphoreTypeCreateInfo
-
- org.lwjgl.vulkan.VkSemaphoreTypeCreateInfoKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkSemaphoreTypeCreateInfoKHR extends VkSemaphoreTypeCreateInfo
SeeVkSemaphoreTypeCreateInfo.Layout
struct VkSemaphoreTypeCreateInfoKHR { VkStructureType sType; void const * pNext; VkSemaphoreType semaphoreType; uint64_t initialValue; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkSemaphoreTypeCreateInfoKHR.BufferAn array ofVkSemaphoreTypeCreateInfoKHRstructs.
-
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.VkSemaphoreTypeCreateInfo
ALIGNOF, INITIALVALUE, PNEXT, SEMAPHORETYPE, SIZEOF, STYPE
-
-
Constructor Summary
Constructors Constructor Description VkSemaphoreTypeCreateInfoKHR(java.nio.ByteBuffer container)Creates aVkSemaphoreTypeCreateInfoKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkSemaphoreTypeCreateInfoKHRcalloc()Returns a newVkSemaphoreTypeCreateInfoKHRinstance allocated withmemCalloc.static VkSemaphoreTypeCreateInfoKHR.Buffercalloc(int capacity)Returns a newVkSemaphoreTypeCreateInfoKHR.Bufferinstance allocated withmemCalloc.static VkSemaphoreTypeCreateInfoKHR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkSemaphoreTypeCreateInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkSemaphoreTypeCreateInfoKHRcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkSemaphoreTypeCreateInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkSemaphoreTypeCreateInfoKHRcreate()Returns a newVkSemaphoreTypeCreateInfoKHRinstance allocated withBufferUtils.static VkSemaphoreTypeCreateInfoKHR.Buffercreate(int capacity)Returns a newVkSemaphoreTypeCreateInfoKHR.Bufferinstance allocated withBufferUtils.static VkSemaphoreTypeCreateInfoKHRcreate(long address)Returns a newVkSemaphoreTypeCreateInfoKHRinstance for the specified memory address.static VkSemaphoreTypeCreateInfoKHR.Buffercreate(long address, int capacity)Create aVkSemaphoreTypeCreateInfoKHR.Bufferinstance at the specified memory.static VkSemaphoreTypeCreateInfoKHRcreateSafe(long address)static VkSemaphoreTypeCreateInfoKHR.BuffercreateSafe(long address, int capacity)VkSemaphoreTypeCreateInfoKHRinitialValue(long value)Sets the specified value to theinitialValuefield.static VkSemaphoreTypeCreateInfoKHRmalloc()Returns a newVkSemaphoreTypeCreateInfoKHRinstance allocated withmemAlloc.static VkSemaphoreTypeCreateInfoKHR.Buffermalloc(int capacity)Returns a newVkSemaphoreTypeCreateInfoKHR.Bufferinstance allocated withmemAlloc.static VkSemaphoreTypeCreateInfoKHR.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkSemaphoreTypeCreateInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkSemaphoreTypeCreateInfoKHRmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkSemaphoreTypeCreateInfoKHRinstance allocated on the specifiedMemoryStack.VkSemaphoreTypeCreateInfoKHRpNext(long value)Sets the specified value to thepNextfield.VkSemaphoreTypeCreateInfoKHRsemaphoreType(int value)Sets the specified value to thesemaphoreTypefield.VkSemaphoreTypeCreateInfoKHRset(int sType, long pNext, int semaphoreType, long initialValue)Initializes this struct with the specified values.VkSemaphoreTypeCreateInfoKHRset(VkSemaphoreTypeCreateInfoKHR src)Copies the specified struct data to this struct.VkSemaphoreTypeCreateInfoKHRsType(int value)Sets the specified value to thesTypefield.VkSemaphoreTypeCreateInfoKHRsType$Default()Sets theSTRUCTURE_TYPE_SEMAPHORE_TYPE_CREATE_INFOvalue to thesTypefield.-
Methods inherited from class org.lwjgl.vulkan.VkSemaphoreTypeCreateInfo
initialValue, ninitialValue, ninitialValue, npNext, npNext, nsemaphoreType, nsemaphoreType, nsType, nsType, pNext, semaphoreType, set, sizeof, sType
-
-
-
-
Constructor Detail
-
VkSemaphoreTypeCreateInfoKHR
public VkSemaphoreTypeCreateInfoKHR(java.nio.ByteBuffer container)
Creates aVkSemaphoreTypeCreateInfoKHRinstance 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 VkSemaphoreTypeCreateInfoKHR sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkSemaphoreTypeCreateInfo
-
sType$Default
public VkSemaphoreTypeCreateInfoKHR sType$Default()
Sets theSTRUCTURE_TYPE_SEMAPHORE_TYPE_CREATE_INFOvalue to thesTypefield.- Overrides:
sType$Defaultin classVkSemaphoreTypeCreateInfo
-
pNext
public VkSemaphoreTypeCreateInfoKHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkSemaphoreTypeCreateInfo
-
semaphoreType
public VkSemaphoreTypeCreateInfoKHR semaphoreType(int value)
Sets the specified value to thesemaphoreTypefield.- Overrides:
semaphoreTypein classVkSemaphoreTypeCreateInfo
-
initialValue
public VkSemaphoreTypeCreateInfoKHR initialValue(long value)
Sets the specified value to theinitialValuefield.- Overrides:
initialValuein classVkSemaphoreTypeCreateInfo
-
set
public VkSemaphoreTypeCreateInfoKHR set(int sType, long pNext, int semaphoreType, long initialValue)
Initializes this struct with the specified values.- Overrides:
setin classVkSemaphoreTypeCreateInfo
-
set
public VkSemaphoreTypeCreateInfoKHR set(VkSemaphoreTypeCreateInfoKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkSemaphoreTypeCreateInfoKHR malloc()
Returns a newVkSemaphoreTypeCreateInfoKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkSemaphoreTypeCreateInfoKHR calloc()
Returns a newVkSemaphoreTypeCreateInfoKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkSemaphoreTypeCreateInfoKHR create()
Returns a newVkSemaphoreTypeCreateInfoKHRinstance allocated withBufferUtils.
-
create
public static VkSemaphoreTypeCreateInfoKHR create(long address)
Returns a newVkSemaphoreTypeCreateInfoKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkSemaphoreTypeCreateInfoKHR createSafe(long address)
-
malloc
public static VkSemaphoreTypeCreateInfoKHR.Buffer malloc(int capacity)
Returns a newVkSemaphoreTypeCreateInfoKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkSemaphoreTypeCreateInfoKHR.Buffer calloc(int capacity)
Returns a newVkSemaphoreTypeCreateInfoKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkSemaphoreTypeCreateInfoKHR.Buffer create(int capacity)
Returns a newVkSemaphoreTypeCreateInfoKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkSemaphoreTypeCreateInfoKHR.Buffer create(long address, int capacity)
Create aVkSemaphoreTypeCreateInfoKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkSemaphoreTypeCreateInfoKHR.Buffer createSafe(long address, int capacity)
-
malloc
public static VkSemaphoreTypeCreateInfoKHR malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkSemaphoreTypeCreateInfoKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkSemaphoreTypeCreateInfoKHR calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkSemaphoreTypeCreateInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkSemaphoreTypeCreateInfoKHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkSemaphoreTypeCreateInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkSemaphoreTypeCreateInfoKHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkSemaphoreTypeCreateInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-