drawSurfaceArea

fnvoid drawSurfaceArea(ref Surface surface, Rect area, Vec2 position, DrawOptions options = DrawOptions())

Draws a portion of the specified surface at the given position with the specified draw options.

Note

Surfaces are uploaded to a GPU atlas every frame they are drawn.