RHISamplePass.pass 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. {
  2. "Type": "JsonSerialization",
  3. "Version": 1,
  4. "ClassName": "PassAsset",
  5. "ClassData": {
  6. "PassTemplate": {
  7. "Name": "RHISamplePassTemplate",
  8. "PassClass": "RHISamplePass",
  9. "Slots": [
  10. {
  11. "Name": "Output",
  12. "SlotType": "Output",
  13. "ScopeAttachmentUsage": "RenderTarget",
  14. "LoadStoreAction": {
  15. "ClearValue": {
  16. "Value": [
  17. 0.5,
  18. 0.5,
  19. 0.5,
  20. {}
  21. ]
  22. },
  23. "LoadAction": "Clear"
  24. }
  25. }
  26. ],
  27. "ImageAttachments": [
  28. {
  29. "Name": "OutputImage",
  30. "SizeSource": {
  31. "Source": {
  32. "Pass": "Parent",
  33. "Attachment": "PipelineOutput"
  34. }
  35. },
  36. "ImageDescriptor": {
  37. "Format": "R8G8B8A8_UNORM",
  38. "SharedQueueMask": "Graphics"
  39. }
  40. }
  41. ],
  42. "Connections": [
  43. {
  44. "LocalSlot": "Output",
  45. "AttachmentRef": {
  46. "Pass": "This",
  47. "Attachment": "OutputImage"
  48. }
  49. }
  50. ]
  51. }
  52. }
  53. }