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

Method SetActiveOptions

vkconfig_core/executable.cpp:208–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206std::string Executable::GetActiveOptionsName() const { return this->active_options; }
207
208bool Executable::SetActiveOptions(const std::string& label) {
209 for (std::size_t i = 0, n = this->options_list.size(); i < n; ++i) {
210 if (this->options_list[i].label == label) {
211 this->active_options = label;
212 return true;
213 }
214 }
215
216 this->active_options.clear();
217 return false;
218}
219
220ExecutableOptions* Executable::GetActiveOptions() {
221 const int option_index = this->GetActiveOptionsIndex();

Callers 3

LoadMethod · 0.80
TESTFunction · 0.80

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.64