public class VkCalibratedTimestampInfoEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
timeDomain must be one of the VkTimeDomainEXT values returned by GetPhysicalDeviceCalibrateableTimeDomainsEXTsType must be STRUCTURE_TYPE_CALIBRATED_TIMESTAMP_INFO_EXTpNext must be NULLtimeDomain must be a valid VkTimeDomainEXT valuesType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.timeDomain – a VkTimeDomainEXT value specifying the time domain from which the calibrated timestamp value should be returned.
struct VkCalibratedTimestampInfoEXT {
VkStructureType sType;
void const * pNext;
VkTimeDomainEXT timeDomain;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkCalibratedTimestampInfoEXT.Buffer
An array of
VkCalibratedTimestampInfoEXT 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 |
TIMEDOMAIN
The struct member offsets.
|
| Constructor and Description |
|---|
VkCalibratedTimestampInfoEXT(java.nio.ByteBuffer container)
Creates a
VkCalibratedTimestampInfoEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkCalibratedTimestampInfoEXT |
calloc()
Returns a new
VkCalibratedTimestampInfoEXT instance allocated with memCalloc. |
static VkCalibratedTimestampInfoEXT.Buffer |
calloc(int capacity)
Returns a new
VkCalibratedTimestampInfoEXT.Buffer instance allocated with memCalloc. |
static VkCalibratedTimestampInfoEXT |
callocStack()
Returns a new
VkCalibratedTimestampInfoEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkCalibratedTimestampInfoEXT.Buffer |
callocStack(int capacity)
Returns a new
VkCalibratedTimestampInfoEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkCalibratedTimestampInfoEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkCalibratedTimestampInfoEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkCalibratedTimestampInfoEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkCalibratedTimestampInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkCalibratedTimestampInfoEXT |
create()
Returns a new
VkCalibratedTimestampInfoEXT instance allocated with BufferUtils. |
static VkCalibratedTimestampInfoEXT.Buffer |
create(int capacity)
Returns a new
VkCalibratedTimestampInfoEXT.Buffer instance allocated with BufferUtils. |
static VkCalibratedTimestampInfoEXT |
create(long address)
Returns a new
VkCalibratedTimestampInfoEXT instance for the specified memory address. |
static VkCalibratedTimestampInfoEXT.Buffer |
create(long address,
int capacity)
Create a
VkCalibratedTimestampInfoEXT.Buffer instance at the specified memory. |
static VkCalibratedTimestampInfoEXT |
createSafe(long address)
|
static VkCalibratedTimestampInfoEXT.Buffer |
createSafe(long address,
int capacity)
|
static VkCalibratedTimestampInfoEXT |
malloc()
Returns a new
VkCalibratedTimestampInfoEXT instance allocated with memAlloc. |
static VkCalibratedTimestampInfoEXT.Buffer |
malloc(int capacity)
Returns a new
VkCalibratedTimestampInfoEXT.Buffer instance allocated with memAlloc. |
static VkCalibratedTimestampInfoEXT |
mallocStack()
Returns a new
VkCalibratedTimestampInfoEXT instance allocated on the thread-local MemoryStack. |
static VkCalibratedTimestampInfoEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkCalibratedTimestampInfoEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkCalibratedTimestampInfoEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkCalibratedTimestampInfoEXT.Buffer instance allocated on the specified MemoryStack. |
static VkCalibratedTimestampInfoEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkCalibratedTimestampInfoEXT 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 |
ntimeDomain(long struct)
Unsafe version of
timeDomain(). |
static void |
ntimeDomain(long struct,
int value)
Unsafe version of
timeDomain. |
long |
pNext()
Returns the value of the
pNext field. |
VkCalibratedTimestampInfoEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
VkCalibratedTimestampInfoEXT |
set(int sType,
long pNext,
int timeDomain)
Initializes this struct with the specified values.
|
VkCalibratedTimestampInfoEXT |
set(VkCalibratedTimestampInfoEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkCalibratedTimestampInfoEXT |
sType(int value)
Sets the specified value to the
sType field. |
int |
timeDomain()
Returns the value of the
timeDomain field. |
VkCalibratedTimestampInfoEXT |
timeDomain(int value)
Sets the specified value to the
timeDomain 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 TIMEDOMAIN
public VkCalibratedTimestampInfoEXT(java.nio.ByteBuffer container)
VkCalibratedTimestampInfoEXT 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 int timeDomain()
timeDomain field.public VkCalibratedTimestampInfoEXT sType(int value)
sType field.public VkCalibratedTimestampInfoEXT pNext(long value)
pNext field.public VkCalibratedTimestampInfoEXT timeDomain(int value)
timeDomain field.public VkCalibratedTimestampInfoEXT set(int sType, long pNext, int timeDomain)
public VkCalibratedTimestampInfoEXT set(VkCalibratedTimestampInfoEXT src)
src - the source structpublic static VkCalibratedTimestampInfoEXT malloc()
VkCalibratedTimestampInfoEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkCalibratedTimestampInfoEXT calloc()
VkCalibratedTimestampInfoEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkCalibratedTimestampInfoEXT create()
VkCalibratedTimestampInfoEXT instance allocated with BufferUtils.public static VkCalibratedTimestampInfoEXT create(long address)
VkCalibratedTimestampInfoEXT instance for the specified memory address.@Nullable public static VkCalibratedTimestampInfoEXT createSafe(long address)
public static VkCalibratedTimestampInfoEXT.Buffer malloc(int capacity)
VkCalibratedTimestampInfoEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkCalibratedTimestampInfoEXT.Buffer calloc(int capacity)
VkCalibratedTimestampInfoEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkCalibratedTimestampInfoEXT.Buffer create(int capacity)
VkCalibratedTimestampInfoEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkCalibratedTimestampInfoEXT.Buffer create(long address, int capacity)
VkCalibratedTimestampInfoEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkCalibratedTimestampInfoEXT.Buffer createSafe(long address, int capacity)
public static VkCalibratedTimestampInfoEXT mallocStack()
VkCalibratedTimestampInfoEXT instance allocated on the thread-local MemoryStack.public static VkCalibratedTimestampInfoEXT callocStack()
VkCalibratedTimestampInfoEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkCalibratedTimestampInfoEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkCalibratedTimestampInfoEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkCalibratedTimestampInfoEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkCalibratedTimestampInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkCalibratedTimestampInfoEXT.Buffer mallocStack(int capacity)
VkCalibratedTimestampInfoEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkCalibratedTimestampInfoEXT.Buffer callocStack(int capacity)
VkCalibratedTimestampInfoEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkCalibratedTimestampInfoEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkCalibratedTimestampInfoEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkCalibratedTimestampInfoEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkCalibratedTimestampInfoEXT.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 ntimeDomain(long struct)
timeDomain().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void ntimeDomain(long struct,
int value)
timeDomain.Copyright LWJGL. All Rights Reserved. License terms.