QAspectJob¶
The base class for jobs executed in an aspect. More…
Detailed Description¶
- class PySide6.Qt3DCore.Qt3DCore.QAspectJob¶
- PySide6.Qt3DCore.Qt3DCore.QAspectJob.isRequired()¶
- Return type
bool
Should return true (default) if the job has actually something to do. If returning false, the job will not be scheduled (but it’s dependencies will be).
- PySide6.Qt3DCore.Qt3DCore.QAspectJob.postFrame(aspectEngine)¶
- Parameters
aspectEngine –
PySide6.Qt3DCore.Qt3DCore.QAspectEngine
Called in the main thread when all the jobs have completed. This is a good point to push changes back to the frontend. aspectEngine
is the engine responsible for the run loop.
- PySide6.Qt3DCore.Qt3DCore.QAspectJob.run()¶
Executes the job. This is called on a separate thread by the scheduler.
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.