RenderTargetSelector QML Type

Provides a way of specifying a render target 更多...

Import Statement: import Qt3D.Render 2.0
开始支持版本: Qt 5.7
Instantiates: QRenderTargetSelector
基类:

FrameGraphNode

属性

详细描述

A RenderTargetSelector is used to select active RenderTarget for the FrameGraph. When RenderTargetSelector is present in the FrameGraph, the rendering is directed into Texture objects or draw buffers instead of the surface specified in the RenderSurfaceSelector.

属性

drawBuffers : list<variant>

Holds the list of draw buffers enabled for the RenderTarget.

参见 Qt3DRender::QRenderTargetOutput::AttachmentPoint.


target : RenderTarget

Holds the current render target