import { createRendererOwnedEvidenceFlag } from "./CinematicEvidence.js";
export function createCinematicDepthCompositionPlan(options = {}) {
    const depthTextureAvailable = options.depthTextureAvailable === true;
    return {
        mode: depthTextureAvailable ? "depth-aware" : "camera-sorted",
        depthTextureRequired: depthTextureAvailable,
        fallback: "camera-sorted-transparent-cards",
        rendererOwnedEvidence: createRendererOwnedEvidenceFlag({
            id: "vfx:depth-composition",
            feature: "vfx",
            label: "Depth-aware VFX composition",
            source: "renderer-vfx",
            diagnostics: [depthTextureAvailable ? "VFX can sample renderer-owned depth." : "VFX falls back to camera-sorted renderer cards/particles."]
        }),
        diagnostics: [
            depthTextureAvailable
                ? "Depth texture is available for VFX composition."
                : "Depth texture is not declared; composition remains renderer-owned but uses camera-sorted approximations."
        ]
    };
}
//# sourceMappingURL=CinematicDepthComposition.js.map