Garry's Mod Wiki

render.GetHDREnabled

  boolean render.GetHDREnabled()

Description

Returns whether HDR is currently enabled or not. This takes into account hardware support, current map and current client settings.

Returns

1 boolean
true if the player currently has HDR enabled.