Interface ScreenSpaceReflectionCompositeTask
interface ScreenSpaceReflectionCompositeTask {
colorTexture: RenderTarget;
engine: EngineContext;
executionEnabled?: boolean;
name: string;
outputTexture: RenderTarget;
reflections: ScreenSpaceReflectionTask;
scene?: SceneContext;
specularTexture: RenderTarget;
strength: number;
dispose(): void;
execute?(): number;
record(): void;
}
colorTexture: RenderTarget;
engine: EngineContext;
executionEnabled?: boolean;
name: string;
outputTexture: RenderTarget;
reflections: ScreenSpaceReflectionTask;
scene?: SceneContext;
specularTexture: RenderTarget;
strength: number;
dispose(): void;
execute?(): number;
record(): void;
}
Hierarchy (View Summary)
- Task
- ScreenSpaceReflectionCompositeTask
Properties
Readonlycolor Texture
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.
Readonlyname
name: string
Readonlyoutput Texture
Linear HDR rgba16float composite, the size of colorTexture; tone-map it (e.g. createImageProcessingTask).
Readonlyreflections
Optional Readonlyscene
Owning scene for scene-bound tasks. Undefined for scene-less standalone frame graphs.
Readonlyspecular Texture
strength
strength: number
Mutable share of the environment specular the reflections replace (see the config).
Replaces the environment specular of PBR surfaces by screen-space reflections, in linear HDR.