Record Class VkLatencyTimingsFrameReportNV
- All Implemented Interfaces:
IPointer
,IVkLatencyTimingsFrameReportNV
Represents a pointer to a VkLatencyTimingsFrameReportNV
structure in native memory.
Structure
typedef struct VkLatencyTimingsFrameReportNV {
VkStructureType
sType
;
void const* pNext
; // optional
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
;
} VkLatencyTimingsFrameReportNV;
Auto initialization
This structure has the following members that can be automatically initialized:
sType = VK_STRUCTURE_TYPE_LATENCY_TIMINGS_FRAME_REPORT_NV
The allocate
(allocate(Arena)
, allocate(Arena, long)
)
functions will automatically initialize these fields. Also, you may call autoInit()
to initialize these fields manually for non-allocated instances.
Contracts
The property segment()
should always be not-null
(segment != NULL && !segment.equals(MemorySegment.NULL)
), and properly aligned to
LAYOUT.byteAlignment()
bytes. To represent null pointer, you may use a Java
null
instead. See the documentation of IPointer.segment()
for more details.
The constructor of this class is marked as UnsafeConstructor
, because it does not
perform any runtime check. The constructor can be useful for automatic code generators.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final record
Represents a pointer to / an array ofVkLatencyTimingsFrameReportNV
structure(s) in native memory. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final long
static final StructLayout
static final ValueLayout.OfLong
static final ValueLayout.OfLong
static final ValueLayout.OfLong
static final ValueLayout.OfLong
static final ValueLayout.OfLong
static final ValueLayout.OfLong
static final ValueLayout.OfLong
static final AddressLayout
static final ValueLayout.OfLong
static final ValueLayout.OfLong
static final ValueLayout.OfLong
static final ValueLayout.OfLong
static final ValueLayout.OfLong
static final ValueLayout.OfLong
static final ValueLayout.OfLong
static final ValueLayout.OfInt
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
-
Constructor Summary
ConstructorsConstructorDescriptionVkLatencyTimingsFrameReportNV
(@NotNull MemorySegment segment) Creates an instance of aVkLatencyTimingsFrameReportNV
record class. -
Method Summary
Modifier and TypeMethodDescriptionvoid
autoInit()
clone
(Arena arena, VkLatencyTimingsFrameReportNV src) long
driverEndTimeUs
(long value) long
driverStartTimeUs
(long value) final boolean
Indicates whether some other object is "equal to" this one.long
gpuRenderEndTimeUs
(long value) long
gpuRenderStartTimeUs
(long value) final int
hashCode()
Returns a hash code value for this object.long
inputSampleTimeUs
(long value) long
osRenderQueueEndTimeUs
(long value) long
osRenderQueueStartTimeUs
(long value) pNext()
void
pNext
(MemorySegment value) long
presentEndTimeUs
(long value) long
presentID
(long value) long
presentStartTimeUs
(long value) long
renderSubmitEndTimeUs
(long value) long
renderSubmitStartTimeUs
(long value) @NotNull MemorySegment
segment()
Returns the value of thesegment
record component.long
simEndTimeUs
(long value) long
simStartTimeUs
(long value) int
sType()
sType
(int value) final String
toString()
Returns a string representation of this record class.
-
Field Details
-
LAYOUT
-
BYTES
public static final long BYTES -
PATH$sType
-
PATH$pNext
-
PATH$presentID
-
PATH$inputSampleTimeUs
-
PATH$simStartTimeUs
-
PATH$simEndTimeUs
-
PATH$renderSubmitStartTimeUs
-
PATH$renderSubmitEndTimeUs
-
PATH$presentStartTimeUs
-
PATH$presentEndTimeUs
-
PATH$driverStartTimeUs
-
PATH$driverEndTimeUs
-
PATH$osRenderQueueStartTimeUs
-
PATH$osRenderQueueEndTimeUs
-
PATH$gpuRenderStartTimeUs
-
PATH$gpuRenderEndTimeUs
-
LAYOUT$sType
-
LAYOUT$pNext
-
LAYOUT$presentID
-
LAYOUT$inputSampleTimeUs
-
LAYOUT$simStartTimeUs
-
LAYOUT$simEndTimeUs
-
LAYOUT$renderSubmitStartTimeUs
-
LAYOUT$renderSubmitEndTimeUs
-
LAYOUT$presentStartTimeUs
-
LAYOUT$presentEndTimeUs
-
LAYOUT$driverStartTimeUs
-
LAYOUT$driverEndTimeUs
-
LAYOUT$osRenderQueueStartTimeUs
-
LAYOUT$osRenderQueueEndTimeUs
-
LAYOUT$gpuRenderStartTimeUs
-
LAYOUT$gpuRenderEndTimeUs
-
SIZE$sType
public static final long SIZE$sType -
SIZE$pNext
public static final long SIZE$pNext -
SIZE$presentID
public static final long SIZE$presentID -
SIZE$inputSampleTimeUs
public static final long SIZE$inputSampleTimeUs -
SIZE$simStartTimeUs
public static final long SIZE$simStartTimeUs -
SIZE$simEndTimeUs
public static final long SIZE$simEndTimeUs -
SIZE$renderSubmitStartTimeUs
public static final long SIZE$renderSubmitStartTimeUs -
SIZE$renderSubmitEndTimeUs
public static final long SIZE$renderSubmitEndTimeUs -
SIZE$presentStartTimeUs
public static final long SIZE$presentStartTimeUs -
SIZE$presentEndTimeUs
public static final long SIZE$presentEndTimeUs -
SIZE$driverStartTimeUs
public static final long SIZE$driverStartTimeUs -
SIZE$driverEndTimeUs
public static final long SIZE$driverEndTimeUs -
SIZE$osRenderQueueStartTimeUs
public static final long SIZE$osRenderQueueStartTimeUs -
SIZE$osRenderQueueEndTimeUs
public static final long SIZE$osRenderQueueEndTimeUs -
SIZE$gpuRenderStartTimeUs
public static final long SIZE$gpuRenderStartTimeUs -
SIZE$gpuRenderEndTimeUs
public static final long SIZE$gpuRenderEndTimeUs -
OFFSET$sType
public static final long OFFSET$sType -
OFFSET$pNext
public static final long OFFSET$pNext -
OFFSET$presentID
public static final long OFFSET$presentID -
OFFSET$inputSampleTimeUs
public static final long OFFSET$inputSampleTimeUs -
OFFSET$simStartTimeUs
public static final long OFFSET$simStartTimeUs -
OFFSET$simEndTimeUs
public static final long OFFSET$simEndTimeUs -
OFFSET$renderSubmitStartTimeUs
public static final long OFFSET$renderSubmitStartTimeUs -
OFFSET$renderSubmitEndTimeUs
public static final long OFFSET$renderSubmitEndTimeUs -
OFFSET$presentStartTimeUs
public static final long OFFSET$presentStartTimeUs -
OFFSET$presentEndTimeUs
public static final long OFFSET$presentEndTimeUs -
OFFSET$driverStartTimeUs
public static final long OFFSET$driverStartTimeUs -
OFFSET$driverEndTimeUs
public static final long OFFSET$driverEndTimeUs -
OFFSET$osRenderQueueStartTimeUs
public static final long OFFSET$osRenderQueueStartTimeUs -
OFFSET$osRenderQueueEndTimeUs
public static final long OFFSET$osRenderQueueEndTimeUs -
OFFSET$gpuRenderStartTimeUs
public static final long OFFSET$gpuRenderStartTimeUs -
OFFSET$gpuRenderEndTimeUs
public static final long OFFSET$gpuRenderEndTimeUs
-
-
Constructor Details
-
VkLatencyTimingsFrameReportNV
Creates an instance of aVkLatencyTimingsFrameReportNV
record class.- Parameters:
segment
- the value for thesegment
record component
-
-
Method Details
-
allocate
-
allocate
-
clone
-
autoInit
public void autoInit() -
sType
-
sType
-
pNext
-
pNext
-
pNext
-
presentID
-
presentID
-
inputSampleTimeUs
-
inputSampleTimeUs
-
simStartTimeUs
-
simStartTimeUs
-
simEndTimeUs
-
simEndTimeUs
-
renderSubmitStartTimeUs
-
renderSubmitStartTimeUs
-
renderSubmitEndTimeUs
-
renderSubmitEndTimeUs
-
presentStartTimeUs
-
presentStartTimeUs
-
presentEndTimeUs
-
presentEndTimeUs
-
driverStartTimeUs
-
driverStartTimeUs
-
driverEndTimeUs
-
driverEndTimeUs
-
osRenderQueueStartTimeUs
-
osRenderQueueStartTimeUs
-
osRenderQueueEndTimeUs
-
osRenderQueueEndTimeUs
-
gpuRenderStartTimeUs
-
gpuRenderStartTimeUs
-
gpuRenderEndTimeUs
-
gpuRenderEndTimeUs
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
segment
Returns the value of thesegment
record component.
-