direct.showbase.JobManager

from direct.showbase.JobManager import JobManager

Inheritance diagram

Inheritance diagram of direct.showbase.JobManager

class JobManager(timeslice=None)[source]

Bases: object

Similar to the taskMgr but designed for tasks that are CPU-intensive and/or not time-critical. Jobs run in a fixed timeslice that the JobManager is allotted each frame.

TaskName = 'jobManager'
__init__(self, timeslice=None)[source]
add(self, job)[source]
destroy(self)[source]
finish(self, job)[source]
getDefaultTimeslice()[source]
getTimeslice(self)[source]
notify = <direct.directnotify.Notifier.Notifier object>
remove(self, job)[source]
setTimeslice(self, timeslice)[source]