(target: &TextureView)
| 68 | load: LoadOp<Color>, |
| 69 | ) -> RenderPassColorAttachment<'a> { |
| 70 | RenderPassColorAttachment { |
| 71 | view: &targets.msaa_view, |
| 72 | resolve_target: Some(&targets.resolved_view), |
| 73 | ops: Operations { |
| 74 | load, |
| 75 | store: StoreOp::Store, |
| 76 | }, |
| 77 | depth_slice: None, |
| 78 | } |
| 79 | } |
| 80 | |
| 81 | fn target_attachment(target: &TextureView) -> RenderPassColorAttachment<'_> { |
| 82 | RenderPassColorAttachment { |
| 83 | view: target, |