https://github.com/OpenImageIO/oiio/pull/192

Have TS and IC accept attribute "options", that is a comma-separated list of 
name=value settings (e.g., "max_memory_MB=256,max_files=1000") that
will be parsed and used to set the individual attributes of those names.
This is helpful if you want an app that can just pass such a string through,
including setting new or experimental IC/TS options, without the app needing
to be modified for each new/experimental OIIO option. Furthermore, IC/TS
upon startup will check for OPENIMAGEIO_IMAGECACHE_OPTIONS and
OPENIMAGEIO_TEXTURE_OPTIONS environment variables and seed options using
those.

Also expose the helper template optparser, in case other apps want to use it.


--
Larry Gritz
[email protected]




_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to