Get the default view for a transient.
(&self, id: TransientId)
| 228 | |
| 229 | /// Get the default view for a transient. |
| 230 | pub fn view(&self, id: TransientId) -> Option<&wgpu::TextureView> { |
| 231 | self.slots.iter().find(|s| s.id == id.0).map(|s| &s.view) |
| 232 | } |
| 233 | |
| 234 | /// Frame-end book-keeping. Currently does nothing because |
| 235 | /// `acquire` / `release` are the only lifecycle points; kept as |
no test coverage detected