MCPcopy Create free account
hub / github.com/Bloom-Engine/engine / set_material_metallic_roughness_texture

Method set_material_metallic_roughness_texture

native/shared/src/scene.rs:566–571  ·  view source on GitHub ↗
(&mut self, handle: f64, texture_idx: u32)

Source from the content-addressed store, hash-verified

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) {

Callers 5

bloom_scene_attach_modelFunction · 0.80
bloom_scene_attach_modelFunction · 0.80
bloom_scene_attach_modelFunction · 0.80
bloom_scene_attach_modelFunction · 0.80
bloom_scene_attach_modelFunction · 0.80

Calls 1

get_mutMethod · 0.80

Tested by

no test coverage detected