Window.this - multiple declarations

Function Window.this

Initialize a new Window.

this (
  string title,
  int width = 960,
  int height = 720,
  bool initiallyFocused = true
);

Parameters

NameDescription
title Title of the Window
width Initial width of the Window
height Initial height of the Window
initiallyFocused Whether the window will be given input focus when created

Function Window.this

Initialize a new Window.

this (
  string title,
  Color clearColor,
  int width = 960,
  int height = 720,
  bool initiallyFocused = true
);

Parameters

NameDescription
title Title of the Window
clearColor Color the window's framebuffer should be cleared to when rendered.
width Initial width of the Window
height Initial height of the Window
initiallyFocused Whether the window will be given input focus when created