WARNING: I'm finally learning d3d12 so if you use this as a learning resource, take it with a grain of salt.
Direct 3D Samples written in Odin.
I'm following DirectX-Graphics-Samples for this
Make sure you add SDL2.dll to wherever you put the final exe
odin build <folder>- or
odin run <folder>
e.g. odin build helloworlds/triangle