(&self, id: MaterialID)
| 784 | #[inline] |
| 785 | fn remove_decoded_texture_state(&mut self, id: TextureID) { |
| 786 | if let Some(old) = self.decoded_texture_by_id.remove(&id) { |
| 787 | self.decoded_texture_bytes = self.decoded_texture_bytes.saturating_sub(old.rgba.len()); |
| 788 | } |
| 789 | self.decoded_texture_pinned.remove(&id); |
| 790 | self.decoded_texture_stamp.remove(&id); |
| 791 | self.texture_dims_revision = self.texture_dims_revision.wrapping_add(1); |
no test coverage detected