DrawTextureRec method
void
DrawTextureRec()
override
Draw a part of a texture defined by a rectangle
Implementation
@override
void DrawTextureRec(
Texture texture,
Rectangle source,
Vector2 position,
Color tint,
) => _ffi.DrawTextureRec(
Texture$.Ref1(texture).asNativePointer<TextureC>().ref,
Rectangle$.Ref1(source).asNativePointer<RectangleC>().ref,
Vector2$.Ref1(position).asNativePointer<Vector2C>().ref,
Color$.Ref1(tint).asNativePointer<ColorC>().ref,
);