Game Development Reference
In-Depth Information
{
throw;
}
}
public void GenerateTextures(TextureHandle[] textures)
{
foreach (TextureHandle texture in textures)
{
GenerateTexture(texture);
}
}
public void GenerateTextures(List<TextureHandle> textures)
{
foreach (TextureHandle texture in textures)
{
GenerateTexture(texture);
}
}
public TextureHandle FindTexture(string name)
{
TextureHandle result = null;
foreach (TextureHandle texture in _textures)
{
if (texture.Name.Equals(name))
{
result = texture;
break;
}
}
return result;
}
public TextureHandle FindTexture(FileInfo file)
{
return FindTexture(file, false);
}
Search Nedrilad ::




Custom Search