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.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.static final intThe 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 aVkLatencyTimingsFrameReportNVinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()Returns a newVkLatencyTimingsFrameReportNVinstance allocated withmemCalloc.calloc(int capacity) Returns a newVkLatencyTimingsFrameReportNV.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newVkLatencyTimingsFrameReportNV.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(MemoryStack stack) Returns a newVkLatencyTimingsFrameReportNVinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.create()Returns a newVkLatencyTimingsFrameReportNVinstance allocated withBufferUtils.create(int capacity) Returns a newVkLatencyTimingsFrameReportNV.Bufferinstance allocated withBufferUtils.create(long address) Returns a newVkLatencyTimingsFrameReportNVinstance for the specified memory address.create(long address, int capacity) Create aVkLatencyTimingsFrameReportNV.Bufferinstance at the specified memory.static @Nullable VkLatencyTimingsFrameReportNVcreateSafe(long address) static @Nullable VkLatencyTimingsFrameReportNV.BuffercreateSafe(long address, int capacity) longlonglonglonglongmalloc()Returns a newVkLatencyTimingsFrameReportNVinstance allocated withmemAlloc.malloc(int capacity) Returns a newVkLatencyTimingsFrameReportNV.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newVkLatencyTimingsFrameReportNV.Bufferinstance allocated on the specifiedMemoryStack.malloc(MemoryStack stack) Returns a newVkLatencyTimingsFrameReportNVinstance allocated on the specifiedMemoryStack.static longndriverEndTimeUs(long struct) Unsafe version ofdriverEndTimeUs().static longndriverStartTimeUs(long struct) Unsafe version ofdriverStartTimeUs().static longngpuRenderEndTimeUs(long struct) Unsafe version ofgpuRenderEndTimeUs().static longngpuRenderStartTimeUs(long struct) Unsafe version ofgpuRenderStartTimeUs().static longninputSampleTimeUs(long struct) Unsafe version ofinputSampleTimeUs().static longnosRenderQueueEndTimeUs(long struct) Unsafe version ofosRenderQueueEndTimeUs().static longnosRenderQueueStartTimeUs(long struct) Unsafe version ofosRenderQueueStartTimeUs().static longnpNext(long struct) Unsafe version ofpNext().static voidnpNext(long struct, long value) Unsafe version ofpNext.static longnpresentEndTimeUs(long struct) Unsafe version ofpresentEndTimeUs().static longnpresentID(long struct) Unsafe version ofpresentID().static longnpresentStartTimeUs(long struct) Unsafe version ofpresentStartTimeUs().static longnrenderSubmitEndTimeUs(long struct) Unsafe version ofrenderSubmitEndTimeUs().static longnrenderSubmitStartTimeUs(long struct) Unsafe version ofrenderSubmitStartTimeUs().static longnsimEndTimeUs(long struct) Unsafe version ofsimEndTimeUs().static longnsimStartTimeUs(long struct) Unsafe version ofsimStartTimeUs().static intnsType(long struct) Unsafe version ofsType().static voidnsType(long struct, int value) Unsafe version ofsType.longlonglongpNext()pNext(long value) Sets the specified value to thepNextfield.longlonglonglonglongset(int sType, long pNext) Initializes this struct with the specified values.Copies the specified struct data to this struct.longlongintsizeof()Returnssizeof(struct).intsType()sType(int value) Sets the specified value to thesTypefield.Sets theSTRUCTURE_TYPE_LATENCY_TIMINGS_FRAME_REPORT_NVvalue to thesTypefield.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods 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 aVkLatencyTimingsFrameReportNVinstance 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 Details
-
sizeof
public int sizeof()Description copied from class:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<VkLatencyTimingsFrameReportNV>
-
sType
public int sType()- Returns:
- the value of the
sTypefield.
-
pNext
public long pNext()- Returns:
- the value of the
pNextfield.
-
presentID
public long presentID()- Returns:
- the value of the
presentIDfield.
-
inputSampleTimeUs
public long inputSampleTimeUs()- Returns:
- the value of the
inputSampleTimeUsfield.
-
simStartTimeUs
public long simStartTimeUs()- Returns:
- the value of the
simStartTimeUsfield.
-
simEndTimeUs
public long simEndTimeUs()- Returns:
- the value of the
simEndTimeUsfield.
-
renderSubmitStartTimeUs
public long renderSubmitStartTimeUs()- Returns:
- the value of the
renderSubmitStartTimeUsfield.
-
renderSubmitEndTimeUs
public long renderSubmitEndTimeUs()- Returns:
- the value of the
renderSubmitEndTimeUsfield.
-
presentStartTimeUs
public long presentStartTimeUs()- Returns:
- the value of the
presentStartTimeUsfield.
-
presentEndTimeUs
public long presentEndTimeUs()- Returns:
- the value of the
presentEndTimeUsfield.
-
driverStartTimeUs
public long driverStartTimeUs()- Returns:
- the value of the
driverStartTimeUsfield.
-
driverEndTimeUs
public long driverEndTimeUs()- Returns:
- the value of the
driverEndTimeUsfield.
-
osRenderQueueStartTimeUs
public long osRenderQueueStartTimeUs()- Returns:
- the value of the
osRenderQueueStartTimeUsfield.
-
osRenderQueueEndTimeUs
public long osRenderQueueEndTimeUs()- Returns:
- the value of the
osRenderQueueEndTimeUsfield.
-
gpuRenderStartTimeUs
public long gpuRenderStartTimeUs()- Returns:
- the value of the
gpuRenderStartTimeUsfield.
-
gpuRenderEndTimeUs
public long gpuRenderEndTimeUs()- Returns:
- the value of the
gpuRenderEndTimeUsfield.
-
sType
Sets the specified value to thesTypefield. -
sType$Default
Sets theSTRUCTURE_TYPE_LATENCY_TIMINGS_FRAME_REPORT_NVvalue to thesTypefield. -
pNext
Sets the specified value to thepNextfield. -
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 newVkLatencyTimingsFrameReportNVinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkLatencyTimingsFrameReportNVinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkLatencyTimingsFrameReportNVinstance allocated withBufferUtils. -
create
Returns a newVkLatencyTimingsFrameReportNVinstance for the specified memory address. -
createSafe
-
malloc
Returns a newVkLatencyTimingsFrameReportNV.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkLatencyTimingsFrameReportNV.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkLatencyTimingsFrameReportNV.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aVkLatencyTimingsFrameReportNV.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newVkLatencyTimingsFrameReportNVinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newVkLatencyTimingsFrameReportNVinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newVkLatencyTimingsFrameReportNV.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newVkLatencyTimingsFrameReportNV.Bufferinstance allocated on the specifiedMemoryStackand 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.
-