(handle: f64, x: f64, y: f64, tint_r: f64, tint_g: f64, tint_b: f64, tint_a: f64)
| 915 | |
| 916 | #[no_mangle] |
| 917 | pub extern "C" fn bloom_draw_texture(handle: f64, x: f64, y: f64, tint_r: f64, tint_g: f64, tint_b: f64, tint_a: f64) { |
| 918 | let eng = engine(); |
| 919 | if let Some(tex) = eng.textures.get(handle) { |
| 920 | let bind_group_idx = tex.bind_group_idx; |
| 921 | eng.renderer.draw_texture(bind_group_idx, x, y, tint_r, tint_g, tint_b, tint_a); |
| 922 | } |
| 923 | } |
| 924 | |
| 925 | #[no_mangle] |
| 926 | pub extern "C" fn bloom_draw_texture_pro( |
nothing calls this directly
no test coverage detected