Marcus Barnes (marcus++at++multigen.com)
Mon, 21 Sep 1998 12:43:44 -0700
This is correct. Also each pfNode will delete pfObjects that it owns. This
includes pfUserData and for pfGeode ... its pfGeoSets. This does _not_ include
node traversal data.
>But I can't get my pfDeleteFunc() to be called at all. Looking at the code, it
>looks like the function registered with pfDeleteFunc() only gets called if a
>node has user data.
Correct. More precisely ... the function handles pfObject::userData
>Does this mean I have to make dummy user data for all the nodes that I want
>deleted?
I'm a little unclear why you equate pfNode deletion with calls to
pfObject::deleteGLHandle(). pfObject::deleteGLHandle() only works on pfTexture
objects and these are bound to pfGeoStates, not pfNodes.
Regards.
-- + Marcus Barnes, Technical Staff mailto:marcus++at++multigen.com + + Multigen Inc. http://www.multigen.com + + 550 S. Winchester Blvd. phoneto:1-408-367-2654 + + Suite 500 San Jose CA 95128 faxto:1-408-261-4103 +
This archive was generated by hypermail 2.0b2 on Mon Sep 21 1998 - 12:41:15 PDT