- Qt 6.9
- Qt 3D
- QML Types
- Qt3D.Render (Deprecated)
- RenderTargetOutput
- Qt 6.9.2 Reference Documentation

# RenderTargetOutput QML Type

The RenderTargetOutput type allows the specification of an attachment of a render target (whether it is a color texture, a depth texture, etc... ). More...

Import Statement: | `import Qt3D.Render 2.9`
In C++: | QRenderTargetOutput
Inherits: | Node
Status: | Deprecated

- List of all members, including inherited members

## Properties

- attachmentPoint : enumeration
- face : enumeration
- layer : int
- mipLevel : int
- texture : Texture

## Detailed Description

A RenderTargetOutput specifies the attachment point and parameters for texture that is attached to render target. In addition to the attachment point, texture miplevel, layer and cubemap face can be specified. The texture attached to the RenderTargetOutput must be compatible with the given parameters.

Note: Left and Right attachment points are special values. They do not refer to render target objects, but rather to either of the back buffers used for stereo rendering.

## Property Documentation

attachmentPoint : enumeration

Holds the attachment point of the 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.Stencil
- RenderTargetOutput.DepthStencil
- RenderTargetOutput.Left
- RenderTargetOutput.Right

See also Qt3DRender::QRenderTargetOutput::AttachmentPoint.

face : enumeration

Holds the face of the attached cubemap texture the rendering is directed to.

- Texture.CubeMapPositiveX
- Texture.CubeMapNegativeX
- Texture.CubeMapPositiveY
- Texture.CubeMapNegativeY
- Texture.CubeMapPositiveZ
- Texture.CubeMapNegativeZ

See also Qt3DRender::QAbstractTexture::CubeMapFace.

layer : int

Holds the layer of the attached texture the rendering is directed to.

mipLevel : int

Holds the miplevel of the attached texture the rendering is directed to.

texture : Texture

Holds the texture attached to the attachment point.