ClearBuffers QML Type

Class to clear buffers. 更多...

import 语句: import Qt3D.Render 2.15
Since: Qt 5.7
实例化: QClearBuffers
继承:

FrameGraphNode

特性

详细描述

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

特性文档编制

buffers : enumeration

Specifies the buffer type to be used.

clearColor : color

Specifies the clear color to be used.

clearDepthValue : real

Specifies the clear depth value to be used.

clearStencilValue : int

Specifies the stencil value 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.