April 2017
Intermediate to advanced
700 pages
21h 36m
English
There are many different libraries allowing us to load contents of images. All of them have their own specific behaviors, usages, and licenses. In this recipe, we will use a stb_image library created by Sean T. Barrett. It is very simple to use, yet supports enough image formats to start developing a Vulkan application. And one of its main strengths is that it is a single header library, all its code is placed in just one header file. It doesn't depend on any other libraries, files, or resources. Another advantage is that we can use it in whatever way we want.
To use the stb_image library in our application, we need to download a stb_image.h file from https://github.com/nothings/stb ...
Read now
Unlock full access