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

Function bloom_set_ambient_light

native/macos/src/lib.rs:1124–1126  ·  view source on GitHub ↗
(r: f64, g: f64, b: f64, intensity: f64)

Source from the content-addressed store, hash-verified

1122
1123#[no_mangle]
1124pub extern "C" fn bloom_set_ambient_light(r: f64, g: f64, b: f64, intensity: f64) {
1125 engine().renderer.set_ambient_light(r, g, b, intensity);
1126}
1127
1128#[no_mangle]
1129pub extern "C" fn bloom_set_directional_light(dx: f64, dy: f64, dz: f64, r: f64, g: f64, b: f64, intensity: f64) {

Callers

nothing calls this directly

Calls 2

set_ambient_lightMethod · 0.80
engineFunction · 0.70

Tested by

no test coverage detected