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

QRenderAspect Class

The QRenderAspect class.

This class was introduced in Qt 5.7.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

QRenderAspect Class

  • Header: Qt3DRender/QRenderAspect

  • Since: Qt 5.7

  • CMake:

    find_package(Qt6 REQUIRED COMPONENTS 3drender)

    target_link_libraries(mytarget PRIVATE Qt6::3drender)

  • qmake: QT += 3drender

  • Inherits: Qt3DCore::QAbstractAspect

Detailed Description

 

Member Type Documentation

 

enum QRenderAspect::SubmissionType

Constant

Value

Description

Qt3DRender::QRenderAspect::Automatic

0

The QRenderAspect takes care of submitting rendering commands to the GPU.

Qt3DRender::QRenderAspect::Manual

1

The user will take care of telling the QRenderAspect when is the appropriate time to submit the rendering commands to the GPU.

Member Function Documentation

 

[explicit] QRenderAspect::QRenderAspect(QObject *parent = nullptr)

The constructor creates a new QRenderAspect::QRenderAspect instance with the specified parent. This constructor will set the submission type to Automatic. parent

[explicit] QRenderAspect::QRenderAspect(Qt3DRender::QRenderAspect::SubmissionType submissionType, QObject *parent = nullptr)

The constructor creates a new QRenderAspect::QRenderAspect instance with the specified parent. The submissionType specifies whether the RenderAspect is in charge of performing the rendering submission or if the user will take care of it. parent

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