(handle: f64, x: f64, y: f64, r: f64, g: f64, b: f64, a: f64)
| 581 | |
| 582 | #[no_mangle] |
| 583 | pub extern "C" fn bloom_draw_texture(handle: f64, x: f64, y: f64, r: f64, g: f64, b: f64, a: f64) { |
| 584 | let eng = engine(); |
| 585 | if let Some(tex) = eng.textures.get(handle) { |
| 586 | let idx = tex.bind_group_idx; |
| 587 | eng.renderer.draw_texture(idx, x, y, r, g, b, a); |
| 588 | } |
| 589 | } |
| 590 | |
| 591 | #[no_mangle] |
| 592 | 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