Hello Vulkan Texture Vulkan Example¶
Shows the basics of rendering with textures in a QVulkanWindow
hellovulkantexture.cpp Example File¶
hellovulkantexture.h Example File¶
main.cpp Example File¶
hellovulkantexture.pro Example File¶
hellovulkantexture.qrc Example File¶
qt256.png Image File¶
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.