Qt 5.11 | Qt GUI | Hello Vulkan Texture Vulkan Example

Qt 5.11.3 Reference Documentation

# 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:

- hellovulkantexture/qt256.png