#[non_exhaustive]pub enum PreparedMapper {
Streaming(Box<dyn StripMapper>),
}Expand description
Per-image strip executor produced by ToneMapper::prepare.
Streaming is the dominant case: a precomputed curve / LUT that the
pipeline calls strip-by-strip via
StripMapper::map_strip.
Buffered is reserved for local operators that need to write their
entire output during prepare() (e.g., Mantiuk gradient processing,
Fattal, bilateral). The pipeline would read the buffer strip-by-strip
during the apply pass. Reserved for a future release; the current
pipeline asserts !requirements.full_image at builder time — the
variant exists in the enum under #[non_exhaustive] so callers can
exhaustively match without breaking when the variant lands.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Streaming(Box<dyn StripMapper>)
Strip-by-strip executor. The pipeline calls
StripMapper::map_strip per strip with
image-specific coefficients already baked into the boxed
implementation.