GpuTime Class

(QRhiProfiler::GpuTime)

Contains GPU-side frame timings. More...

Header: #include <GpuTime>
qmake: QT += rhi

Public Variables

float avgTime
float maxTime
float minTime

Detailed Description

Contains GPU-side frame timings.

Once sufficient number of frames have been rendered, the minimum, maximum, and average values (in milliseconds) calculated from GPU command buffer timestamps are made available in this struct queriable from QRhiProfiler::gpuFrameTimes().

See also QRhiProfiler::setFrameTimingWriteInterval().

Member Type Documentation

Property Documentation

Member Function Documentation

Member Variable Documentation

Related Non-Members

Macro Documentation