drawTexture function

void drawTexture(
  1. Texture2D texture,
  2. int posX,
  3. int posY,
  4. Color tint,
)

Draw a Texture2D.

Implementation

void drawTexture(Texture2D texture, int posX, int posY, Color tint) {
  return library.DrawTexture(texture.ref, posX, posY, tint.ref);
}