-
Notifications
You must be signed in to change notification settings - Fork 2
raylib.DrawTextureV
JoeStrout edited this page Apr 29, 2026
·
2 revisions
Draw a texture with position defined as Vector2
| Parameter | Default Value | Note |
|---|---|---|
| texture | ||
| position | [0, 0] | |
| tint | WHITE |
None.
tex = raylib.LoadTexture("sprite.png")
raylib.BeginDrawing
raylib.ClearBackground raylib.BLACK
raylib.DrawTextureV tex, [100, 80], raylib.WHITE
raylib.EndDrawing
raylib.UnloadTexture tex