Skip to content

raylib.DrawTextureV

JoeStrout edited this page Nov 16, 2026 · 3 revisions

Draw a texture with position defined as a 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