()
| 1637 | |
| 1638 | #[wasm_bindgen] |
| 1639 | pub fn bloom_enable_postfx() { |
| 1640 | let eng = engine(); |
| 1641 | let w = eng.renderer.width(); |
| 1642 | let h = eng.renderer.height(); |
| 1643 | let fmt = eng.renderer.surface_format(); |
| 1644 | eng.postfx = Some(bloom_shared::postfx::PostFxPipeline::new( |
| 1645 | &eng.renderer.device, w, h, fmt, |
| 1646 | )); |
| 1647 | } |
| 1648 | |
| 1649 | #[wasm_bindgen] |
| 1650 | pub fn bloom_disable_postfx() { |
nothing calls this directly
no test coverage detected