re-org en App

This commit is contained in:
Jérôme Bousquié
2026-07-07 16:42:37 +02:00
parent cfd8b421a2
commit 82ea16d118
28 changed files with 518 additions and 67 deletions
+19
View File
@@ -0,0 +1,19 @@
//! # Core Module — Manager and Executor Layers
//!
//! Defines the two architectural layers that drive rendering: **Context** (Manager) owns GPU hardware
//! resource lifecycle (Device, Queue, Surface), and **Renderer** (Executor) orchestrates draw calls by binding
//! Material pipelines and Mesh vertex data into a RenderPass.
//!
//! ## Interaction with Other Modules
//! - `context` consumes errors from `utils`, holds Frame references during frame loops.
//! - `renderer` receives Device/Queue references from Context, uses Materials from `resources`.
//! - `frame` is consumed by both Context (begin_frame → end_frame) and Renderer (render → present).
pub mod context;
pub mod frame;
pub mod renderer;
// Re-exports
pub use context::Context;
pub use frame::Frame;
pub use renderer::Renderer;