QSSGRenderContextInterface Class

Aggregate class for sub-parts of the QtQuick3D rendering engine. More...

Header: #include <QSSGRenderContextInterface>
Since: Qt 6.7

Public Functions

const std::unique_ptr<QSSGRhiContext> &rhiContext() const

Detailed Description

The QSSGRenderContextInterface, and the objects owned by it are always per-QQuickWindow, and so per scenegraph render thread. Some resources might be shared, like the shader library, but that's all take care of internally by the QSSGRenderContextInterface.

Note: Some sub-components might not be exposed as semi-public, or their use might require private headers to be used. In those cases it's likely their APIs have a high likelihood of being changed in the near future. One the APIs for those class have stabilized they will be made available with the same guarantee as the rest of the semi-public APIs.

Member Function Documentation

const std::unique_ptr<QSSGRhiContext> &QSSGRenderContextInterface::rhiContext() const

Returns the context object that wraps QRhi-related settings and helper functionality.

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