Example #1
0
 public CPUSlot(TileStorage owner, int size)
     : base(owner)
 {
     Data = new T[size];
     Size = size;
 }
 public CBSlot(TileStorage owner, ComputeBuffer buffer)
     : base(owner)
 {
     Buffer = buffer;
 }
Example #3
0
 public GPUSlot(TileStorage owner, RenderTexture texture)
     : base(owner)
 {
     Texture = texture;
 }
 public Slot(TileStorage owner)
 {
     Owner = owner;
 }