Package org.lwjgl.vulkan
Class VkSemaphoreTypeCreateInfoKHR
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkSemaphoreTypeCreateInfo>
org.lwjgl.vulkan.VkSemaphoreTypeCreateInfo
org.lwjgl.vulkan.VkSemaphoreTypeCreateInfoKHR
- All Implemented Interfaces:
- AutoCloseable,- NativeResource,- Pointer
 struct VkSemaphoreTypeCreateInfoKHR {
     VkStructureType sType;
     void const * pNext;
     VkSemaphoreType semaphoreType;
     uint64_t initialValue;
 }- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class org.lwjgl.system.StructStruct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.PointerPointer.Default
- 
Field SummaryFields inherited from class org.lwjgl.vulkan.VkSemaphoreTypeCreateInfoALIGNOF, INITIALVALUE, PNEXT, SEMAPHORETYPE, SIZEOF, STYPEFields inherited from interface org.lwjgl.system.PointerBITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
- 
Constructor SummaryConstructorsConstructorDescriptionVkSemaphoreTypeCreateInfoKHR(ByteBuffer container) Creates aVkSemaphoreTypeCreateInfoKHRinstance at the current position of the specifiedByteBuffercontainer.
- 
Method SummaryModifier and TypeMethodDescriptionstatic VkSemaphoreTypeCreateInfoKHRcalloc()Returns a newVkSemaphoreTypeCreateInfoKHRinstance allocated withmemCalloc.calloc(int capacity) Returns a newVkSemaphoreTypeCreateInfoKHR.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newVkSemaphoreTypeCreateInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkSemaphoreTypeCreateInfoKHRcalloc(MemoryStack stack) Returns a newVkSemaphoreTypeCreateInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkSemaphoreTypeCreateInfoKHRcreate()Returns a newVkSemaphoreTypeCreateInfoKHRinstance allocated withBufferUtils.create(int capacity) Returns a newVkSemaphoreTypeCreateInfoKHR.Bufferinstance allocated withBufferUtils.static VkSemaphoreTypeCreateInfoKHRcreate(long address) Returns a newVkSemaphoreTypeCreateInfoKHRinstance for the specified memory address.create(long address, int capacity) Create aVkSemaphoreTypeCreateInfoKHR.Bufferinstance at the specified memory.static @Nullable VkSemaphoreTypeCreateInfoKHRcreateSafe(long address) static @Nullable VkSemaphoreTypeCreateInfoKHR.BuffercreateSafe(long address, int capacity) initialValue(long value) Sets the specified value to theinitialValuefield.static VkSemaphoreTypeCreateInfoKHRmalloc()Returns a newVkSemaphoreTypeCreateInfoKHRinstance allocated withmemAlloc.malloc(int capacity) Returns a newVkSemaphoreTypeCreateInfoKHR.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newVkSemaphoreTypeCreateInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkSemaphoreTypeCreateInfoKHRmalloc(MemoryStack stack) Returns a newVkSemaphoreTypeCreateInfoKHRinstance allocated on the specifiedMemoryStack.pNext(long value) Sets the specified value to thepNextfield.semaphoreType(int value) Sets the specified value to thesemaphoreTypefield.set(int sType, long pNext, int semaphoreType, long initialValue) Initializes this struct with the specified values.Copies the specified struct data to this struct.sType(int value) Sets the specified value to thesTypefield.Sets theSTRUCTURE_TYPE_SEMAPHORE_TYPE_CREATE_INFOvalue to thesTypefield.Methods inherited from class org.lwjgl.vulkan.VkSemaphoreTypeCreateInfoinitialValue, ninitialValue, ninitialValue, npNext, npNext, nsemaphoreType, nsemaphoreType, nsType, nsType, pNext, semaphoreType, set, sizeof, sTypeMethods inherited from class org.lwjgl.system.Pointer.Defaultaddress, equals, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResourceclose, free
- 
Constructor Details- 
VkSemaphoreTypeCreateInfoKHRCreates 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 Details- 
sTypeSets the specified value to thesTypefield.- Overrides:
- sTypein class- VkSemaphoreTypeCreateInfo
 
- 
sType$DefaultSets theSTRUCTURE_TYPE_SEMAPHORE_TYPE_CREATE_INFOvalue to thesTypefield.- Overrides:
- sType$Defaultin class- VkSemaphoreTypeCreateInfo
 
- 
pNextSets the specified value to thepNextfield.- Overrides:
- pNextin class- VkSemaphoreTypeCreateInfo
 
- 
semaphoreTypeSets the specified value to thesemaphoreTypefield.- Overrides:
- semaphoreTypein class- VkSemaphoreTypeCreateInfo
 
- 
initialValueSets the specified value to theinitialValuefield.- Overrides:
- initialValuein class- VkSemaphoreTypeCreateInfo
 
- 
setpublic VkSemaphoreTypeCreateInfoKHR set(int sType, long pNext, int semaphoreType, long initialValue) Initializes this struct with the specified values.- Overrides:
- setin class- VkSemaphoreTypeCreateInfo
 
- 
setCopies the specified struct data to this struct.- Parameters:
- src- the source struct
- Returns:
- this struct
 
- 
mallocReturns a newVkSemaphoreTypeCreateInfoKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
- 
callocReturns a newVkSemaphoreTypeCreateInfoKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
- 
createReturns a newVkSemaphoreTypeCreateInfoKHRinstance allocated withBufferUtils.
- 
createReturns a newVkSemaphoreTypeCreateInfoKHRinstance for the specified memory address.
- 
createSafe
- 
mallocReturns a newVkSemaphoreTypeCreateInfoKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
- capacity- the buffer capacity
 
- 
callocReturns a newVkSemaphoreTypeCreateInfoKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
- capacity- the buffer capacity
 
- 
createReturns a newVkSemaphoreTypeCreateInfoKHR.Bufferinstance allocated withBufferUtils.- Parameters:
- capacity- the buffer capacity
 
- 
createCreate aVkSemaphoreTypeCreateInfoKHR.Bufferinstance at the specified memory.- Parameters:
- address- the memory address
- capacity- the buffer capacity
 
- 
createSafe
- 
mallocReturns a newVkSemaphoreTypeCreateInfoKHRinstance allocated on the specifiedMemoryStack.- Parameters:
- stack- the stack from which to allocate
 
- 
callocReturns a newVkSemaphoreTypeCreateInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
- stack- the stack from which to allocate
 
- 
mallocReturns a newVkSemaphoreTypeCreateInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
- capacity- the buffer capacity
- stack- the stack from which to allocate
 
- 
callocReturns a newVkSemaphoreTypeCreateInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
- capacity- the buffer capacity
- stack- the stack from which to allocate
 
 
-