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 ,打开 欢迎 模式,然后选择范例从 范例 。更多信息,拜访 构建和运行范例 .
文件:
图像: