MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-ValidationLayers / AddChild

Method AddChild

layers/state_tracker/cmd_buffer_state.cpp:207–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

205}
206
207void CommandBuffer::AddChild(std::shared_ptr<StateObject>& child_node) {
208 assert(child_node);
209 if (child_node->AddParent(this)) {
210 object_bindings.insert(child_node);
211 }
212}
213
214void CommandBuffer::RemoveChild(std::shared_ptr<StateObject>& child_node) {
215 assert(child_node);

Calls 2

AddParentMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected