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

Function IsString

vkconfig_core/setting.cpp:147–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145}
146
147bool IsString(SettingType type) {
148 return type == SETTING_STRING || type == SETTING_SAVE_FILE || type == SETTING_LOAD_FILE || type == SETTING_SAVE_FOLDER ||
149 type == SETTING_LOAD_FOLDER || type == SETTING_ENUM || type == SETTING_FLAGS || type == SETTING_LIST;
150}
151
152bool IsArray(SettingType type) { return type == SETTING_FLAGS || type == SETTING_LIST; }
153

Callers 3

GenerateSettingsCodeFunction · 0.85
WriteSettingsDetailsHtmlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected