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

    Interface RenderPipelineShadowResources

    Frame-scoped shared shadow-atlas data available to custom and built-in pipelines.

    interface RenderPipelineShadowResources {
        atlas: RenderGraphTextureHandle;
        atlasRects: Float32Array;
        atlasSize: Float32Array;
        depthMode: CameraDepthMode;
        directionalBiases: Float32Array;
        directionalCascadeMatrices: Float32Array;
        directionalCascadeParams: Float32Array;
        directionalCascadeSplits: Float32Array;
        directionalLights: readonly DirectionalLight[];
        directionalShadowCount: number;
        pointBiases: Float32Array;
        pointLights: readonly PointLight[];
        pointMatrices: Float32Array;
        pointShadowCount: number;
        spotBiases: Float32Array;
        spotLights: readonly SpotLight[];
        spotMatrices: Float32Array;
        spotShadowCount: number;
    }
    Index

    Exact graph texture written by the recorded shadow passes.

    atlasRects: Float32Array

    Top-left atlas rectangles as packed [scaleX, scaleY, offsetX, offsetY] values.

    atlasSize: Float32Array

    Atlas dimensions and reciprocal dimensions as [width, height, 1/width, 1/height].

    depthMode: CameraDepthMode

    Depth convention used by the atlas texture and comparison sampler.

    directionalBiases: Float32Array

    Directional minimum/slope bias pairs in shadow-first light order.

    directionalCascadeMatrices: Float32Array

    View-space-to-shadow-clip matrices for every directional cascade.

    directionalCascadeParams: Float32Array

    Cascade count, blend fraction, and shadow strength per directional light.

    directionalCascadeSplits: Float32Array

    Four cascade far distances per directional light.

    directionalLights: readonly DirectionalLight[]

    Shadow-first directional-light order used by the packed directional arrays.

    directionalShadowCount: number

    Number of leading directional lights with valid packed shadow data.

    pointBiases: Float32Array

    Point minimum/slope bias pairs in shadow-first light order.

    pointLights: readonly PointLight[]

    Shadow-first point-light order used by the packed point arrays.

    pointMatrices: Float32Array

    Six view-space-to-shadow-clip face matrices per shadowed point light.

    pointShadowCount: number

    Number of leading point lights with valid packed shadow data.

    spotBiases: Float32Array

    Spot minimum/slope bias pairs in shadow-first light order.

    spotLights: readonly SpotLight[]

    Shadow-first spot-light order used by the packed spot arrays.

    spotMatrices: Float32Array

    View-space-to-shadow-clip matrices for shadowed spot lights.

    spotShadowCount: number

    Number of leading spot lights with valid packed shadow data.