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

Function bloom_scene_set_material_pbr

native/android/src/lib.rs:2167–2169  ·  view source on GitHub ↗
(handle: f64, roughness: f64, metalness: f64)

Source from the content-addressed store, hash-verified

2165
2166#[no_mangle]
2167pub extern "C" fn bloom_scene_set_material_pbr(handle: f64, roughness: f64, metalness: f64) {
2168 engine().scene.set_material_pbr(handle, roughness as f32, metalness as f32);
2169}
2170
2171#[no_mangle]
2172pub extern "C" fn bloom_scene_set_material_texture(handle: f64, texture_idx: f64) {

Callers

nothing calls this directly

Calls 2

set_material_pbrMethod · 0.80
engineFunction · 0.70

Tested by

no test coverage detected