Crate kas_wgpu

Source
Expand description

KAS graphics backend over WGPU

This crate implements a KAS’s drawing APIs over WGPU.

This crate supports themes via the kas::theme, and provides one additional theme, ShadedTheme.

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::load_from_env for documentation.

Re-exports§

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

Modules§

draw
Drawing API for kas_wgpu
options
Options

Structs§

Builder
Builder for a kas::runner::Runner using WGPU
ShadedTheme
A theme using simple shading to give apparent depth to elements

Traits§

DrawShaded
Extension trait providing shaded drawing for DrawIface
DrawShadedImpl
Extended draw interface for DrawIface providing shaded drawing