function disposeTexture(texture)
	{
		if (texture !== undefined && texture !== null)
		{
			texture.dispose();
		}
	}
Dispose material.

Also disposes all the textures attached to the material.

@method dispose