Interface ComputeTask
interface ComputeTask {
dispatches: readonly ComputeDispatch[];
engine: EngineContext;
executionEnabled: boolean;
name: string;
scene?: SceneContext;
dispose(): void;
execute?(): number;
record(): void;
}
dispatches: readonly ComputeDispatch[];
engine: EngineContext;
executionEnabled: boolean;
name: string;
scene?: SceneContext;
dispose(): void;
execute?(): number;
record(): void;
}
Hierarchy (View Summary)
- Task
- ComputeTask
Properties
Readonlydispatches
Readonlyengine
Engine captured at task creation.
execution Enabled
executionEnabled: boolean
Runtime execution gate used by reusable and one-shot compute scheduling.
Readonlyname
name: string
Optional Readonlyscene
Owning scene for scene-bound tasks. Undefined for scene-less standalone frame graphs.
A frame-graph task that records an ordered dispatch list into one compute pass.