2 using System.Collections.Generic;
5 using System.Threading.Tasks;
9 class TexArray : TexImage
11 public List<TexImage>
Array {
get;
internal set; }
13 internal TexArray() : base()
15 Array =
new List<TexImage>();
18 public TexArray(List<TexImage> array)
25 TexAtlas atlas = (TexAtlas)base.Clone(CopyMemory);
27 atlas.Layout =
new TexLayout();
28 foreach (KeyValuePair<string, TexLayout.Position> entry
in Layout.TexList)
30 atlas.Layout.TexList.Add(entry.Key, entry.Value);
The clone mixin to clone the current mixins where the clone is emitted.