re-org en App
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user