Vulkan Tutorial's Drawing a triangle, but written in Odin, using SDL for window management instead of GLFW. Another difference is that the tutorial uses a single application class with methods using private members, but because Odin has no classes I've been a bit more explicit about what gets passed around to which procedure, which hopefully makes the procedures less opaque and easier to understand.
- odin
- SDL2
- VulkanSDK installed with
setup-env.shcalled, so the correct paths are in your environment, andglslcin your path for shader compilation.
./build-shaders.sh && odin run . -debug