RenderStats QML Type
Provides information of the scene rendering. More...
|Import Statement:||import QtQuick3D|
- fps : int
- frameTime : float
- maxFrameTime : float
- renderPrepareTime : float
- renderTime : float
- syncTime : float
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.
© 2023 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.