TexturesCacheHandler Internal class which handles asynchronous fetching, decoding, and caching of textures from URLs. More...
#include <TexturesCacheHandler.h>
Public Member Functions | |
TexturesCacheHandler () | |
Constructor. | |
void | FetchTextureFromUrl (const FString &url, FDownloadedTextureDelegateNative onThumbnailFetched) |
Fetch a texture from a URL asynchronously and cache it. | |
TexturesCacheHandler Internal class which handles asynchronous fetching, decoding, and caching of textures from URLs.
Downloads image data from URLs, converts it into textures, and caches them for future use.
Note: The private API hooks into callbacks from background-threads, use care when changing the implementation.
TexturesCacheHandler::TexturesCacheHandler | ( | ) |
Constructor.
Initializes the image wrapper module.
void TexturesCacheHandler::FetchTextureFromUrl | ( | const FString & | url, |
FDownloadedTextureDelegateNative | onThumbnailFetched ) |
Fetch a texture from a URL asynchronously and cache it.
url | The URL to fetch the texture from. |
onThumbnailFetched | Delegate to call when the texture is fetched. |