QBlendEquation Class

class Qt3DRender::QBlendEquation

QBlendEquation 클래스는 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 }

속성

공용 기능

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::Add0x8006GL_FUNC_ADD
Qt3DRender::QBlendEquation::Subtract0x800AGL_FUNC_SUBtract
Qt3DRender::QBlendEquation::ReverseSubtract0x800BGL_FUNC_REVERSE_SUBtract
Qt3DRender::QBlendEquation::Min0x8007GL_MIN
Qt3DRender::QBlendEquation::Max0x8008GL_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.