Engine » Window module

Creates and handles the lifecycle of a window.

Initially sets ShouldQuit to false, and sets it to true only when the window is closed.

Settings

  • window.title - the window's title (default: Cubos).
  • window.width - the window's width (default: 800).
  • window.height - the window's height (default: 600).
  • window.vSync - whether vertical synchronization is enabled (default: true).

Events

Resources

Dependencies

Files

file plugin.hpp
Plugin entry point.

Functions

auto windowPlugin(Cubos& cubos) -> CUBOS_ENGINE_API void
Plugin entry function.

Function documentation

CUBOS_ENGINE_API void windowPlugin(Cubos& cubos)

Plugin entry function.

Parameters
cubos Cubos main class