Window.brightness

Wraps SDL_GetWindowBrightness which gets the window's brightness value

  1. float brightness()
    class Window
    const @property @trusted
    float
    brightness
    ()
  2. void brightness(float newBrightness)

Return Value

Type: float

float value from 0.0 to 1.0 indicating the window's brightness

Meta