cvkg-render-gpu
Purpose
Drives wgpu-based rendering pipelines, shader compilations, and command buffers.
Boundaries
- It does not run native desktop window loops; those are managed by cvkg-render-native.
- It does not contain testing frameworks; quality checks are managed by
cvkg-test.
Dependency Graph
graph TD
cvkg-render-gpu["cvkg-render-gpu (Focal Crate)"]
cvkg-test["cvkg-test"]
cvkg-test --> cvkg-render-gpu
classDef focal fill:#0f172a,stroke:#3b82f6,color:#38bdf8,stroke-width:2px
classDef sibling fill:#311042,stroke:#d946ef,color:#f472b6,stroke-width:1px
class cvkg-render-gpu focal
class cvkg-test sibling
Public API Overview
SurtrRenderer— Central pipeline controller.Vertex— Geometry vertex coordinates.
Usage Example
use SurtrRenderer;
Use Cases
- Mapped as a core component inside the standard framework dependency tree.
Edge Cases and Limitations
- Under extreme scale or thread contention, ensure the host runtime balances cycles appropriately.
Crate-Specific Build Flags
This crate has no custom feature flags or compile-time options. It compiles under standard cargo parameters.