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

Method Instantiate

vkconfig_core/setting_string.cpp:33–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31 : SettingMeta(layer, key, setting_type) {}
32
33SettingData* SettingMetaString::Instantiate() {
34 SettingData* setting_data = new SettingDataString(this);
35 setting_data->Reset();
36 this->instances.push_back(setting_data);
37 return setting_data;
38}
39
40bool SettingMetaString::Load(const QJsonObject& json_setting) {
41 this->default_value = ReadStringValue(json_setting, "default");

Callers

nothing calls this directly

Calls 1

ResetMethod · 0.45

Tested by

no test coverage detected