Aggregate class for sub-parts of the QtQuick3D rendering engine. 更多...
头: | #include <QSSGRenderContextInterface> |
Since: | Qt 6.7 |
const std::unique_ptr<QSSGRhiContext> & | rhiContext () const |
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.
注意: 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.
Returns the context object that wraps QRhi -related settings and helper functionality.