Appearance
Render class
Render.drawModule
Renders a hud module with text like fps counter (should only be called in "onDrawEvent")
Arguments:
string: text
Render.uploadImage
Uploads texture to the game
Arguments:
string: imageNameunsigned char *: pDatasize_t: size
Render.drawText
Renders text on a screen
Arguments:
int: xint: yColor: colorstring: text
Render.drawRect
Renders rect on screen
Arguments:
int: xint: yint: widthint: heightColor: color
Render.drawRectRounded
Renders rect on screen
Arguments:
int: xint: yint: widthint: heightColor: colorfloat: rounding