Hilo3d API - v2.0.0-alpha.8
    Preparing search index...

    Interface RenderPipelineShadowSlice

    One frame-scoped shadow-atlas slice exposed for GPU-driven caster work.

    interface RenderPipelineShadowSlice {
        cascade: number | null;
        dirty: boolean;
        face: number | null;
        far: number;
        kind: "directional" | "spot" | "point";
        near: number;
        physicalIndex: number;
        sliceIndex: number;
        viewport: RendererViewport;
        viewProjectionMatrix: Float32Array;
    }
    Index
    cascade: number | null

    Directional cascade index, or null for local lights.

    dirty: boolean

    Whether the submission-aware cache scheduled this slice for update.

    face: number | null

    Point-light cube face, or null for planar shadows.

    far: number

    Shadow-camera far plane.

    kind: "directional" | "spot" | "point"

    Light projection represented by the slice.

    near: number

    Shadow-camera near plane.

    physicalIndex: number

    Dense physical placement index within the atlas.

    sliceIndex: number

    Stable LightBlock ABI index.

    Atlas viewport as [x, y, width, height].

    viewProjectionMatrix: Float32Array

    World-space to shadow clip-space transform.