Skip to content

Commit

Permalink
docs: clarify TextureSystem::create use of imagecache when shared=true
Browse files Browse the repository at this point in the history
Signed-off-by: Larry Gritz <lg@larrygritz.com>
  • Loading branch information
lgritz committed Aug 28, 2024
1 parent fb5f2bf commit 9432449
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/include/OpenImageIO/texture.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9432449

Please sign in to comment.