UgWindow
GLFW window creation and management
It
Window object
struct It {
GLFWwindow* handle;
const I8* name;
};update
Poll GLFW events — call once per frame
U0 update();destroy
Destroy the window and free GLFW resources
U0 destroy(UgWindow.It& window);Parameters
window— The window to destroy
isMinimized
Check if the window is currently minimized
U8 isMinimized(UgWindow.It& window);Parameters
window— The window to check
Returns — Non-zero if the window is minimized
isOpen
Check if the window is still open
U8 isOpen(UgWindow.It& window);Parameters
window— The window to check
Returns — Non-zero if the window has not been closed
create
Create and open a new window
UgWindow.It create(const I8* name);Parameters
name— Window title
Returns — Initialized window object