use craft_texture::Image; use materialcraft_core::{OutputFormat, Value}; use std::collections::BTreeMap; /// What to cook a portable material with, over the graph's own values #[derive(Clone, Debug, Default)] pub struct MaterialOptions { /// Square size in pixels (rounded to a power of two, 16..8192); `None` = the graph's size pub size: Option, /// Exposed input values (they also become the embedded package's values) pub values: BTreeMap, /// Images for the graph's input nodes, by identifier (mesh maps) pub inputs: BTreeMap, /// Known sample depth of each bound file before decoding to linear floats. pub input_formats: BTreeMap, }