@pmndrs/reflections
    Preparing search index...

    Interface ReflectionsOptions

    interface ReflectionsOptions {
        cubeArrays?: boolean;
        denoiser?:
            | TemporalDenoiser<SpecularInputs>
            | (
                (
                    device: GPUDevice,
                    info: ReflectionsDenoiserInfo,
                ) => TemporalDenoiser<SpecularInputs> | null
            )
            | null;
        gbufferOptions?: FrameGBufferOptions;
        preset?: ReflectionsPresetName;
        probeResolution?: number;
        probes?: boolean | ReflectionProbes;
        rayTracing?: boolean | Object3D<Object3DEventMap>[];
        settings?: ScreenSpaceReflectionsPassSettings;
        timestamps?: boolean;
    }
    Index
    cubeArrays?: boolean

    Install the cube-array shim for the probes on three r187 (default true; harmless where three has cube arrays).

    denoiser?:
        | TemporalDenoiser<SpecularInputs>
        | (
            (
                device: GPUDevice,
                info: ReflectionsDenoiserInfo,
            ) => TemporalDenoiser<SpecularInputs> | null
        )
        | null

    A temporal reflection denoiser, e.g. (device, { roughnessThreshold }) => new FfxReflectionDenoiser(device, { roughnessThreshold: roughnessThreshold ** 2 }) from denoiser/ffx (FFX compares alpha, perceptual roughness squared). Or an instance made on this renderer's device. Default none.

    gbufferOptions?: FrameGBufferOptions

    Options for the G-buffer (FrameGBufferOptions): e.g. { width, height } to render below the canvas size for an upscaler after the composite. Default: the renderer's drawing-buffer size, lit: 'auto'.

    A named preset (core REFLECTION_PRESETS, docs/SETTINGS.md "Presets"): 'default' or 'performance'. Default 'default'.

    probeResolution?: number

    Cube face size of the automatic probe. Default 256 (128 with the 'performance' preset).

    probes?: boolean | ReflectionProbes

    What fills the reflection where the screen has no hit. true (default): one probe sized to the scene's bounds, baked once at create() (call bake() after the scene or its environment changes); a ReflectionProbes set you built and baked yourself is used as is; false: the scene's environment alone. A real project usually places a probe per room, true is the quick start.

    rayTracing?: boolean | Object3D<Object3DEventMap>[]

    Ray-traced fallback for rays the screen cannot answer, through @pmndrs/raytracer and @pmndrs/bvh (optional peers: install both). true: every visible mesh of the scene, a BVH built once at create() (static meshes; for moving ones use reflections.trace.refit() each frame). An array: only these objects. Default false. Ray tracing degrades, with one console warning, to screen space + probes when it can't run: the package isn't installed, or the device has too few storage buffers per shader stage for the traced pass (W89, D5451).

    Overrides over the preset's tracer settings (core ScreenSpaceReflectionsSettings, docs/SETTINGS.md).

    timestamps?: boolean

    Per-pass GPU timestamps, read with reflections.ssr.readTimings(); needs the 'timestamp-query' feature. Default false.