From 94324495403b5d6f52ef16da100bbdf127b6b1e8 Mon Sep 17 00:00:00 2001 From: Larry Gritz Date: Wed, 28 Aug 2024 09:33:52 -0700 Subject: [PATCH] docs: clarify TextureSystem::create use of imagecache when shared=true Signed-off-by: Larry Gritz --- src/include/OpenImageIO/texture.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/include/OpenImageIO/texture.h b/src/include/OpenImageIO/texture.h index 43eba9a7f8..60c9a97121 100644 --- a/src/include/OpenImageIO/texture.h +++ b/src/include/OpenImageIO/texture.h @@ -384,7 +384,9 @@ class OIIO_API TextureSystem { /// freeing the ImageCache after the TextureSystem is destroyed. If /// `shared` is `false` and `imagecache` is empty, then a custom /// ImageCache will be created, owned by the TextureSystem, and - /// automatically freed when the TS destroys. + /// automatically freed when the TS destroys. If `shared` is true, + /// this parameter will not be used, since the global shared + /// TextureSystem uses the global shared ImageCache. /// /// @returns /// A shared pointer to a TextureSystem which will be destroyed only