UnrealVoxta 0.1.1
 
Loading...
Searching...
No Matches
TexturesCacheHandler Class Reference

TexturesCacheHandler Internal class which handles asynchronous fetching, decoding, and caching of textures from URLs. More...

#include <TexturesCacheHandler.h>

Inheritance diagram for TexturesCacheHandler:

Public Member Functions

 TexturesCacheHandler ()
 Constructor.
 
void FetchTextureFromUrl (const FString &url, FDownloadedTextureDelegateNative onThumbnailFetched)
 Fetch a texture from a URL asynchronously and cache it.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ TexturesCacheHandler()

TexturesCacheHandler::TexturesCacheHandler ( )

Constructor.

Initializes the image wrapper module.

Member Function Documentation

◆ FetchTextureFromUrl()

void TexturesCacheHandler::FetchTextureFromUrl ( const FString & url,
FDownloadedTextureDelegateNative onThumbnailFetched )

Fetch a texture from a URL asynchronously and cache it.

Parameters
urlThe URL to fetch the texture from.
onThumbnailFetchedDelegate to call when the texture is fetched.

The documentation for this class was generated from the following files: