Skip to content
Noah Gallo edited this page Mar 9, 2023 · 4 revisions

Window

In every project, the first thing you must create is a window object. Every Window has a Scene associated with it.

In future versions, we intend to create our own callback functionality. For now, however, one can create their own window callbacks using the OpenGL Window callback system and the internal GLFWwindow pointer.

Once you've set up your window and scene, you can call Window.StartApplication() to begin rendering your scene. (Note: Only one Window can be running at a time). This will begin the internal application loop, updating the scene each frame.

While the application is running, you can call Window::main to grab the current running window.

Public Fields

Name Column Column
Left Center Right
align align align

Clone this wiki locally