Skip to content

Variable: SsBlendOp ​

const SsBlendOp: object

Defined in: packages/react-native-spritestudio/src/core/parts.ts:16

The PartColor blend, which has four values and not twelve.

PartAttributePartColor.blend_type is typed as the same enum as DrawBatch.blend_type and only its first four values are valid — anything higher clamps to Mix. The two live on different axes, so this enum is deliberately separate from the framebuffer one rather than shared with it.

Type Declaration ​

add ​

readonly add: 2 = 2

mix ​

readonly mix: 0 = 0

mul ​

readonly mul: 1 = 1

sub ​

readonly sub: 3 = 3