(&mut self, handle: f64, texture_idx: u32)
| 564 | } |
| 565 | |
| 566 | pub fn set_material_metallic_roughness_texture(&mut self, handle: f64, texture_idx: u32) { |
| 567 | if let Some(node) = self.nodes.get_mut(handle) { |
| 568 | node.material.metallic_roughness_texture_idx = texture_idx; |
| 569 | node.mat_dirty = true; |
| 570 | } |
| 571 | } |
| 572 | |
| 573 | pub fn set_material_emissive_texture(&mut self, handle: f64, texture_idx: u32) { |
| 574 | if let Some(node) = self.nodes.get_mut(handle) { |
no test coverage detected