gpuFps property

double? get gpuFps

GPU-based frames per second, if GPU timing is available.

Implementation

double? get gpuFps => gpuFrameTimeMs != null && gpuFrameTimeMs! > 0
    ? 1000.0 / gpuFrameTimeMs!
    : null;