Encapsulates a Shader Program. 更多...
import 语句: | import Qt3D.Render 2.0 |
Since: | Qt 5.5 |
实例化: | QShaderProgram |
ShaderProgram class encapsulates a shader program. A shader program consists of several different shaders, such as vertex and fragment shaders.
Holds the compute shader code used by this shader program.
Holds the fragment shader code used by this shader program.
Holds the geometry shader code used by this shader program.
Holds the log of the current shader program. This is useful to diagnose a compilation failure of the shader program.
Holds the status of the current shader program.
Holds the tesselation control shader code used by this shader program.
Holds the tesselation evaluation shader code used by this shader program.
Holds the vertex shader code used by this shader program.
string loadSource ( url sourceUrl ) |
Returns the shader code loaded from sourceUrl .