Here are a few codes showing how to use python3, vulkan (a python cffi wrapper developed by realitix to Khronos's Vulkan API) and py-sdl2 (a python ctype wrapper to SDL2 developed by marcusva) to accomplish the same C++ Vulkan tutorials excellently prepared by and shared by Alexander Overvoorde at Vulkan Tutorial.
The Vulkan API is powerful and customizable, but it is multifaceted, elaborate and non-trivial to use. As such, I hope this sharing can help in some ways sooth the steep learning curve involved with learning-using the Vulkan API. I write these example codes as I learn them. For well written vulkan examples, I strongly recommend studying the python scripts shared by realitix (see vulkan).
- Hello Triangle
- base example
- v2 revisions made to allow DebugCallBacks
- v3 revisions made to allow resizable window (requires Swapchain Recreation).