Architecture of belobug/victory-belobug-amd
belobug/victory-belobug-amd is 234 source files holding 12,223 symbols across 3 modules, written mainly in Rust. The largest module is crates, with 199 files, and 12 files are entry points into the dependency graph.
How victory-belobug-amd fits together
Input enters through apps/victory/src/main.rs, the command-line entry point, and apps/victory/src/run.rs runs the title from it. The shared library in crates/victory-core/src/lib.rs supplies common code that the other crates build on. crates/victory-shader/src/emit/lower.rs handles lowering in the shader emit step, which the shaders command uses to translate the title's shader archives ahead of time. crates/victory-gpu/src/host.rs carries the GPU-side work, such as submissions and texture uploads, and crates/victory-gpu/src/shadow.rs handles the writes the title makes to its memory. The result is the title running on Windows, with frame recording and replay available for checking per-pass times.
Largest modules
- crates: 199 files and 147,203 lines of code
- apps: 9 files and 2,829 lines of code
- xtask: 2 files and 302 lines of code
Documentation
Repowise documents victory-belobug-amd in 286 pages generated from the source, 22 of them written explanations of the repository and its modules. Module guides include:
- apps/victory/src: Application Entry and Run Loop
More on victory-belobug-amd: summary and FAQ, codebase overview, code health.
Related guide: Best dependency graph tools for monorepos