Wrapper around GLFWwindow struct.

Inherits from

  • Object (base class)

Constructors

Name Description
this Creates window

Fields

Type Name Description
GLFWwindow* window

Methods

Name Description
destroy Destroys window
focus Gives input focus to window.
getAttrib
getClipboard
getCursorPosition
getFramebufferSize
getFrameSize
getInputMode
getKey
getMonitor
getMouseButton
getPosition
getSize
getUserPointer
hide Hides window.
iconify Minimizes(Iconifiezes) current window.
makeContextCurrent After creation of context this makes context current.
maximize Maximizes window.
ptr It can be used to direct access to glfw3 functions.
restore Restores iconified window.
setAspectRatio
setCharCallback Callbacks. More information in GLFW3 documentation.
setCharModsCallback Callbacks. More information in GLFW3 documentation.
setClipboard Sets clipboard text.
setCloseCallback Callbacks. More information in GLFW3 documentation.
setCursor Sets cursor.
setCursorEnterCallback Callbacks. More information in GLFW3 documentation.
setCursorPosCallback Callbacks. More information in GLFW3 documentation.
setCursorPosition Sets cursor position.
setDropCallback Callbacks. More information in GLFW3 documentation.
setFocusCallback Callbacks. More information in GLFW3 documentation.
setFramebufferSizeCallback Callbacks. More information in GLFW3 documentation.
setIcon Sets window icon
setIconifyCallback Callbacks. More information in GLFW3 documentation.
setInputMode Sets input mode.
setKeyCallback Callbacks. More information in GLFW3 documentation.
setMonitor Makes window fullscreen on specified monitor.
setMouseButtonCallback Callbacks. More information in GLFW3 documentation.
setPosition Sets position of window
setPositionCallback Callbacks. More information in GLFW3 documentation.
setRefreshCallback Callbacks. More information in GLFW3 documentation.
setScrollCallback Callbacks. More information in GLFW3 documentation.
setShouldClose Sets shouldClose
setSize Sets size of window
setSizeCallback Callbacks. More information in GLFW3 documentation.
setSizeLimits Sets size limits of window
setTitle Sets window title
setUserPointer Sets user pointer for the window.
shouldClose
show Shows window.
swapBuffers Swaps front and back buffer.

Aliases

Name Description
__xdtor