3 ms·
I have never written for Vulkan and have only done bits and pieces of OpenGL but this can't possibly be an honest representation can it?
by mdoms 5y ago
I have never written for Vulkan and have only done bits and pieces of OpenGL but this can't possibly be an honest representation can it?
- seoaeu 5y agoNo, not entirely. Each version does progressively more error checking / debug output. Also the first two output a static single color triangle, while the Vulkan sample outputs a rotating triangle with different colors for each vertex.
- 323 5y agoEven conceptually using Vulkan is much more complicated. In old GL it's basically glClear, glBegin, glVertex, glVertex, glVertex, glEnd and a bit of window setup. In Vulkan you need to know what these things are: queues, command buffers, image/geometry buffers, memory locations (constant, uniform, varying), resources, bindings, shader programs, fences, swap chains, and how they all coordinate together. And until they are all properly coordinated together, you'll just be staring at a black image or just get errors.