SimpleMeshPipeline.pass 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. {
  2. "Type": "JsonSerialization",
  3. "Version": 1,
  4. "ClassName": "PassAsset",
  5. "ClassData": {
  6. "PassTemplate": {
  7. "Name": "SimpleMeshPipelineTemplate",
  8. "PassClass": "ParentPass",
  9. "Slots": [
  10. {
  11. // The Slot name must be exactly "PipelineOutput" because this the Parent Pass that
  12. // Describes a Render Pipeline and the C++ code looks for a PassSlotBinding
  13. // with this name, which will be connected to the SwapChain.
  14. "Name": "PipelineOutput",
  15. "SlotType": "InputOutput"
  16. }
  17. ],
  18. "PassRequests": [
  19. {
  20. "Name": "SimpleMeshPass",
  21. "TemplateName": "SimpleMeshPassTemplate",
  22. "Enabled": true,
  23. "Connections": [
  24. {
  25. "LocalSlot": "LightingOutput",
  26. "AttachmentRef": {
  27. "Pass": "Parent",
  28. "Attachment": "PipelineOutput"
  29. }
  30. }
  31. ]
  32. }
  33. ]
  34. }
  35. }
  36. }