myth_render/lib.rs
1//! Myth Render — Core rendering system for the Myth engine.
2//!
3//! This crate provides the complete GPU rendering pipeline, including:
4//!
5//! - **[`core`]**: wgpu context wrapper ([`WgpuContext`](core::WgpuContext)),
6//! resource management, and bind-group utilities.
7//! - **[`graph`]**: Declarative Render Graph (RDG) for frame organization,
8//! scene extraction, pass scheduling, and compositing.
9//! - **[`pipeline`]**: Shader compilation, template preprocessing, and
10//! two-level pipeline cache (L1/L2).
11//! - **[`settings`]**: Render path configuration and quality knobs.
12
13pub mod core;
14pub mod graph;
15pub mod pipeline;
16pub mod renderer;
17pub mod settings;
18
19pub use renderer::Renderer;
20pub use settings::{RenderPath, RendererInitConfig, RendererSettings};
21
22/// HDR texture format used for high dynamic range render targets.
23pub const HDR_TEXTURE_FORMAT: wgpu::TextureFormat = wgpu::TextureFormat::Rgba16Float;