Detailed Description

A cache for resized images. Used with the resize:// protocol.

Static Public Member Functions

static ResizedImage Get (string path)
 Get the image for the given URL. May return null if it's not been cached. More...
 
static ResizedImage Add (string path, Texture2D originalImage)
 Adds the given image to the cache and auto scales it based on the current screen. More...
 

Static Public Attributes

static Dictionary< string,
ResizedImage
Images =new Dictionary<string,ResizedImage>()
 All resized images. More...
 

Member Function Documentation

static ResizedImage PowerUI.ResizedImages.Add ( string  path,
Texture2D  originalImage 
)
inlinestatic

Adds the given image to the cache and auto scales it based on the current screen.

static ResizedImage PowerUI.ResizedImages.Get ( string  path)
inlinestatic

Get the image for the given URL. May return null if it's not been cached.

Member Data Documentation

Dictionary<string,ResizedImage> PowerUI.ResizedImages.Images =new Dictionary<string,ResizedImage>()
static

All resized images.