{ "Type": "JsonSerialization", "Version": 1, "ClassName": "PassAsset", "ClassData": { "PassTemplate": { "Name": "DisplayMapperTemplate", "PassClass": "DisplayMapperPass", "Slots": [ { "Name": "Input", "SlotType": "Input", "ScopeAttachmentUsage": "Shader" }, // SwapChain here is only used to reference the frame height and format { "Name": "SwapChainOutput", "SlotType": "InputOutput" }, { "Name": "Output", "SlotType": "Output", "ScopeAttachmentUsage": "RenderTarget", "LoadStoreAction": { "LoadAction": "DontCare" } } ], "ImageAttachments": [ { "Name": "DisplayMapperOutput", "SizeSource": { "Source": { "Pass": "This", "Attachment": "Input" } }, "FormatSource": { "Pass": "This", "Attachment": "Input" } } ], "Connections": [ { "LocalSlot": "Output", "AttachmentRef": { "Pass": "This", "Attachment": "DisplayMapperOutput" } } ], "FallbackConnections": [ { "Input" : "Input", "Output" : "Output" } ], "PassData": { "$type": "FullscreenTrianglePassData", "ShaderAsset": { "FilePath": "Shaders/PostProcessing/DisplayMapper.shader" } } } } }