Qt3DRender::QColorMask Class
class Qt3DRender::QColorMask현재 바인딩된 프레임 버퍼에 어떤 색상 성분을 기록할지 지정할 수 있습니다. 더 보기...
| 헤더: | #include <qcolormask.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
| qmake: | QT += 3drender |
| QML에서: | ColorMask |
| 상속: | Qt3DRender::QRenderState |
| 상태: | 사용 중단됨 |
이 클래스는 더 이상 사용되지 않습니다. 새로운 코드에서는 이 클래스를 사용하지 않는 것을 강력히 권장합니다.
속성
- alphaMasked : bool
- blueMasked : bool
- greenMasked : bool
- redMasked : bool
공개 함수
| QColorMask(Qt3DCore::QNode *parent = nullptr) | |
| bool | isAlphaMasked() const |
| bool | isBlueMasked() const |
| bool | isGreenMasked() const |
| bool | isRedMasked() const |
공개 슬롯
| void | setAlphaMasked(bool alphaMasked) |
| void | setBlueMasked(bool blueMasked) |
| void | setGreenMasked(bool greenMasked) |
| void | setRedMasked(bool redMasked) |
신호
| void | alphaMaskedChanged(bool alphaMasked) |
| void | blueMaskedChanged(bool blueMasked) |
| void | greenMaskedChanged(bool greenMasked) |
| void | redMaskedChanged(bool redMasked) |
상세 설명
기본적으로 각 색상 구성 요소(빨강, 녹색, 파랑, 알파)에 대한 속성은 ` true `로 설정되어 있으며, 이는 해당 구성 요소가 프레임 버퍼에 기록됨을 의미합니다. 색상 구성 요소 중 하나를 ` false `로 설정하면 프레임 버퍼에 기록되지 않습니다.
속성 설명
alphaMasked : bool
alphaMasked 컴포넌트를 프레임 버퍼에 기록할지 여부를 지정합니다.
액세스 함수:
| bool | isAlphaMasked() const |
| void | setAlphaMasked(bool alphaMasked) |
알림 신호:
| void | alphaMaskedChanged(bool alphaMasked) |
blueMasked : bool
파란색 색상 성분을 프레임 버퍼에 기록할지 여부를 지정합니다.
액세스 함수:
| bool | isBlueMasked() const |
| void | setBlueMasked(bool blueMasked) |
알림 신호:
| void | blueMaskedChanged(bool blueMasked) |
greenMasked : bool
녹색 색상 성분을 프레임 버퍼에 기록할지 여부를 지정합니다.
액세스 함수:
| bool | isGreenMasked() const |
| void | setGreenMasked(bool greenMasked) |
알림 신호:
| void | greenMaskedChanged(bool greenMasked) |
redMasked : bool
빨간색 색상 성분을 프레임 버퍼에 기록할지 여부를 지정합니다.
액세스 함수:
| bool | isRedMasked() const |
| void | setRedMasked(bool redMasked) |
알림 신호:
| void | redMaskedChanged(bool redMasked) |
멤버 함수 설명서
[explicit] QColorMask::QColorMask(Qt3DCore::QNode *parent = nullptr)
parent 를 부모로 하는 새로운 Qt3DCore::QColorMask 인스턴스를 생성합니다.
© 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.