| 1 | using System; | 
 
 
 
 
 | 2 | using System.Collections.Generic; | 
 
 
 
 
 | 3 |  | 
 
 
 
 
 | 4 | namespace Oni.Dae | 
 
 
 
 
 | 5 | { | 
 
 
 
 
 | 6 | internal class IndexedInput : Input | 
 
 
 
 
 | 7 | { | 
 
 
 
 
 | 8 | private readonly List<int> indices = new List<int>(); | 
 
 
 
 
 | 9 |  | 
 
 
 
 
 | 10 | public IndexedInput() | 
 
 
 
 
 | 11 | { | 
 
 
 
 
 | 12 | } | 
 
 
 
 
 | 13 |  | 
 
 
 
 
 | 14 | public IndexedInput(Semantic semantic, Source source) | 
 
 
 
 
 | 15 | : base(semantic, source) | 
 
 
 
 
 | 16 | { | 
 
 
 
 
 | 17 | } | 
 
 
 
 
 | 18 |  | 
 
 
 
 
 | 19 | // Currently only used by readers/writers, probably not needed for the rest | 
 
 
 
 
 | 20 | internal int Offset { get; set; } | 
 
 
 
 
 | 21 |  | 
 
 
 
 
 | 22 | public int Set { get; set; } | 
 
 
 
 
 | 23 |  | 
 
 
 
 
 | 24 | public List<int> Indices => indices; | 
 
 
 
 
 | 25 | } | 
 
 
 
 
 | 26 | } |