viewport
Widget::draw
This should eventually allow us to only generate primitives that are visible.
iced_glutin
README
A custom widget showcasing how to draw geometry with the Mesh2D primitive in iced_wgpu.
Mesh2D
iced_wgpu
The main file contains all the code of the example.
main
You can run it with cargo run:
cargo run
cargo run --package geometry