QBlendEquation#
The QBlendEquation
class specifies the equation used for both the RGB blend equation and the Alpha blend equation. More…
Synopsis#
Properties#
Functions#
def
blendFunction
()
Slots#
def
setBlendFunction
(blendFunction)
Signals#
def
blendFunctionChanged
(blendFunction)
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:
parent –
PySide6.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:
setBlendFunction
(blendFunction)Signal
blendFunctionChanged
(blendFunction)
- 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:
See also
Getter of property blendFunction
.
- PySide6.Qt3DRender.Qt3DRender.QBlendEquation.blendFunctionChanged(blendFunction)#
- Parameters:
blendFunction –
BlendFunction
Notification signal of property blendFunction
.
- PySide6.Qt3DRender.Qt3DRender.QBlendEquation.setBlendFunction(blendFunction)#
- Parameters:
blendFunction –
BlendFunction
See also
Setter of property blendFunction
.