On 1 August 2013 15:09, Paul Martz <[email protected]> wrote:
> You can pass references to shared_ptr objects. You only need to copy them
> for long-term storage, which is typically not a performance critical
> operation in a scene graph.

I hadn't thought of pass them by reference, yep this would help.

I still curious about the interorability side - how do you wrap the
class for integration with other languages as most of these go through
C bindings.  Not that smart pointers are the only stumbling block...

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to