Vulkan - I heard it was verbose ...

Scott_Arm

Legend
I just looked at the source code for the examples included in the "ash" vulkan bindings for rust, and the example that draws a single triangle with vertex colours is 472 lines.
 
It's not really that verbose, except the setup, apart from that, it's fine really.
So since you have to write the setup code first it's intimidating, but after that things are rather easy and short.

Definitely an intimidating way to start, but I don't mind. I'm not in a huge rush to get anywhere with it. Just hobbying.
 
Definitely an intimidating way to start, but I don't mind. I'm not in a huge rush to get anywhere with it. Just hobbying.
Don't forget to enable the debug layers, they will help you a lot.
(Also note that despite them you'll manage to crash your app or get a black screen and be puzzled ^^ But that happens more and more rarely these days thanks to the debug layers being improved all the time.)
 
Back
Top