DrawTexture method

void DrawTexture(
  1. Texture2DD texture,
  2. num posX,
  3. num posY,
  4. ColorD tint,
)

Implementation

void DrawTexture(
  Texture2DD texture,
  num posX,
  num posY,
  ColorD tint,
) => run(
  () => 'DrawTexture($texture, $posX, $posY, $tint)',
  () => rl.Core.DrawTexture(
    _refTexture1(texture).ref,
    posX.toInt(),
    posY.toInt(),
    _refColor1(tint).ref,
  ),
);