Files
filament/libs/utils/include/utils
Mathias Agopian e674420e9c improvements to EntityManagers and Filament APIs (#7302)
* prevent public classes from being created on the stack

- we used to to this by deleting operator delete, but this prevented
  the internal "F" classes from being virtual; which can be useful
  when using EntityManger::Listener.
  now we just make the destructor protected in each class.

- EntityManger::Listener now has a virtual destructor so that
  objects could be correctly destroyed from Listener*

* improve EntityManger and Component managers

- all component managers now have the same "base" API
    - getComponentCount()
	- empty()
    - getEntity()
    - getEntities()

- Scene now has getEntityCount()

- EntityManager now has getEntityCount()

- all component manager implement gc() the same way, by calling destroy()

- SingleInstanceComponentManager::gc() that calls removeComponent() has
  been removed because it's dangerous. removeComponent() is often
  not enough, some additional cleanup might be needed.
2023-10-26 13:10:43 -07:00
..
2022-08-24 11:41:10 -07:00
2022-08-24 11:41:10 -07:00
2023-01-26 16:07:58 -08:00
2022-03-01 10:03:31 -08:00
2023-03-08 12:49:22 -08:00
2023-06-01 15:15:34 -07:00
2022-05-11 10:22:04 -07:00
2021-10-07 20:58:34 -07:00
2022-03-01 10:03:31 -08:00
2022-11-16 09:20:22 -08:00
2023-07-21 10:00:51 -07:00
2022-10-27 22:48:45 -07:00
2022-06-03 14:55:22 -07:00
2022-03-01 10:03:31 -08:00
2021-02-17 10:11:22 -08:00