内容表

上一话题

Qt3DRender.QAttribute

下一话题

Qt3DRender.QBlendEquationArguments

Qt3DRender.QBlendEquation

QBlendEquation class specifies the equation used for both the RGB blend equation and the Alpha blend equation. 更多 …

Inheritance diagram of PySide2.Qt3DRender.Qt3DRender.QBlendEquation

概要

函数

槽

信号

详细描述

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 ] )
param parent

QNode

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

PySide2.Qt3DRender.Qt3DRender.QBlendEquation. BlendFunction

常量

描述

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 ( )
返回类型

BlendFunction

PySide2.Qt3DRender.Qt3DRender.QBlendEquation. blendFunctionChanged ( blendFunction )
参数

blendFunction – BlendFunction

PySide2.Qt3DRender.Qt3DRender.QBlendEquation. setBlendFunction ( blendFunction )
参数

blendFunction – BlendFunction

另请参阅

blendFunction()