Handbook
Glossary
draw-texture-rec ( texture source position tint -- )
Vocabulary
raylib
Inputs
texture
a
Texture2D
source
a
Rectangle
position
a
Vector2
tint
a
Color
Outputs
None
Word description
Draw a part of a texture defined by a rectangle
Definition
USING:
alien.c-types
alien.syntax
;
IN:
raylib
LIBRARY:
raylib
FUNCTION-ALIAS:
draw-texture-rec
void
DrawTextureRec
(
Texture2D
texture,
Rectangle
source,
Vector2
position,
Color
tint )