QSSGFrameData Class

Storage class containing data collected for a frame. More...

Header: #include <QSSGFrameData>
Since: Qt 6.7

Public Functions

QSSGCameraId activeCamera() const
QSSGRhiGraphicsPipelineState getPipelineState() const
QSSGFrameData::Result getRenderResult(QSSGFrameData::RenderResult id) const

Detailed Description

Member Function Documentation

QSSGCameraId QSSGFrameData::activeCamera() const

Returns The active camera for the scene, or null if non could be found.

QSSGRhiGraphicsPipelineState QSSGFrameData::getPipelineState() const

Returns Base pipeline state for this frame

QSSGFrameData::Result QSSGFrameData::getRenderResult(QSSGFrameData::RenderResult id) const

Returns The renderable texture result from id. nullptr if no matching id was found.

Note: Even if the function returns a non-null result, the returned QSSGRhiRenderableTexture might not be ready unless the pass rendering to the texture has been executed.

Note: The returned value is only valid within the current frame. On each new frame the renderable will be reset and should therefore be queried again.

© 2024 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.