(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)
| 974 | |
| 975 | #[no_mangle] |
| 976 | 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) { |
| 977 | let eng = engine(); |
| 978 | if let Some(tex) = eng.textures.get(handle) { |
| 979 | let idx = tex.bind_group_idx; |
| 980 | eng.renderer.draw_texture_rec(idx, src_x, src_y, src_w, src_h, dst_x, dst_y, r, g, b, a); |
| 981 | } |
| 982 | } |
| 983 | |
| 984 | #[no_mangle] |
| 985 | pub extern "C" fn bloom_draw_texture_pro(handle: f64, src_x: f64, src_y: f64, src_w: f64, src_h: f64, dst_x: f64, dst_y: f64, dst_w: f64, dst_h: f64, origin_x: f64, origin_y: f64, rotation: f64, r: f64, g: f64, b: f64, a: f64) { |
nothing calls this directly
no test coverage detected