class QRenderAspect

The QRenderAspect class. More

Inheritance diagram of PySide6.Qt3DRender.Qt3DRender.QRenderAspect

Synopsis

Methods

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.

__init__([parent=None])
Parameters:

parentQObject

The constructor creates a new QRenderAspect instance with the specified parent. This constructor will set the submission type to Automatic. parent

__init__(submissionType[, parent=None])
Parameters:
  • submissionTypeSubmissionType

  • parentQObject

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