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.
要運行範例從 Qt Creator ,打開 歡迎 模式,然後選擇範例從 範例 。更多信息,拜訪 構建和運行範例 .
文件:
圖像: