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

Method set_material_normal_texture

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

Source from the content-addressed store, hash-verified

557 }
558
559 pub fn set_material_normal_texture(&mut self, handle: f64, texture_idx: u32) {
560 if let Some(node) = self.nodes.get_mut(handle) {
561 node.material.normal_texture_idx = texture_idx;
562 node.mat_dirty = true;
563 }
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) {

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