DiffuseProbeGridQueryFullscreen.pass 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "Type": "JsonSerialization",
  3. "Version": 1,
  4. "ClassName": "PassAsset",
  5. "ClassData":
  6. {
  7. "PassTemplate": {
  8. "Name": "DiffuseProbeGridQueryFullscreenPassTemplate",
  9. "PassClass": "DiffuseProbeGridQueryFullscreenPass",
  10. "Slots": [
  11. {
  12. "Name": "PositionInput",
  13. "SlotType": "InputOutput",
  14. "ShaderInputName": "m_queryPositions",
  15. "ScopeAttachmentUsage": "Shader"
  16. },
  17. {
  18. "Name": "DirectionInput",
  19. "SlotType": "InputOutput",
  20. "ShaderInputName": "m_queryDirections",
  21. "ScopeAttachmentUsage": "Shader"
  22. },
  23. {
  24. "Name": "Output",
  25. "SlotType": "Output",
  26. "ShaderInputName": "m_output",
  27. "ScopeAttachmentUsage": "Shader"
  28. }
  29. ],
  30. "ImageAttachments": [
  31. {
  32. "Name": "OutputImage",
  33. "SizeSource": {
  34. "Source": {
  35. "Pass": "This",
  36. "Attachment": "PositionInput"
  37. }
  38. },
  39. "ImageDescriptor": {
  40. "Format": "R16G16B16A16_FLOAT",
  41. "MultisampleState": {
  42. "samples": 1
  43. },
  44. "SharedQueueMask": "Graphics"
  45. }
  46. }
  47. ],
  48. "Connections": [
  49. {
  50. "LocalSlot": "Output",
  51. "AttachmentRef": {
  52. "Pass": "This",
  53. "Attachment": "OutputImage"
  54. }
  55. }
  56. ]
  57. }
  58. }
  59. }