WoW:API RestartGx: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(upgraded deprecated template)
m (Move page script moved page API RestartGx to API RestartGx without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
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.


  RestartGx();
  RestartGx()


----
----
Line 18: Line 17:
----
----
;''Example''
;''Example''
   SetCVar("gxResolution","1024x768");
   SetCVar("gxResolution","1024x768")
   RestartGx();
   RestartGx()


;''Result''
;''Result''
  ''-- Graphical engine is restarted in 1024x760 resolution.''
  ''-- Graphical engine is restarted in 1024x768 resolution.''


----
----

Latest revision as of 04:47, 15 August 2023

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.