(handle: f64, x: f64, y: f64, r: f64, g: f64, b: f64, a: f64)
| 925 | |
| 926 | #[no_mangle] |
| 927 | pub extern "C" fn bloom_draw_texture(handle: f64, x: f64, y: f64, r: f64, g: f64, b: f64, a: f64) { |
| 928 | let eng = engine(); |
| 929 | if let Some(tex) = eng.textures.get(handle) { |
| 930 | let idx = tex.bind_group_idx; |
| 931 | eng.renderer.draw_texture(idx, x, y, r, g, b, a); |
| 932 | } |
| 933 | } |
| 934 | |
| 935 | #[no_mangle] |
| 936 | pub extern "C" fn bloom_draw_texture_pro( |
no test coverage detected