이 페이지에서

Qt3DRender::QBlendEquation Class

class Qt3DRender::QBlendEquation

QBlendEquation 클래스는 RGB 블렌드 방정식과 알파 블렌드 방정식 모두에 사용되는 방정식을 지정합니다. 더 보기...

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

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

공개 타입

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`를 사용하여 새로운 블렌드 상태 객체를 생성합니다.

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