RenderTargetOutput QML Type

RenderTargetOutput 类型允许指定渲染目标的附件(无论是色彩纹理还是深度纹理等......)。更多

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

Node

Status: Deprecated

属性

详细说明

渲染目标输出(RenderTargetOutput)指定了附着到渲染目标的纹理的附着点和参数。除了附着点外,还可以指定纹理的 miplevel、图层和立方体贴图面。附加到 RenderTargetOutput 的纹理必须与给定的参数相匹配。

注意: 左侧和右侧附着点是特殊值。它们指的不是渲染目标对象,而是用于立体渲染的任一后置缓冲区。

属性文档


face : enumeration

保存渲染指向的所附立方体贴图的面。

  • Texture.CubeMapPositiveX
  • Texture.CubeMapNegativeX
  • Texture.CubeMapPositiveY
  • 纹理.CubeMapNegativeY
  • Texture.CubeMapPositiveZ
  • 正Z纹理

另请参阅 Qt3DRender::QAbstractTexture::CubeMapFace


layer : int

保存渲染所指向的附加纹理的图层。


mipLevel : int

持有渲染指向的附加纹理的 miplevel(mip 层)。


texture : Texture

持有附着在附着点上的纹理。


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