---
url: https://cri-middleware.github.io/SSPlayerForWeb/api/@spritestudio/ssplayer-webgl/functions/ssBlendMode.md
---
# Function: ssBlendMode()

> **ssBlendMode**(`blendType`): [`SSBlendMode`](../enumerations/SSBlendMode.md)

Defined in: 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`](../enumerations/SSBlendMode.md)
