PySide6.Qt3DRender.Qt3DRender.QRenderAspect¶
- class QRenderAspect¶
The
QRenderAspect
class. More…Synopsis¶
Methods¶
def
__init__()
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 SubmissionType¶
Constant
Description
Qt3DRender.QRenderAspect.Automatic
The
QRenderAspect
takes care of submitting rendering commands to the GPU.Qt3DRender.QRenderAspect.Manual
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
instance with the specifiedparent
. This constructor will set the submission type to Automatic. parent- __init__(submissionType[, parent=None])
- Parameters:
submissionType –
SubmissionType
parent –
QObject
The constructor creates a new
QRenderAspect
instance with the specifiedparent
. ThesubmissionType
specifies whether the RenderAspect is in charge of performing the rendering submission or if the user will take care of it. parent