Exaple of Rust program using rendy and drawing colored triangle.
Source code was grabbed from official rendy-repo thanks to authors.
This repo was made to show how to build simple rendy-using program as a standalone project.
DISCLAIMER! I am not a pro in Rust or Rendy so don't consider this project a best practice.
If you work on Windows you need to install Cmake and Ninja as they are needed to build Rendy dependency.
If you work on Mac OS you need to install XCode and Cmake.
Currently it works on Windows using Vulkan as rendering backend.
cargo run --features vulkan
Works on Mac OS with Metal backend.
cargo run --features metal
- Got something working!