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

Function bloom_enable_postfx

native/android/src/lib.rs:1840–1848  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1838
1839#[no_mangle]
1840pub extern "C" fn bloom_enable_postfx() {
1841 let eng = engine();
1842 let w = eng.renderer.width();
1843 let h = eng.renderer.height();
1844 let fmt = eng.renderer.surface_format();
1845 eng.postfx = Some(bloom_shared::postfx::PostFxPipeline::new(
1846 &eng.renderer.device, w, h, fmt,
1847 ));
1848}
1849
1850#[no_mangle]
1851pub extern "C" fn bloom_enable_shadows() {

Callers

nothing calls this directly

Calls 4

surface_formatMethod · 0.80
engineFunction · 0.70
widthMethod · 0.45
heightMethod · 0.45

Tested by

no test coverage detected