QBlendEquationArguments Class
class Qt3DRender::QBlendEquationArguments혼합 정보 캡슐화: 들어오는 값(그려질 값)이 기존 값(이미 그려진 값)에 어떤 영향을 미칠지 지정합니다. 더 보기...
헤더: | #include <QBlendEquationArguments> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
qmake: | QT += 3drender |
QML에서: | BlendEquationArguments |
상속합니다: | Qt3DRender::QRenderState |
상태: | Deprecated |
공용 유형
enum | Blending { Zero, One, SourceColor, SourceAlpha, Source1Alpha, …, OneMinusSource1Color0 } |
속성
|
|
공용 기능
QBlendEquationArguments(Qt3DCore::QNode *parent = nullptr) | |
int | bufferIndex() const |
Qt3DRender::QBlendEquationArguments::Blending | destinationAlpha() const |
Qt3DRender::QBlendEquationArguments::Blending | destinationRgb() const |
Qt3DRender::QBlendEquationArguments::Blending | sourceAlpha() const |
Qt3DRender::QBlendEquationArguments::Blending | sourceRgb() const |
공용 슬롯
void | setBufferIndex(int index) |
void | setDestinationAlpha(Qt3DRender::QBlendEquationArguments::Blending destinationAlpha) |
void | setDestinationRgb(Qt3DRender::QBlendEquationArguments::Blending destinationRgb) |
void | setDestinationRgba(Qt3DRender::QBlendEquationArguments::Blending destinationRgba) |
void | setSourceAlpha(Qt3DRender::QBlendEquationArguments::Blending sourceAlpha) |
void | setSourceRgb(Qt3DRender::QBlendEquationArguments::Blending sourceRgb) |
void | setSourceRgba(Qt3DRender::QBlendEquationArguments::Blending sourceRgba) |
신호
void | bufferIndexChanged(int index) |
void | destinationAlphaChanged(Qt3DRender::QBlendEquationArguments::Blending destinationAlpha) |
void | destinationRgbChanged(Qt3DRender::QBlendEquationArguments::Blending destinationRgb) |
void | destinationRgbaChanged(Qt3DRender::QBlendEquationArguments::Blending destinationRgba) |
void | sourceAlphaChanged(Qt3DRender::QBlendEquationArguments::Blending sourceAlpha) |
void | sourceRgbChanged(Qt3DRender::QBlendEquationArguments::Blending sourceRgb) |
void | sourceRgbaChanged(Qt3DRender::QBlendEquationArguments::Blending sourceRgba) |
상세 설명
OpenGL 3.0 이전: 모든 그리기 버퍼에 대해 동일한 블렌드 상태를 설정합니다 (하나의 QBlendEquationArguments) OpenGL 3.0-pre4.0: 모든 그리기 버퍼에 동일한 블렌드 상태를 설정하지만 특정 버퍼에 대해 블렌딩을 비활성화할 수 있습니다(glBlendFunc 설정을 위한 QBlendEquationArguments 1개, 그리기 버퍼 활성화/비활성화를 위한 QBlendEquationArguments n개) OpenGL 4.0+: 각 그리기 버퍼에 개별적으로 블렌드 상태를 설정할 수 있습니다.
멤버 유형 문서
enum QBlendEquationArguments::Blending
상수 | 값 | 설명 |
---|---|---|
Qt3DRender::QBlendEquationArguments::Zero | 0 | GL_ZERO |
Qt3DRender::QBlendEquationArguments::One | 1 | GL_ONE |
Qt3DRender::QBlendEquationArguments::SourceColor | 0x0300 | GL_SRC_COLOR |
Qt3DRender::QBlendEquationArguments::SourceAlpha | 0x0302 | GL_SRC_ALPHA |
Qt3DRender::QBlendEquationArguments::Source1Alpha | 0x303 | GL_SRC1_ALPHA |
Qt3DRender::QBlendEquationArguments::Source1Color | 0x304 | GL_SRC1_COLOR |
Qt3DRender::QBlendEquationArguments::DestinationColor | 0x0306 | GL_DST_COLOR |
Qt3DRender::QBlendEquationArguments::DestinationAlpha | 0x0304 | GL_DST_ALPHA |
Qt3DRender::QBlendEquationArguments::SourceAlphaSaturate | 0x0308 | GL_SRC_ALPHA_SATURATE |
Qt3DRender::QBlendEquationArguments::ConstantColor | 0x8001 | 0GL_CONSTANT_COLOR |
Qt3DRender::QBlendEquationArguments::ConstantAlpha | 0x8003 | GL_CONSTANT_ALPHA |
Qt3DRender::QBlendEquationArguments::OneMinusSourceColor | 0x0301 | GL_ONE_MINUS_SRC_COLOR |
Qt3DRender::QBlendEquationArguments::OneMinusSourceAlpha | 0x0303 | GL_ONE_MINUS_SRC_ALPHA |
Qt3DRender::QBlendEquationArguments::OneMinusDestinationAlpha | 0x0305 | GL_ONE_MINUS_DST_ALPHA |
Qt3DRender::QBlendEquationArguments::OneMinusDestinationColor | 0x0307 | GL_ONE_MINUS_DST_COLOR |
Qt3DRender::QBlendEquationArguments::OneMinusConstantColor | 0x8002 | GL_ONE_MINUS_CONSTANT_COLOR |
Qt3DRender::QBlendEquationArguments::OneMinusConstantAlpha | 0x8004 | GL_ONE_MINUS_CONstant_ALPHA |
Qt3DRender::QBlendEquationArguments::OneMinusSource1Alpha | 0x8005 | GL_ONE_MINUS_SRC1_ALPHA |
Qt3DRender::QBlendEquationArguments::OneMinusSource1Color | 0x8006 | GL_ONE_MINUS_SRC1_COLOR |
Qt3DRender::QBlendEquationArguments::OneMinusSource1Color0 | OneMinusSource1Color | GL_ONE_MINUS_SRC1_COLOR (사용 중단됨) |
프로퍼티 문서
bufferIndex : int
이 BlendEquationArguments 이 적용될 드로잉 버퍼의 인덱스를 지정합니다. 음수이면 모든 드로우 버퍼에 적용됩니다.
액세스 함수:
int | bufferIndex() const |
void | setBufferIndex(int index) |
알림 신호:
void | bufferIndexChanged(int index) |
destinationAlpha : Blending
액세스 기능:
Qt3DRender::QBlendEquationArguments::Blending | destinationAlpha() const |
void | setDestinationAlpha(Qt3DRender::QBlendEquationArguments::Blending destinationAlpha) |
알림 신호:
void | destinationAlphaChanged(Qt3DRender::QBlendEquationArguments::Blending destinationAlpha) |
destinationRgb : Blending
액세스 기능:
Qt3DRender::QBlendEquationArguments::Blending | destinationRgb() const |
void | setDestinationRgb(Qt3DRender::QBlendEquationArguments::Blending destinationRgb) |
알림 신호:
void | destinationRgbChanged(Qt3DRender::QBlendEquationArguments::Blending destinationRgb) |
sourceAlpha : Blending
액세스 기능:
Qt3DRender::QBlendEquationArguments::Blending | sourceAlpha() const |
void | setSourceAlpha(Qt3DRender::QBlendEquationArguments::Blending sourceAlpha) |
알림 신호:
void | sourceAlphaChanged(Qt3DRender::QBlendEquationArguments::Blending sourceAlpha) |
sourceRgb : Blending
액세스 기능:
Qt3DRender::QBlendEquationArguments::Blending | sourceRgb() const |
void | setSourceRgb(Qt3DRender::QBlendEquationArguments::Blending sourceRgb) |
알림 신호:
void | sourceRgbChanged(Qt3DRender::QBlendEquationArguments::Blending sourceRgb) |
멤버 함수 문서
[explicit]
QBlendEquationArguments::QBlendEquationArguments(Qt3DCore::QNode *parent = nullptr)
생성자는 지정된 parent 을 사용하여 새 블렌드 상태 오브젝트를 생성합니다.
[signal]
void QBlendEquationArguments::destinationRgbaChanged(Qt3DRender::QBlendEquationArguments::Blending destinationRgba)
destinationRgb 및 destinationAlpha 속성이 모두 destinationRgba 로 변경되었음을 알립니다.
[slot]
void QBlendEquationArguments::setDestinationRgba(Qt3DRender::QBlendEquationArguments::Blending destinationRgba)
destinationRgb 및 destinationAlpha 속성을 모두 destinationRgba 로 변경합니다.
[slot]
void QBlendEquationArguments::setSourceRgba(Qt3DRender::QBlendEquationArguments::Blending sourceRgba)
sourceRgb 및 sourceAlpha 속성을 모두 sourceRgba 로 변경합니다.
[signal]
void QBlendEquationArguments::sourceRgbaChanged(Qt3DRender::QBlendEquationArguments::Blending sourceRgba)
sourceRgb 및 sourceAlpha 속성이 모두 sourceRgba 로 변경되었음을 알립니다.
© 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.