BasicTextureContainer Class Reference

Class representing a texture container. More...

List of all members.

Public Member Functions

 BasicTextureContainer ()
 Creates a texture container.
void Dispose ()
 Frees the unmanaged resources of the texture container.
void Add (string key, Texture texture)
 Registers a texture.
Texture Find (string key)
 Searches for a texture.

Detailed Description

Class representing a texture container.


Member Function Documentation

void Add ( string  key,
Texture  texture 
)

Registers a texture.

Parameters:
keySearch key
textureTextures
Texture Find ( string  key)

Searches for a texture.

Parameters:
keySearch key
Returns:
Texture (search fails when null)