Skip to content

Window Layer

MacaroniJam edited this page Jul 19, 2025 · 3 revisions
  • Even though we are using GLFW, which allows us to use the respective platform API to make the window, we still want to make separate scripts for separate platforms in the future, where we will use stronger dedicated window software for each platform.

  • For layers specifically rendering layers we want to go in an order from 1 to size - 1; however, when dealing with events, we go backwards. This is because we can have a case where we draw a button on the last layer and such we want that button in that layer to be interacted with.

  • The types of layers we can have a stuff like UI layer, Debug layer, a game layer (our root), 3d and 2d layer etc etc.

Clone this wiki locally