This repo follows the Vulkan Tutorial in Odin.
The main.odin
file goes up to the "Swap Chain Recreation" module.
From the root folder, run:
odin run main
From the root folder, run:
odin build main -out:triangle
Make sure the folder structure looks like:
triangle
main/
└── main.odin
└── shaders/
├── simple_frag.spv
└── simple_vertex.spv
Then, you can run it with:
./triangle
This project is licensed under the 0BSD License.