Files
filament/android/filament-android/src/main/cpp
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
..
2018-08-03 10:38:22 -07:00
2018-08-03 10:38:22 -07:00
2019-02-07 09:23:07 -08:00
2018-08-03 10:38:22 -07:00
2022-05-05 11:11:41 -07:00
2021-12-10 08:35:16 -08:00
2022-04-14 12:51:03 -07:00
2023-10-13 09:44:29 -07:00
2023-09-18 16:09:21 -07:00