C# Class Heroes.Core.Battle.Rendering.TextureStore

Inheritance: System.IDisposable
Show file Open project: edwardsak/homm Class Usage Examples

Public Properties

Property Type Description
_texBar Heroes.Core.Battle.Rendering.TexturePlus
_texBg Heroes.Core.Battle.Rendering.TexturePlus
_texCell Heroes.Core.Battle.Rendering.TexturePlus
_texCellShd Heroes.Core.Battle.Rendering.TexturePlus
_texs System.Collections.Hashtable

Public Methods

Method Description
Dispose ( ) : void
GetTexture ( Device device, string resName ) : Heroes.Core.Battle.Rendering.TexturePlus
GetTexture ( Device device, string resName, byte res ) : Heroes.Core.Battle.Rendering.TexturePlus
LoadTextures ( Device device, EventHandler progressReport ) : void

Loads new all textures in the settings file that need to be loaded. This can be called multiple times to load different files by changing the paths in the settings object. Probably should make sure textures are not being used at this point ;)

TextureStore ( Device device, EventHandler progressReport ) : System

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GetTexture() public method

public GetTexture ( Device device, string resName ) : Heroes.Core.Battle.Rendering.TexturePlus
device Device
resName string
return Heroes.Core.Battle.Rendering.TexturePlus

GetTexture() public method

public GetTexture ( Device device, string resName, byte res ) : Heroes.Core.Battle.Rendering.TexturePlus
device Device
resName string
res byte
return Heroes.Core.Battle.Rendering.TexturePlus

LoadTextures() public method

Loads new all textures in the settings file that need to be loaded. This can be called multiple times to load different files by changing the paths in the settings object. Probably should make sure textures are not being used at this point ;)
public LoadTextures ( Device device, EventHandler progressReport ) : void
device Device
progressReport EventHandler
return void

TextureStore() public method

public TextureStore ( Device device, EventHandler progressReport ) : System
device Device
progressReport EventHandler
return System

Property Details

_texBar public property

public TexturePlus,Heroes.Core.Battle.Rendering _texBar
return Heroes.Core.Battle.Rendering.TexturePlus

_texBg public property

public TexturePlus,Heroes.Core.Battle.Rendering _texBg
return Heroes.Core.Battle.Rendering.TexturePlus

_texCell public property

public TexturePlus,Heroes.Core.Battle.Rendering _texCell
return Heroes.Core.Battle.Rendering.TexturePlus

_texCellShd public property

public TexturePlus,Heroes.Core.Battle.Rendering _texCellShd
return Heroes.Core.Battle.Rendering.TexturePlus

_texs public property

public Hashtable,System.Collections _texs
return System.Collections.Hashtable