------------------------ ComponentPool::GetSize count of components being stored
| 43 | // count of components being stored |
| 44 | // |
| 45 | size_t ComponentPool::GetSize() const |
| 46 | { |
| 47 | size_t const typeSize = ComponentRegistry::Instance().GetSize(m_ComponentType); |
| 48 | ET_ASSERT(typeSize != 0u); |
| 49 | return m_Buffer.size() / typeSize; |
| 50 | } |
| 51 | |
| 52 | //------------------------ |
| 53 | // ComponentPool::Append |
no outgoing calls
no test coverage detected