Nicolas Gauvin (nicolas++at++cae.ca)
Tue, 28 Jan 1997 12:10:22 -0500
You don't really need to write such a function since Performer already does it
for you. Using pfDelete on a node which has no parent (ie its ref count is
zero) will free all memory associated to the subgraph under it (if no part of
this subgraph is referenced elsewhere). In other words, Performer will traverse
all its children and call pfDelete on them as well as on their geosets and
whatever else. You might want to consider using pfAsyncDelete in order to have
a separate DBASE process carry out this deletion so it doesn't affect too much
your regular Performer loop.
--
Nicolas Gauvin CAE Electronics Ltd., 8585 Cote De Liesse
Software Developer Saint-Laurent, Quebec, Canada, H4L-4X4
3-D Graphics Applications tel: +1 514 341 2000 extension 2275
nicolas++at++cae.ca fax: +1 514 340 5496
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:54:29 PDT