{
    "Name" : "PostProcessGraph",
    "Targets" : [
        {
            "Name" : "PostProcessInputColor"
        },
        {
            "Name" : "PostProcessOutputColor"
        },
        {
            "Name" : "PostProcessOutputColorCopy"
        }
    ],
    "Buffers" : [
    ],
    "Nodes" : [
        {
            "TargetCopy" : {
                "Name" : "CopyColorBefore",
                "Enabled" : false,
                "TargetReads" : [
                    {
                        "TargetHandle" : "PostProcessOutputColor",
                        "Settings" : {}
                    }
                ],
                "TargetWrites" : [
                    {
                        "TargetHandle" : "PostProcessOutputColorCopy",
                        "Settings" : { "Type" : "WriteBlit" }
                    }
                ],
                "CopyAllSlices" : true
            }
        },
        {
            "RenderGraphTonemapNode" : {
                "Name" : "Tonemap",
                "Material" : "../AR/arTonemap.rematerial",
                "TechniqueName" : "fullscreen",
                "TonemapUserParameters" : {
                    "ToeStrength" : 0.25,
                    "ToeLength" : 0.37,
                    "ShoulderStrength" : 1.0,
                    "ShoulderLength" : 0.7,
                    "ShoulderAngle" : 1.0,
                    "Gamma" : 1.0,
                    "Exposure" : 0.0
                },
                "TargetReads" : [
                    {
                        "TargetHandle" : "PostProcessInputColor",
                        "Settings" : {
                            "IsOptional" : true
                        }
                    }
                ],
                "TargetWrites" : [
                    {
                        "TargetHandle" : "PostProcessOutputColor",
                        "Settings" : {
                            "AttachmentIndex" : 0
                        }
                    }
                ],
                "RenderGraphTextureCommands" : [
                    {
                        "BindingName" : "inputColor",
                        "TargetHandle" : "PostProcessInputColor",
                        "MakeArrayView" : true
                    }
                ]
            }
        },
        {
            "Fullscreen" : {
                "Name" : "realityRendererBackground",
                "Material" : "realityRendererBackground.rematerial",
                "TechniqueName" : "realityRendererBackground",
                "setViewportToCoverEntireRenderTarget" : true,
                "TargetReads" : [
                    {
                        "TargetHandle" : "PostProcessOutputColorCopy"
                    },
                    {
                        "TargetHandle" : "PostProcessInputColor",
                        "Settings" : {
                            "IsOptional" : true
                        }
                    }
                ],
                "TargetWrites" : [
                    {
                        "TargetHandle" : "PostProcessOutputColor",
                        "Settings" : {
                            "AttachmentIndex" : 0
                        }
                    }
                ],
                "RenderGraphTextureCommands" : [
                    {
                        "BindingName" : "outputColorCopy",
                        "TargetHandle" : "PostProcessOutputColorCopy",
                        "MakeArrayView" : true
                    },
                    {
                        "BindingName" : "inputColor",
                        "TargetHandle" : "PostProcessInputColor",
                        "MakeArrayView" : true
                    }
                ]
            }
        },
        {
            "ProfilerOverlay" : {
                "Name" : "FrameProfilerOverlay",
                "TargetWrites" : [
                    {
                        "TargetHandle" : "PostProcessOutputColor",
                        "Settings" : {
                            "AttachmentIndex" : 0
                        }
                    }
                ]
            }
        }
    ],
    "Inputs" : [
        {
            "Lane" : "Color",
            "Target" : "PostProcessInputColor",
            "InputOnly" : true
        }
    ],
    "PropertyInheritance" : [
        {
            "Lane" : "Color",
            "Target" : "PostProcessOutputColorCopy"
        }
    ],
    "Outputs" : [
        {
            "Lane" : "Color",
            "Target" : "PostProcessOutputColor"
        }
    ],
    "Operations" : [
        {
            "RenderGraphSpecifyLaneOperation" : {
                "Lane" : "Color",
                "TargetDescription" : {
                    "Format" : "RGBA16Float"
                }
            }
        }
    ]
}
