Update `iced_wgpu` root documentation

This commit is contained in:
Héctor Ramón Jiménez 2020-04-02 03:11:16 +02:00
parent 90cf272d67
commit 7d40b76b02
3 changed files with 4 additions and 3 deletions

View File

@ -59,7 +59,7 @@ Currently, [`iced_wgpu`] supports the following primitives:
- Quads or rectangles, with rounded borders and a solid background color. - Quads or rectangles, with rounded borders and a solid background color.
- Clip areas, useful to implement scrollables or hide overflowing content. - Clip areas, useful to implement scrollables or hide overflowing content.
- Images and SVG, loaded from memory or the file system. - Images and SVG, loaded from memory or the file system.
- Meshes of triangles, for rendering geometry freely. - Meshes of triangles, useful to draw geometry freely.
[`wgpu`]: https://github.com/gfx-rs/wgpu-rs [`wgpu`]: https://github.com/gfx-rs/wgpu-rs
[WebGPU API]: https://gpuweb.github.io/gpuweb/ [WebGPU API]: https://gpuweb.github.io/gpuweb/

View File

@ -13,7 +13,7 @@ Currently, `iced_wgpu` supports the following primitives:
- Quads or rectangles, with rounded borders and a solid background color. - Quads or rectangles, with rounded borders and a solid background color.
- Clip areas, useful to implement scrollables or hide overflowing content. - Clip areas, useful to implement scrollables or hide overflowing content.
- Images and SVG, loaded from memory or the file system. - Images and SVG, loaded from memory or the file system.
- Meshes of triangles, for rendering geometry freely. - Meshes of triangles, useful to draw geometry freely.
![iced_wgpu](../docs/graphs/wgpu.png) ![iced_wgpu](../docs/graphs/wgpu.png)

View File

@ -11,8 +11,9 @@
//! Currently, `iced_wgpu` supports the following primitives: //! Currently, `iced_wgpu` supports the following primitives:
//! - Text, which is rendered using [`wgpu_glyph`]. No shaping at all. //! - Text, which is rendered using [`wgpu_glyph`]. No shaping at all.
//! - Quads or rectangles, with rounded borders and a solid background color. //! - Quads or rectangles, with rounded borders and a solid background color.
//! - Images, lazily loaded from the filesystem.
//! - Clip areas, useful to implement scrollables or hide overflowing content. //! - Clip areas, useful to implement scrollables or hide overflowing content.
//! - Images and SVG, loaded from memory or the file system.
//! - Meshes of triangles, useful to draw geometry freely.
//! //!
//! [Iced]: https://github.com/hecrj/iced //! [Iced]: https://github.com/hecrj/iced
//! [`iced_native`]: https://github.com/hecrj/iced/tree/master/native //! [`iced_native`]: https://github.com/hecrj/iced/tree/master/native