d84914ef1e5a
bake_mesh.rs
use std::sync::Arc;
use texturecraft_geom::{BaseColor, Mesh};
/// A mesh file the baker reads (high poly or cage): its name, original bytes (saved in the
/// project), parsed mesh and its materials' base colors (high polys).
#[derive(Clone, Debug)]
pub struct BakeMesh {
pub name: String,
pub bytes: Arc<Vec<u8>>,
pub mesh: Arc<Mesh>,
pub base_color: Vec<Option<Arc<BaseColor>>>,
}
No file is open. Choose one in the tree, or press Ctrl+O (⌘O on a Mac) to find one by name.
Syntax highlighting could not load. The unmodified read-only text remains available above.