QBlendEquation Class
(
Qt3DRender::QBlendEquation
)
The
QBlendEquation
class specifies the equation used for both the RGB blend equation and the Alpha blend equation
更多...
公共类型
特性
公共函数
公共槽
信号
额外继承成员
详细描述
The
QBlendEquation
class specifies the equation used for both the RGB blend equation and the Alpha blend equation
The blend equation is used to determine how a new pixel is combined with a pixel already in the framebuffer.
成员类型文档编制
enum QBlendEquation::
BlendFunction
常量
|
值
|
描述
|
Qt3DRender::QBlendEquation::Add
|
0x8006
|
GL_FUNC_ADD
|
Qt3DRender::QBlendEquation::Subtract
|
0x800A
|
GL_FUNC_SUBTRACT
|
Qt3DRender::QBlendEquation::ReverseSubtract
|
0x800B
|
GL_FUNC_REVERSE_SUBTRACT
|
Qt3DRender::QBlendEquation::Min
|
0x8007
|
GL_MIN
|
Qt3DRender::QBlendEquation::Max
|
0x8008
|
GL_MAX
|
特性文档编制
Holds the blend function, which determines how source and destination colors are combined.
访问函数:
BlendFunction
|
blendFunction
() const
|
void
|
setBlendFunction
(BlendFunction
blendFunction
)
|
通知程序信号:
void
|
blendFunctionChanged
(BlendFunction
blendFunction
)
|
成员函数文档编制
QBlendEquation::
QBlendEquation
(
Qt3DCore::QNode
*
parent
= nullptr)
Default constructs an instance of QBlendEquation.