QAspectJob

The base class for jobs executed in an aspect. More

Inheritance diagram of PySide6.Qt3DCore.Qt3DCore.QAspectJob

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

aspectEnginePySide6.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.