QBlendEquation Class
class Qt3DRender::QBlendEquationQBlendEquation 클래스는 RGB 블렌드 방정식과 알파 블렌드 방정식 모두에 사용되는 방정식을 지정합니다. 더 보기...
Header: | #include <Qt3DRender/QBlendEquation> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
qmake: | QT += 3drender |
QML에서: | BlendEquation |
상속합니다: | Qt3DRender::QRenderState |
상태: | Deprecated |
공용 유형
enum | BlendFunction { Add, Subtract, ReverseSubtract, Min, Max } |
속성
- blendFunction : BlendFunction
공용 기능
QBlendEquation(Qt3DCore::QNode *parent = nullptr) | |
Qt3DRender::QBlendEquation::BlendFunction | blendFunction() const |
공용 슬롯
void | setBlendFunction(Qt3DRender::QBlendEquation::BlendFunction blendFunction) |
신호
void | blendFunctionChanged(Qt3DRender::QBlendEquation::BlendFunction blendFunction) |
멤버 유형 문서
enum QBlendEquation::BlendFunction
상수 | 값 | 설명 |
---|---|---|
Qt3DRender::QBlendEquation::Add | 0x8006 | GL_FUNC_ADD |
Qt3DRender::QBlendEquation::Subtract | 0x800A | GL_FUNC_SUBtract |
Qt3DRender::QBlendEquation::ReverseSubtract | 0x800B | GL_FUNC_REVERSE_SUBtract |
Qt3DRender::QBlendEquation::Min | 0x8007 | GL_MIN |
Qt3DRender::QBlendEquation::Max | 0x8008 | GL_MAX |
속성 문서
blendFunction : BlendFunction
소스 색상과 대상 색상이 결합되는 방식을 결정하는 혼합 함수를 보유합니다.
함수에 액세스합니다:
Qt3DRender::QBlendEquation::BlendFunction | blendFunction() const |
void | setBlendFunction(Qt3DRender::QBlendEquation::BlendFunction blendFunction) |
알림 신호:
void | blendFunctionChanged(Qt3DRender::QBlendEquation::BlendFunction blendFunction) |
멤버 함수 문서
[explicit]
QBlendEquation::QBlendEquation(Qt3DCore::QNode *parent = nullptr)
생성자는 지정된 parent 을 사용하여 새 블렌드 상태 오브젝트를 생성합니다.
© 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.