Structures
VkGetLatencyMarkerInfoNV
Structure specifying the parameters of vkGetLatencyTimingsNV
The VkGetLatencyMarkerInfoNV
structure is defined as:
typedef struct VkGetLatencyMarkerInfoNV {
VkStructureType sType;
const void* pNext;
uint32_t timingCount;
VkLatencyTimingsFrameReportNV* pTimings;
} VkGetLatencyMarkerInfoNV;
sType
is a VkStructureType value identifying this structure.pNext
is eitherNULL
or a pointer to a structure extending this structure.timingCount
is an integer related to the number of previous frames of latency data available or queried, as described below.pTimings
is eitherNULL
or a pointer to an array of VkLatencyTimingsFrameReportNV structures.
If pTimings
is NULL
then the maximum number of queryable frame data
is returned in timingCount
.
Otherwise, timingCount
must be set by the application to the number
of elements in the pTimings
array, and on return the variable is
overwritten with the number of values actually written to pTimings
.
The elements of pTimings
are arranged in the order they were requested
in, with the oldest data in the first entry.
Valid Usage (Implicit)
VUID-VkGetLatencyMarkerInfoNV-sType-sType
sType
must be VK_STRUCTURE_TYPE_GET_LATENCY_MARKER_INFO_NV
VUID-VkGetLatencyMarkerInfoNV-pTimings-parameter
If timingCount
is not 0
, and pTimings
is not NULL
, pTimings
must be a valid pointer to an array of timingCount
VkLatencyTimingsFrameReportNV structures