QRenderAspect Class

class Qt3DRender::QRenderAspect

The QRenderAspect class. More...

Header: #include <Qt3DRender/QRenderAspect>
CMake: find_package(Qt6 COMPONENTS 3drender REQUIRED)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
qmake: QT += 3drender
Since: Qt 5.7
Inherits: Qt3DCore::QAbstractAspect

Public Types

enum SubmissionType { Automatic, Manual }

Public Functions

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

Detailed Description

Member Type Documentation

enum QRenderAspect::SubmissionType

ConstantValueDescription
Qt3DRender::QRenderAspect::Automatic0The QRenderAspect takes care of submitting rendering commands to the GPU.
Qt3DRender::QRenderAspect::Manual1The user will take care of telling the QRenderAspect when is the appropriate time to submit the rendering commands to the GPU.

Member Function Documentation

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

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

© 2022 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.