Package org.lwjgl.vulkan
Class VkLatencyTimingsFrameReportNV
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkLatencyTimingsFrameReportNV>
org.lwjgl.vulkan.VkLatencyTimingsFrameReportNV
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
public class VkLatencyTimingsFrameReportNV
extends Struct<VkLatencyTimingsFrameReportNV>
implements NativeResource
struct VkLatencyTimingsFrameReportNV {
VkStructureType sType;
void const * pNext;
uint64_t presentID;
uint64_t inputSampleTimeUs;
uint64_t simStartTimeUs;
uint64_t simEndTimeUs;
uint64_t renderSubmitStartTimeUs;
uint64_t renderSubmitEndTimeUs;
uint64_t presentStartTimeUs;
uint64_t presentEndTimeUs;
uint64_t driverStartTimeUs;
uint64_t driverEndTimeUs;
uint64_t osRenderQueueStartTimeUs;
uint64_t osRenderQueueEndTimeUs;
uint64_t gpuRenderStartTimeUs;
uint64_t gpuRenderEndTimeUs;
}
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The struct alignment in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct size in bytes.static final int
The struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionVkLatencyTimingsFrameReportNV
(ByteBuffer container) Creates aVkLatencyTimingsFrameReportNV
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()
Returns a newVkLatencyTimingsFrameReportNV
instance allocated withmemCalloc
.calloc
(int capacity) Returns a newVkLatencyTimingsFrameReportNV.Buffer
instance allocated withmemCalloc
.calloc
(int capacity, MemoryStack stack) Returns a newVkLatencyTimingsFrameReportNV.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.calloc
(MemoryStack stack) Returns a newVkLatencyTimingsFrameReportNV
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.create()
Returns a newVkLatencyTimingsFrameReportNV
instance allocated withBufferUtils
.create
(int capacity) Returns a newVkLatencyTimingsFrameReportNV.Buffer
instance allocated withBufferUtils
.create
(long address) Returns a newVkLatencyTimingsFrameReportNV
instance for the specified memory address.create
(long address, int capacity) Create aVkLatencyTimingsFrameReportNV.Buffer
instance at the specified memory.static @Nullable VkLatencyTimingsFrameReportNV
createSafe
(long address) static @Nullable VkLatencyTimingsFrameReportNV.Buffer
createSafe
(long address, int capacity) long
long
long
long
long
malloc()
Returns a newVkLatencyTimingsFrameReportNV
instance allocated withmemAlloc
.malloc
(int capacity) Returns a newVkLatencyTimingsFrameReportNV.Buffer
instance allocated withmemAlloc
.malloc
(int capacity, MemoryStack stack) Returns a newVkLatencyTimingsFrameReportNV.Buffer
instance allocated on the specifiedMemoryStack
.malloc
(MemoryStack stack) Returns a newVkLatencyTimingsFrameReportNV
instance allocated on the specifiedMemoryStack
.static long
ndriverEndTimeUs
(long struct) Unsafe version ofdriverEndTimeUs()
.static long
ndriverStartTimeUs
(long struct) Unsafe version ofdriverStartTimeUs()
.static long
ngpuRenderEndTimeUs
(long struct) Unsafe version ofgpuRenderEndTimeUs()
.static long
ngpuRenderStartTimeUs
(long struct) Unsafe version ofgpuRenderStartTimeUs()
.static long
ninputSampleTimeUs
(long struct) Unsafe version ofinputSampleTimeUs()
.static long
nosRenderQueueEndTimeUs
(long struct) Unsafe version ofosRenderQueueEndTimeUs()
.static long
nosRenderQueueStartTimeUs
(long struct) Unsafe version ofosRenderQueueStartTimeUs()
.static long
npNext
(long struct) Unsafe version ofpNext()
.static void
npNext
(long struct, long value) Unsafe version ofpNext
.static long
npresentEndTimeUs
(long struct) Unsafe version ofpresentEndTimeUs()
.static long
npresentID
(long struct) Unsafe version ofpresentID()
.static long
npresentStartTimeUs
(long struct) Unsafe version ofpresentStartTimeUs()
.static long
nrenderSubmitEndTimeUs
(long struct) Unsafe version ofrenderSubmitEndTimeUs()
.static long
nrenderSubmitStartTimeUs
(long struct) Unsafe version ofrenderSubmitStartTimeUs()
.static long
nsimEndTimeUs
(long struct) Unsafe version ofsimEndTimeUs()
.static long
nsimStartTimeUs
(long struct) Unsafe version ofsimStartTimeUs()
.static int
nsType
(long struct) Unsafe version ofsType()
.static void
nsType
(long struct, int value) Unsafe version ofsType
.long
long
long
pNext()
pNext
(long value) Sets the specified value to thepNext
field.long
long
long
long
long
set
(int sType, long pNext) Initializes this struct with the specified values.Copies the specified struct data to this struct.long
long
int
sizeof()
Returnssizeof(struct)
.int
sType()
sType
(int value) Sets the specified value to thesType
field.Sets theSTRUCTURE_TYPE_LATENCY_TIMINGS_FRAME_REPORT_NV
value to thesType
field.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
STYPE
public static final int STYPEThe struct member offsets. -
PNEXT
public static final int PNEXTThe struct member offsets. -
PRESENTID
public static final int PRESENTIDThe struct member offsets. -
INPUTSAMPLETIMEUS
public static final int INPUTSAMPLETIMEUSThe struct member offsets. -
SIMSTARTTIMEUS
public static final int SIMSTARTTIMEUSThe struct member offsets. -
SIMENDTIMEUS
public static final int SIMENDTIMEUSThe struct member offsets. -
RENDERSUBMITSTARTTIMEUS
public static final int RENDERSUBMITSTARTTIMEUSThe struct member offsets. -
RENDERSUBMITENDTIMEUS
public static final int RENDERSUBMITENDTIMEUSThe struct member offsets. -
PRESENTSTARTTIMEUS
public static final int PRESENTSTARTTIMEUSThe struct member offsets. -
PRESENTENDTIMEUS
public static final int PRESENTENDTIMEUSThe struct member offsets. -
DRIVERSTARTTIMEUS
public static final int DRIVERSTARTTIMEUSThe struct member offsets. -
DRIVERENDTIMEUS
public static final int DRIVERENDTIMEUSThe struct member offsets. -
OSRENDERQUEUESTARTTIMEUS
public static final int OSRENDERQUEUESTARTTIMEUSThe struct member offsets. -
OSRENDERQUEUEENDTIMEUS
public static final int OSRENDERQUEUEENDTIMEUSThe struct member offsets. -
GPURENDERSTARTTIMEUS
public static final int GPURENDERSTARTTIMEUSThe struct member offsets. -
GPURENDERENDTIMEUS
public static final int GPURENDERENDTIMEUSThe struct member offsets.
-
-
Constructor Details
-
VkLatencyTimingsFrameReportNV
Creates aVkLatencyTimingsFrameReportNV
instance at the current position of the specifiedByteBuffer
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.
-
-
Method Details
-
sizeof
public int sizeof()Description copied from class:Struct
Returnssizeof(struct)
.- Specified by:
sizeof
in classStruct<VkLatencyTimingsFrameReportNV>
-
sType
public int sType()- Returns:
- the value of the
sType
field.
-
pNext
public long pNext()- Returns:
- the value of the
pNext
field.
-
presentID
public long presentID()- Returns:
- the value of the
presentID
field.
-
inputSampleTimeUs
public long inputSampleTimeUs()- Returns:
- the value of the
inputSampleTimeUs
field.
-
simStartTimeUs
public long simStartTimeUs()- Returns:
- the value of the
simStartTimeUs
field.
-
simEndTimeUs
public long simEndTimeUs()- Returns:
- the value of the
simEndTimeUs
field.
-
renderSubmitStartTimeUs
public long renderSubmitStartTimeUs()- Returns:
- the value of the
renderSubmitStartTimeUs
field.
-
renderSubmitEndTimeUs
public long renderSubmitEndTimeUs()- Returns:
- the value of the
renderSubmitEndTimeUs
field.
-
presentStartTimeUs
public long presentStartTimeUs()- Returns:
- the value of the
presentStartTimeUs
field.
-
presentEndTimeUs
public long presentEndTimeUs()- Returns:
- the value of the
presentEndTimeUs
field.
-
driverStartTimeUs
public long driverStartTimeUs()- Returns:
- the value of the
driverStartTimeUs
field.
-
driverEndTimeUs
public long driverEndTimeUs()- Returns:
- the value of the
driverEndTimeUs
field.
-
osRenderQueueStartTimeUs
public long osRenderQueueStartTimeUs()- Returns:
- the value of the
osRenderQueueStartTimeUs
field.
-
osRenderQueueEndTimeUs
public long osRenderQueueEndTimeUs()- Returns:
- the value of the
osRenderQueueEndTimeUs
field.
-
gpuRenderStartTimeUs
public long gpuRenderStartTimeUs()- Returns:
- the value of the
gpuRenderStartTimeUs
field.
-
gpuRenderEndTimeUs
public long gpuRenderEndTimeUs()- Returns:
- the value of the
gpuRenderEndTimeUs
field.
-
sType
Sets the specified value to thesType
field. -
sType$Default
Sets theSTRUCTURE_TYPE_LATENCY_TIMINGS_FRAME_REPORT_NV
value to thesType
field. -
pNext
Sets the specified value to thepNext
field. -
set
Initializes this struct with the specified values. -
set
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
Returns a newVkLatencyTimingsFrameReportNV
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newVkLatencyTimingsFrameReportNV
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newVkLatencyTimingsFrameReportNV
instance allocated withBufferUtils
. -
create
Returns a newVkLatencyTimingsFrameReportNV
instance for the specified memory address. -
createSafe
-
malloc
Returns a newVkLatencyTimingsFrameReportNV.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newVkLatencyTimingsFrameReportNV.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newVkLatencyTimingsFrameReportNV.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aVkLatencyTimingsFrameReportNV.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
malloc
Returns a newVkLatencyTimingsFrameReportNV
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newVkLatencyTimingsFrameReportNV
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newVkLatencyTimingsFrameReportNV.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newVkLatencyTimingsFrameReportNV.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
nsType
public static int nsType(long struct) Unsafe version ofsType()
. -
npNext
public static long npNext(long struct) Unsafe version ofpNext()
. -
npresentID
public static long npresentID(long struct) Unsafe version ofpresentID()
. -
ninputSampleTimeUs
public static long ninputSampleTimeUs(long struct) Unsafe version ofinputSampleTimeUs()
. -
nsimStartTimeUs
public static long nsimStartTimeUs(long struct) Unsafe version ofsimStartTimeUs()
. -
nsimEndTimeUs
public static long nsimEndTimeUs(long struct) Unsafe version ofsimEndTimeUs()
. -
nrenderSubmitStartTimeUs
public static long nrenderSubmitStartTimeUs(long struct) Unsafe version ofrenderSubmitStartTimeUs()
. -
nrenderSubmitEndTimeUs
public static long nrenderSubmitEndTimeUs(long struct) Unsafe version ofrenderSubmitEndTimeUs()
. -
npresentStartTimeUs
public static long npresentStartTimeUs(long struct) Unsafe version ofpresentStartTimeUs()
. -
npresentEndTimeUs
public static long npresentEndTimeUs(long struct) Unsafe version ofpresentEndTimeUs()
. -
ndriverStartTimeUs
public static long ndriverStartTimeUs(long struct) Unsafe version ofdriverStartTimeUs()
. -
ndriverEndTimeUs
public static long ndriverEndTimeUs(long struct) Unsafe version ofdriverEndTimeUs()
. -
nosRenderQueueStartTimeUs
public static long nosRenderQueueStartTimeUs(long struct) Unsafe version ofosRenderQueueStartTimeUs()
. -
nosRenderQueueEndTimeUs
public static long nosRenderQueueEndTimeUs(long struct) Unsafe version ofosRenderQueueEndTimeUs()
. -
ngpuRenderStartTimeUs
public static long ngpuRenderStartTimeUs(long struct) Unsafe version ofgpuRenderStartTimeUs()
. -
ngpuRenderEndTimeUs
public static long ngpuRenderEndTimeUs(long struct) Unsafe version ofgpuRenderEndTimeUs()
. -
nsType
public static void nsType(long struct, int value) Unsafe version ofsType
. -
npNext
public static void npNext(long struct, long value) Unsafe version ofpNext
.
-