createWindow(w, h);Create a GLFW window
Arguments
wWindow widthhWindow heightIf no window was created and a setup function was defined, a warning is thrown
function setup()
-- Create the window here
createWindow(600, 600);
end
function draw()
-- draw things
endbackground(r, g, b, a);Clear a background with a color
Arguments
rThe red bytegThe green bytebThe blue byteaThe alpha byte