QBlendEquationArguments Class
class Qt3DRender::QBlendEquationArgumentsVerkapselt Überblendungsinformationen: gibt an, wie die eingehenden Werte (was gezeichnet werden soll) die vorhandenen Werte (was bereits gezeichnet ist) beeinflussen werden. Mehr...
Kopfzeile: | #include <QBlendEquationArguments> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
qmake: | QT += 3drender |
In QML: | BlendEquationArguments |
Vererbt: | Qt3DRender::QRenderState |
Status: | Veraltet |
Öffentliche Typen
enum | Blending { Zero, One, SourceColor, SourceAlpha, Source1Alpha, …, OneMinusSource1Color0 } |
Eigenschaften
|
|
Öffentliche Funktionen
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 |
Öffentliche Slots
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) |
Signale
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) |
Detaillierte Beschreibung
OpenGL vor 3.0: Setzt den gleichen Überblendungsstatus für alle Zeichenpuffer (ein QBlendEquationArguments) OpenGL 3.0-pre4.0: Setzt den gleichen Überblendungsstatus für alle Zeichenpuffer, kann aber das Überblenden für bestimmte Puffer deaktivieren (ein QBlendEquationArguments zum Setzen von glBlendFunc, n QBlendEquationArgumente zum Aktivieren/Deaktivieren von Zeichenpuffern) OpenGL 4.0+: Kann den Überblendungsstatus individuell für jeden Zeichenpuffer setzen.
Dokumentation der Mitgliedstypen
enum QBlendEquationArguments::Blending
Konstante | Wert | Beschreibung |
---|---|---|
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_KONSTANT_ALPHA |
Qt3DRender::QBlendEquationArguments::OneMinusSourceColor | 0x0301 | GL_ONE_MINUS_SRC_COLOR |
Qt3DRender::QBlendEquationArguments::OneMinusSourceAlpha | 0x0303 | GL_EIN_MINUS_RC_ALPHA |
Qt3DRender::QBlendEquationArguments::OneMinusDestinationAlpha | 0x0305 | GL_EIN_MINUS_DST_ALPHA |
Qt3DRender::QBlendEquationArguments::OneMinusDestinationColor | 0x0307 | GL_ONE_MINUS_DST_COLOR |
Qt3DRender::QBlendEquationArguments::OneMinusConstantColor | 0x8002 | GL_EINE_MINUS_KONSTANTE_FARBE |
Qt3DRender::QBlendEquationArguments::OneMinusConstantAlpha | 0x8004 | GL_EIN_MINUS_KONSTANT_ALPHA |
Qt3DRender::QBlendEquationArguments::OneMinusSource1Alpha | 0x8005 | GL_EIN_MINUS_SRC1_ALPHA |
Qt3DRender::QBlendEquationArguments::OneMinusSource1Color | 0x8006 | GL_EIN_MINUS_SRC1_FARBIG |
Qt3DRender::QBlendEquationArguments::OneMinusSource1Color0 | OneMinusSource1Color | GL_ONE_MINUS_SRC1_COLOR (veraltet) |
Dokumentation der Eigenschaft
bufferIndex : int
Gibt den Index des Zeichnungspuffers an, für den diese BlendEquationArguments gilt. Ist der Index negativ, gilt er für alle Draw Buffer.
Zugriffsfunktionen:
int | bufferIndex() const |
void | setBufferIndex(int index) |
Notifier-Signal:
void | bufferIndexChanged(int index) |
destinationAlpha : Blending
Zugriffsfunktionen:
Qt3DRender::QBlendEquationArguments::Blending | destinationAlpha() const |
void | setDestinationAlpha(Qt3DRender::QBlendEquationArguments::Blending destinationAlpha) |
Melder-Signal:
void | destinationAlphaChanged(Qt3DRender::QBlendEquationArguments::Blending destinationAlpha) |
destinationRgb : Blending
Zugriffsfunktionen:
Qt3DRender::QBlendEquationArguments::Blending | destinationRgb() const |
void | setDestinationRgb(Qt3DRender::QBlendEquationArguments::Blending destinationRgb) |
Melder-Signal:
void | destinationRgbChanged(Qt3DRender::QBlendEquationArguments::Blending destinationRgb) |
sourceAlpha : Blending
Zugriffsfunktionen:
Qt3DRender::QBlendEquationArguments::Blending | sourceAlpha() const |
void | setSourceAlpha(Qt3DRender::QBlendEquationArguments::Blending sourceAlpha) |
Melder-Signal:
void | sourceAlphaChanged(Qt3DRender::QBlendEquationArguments::Blending sourceAlpha) |
sourceRgb : Blending
Zugriffsfunktionen:
Qt3DRender::QBlendEquationArguments::Blending | sourceRgb() const |
void | setSourceRgb(Qt3DRender::QBlendEquationArguments::Blending sourceRgb) |
Melder-Signal:
void | sourceRgbChanged(Qt3DRender::QBlendEquationArguments::Blending sourceRgb) |
Member Function Dokumentation
[explicit]
QBlendEquationArguments::QBlendEquationArguments(Qt3DCore::QNode *parent = nullptr)
Der Konstruktor erzeugt ein neues Blend-State-Objekt mit dem angegebenen parent.
[signal]
void QBlendEquationArguments::destinationRgbaChanged(Qt3DRender::QBlendEquationArguments::Blending destinationRgba)
Benachrichtigen Sie, dass die beiden Eigenschaften destinationRgb und destinationAlpha in destinationRgba geändert wurden.
[slot]
void QBlendEquationArguments::setDestinationRgba(Qt3DRender::QBlendEquationArguments::Blending destinationRgba)
Ändern Sie die beiden Eigenschaften destinationRgb und destinationAlpha in destinationRgba.
[slot]
void QBlendEquationArguments::setSourceRgba(Qt3DRender::QBlendEquationArguments::Blending sourceRgba)
Ändern Sie die beiden Eigenschaften sourceRgb und sourceAlpha in sourceRgba.
[signal]
void QBlendEquationArguments::sourceRgbaChanged(Qt3DRender::QBlendEquationArguments::Blending sourceRgba)
Benachrichtigen Sie, dass die beiden Eigenschaften sourceRgb und sourceAlpha in sourceRgba geändert wurden.
© 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.