DrawTexture method

  1. @override
void DrawTexture(
  1. Texture texture,
  2. int posX,
  3. int posY,
  4. Color tint,
)
override

Draw a Texture2D

Implementation

@override
void DrawTexture(
  Texture texture,
  int posX,
  int posY,
  Color tint,
) => _ffi.DrawTexture(
  Texture$.Ref1(texture).asNativePointer<TextureC>().ref,
  posX,
  posY,
  Color$.Ref1(tint).asNativePointer<ColorC>().ref,
);