direct.showbase.TaskThreaded
from direct.showbase.TaskThreaded import TaskThread, TaskThreaded
Contains the TaskThreaded and TaskThread classes.
Inheritance diagram
- class TaskThreaded(name, threaded=True, timeslice=None, callback=None)[source]
Bases:
object
derive from this if you need to do a bunch of CPU-intensive processing and you don’t want to hang up the show. Lets you break up the processing over multiple frames
- notify = <direct.directnotify.Notifier.Notifier object>