本页内容

Qt Shader Tools C++ Classes

提供用于运行时着色器条件处理的类。更多内容...

详细说明

QtShader Tools 模块提供了用于在运行时编译、转换和反射着色器的 C++ API。其主要的公共类是QShaderBaker ,该类相当于命令行工具qsb 。

C++ 类

QShaderBaker

将 GLSL/Vulkan 着色器编译为 SPIR-V,转换为其他着色语言,并收集反射元数据

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