이 페이지에서

AddDefine QML Type

셰이더 컴파일에 전처리기 정의를 추가합니다. pass.. . 더보기....

Import Statement: import QtQuick3D
Since: Qt 6.11
Inherits:

Command

상세 설명

AddDefine 유형은 RenderPass 에 대한 셰이더 컴파일 프로세스에 추가할 전처리기 정의를 지정하는 데 사용됩니다. 이를 통해 특정 매크로를 정의하여 셰이더 동작을 커스터마이징할 수 있습니다.

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