| 205 | } |
| 206 | |
| 207 | void 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 | |
| 214 | void CommandBuffer::RemoveChild(std::shared_ptr<StateObject>& child_node) { |
| 215 | assert(child_node); |
no test coverage detected