RenderStats QML Type
Provides information of the scene rendering. More...
Import Statement: | import QtQuick3D |
Properties
- fps : int
- frameTime : float
- maxFrameTime : float
- renderPrepareTime : float
- renderTime : float
- syncTime : float
Detailed Description
The RenderStats type provides information about scene rendering statistics. This cannot be created directly, but can be retrieved from a View3D.
Property Documentation
[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.