SimpleMeshPass.pass 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. {
  2. "Type": "JsonSerialization",
  3. "Version": 1,
  4. "ClassName": "PassAsset",
  5. "ClassData": {
  6. "PassTemplate": {
  7. "Name": "SimpleMeshPassTemplate",
  8. "PassClass": "RasterPass",
  9. "Slots": [
  10. {
  11. "Name": "DepthOutput",
  12. "SlotType": "Output",
  13. "ScopeAttachmentUsage": "DepthStencil",
  14. "LoadStoreAction": {
  15. "ClearValue": {
  16. "Type": "DepthStencil"
  17. },
  18. "LoadAction": "Clear",
  19. "LoadActionStencil": "Clear"
  20. }
  21. },
  22. {
  23. "Name": "LightingOutput",
  24. "SlotType": "Output",
  25. "ScopeAttachmentUsage": "RenderTarget",
  26. "LoadStoreAction": {
  27. "ClearValue": {
  28. "Value": [
  29. 0.7,
  30. 0.0,
  31. 0.0,
  32. 0.0
  33. ]
  34. },
  35. "LoadAction": "Clear"
  36. }
  37. }
  38. ],
  39. "ImageAttachments": [
  40. {
  41. "Name": "DepthAttachment",
  42. "SizeSource": {
  43. "Source": {
  44. "Pass": "Parent",
  45. "Attachment": "PipelineOutput"
  46. }
  47. },
  48. "ImageDescriptor": {
  49. "Format": "D32_FLOAT_S8X24_UINT",
  50. "SharedQueueMask": "Graphics"
  51. }
  52. }
  53. ],
  54. "Connections": [
  55. {
  56. "LocalSlot": "DepthOutput",
  57. "AttachmentRef": {
  58. "Pass": "This",
  59. "Attachment": "DepthAttachment"
  60. }
  61. }
  62. ],
  63. "PassData": {
  64. "$type": "RasterPassData",
  65. "DrawListTag": "simplepass",
  66. "BindViewSrg": true
  67. }
  68. }
  69. }
  70. }