diff --git a/docs/REFERENCES/brightscript/components/rotexturemanager.md b/docs/REFERENCES/brightscript/components/rotexturemanager.md index 9587b821..30b305b5 100644 --- a/docs/REFERENCES/brightscript/components/rotexturemanager.md +++ b/docs/REFERENCES/brightscript/components/rotexturemanager.md @@ -15,6 +15,7 @@ next: The Texture Manager provides a set of API's for managing an roBitmap cache. +All roTextureManager instances within an app share a single underlying texture cache. Cache-modifying operations (Cleanup, UnloadBitmap) affect all instances. **Example: Requesting an roBitmap from the roTextureManager** diff --git a/docs/REFERENCES/brightscript/interfaces/iftexturemanager.md b/docs/REFERENCES/brightscript/interfaces/iftexturemanager.md index d120233d..09805269 100644 --- a/docs/REFERENCES/brightscript/interfaces/iftexturemanager.md +++ b/docs/REFERENCES/brightscript/interfaces/iftexturemanager.md @@ -49,7 +49,10 @@ Cancels the request specified by req, which should be an roTextureRequest previo ##### Description -Removes a bitmap from the roTextureManager with the specified URL. +Removes the bitmap with the specified URL from the roTextureManager cache. + +The roTextureManager cache is shared across all instances of roTextureManager within the app. Calling UnloadBitmap() removes the cached entry for the given URL regardless of which instance originally requested it, and regardless of any request parameters (such as image size) that were used. + ##### Parameters @@ -61,4 +64,6 @@ Removes a bitmap from the roTextureManager with the specified URL. ##### Description -Removes all bitmaps from the roTextureManager. +Removes all bitmaps from the roTextureManager cache. + +The roTextureManager cache is shared across all instances of roTextureManager within the app. Calling Cleanup() removes all cached textures regardless of which instance originally requested them.