# Xodó > A Rust runtime and renderer for desktop UI, 2D/2.5D/3D games, and streamed 3D worlds. ## Overview - [Xodó Documentation](https://xodo.bizu.tech/docs/index.md): A Rust runtime and renderer for desktop UI, 2D/2.5D/3D games, and streamed 3D worlds. - [Getting Started](https://xodo.bizu.tech/docs/getting-started.md): Prerequisites, building native/web/iOS targets, running tests and examples, and integrating Xodó with a host project. ## Architecture - [Workspace & Rust Rules](https://xodo.bizu.tech/docs/architecture/workspace.md): Cargo workspace layout, implementation rules, dependencies, generated shaders, and crate boundaries. - [Device Layer & Render Graph](https://xodo.bizu.tech/docs/architecture/device-layer.md): Typed GPU handles, bind-group caching, ordered render graph, build-time Metal libraries, uploads, and backend rules. - [Asset Source & Loading](https://xodo.bizu.tech/docs/architecture/asset-source.md): Asynchronous byte source, providers, seekable packs, asset store, background workers, audio, and font loading. - [Resource Lifetimes](https://xodo.bizu.tech/docs/architecture/resource-lifetimes.md): What shared caches retain, how Arc and Weak leases work, and when unleased materials are evicted. ## The Stage - [Stage Overview & Renderer](https://xodo.bizu.tech/docs/stage/overview.md): Retained 2D/2.5D/3D scene model, cameras, ordering, culling, draw lists, StageRenderer, MSAA, and render scale. - [Lighting, Shadows & Post-Processing](https://xodo.bizu.tech/docs/stage/lighting-and-post.md): Classic and PBR lighting, clustered local lights, shadow maps, HDR post chains, bloom, TAA, MetalFX, ray-traced shadows, and custom Slang materials. - [Drawables, Helpers & Diagnostics](https://xodo.bizu.tech/docs/stage/drawables.md): Chunked tilemaps, particle emitters, world-space text, debug lines, sprite animation, FixedClock, image diffing, and GPU pass timing. - [World Capabilities](https://xodo.bizu.tech/docs/stage/world-capabilities.md): Optional stage capability crates for static regions, cells and portals, terrain, skeletal skinning, water, sky, fog, streaming, and converted assets. ## UI Toolkit - [UI Toolkit](https://xodo.bizu.tech/docs/ui/toolkit.md): Retained flexbox tree, immediate 2D canvas shader, linear-light blending, HUD compositing, and HarfRust/FreeType text shaping. - [Components](https://xodo.bizu.tech/docs/ui/components.md): Elm-style components on the retained tree with engine-ui-view — element builders, mounting and reconciliation, commands and subscriptions, story and play tests with a test clock. ## Platforms - [iOS Platform](https://xodo.bizu.tech/docs/platforms/ios.md): Building Xodó for aarch64-apple-ios and aarch64-apple-ios-sim, static SDL3, lifecycle, shaders, and simulator samples. ## Tools & Formats - [Binary Formats & glTF Import](https://xodo.bizu.tech/docs/tools/formats-and-import.md): Engine binary asset formats, asset store layout, xodo-import glTF 2.0 converter, and build scripts. - [Level Dump CLI](https://xodo.bizu.tech/docs/tools/level-dump.md): Schema-driven lossless JSON dump and reload for binary level files and Git textconv diffs. ## Reference - [Material Device Capabilities](https://xodo.bizu.tech/docs/reference/device-capabilities.md): Capability record consumed by the material compiler, stage limits, and explicit device definitions. - [Vertex Data Preparation](https://xodo.bizu.tech/docs/reference/vertex-data.md): Order-preserving vertex fetch remapping, split position/attribute streams, and quantization error bounds. ## Contracts - [Rendering Contracts](https://xodo.bizu.tech/docs/contracts/index.md): Binding architectural contracts for colour, baked lighting, materials, precision, and streaming across Metal and WebGPU. - [Colour Contract](https://xodo.bizu.tech/docs/contracts/colour.md): Separating authored colour math from linear light transport, exposure ownership, and explicit UI/output encoding (C1–C4). - [Baked-Lighting Contract](https://xodo.bizu.tech/docs/contracts/baked-lighting.md): Receiver lighting provenance, replacing inseparable legacy bakes, and visibility/portability rules (B1–B3). - [Materials Contract](https://xodo.bizu.tech/docs/contracts/materials.md): Semantic material representation, logical texture references, portable sampler rules, and blend ordering (M1–M4). - [Precision Contract](https://xodo.bizu.tech/docs/contracts/precision.md): Camera-relative double-precision placement, reverse-Z depth, 32-bit GPU IDs, and shared 16-byte shader ABI. - [Streaming Contract](https://xodo.bizu.tech/docs/contracts/streaming.md): Asynchronous asset source interface, pending policies by class, gameplay pin gates, and residency budgets.