Represents a specific type of image format, e.g. a video or an SVG.
Public Member Functions | |
virtual string[] | GetNames () |
The set of lowercase file types that this format will handle. More... | |
virtual void | Clear () |
Resets this image format container. More... | |
virtual void | GoingOnDisplay () |
Called when this image is going to be displayed. More... | |
virtual void | GoingOffDisplay () |
Called when this image is going to stop being displayed. More... | |
virtual bool | DrawToAtlas (TextureAtlas atlas, AtlasLocation location) |
Draws this image to the given atlas. More... | |
Properties | |
virtual int | Height [get] |
The height of the image. More... | |
virtual int | Width [get] |
The width of the image. More... | |
virtual Material | ImageMaterial [get] |
A single-frame image material. Used for e.g. videos and animations. More... | |
|
inlinevirtual |
Resets this image format container.
Reimplemented in PowerUI.SpaFormat, and PowerUI.DynamicFormat.
|
inlinevirtual |
Draws this image to the given atlas.
Reimplemented in PowerUI.PictureFormat.
|
inlinevirtual |
The set of lowercase file types that this format will handle.
Reimplemented in PowerUI.VideoFormat, PowerUI.PictureFormat, and PowerUI.SpaFormat.
|
inlinevirtual |
Called when this image is going to stop being displayed.
Reimplemented in PowerUI.SpaFormat.
|
inlinevirtual |
Called when this image is going to be displayed.
Reimplemented in PowerUI.SpaFormat.
|
get |
The height of the image.
|
get |
A single-frame image material. Used for e.g. videos and animations.
|
get |
The width of the image.