anyrender_vello_gpu 0.12.0

vello_gpu (formerly vello_hybrid) backend for anyrender
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! A [`vello_gpu`] backend for the [`anyrender`] 2D drawing abstraction
#![cfg_attr(docsrs, feature(doc_cfg))]

mod common;
#[cfg(all(target_arch = "wasm32", feature = "webgl"))]
mod webgl;
// Not named `wgpu`, which would clash with the `wgpu` crate re-export below.
#[path = "wgpu/mod.rs"]
mod wgpu_backend;

pub use common::{ImageCache, VelloGpuRendererOptions};
#[cfg(all(target_arch = "wasm32", feature = "webgl"))]
pub use webgl::*;
pub use wgpu_backend::*;

pub use wgpu;