(
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,
tint_r: f64, tint_g: f64
| 643 | |
| 644 | #[wasm_bindgen] |
| 645 | pub fn bloom_draw_texture_pro( |
| 646 | handle: f64, |
| 647 | src_x: f64, src_y: f64, src_w: f64, src_h: f64, |
| 648 | dst_x: f64, dst_y: f64, dst_w: f64, dst_h: f64, |
| 649 | origin_x: f64, origin_y: f64, rotation: f64, |
| 650 | tint_r: f64, tint_g: f64, tint_b: f64, tint_a: f64, |
| 651 | ) { |
| 652 | let eng = engine(); |
| 653 | if let Some(tex) = eng.textures.get(handle) { |
| 654 | let bind_group_idx = tex.bind_group_idx; |
| 655 | eng.renderer.draw_texture_pro( |
| 656 | bind_group_idx, |
| 657 | src_x, src_y, src_w, src_h, |
| 658 | dst_x, dst_y, dst_w, dst_h, |
| 659 | origin_x, origin_y, rotation, |
| 660 | tint_r, tint_g, tint_b, tint_a, |
| 661 | ); |
| 662 | } |
| 663 | } |
| 664 | |
| 665 | #[wasm_bindgen] |
| 666 | pub fn bloom_draw_texture_rec( |
nothing calls this directly
no test coverage detected