@simversus/yjvis • Docs
@simversus/yjvis / BlendTarget
Class: BlendTarget
Constructors
new BlendTarget()
new BlendTarget(
blend
,blendSrc
,blendDst
,blendEq
,blendSrcAlpha
,blendDstAlpha
,blendAlphaEq
,blendColorMask
):BlendTarget
Parameters
• blend: boolean
= false
• blendSrc: BlendFactor
= BlendFactor.ONE
• blendDst: BlendFactor
= BlendFactor.ZERO
• blendEq: BlendOp
= BlendOp.ADD
• blendSrcAlpha: BlendFactor
= BlendFactor.ONE
• blendDstAlpha: BlendFactor
= BlendFactor.ZERO
• blendAlphaEq: BlendOp
= BlendOp.ADD
• blendColorMask: ColorMask
= ColorMask.ALL
Returns
Defined in
gfx/base/types.ts:1259
Properties
blend
blend:
boolean
=false
Defined in
gfx/base/types.ts:1260
blendAlphaEq
blendAlphaEq:
BlendOp
=BlendOp.ADD
Defined in
gfx/base/types.ts:1266
blendColorMask
blendColorMask:
ColorMask
=ColorMask.ALL
Defined in
gfx/base/types.ts:1267
blendDst
blendDst:
BlendFactor
=BlendFactor.ZERO
Defined in
gfx/base/types.ts:1262
blendDstAlpha
blendDstAlpha:
BlendFactor
=BlendFactor.ZERO
Defined in
gfx/base/types.ts:1265
blendEq
blendEq:
BlendOp
=BlendOp.ADD
Defined in
gfx/base/types.ts:1263
blendSrc
blendSrc:
BlendFactor
=BlendFactor.ONE
Defined in
gfx/base/types.ts:1261
blendSrcAlpha
blendSrcAlpha:
BlendFactor
=BlendFactor.ONE
Defined in
gfx/base/types.ts:1264