ShaderProgramBuilder QML Type
Generates a Shader Program content from loaded graphs. More...
| Import Statement: | import Qt3D.Render 2.15 | 
| Since: | Qt 5.10 | 
| Instantiates: | QShaderProgramBuilder | 
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.
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.