Effect QML Type▲
-
Import Statement: import Qt3D.Render 2.4
-
Since:: Qt 5.7
-
Inherits:: Node
-
Instantiates:: QEffect
Detailed Description▲
The Effect type combines a set of techniques and parameters used by those techniques to produce a rendering effect for a material.
An Effect instance should be shared among several Material instances when possible.
A Parameter defined on a Effect overrides parameter (of the same name) defined in Technique and RenderPass, but are overridden by parameter in RenderPassFilter, TechniqueFilter and Material.
Effect node can not be disabled.
Effect {
id
:
effect
techniques
:
[
Technique {
id
:
gl3Technique
graphicsApiFilter {
api
:
GraphicsApiFilter.OpenGL
profile
:
GraphicsApiFilter.CoreProfile
majorVersion
:
3
minorVersion
:
1
}
renderPasses
:
[
RenderPass {
id
:
gl3Pass
shaderProgram
:
ShaderProgram {
...
}
}
]
}
]
}