function WindowMode(visible, fullscreen, resizable, borderless, highDPI)

Returns a bitmask of the combined window flags that can be used in OpenWindow() to set the mode for the window.

Each flag is a boolean that determines whether or not to set that flag in the mask.

Note: For most use cases, one of the following will work

Window

mode = WindowMode(10000) 


Fullscreen

mode = WindowMode(11000) 


Related: OpenWindow GetWindowMode