Garry's Mod Wiki

render.GetHDREnabled

boolean render.GetHDREnabled()

Just Added

This was just added in the latest version (2020.10.14). It might only be available on the Dev Branch right now.

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.

Page Links


Special Pages


Wikis

?

Render Time: 29ms

DB GetPage 4
Generate Html 2
SaveChanges (1) 9
Render Body 0
Render Sidebar 12