DrawTexture method
Draw a Texture2D
Implementation
@override
void DrawTexture(
TextureD texture,
int posX,
int posY,
ColorD tint,
) => _ffi.DrawTexture(
$.Texture$.Ref1(texture).asNativePointer<TextureC>().ref,
posX,
posY,
$.Color$.Ref1(tint).asNativePointer<ColorC>().ref,
);