WoW API: RestartGx

From AddOn Studio
Revision as of 04:47, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API RestartGx to API RestartGx without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < RestartGx

Requests the graphics engine to restart.

RestartGx()

Arguments
none

Returns
none

Example
 SetCVar("gxResolution","1024x768")
 RestartGx()
Result
-- Graphical engine is restarted in 1024x768 resolution.

Description
Primarily necessary for editing various display settings on the fly. Will not circumvent options that request you restart WoW for them to take effect.