textmode.js / layering / LayerBlendMode
Enumeration: LayerBlendMode
Numeric blend mode constants for layer compositing.
These values are the source of truth for the wire protocol between the TypeScript layer compositor and the composite.frag GLSL shader. Each value must match the corresponding const int BLEND_* constant in composite.frag.
Use the t.BLEND_* prototype constants for ergonomic access:
ts
layer.blendMode(t.BLEND_ADDITIVE);