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#

Functions#

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 PySide6.Qt3DRender.Qt3DRender.QBlendEquation([parent=None])#
Parameters:

parentPySide6.Qt3DCore.Qt3DCore.QNode

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

Note

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

property PᅟySide6.Qt3DRender.Qt3DRender.QBlendEquation.blendFunction: BlendFunction#

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

Access functions:
PySide6.Qt3DRender.Qt3DRender.QBlendEquation.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

PySide6.Qt3DRender.Qt3DRender.QBlendEquation.blendFunction()#
Return type:

BlendFunction

Getter of property blendFunction .

PySide6.Qt3DRender.Qt3DRender.QBlendEquation.blendFunctionChanged(blendFunction)#
Parameters:

blendFunctionBlendFunction

Notification signal of property blendFunction .

PySide6.Qt3DRender.Qt3DRender.QBlendEquation.setBlendFunction(blendFunction)#
Parameters:

blendFunctionBlendFunction

See also

blendFunction()

Setter of property blendFunction .