Expand description

KAS shell over winit and WGPU

This crate implements a KAS shell (backend) using WGPU for GPU-accelerated rendering and winit for windowing, thus it should be portable to most desktop and potentially also mobile platforms.

This crate supports themes via the kas_theme crate, including shaded drawing.

Custom GPU-accelerated drawing is supported via draw::CustomPipe (see the Mandlebrot example).

By default, some environment variables are read for configuration. See options::Options::from_env for documentation.

Re-exports

pub extern crate wgpu;
pub use options::Options;

Modules

Drawing API for kas_wgpu

Options

Structs

Error type returned by ToolkitProxy functions.

A toolkit over Winit and WGPU

A proxy allowing control of a Toolkit from another thread.

Enums

Possible failures from constructing a Toolkit

Type Definitions

A Result type representing T or Error