场景图 - Vulkan 纹理导入
演示如何使用直接通过 Vulkan 创建的纹理。
Qt Quick 项中显示" src="images/vulkantextureimport-example.jpg" title="将“Squircle”渲染为 Vulkan 纹理,并在 Qt Quick 项中显示"/>
“Vulkan 纹理导入”示例展示了应用程序如何在Qt Quick 场景中导入并使用VkImage。在集成原生 Vulkan 渲染时,这为底层(underlay)或覆盖层(overlay)方法提供了一种替代方案。
该示例在多数方面与“Metal 纹理导入”示例等效。Vulkan 渲染代码取自“Vulkan Under QML”示例。
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.