Storage class containing data collected for a frame. 更多...
头: | #include <QSSGFrameData> |
Since: | Qt 6.7 |
QSSGCameraId | activeCamera () const |
QSSGRhiGraphicsPipelineState | getPipelineState () const |
QSSGFrameData::Result | getRenderResult (QSSGFrameData::RenderResult id ) const |
Returns The active camera for the scene, or null if non could be found.
Returns Base pipeline state for this frame
Returns The renderable texture result from
id
.
nullptr
if no matching
id
was found.
注意: 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.
注意: 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.