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::Zero0GL_ZERO
Qt3DRender::QBlendEquationArguments::One1GL_ONE
Qt3DRender::QBlendEquationArguments::SourceColor0x0300GL_SRC_COLOR
Qt3DRender::QBlendEquationArguments::SourceAlpha0x0302GL_SRC_ALPHA
Qt3DRender::QBlendEquationArguments::Source1Alpha0x303GL_SRC1_ALPHA
Qt3DRender::QBlendEquationArguments::Source1Color0x304GL_SRC1_COLOR
Qt3DRender::QBlendEquationArguments::DestinationColor0x0306GL_DST_COLOR
Qt3DRender::QBlendEquationArguments::DestinationAlpha0x0304GL_DST_ALPHA
Qt3DRender::QBlendEquationArguments::SourceAlphaSaturate0x0308GL_SRC_ALPHA_SATURATE
Qt3DRender::QBlendEquationArguments::ConstantColor0x80010GL_CONSTANT_COLOR
Qt3DRender::QBlendEquationArguments::ConstantAlpha0x8003GL_CONSTANT_ALPHA
Qt3DRender::QBlendEquationArguments::OneMinusSourceColor0x0301GL_ONE_MINUS_SRC_COLOR
Qt3DRender::QBlendEquationArguments::OneMinusSourceAlpha0x0303GL_ONE_MINUS_SRC_ALPHA
Qt3DRender::QBlendEquationArguments::OneMinusDestinationAlpha0x0305GL_ONE_MINUS_DST_ALPHA
Qt3DRender::QBlendEquationArguments::OneMinusDestinationColor0x0307GL_ONE_MINUS_DST_COLOR
Qt3DRender::QBlendEquationArguments::OneMinusConstantColor0x8002GL_ONE_MINUS_CONSTANT_COLOR
Qt3DRender::QBlendEquationArguments::OneMinusConstantAlpha0x8004GL_ONE_MINUS_CONstant_ALPHA
Qt3DRender::QBlendEquationArguments::OneMinusSource1Alpha0x8005GL_ONE_MINUS_SRC1_ALPHA
Qt3DRender::QBlendEquationArguments::OneMinusSource1Color0x8006GL_ONE_MINUS_SRC1_COLOR
Qt3DRender::QBlendEquationArguments::OneMinusSource1Color0OneMinusSource1ColorGL_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)

destinationRgbdestinationAlpha 속성이 모두 destinationRgba 로 변경되었음을 알립니다.

[slot] void QBlendEquationArguments::setDestinationRgba(Qt3DRender::QBlendEquationArguments::Blending destinationRgba)

destinationRgbdestinationAlpha 속성을 모두 destinationRgba 로 변경합니다.

[slot] void QBlendEquationArguments::setSourceRgba(Qt3DRender::QBlendEquationArguments::Blending sourceRgba)

sourceRgbsourceAlpha 속성을 모두 sourceRgba 로 변경합니다.

[signal] void QBlendEquationArguments::sourceRgbaChanged(Qt3DRender::QBlendEquationArguments::Blending sourceRgba)

sourceRgbsourceAlpha 속성이 모두 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.