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

Method Copy

vkconfig_core/setting_float.cpp:94–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94void SettingDataFloat::Copy(const SettingData* data) {
95 if (data->type != this->type) return;
96
97 const SettingDataFloat* setting_data = static_cast<const SettingDataFloat*>(data);
98 this->value = setting_data->value;
99}
100
101bool SettingDataFloat::Load(const QJsonObject& json_setting) {
102 this->value = ReadFloatValue(json_setting, "value");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected