mirror of
https://github.com/storytold/texturecraft.git
synced 2026-11-26 09:20:46 +01:00
13 lines
399 B
Rust
13 lines
399 B
Rust
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>>>,
|
|
}
|