内容表

上一话题

Hello Vulkan Cubes Example

下一话题

Hello Vulkan Triangle Example

Hello Vulkan Texture Vulkan Example

Shows the basics of rendering with textures in a QVulkanWindow .

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.

../_images/hellovulkantexture.png

运行范例

要运行范例从 Qt Creator ,打开 欢迎 模式,然后选择范例从 范例 . For more information, visit Building and Running an Example.

范例工程 @ code.qt.io