1
0
Fork 0
firefox/third_party/rust/metal/examples/circle
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00
..
main.rs Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
README.md Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
screenshot.png Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
shaders.metal Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
shaders.metallib Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00

circle

Renders a circle in a window. As metal primitive types are only limited to point, line and triangle shape, this example shows how we can form complex structures out of primitive types.

Screenshot of the final render

To Run

cargo run --example circle