WowAddons

World of Warcraft Forever API · C_VideoOptions.md, for your AI

C_VideoOptions

11 functions, 9 events, 2 tables, as Blizzard documents them for Forever 1.60.1 (70959).

Making an addon with an AI? Tell it: Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it. It checks every call against this API before you try it in the game, then publishes it here. How it works.

Functions

C_VideoOptions.AreHighResTexturesAvailable

areAvailable = C_VideoOptions.AreHighResTexturesAvailable()

Returns

areAvailablebool

C_VideoOptions.GetCurrentGameWindowSize

size = C_VideoOptions.GetCurrentGameWindowSize()

Returns

sizevector2

C_VideoOptions.GetDefaultGameWindowSize

size = C_VideoOptions.GetDefaultGameWindowSize(monitor)

Arguments

monitornumber

Returns

sizevector2

C_VideoOptions.GetGameWindowSizes

sizes = C_VideoOptions.GetGameWindowSizes(monitor, fullscreen)

Arguments

monitornumber
fullscreenbool

Returns

sizesvector2[]

C_VideoOptions.GetGxAdapterInfo

adapters = C_VideoOptions.GetGxAdapterInfo()

Returns

adaptersGxAdapterInfoDetails[]

C_VideoOptions.IsLinearEnabledOnStart

isEnabled = C_VideoOptions.IsLinearEnabledOnStart()

Returns

isEnabledbool

C_VideoOptions.IsOutlineModeSupported

isSupported = C_VideoOptions.IsOutlineModeSupported()

Returns

isSupportedbool

C_VideoOptions.IsPBRWaterSupported

isSupported = C_VideoOptions.IsPBRWaterSupported()

Returns

isSupportedbool

C_VideoOptions.IsSecondaryLightingSupported

isSupported = C_VideoOptions.IsSecondaryLightingSupported()

Returns

isSupportedbool

C_VideoOptions.IsSpellVisualDensitySystemSupported

isSupported = C_VideoOptions.IsSpellVisualDensitySystemSupported()

Returns

isSupportedbool

C_VideoOptions.SetGameWindowSize

C_VideoOptions.SetGameWindowSize(x, y)

Arguments

xnumber
ynumber

Events

ADAPTER_LIST_CHANGED

No payload.

DISPLAY_SIZE_CHANGED

No payload.

GLUE_SCREENSHOT_FAILED

No payload.

GLUE_SCREENSHOT_STARTED

No payload.

GLUE_SCREENSHOT_SUCCEEDED

No payload.

GX_RESTARTED

No payload.

SCREENSHOT_FAILED

No payload.

SCREENSHOT_STARTED

No payload.

SCREENSHOT_SUCCEEDED

No payload.

Tables

Enum.GraphicsValidationResult enumeration

Supported0
Illegal1
Unsupported2
Graphics3
DualCore4
QuadCore5
CpuMem_26
CpuMem_47
CpuMem_88
Needs_5_09
Needs_6_010
NeedsRt11
NeedsDx1212
NeedsDx12Vrs213
NeedsAppleGpu14
NeedsAmdGpu15
NeedsIntelGpu16
NeedsNvidiaGpu17
NeedsQualcommGpu18
NeedsMacOs_10_1319
NeedsMacOs_10_1420
NeedsMacOs_10_1521
NeedsMacOs_11_022
NeedsMacOs_12_023
NeedsMacOs_13_024
NeedsWindows_1025
NeedsWindows_1126
MacOsUnsupported27
WindowsUnsupported28
LegacyUnsupported29
Dx11Unsupported30
Dx12Win7Unsupported31
RemoteDesktopUnsupported32
WineUnsupported33
NvapiWineUnsupported34
AppleGpuUnsupported35
AmdGpuUnsupported36
IntelGpuUnsupported37
NvidiaGpuUnsupported38
QualcommGpuUnsupported39
GpuDriver40
CompatMode41
Unknown42

GxAdapterInfoDetails structure

namestring
isLowPowerbool
isExternalbool

It takes WowAddons

Free, for Windows, macOS and Linux: it puts the addon in your game in one click and keeps it up to date. Open it once, then press Install again.

WowAddons runs on your computer: open wowaddons.gg there.

Download for Windows