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

Qt 5.7.1 Reference Documentation

# ClearBuffers QML Type

Class to clear buffers More...

Import Statement: | import Qt3D.Render 2.0
Since: | Qt 5.7
Instantiates: | QClearBuffers
Inherits: | FrameGraphNode

- List of all members, including inherited members

## Properties

- buffers : enumeration
- clearDepthValue : real
- clearStencilValue : int
- color : color
- colorbuffer : RenderTargetOutput

## Detailed Description

A Qt3DRender::QClearBuffers FrameGraph node enables clearing of the specific render target buffers with specific values.

## Property Documentation

buffers : enumeration

Specifies the buffer type to be used.

clearDepthValue : real

Specifies the clear depth value to be used.

clearStencilValue : int

Specifies the stencil value to be used.

color : color

Specifies the clear color to be used.

colorbuffer : RenderTargetOutput

Specifies a specific color buffer to clear. If set to NULL (default), and ColorBuffer flag is set, all color buffers will be cleared.