Qt 5.13 | Qt 3D | QML Types | ShaderProgramBuilder QML Type

Qt 5.13.2 Reference Documentation

# ShaderProgramBuilder QML Type

Generates a Shader Program content from loaded graphs. More...

Import Statement: | import Qt3D.Render 2.13
Since: | Qt 5.10

- List of all members, including inherited members

## Properties

- computeShaderCode : string
- enabledLayers : stringlist
- fragmentShaderCode : string
- shaderProgram : string

## Detailed Description

A shader program builder consists of several different shader graphs used to generate shader code.

## Property Documentation

computeShaderCode : string

Holds the generated compute shader code

This property was introduced in Qt 2.13.

enabledLayers : stringlist

Holds the list of layers this builder will activate on the shader graphs during code generation.

fragmentShaderCode : string

Holds the generated fragment shader code

This property was introduced in Qt 2.13.

shaderProgram : string

Holds the shader program on which this builder generates code.