Skip to content

The Window Package

Patrick Stephen edited this page Dec 4, 2021 · 1 revision

The window subpackage underneath oak offers a single feature: the Window interface, which corresponds to the oak.Window type. This is the interface exposed on scene.Context objects, and currently it can be guaranteed that this window will be an oak.Window.

This interface exists to allow oak to import scene, and still allow scene.Context objects to refer to the window in use.

Clone this wiki locally