QBlendEquation¶
The QBlendEquation
class specifies the equation used for both the RGB blend equation and the Alpha blend equation. More…
Synopsis¶
Functions¶
def
blendFunction
()
Slots¶
def
setBlendFunction
(blendFunction)
Signals¶
def
blendFunctionChanged
(blendFunction)
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
.
- 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
Holds the blend function, which determines how source and destination colors are combined.
- PySide6.Qt3DRender.Qt3DRender.QBlendEquation.blendFunctionChanged(blendFunction)¶
- Parameters
blendFunction –
BlendFunction
- PySide6.Qt3DRender.Qt3DRender.QBlendEquation.setBlendFunction(blendFunction)¶
- Parameters
blendFunction –
BlendFunction
Holds the blend function, which determines how source and destination colors are combined.
© 2022 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.