RenderTarget QML Type

The RenderTarget class encapsulates a target (usually a frame buffer object) which the renderer can render into. 更多...

import 语句: import Qt3D.Render 2.15
Since: Qt 5.7
实例化: QRenderTarget

特性

详细描述

A RenderTarget comprises of RenderTargetOutput objects, which specify the the buffers the render target is rendering to. The user can specify MRT(Multiple Render Targets) by attaching multiple textures to different attachment points. The results are undefined if the user tries to attach multiple textures to the same attachment point. At render time, only the draw buffers specified in the RenderTargetSelector are used.

特性文档编制

attachments : list < RenderTargetOutput >

Holds the attachments for the RenderTarget .