d84914ef1e5a
cage_link.rs
use std::sync::Arc;
use texturecraft_engine::bake::CageShell;
use super::cage_shell_key::CageShellKey;
/// A texture set's cage as the GPU has it
pub(super) struct CageLink {
pub(super) key: CageShellKey,
/// `None`: the set bakes without a high poly or its cage can't be built
pub(super) shell: Option<Arc<CageShell>>,
/// The renderer's name for the shell's corner order and edges
pub(super) topology: u64,
/// The max frontal distance the GPU's corners are at
pub(super) max_frontal: f32,
}
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.