Interface SsaoTask
interface SsaoTask {
camera: Camera;
depthTexture: RenderTarget;
enabled: boolean;
engine: EngineContext;
executionEnabled?: boolean;
intensity: number;
name: string;
normalTexture: RenderTarget | null;
outputTexture: RenderTarget;
quality: SsaoQuality;
radius: number;
scene?: SceneContext;
temporal: SsaoTemporalSettings;
dispose(): void;
execute?(): number;
record(): void;
}
camera: Camera;
depthTexture: RenderTarget;
enabled: boolean;
engine: EngineContext;
executionEnabled?: boolean;
intensity: number;
name: string;
normalTexture: RenderTarget | null;
outputTexture: RenderTarget;
quality: SsaoQuality;
radius: number;
scene?: SceneContext;
temporal: SsaoTemporalSettings;
dispose(): void;
execute?(): number;
record(): void;
}
Hierarchy (View Summary)
- Task
- SsaoTask
Properties
Readonlycamera
Readonlydepth Texture
enabled
enabled: boolean
Readonlyengine
Engine captured at task creation.
Optionalexecution Enabled
executionEnabled?: boolean
Runtime frame-graph execution gate; undefined means enabled. When false, the frame graph keeps the task recorded
and its resources alive but skips every pass or built-in execute() call for that frame. This is
independent from any task-specific enabled state whose disabled transition may still execute work.
intensity
intensity: number
Normalized strength, 0..1.
Readonlyname
name: string
normal Texture
Signed normal input, or null to reconstruct from depth. Changes reset temporal history.
Readonlyoutput Texture
quality
Spatial sampling preset, independent of temporal history and working resolution.
radius
radius: number
Optional Readonlyscene
Owning scene for scene-bound tasks. Undefined for scene-less standalone frame graphs.
Readonlytemporal
Stable reconstruction settings. Disable explicitly for spatial-only output; reset history with resetSsaoTemporal.
Plain state and the standard frame-graph lifecycle; output is AO visibility, not scene color.