|
static void | TrimCache (int size) |
|
static void | DownloadImage (string imageUrl, int imageSize, Action< Texture2D > onImageDownload=null, Action< ImageLoadError > onImageDownloadFailed=null, string fallbackImageUrl="", bool isRetry=false) |
|
Definition at line 818 of file VRCSDKBase.cs.
◆ CacheTexture()
void VRC.SDK3.Image.ImageDownloader.CacheTexture |
( |
string |
cacheRef, |
|
|
Texture2D |
tex |
|
) |
| |
|
private |
◆ DownloadFallbackOrUseErrorImage()
void VRC.SDK3.Image.ImageDownloader.DownloadFallbackOrUseErrorImage |
( |
string |
fallbackImageUrl, |
|
|
Action< Texture2D > |
onImageDownload |
|
) |
| |
|
private |
◆ DownloadImage()
static void VRC.SDK3.Image.ImageDownloader.DownloadImage |
( |
string |
imageUrl, |
|
|
int |
imageSize, |
|
|
Action< Texture2D > |
onImageDownload = null , |
|
|
Action< ImageLoadError > |
onImageDownloadFailed = null , |
|
|
string |
fallbackImageUrl = "" , |
|
|
bool |
isRetry = false |
|
) |
| |
|
static |
◆ DownloadImageInternal()
void VRC.SDK3.Image.ImageDownloader.DownloadImageInternal |
( |
string |
imageUrl, |
|
|
int |
imageSize, |
|
|
Action< Texture2D > |
onImageDownload, |
|
|
Action< ImageLoadError > |
onImageDownloadFailed, |
|
|
string |
fallbackImageUrl = "" , |
|
|
bool |
isRetry = false |
|
) |
| |
|
private |
◆ TrimCache()
static void VRC.SDK3.Image.ImageDownloader.TrimCache |
( |
int |
size | ) |
|
|
static |
◆ TrimCacheInternal()
void VRC.SDK3.Image.ImageDownloader.TrimCacheInternal |
( |
int |
size | ) |
|
|
private |
◆ cachedImageQueue
readonly List<string> VRC.SDK3.Image.ImageDownloader.cachedImageQueue = new List<string>() |
|
private |
◆ MAX_CACHED_IMAGES
const int VRC.SDK3.Image.ImageDownloader.MAX_CACHED_IMAGES = 200 |
|
staticprivate |
◆ MIN_CACHED_IMAGES
const int VRC.SDK3.Image.ImageDownloader.MIN_CACHED_IMAGES = 100 |
|
staticprivate |
◆ Instance
The documentation for this class was generated from the following file: