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

Method SettingMetaInt

vkconfig_core/setting_int.cpp:28–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26const SettingType SettingMetaInt::TYPE(SETTING_INT);
27
28SettingMetaInt::SettingMetaInt(Layer& layer, const std::string& key)
29 : SettingMeta(layer, key, TYPE),
30 default_value(0),
31 min_value(std::numeric_limits<int>::min()),
32 max_value(std::numeric_limits<int>::max()) {}
33
34SettingData* SettingMetaInt::Instantiate() {
35 SettingData* setting_data = new SettingDataInt(this);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected