public Geometry(BufferReader reader, RenderwaveVersion version)
 {
     this.version = version;
     this.reader  = reader;
     offset       = reader.Position;
     Materials    = new List <Material>();
 }
示例#2
0
 public SectionHeader(BufferReader reader)
 {
     reader.PrewarmBuffer(12);
     Type = (SectionType)reader.ReadInt32();
     Size = reader.ReadInt32();
     reader.Skip(2);
     Version = (RenderwaveVersion)reader.ReadInt16();
 }