이 페이지에서

DispatchCompute QML Type

GPU의 컴퓨트 셰이더에 작업을 할당하는 FrameGraph 노드입니다. 더 보기...

Import Statement: import Qt3D.Render 2.12
In C++: QDispatchCompute
Inherits:

FrameGraphNode

Status: Deprecated

이 유형은 더 이상 사용되지 않습니다. 새로운 코드에서는 이 유형을 사용하지 않는 것이 좋습니다.

속성

상세 설명

DispatchCompute를 사용하면 GPU에서 컴퓨트 셰이더가 실행할 작업을 할당할 수 있습니다. workGroupX, workGroupY 및 workGroupZ 속성은 컴퓨트 셰이더 호출 시의 워크그룹 크기를 지정합니다. Qt3D가 컴퓨트 호출을 위해 엔티티에서 머티리얼과 지오메트리를 선택하도록 지시하려면 엔티티에 ComputeCommand 컴포넌트를 추가해야 합니다. 셰이더 호출에 사용되는 워크그룹 크기는 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.