ShaderProgramBuilder QML Type | Qt 3D 5.15.2

- Qt 5.15
- Qt 3D
- QML Types
- ShaderProgramBuilder QML Type
- Qt 5.15.2 Reference Documentation

# ShaderProgramBuilder QML Type

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

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

- List of all members, including inherited members

## Properties

- computeShaderCode : string
- enabledLayers : stringlist
- fragmentShaderCode : string
- geometryShaderCode : string
- shaderProgram : string
- tessellationControlShaderCode : string
- tessellationEvaluationShaderCode : string
- vertexShaderCode : 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.

geometryShaderCode : string

Holds the generated geometry shader code

This property was introduced in Qt 2.13.

shaderProgram : string

Holds the shader program on which this builder generates code.

tessellationControlShaderCode : string

Holds the generated tessellation control shader code

This property was introduced in Qt 2.13.

tessellationEvaluationShaderCode : string

Holds the generated tessellation evaluation shader code

This property was introduced in Qt 2.13.

vertexShaderCode : string

Holds the generated vertex shader code

This property was introduced in Qt 2.13.