Skip to main content

euv_core/game/engine3d/mesh/
enum.rs

1/// Supported 3D model interchange formats parsed natively by `ModelImporter3D`.
2#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
3pub enum ModelFormat {
4    /// Wavefront `.obj` ASCII geometry format (`v`, `vn`, `f` triangles/quads/n-gons).
5    #[default]
6    Obj,
7    /// Khronos glTF 2.0 `.gltf` JSON descriptor with inline PBR materials and mesh geometry.
8    GltfJson,
9}
10
11/// Optional procedural micro-detail shading mode attached to a `PbrMaterial`.
12#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
13pub enum SurfaceDetailMode {
14    /// Pure physically based Cook-Torrance GGX material without procedural pattern overlays.
15    #[default]
16    None,
17    /// Procedural glass facade grid with emissive office windows for architectural towers.
18    ArchitecturalFacade,
19    /// Procedural urban road surface with curb/sidewalk borders and asphalt micro-grain.
20    RoadSurface,
21}