|
void | OnBeforeSceneLoad (const Scene &) override |
| Called on registered modules prior to loading a new scene. More...
|
|
auto | GetDimensions () const noexcept -> const Vector2 & |
| Get the dimensions of the entire window.
|
|
auto | GetScreenExtent () const noexcept -> const Vector2 & |
| Get the dimensions of the renderable window region.
|
|
auto | GetContentScale () const noexcept -> const Vector2 & |
| Get the ratio between the current DPI and the platform's default DPI.
|
|
auto | GetWindowHandle () const noexcept -> GLFWwindow * |
| Get the GLFW window handle.
|
|
auto | OnResize () noexcept -> Signal< const Vector2 &, bool > & |
| Get the Signal for window resize events.
|
|
auto | OnViewportResize () noexcept -> Signal< const Viewport & > & |
| Get the Signal for viewport resize events.
|
|
virtual void | SetWindow (WindowInfo windowInfo)=0 |
| Set the window for the module.
|
|
virtual void | SetViewport (const Viewport &viewport)=0 |
| Set the dimensions and position of the renderable window. Values must be between [0.0f and 1.0f]. More...
|
|
virtual void | ProcessSystemMessages ()=0 |
| Process window and input events. More...
|
|
| Module (size_t id=0) noexcept |
| Constructor for the Module interface. More...
|
|
auto | Id () const noexcept |
| Get the module's unique id.
|
|
virtual void | OnBuildTaskGraph (task::UpdateTasks &, task::RenderTasks &) |
| Called on registered modules when the task graphs are constructed.
|
|
virtual void | OnBeforeSceneLoad (const Scene &) |
| Called on registered modules prior to loading a new scene. More...
|
|
virtual void | OnBeforeSceneFragmentLoad () |
| Called on registered modules immediately before loading a SceneFragment file.
|
|
virtual void | OnAfterSceneFragmentLoad () |
| Called on registered modules immediately after loading a SceneFragment file.
|
|
virtual void | Clear () noexcept |
| Called on registered modules prior to clearing the Registry. This includes Scene::Unload() and NcEngine::Shutdown().
|
|