Package org.lwjgl.vulkan
Class VkCalibratedTimestampInfoEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkCalibratedTimestampInfoEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkCalibratedTimestampInfoEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifying the input parameters of a calibrated timestamp query.Valid Usage
timeDomainmust be one of theVkTimeDomainEXTvalues returned byGetPhysicalDeviceCalibrateableTimeDomainsEXT
Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_CALIBRATED_TIMESTAMP_INFO_EXTpNextmust beNULLtimeDomainmust be a validVkTimeDomainEXTvalue
See Also
Layout
struct VkCalibratedTimestampInfoEXT { VkStructureTypesType(); void const *pNext(); VkTimeDomainEXTtimeDomain(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkCalibratedTimestampInfoEXT.BufferAn array ofVkCalibratedTimestampInfoEXTstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intPNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPE
TIMEDOMAINThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkCalibratedTimestampInfoEXT(java.nio.ByteBuffer container)Creates aVkCalibratedTimestampInfoEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static VkCalibratedTimestampInfoEXTcalloc()Returns a newVkCalibratedTimestampInfoEXTinstance allocated withmemCalloc.static VkCalibratedTimestampInfoEXT.Buffercalloc(int capacity)Returns a newVkCalibratedTimestampInfoEXT.Bufferinstance allocated withmemCalloc.static VkCalibratedTimestampInfoEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkCalibratedTimestampInfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkCalibratedTimestampInfoEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkCalibratedTimestampInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkCalibratedTimestampInfoEXTcallocStack()Deprecated.static VkCalibratedTimestampInfoEXT.BuffercallocStack(int capacity)Deprecated.static VkCalibratedTimestampInfoEXT.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkCalibratedTimestampInfoEXTcallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static VkCalibratedTimestampInfoEXTcreate()Returns a newVkCalibratedTimestampInfoEXTinstance allocated withBufferUtils.static VkCalibratedTimestampInfoEXT.Buffercreate(int capacity)Returns a newVkCalibratedTimestampInfoEXT.Bufferinstance allocated withBufferUtils.static VkCalibratedTimestampInfoEXTcreate(long address)Returns a newVkCalibratedTimestampInfoEXTinstance for the specified memory address.static VkCalibratedTimestampInfoEXT.Buffercreate(long address, int capacity)Create aVkCalibratedTimestampInfoEXT.Bufferinstance at the specified memory.static VkCalibratedTimestampInfoEXTcreateSafe(long address)static VkCalibratedTimestampInfoEXT.BuffercreateSafe(long address, int capacity)static VkCalibratedTimestampInfoEXTmalloc()Returns a newVkCalibratedTimestampInfoEXTinstance allocated withmemAlloc.static VkCalibratedTimestampInfoEXT.Buffermalloc(int capacity)Returns a newVkCalibratedTimestampInfoEXT.Bufferinstance allocated withmemAlloc.static VkCalibratedTimestampInfoEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkCalibratedTimestampInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkCalibratedTimestampInfoEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkCalibratedTimestampInfoEXTinstance allocated on the specifiedMemoryStack.static VkCalibratedTimestampInfoEXTmallocStack()Deprecated.static VkCalibratedTimestampInfoEXT.BuffermallocStack(int capacity)Deprecated.static VkCalibratedTimestampInfoEXT.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkCalibratedTimestampInfoEXTmallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.static intntimeDomain(long struct)Unsafe version oftimeDomain().static voidntimeDomain(long struct, int value)Unsafe version oftimeDomain.longpNext()NULLor a pointer to a structure extending this structure.VkCalibratedTimestampInfoEXTpNext(long value)Sets the specified value to thepNext()field.VkCalibratedTimestampInfoEXTset(int sType, long pNext, int timeDomain)Initializes this struct with the specified values.VkCalibratedTimestampInfoEXTset(VkCalibratedTimestampInfoEXT src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkCalibratedTimestampInfoEXTsType(int value)Sets the specified value to thesType()field.VkCalibratedTimestampInfoEXTsType$Default()Sets theSTRUCTURE_TYPE_CALIBRATED_TIMESTAMP_INFO_EXTvalue to thesType()field.inttimeDomain()aVkTimeDomainEXTvalue specifying the time domain from which the calibrated timestamp value should be returned.VkCalibratedTimestampInfoEXTtimeDomain(int value)Sets the specified value to thetimeDomain()field.
-
-
-
Constructor Detail
-
VkCalibratedTimestampInfoEXT
public VkCalibratedTimestampInfoEXT(java.nio.ByteBuffer container)
Creates aVkCalibratedTimestampInfoEXTinstance 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
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
sType
public int sType()
the type of this structure.
-
pNext
public long pNext()
NULLor a pointer to a structure extending this structure.
-
timeDomain
public int timeDomain()
aVkTimeDomainEXTvalue specifying the time domain from which the calibrated timestamp value should be returned.
-
sType
public VkCalibratedTimestampInfoEXT sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkCalibratedTimestampInfoEXT sType$Default()
Sets theSTRUCTURE_TYPE_CALIBRATED_TIMESTAMP_INFO_EXTvalue to thesType()field.
-
pNext
public VkCalibratedTimestampInfoEXT pNext(long value)
Sets the specified value to thepNext()field.
-
timeDomain
public VkCalibratedTimestampInfoEXT timeDomain(int value)
Sets the specified value to thetimeDomain()field.
-
set
public VkCalibratedTimestampInfoEXT set(int sType, long pNext, int timeDomain)
Initializes this struct with the specified values.
-
set
public VkCalibratedTimestampInfoEXT set(VkCalibratedTimestampInfoEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkCalibratedTimestampInfoEXT malloc()
Returns a newVkCalibratedTimestampInfoEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkCalibratedTimestampInfoEXT calloc()
Returns a newVkCalibratedTimestampInfoEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkCalibratedTimestampInfoEXT create()
Returns a newVkCalibratedTimestampInfoEXTinstance allocated withBufferUtils.
-
create
public static VkCalibratedTimestampInfoEXT create(long address)
Returns a newVkCalibratedTimestampInfoEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkCalibratedTimestampInfoEXT createSafe(long address)
-
malloc
public static VkCalibratedTimestampInfoEXT.Buffer malloc(int capacity)
Returns a newVkCalibratedTimestampInfoEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkCalibratedTimestampInfoEXT.Buffer calloc(int capacity)
Returns a newVkCalibratedTimestampInfoEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkCalibratedTimestampInfoEXT.Buffer create(int capacity)
Returns a newVkCalibratedTimestampInfoEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkCalibratedTimestampInfoEXT.Buffer create(long address, int capacity)
Create aVkCalibratedTimestampInfoEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkCalibratedTimestampInfoEXT.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VkCalibratedTimestampInfoEXT mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkCalibratedTimestampInfoEXT callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkCalibratedTimestampInfoEXT mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkCalibratedTimestampInfoEXT callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkCalibratedTimestampInfoEXT.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkCalibratedTimestampInfoEXT.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkCalibratedTimestampInfoEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkCalibratedTimestampInfoEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkCalibratedTimestampInfoEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkCalibratedTimestampInfoEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkCalibratedTimestampInfoEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkCalibratedTimestampInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkCalibratedTimestampInfoEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkCalibratedTimestampInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkCalibratedTimestampInfoEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkCalibratedTimestampInfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nsType
public static int nsType(long struct)
Unsafe version ofsType().
-
npNext
public static long npNext(long struct)
Unsafe version ofpNext().
-
ntimeDomain
public static int ntimeDomain(long struct)
Unsafe version oftimeDomain().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
ntimeDomain
public static void ntimeDomain(long struct, int value)Unsafe version oftimeDomain.
-
-