Skip to main content

Crate garasu

Crate garasu 

Source
Expand description

Garasu (硝子) — GPU rendering engine for pleme-io applications.

Provides a reusable wgpu + winit + glyphon rendering stack:

  • GpuContext: wgpu device, queue, surface lifecycle
  • TextRenderer: glyphon-backed text layout and rasterization
  • TextConfig / TextLayout: pure-data text configuration (testable without GPU)
  • ShaderPipeline: WGSL shader loading and management (testable without GPU)
  • AppWindow / WindowConfig: winit window creation with sensible defaults
  • GarasuError: unified error type

Re-exports§

pub use context::GpuContext;
pub use error::GarasuError;
pub use shader::ShaderConfig;
pub use shader::ShaderPipeline;
pub use shader::ShaderSource;
pub use shader::BLUR_SHADER;
pub use text::TextConfig;
pub use text::TextLayout;
pub use text::TextRenderer;
pub use window::AppWindow;
pub use window::WindowConfig;

Modules§

context
error
shader
text
window