Blaze.AtlasEntity Interface Reference

Detailed Description

Any object that can be written to an atlas.

Inheritance diagram for Blaze.AtlasEntity:
InfiniText.Glyph PowerUI.ImagePackage InfiniText.CompositeGlyph

Public Member Functions

bool MultiThreadDraw ()
 True if DrawToAtlas can be multithreaded for this object. More...
 
void GetDimensionsOnAtlas (out int width, out int height)
 Gets the dimensions of this entity on an atlas. More...
 
bool DrawToAtlas (TextureAtlas atlas, AtlasLocation location)
 Draws this entity to the given atlas now. More...
 
int GetAtlasID ()
 A globally unique ID that can be used to identify the image being held. More...
 

Member Function Documentation

bool Blaze.AtlasEntity.DrawToAtlas ( TextureAtlas  atlas,
AtlasLocation  location 
)

Draws this entity to the given atlas now.

Implemented in InfiniText.Glyph, and PowerUI.ImagePackage.

int Blaze.AtlasEntity.GetAtlasID ( )

A globally unique ID that can be used to identify the image being held.

Implemented in InfiniText.Glyph, and PowerUI.ImagePackage.

void Blaze.AtlasEntity.GetDimensionsOnAtlas ( out int  width,
out int  height 
)

Gets the dimensions of this entity on an atlas.

Implemented in InfiniText.Glyph, and PowerUI.ImagePackage.

bool Blaze.AtlasEntity.MultiThreadDraw ( )

True if DrawToAtlas can be multithreaded for this object.

Implemented in InfiniText.Glyph, and PowerUI.ImagePackage.