ShaderProgram QML Type

Encapsulates a Shader Program. More...

Import Statement: import Qt3D.Render 2.0
Instantiates: QShaderProgram

Properties

Methods

Detailed Description

Property Documentation

computeShaderCode : QByteArray

Specifies the compute shader code to be used


fragmentShaderCode : QByteArray

Specifies the fragment shader code to be used


geometryShaderCode : QByteArray

Specifies the geometry shader code to be used


tessellationControlShaderCode : QByteArray

Specifies the tessellation control shader code to be used


tessellationEvaluationShaderCode : QByteArray

Specifies the tessellation evaluation shader code to be used


vertexShaderCode : QByteArray

Specifies the vertex shader code to be used


Method Documentation

QByteArray loadSource(const QUrl &sourceUrl)

Returns the shader code loaded from sourceUrl.