Skip to content

Return of Reckoning

Wiki

RoR Wiki

API:Settings.HardwareSupportsPostProc

From RoR Wiki
Revision as of 19:49, 16 October 2026 by Maintenance script (talk | contribs) (UI Lua API import (WAR 1.4.8))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

UI Lua API · Interface functions
Version: WAR 1.4.8

Returns whether the client can offer the post-processing graphics option.

supported = Settings.HardwareSupportsPostProc()

Arguments

None.

Returns

supported
boolean – true if post-processing is supported.

Details

  • The result is true only when two graphics capability flags that the client sets at startup are both set and the client is not the Mac version (see IsMacClient). On the Mac version it is always false.
  • The function lives in the Settings table, so it is called as Settings.HardwareSupportsPostProc.
  • Arguments are not checked; anything passed is ignored.
  • The stock performance window hides its post-processing check box when this returns anything other than true.

Errors

None.

Example

From ea_customizeperformancewindow/source/ea_customizeperformancewindow.lua:

if(Settings.HardwareSupportsPostProc() ~= true) then
    WindowSetShowing("EA_Window_CustomizePerformanceEnablePostProcess", false);
end

See also