(handle: f64, x: f64, y: f64, r: f64, g: f64, b: f64, a: f64)
| 818 | |
| 819 | #[no_mangle] |
| 820 | pub extern "C" fn bloom_draw_texture(handle: f64, x: f64, y: f64, r: f64, g: f64, b: f64, a: f64) { |
| 821 | let eng = engine(); |
| 822 | if let Some(tex) = eng.textures.get(handle) { |
| 823 | let idx = tex.bind_group_idx; |
| 824 | eng.renderer.draw_texture(idx, x, y, r, g, b, a); |
| 825 | } |
| 826 | } |
| 827 | |
| 828 | #[no_mangle] |
| 829 | pub extern "C" fn bloom_draw_texture_rec(handle: f64, src_x: f64, src_y: f64, src_w: f64, src_h: f64, dst_x: f64, dst_y: f64, r: f64, g: f64, b: f64, a: f64) { |
nothing calls this directly
no test coverage detected