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

Function bloom_enable_postfx

native/ios/src/lib.rs:2827–2835  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2825
2826#[no_mangle]
2827pub extern "C" fn bloom_enable_postfx() {
2828 let eng = engine();
2829 let w = eng.renderer.width();
2830 let h = eng.renderer.height();
2831 let fmt = eng.renderer.surface_format();
2832 eng.postfx = Some(bloom_shared::postfx::PostFxPipeline::new(
2833 &eng.renderer.device, w, h, fmt,
2834 ));
2835}
2836
2837#[no_mangle]
2838pub extern "C" fn bloom_disable_postfx() {

Callers 2

enablePostFxFunction · 0.50
main.tsFile · 0.50

Calls 4

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

Tested by

no test coverage detected