WoW:API RestartGx: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(upgraded deprecated template)
mNo edit summary
Line 1: Line 1:
{{wowapi}}
{{wowapi}}
<center>'''RestartGx''' ''-Documentation by [[user:Zlixar|Zlixar]]-''</center>


Requests the graphics engine to restart.
Requests the graphics engine to restart.

Revision as of 16:34, 4 December 2007

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 1024x760 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.