QBlendState Class

(Qt3D::QBlendState)

Encapsulates blending information. More...

Header: #include <QBlendState>
qmake: QT += 3drenderer
Since: Qt 5.5
Instantiated By: BlendState
Inherits: QRenderState
Inherited By:

Qt3D::QBlendStateSeparate

Public Types

enum Blending { Zero, One, SrcColor, SrcAlpha, ..., OneMinusSrc1Color0 }

Properties

Public Functions

QBlendState(QNode * parent = 0)
~QBlendState()
Blending dstAlpha() const
Blending dstRGB() const
void setDstAlpha(Blending dstAlpha)
void setDstRGB(Blending dstRGB)
void setSrcAlpha(Blending srcAlpha)
void setSrcRGB(Blending srcRGB)
Blending srcAlpha() const
Blending srcRGB() const

Signals

Detailed Description

Encapsulates blending information.

Member Type Documentation

enum QBlendState::Blending

ConstantValueDescription
Qt3D::QBlendState::Zero00
Qt3D::QBlendState::One11
Qt3D::QBlendState::SrcColor0x03000x0300
Qt3D::QBlendState::SrcAlpha0x03020x0302
Qt3D::QBlendState::Src1Alpha? 
Qt3D::QBlendState::Src1Color? 
Qt3D::QBlendState::DstColor0x03060x0306
Qt3D::QBlendState::DstAlpha0x03040x0304
Qt3D::QBlendState::SrcAlphaSaturate0x03080x0308
Qt3D::QBlendState::ConstantColor0x80010x8001
Qt3D::QBlendState::ConstantAlpha0x80030x8003
Qt3D::QBlendState::OneMinusSrcColor0x03010x0301
Qt3D::QBlendState::OneMinusSrcAlpha0x03030x0303
Qt3D::QBlendState::OneMinusDstAlpha0x03050x0305
Qt3D::QBlendState::OneMinusDstColor0x03070x0307
Qt3D::QBlendState::OneMinusConstantColor0x80020x8002
Qt3D::QBlendState::OneMinusConstantAlpha0x80040x8004
Qt3D::QBlendState::OneMinusSrc1Alpha? 
Qt3D::QBlendState::OneMinusSrc1Color0? 

Property Documentation

dstAlpha : Blending

Access functions:

Blending dstAlpha() const
void setDstAlpha(Blending dstAlpha)

Notifier signal:

void dstAlphaChanged()

dstRGB : Blending

Access functions:

Blending dstRGB() const
void setDstRGB(Blending dstRGB)

Notifier signal:

void dstRGBChanged()

srcAlpha : Blending

Access functions:

Blending srcAlpha() const
void setSrcAlpha(Blending srcAlpha)

Notifier signal:

void srcAlphaChanged()

srcRGB : Blending

Access functions:

Blending srcRGB() const
void setSrcRGB(Blending srcRGB)

Notifier signal:

void srcRGBChanged()

Member Function Documentation

QBlendState::QBlendState(QNode * parent = 0)

The constructor creates a new blend state object with the specified parent.

QBlendState::~QBlendState()

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