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

Method SetActiveExecutable

vkconfig_core/executable_manager.cpp:288–296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

286}
287
288void ExecutableManager::SetActiveExecutable(int executable_index) {
289 assert(executable_index < static_cast<int>(this->data.size()));
290
291 if (executable_index < 0) {
292 this->active_executable.Clear();
293 } else {
294 this->active_executable = this->data[executable_index].path;
295 }
296}
297
298int ExecutableManager::GetActiveExecutableIndex() const {
299 for (std::size_t i = 0, n = this->data.size(); i < n; ++i) {

Calls 1

ClearMethod · 0.45

Tested by 1

TESTFunction · 0.64