public QuantizationParameters(ByteReader reader) { BitsPerVertex = reader.ReadU8(); NormalBitsFactor = reader.ReadU8(); BitsPerTextureCoord = reader.ReadU8(); BitsPerColor = reader.ReadU8(); }
protected override void ReadV8(ByteReader reader) { base.ReadV8(reader); Vers0DataFlags = reader.ReadU8(); VersionNumber = reader.ReadI16(); if (VersionNumber > 0) { Vers1DataFlags = reader.ReadU8(); } }
protected override void ReadV8(ByteReader reader) { base.ReadV8( reader ); VersionNumber = reader.ReadI16(); DataFlags = reader.ReadU8(); PointSize = reader.ReadF32(); }
protected override void ReadV8(ByteReader reader) { base.ReadV8(reader); DataFlags = reader.ReadU8(); LineWidth = reader.ReadF32(); }
public PrimitiveSetQuantizationParameters(ByteReader reader) { BitsPerVertex = reader.ReadU8(); BitsPerColor = reader.ReadU8(); }
private void ReadV8(ByteReader reader) { CODEC = (CODEC)reader.ReadU8(); switch (CODEC) { case CODEC.Arithmetic: case CODEC.Huffman: ProbabilityContexts = new Int32ProbabilityContexts(); OutOfBandValueCount = reader.ReadI32(); if (OutOfBandValueCount > 0) { OutOfBandData = new Int32CompressedDataPacket(); OutOfBandData.ReadV8(reader); } break; } if (CODEC != CODEC.Null) { CodeTextLength = reader.ReadI32(); ValueElementCount = reader.ReadI32(); } }