euv-core 0.57.0

Core cross-platform runtime for euv featuring arena-based fine-grained reactivity, deterministic layout, flat scene graph, multi-mode rendering, and direct OS platform adapters.
Documentation
/// Martial arts and ultimate NLA actions playable on the rigged Jianlai swordsman character.
#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
pub enum JianlaiAction {
    /// Poised crane-breath sword stance with gentle hovering spirit sword and swaying sleeves.
    #[default]
    InkStance,
    /// Fluid spinning figure-eight sword combo slashes with sweeping cyan-ink arc trails.
    FlowingSwordDance,
    /// Mid-air sword-seal ultimate summoning an 18-sword Bagua/Taiji orbiting halo and vortex barrage.
    MyriadSwordsReturn,
    /// Low crouch qi-charge unleashing a calligraphic ink shockwave and colossal golden crescent sword-qi wave.
    SkyCleavingSwordQi,
    /// Heroic cloud-step sword-flight glide hovering above the misty mountain cliff.
    CloudStepGlide,
}

/// Complete Blender render and inspection modes supported live across the Jianlai scene.
#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
pub enum JianlaiRenderMode {
    /// Default Jianlai ink-wash donghua 3D-to-2D style with multi-band cel ramps, Freestyle ink outlines, and mineral pigments.
    #[default]
    InkWashDonghua,
    /// High-contrast Cycles PBR studio lighting with metallic/roughness speculars and ray-traced reflection/shadow setup.
    CyclesPbr,
    /// Real-time Eevee golden-hour volumetric cliff mist, warm palace lantern glow, and Karis bloom preset.
    EeveeVolumetric,
    /// Blender sculptor studio Solid Matcap / Clay surface inspection shading.
    SolidMatcap,
    /// Mesh topology wireframe cage combined with the live animated 27-bone octahedral Armature overlay.
    WireframeArmature,
    /// Live shader debug inspection passes (`Normals`, `RoughnessMetallic`, `Depth`, `FreestyleInkContour`).
    ShaderDebugPass,
}

/// Selectable diagnostic channel rendered when `JianlaiRenderMode::ShaderDebugPass` is active.
#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
pub enum JianlaiDebugChannel {
    /// RGB world/surface normal orientation visualization.
    #[default]
    Normals,
    /// False-color roughness (green) and metallic (blue) PBR material diagnostic channel.
    RoughnessMetallic,
    /// Linearized depth gradient from camera near-to-far planes.
    Depth,
    /// Pure Xuan-paper white base with sumi-ink black Freestyle contour line-art pass.
    FreestyleInkContour,
}

/// Top-level sculpted scene presets available inside `/blender` Tab 1.
#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
pub enum JianlaiStagePreset {
    /// Full Jianlai swordsman rig, karst cliff, flying-eave pavilion, ink-pine, and ultimate VFX stage.
    #[default]
    HeroInkCliff,
    /// Five sculpted spirit swords showcasing Principled BSDF materials and `.euv3d` v2 quantized roundtrip.
    SpiritSwordGallery,
    /// Full flying-eave pavilion and Bagua stone terrace with four cinematic Blender perspective cameras.
    ImmortalPavilionMultiCam,
}

/// Cinematic camera angle presets framing the Jianlai cliff and ultimate attacks.
#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
pub enum JianlaiCameraPreset {
    /// Heroic three-quarter medium framing showcasing robes, spirit sword, pavilion, and cliff peaks.
    #[default]
    HeroThreeQuarter,
    /// Dramatic low-angle donghua action framing emphasizing Sky-Cleaving Sword Qi and Myriad Swords halo.
    LowAngleUltimate,
    /// Wide mountain-and-water scroll panorama framing the entire cliff, pavilion, and ink-pine.
    CliffPanorama,
    /// Elevated overhead camera inspecting the engraved Bagua terrace, 18-sword halo, and cloth drape.
    SwordArrayOverhead,
}