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

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.