MemoryBarrier QML Type
メモリ・バリアを配置するクラス。詳細...
Import Statement: | import Qt3D.Render 2.8 |
In C++: | QMemoryBarrier |
Inherits: | |
Status: | Deprecated |
詳細説明
MemoryBarrier FrameGraphノードは、レンダリングの特定の時間に特定のメモリバリアを配置するために使用されます。これは、GPU上の描画コマンドと計算コマンドを適切に同期させるために必要です。
バリアは、前のコマンドによって発行されたメモリ操作の順序を定義します。つまり、command1 が次の command2 で頂点アトリビュートバッファとして使用されるバッファを操作している場合、メモリバリアは command1 の後に配置され、頂点アトリビュートバッファに適切なバリアタイプを設定する必要があります。
QMemoryBarrierノードがFrameGraphブランチで見つかると、たとえそれらがブランチの深い部分で定義されていたとしても、描画や計算コマンドの前にバリアが実行されます。
OpenGLレンダリングについては、このページでメモリモデルについて詳しく説明しています。
© 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.