MCPcopy Create free account
hub / github.com/LunarG/VulkanTools / GetSettingOverride

Function GetSettingOverride

vkconfig_core/setting.cpp:370–379  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

368}
369
370std::string GetSettingOverride(const SettingMeta& meta) {
371 std::string result;
372
373 // If the setting environment variable is set, then the setting is overridden and can't be modified
374 if (!meta.env.empty()) {
375 result = qgetenv(meta.env.c_str()).toStdString();
376 }
377
378 return result;
379}
380
381SettingDependenceMode CheckDependence(const SettingMeta& meta, const SettingDataSet& data_set) {
382 switch (meta.dependence_mode) {

Callers 1

DisplayOverrideMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected