(handle: f64, x: f64, y: f64, r: f64, g: f64, b: f64, a: f64)
| 1833 | |
| 1834 | #[no_mangle] |
| 1835 | pub extern "C" fn bloom_draw_texture(handle: f64, x: f64, y: f64, r: f64, g: f64, b: f64, a: f64) { |
| 1836 | let eng = engine(); |
| 1837 | if let Some(tex) = eng.textures.get(handle) { |
| 1838 | let idx = tex.bind_group_idx; |
| 1839 | eng.renderer.draw_texture(idx, x, y, r, g, b, a); |
| 1840 | } |
| 1841 | } |
| 1842 | |
| 1843 | #[no_mangle] |
| 1844 | pub extern "C" fn bloom_draw_texture_pro( |
nothing calls this directly
no test coverage detected