You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
68 lines
2.1 KiB
Plaintext
68 lines
2.1 KiB
Plaintext
{
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|