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`, `vt`, `vn`, `f`, `usemtl`, `mtllib`).
5 #[default]
6 Obj,
7 /// Khronos glTF 2.0 `.gltf` JSON descriptor with buffer views, accessors, and Principled PBR materials.
8 GltfJson,
9 /// Khronos glTF 2.0 `.glb` self-contained binary container.
10 GlbBinary,
11 /// Zero-copy baked `.euv3d` runtime asset bundle (meshlets, QEM LODs, pre-baked BVH4).
12 Euv3dBinary,
13 /// Native Blender `.blend` header and DNA metadata inspection payload.
14 BlendInspect,
15}
16
17/// Optional procedural micro-detail shading mode attached to a `PbrMaterial`.
18#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
19pub enum SurfaceDetailMode {
20 /// Pure physically based Cook-Torrance GGX material without procedural pattern overlays.
21 #[default]
22 None,
23 /// Procedural glass facade grid with emissive office windows for architectural towers.
24 ArchitecturalFacade,
25 /// Procedural urban road surface with curb/sidewalk borders and asphalt micro-grain.
26 RoadSurface,
27 /// Animated photorealistic Beer-Lambert liquid ocean water with Gerstner waves, Fresnel reflections, sun glitter, and shoreline foam.
28 OceanWater,
29}