@pmndrs/reflections
    Preparing search index...

    Interface ProbeSetOptions

    interface ProbeSetOptions {
        capacity: number;
        captureTransform?: ProbeCaptureTransform;
        distanceRoughness?: boolean;
        dominantDirection?: boolean;
        environment?: boolean;
        format?: ProbeSetFormat;
        frameIrradianceWgsl?: string;
        layout?: ProbeLayoutId;
        lodMapping?: ProbeLodMapping;
        mirrorX?: boolean;
        refit?: boolean;
        roughnessLerp?: boolean;
        size?: number;
        slotSizes?: readonly (number | undefined)[];
        sourceSize?: number;
        visibility?: number;
    }
    Index
    capacity: number

    Probe volumes the set can hold (atlas slots 0 ... capacity - 1).

    captureTransform?: ProbeCaptureTransform

    How the engine's captures relate to WebGPU's cube convention (./capture.ts, D1805 / D2104): axes mirror (or swap) directions at lookup, free; faces remap the capture's layers and flips as capture() reads it in (one compute pass in place of the copy; the capture then needs TEXTURE_BINDING). Default: none. Not together with mirrorX.

    distanceRoughness?: boolean

    Lagarde's distance-based roughness and roughness lerp on box-projected volumes (D53). Default false.

    dominantDirection?: boolean

    Lookup options (./lookup.ts).

    environment?: boolean

    Reserve the last slot for the environment. Default true.

    Default 'rgba16float'.

    frameIrradianceWgsl?: string

    fn frameIrradiance(P: vec3f, N: vec3f) -> vec3f for refit (turns the re-fit on unless refit: false).

    layout?: ProbeLayoutId

    Default 'cube-hw' (a real cube array); 'cube2d-warp' on a compatibility-mode device (no 'core-features-and-limits'), which can't create cube-array views (D2204).

    lodMapping?: ProbeLodMapping

    Roughness to mip. Default 'alpha' (D101); 'r187' for three r187's PMREM mapping everywhere.

    mirrorX?: boolean

    Captures are x-mirrored (three's CubeCamera): an alias of captureTransform: CAPTURE_MIRROR_X. Default false.

    refit?: boolean

    Re-fit by frameIrradianceWgsl (D803). Default: on when frameIrradianceWgsl is given, else off.

    roughnessLerp?: boolean
    size?: number

    Atlas size (mip 0 face, or octa side). Default sourceSize.

    slotSizes?: readonly (number | undefined)[]

    Capture face size per probe slot (D4700), each a power of two >= 64; absent or undefined entries take sourceSize. Slots of each size share an atlas (sourceSize's first, holding the environment; at most 4 sizes), so one sharp probe can be 512 beside 256 px ones without 4x the set's memory. Capture slot s from a cube of slotSize(s). Those atlases are as large as their captures (size applies to atlas 0 only).

    sourceSize?: number

    Capture face size, a power of two >= 64. Default 256 (D23 / D62: mirror-grade; 128 for many probes or mobile, see the three adapter's BakeOptions.resolution for sizing).

    visibility?: number

    Shader stages the bind group is visible to. Default COMPUTE | FRAGMENT.