Hello Vulkan Texture Vulkan Example
Shows the basics of rendering with textures in a QVulkanWindow.
The Hello Vulkan Texture Example builds on hellovulkantriangle. Here instead of drawing a single triangle, a triangle strip is drawn in order to get a quad on the screen. This is then textured using a QImage loaded from a .png image file.
Running the Example
To run the example from Qt Creator, open the Welcome mode and select the example from Examples. For more information, visit Building and Running an Example.
Files:
- hellovulkantexture/hellovulkantexture.cpp
- hellovulkantexture/hellovulkantexture.h
- hellovulkantexture/hellovulkantexture.pro
- hellovulkantexture/hellovulkantexture.qrc
- hellovulkantexture/main.cpp
Images:
© 2019 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.