(handle: f64, x: f64, y: f64, tint_r: f64, tint_g: f64, tint_b: f64, tint_a: f64)
| 634 | |
| 635 | #[wasm_bindgen] |
| 636 | pub fn bloom_draw_texture(handle: f64, x: f64, y: f64, tint_r: f64, tint_g: f64, tint_b: f64, tint_a: f64) { |
| 637 | let eng = engine(); |
| 638 | if let Some(tex) = eng.textures.get(handle) { |
| 639 | let bind_group_idx = tex.bind_group_idx; |
| 640 | eng.renderer.draw_texture(bind_group_idx, x, y, tint_r, tint_g, tint_b, tint_a); |
| 641 | } |
| 642 | } |
| 643 | |
| 644 | #[wasm_bindgen] |
| 645 | pub fn bloom_draw_texture_pro( |
nothing calls this directly
no test coverage detected