(self, backend: &mut WebGL2Backend)
| 272 | } |
| 273 | |
| 274 | pub fn destroy(self, backend: &mut WebGL2Backend) { |
| 275 | self.sprite_batch.destroy(backend); |
| 276 | backend.destroy_shader(self.default_shader); |
| 277 | for (_, handle) in self.custom_shaders { |
| 278 | backend.destroy_shader(handle); |
| 279 | } |
| 280 | } |
| 281 | } |
nothing calls this directly
no test coverage detected