# C_VideoOptions: World of Warcraft Forever API

Forever 1.60.1 (70959), Interface 16001, Lua 5.1, from Blizzard's own API documentation. Page: https://wowaddons.gg/forever-api/C_VideoOptions

## Functions

### C_VideoOptions.AreHighResTexturesAvailable

```lua
areAvailable = C_VideoOptions.AreHighResTexturesAvailable()
```

Returns:
- `areAvailable`: bool

### C_VideoOptions.GetCurrentGameWindowSize

```lua
size = C_VideoOptions.GetCurrentGameWindowSize()
```

Returns:
- `size`: vector2

### C_VideoOptions.GetDefaultGameWindowSize

```lua
size = C_VideoOptions.GetDefaultGameWindowSize(monitor)
```

Arguments:
- `monitor`: number

Returns:
- `size`: vector2

### C_VideoOptions.GetGameWindowSizes

```lua
sizes = C_VideoOptions.GetGameWindowSizes(monitor, fullscreen)
```

Arguments:
- `monitor`: number
- `fullscreen`: bool

Returns:
- `sizes`: vector2[]

### C_VideoOptions.GetGxAdapterInfo

```lua
adapters = C_VideoOptions.GetGxAdapterInfo()
```

Returns:
- `adapters`: GxAdapterInfoDetails[]

### C_VideoOptions.IsLinearEnabledOnStart

```lua
isEnabled = C_VideoOptions.IsLinearEnabledOnStart()
```

Returns:
- `isEnabled`: bool

### C_VideoOptions.IsOutlineModeSupported

```lua
isSupported = C_VideoOptions.IsOutlineModeSupported()
```

Returns:
- `isSupported`: bool

### C_VideoOptions.IsPBRWaterSupported

```lua
isSupported = C_VideoOptions.IsPBRWaterSupported()
```

Returns:
- `isSupported`: bool

### C_VideoOptions.IsSecondaryLightingSupported

```lua
isSupported = C_VideoOptions.IsSecondaryLightingSupported()
```

Returns:
- `isSupported`: bool

### C_VideoOptions.IsSpellVisualDensitySystemSupported

```lua
isSupported = C_VideoOptions.IsSpellVisualDensitySystemSupported()
```

Returns:
- `isSupported`: bool

### C_VideoOptions.SetGameWindowSize

```lua
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

---
Make an addon with your 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."
