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

Method Copy

vkconfig_core/setting_flags.cpp:104–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104void SettingDataEnum::Copy(const SettingData* data) {
105 if (data->type != this->type) return;
106
107 const SettingDataEnum* setting_data = static_cast<const SettingDataEnum*>(data);
108 this->value = setting_data->value;
109}
110
111void SettingDataEnum::Reset() { this->value = this->meta->default_value; }
112

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected