IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

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

This type was introduced in Qt 5.7.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

RenderTargetOutput QML Type

  • Import Statement: import Qt3D.Render 2.4

  • Since:: Qt 5.7

  • Inherits:: Node

  • Instantiates:: QRenderTargetOutput

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.

Property Documentation

 

attachmentPoint : enumeration

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

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.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+