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

Method GetLocalLayersSettingsPath

vkconfig_core/executable.cpp:243–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

241}
242
243Path Executable::GetLocalLayersSettingsPath() const {
244 assert(this->GetActiveOptions() != nullptr);
245 if (this->GetActiveOptions()->working_folder.Empty()) {
246 return this->path.AbsoluteDir() + "/vk_layer_settings.txt";
247 } else {
248 return this->GetActiveOptions()->working_folder.RelativePath() + "/vk_layer_settings.txt";
249 }
250}
251
252void Executable::AddOptions(const ExecutableOptions& options) {
253 this->options_list.push_back(options);

Callers 4

BuildStatusMethod · 0.80
GenerateSettingsTXTFunction · 0.80
LogMethod · 0.80
TESTFunction · 0.80

Calls 4

GetActiveOptionsMethod · 0.95
AbsoluteDirMethod · 0.80
RelativePathMethod · 0.80
EmptyMethod · 0.45

Tested by 1

TESTFunction · 0.64