Example #1
0
 /// <summary>Initialise the asset.</summary>
 /// <param name="manager"></param>
 /// <param name="name"></param>
 /// <param name="texture"></param>
 public TextureAsset(AssetManager manager, string name, Texture texture)
     : base(manager, name)
 {
     Content = texture;
 }
Example #2
0
 /// <summary>Initialise the asset.</summary>
 /// <param name="parent"></param>
 /// <param name="loader"></param>
 /// <param name="texture"></param>
 public TextureAsset(FolderAsset parent, AssetLoader loader, Glare.Graphics.Texture texture) : base(parent, loader)
 {
 }
Example #3
0
 /// <summary>Initialise the asset.</summary>
 /// <param name="loader"></param>
 /// <param name="texture"></param>
 public TextureAsset(AssetLoader loader, Glare.Graphics.Texture texture)
     : base(loader)
 {
     Content = texture;
 }