Any suggestions for a Vulkan tutorial? I’m solid with C++.
I used Joey de Vries excellent tutorial to add a little OpenGL code to an existing Windows app a few years ago.
I needed to transpose the windowing library code to Window’s OpenGL library, I believe it’s called WGL. This worked fine.
Now it’s the same deal, add Vulkan code to an existing Windows App.
Is WGL the Windows library I’ll be using for Vulkan? Searches for “Vulkan WGL” aren’t turning up much. Can somebody point me to a site that will help smooth the process of using a Windows window manager on a Vulkan project?
WGL isn’t the OpenGL library, but rather a Window System Integration (WSI) library for OpenGL on Windows. Analogous to GLX on Linux, and EGL on multiple platforms including mobile and desktop (Linux and Windows). These are interface layers that allows GL to talk to the native window system.
No, Vulkan has a different WSI layer than OpenGL. For a tutorial on using it, see this section in the Vulkan tutorial:
It tells you what Vulkan APIs are being used here and how. But if you want to verify that, you can easily pull the GLFW source code from here and inspect it yourself:
I concur. I really appreciate that SDL offers a ready setup for Android (tried out), and supposedly IOS. Coupled with CMake that makes for a reasonably simple cross platform setup which is neat to have.