MemoryBarrier QML Type
メモリバリアを設定するクラス。詳細...
| Import Statement: | import Qt3D.Render 2.12 |
| In C++: | QMemoryBarrier |
| Inherits: | |
| Status: | Deprecated |
この型は非推奨です。新しいコードでの使用は強く推奨しません。
詳細な説明
MemoryBarrier FrameGraph ノードは、レンダリングの特定のタイミングで特定のメモリバリアを配置するために使用されます。これは、GPU 上の描画コマンドと演算コマンドを適切に同期させるために必要です。
このバリアは、先行するコマンドによって発行されるメモリ操作の順序を定義します。つまり、コマンド1が、後続のコマンド2で頂点属性バッファとして使用されるバッファを操作している場合、メモリバリアはコマンド1の後に配置し、頂点属性バッファに適したバリアタイプを設定する必要があります。
FrameGraphの分岐内でQMemoryBarrierノードが見つかった場合、たとえそれらの描画または演算コマンドが分岐のより深い位置で定義されていたとしても、そのバリアはそれらに先立って強制的に適用されます。
OpenGLレンダリングについては、このページでメモリモデルに関する詳細情報を確認できます。
© 2026 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.