(
texture: Texture, source: Rect, dest: Rect,
origin: { x: number; y: number }, rotation: number, tint: Color,
)
| 45 | } |
| 46 | |
| 47 | export function drawTexturePro( |
| 48 | texture: Texture, source: Rect, dest: Rect, |
| 49 | origin: { x: number; y: number }, rotation: number, tint: Color, |
| 50 | ): void { |
| 51 | bloom_draw_texture_pro( |
| 52 | texture.id, |
| 53 | source.x, source.y, source.width, source.height, |
| 54 | dest.x, dest.y, dest.width, dest.height, |
| 55 | origin.x, origin.y, rotation, |
| 56 | tint.r, tint.g, tint.b, tint.a, |
| 57 | ); |
| 58 | } |
| 59 | |
| 60 | // Raw variant: takes primitives directly. Workaround for aarch64 Android |
| 61 | // Perry miscompilation where obj.field reads feeding f64 FFI args arrive as NaN. |
nothing calls this directly
no test coverage detected