Files
o3de/Gems/Atom/Feature/Common/Assets/Passes/MeshMotionVector.pass
T
2021-03-25 13:57:57 -07:00

94 lines
3.1 KiB
Plaintext

{
"Type": "JsonSerialization",
"Version": 1,
"ClassName": "PassAsset",
"ClassData": {
"PassTemplate": {
"Name": "MeshMotionVectorPassTemplate",
"PassClass": "RasterPass",
"Slots": [
// Inputs...
{
"Name": "SkinnedMeshes",
"SlotType": "Input",
"ScopeAttachmentUsage": "InputAssembly"
},
// Outputs...
{
"Name": "Output",
"SlotType": "Output",
"ScopeAttachmentUsage": "RenderTarget",
"LoadStoreAction": {
"ClearValue": {
"Value": [
0.0,
0.0,
0.0,
{}
]
},
"LoadAction": "Clear"
}
},
{
"Name": "OutputDepthStencil",
"SlotType": "Output",
"ScopeAttachmentUsage": "DepthStencil",
"LoadStoreAction": {
"ClearValue": {
"Type": "DepthStencil"
},
"LoadAction": "Clear",
"LoadActionStencil": "Clear",
"StoreAction": "DontCare",
"StoreActionStencil": "DontCare"
}
}
],
"ImageAttachments": [
{
"Name": "MotionBuffer",
"SizeSource": {
"Source": {
"Pass": "Parent",
"Attachment": "SwapChainOutput"
}
},
"ImageDescriptor": {
"Format": "R16G16_FLOAT",
"SharedQueueMask": "Graphics"
}
},
{
"Name": "DepthStencil",
"SizeSource": {
"Source": {
"Pass": "Parent",
"Attachment": "SwapChainOutput"
}
},
"ImageDescriptor": {
"Format": "D32_FLOAT_S8X24_UINT",
"SharedQueueMask": "Graphics"
}
}
],
"Connections": [
{
"LocalSlot": "Output",
"AttachmentRef": {
"Pass": "This",
"Attachment": "MotionBuffer"
}
},
{
"LocalSlot": "OutputDepthStencil",
"AttachmentRef": {
"Pass": "This",
"Attachment": "DepthStencil"
}
}
]
}
}
}