Shader QML Type
Container component for defining shader code used by CustomMaterials. More...
Import Statement: | import QtQuick3D.Materials 1.14 |
Properties
Detailed Description
Property Documentation
shader : string |
Specifies the name of the shader source file.
stage : enumeration |
Specifies the shader stage.
Constant | Description |
---|---|
Shader.Shared | The shader can be shared among different stages |
Shader.Vertex | The shader is a vertex shader |
Shader.Fragment | The shader is a fragment shader |
Shader.Geometry | The shader is a geometry shader |
Shader.Compute | The shader is a compute shader |
© 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.