RenderTarget QML Type

RenderTarget 类封装了一个目标(通常是一个帧缓冲区对象),渲染器可以将其渲染到该目标中。更多

Import Statement: import Qt3D.Render 2.9
In C++: QRenderTarget
Status: Deprecated

属性

详细说明

RenderTarget 由RenderTargetOutput 对象组成,这些对象指定了渲染目标渲染到的缓冲区。用户可以通过将多个纹理附加到不同的附加点来指定 MRT(多个渲染目标)。如果用户尝试将多个纹理附着到同一个附着点上,结果将是不确定的。在渲染时,只会使用RenderTargetSelector 中指定的绘制缓冲区。

属性文档

attachments : list<RenderTargetOutput>

保存RenderTarget 的附件。


© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.