Qt3DRender::QBlendEquationArguments Class
class Qt3DRender::QBlendEquationArgumentsRacchiude le informazioni relative alla fusione: specifica in che modo i valori in entrata (ciò che verrà disegnato) influenzeranno i valori esistenti (ciò che è già stato disegnato). Per saperne di più...
| Intestazione: | #include <qblendequationarguments.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
| qmake: | QT += 3drender |
| In QML: | BlendEquationArguments |
| Eredita da: | Qt3DRender::QRenderState |
| Stato: | Obsoleto |
Questa classe è deprecata. Si sconsiglia vivamente di utilizzarla nel nuovo codice.
Tipi pubblici
| enum | Blending { Zero, One, SourceColor, SourceAlpha, Source1Alpha, …, OneMinusSource1Color0 } |
Proprietà
|
|
Funzioni pubbliche
| 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 |
Slot pubblici
| 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) |
Segnali
| 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) |
Descrizione dettagliata
OpenGL pre-3.0: imposta lo stesso stato di blending per tutti i buffer di disegno (un QBlendEquationArguments) OpenGL 3.0-pre4.0: Imposta lo stesso stato di fusione per tutti i buffer di disegno, ma consente di disabilitare la fusione per buffer specifici (un QBlendEquationArguments per impostare glBlendFunc, n QBlendEquationArguments per abilitare/disabilitare i buffer di disegno) OpenGL 4.0 e versioni successive: Consente di impostare lo stato di fusione individualmente per ciascun buffer di disegno.
Documentazione sui tipi dei membri
enum QBlendEquationArguments::Blending
| Costante | Valore | Descrizione |
|---|---|---|
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_COLORE_COSTANTE |
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_COLORE_COSTANTE |
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 (obsoleto) |
Documentazione delle proprietà
bufferIndex : int
Specifica l'indice del buffer di disegno a cui si applica questo BlendEquationArguments. Se negativo, si applicherà a tutti i buffer di disegno.
Funzioni di accesso:
| int | bufferIndex() const |
| void | setBufferIndex(int index) |
Segnale di notifica:
| void | bufferIndexChanged(int index) |
destinationAlpha : Blending
Funzioni di accesso:
| Qt3DRender::QBlendEquationArguments::Blending | destinationAlpha() const |
| void | setDestinationAlpha(Qt3DRender::QBlendEquationArguments::Blending destinationAlpha) |
Segnale di notifica:
| void | destinationAlphaChanged(Qt3DRender::QBlendEquationArguments::Blending destinationAlpha) |
destinationRgb : Blending
Funzioni di accesso:
| Qt3DRender::QBlendEquationArguments::Blending | destinationRgb() const |
| void | setDestinationRgb(Qt3DRender::QBlendEquationArguments::Blending destinationRgb) |
Segnale di notifica:
| void | destinationRgbChanged(Qt3DRender::QBlendEquationArguments::Blending destinationRgb) |
sourceAlpha : Blending
Funzioni di accesso:
| Qt3DRender::QBlendEquationArguments::Blending | sourceAlpha() const |
| void | setSourceAlpha(Qt3DRender::QBlendEquationArguments::Blending sourceAlpha) |
Segnale di notifica:
| void | sourceAlphaChanged(Qt3DRender::QBlendEquationArguments::Blending sourceAlpha) |
sourceRgb : Blending
Funzioni di accesso:
| Qt3DRender::QBlendEquationArguments::Blending | sourceRgb() const |
| void | setSourceRgb(Qt3DRender::QBlendEquationArguments::Blending sourceRgb) |
Segnale di notifica:
| void | sourceRgbChanged(Qt3DRender::QBlendEquationArguments::Blending sourceRgb) |
Documentazione delle funzioni membro
[explicit] QBlendEquationArguments::QBlendEquationArguments(Qt3DCore::QNode *parent = nullptr)
Il costruttore crea un nuovo oggetto "blend state" con l'parent e specificata.
[signal] void QBlendEquationArguments::destinationRgbaChanged(Qt3DRender::QBlendEquationArguments::Blending destinationRgba)
Si informa che sia l'indirizzo destinationRgb che quello destinationAlpha sono stati modificati in destinationRgba.
[slot] void QBlendEquationArguments::setDestinationRgba(Qt3DRender::QBlendEquationArguments::Blending destinationRgba)
Modifica entrambe le proprietà " destinationRgb " e " destinationAlpha " impostandole su " destinationRgba".
[slot] void QBlendEquationArguments::setSourceRgba(Qt3DRender::QBlendEquationArguments::Blending sourceRgba)
Modifica entrambe le proprietà " sourceRgb " e " sourceAlpha " impostandole su " sourceRgba".
[signal] void QBlendEquationArguments::sourceRgbaChanged(Qt3DRender::QBlendEquationArguments::Blending sourceRgba)
Si informa che sia l'indirizzo sourceRgb che quello sourceAlpha sono stati modificati in sourceRgba.
© 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.