MCPcopy Create free account
hub / github.com/blender/cycles / xml_read_string

Function xml_read_string

src/app/cycles_xml.cpp:153–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153static bool xml_read_string(string *str, const xml_node node, const char *name)
154{
155 const xml_attribute attr = node.attribute(name);
156
157 if (attr) {
158 *str = attr.value();
159 return true;
160 }
161
162 return false;
163}
164
165static bool xml_equal_string(const xml_node node, const char *name, const char *value)
166{

Callers 3

xml_read_shader_graphFunction · 0.85
xml_read_stateFunction · 0.85
xml_read_sceneFunction · 0.85

Calls 1

attributeMethod · 0.80

Tested by

no test coverage detected