class QBlendEquation#

The QBlendEquation class specifies the equation used for both the RGB blend equation and the Alpha blend equation. More

Inheritance diagram of PySide6.Qt3DRender.Qt3DRender.QBlendEquation

Synopsis#

Properties#

Methods#

Slots#

Signals#

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description#

The blend equation is used to determine how a new pixel is combined with a pixel already in the framebuffer.

class BlendFunction#

Constant

Description

Qt3DRender.QBlendEquation.Add

GL_FUNC_ADD

Qt3DRender.QBlendEquation.Subtract

GL_FUNC_SUBTRACT

Qt3DRender.QBlendEquation.ReverseSubtract

GL_FUNC_REVERSE_SUBTRACT

Qt3DRender.QBlendEquation.Min

GL_MIN

Qt3DRender.QBlendEquation.Max

GL_MAX

Note

Properties can be used directly when from __feature__ import true_property is used or via accessor functions otherwise.

property blendFunctionᅟ: Qt3DRender.QBlendEquation.BlendFunction#

Holds the blend function, which determines how source and destination colors are combined.

Access functions:
__init__([parent=None])#
Parameters:

parentQNode

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

blendFunction()#
Return type:

BlendFunction

See also

setBlendFunction()

Getter of property blendFunctionᅟ .

blendFunctionChanged(blendFunction)#
Parameters:

blendFunctionBlendFunction

Notification signal of property blendFunctionᅟ .

setBlendFunction(blendFunction)#
Parameters:

blendFunctionBlendFunction

See also

blendFunction()

Setter of property blendFunctionᅟ .