{"name":"getVideoOptions","title":"getVideoOptions","type":"command","url":"https://community.bistudio.com/wiki/getVideoOptions","revid":376476,"updated":"2025-10-17T09:37:32Z","groups":["System"],"status":"ok","games":{"arma3":"2.12"},"since":"arma3 2.12","arma3_since":"2.12","description":"Obtain the current system's video settings.","syntaxes":[{"syntax":"getVideoOptions","params":[],"returns":{"type":"HashMap","type_expr":"HashMap","description":"all video settings, the key is always a String, the value can be a String, Number, Boolean or Array (see Example 1).\n> [!IMPORTANT] > `vramInfo` and `monitorResolution` keys presence is not guaranteed.","text":"HashMap - all video settings, the key is always a String, the value can be a String, Number, Boolean or Array (see Example 1).\n\n> [!IMPORTANT]\n> `vramInfo` and `monitorResolution` keys presence is not guaranteed."},"form":"nullary"}],"examples":[{"text":"```sqf\nprivate _videoOptions = getVideoOptions;\n/*\n[\n    [\"aspectRatioName\", \"Auto (Stretch)\"],\n    [\"brightness\", 1.1],\n    [\"cloudQualityName\", \"VeryHigh\"],\n    [\"displayModeName\", \"FullScreenWindow\"],\n    [\"dynLightsCount\", 32],\n    [\"dynLightsQualityName\", \"VeryHigh\"],\n    [\"gamma\", 1],\n    [\"guiScale\", 0.7],\n    [\"guiScaleName\", \"Normal\"],\n    [\"hdrQuality\", 16],\n    [\"hdrQualityName\", \"Normal\"],\n    [\"monitorResolution\", [0, 0, 2304, 1440]],                            // presence not guaranteed [x, y, width, height]\n    [\"objectVisibility\", 6000],\n    [\"objQualityName\", \"VeryHigh\"],\n    [\"overallPresetName\", \"Custom\"],\n    [\"overallVisibility\", 8000],\n    [\"overrideHazeQuality\", -1],\n    [\"particleQualityName\", \"High\"],\n    [\"pipQuality\", 2048],\n    [\"pipQualityName\", \"VeryHigh\"],\n    [\"pipVisibility\", 3000],\n    [\"ppBloom\", 1],\n    [\"ppBrightness\", 1],\n    [\"ppCausticsQualityName\",\"Enabled\"],                                // fixed in 2.18\n    [\"anisotropicFiltering\",\"VeryHigh\"],                                // fixed in 2.18\n    [\"atocQuality\",\"All\"],                                                // fixed in 2.18\n    [\"ppColorPresetName\", \"Custom\"],\n    [\"ppContrast\", 1],\n    [\"ppDOF\", 1],\n    [\"ppFSAA\", 1],\n    [\"ppHazeQualityName\", \"Standard\"],\n    [\"ppPPAAQualityName\", \"CMAANormal\"],\n    [\"ppRadialBlur\", 1],\n    [\"ppRotationBlur\", 1],\n    [\"ppSaturation\", 1.25],\n    [\"ppSharpenFilter\", 0.75],\n    [\"ppSSAOQualityName\", \"\"],\n    [\"refreshRate\", 60],\n    [\"samplingPercentage\", 100],\n    [\"shadowQualityName\", \"VeryHigh\"],\n    [\"shadowVisibility\", 200],\n    [\"terrainQuality\", 3.125],\n    [\"terrainQualityName\", \"VeryHigh\"],\n    [\"texQualityName\", \"VeryHigh\"],\n    [\"vramInfo\", [\"5.9 GiB\", \"16 GiB\", \"0 B\", \"978 MiB\", \"5.6 GiB\"]],    // presence not guaranteed [installedVram, sharedVram, systemVram(, used, max)]\n    [\"vsync\", true],\n    [\"waterReflectionQualityName\", \"High\"]\n]\n*/\n```","code":["private _videoOptions = getVideoOptions;\n/*\n[\n\t[\"aspectRatioName\", \"Auto (Stretch)\"],\n\t[\"brightness\", 1.1],\n\t[\"cloudQualityName\", \"VeryHigh\"],\n\t[\"displayModeName\", \"FullScreenWindow\"],\n\t[\"dynLightsCount\", 32],\n\t[\"dynLightsQualityName\", \"VeryHigh\"],\n\t[\"gamma\", 1],\n\t[\"guiScale\", 0.7],\n\t[\"guiScaleName\", \"Normal\"],\n\t[\"hdrQuality\", 16],\n\t[\"hdrQualityName\", \"Normal\"],\n\t[\"monitorResolution\", [0, 0, 2304, 1440]],\t\t\t\t\t\t\t// presence not guaranteed [x, y, width, height]\n\t[\"objectVisibility\", 6000],\n\t[\"objQualityName\", \"VeryHigh\"],\n\t[\"overallPresetName\", \"Custom\"],\n\t[\"overallVisibility\", 8000],\n\t[\"overrideHazeQuality\", -1],\n\t[\"particleQualityName\", \"High\"],\n\t[\"pipQuality\", 2048],\n\t[\"pipQualityName\", \"VeryHigh\"],\n\t[\"pipVisibility\", 3000],\n\t[\"ppBloom\", 1],\n\t[\"ppBrightness\", 1],\n\t[\"ppCausticsQualityName\",\"Enabled\"],\t\t\t\t\t\t\t\t// fixed in 2.18\n\t[\"anisotropicFiltering\",\"VeryHigh\"],\t\t\t\t\t\t\t\t// fixed in 2.18\n\t[\"atocQuality\",\"All\"],\t\t\t\t\t\t\t\t\t\t\t\t// fixed in 2.18\n\t[\"ppColorPresetName\", \"Custom\"],\n\t[\"ppContrast\", 1],\n\t[\"ppDOF\", 1],\n\t[\"ppFSAA\", 1],\n\t[\"ppHazeQualityName\", \"Standard\"],\n\t[\"ppPPAAQualityName\", \"CMAANormal\"],\n\t[\"ppRadialBlur\", 1],\n\t[\"ppRotationBlur\", 1],\n\t[\"ppSaturation\", 1.25],\n\t[\"ppSharpenFilter\", 0.75],\n\t[\"ppSSAOQualityName\", \"\"],\n\t[\"refreshRate\", 60],\n\t[\"samplingPercentage\", 100],\n\t[\"shadowQualityName\", \"VeryHigh\"],\n\t[\"shadowVisibility\", 200],\n\t[\"terrainQuality\", 3.125],\n\t[\"terrainQualityName\", \"VeryHigh\"],\n\t[\"texQualityName\", \"VeryHigh\"],\n\t[\"vramInfo\", [\"5.9 GiB\", \"16 GiB\", \"0 B\", \"978 MiB\", \"5.6 GiB\"]],\t// presence not guaranteed [installedVram, sharedVram, systemVram(, used, max)]\n\t[\"vsync\", true],\n\t[\"waterReflectionQualityName\", \"High\"]\n]\n*/"]}],"see_also":["getResolution","getAudioOptionVolumes","getSubtitleOptions","getMissionOptions"]}