C_VideoOptions
namespaceavailable in: camelotStatus in wowlua
11 functions: 2 implemented, 9 recorded, 0 guessed. 9 events, 1 of them fired by the emulator on its own.
Functions
| function | what it does | status |
|---|---|---|
AreHighResTexturesAvailable | Whether high-resolution textures are available. · by wowlua(): boolean | recorded |
GetCurrentGameWindowSize | Returns the current size of the game window. · by wowlua(): Vector2DMixin | implemented |
GetDefaultGameWindowSize | Returns the default game window size for a monitor. · by wowlua(monitor: number): Vector2DMixin | recorded |
GetGameWindowSizes | Returns the game window sizes available on a monitor. · by wowlua(monitor: number, fullscreen: boolean): vector2[] | recorded |
GetGxAdapterInfo | Returns info about the system's graphics adapter.(): GxAdapterInfoDetails[] | recorded |
IsLinearEnabledOnStart | Whether linear color space was enabled when the game started. · by wowlua(): boolean | recorded |
IsOutlineModeSupported | Whether the graphics settings support outline mode. · by wowlua(): boolean | recorded |
IsPBRWaterSupported | Whether physically based water rendering is supported. · by wowlua(): boolean | recorded |
IsSecondaryLightingSupported | Whether secondary lighting is supported. · by wowlua(): boolean | recorded |
IsSpellVisualDensitySystemSupported | Whether the spell visual density setting is supported. · by wowlua(): boolean | recorded |
SetGameWindowSize | Sets the size of the game window. · by wowlua(x: number, y: number) | implemented |
"by wowlua": no one documents this function, so wowlua wrote the description from its name, signature and behaviour.
Events
| event | payload | fired by the emulator |
|---|---|---|
ADAPTER_LIST_CHANGED | no payload | not implemented |
DISPLAY_SIZE_CHANGED | no payload | implemented |
GLUE_SCREENSHOT_FAILED | no payload | not implemented |
GLUE_SCREENSHOT_STARTED | no payload | not implemented |
GLUE_SCREENSHOT_SUCCEEDED | no payload | not implemented |
GX_RESTARTED | no payload | not implemented |
SCREENSHOT_FAILED | no payload | not implemented |
SCREENSHOT_STARTED | no payload | not implemented |
SCREENSHOT_SUCCEEDED | no payload | not implemented |
An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("ADAPTER_LIST_CHANGED").
Structures
GxAdapterInfoDetails· name, isLowPower, isExternal
sources
Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (Video system, camelot 1.60.1). Descriptions: warcraft.wiki.gg's API pages, by its contributors, CC BY-SA 4.0 ↗; written by wowlua where no documentation describes the entry.