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

Function bloom_enable_postfx

native/linux/src/lib.rs:2161–2169  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2159
2160#[no_mangle]
2161pub extern "C" fn bloom_enable_postfx() {
2162 let eng = engine();
2163 let w = eng.renderer.width();
2164 let h = eng.renderer.height();
2165 let fmt = eng.renderer.surface_format();
2166 eng.postfx = Some(bloom_shared::postfx::PostFxPipeline::new(
2167 &eng.renderer.device, w, h, fmt,
2168 ));
2169}
2170
2171#[no_mangle]
2172pub extern "C" fn bloom_disable_postfx() {

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