MCPcopy Create free account
hub / github.com/RenderKit/embree / loadGroupNode

Method loadGroupNode

tutorials/common/scenegraph/xml_loader.cpp:1699–1705  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1697 }
1698
1699 Ref<SceneGraph::Node> XMLLoader::loadGroupNode(const Ref<XML>& xml)
1700 {
1701 Ref<SceneGraph::GroupNode> group = new SceneGraph::GroupNode;
1702 for (size_t i=0; i<xml->size(); i++)
1703 group->add(loadNode(xml->children[i]));
1704 return group.cast<SceneGraph::Node>();
1705 }
1706
1707 Ref<SceneGraph::Node> XMLLoader::loadNode(const Ref<XML>& xml)
1708 {

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected