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

Function bloom_enable_postfx

native/macos/src/lib.rs:2812–2820  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2810
2811#[no_mangle]
2812pub extern "C" fn bloom_enable_postfx() {
2813 let eng = engine();
2814 let w = eng.renderer.width();
2815 let h = eng.renderer.height();
2816 let fmt = eng.renderer.surface_format();
2817 eng.postfx = Some(bloom_shared::postfx::PostFxPipeline::new(
2818 &eng.renderer.device, w, h, fmt,
2819 ));
2820}
2821
2822#[no_mangle]
2823pub 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