RenderPass QML Type

Encapsulates a Render Pass. More...

Import Statement: import Qt3D.Render 2.0
Since: Qt 5.7
Instantiates: QRenderPass



Detailed Description

A RenderPass specifies a single rendering pass - an instance of shader program execution - used by Technique. A Render pass consists of a ShaderProgram and a list of FilterKey objects, a list of RenderState objects and a list of Parameter objects.

RenderPass executes the ShaderProgram using the given render states and parameters when its filter keys match the filter keys in RenderPassFilter or when no filter keys are specified and no RenderPassFilter is present in the FrameGraph.

Property Documentation

filterKeys : list<FilterKey>

Holds the filter keys enabling the use of this render pass.

parameters : list<Parameter>

Holds the shader parameter values used by the render pass.

renderStates : list<RenderState>

Holds the render states used by the render pass.

shaderProgram : ShaderProgram

Holds the shader program to be used for this render pass.

© 2017 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.