Navigation
API > API/Runtime > API/Runtime/ImageDownload
References
| Module | ImageDownload |
| Header | /Engine/Source/Runtime/Online/ImageDownload/Public/WebImageCache.h |
| Include | #include "WebImageCache.h" |
Syntax
class FWebImageCache
Remarks
This class is designed to facilitate caching of web images and setting a global stand-in so we don't re-download the same image every time the UI shows it again.
See WebImage.h for example usage.
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| TSharedRef< const FWebImage > | Find or create a WebImage object for this URL (you probably just want to call ->Attr() on this) | ||
| void | Empty () |
Removes all cached images | |
| void | PreUnload () |
Signifies the module is being unloaded and to perform any actions that depend on other modules which may be unloaded as well | |
| void | This function causes the web image cache to stop holding on to strong references to images. | ||
| void | SetDefaultStandInBrush
(
TAttribute< const FSlateBrush* > StandInBrushIn |
Set the brush that will be returned until the download completes (only affects future downloads). |