drawSurface
fn
void drawSurface(ref Surface surface, Vec2 position, DrawOptions options = DrawOptions())Draws the surface at the given position with the specified draw options.
Note
Surfaces are uploaded to a GPU atlas every frame they are drawn.