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(
    rl.Temp.Texture$.Ref1(texture).ref,
    posX.toInt(),
    posY.toInt(),
    rl.Temp.Color$.Ref1(tint).ref,
  ),
);