| 519 | } |
| 520 | |
| 521 | ECBEntityChangeSet* ECBData::GetOrAddEntityChange(EntityHandle const& entity) |
| 522 | { |
| 523 | auto changes = EntityChanges.find(entity); |
| 524 | if (changes == nullptr) { |
| 525 | changes = EntityChanges.add_uninitialized(entity); |
| 526 | new (changes) ECBEntityChangeSet(EntityChanges.allocator().Allocator); |
| 527 | } |
| 528 | |
| 529 | return changes; |
| 530 | } |
| 531 | |
| 532 | EntityHandle EntityCommandBuffer::CreateEntity() |
| 533 | { |
no test coverage detected