The old engine used the std::shared_ptr class for memeory management. Over time, it felt kind of unnecessary overhead due the kind of how all the data was handled.
Anyway. motor need an explicit model where the programmer is responsible for ownership management. The memory manager can help there by introducing a ref count where the data is stored. But besides of that, it should be possible to work with the managed pointer like a raw pointer.
The old engine used the std::shared_ptr class for memeory management. Over time, it felt kind of unnecessary overhead due the kind of how all the data was handled.
Anyway. motor need an explicit model where the programmer is responsible for ownership management. The memory manager can help there by introducing a ref count where the data is stored. But besides of that, it should be possible to work with the managed pointer like a raw pointer.