The QRenderAspect class. More...
Header: | #include <Qt3DRender/QRenderAspect> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
qmake: | QT += 3drender |
Since: | Qt 5.7 |
Inherits: | Qt3DCore::QAbstractAspect |
enum | SubmissionType { Automatic, Manual } |
QRenderAspect(Qt3DRender::QRenderAspect::SubmissionType submissionType, QObject *parent = nullptr) | |
QRenderAspect(QObject *parent = nullptr) |
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. |
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
The constructor creates a new QRenderAspect::QRenderAspect instance with the specified parent. This constructor will set the submission type to Automatic. parent
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: