Skip to main content

ff_render/nodes/
composite.rs

1//! Compositing nodes, split by node type.
2//!
3//! This module is the coordinator: it declares the per-node submodules and
4//! re-exports the public node types so existing `nodes::composite::*` paths
5//! are unchanged. The GPU pipeline helpers are re-exported `pub(crate)` so the
6//! multi-layer compositor keeps importing them from `crate::nodes::composite`.
7
8mod blend_math;
9mod blend_mode;
10mod chroma_key;
11mod composite_op;
12mod helpers;
13mod masks;
14mod transform;
15
16pub use blend_mode::{BlendMode, BlendModeNode};
17pub use chroma_key::ChromaKeyNode;
18pub use composite_op::CompositeOp;
19pub use masks::{AlphaMatteNode, LumaMaskNode, ShapeMaskNode};
20pub use transform::TransformNode;
21
22#[cfg(feature = "wgpu")]
23pub(crate) use helpers::{
24    blend_uniform_bytes, fullscreen_pipeline, linear_sampler, submit_render_pass,
25    two_tex_sampler_uniform_bgl, upload_rgba_texture,
26};