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

Method SettingMetaFloat

vkconfig_core/setting_float.cpp:29–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27const SettingType SettingMetaFloat::TYPE(SETTING_FLOAT);
28
29SettingMetaFloat::SettingMetaFloat(Layer& layer, const std::string& key)
30 : SettingMeta(layer, key, TYPE), default_value(0.0f), min_value(0.0f), max_value(0.0f), precision(0), width(0) {}
31
32SettingData* SettingMetaFloat::Instantiate() {
33 SettingData* setting_data = new SettingDataFloat(this);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected