QBlendEquation露

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

Inheritance diagram of PySide2.Qt3DRender.Qt3DRender.QBlendEquation

Synopsis露

Functions露

Slots露

Signals露

Detailed Description露

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

class PySide2.Qt3DRender.Qt3DRender.QBlendEquation([parent=None])露

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

PySide2.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

PySide2.Qt3DRender.Qt3DRender.QBlendEquation.blendFunction()露
Return type:

BlendFunction

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

PySide2.Qt3DRender.Qt3DRender.QBlendEquation.blendFunctionChanged(blendFunction)露
Parameters:

blendFunction 鈥� BlendFunction

PySide2.Qt3DRender.Qt3DRender.QBlendEquation.setBlendFunction(blendFunction)露
Parameters:

blendFunction 鈥� BlendFunction

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