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

Method set_material_emissive_texture

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

Source from the content-addressed store, hash-verified

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) {
575 node.material.emissive_texture_idx = texture_idx;
576 node.mat_dirty = true;
577 }
578 }
579
580 pub fn set_material_emissive_factor(&mut self, handle: f64, r: f32, g: f32, b: f32) {
581 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