Garry's Mod Wiki

Revision Difference

render.SupportsHDR#528321

<function name="SupportsHDR" parent="render" type="libraryfunc"> <description>Returns whether the game supports HDR, i.e. if the DirectX level is higher than or equal to 8.</description> <description>Returns whether the player's hardware supports HDR. (High Dynamic Range) HDR can still be disabled by the `mat_hdr_level` console variable or just not be supported by the map.</description> <realm>Client</realm> <rets> <ret name="" type="boolean">supportsHDR</ret>⤶ <ret name="" type="boolean">`true` if the player's hardware supports HDR.</ret>⤶ </rets> </function>