DispatchCompute QML Type
GPU上のコンピュートシェーダーに作業を割り当てるFrameGraphノード。詳細...
| Import Statement: | import Qt3D.Render 2.12 |
| In C++: | QDispatchCompute |
| Inherits: | |
| Status: | Deprecated |
この型は非推奨です。新しいコードでの使用は強く推奨しません。
プロパティ
- workGroupX : int
- workGroupY : int
- workGroupZ : int
詳細な説明
DispatchCompute を使用すると、GPU 上でコンピュートシェーダーを実行するためのワークを発行できます。workGroupX 、workGroupY 、およびworkGroupZ プロパティは、コンピュートシェーダーの呼び出しにおけるワークグループのサイズを指定します。ComputeCommand コンポーネントをエンティティに追加することで、Qt3D に、コンピュート呼び出しのためにエンティティからマテリアルとジオメトリを選択するよう指示する必要があります。 シェーダー呼び出しのワークグループサイズは、`DispatchCompute`および`ComputeCommand`で指定されたワークグループサイズの最大値となります。
プロパティのドキュメント
workGroupX : int
Xワークグループのサイズを指定します。
workGroupY : int
Yワークグループのサイズを指定します。
workGroupZ : int
Zワークグループのサイズを指定します。
© 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.