# retroglyph-wgpu > GPU rendering backend for retroglyph: Vulkan, Metal, D3D12, and WebGPU via wgpu **Version:** 0.0.0 **Authors:** Matan Lurey **License:** MIT **Repository:** https://github.com/crates-lurey-io/retroglyph **Keywords:** roguelike, terminal, grid, gamedev Generated: 2026-08-05 20:21:10 UTC Created by: [cargo-llms-txt](https://github.com/masinc/cargo-llms-txt) ## Core Documentation - [Complete API Documentation](llms-full.txt): Full public API documentation with detailed descriptions - [README](README.md): Project overview and getting started guide - [Cargo.toml](Cargo.toml): Project configuration and dependencies ## Table of Contents ### src/error.rs - pub enum SurfaceError - impl fmt::Display for SurfaceError - impl std::error::Error for SurfaceError - impl retroglyph_window::RecoverableError for SurfaceError ### src/lib.rs - pub mod config - pub use config::{WgpuBackendBuilder, WgpuBackendError} - pub use error::SurfaceError - pub use retroglyph_window::font::{self as font, BitmapFont, FontChain} - pub struct WgpuRenderer - impl WgpuRenderer - impl Output for WgpuRenderer - impl Presenter for WgpuRenderer - impl conformance::WgpuObserver - impl Output for conformance::WgpuObserver - impl Observable for conformance::WgpuObserver ### src/config.rs - pub enum WgpuBackendError - impl fmt::Display for WgpuBackendError - impl std::error::Error for WgpuBackendError - pub struct WgpuBackendBuilder - impl Default for WgpuBackendBuilder - impl WgpuBackendBuilder ### src/headless.rs - impl Frame ### src/renderer.rs - impl LayerRange - impl GpuResources - impl SpriteGpu ### src/gpu.rs - impl GpuContext - impl WindowSurface - impl Frame - impl PendingGpu - impl PendingGpu ### src/sprite_set.rs - impl SpriteSlot - impl SpriteInstance - impl SpriteSet ### src/instance.rs - impl Cell --- ## README.md ### retroglyph-wgpu GPU rendering backend for retroglyph: Vulkan, Metal, D3D12, and WebGPU via wgpu Part of the [retroglyph](https://github.com/crates-lurey-io/retroglyph) workspace. ## Cargo.toml ```toml [package] name = "retroglyph-wgpu" version = "0.0.0" edition = "2024" description = "GPU rendering backend for retroglyph: Vulkan, Metal, D3D12, and WebGPU via wgpu" license = "MIT" repository = "https://github.com/crates-lurey-io/retroglyph" keywords = ["roguelike","terminal","grid","gamedev"] categories = ["game-development","graphics"] authors = ["Matan Lurey "] ```