Skip to main content

Module composite

Module composite 

Source
Expand description

Compositing nodes, split by node type.

This module is the coordinator: it declares the per-node submodules and re-exports the public node types so existing nodes::composite::* paths are unchanged. The GPU pipeline helpers are re-exported pub(crate) so the multi-layer compositor keeps importing them from crate::nodes::composite.

Structs§

AlphaMatteNode
Porter-Duff src-over: composite inputs[0] (foreground) over inputs[1] (background) using the foreground’s own alpha channel.
BlendModeNode
Apply a Photoshop-compatible blend mode to two input textures.
ChromaKeyNode
Remove a solid colour from a texture by chroma distance, producing alpha.
LumaMaskNode
Mask inputs[0] using the BT.709 luma of inputs[1] (or mask_rgba).
ShapeMaskNode
Mask inputs[0] using the alpha channel of inputs[1] (or mask_rgba).
TransformNode
Apply a 2D affine transform (translate, rotate, scale) to a texture.

Enums§

BlendMode
Photoshop-compatible blend modes.