QBlendEquation¶
- PyQt5.Qt3DRender.QBlendEquation
Inherits from QRenderState.
Description¶
The QBlendEquation class specifies the equation used for both the RGB blend equation and the Alpha blend equation.
The blend equation is used to determine how a new pixel is combined with a pixel already in the framebuffer.
Enums¶
- BlendFunction
Member
Value
Description
Add 0x8006
GL_FUNC_ADD
Max 0x8008
GL_MAX
Min 0x8007
GL_MIN
ReverseSubtract 0x800B
GL_FUNC_REVERSE_SUBTRACT
Subtract 0x800A
GL_FUNC_SUBTRACT
Methods¶
- __init__(parent: QNode = None)
The constructor creates a new blend state object with the specified parent.
- blendFunction() → BlendFunction
See also
- setBlendFunction(BlendFunction)
See also
Signals¶
- blendFunctionChanged(BlendFunction)
TODO