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

Function bloom_set_fog

native/linux/src/lib.rs:2595–2600  ·  view source on GitHub ↗
(r: f64, g: f64, b: f64, density: f64, height_ref: f64, height_falloff: f64)

Source from the content-addressed store, hash-verified

2593
2594#[no_mangle]
2595pub extern "C" fn bloom_set_fog(r: f64, g: f64, b: f64, density: f64, height_ref: f64, height_falloff: f64) {
2596 let r_ = engine();
2597 r_.renderer.set_fog_color(r as f32, g as f32, b as f32);
2598 r_.renderer.set_fog_density(density as f32);
2599 r_.renderer.set_fog_height_falloff(height_ref as f32, height_falloff as f32);
2600}
2601
2602#[no_mangle]
2603pub extern "C" fn bloom_set_chromatic_aberration(strength: f64) {

Callers

nothing calls this directly

Calls 4

set_fog_colorMethod · 0.80
set_fog_densityMethod · 0.80
engineFunction · 0.70

Tested by

no test coverage detected