RenderStats QML Type

Provides information of the scene rendering. 更多...

import 语句: import QtQuick3D

特性

详细描述

The RenderStats type provides information about scene rendering statistics. This cannot be created directly, but can be retrieved from a View3D .

特性文档编制

[read-only] fps : int

This property holds the number of frames rendered during the last second.

[read-only] frameTime : float

This property holds the amount of time elapsed since the last frame, in milliseconds.

[read-only] maxFrameTime : float

This property holds the maximum time spent rendering a single frame during the last second.

[read-only] renderPrepareTime : float

This property holds the amount of time spent in the preparation phase of rendering, in milliseconds. This is a subset of the total render time reported in renderTime .

[read-only] renderTime : float

This property holds the amount of time spent on generating a new frame, including both the preparation phase and the recording of draw calls. The value is in milliseconds.

[read-only] syncTime : float

This property holds the amount of time spent inside the sync function, in milliseconds. The property values of the objects are updated during the sync.