You are correct, clear() doesn't appear to do anything. I suspect that it was put in very early in the design of this class, and then as the concepts were clarified, it wasn't needed but was never removed. To be honest, I didn't even remember that it existed.
If you're just trying to clear the cache, I think that what you want is invalidate_all(). > On Jun 16, 2016, at 1:16 AM, Michel Lerenard <[email protected]> wrote: > > Hi, > > I've noticed while trying to clear the cache use for texture evaluation that > the function "clear" in TextureSystemImpl is empty. > > Is there a reason to that ? -- Larry Gritz [email protected] _______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
