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

Function bloom_set_fog

native/windows/src/lib.rs:1954–1959  ·  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

1952
1953#[no_mangle]
1954pub extern "C" fn bloom_set_fog(r: f64, g: f64, b: f64, density: f64, height_ref: f64, height_falloff: f64) {
1955 let r_ = engine();
1956 r_.renderer.set_fog_color(r as f32, g as f32, b as f32);
1957 r_.renderer.set_fog_density(density as f32);
1958 r_.renderer.set_fog_height_falloff(height_ref as f32, height_falloff as f32);
1959}
1960
1961#[no_mangle]
1962pub 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