Open-source Rust engine · MPL-2.0

Desktop UI, 2D/3D games, and streamed worlds — one Rust engine.

Xodó is Bizu's modular Cargo workspace: a shared Metal and WebGPU device graph, a retained 2D/2.5D/3D stage, optional world capabilities, and a hardware-accelerated UI toolkit powered by Slang shaders and SDL3.

macOS & iOS (Metal) · Browser (Emscripten + WebGPU) · Rust Edition 2024

Xodó Buddy Xodó Buddy
Capabilities

Built for speed, modularity, and zero unused overhead.

Shared GPU Device Graph

Typed resource handles, ordered render passes, automatic RAW/WAR/WAW hazard tracking, and transient pooling across Metal and WebGPU — driven by one set of Slang shaders compiled offline.

Device layer docs →

2D / 2.5D / 3D Stage

Retained scene model with orthographic, tilted, and perspective cameras, batched sprites, instanced meshes, classic and PBR lighting, shadows, MSAA, HDR post chains, TAA, tilemaps, particles, and custom Slang materials.

Explore the stage →

Streamed 3D Worlds

Opt-in capability crates for static regions, cell-and-portal visibility, multi-layer terrain and decorations, CPU/GPU skeletal skinning, planar water reflections, physical sky, and background streaming.

World capabilities →

Hardware-Accelerated UI Toolkit

Retained flexbox tree and immediate 2D canvas, HarfRust shaping, FreeType-matched hinting and rasterization, SVG icons, linear-light blending, and HUD compositing over stage passes.

UI toolkit docs →
Pay For What You Use

Acyclic Cargo crates with strict boundaries.

Hosts depend only on the crates they use. Toolkit, stage, and world capability costs stay out of binaries that do not opt in.

Core & Platform
engine-core engine-platform engine-render-device engine-audio-output
Workspace & rules →
Stage & World Capabilities
engine-stage engine-stage-render engine-stage-assets engine-stage-cells engine-stage-levels engine-stage-materials engine-stage-skinning
Stage architecture →
UI Toolkit & Tooling
engine-gfx engine-ui engine-cli engine-import engine-image-diff
Formats & tools →
Quick Start

Build the workspace in three commands.

Install Slang, generate the Rust shader modules and Metal libraries, then compile every crate and example from the repository root.

sh
# 1. Install Slang
bun build/slang.ts

# 2. Generate Rust shader modules
bun build/build.ts shaders

# 3. Build & run an example
cargo run -p engine-stage-render --example sprites