cvkg_render_gpu/subsystems/mod.rs
1//! P1-1 (phase 6): Subsystem modules.
2//!
3//! Each renderer subsystem is a self-contained module. This
4//! replaces the previous design where subsystem state was mixed
5//! in with the rest of the renderer state in the giant
6//! `types.rs` file.
7//!
8//! Phase 6 of the P1-1 refactor: move the subsystem structs from
9//! `types.rs` into their own files so they can be reviewed,
10//! tested, and modified in isolation.
11
12pub mod config;
13pub mod geometry_buffers;
14pub mod gpu_capabilities;
15
16pub use config::SurtrConfig;
17pub use gpu_capabilities::{detect_gpu_vendor, GpuCapabilities, GpuVendor};
18
19// Re-export the existing subsystem structs that still live in
20// types.rs. These will be moved to their own files in subsequent
21// commits.
22pub use crate::types::{
23 GeometryBuffers, ParticleSubsystem, SvgSubsystem, TextSubsystem,
24};