BlitFramebuffer QML Type

FrameGraph 节点,用于将像素值矩形从渲染目标的一个区域传输到另一个区域。更多

Import Statement: import Qt3D.Render 2.9
In C++: QBlitFramebuffer
Inherits:

FrameGraphNode

Status: Deprecated

属性

详细说明

此节点会在命令流中插入一个glBlitFrameBuffer 或类似的内容。与绘制纹理四边形相比,它为在 QRenderTarget 封装的纹理或曲面后缓冲区之间复制矩形提供了更有效的方法。它还支持使用指定的插值方法进行缩放。

注: 在实践中,BlitFramebuffer 节点通常会与NoDraw 结合使用,因为 Blit 不需要为任何实体发出绘制调用。

属性文档

destination : RenderTarget

指定目标渲染目标。如果未设置,则假定目标为默认帧缓冲区(即当前曲面的后缓冲区)(如果有的话)。

注意: 源和目标不能指向同一个渲染目标。


destinationAttachmentPoint : RenderTargetOutput.AttachmentPoint

指定源连接点。默认为RenderTargetOutput.AttachmentPoint.Color0。


destinationRect : Rect

指定目标矩形。坐标假定遵循正常的 Qt 坐标系,即 Y 轴从上到下。


interpolationMethod : InterpolationMethod

指定图像拉伸时应用的插值。默认为线性。


source : RenderTarget

指定源渲染目标。未设置时,如果有默认帧缓冲区(即当前曲面的后缓冲区),则假定源为默认帧缓冲区。

注意: 源和目标不能指向同一个渲染目标。


sourceAttachmentPoint : RenderTargetOutput.AttachmentPoint

指定源连接点。默认为RenderTargetOutput.AttachmentPoint.Color0。


sourceRect : Rect

指定源矩形。坐标假定遵循正常的 Qt 坐标系,即 Y 轴从上到下。


© 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.