(texture: Texture, x: number, y: number, tint: Color)
| 37 | } |
| 38 | |
| 39 | export function drawTexture(texture: Texture, x: number, y: number, tint: Color): void { |
| 40 | bloom_draw_texture(texture.id, x, y, tint.r, tint.g, tint.b, tint.a); |
| 41 | } |
| 42 | |
| 43 | export function drawTextureRec(texture: Texture, source: Rect, position: { x: number; y: number }, tint: Color): void { |
| 44 | bloom_draw_texture_rec(texture.id, source.x, source.y, source.width, source.height, position.x, position.y, tint.r, tint.g, tint.b, tint.a); |
nothing calls this directly
no test coverage detected