ReadbackPreview.pass 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. {
  2. "Type": "JsonSerialization",
  3. "Version": 1,
  4. "ClassName": "PassAsset",
  5. "ClassData": {
  6. "PassTemplate": {
  7. "Name": "ReadbackPreviewPassTemplate",
  8. "PassClass": "FullScreenTriangle",
  9. "Slots": [
  10. {
  11. "Name": "Output",
  12. "SlotType": "InputOutput",
  13. "ScopeAttachmentUsage": "RenderTarget",
  14. "LoadStoreAction": {
  15. "ClearValue": {
  16. "Value": [
  17. 0.0,
  18. 0.0,
  19. 0.0,
  20. 0.0
  21. ]
  22. },
  23. "LoadAction": "Clear"
  24. }
  25. },
  26. {
  27. "Name": "Input",
  28. "SlotType": "Input",
  29. "ScopeAttachmentUsage": "Shader",
  30. "ShaderInputName": "m_texture"
  31. }
  32. ],
  33. "ImageAttachments": [
  34. {
  35. "Name": "PreviewImage",
  36. "Lifetime": "Imported"
  37. }
  38. ]
  39. }
  40. }
  41. }