API

Interface SceneSsaoPipelineOptions

Options for a scene-output ambient-occlusion pipeline.

interface SceneSsaoPipelineOptions {
    base?: number;
    depthResolveFormat?: "depth24plus" | "depth32float";
    fadeEnd?: number;
    intensity?: number;
    name?: string;
    radius?: number;
    resolutionScale?: number;
    resolveTexture?: RenderTarget;
    targetTexture?: RenderTarget;
}
Index
base?: number
depthResolveFormat?: "depth24plus" | "depth32float"

Format of the intermediate depth texture allocated to resolve multisampled scene depth (MSAA only). Defaults to "depth32float", which copies the sampled depth without another quantization step (depth24plus is not guaranteed to use less memory: WebGPU may back it with 32-bit float depth).

fadeEnd?: number
intensity?: number
name?: string
radius?: number
resolutionScale?: number
resolveTexture?: RenderTarget

Optional single-sample resolve destination for a multisample targetTexture.

targetTexture?: RenderTarget

Caller-owned final color target, for explicit post-process/overlay composition.