コード例 #1
0
 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);
 }
コード例 #2
0
 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);
 }
コード例 #3
0
 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);
 }
コード例 #4
0
 internal GlobalGeometrySectionVertexBufferBlockBase(BinaryReader binaryReader)
 {
     this.vertexBuffer = binaryReader.ReadVertexBuffer();
 }
コード例 #5
0
 internal PrtVertexBuffersBlockBase(BinaryReader binaryReader)
 {
     this.vertexBuffer = binaryReader.ReadVertexBuffer();
 }
コード例 #6
0
 public static void Write(this BinaryWriter binaryWriter, VertexBuffer value)
 {
     binaryWriter.Write((int)value.Type);
     binaryWriter.Write(new byte[28]);
 }