QRenderAspect#
The QRenderAspect class. More…
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
Detailed Description#
- class PySide6.Qt3DRender.Qt3DRender.QRenderAspect([parent=None])#
PySide6.Qt3DRender.Qt3DRender.QRenderAspect(submissionType[, parent=None])
- Parameters:
submissionType –
SubmissionTypeparent –
PySide6.QtCore.QObject
The constructor creates a new QRenderAspect instance with the specified parent. This constructor will set the submission type to Automatic. parent
The constructor creates a new 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
- PySide6.Qt3DRender.Qt3DRender.QRenderAspect.SubmissionType#
Constant
Description
Qt3DRender.QRenderAspect.Automatic
The
QRenderAspecttakes care of submitting rendering commands to the GPU.Qt3DRender.QRenderAspect.Manual
The user will take care of telling the
QRenderAspectwhen is the appropriate time to submit the rendering commands to the GPU.