QRenderAspect Class

class Qt3DRender::QRenderAspect

The QRenderAspect class. \since 5.7 \inmodule Qt3DRender. More...

Header: #include <Qt3DRender/QRenderAspect>
Inherits: Qt3DCore::QAbstractAspect

Public Types

enum SubmissionType { Automatic, Manual }

Public Functions

QRenderAspect(QObject *parent = nullptr)
QRenderAspect(SubmissionType submissionType, QObject *parent = nullptr)
virtual ~QRenderAspect()

Protected Functions

QRenderAspect(QRenderAspectPrivate &dd, QObject *parent)

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

[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(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

[protected] QRenderAspect::QRenderAspect(QRenderAspectPrivate &dd, QObject *parent)

\internal

[virtual noexcept] QRenderAspect::~QRenderAspect()

\internal