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 the source frame (inputs[1]).
ShapeMaskNode
Clear the alpha of inputs[0] outside a rectangle of the source frame.
TransformNode
Apply a 2D affine transform (translate, rotate, scale) to a texture.

Enums§

BlendMode
Pixel-value blend modes.
CompositeOp
Porter-Duff alpha-compositing operator.