RenderTargetOutput QML Type
RenderTargetOutput 类型允许指定渲染目标的附件(无论是色彩纹理还是深度纹理等......)。更多
| Import Statement: | import Qt3D.Render 2.11 |
| In C++: | QRenderTargetOutput |
| Inherits: | |
| Status: | Deprecated |
属性
- attachmentPoint : enumeration
- face : enumeration
- layer : int
- mipLevel : int
- texture : Texture
详细说明
渲染目标输出(RenderTargetOutput)指定了附着到渲染目标的纹理的附着点和参数。除了附着点外,还可以指定纹理的 miplevel、图层和立方体贴图面。附加到 RenderTargetOutput 的纹理必须与给定的参数相匹配。
注意: 左侧和右侧附着点是特殊值。它们指的不是渲染目标对象,而是用于立体渲染的任一后置缓冲区。
属性文档
attachmentPoint : enumeration
用于固定RenderTargetOutput 的连接点。
- RenderTargetOutput.Color0
- RenderTargetOutput.Color1
- RenderTargetOutput.Color2
- RenderTargetOutput.Color3
- RenderTargetOutput.Color4
- RenderTargetOutput.Color5
- RenderTargetOutput.Color6
- RenderTargetOutput.Color7
- RenderTargetOutput.Color8
- RenderTargetOutput.Color9
- RenderTargetOutput.Color10
- RenderTargetOutput.Color11
- RenderTargetOutput.Color12
- RenderTargetOutput.Color13
- RenderTargetOutput.Color14
- RenderTargetOutput.Color15
- RenderTargetOutput.Depth 深度
- RenderTargetOutput.DepthStencil
- RenderTargetOutput.DepthStencil
- RenderTargetOutput.左
- RenderTargetOutput.右侧
另请参见 Qt3DRender::QRenderTargetOutput::AttachmentPoint 。
face : enumeration
保存渲染指向的所附立方体贴图的面。
- Texture.CubeMapPositiveX
- Texture.CubeMapNegativeX
- Texture.CubeMapPositiveY
- 纹理.CubeMapNegativeY
- Texture.CubeMapPositiveZ
- 正Z纹理
另请参见 Qt3DRender::QAbstractTexture::CubeMapFace 。
layer : int
保存渲染所指向的附加纹理的图层。
mipLevel : int
保存渲染所指向的附加纹理的 miplevel。
texture : Texture
将纹理固定在连接点上。
© 2026 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.