本页面

Qt Quick Effect Maker

Qt Quick Effect Maker 提供了一款用于为Qt Quick 创建着色器效果的工具,该工具具有高生产力和高性能。您可以将Qt Quick Effect Maker 作为独立工具运行,但它也包含在 Qt Design Studio。

Qt Quick Effect Maker,左侧为节点编辑器,右侧为预览窗格

功能概述

Qt Quick Effect Maker 的主要功能:

  • 实时预览:在处理特效时,您可以在实时预览中即时看到大部分更改。
  • 节点视图:在节点视图中,您无需编写代码即可构建特效。提供超过30个节点,涵盖了Qt XMLGraphical Effects 中的大部分节点。
  • 代码视图:在代码视图中,您可以编辑所有特效节点着色器的代码。代码编辑器功能包括 GLSL 语法高亮、自动缩进、搜索等。
  • 组合特效:为提升性能,Qt Quick Effect Maker 将所有特效整合到一个着色器中。
  • JSON 文件格式:Qt Quick Effect Maker 将项目和节点文件以 JSON 格式存储,便于文件共享,从而提高工作效率。
  • 与 Shadertoy 的兼容性:Qt Quick Effect Maker 中的变量命名在大多数情况下与Shadertoy 兼容,因此可以轻松地将 Shadertoy 着色器移植到Qt Quick Effect Maker ,反之亦然。它支持大多数 Shadertoy 功能以及一些额外功能,例如顶点着色器、自定义纹理和属性。
  • 纯Qt Quick :Qt Quick Effect Maker 基于Qt Quick 和Qt Quick Controls 实现。其工作流专为Qt Quick 和Qt RHI设计。

入门指南

操作指南

示例

  • Wiggly:演示如何使用通过Qt Quick Effect Maker 创建的效果。

© 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.