Package org.lwjgl.vulkan
Class VkPhysicalDeviceTimelineSemaphoreFeaturesKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceTimelineSemaphoreFeatures
-
- org.lwjgl.vulkan.VkPhysicalDeviceTimelineSemaphoreFeaturesKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceTimelineSemaphoreFeaturesKHR extends VkPhysicalDeviceTimelineSemaphoreFeatures
SeeVkPhysicalDeviceTimelineSemaphoreFeatures.Layout
struct VkPhysicalDeviceTimelineSemaphoreFeaturesKHR { VkStructureType sType; void * pNext; VkBool32 timelineSemaphore; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceTimelineSemaphoreFeaturesKHR.BufferAn array ofVkPhysicalDeviceTimelineSemaphoreFeaturesKHRstructs.
-
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.VkPhysicalDeviceTimelineSemaphoreFeatures
ALIGNOF, PNEXT, SIZEOF, STYPE, TIMELINESEMAPHORE
-
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceTimelineSemaphoreFeaturesKHR(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceTimelineSemaphoreFeaturesKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceTimelineSemaphoreFeaturesKHRcalloc()Returns a newVkPhysicalDeviceTimelineSemaphoreFeaturesKHRinstance allocated withmemCalloc.static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceTimelineSemaphoreFeaturesKHRcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceTimelineSemaphoreFeaturesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceTimelineSemaphoreFeaturesKHRcreate()Returns a newVkPhysicalDeviceTimelineSemaphoreFeaturesKHRinstance allocated withBufferUtils.static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Buffercreate(int capacity)Returns a newVkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceTimelineSemaphoreFeaturesKHRcreate(long address)Returns a newVkPhysicalDeviceTimelineSemaphoreFeaturesKHRinstance for the specified memory address.static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Bufferinstance at the specified memory.static VkPhysicalDeviceTimelineSemaphoreFeaturesKHRcreateSafe(long address)static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.BuffercreateSafe(long address, int capacity)static VkPhysicalDeviceTimelineSemaphoreFeaturesKHRmalloc()Returns a newVkPhysicalDeviceTimelineSemaphoreFeaturesKHRinstance allocated withmemAlloc.static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceTimelineSemaphoreFeaturesKHRmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceTimelineSemaphoreFeaturesKHRinstance allocated on the specifiedMemoryStack.VkPhysicalDeviceTimelineSemaphoreFeaturesKHRpNext(long value)Sets the specified value to thepNextfield.VkPhysicalDeviceTimelineSemaphoreFeaturesKHRset(int sType, long pNext, boolean timelineSemaphore)Initializes this struct with the specified values.VkPhysicalDeviceTimelineSemaphoreFeaturesKHRset(VkPhysicalDeviceTimelineSemaphoreFeaturesKHR src)Copies the specified struct data to this struct.VkPhysicalDeviceTimelineSemaphoreFeaturesKHRsType(int value)Sets the specified value to thesTypefield.VkPhysicalDeviceTimelineSemaphoreFeaturesKHRsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_FEATURESvalue to thesTypefield.VkPhysicalDeviceTimelineSemaphoreFeaturesKHRtimelineSemaphore(boolean value)Sets the specified value to thetimelineSemaphorefield.-
Methods inherited from class org.lwjgl.vulkan.VkPhysicalDeviceTimelineSemaphoreFeatures
npNext, npNext, nsType, nsType, ntimelineSemaphore, ntimelineSemaphore, pNext, set, sizeof, sType, timelineSemaphore
-
-
-
-
Constructor Detail
-
VkPhysicalDeviceTimelineSemaphoreFeaturesKHR
public VkPhysicalDeviceTimelineSemaphoreFeaturesKHR(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceTimelineSemaphoreFeaturesKHRinstance 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 VkPhysicalDeviceTimelineSemaphoreFeaturesKHR sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkPhysicalDeviceTimelineSemaphoreFeatures
-
sType$Default
public VkPhysicalDeviceTimelineSemaphoreFeaturesKHR sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_FEATURESvalue to thesTypefield.- Overrides:
sType$Defaultin classVkPhysicalDeviceTimelineSemaphoreFeatures
-
pNext
public VkPhysicalDeviceTimelineSemaphoreFeaturesKHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkPhysicalDeviceTimelineSemaphoreFeatures
-
timelineSemaphore
public VkPhysicalDeviceTimelineSemaphoreFeaturesKHR timelineSemaphore(boolean value)
Sets the specified value to thetimelineSemaphorefield.- Overrides:
timelineSemaphorein classVkPhysicalDeviceTimelineSemaphoreFeatures
-
set
public VkPhysicalDeviceTimelineSemaphoreFeaturesKHR set(int sType, long pNext, boolean timelineSemaphore)
Initializes this struct with the specified values.- Overrides:
setin classVkPhysicalDeviceTimelineSemaphoreFeatures
-
set
public VkPhysicalDeviceTimelineSemaphoreFeaturesKHR set(VkPhysicalDeviceTimelineSemaphoreFeaturesKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR malloc()
Returns a newVkPhysicalDeviceTimelineSemaphoreFeaturesKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR calloc()
Returns a newVkPhysicalDeviceTimelineSemaphoreFeaturesKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR create()
Returns a newVkPhysicalDeviceTimelineSemaphoreFeaturesKHRinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR create(long address)
Returns a newVkPhysicalDeviceTimelineSemaphoreFeaturesKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR createSafe(long address)
-
malloc
public static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Buffer create(int capacity)
Returns a newVkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Buffer createSafe(long address, int capacity)
-
malloc
public static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceTimelineSemaphoreFeaturesKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceTimelineSemaphoreFeaturesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-