d84914ef1e5a
pbr_options.rs
use std::collections::BTreeMap;
use texturecraft_core::{NormalFormat, Projection};
use texturecraft_formats::pbr_maps::MapKind;
/// How to import.
#[derive(Clone, Debug, Default)]
pub struct PbrOptions {
pub name: Option<String>,
/// Forces every normal map's convention; `None` reads it from the file name (default OpenGL).
pub normal_format: Option<NormalFormat>,
pub projection: Projection,
/// Files chosen by the caller where several name one map.
pub choose: BTreeMap<MapKind, String>,
}
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.