Hi Mikhail,
If you want to remove elements from the scene graph but delay
destruction to be done in a background thread the way to do it take a
ref_ptr to the subgraph you want to remove to prevent it from being
deleted, then remove the subgraph from the scene within the update
phase of the
17.02.2012 16:11, Robert Osfield пишет:
Hi Mikhail,
If you want to remove elements from the scene graph but delay
destruction to be done in a background thread the way to do it take a
ref_ptr to the subgraph you want to remove to prevent it from being
deleted, then remove the subgraph from the
Hi,
To remove heavy in destruction objects (which will free large buffers
and etc.) I use method like in DatabasePager - hold object references
and pass they to another thread for destructing.
But there is one case which cause crash.
(root)
|
(some nodes)
3 matches
Mail list logo