FullscreenPipeline.pass 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. {
  2. "Type": "JsonSerialization",
  3. "Version": 1,
  4. "ClassName": "PassAsset",
  5. "ClassData": {
  6. "PassTemplate": {
  7. "Name": "FullscreenPipeline",
  8. "PassClass": "ParentPass",
  9. "Slots": [
  10. {
  11. "Name": "PipelineOutput",
  12. "SlotType": "InputOutput",
  13. "ScopeAttachmentUsage": "RenderTarget"
  14. }
  15. ],
  16. "PassRequests": [
  17. {
  18. "Name": "FullscreenPass",
  19. "TemplateName": "FullscreenPassTemplate",
  20. "PassData": {
  21. "$type": "FullscreenTrianglePassData",
  22. "ShaderAsset": {
  23. "FilePath": "Shaders/ShaderReloadTest/Temp/Fullscreen.shader"
  24. },
  25. "StencilRef": 1,
  26. "PipelineViewTag": "MainCamera"
  27. }
  28. },
  29. {
  30. "Name": "ImGuiPass",
  31. "TemplateName": "ImGuiPassTemplate",
  32. "Enabled": true,
  33. "Connections": [
  34. {
  35. "LocalSlot": "InputOutput",
  36. "AttachmentRef": {
  37. "Pass": "FullscreenPass",
  38. "Attachment": "Output"
  39. }
  40. }
  41. ],
  42. "PassData": {
  43. "$type": "ImGuiPassData",
  44. "IsDefaultImGui": true
  45. }
  46. },
  47. {
  48. "Name": "CopyToSwapChain",
  49. "TemplateName": "FullscreenCopyTemplate",
  50. "Connections": [
  51. {
  52. "LocalSlot": "Input",
  53. "AttachmentRef": {
  54. "Pass": "ImGuiPass",
  55. "Attachment": "InputOutput"
  56. }
  57. },
  58. {
  59. "LocalSlot": "Output",
  60. "AttachmentRef": {
  61. "Pass": "Parent",
  62. "Attachment": "PipelineOutput"
  63. }
  64. }
  65. ]
  66. }
  67. ]
  68. }
  69. }
  70. }