Skip to content

@simversus/yjvisDocs


@simversus/yjvis / BlendState

Class: BlendState

Constructors

new BlendState()

new BlendState(isA2C, isIndepend, blendColor, targets): BlendState

Parameters

isA2C: boolean = false

isIndepend: boolean = false

blendColor: RGBA = ...

targets: BlendTarget[] = ...

Returns

BlendState

Defined in

gfx/base/types.ts:1272

Properties

blendColor

blendColor: RGBA

Defined in

gfx/base/types.ts:1275


isA2C

isA2C: boolean = false

Defined in

gfx/base/types.ts:1273


isIndepend

isIndepend: boolean = false

Defined in

gfx/base/types.ts:1274


targets

targets: BlendTarget[]

Defined in

gfx/base/types.ts:1276

Methods

setTarget()

setTarget(index, target): void

Parameters

index: number

target: BlendTarget

Returns

void

Defined in

gfx/base/types.ts:1279