Skip to content

raylib.DrawTextureV

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Draw a texture with position defined as Vector2

Parameters

Parameter Default Value Note
texture
position [0, 0]
tint WHITE

Return value

None.

Notes

Example

tex = raylib.LoadTexture("sprite.png")
raylib.BeginDrawing
  raylib.ClearBackground raylib.BLACK
  raylib.DrawTextureV tex, [100, 80], raylib.WHITE
raylib.EndDrawing
raylib.UnloadTexture tex

Clone this wiki locally