densa-render 0.2.2

wgpu renderer for densa: draws a frame's instances in one instanced draw call, with a growing glyph atlas
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! wgpu renderer for densa.
//!
//! [`GpuRenderer`] draws a frame's `densa_draw::Instance`s, as built by a `Canvas` from any
//! painter (grids, paragraphs, your own), with one instanced draw call: each quad is a solid
//! rectangle or a glyph sampled from the atlas. It keeps the atlas texture in step with the
//! glyph cache's updates, growing it on the GPU as the cache grows.

mod atlas;
mod gpu;

pub use atlas::AtlasError;
pub use densa_core::Color;
pub use gpu::GpuRenderer;