# ferroui_vello

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-vello/

**module** · [`ferroui-vello`](/docs/0.5.0/api/ferroui-vello/) · v0.5.0

```rust
module ferroui_vello
```

The Vello rendering backend.

Implements the render contracts of `ferroui_base::platform` on top of
the crates of the Vello project: geometries on `kurbo`, brushes and
blending on `peniko`, and the drawing context on a scene that one of the
renderers of the project draws (`scene::IVelloSceneSink`): `vello_cpu`
on the processor, and with the features `hybrid` and `gpu` of the crate
the sparse-strips renderer on the GPU (`vello_gpu`) and the compute
renderer (`vello`), into memory and into the window of a platform that
renders on a graphics device (`gpu`). In a web page the hybrid mode
draws with the WebGL2 renderer of `vello_gpu` into the canvas of a view
(the feature `hybrid-webgl`, `web_gl`).

The backend is an addition of the port (the original has no such
backend): its files follow the Skia backend's, name by name, so that the
two stay comparable. The design, the facts about the renderers it rests
on and what is built are in `docs/porting/vello-backend.md`.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Vello/FerroUI.Vello/lib.rs#L1)

## Contents

- [`VelloOptions`](/docs/0.5.0/api/ferroui-vello/struct-vellooptions/) — struct
- [`VelloRenderingMode`](/docs/0.5.0/api/ferroui-vello/enum-vellorenderingmode/) — enum

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
