ShaderProgram QML Type
Encapsulates a Shader Program. More...
|Import Statement:||import Qt3D.Render 2.0|
- computeShaderCode : string
- fragmentShaderCode : string
- geometryShaderCode : string
- log : string
- status : string
- tessellationControlShaderCode : string
- tessellationEvaluationShaderCode : string
- vertexShaderCode : string
- string loadSource(url sourceUrl)
ShaderProgram class encapsulates a shader program. A shader program consists of several different shaders, such as vertex and fragment shaders.
Holds the log of the current shader program. This is useful to diagnose a compilation failure of the shader program.
Holds the tesselation control shader code used by this shader program.
Holds the tesselation evaluation shader code used by this shader program.
string loadSource(url sourceUrl)
Returns the shader code loaded from sourceUrl.
© 2020 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.