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
#4399)

Signed-off-by: Larry Gritz <[email protected]>
  • Loading branch information
lgritz authored Aug 28, 2024
1 parent fb5f2bf commit d6ff16f
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 d6ff16f

Please sign in to comment.