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... ). 更多...

import 語句: import Qt3D.Render 2.15
Since: Qt 5.7
實例化: QRenderTargetOutput
繼承:

Node

特性

詳細描述

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.

特性文檔編製

attachmentPoint : enumeration

Holds the attachment point of the RenderTargetOutput .

另請參閱 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

另請參閱 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.