Qt 5.7 | Qt 3D | QML Types | RenderPass QML Type

Qt 5.7.1 Reference Documentation

# RenderPass QML Type

Encapsulates a Render Pass. More...

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

- List of all members, including inherited members

## Properties

- filterKeys : list<FilterKey>
- parameters : list<Parameter>
- renderStates : list<RenderState>
- shaderProgram : ShaderProgram

## 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.