[osg-users] Remove all LOD children

Bruno Oliveira bruno.manata.oliveira at gmail.com
Fri May 13 07:08:47 PDT 2016

Thank you for your answer. However, since I'm using a LOD, I think it is
not properly removing my data. At least the memory is still allocated.
If I manually iterate over all nodes and delete them by myself, some memory
is freed, but not all!

2016-05-13 14:58 GMT+01:00 Alberto Luaces <aluaces at udc.es>:

> Bruno Oliveira writes:
> > At some point I want to completely wipe out my scene. How can I delete
> > all nodes?
> If you want to wipe a node and all its descendants, just delete the
> parent node.  That is what reference counting is all about.
> --
> Alberto
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160513/c2af37ef/attachment-0003.htm>

More information about the osg-users mailing list