Game Development Reference
In-Depth Information
public MemoryStream Data
{
get { return _data; }
set { _data = value; }
}
public bool Generate
{
get { return _generate; }
set { _generate = value; }
}
public TextureHandleType Type
{
get { return _type; }
set { _type = value; }
}
public bool Loaded
{
get { return _loaded; }
set { _loaded = value; }
}
public TextureHandle(FileInfo file) : this(file, file.Name) { }
public TextureHandle(FileInfo file, string name)
{
_file = file;
_name = name;
_type = TextureHandleType.FileSystem;
}
public TextureHandle(string filePath, string name)
{
_file = new FileInfo(filePath);
_name = name;
_type = TextureHandleType.FileSystem;
}
public TextureHandle(string name, Bitmap image)
{
Search Nedrilad ::




Custom Search