From: Dimi (christop++at++fhw.gr)
Date: 03/01/2002 07:27:27
Hi,
I have a view questions about the Memory management of performer.
I would like to incorporate dynamic loading into my App. With this
I mean, deleting the existing Scene Graph from memory and load in an
other one.
How do I do this.
Is it enough, to remove the top node from all its parents, than call a
pfDelete?
Through the documentation I unsterstand that because of the reference
counting
mechanism it should unreference and delete all underlying objects. Is
this correct?
I use the C++ syntax of performer, but the man pages (say for pfGroup or
pfGeode) state that pfDelete should be used
to delete nodes, But in the pfMemory example 2 of the man pages delete
is beeing used to show off how reference counting
works. Why is the correct syntax to use?
By deleting the scene graph, do all the textures in the graphics ram get
also deleted? If not how do I remove them.
A lot of questions :) Hope you can help me on some of them.
Thanks in advance.
Dimi
This archive was generated by hypermail 2b29 : Fri Mar 01 2002 - 07:00:01 PST