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

Function InstantiateString

vkconfig_core/test/test_parameter.cpp:28–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26#include <gtest/gtest.h>
27
28static SettingMetaString* InstantiateString(Layer& layer, const std::string& key) {
29 return static_cast<SettingMetaString*>(layer.Instantiate(layer.settings, key, SETTING_STRING));
30}
31
32static void AddLayer(LayerManager& layers, const char* key, LayerType type) {
33 std::string path = format("./%s.json", key);

Callers 1

TESTFunction · 0.70

Calls 1

InstantiateMethod · 0.45

Tested by

no test coverage detected