Module function reference
begin_frame
A reference entry for begin_frame
begin_frame (number window, colour background) ⇒ boolean
YASS
Graphics::begin_frame($window, "#101018") Graphics::draw_rectangle($window, 0, 0, 0.5, 0.5, "#517") Graphics::end_frame($window)
Starts a new frame and clears it with the specified background colour.