From: Yves Strube (czys++at++ocag.ch)
Date: 12/14/2001 06:43:07
Hello Yair!
Thanks a lot for your answer about reference counting. But where are the
loader attributes and converter modes etc. specified. I am especially
interested in a description of the .flt loader attributes and modes but
did not find it yet.
So can you (or anyone else) give me a hint where to look?
Bye, Yves
Yair Kurzion wrote:
> Your scene graph nodes reference your textures only once. However, some loaders
> keep lists of loaded textures. They use these lists for sharing textures when
> you load multiple models with the same texture. The pfb loader adds two
> ref-counts to each texture.
>
> For textures loaded by the pfb loader:
>
> - You can disable texture sharing completely using
> pfdConverterMode_pfb(PFPFB_SHARE_GS_OBJECTS, PF_OFF).
>
> - If you want your PFB loader to share textures, you can clean the internal
> PFB loader pfTexture list (and decrement the ref counts) by calling
> pfdCleanShare_pfb.
This archive was generated by hypermail 2b29 : Fri Dec 14 2001 - 06:44:32 PST