DrawTextureRec method
void
DrawTextureRec(
- TextureD texture,
- RectangleD source,
- Vector2D position,
- ColorD tint,
override
Draw a part of a texture defined by a rectangle
Implementation
@override
void DrawTextureRec(
TextureD texture,
RectangleD source,
Vector2D position,
ColorD 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,
);