public class VkPhysicalDeviceTimelineSemaphoreFeaturesKHR
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If the VkPhysicalDeviceTimelineSemaphoreFeaturesKHR structure is included in the pNext chain of VkPhysicalDeviceFeatures2, it is filled with values indicating whether each feature is supported. VkPhysicalDeviceTimelineSemaphoreFeaturesKHR can also be included in the pNext chain of VkDeviceCreateInfo to enable features.
timelineSemaphore – indicates whether semaphores created with a VkSemaphoreTypeKHR of SEMAPHORE_TYPE_TIMELINE_KHR are supported.
struct VkPhysicalDeviceTimelineSemaphoreFeaturesKHR {
VkStructureType sType;
void * pNext;
VkBool32 timelineSemaphore;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Buffer
An array of
VkPhysicalDeviceTimelineSemaphoreFeaturesKHR structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
static int |
TIMELINESEMAPHORE
The struct member offsets.
|
| Constructor and Description |
|---|
VkPhysicalDeviceTimelineSemaphoreFeaturesKHR(java.nio.ByteBuffer container)
Creates a
VkPhysicalDeviceTimelineSemaphoreFeaturesKHR instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR |
calloc()
Returns a new
VkPhysicalDeviceTimelineSemaphoreFeaturesKHR instance allocated with memCalloc. |
static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Buffer instance allocated with memCalloc. |
static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR |
callocStack()
Returns a new
VkPhysicalDeviceTimelineSemaphoreFeaturesKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceTimelineSemaphoreFeaturesKHR instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR |
create()
Returns a new
VkPhysicalDeviceTimelineSemaphoreFeaturesKHR instance allocated with BufferUtils. |
static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Buffer |
create(int capacity)
Returns a new
VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Buffer instance allocated with BufferUtils. |
static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR |
create(long address)
Returns a new
VkPhysicalDeviceTimelineSemaphoreFeaturesKHR instance for the specified memory address. |
static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Buffer instance at the specified memory. |
static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR |
createSafe(long address)
|
static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Buffer |
createSafe(long address,
int capacity)
|
static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR |
malloc()
Returns a new
VkPhysicalDeviceTimelineSemaphoreFeaturesKHR instance allocated with memAlloc. |
static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Buffer instance allocated with memAlloc. |
static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR |
mallocStack()
Returns a new
VkPhysicalDeviceTimelineSemaphoreFeaturesKHR instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceTimelineSemaphoreFeaturesKHR instance allocated on the specified MemoryStack. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
static int |
ntimelineSemaphore(long struct)
Unsafe version of
timelineSemaphore(). |
static void |
ntimelineSemaphore(long struct,
int value)
Unsafe version of
timelineSemaphore. |
long |
pNext()
Returns the value of the
pNext field. |
VkPhysicalDeviceTimelineSemaphoreFeaturesKHR |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPhysicalDeviceTimelineSemaphoreFeaturesKHR |
set(int sType,
long pNext,
boolean timelineSemaphore)
Initializes this struct with the specified values.
|
VkPhysicalDeviceTimelineSemaphoreFeaturesKHR |
set(VkPhysicalDeviceTimelineSemaphoreFeaturesKHR src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPhysicalDeviceTimelineSemaphoreFeaturesKHR |
sType(int value)
Sets the specified value to the
sType field. |
boolean |
timelineSemaphore()
Returns the value of the
timelineSemaphore field. |
VkPhysicalDeviceTimelineSemaphoreFeaturesKHR |
timelineSemaphore(boolean value)
Sets the specified value to the
timelineSemaphore field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int TIMELINESEMAPHORE
public VkPhysicalDeviceTimelineSemaphoreFeaturesKHR(java.nio.ByteBuffer container)
VkPhysicalDeviceTimelineSemaphoreFeaturesKHR instance at the current position of the specified ByteBuffer container. 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.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic int sType()
sType field.public long pNext()
pNext field.public boolean timelineSemaphore()
timelineSemaphore field.public VkPhysicalDeviceTimelineSemaphoreFeaturesKHR sType(int value)
sType field.public VkPhysicalDeviceTimelineSemaphoreFeaturesKHR pNext(long value)
pNext field.public VkPhysicalDeviceTimelineSemaphoreFeaturesKHR timelineSemaphore(boolean value)
timelineSemaphore field.public VkPhysicalDeviceTimelineSemaphoreFeaturesKHR set(int sType, long pNext, boolean timelineSemaphore)
public VkPhysicalDeviceTimelineSemaphoreFeaturesKHR set(VkPhysicalDeviceTimelineSemaphoreFeaturesKHR src)
src - the source structpublic static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR malloc()
VkPhysicalDeviceTimelineSemaphoreFeaturesKHR instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR calloc()
VkPhysicalDeviceTimelineSemaphoreFeaturesKHR instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR create()
VkPhysicalDeviceTimelineSemaphoreFeaturesKHR instance allocated with BufferUtils.public static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR create(long address)
VkPhysicalDeviceTimelineSemaphoreFeaturesKHR instance for the specified memory address.@Nullable public static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR createSafe(long address)
public static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Buffer malloc(int capacity)
VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Buffer calloc(int capacity)
VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Buffer create(int capacity)
VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Buffer create(long address, int capacity)
VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Buffer createSafe(long address, int capacity)
public static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR mallocStack()
VkPhysicalDeviceTimelineSemaphoreFeaturesKHR instance allocated on the thread-local MemoryStack.public static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR callocStack()
VkPhysicalDeviceTimelineSemaphoreFeaturesKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceTimelineSemaphoreFeaturesKHR instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceTimelineSemaphoreFeaturesKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Buffer mallocStack(int capacity)
VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Buffer callocStack(int capacity)
VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int nsType(long struct)
sType().public static long npNext(long struct)
pNext().public static int ntimelineSemaphore(long struct)
timelineSemaphore().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void ntimelineSemaphore(long struct,
int value)
timelineSemaphore.Copyright LWJGL. All Rights Reserved. License terms.