Skip to content

Function: ssBlendMode() ​

ssBlendMode(blendType): SSBlendMode

Defined in: packages/ssplayer-core/dist/index.d.ts:5760

Which of the seven states a BlendType is drawn with.

Seven of the twelve map to a state of their own. The remaining five have no fixed-function equivalent and are approximated: Mulalpha and Mul2 fall back to Mul, Screen2 to Screen, and Div2 / Overlay2 to Mix — the same fallback an unrecognised value takes.

Parameters ​

blendType ​

number

Returns ​

SSBlendMode