internal DecoratorCacheBlockDataBlockBase(BinaryReader binaryReader) { this.placements = ReadDecoratorPlacementBlockArray(binaryReader); this.decalVertices = ReadDecalVerticesBlockArray(binaryReader); this.decalIndices = ReadIndicesBlockArray(binaryReader); this.decalVertexBuffer = binaryReader.ReadVertexBuffer(); this.invalidName_ = binaryReader.ReadBytes(16); this.spriteVertices = ReadSpriteVerticesBlockArray(binaryReader); this.spriteIndices = ReadIndicesBlockArray(binaryReader); this.spriteVertexBuffer = binaryReader.ReadVertexBuffer(); this.invalidName_0 = binaryReader.ReadBytes(16); }
public override System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> ReadFields(System.IO.BinaryReader binaryReader) { System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(base.ReadFields(binaryReader)); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(22)); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(31)); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(2)); this.DecalVertexBuffer = binaryReader.ReadVertexBuffer(); this.fieldpad = binaryReader.ReadBytes(16); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(47)); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(2)); this.SpriteVertexBuffer = binaryReader.ReadVertexBuffer(); this.fieldpad0 = binaryReader.ReadBytes(16); return(pointerQueue); }
public override System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> ReadFields(System.IO.BinaryReader binaryReader) { System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(base.ReadFields(binaryReader)); this.VertexBuffer = binaryReader.ReadVertexBuffer(); return(pointerQueue); }
internal GlobalGeometrySectionVertexBufferBlockBase(BinaryReader binaryReader) { this.vertexBuffer = binaryReader.ReadVertexBuffer(); }
internal PrtVertexBuffersBlockBase(BinaryReader binaryReader) { this.vertexBuffer = binaryReader.ReadVertexBuffer(); }
public static void Write(this BinaryWriter binaryWriter, VertexBuffer value) { binaryWriter.Write((int)value.Type); binaryWriter.Write(new byte[28]); }