QStencilMask Class
class Qt3DRender::QStencilMaskQStencilMask 클래스는 스텐실 평면에서 개별 비트의 앞면과 뒷면 쓰기를 제어합니다. 더 보기...
Header: | #include <QStencilMask> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
qmake: | QT += 3drender |
QML에서: | StencilMask |
상속합니다: | Qt3DRender::QRenderState |
상태: | Deprecated |
속성
- backOutputMask : uint
- frontOutputMask : uint
공용 기능
QStencilMask(Qt3DCore::QNode *parent = nullptr) | |
uint | backOutputMask() const |
uint | frontOutputMask() const |
공용 슬롯
void | setBackOutputMask(uint backOutputMask) |
void | setFrontOutputMask(uint frontOutputMask) |
신호
void | backOutputMaskChanged(uint backOutputMask) |
void | frontOutputMaskChanged(uint frontOutputMask) |
상세 설명
Qt3DRender::QStencilMask 클래스는 스텐실 테스트 후 스텐실 값에 대한 쓰기 마스크를 지정합니다. 마스크는 앞면과 뒷면 폴리곤에 대해 별도로 지정할 수 있습니다. 조각 스텐실 값은 스텐실 버퍼에 기록되기 전에 마스크와 함께 AND'D됩니다.
Qt3DRender::QStencilTest 를참조하세요 .
속성 문서
backOutputMask : uint
뒷면을 향한 폴리곤의 조각 스텐실 값에 대한 쓰기 마스크를 보유합니다.
액세스 함수:
uint | backOutputMask() const |
void | setBackOutputMask(uint backOutputMask) |
알림 신호:
void | backOutputMaskChanged(uint backOutputMask) |
frontOutputMask : uint
정면을 향한 폴리곤의 조각 스텐실 값에 대한 쓰기 마스크를 보유합니다.
액세스 함수:
uint | frontOutputMask() const |
void | setFrontOutputMask(uint frontOutputMask) |
알림 신호:
void | frontOutputMaskChanged(uint frontOutputMask) |
멤버 함수 문서
[explicit]
QStencilMask::QStencilMask(Qt3DCore::QNode *parent = nullptr)
생성자는 지정된 parent 을 사용하여 새 QStencilMask::QStencilMask 인스턴스를 생성합니다.
© 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.