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
areAvailable | bool |
|---|
C_VideoOptions.GetCurrentGameWindowSize
size = C_VideoOptions.GetCurrentGameWindowSize()
Returns
size | vector2 |
|---|
C_VideoOptions.GetDefaultGameWindowSize
size = C_VideoOptions.GetDefaultGameWindowSize(monitor)
Arguments
monitor | number |
|---|
Returns
size | vector2 |
|---|
C_VideoOptions.GetGameWindowSizes
sizes = C_VideoOptions.GetGameWindowSizes(monitor, fullscreen)
Arguments
monitor | number | |
|---|---|---|
fullscreen | bool |
Returns
sizes | vector2[] |
|---|
C_VideoOptions.GetGxAdapterInfo
adapters = C_VideoOptions.GetGxAdapterInfo()
Returns
adapters | GxAdapterInfoDetails[] |
|---|
C_VideoOptions.IsLinearEnabledOnStart
isEnabled = C_VideoOptions.IsLinearEnabledOnStart()
Returns
isEnabled | bool |
|---|
C_VideoOptions.IsOutlineModeSupported
isSupported = C_VideoOptions.IsOutlineModeSupported()
Returns
isSupported | bool |
|---|
C_VideoOptions.IsPBRWaterSupported
isSupported = C_VideoOptions.IsPBRWaterSupported()
Returns
isSupported | bool |
|---|
C_VideoOptions.IsSecondaryLightingSupported
isSupported = C_VideoOptions.IsSecondaryLightingSupported()
Returns
isSupported | bool |
|---|
C_VideoOptions.IsSpellVisualDensitySystemSupported
isSupported = C_VideoOptions.IsSpellVisualDensitySystemSupported()
Returns
isSupported | bool |
|---|
C_VideoOptions.SetGameWindowSize
C_VideoOptions.SetGameWindowSize(x, y)
Arguments
x | number | |
|---|---|---|
y | number |
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
Supported | 0 |
|---|---|
Illegal | 1 |
Unsupported | 2 |
Graphics | 3 |
DualCore | 4 |
QuadCore | 5 |
CpuMem_2 | 6 |
CpuMem_4 | 7 |
CpuMem_8 | 8 |
Needs_5_0 | 9 |
Needs_6_0 | 10 |
NeedsRt | 11 |
NeedsDx12 | 12 |
NeedsDx12Vrs2 | 13 |
NeedsAppleGpu | 14 |
NeedsAmdGpu | 15 |
NeedsIntelGpu | 16 |
NeedsNvidiaGpu | 17 |
NeedsQualcommGpu | 18 |
NeedsMacOs_10_13 | 19 |
NeedsMacOs_10_14 | 20 |
NeedsMacOs_10_15 | 21 |
NeedsMacOs_11_0 | 22 |
NeedsMacOs_12_0 | 23 |
NeedsMacOs_13_0 | 24 |
NeedsWindows_10 | 25 |
NeedsWindows_11 | 26 |
MacOsUnsupported | 27 |
WindowsUnsupported | 28 |
LegacyUnsupported | 29 |
Dx11Unsupported | 30 |
Dx12Win7Unsupported | 31 |
RemoteDesktopUnsupported | 32 |
WineUnsupported | 33 |
NvapiWineUnsupported | 34 |
AppleGpuUnsupported | 35 |
AmdGpuUnsupported | 36 |
IntelGpuUnsupported | 37 |
NvidiaGpuUnsupported | 38 |
QualcommGpuUnsupported | 39 |
GpuDriver | 40 |
CompatMode | 41 |
Unknown | 42 |
GxAdapterInfoDetails structure
name | string | |
|---|---|---|
isLowPower | bool | |
isExternal | bool |