Mario Veraart (rioj7++at++fel.tno.nl)
Thu, 16 Jul 1998 15:11:36 +0200 (MET DST)
The C-Api functions pfMalloc and pfCalloc etc. are redefined with a
#define statement to the static functions of the pfMemory class.
>
> mtl = new pfMaterial();
> Does this allocate mtl in the default shared arena?
Yes, look at the man page for pfMaterial
>
> pfGeoState *gs = new (pfGetSharedArena()) pfGeoState;
> Why not pfGeoState *gs = new pfGeoState;
They are the same for the programmers point of view.
> Thanks for any help.
>
> Best Regards
> Daniela
>
> --
Mario
=======================================================================
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:57:42 PDT