Skip to main content

blend_fn_body

Function blend_fn_body 

Source
fn blend_fn_body(mode: BlendMode) -> &'static str
Expand description

Per-mode blend_fn(base: vec3<f32>, blend: vec3<f32>) -> vec3<f32>.

Matches PixiJS v8’s reference shader implementations from pixijs/src/advanced-blend-modes/*.ts.