이 페이지에서

Qt3DRender::QStencilOperation Class

class Qt3DRender::QStencilOperation

QStencilOperation 클래스는 스텐실 연산을 정의합니다. 더 보기...

헤더: #include <qstenciloperation.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
qmake: QT += 3drender
QML에서: StencilOperation
상속: Qt3DRender::QRenderState
상태: 사용 중단됨

이 클래스는 더 이상 사용되지 않습니다. 새로운 코드에서는 이 클래스를 사용하지 않도록 강력히 권장합니다.

속성

  • back : Qt3DRender::QStencilOperationArguments* const
  • front : Qt3DRender::QStencilOperationArguments* const

공개 함수

QStencilOperation(Qt3DCore::QNode *parent = nullptr)
Qt3DRender::QStencilOperationArguments *back() const

상세 설명

Qt3DRender::QStencilOperation 클래스는 앞면 및 뒷면 폴리곤에 대한 스텐실 연산을 지정합니다. 스텐실 연산은 스텐실 테스트 및 깊이 테스트가 통과하거나 실패할 때 프래그먼트에 어떤 처리가 이루어질지를 제어합니다.

Qt3DRender::QStencilTest도 참조하십시오 .

속성 설명

[read-only] back : Qt3DRender::QStencilOperationArguments* const

뒷면 다각형에 대한 스텐실 연산 인수를 저장합니다.

액세스 함수:

Qt3DRender::QStencilOperationArguments *back() const

[read-only] front : Qt3DRender::QStencilOperationArguments* const

전면 다각형에 대한 스텐실 연산 인수를 보관합니다.

멤버 함수 설명서

[explicit] QStencilOperation::QStencilOperation(Qt3DCore::QNode *parent = nullptr)

이 생성자는 지정된 parent 를 사용하여 새로운 QStencilOperation::QStencilOperation 인스턴스를 생성합니다.

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