MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Samples / set_component

Method set_component

framework/scene_graph/node.h:157–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155
156template <vkb::BindingType bindingType>
157inline void Node<bindingType>::set_component(vkb::sg::Component &component)
158{
159 components[component.get_type()] = &component;
160}
161
162template <vkb::BindingType bindingType>
163inline void Node<bindingType>::set_parent(Node<bindingType> &p)

Callers 5

load_sceneMethod · 0.80
add_componentMethod · 0.80
utils.cppFile · 0.80
setup_sceneMethod · 0.80
prepareMethod · 0.80

Calls 1

get_typeMethod · 0.45

Tested by

no test coverage detected