AutoMovie API
    Preparing search index...
    IResult:
        | {
            casters?: undefined;
            enabled?: undefined;
            success: false;
            type?: undefined;
            violations: IAutoMovieConstraintViolation[];
        }
        | {
            casters: { depthFaces: number; filterDraws: number; light: string }[];
            enabled: boolean;
            success: true;
            type: "pcf" | "vsm";
            violations?: undefined;
        }

    Resolve supported shadow allocation and submission multiplicity together. One light owns one shadow map; a point light rasterizes six cube faces. Directional and spot VSM add two fullscreen filtering triangles after their one depth face. Area lights allocate no shadow map. Disabled and noncasting lights therefore cost no shadow work. No camera culling reduces this bound.

    Enabled point VSM is refused with the original light path before any resource or fictitious work is priced. Scalar and light-shape admission belong to their existing validators. An omitted policy retains enabled legacy PCF; callers with a renderer target supply that target's effective fallback.

    Type Declaration

    • {
          casters?: undefined;
          enabled?: undefined;
          success: false;
          type?: undefined;
          violations: IAutoMovieConstraintViolation[];
      }
      • Optionalcasters?: undefined

        No costable caster list is emitted on refusal.

      • Optionalenabled?: undefined

        No supported enabled-state result is emitted on refusal.

      • success: false

        Enabled point-light VSM was refused; inspect source-path violations.

      • Optionaltype?: undefined

        No supported normalized filter result is emitted on refusal.

      • violations: IAutoMovieConstraintViolation[]

        New violations in input order, pointing to each unsupported light's castShadow.

    • {
          casters: { depthFaces: number; filterDraws: number; light: string }[];
          enabled: boolean;
          success: true;
          type: "pcf" | "vsm";
          violations?: undefined;
      }
      • casters: { depthFaces: number; filterDraws: number; light: string }[]

        New list in light order; empty when disabled, excluding area/noncasting lights.

      • enabled: boolean

        Effective global shadow enablement, including the legacy true default.

      • success: true

        Policy is supported; does not independently validate all light scalar fields.

      • type: "pcf" | "vsm"

        Effective filtering mode after the pcfSoft-to-pcf fallback.

      • Optionalviolations?: undefined

        Successful resolution emits no policy-violation array.