QSSGRenderContextInterface Class

QtQuick3D レンダリングエンジンのサブパーツを集約したクラス。詳細...

Header: #include <QSSGRenderContextInterface>
Since: Qt 6.7

パブリック関数

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

詳細説明

QSSGRenderContextInterfaceと、それによって所有されるオブジェクトは、常にQQuickWindow 、シーングラフのレンダリングスレッドごとにあります。いくつかのリソースは、シェーダーライブラリのように共有されるかもしれませんが、それはすべてQSSGRenderContextInterfaceによって内部的に処理されます。

注意: いくつかのサブコンポーネントは、半公開として公開されないかもしれませんし、その使用にはプライベートヘッダが必要かもしれません。それらの場合、それらのAPIは近い将来変更される可能性が高いでしょう。それらのクラスのAPIが安定したら、他の半公開APIと同じ保証で利用可能になるでしょう。

メンバー関数ドキュメント

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

QRhi 関連の設定やヘルパー機能をラップしたコンテキストオブジェクトを返します。

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