RHISamplePipelineXRLeft.pass 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. {
  2. "Type": "JsonSerialization",
  3. "Version": 1,
  4. "ClassName": "PassAsset",
  5. "ClassData": {
  6. "PassTemplate": {
  7. "Name": "RHISamplePipelineXRLeftTemplate",
  8. "PassClass": "ParentPass",
  9. "Slots": [
  10. {
  11. "Name": "SwapChainOutput",
  12. "SlotType": "InputOutput"
  13. }
  14. ],
  15. "PassData": {
  16. "$type": "PassData",
  17. "PipelineGlobalConnections": [
  18. {
  19. "GlobalName": "SwapChainOutput",
  20. "Slot": "SwapChainOutput"
  21. }
  22. ]
  23. },
  24. "PassRequests": [
  25. {
  26. "Name": "RHISamplePass",
  27. "TemplateName": "RHISamplePassTemplate",
  28. "Enabled": true,
  29. "ExecuteAfter": [
  30. "BeginXRPass"
  31. ]
  32. },
  33. {
  34. "Name": "ImGuiPass",
  35. "TemplateName": "ImGuiPassTemplate",
  36. "Enabled": true,
  37. "Connections": [
  38. {
  39. "LocalSlot": "InputOutput",
  40. "AttachmentRef": {
  41. "Pass": "RHISamplePass",
  42. "Attachment": "Output"
  43. }
  44. }
  45. ],
  46. "PassData": {
  47. "$type": "ImGuiPassData",
  48. "IsDefaultImGui": true
  49. }
  50. },
  51. {
  52. "Name": "CopyToSwapChain",
  53. "TemplateName": "FullscreenCopyTemplate",
  54. "Connections": [
  55. {
  56. "LocalSlot": "Input",
  57. "AttachmentRef": {
  58. "Pass": "ImGuiPass",
  59. "Attachment": "InputOutput"
  60. }
  61. },
  62. {
  63. "LocalSlot": "Output",
  64. "AttachmentRef": {
  65. "Pass": "Parent",
  66. "Attachment": "SwapChainOutput"
  67. }
  68. }
  69. ]
  70. }
  71. ]
  72. }
  73. }
  74. }