public class VkPhysicalDeviceTimelineSemaphorePropertiesKHR
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
maxTimelineSemaphoreValueDifference – indicates the maximum difference allowed by the implementation between the current value of a timeline semaphore and any pending signal or wait operations.
struct VkPhysicalDeviceTimelineSemaphorePropertiesKHR {
VkStructureType sType;
void * pNext;
uint64_t maxTimelineSemaphoreValueDifference;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDeviceTimelineSemaphorePropertiesKHR.Buffer
An array of
VkPhysicalDeviceTimelineSemaphorePropertiesKHR structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
MAXTIMELINESEMAPHOREVALUEDIFFERENCE
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkPhysicalDeviceTimelineSemaphorePropertiesKHR(java.nio.ByteBuffer container)
Creates a
VkPhysicalDeviceTimelineSemaphorePropertiesKHR instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPhysicalDeviceTimelineSemaphorePropertiesKHR |
calloc()
Returns a new
VkPhysicalDeviceTimelineSemaphorePropertiesKHR instance allocated with memCalloc. |
static VkPhysicalDeviceTimelineSemaphorePropertiesKHR.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDeviceTimelineSemaphorePropertiesKHR.Buffer instance allocated with memCalloc. |
static VkPhysicalDeviceTimelineSemaphorePropertiesKHR |
callocStack()
Returns a new
VkPhysicalDeviceTimelineSemaphorePropertiesKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceTimelineSemaphorePropertiesKHR.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDeviceTimelineSemaphorePropertiesKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceTimelineSemaphorePropertiesKHR.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceTimelineSemaphorePropertiesKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceTimelineSemaphorePropertiesKHR |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceTimelineSemaphorePropertiesKHR instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceTimelineSemaphorePropertiesKHR |
create()
Returns a new
VkPhysicalDeviceTimelineSemaphorePropertiesKHR instance allocated with BufferUtils. |
static VkPhysicalDeviceTimelineSemaphorePropertiesKHR.Buffer |
create(int capacity)
Returns a new
VkPhysicalDeviceTimelineSemaphorePropertiesKHR.Buffer instance allocated with BufferUtils. |
static VkPhysicalDeviceTimelineSemaphorePropertiesKHR |
create(long address)
Returns a new
VkPhysicalDeviceTimelineSemaphorePropertiesKHR instance for the specified memory address. |
static VkPhysicalDeviceTimelineSemaphorePropertiesKHR.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDeviceTimelineSemaphorePropertiesKHR.Buffer instance at the specified memory. |
static VkPhysicalDeviceTimelineSemaphorePropertiesKHR |
createSafe(long address)
|
static VkPhysicalDeviceTimelineSemaphorePropertiesKHR.Buffer |
createSafe(long address,
int capacity)
|
static VkPhysicalDeviceTimelineSemaphorePropertiesKHR |
malloc()
Returns a new
VkPhysicalDeviceTimelineSemaphorePropertiesKHR instance allocated with memAlloc. |
static VkPhysicalDeviceTimelineSemaphorePropertiesKHR.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDeviceTimelineSemaphorePropertiesKHR.Buffer instance allocated with memAlloc. |
static VkPhysicalDeviceTimelineSemaphorePropertiesKHR |
mallocStack()
Returns a new
VkPhysicalDeviceTimelineSemaphorePropertiesKHR instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceTimelineSemaphorePropertiesKHR.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDeviceTimelineSemaphorePropertiesKHR.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceTimelineSemaphorePropertiesKHR.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceTimelineSemaphorePropertiesKHR.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDeviceTimelineSemaphorePropertiesKHR |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceTimelineSemaphorePropertiesKHR instance allocated on the specified MemoryStack. |
long |
maxTimelineSemaphoreValueDifference()
Returns the value of the
maxTimelineSemaphoreValueDifference field. |
static long |
nmaxTimelineSemaphoreValueDifference(long struct)
Unsafe version of
maxTimelineSemaphoreValueDifference(). |
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. |
long |
pNext()
Returns the value of the
pNext field. |
VkPhysicalDeviceTimelineSemaphorePropertiesKHR |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPhysicalDeviceTimelineSemaphorePropertiesKHR |
set(int sType,
long pNext)
Initializes this struct with the specified values.
|
VkPhysicalDeviceTimelineSemaphorePropertiesKHR |
set(VkPhysicalDeviceTimelineSemaphorePropertiesKHR src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPhysicalDeviceTimelineSemaphorePropertiesKHR |
sType(int value)
Sets the specified value to the
sType 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 MAXTIMELINESEMAPHOREVALUEDIFFERENCE
public VkPhysicalDeviceTimelineSemaphorePropertiesKHR(java.nio.ByteBuffer container)
VkPhysicalDeviceTimelineSemaphorePropertiesKHR 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 long maxTimelineSemaphoreValueDifference()
maxTimelineSemaphoreValueDifference field.public VkPhysicalDeviceTimelineSemaphorePropertiesKHR sType(int value)
sType field.public VkPhysicalDeviceTimelineSemaphorePropertiesKHR pNext(long value)
pNext field.public VkPhysicalDeviceTimelineSemaphorePropertiesKHR set(int sType, long pNext)
public VkPhysicalDeviceTimelineSemaphorePropertiesKHR set(VkPhysicalDeviceTimelineSemaphorePropertiesKHR src)
src - the source structpublic static VkPhysicalDeviceTimelineSemaphorePropertiesKHR malloc()
VkPhysicalDeviceTimelineSemaphorePropertiesKHR instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDeviceTimelineSemaphorePropertiesKHR calloc()
VkPhysicalDeviceTimelineSemaphorePropertiesKHR instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDeviceTimelineSemaphorePropertiesKHR create()
VkPhysicalDeviceTimelineSemaphorePropertiesKHR instance allocated with BufferUtils.public static VkPhysicalDeviceTimelineSemaphorePropertiesKHR create(long address)
VkPhysicalDeviceTimelineSemaphorePropertiesKHR instance for the specified memory address.@Nullable public static VkPhysicalDeviceTimelineSemaphorePropertiesKHR createSafe(long address)
public static VkPhysicalDeviceTimelineSemaphorePropertiesKHR.Buffer malloc(int capacity)
VkPhysicalDeviceTimelineSemaphorePropertiesKHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceTimelineSemaphorePropertiesKHR.Buffer calloc(int capacity)
VkPhysicalDeviceTimelineSemaphorePropertiesKHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceTimelineSemaphorePropertiesKHR.Buffer create(int capacity)
VkPhysicalDeviceTimelineSemaphorePropertiesKHR.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDeviceTimelineSemaphorePropertiesKHR.Buffer create(long address, int capacity)
VkPhysicalDeviceTimelineSemaphorePropertiesKHR.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDeviceTimelineSemaphorePropertiesKHR.Buffer createSafe(long address, int capacity)
public static VkPhysicalDeviceTimelineSemaphorePropertiesKHR mallocStack()
VkPhysicalDeviceTimelineSemaphorePropertiesKHR instance allocated on the thread-local MemoryStack.public static VkPhysicalDeviceTimelineSemaphorePropertiesKHR callocStack()
VkPhysicalDeviceTimelineSemaphorePropertiesKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDeviceTimelineSemaphorePropertiesKHR mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceTimelineSemaphorePropertiesKHR instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDeviceTimelineSemaphorePropertiesKHR callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceTimelineSemaphorePropertiesKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDeviceTimelineSemaphorePropertiesKHR.Buffer mallocStack(int capacity)
VkPhysicalDeviceTimelineSemaphorePropertiesKHR.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDeviceTimelineSemaphorePropertiesKHR.Buffer callocStack(int capacity)
VkPhysicalDeviceTimelineSemaphorePropertiesKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDeviceTimelineSemaphorePropertiesKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceTimelineSemaphorePropertiesKHR.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDeviceTimelineSemaphorePropertiesKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceTimelineSemaphorePropertiesKHR.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 long nmaxTimelineSemaphoreValueDifference(long struct)
maxTimelineSemaphoreValueDifference().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.Copyright LWJGL. All Rights Reserved. License terms.