Package org.lwjgl.vulkan
Class VkPhysicalDeviceTimelineSemaphorePropertiesKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceTimelineSemaphoreProperties
-
- org.lwjgl.vulkan.VkPhysicalDeviceTimelineSemaphorePropertiesKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceTimelineSemaphorePropertiesKHR extends VkPhysicalDeviceTimelineSemaphoreProperties
SeeVkPhysicalDeviceTimelineSemaphoreProperties.Layout
struct VkPhysicalDeviceTimelineSemaphorePropertiesKHR { VkStructureType sType; void * pNext; uint64_t maxTimelineSemaphoreValueDifference; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceTimelineSemaphorePropertiesKHR.BufferAn array ofVkPhysicalDeviceTimelineSemaphorePropertiesKHRstructs.
-
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.VkPhysicalDeviceTimelineSemaphoreProperties
ALIGNOF, MAXTIMELINESEMAPHOREVALUEDIFFERENCE, PNEXT, SIZEOF, STYPE
-
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceTimelineSemaphorePropertiesKHR(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceTimelineSemaphorePropertiesKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceTimelineSemaphorePropertiesKHRcalloc()Returns a newVkPhysicalDeviceTimelineSemaphorePropertiesKHRinstance allocated withmemCalloc.static VkPhysicalDeviceTimelineSemaphorePropertiesKHR.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceTimelineSemaphorePropertiesKHR.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceTimelineSemaphorePropertiesKHR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceTimelineSemaphorePropertiesKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceTimelineSemaphorePropertiesKHRcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceTimelineSemaphorePropertiesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceTimelineSemaphorePropertiesKHRcreate()Returns a newVkPhysicalDeviceTimelineSemaphorePropertiesKHRinstance allocated withBufferUtils.static VkPhysicalDeviceTimelineSemaphorePropertiesKHR.Buffercreate(int capacity)Returns a newVkPhysicalDeviceTimelineSemaphorePropertiesKHR.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceTimelineSemaphorePropertiesKHRcreate(long address)Returns a newVkPhysicalDeviceTimelineSemaphorePropertiesKHRinstance for the specified memory address.static VkPhysicalDeviceTimelineSemaphorePropertiesKHR.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceTimelineSemaphorePropertiesKHR.Bufferinstance at the specified memory.static VkPhysicalDeviceTimelineSemaphorePropertiesKHRcreateSafe(long address)static VkPhysicalDeviceTimelineSemaphorePropertiesKHR.BuffercreateSafe(long address, int capacity)static VkPhysicalDeviceTimelineSemaphorePropertiesKHRmalloc()Returns a newVkPhysicalDeviceTimelineSemaphorePropertiesKHRinstance allocated withmemAlloc.static VkPhysicalDeviceTimelineSemaphorePropertiesKHR.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceTimelineSemaphorePropertiesKHR.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceTimelineSemaphorePropertiesKHR.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceTimelineSemaphorePropertiesKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceTimelineSemaphorePropertiesKHRmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceTimelineSemaphorePropertiesKHRinstance allocated on the specifiedMemoryStack.VkPhysicalDeviceTimelineSemaphorePropertiesKHRpNext(long value)Sets the specified value to thepNextfield.VkPhysicalDeviceTimelineSemaphorePropertiesKHRset(int sType, long pNext)Initializes this struct with the specified values.VkPhysicalDeviceTimelineSemaphorePropertiesKHRset(VkPhysicalDeviceTimelineSemaphorePropertiesKHR src)Copies the specified struct data to this struct.VkPhysicalDeviceTimelineSemaphorePropertiesKHRsType(int value)Sets the specified value to thesTypefield.VkPhysicalDeviceTimelineSemaphorePropertiesKHRsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_PROPERTIESvalue to thesTypefield.-
Methods inherited from class org.lwjgl.vulkan.VkPhysicalDeviceTimelineSemaphoreProperties
maxTimelineSemaphoreValueDifference, nmaxTimelineSemaphoreValueDifference, npNext, npNext, nsType, nsType, pNext, set, sizeof, sType
-
-
-
-
Constructor Detail
-
VkPhysicalDeviceTimelineSemaphorePropertiesKHR
public VkPhysicalDeviceTimelineSemaphorePropertiesKHR(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceTimelineSemaphorePropertiesKHRinstance 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 VkPhysicalDeviceTimelineSemaphorePropertiesKHR sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkPhysicalDeviceTimelineSemaphoreProperties
-
sType$Default
public VkPhysicalDeviceTimelineSemaphorePropertiesKHR sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_PROPERTIESvalue to thesTypefield.- Overrides:
sType$Defaultin classVkPhysicalDeviceTimelineSemaphoreProperties
-
pNext
public VkPhysicalDeviceTimelineSemaphorePropertiesKHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkPhysicalDeviceTimelineSemaphoreProperties
-
set
public VkPhysicalDeviceTimelineSemaphorePropertiesKHR set(int sType, long pNext)
Initializes this struct with the specified values.- Overrides:
setin classVkPhysicalDeviceTimelineSemaphoreProperties
-
set
public VkPhysicalDeviceTimelineSemaphorePropertiesKHR set(VkPhysicalDeviceTimelineSemaphorePropertiesKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceTimelineSemaphorePropertiesKHR malloc()
Returns a newVkPhysicalDeviceTimelineSemaphorePropertiesKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceTimelineSemaphorePropertiesKHR calloc()
Returns a newVkPhysicalDeviceTimelineSemaphorePropertiesKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceTimelineSemaphorePropertiesKHR create()
Returns a newVkPhysicalDeviceTimelineSemaphorePropertiesKHRinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceTimelineSemaphorePropertiesKHR create(long address)
Returns a newVkPhysicalDeviceTimelineSemaphorePropertiesKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceTimelineSemaphorePropertiesKHR createSafe(long address)
-
malloc
public static VkPhysicalDeviceTimelineSemaphorePropertiesKHR.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceTimelineSemaphorePropertiesKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceTimelineSemaphorePropertiesKHR.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceTimelineSemaphorePropertiesKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceTimelineSemaphorePropertiesKHR.Buffer create(int capacity)
Returns a newVkPhysicalDeviceTimelineSemaphorePropertiesKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceTimelineSemaphorePropertiesKHR.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceTimelineSemaphorePropertiesKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceTimelineSemaphorePropertiesKHR.Buffer createSafe(long address, int capacity)
-
malloc
public static VkPhysicalDeviceTimelineSemaphorePropertiesKHR malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceTimelineSemaphorePropertiesKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceTimelineSemaphorePropertiesKHR calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceTimelineSemaphorePropertiesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceTimelineSemaphorePropertiesKHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceTimelineSemaphorePropertiesKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceTimelineSemaphorePropertiesKHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceTimelineSemaphorePropertiesKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-