- Qt 6.11
- Qt Quick 3D
- QML Types
- AddDefine
- Qt Quick 3D | Commercial or GPLv3

# AddDefine QML Type

Adds a preprocessor define to the shader compilation for a pass. More...

Import Statement: | `import QtQuick3D`
Since: | Qt 6.11
Inherits: | Command

- List of all members, including inherited members

## Detailed Description

The AddDefine type is used to specify a preprocessor define that will be added to the shader compilation process for a RenderPass. This allows you to customize the shader behavior by defining specific macros.