Qt Shader Tools C++ Classes | Qt Shader Tools | Qt 6.12.0
Description: Provides classes for runtime shader conditioning.
Keywords: module

- Qt 6.12
- Qt Shader Tools
- Qt Shader Tools C++ Classes
- Qt 6.12.0 Reference Documentation

qt_add_shaders

# Qt Shader Tools C++ Classes

Provides classes for runtime shader conditioning. More...

## Detailed Description

The Qt Shader Tools module provides C++ APIs for compiling, translating, and reflecting shaders at runtime. The main public class is QShaderBaker, which is the library equivalent of the `qsb` command-line tool.

### C++ classes

QShaderBaker | Compiles a GLSL/Vulkan shader into SPIR-V, translates into other shading languages, and gathers reflection metadata

qt_add_shaders