本文整理汇总了C#中libJT.Utilities.ByteReader.ReadU8方法的典型用法代码示例。如果您正苦于以下问题:C# ByteReader.ReadU8方法的具体用法?C# ByteReader.ReadU8怎么用?C# ByteReader.ReadU8使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类libJT.Utilities.ByteReader
的用法示例。
在下文中一共展示了ByteReader.ReadU8方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: QuantizationParameters
public QuantizationParameters(ByteReader reader)
{
BitsPerVertex = reader.ReadU8();
NormalBitsFactor = reader.ReadU8();
BitsPerTextureCoord = reader.ReadU8();
BitsPerColor = reader.ReadU8();
}
示例2: ReadV8
protected override void ReadV8(ByteReader reader)
{
base.ReadV8(reader);
Vers0DataFlags = reader.ReadU8();
VersionNumber = reader.ReadI16();
if (VersionNumber > 0) {
Vers1DataFlags = reader.ReadU8();
}
}
示例3: ReadV8
protected override void ReadV8(ByteReader reader)
{
base.ReadV8( reader );
VersionNumber = reader.ReadI16();
DataFlags = reader.ReadU8();
PointSize = reader.ReadF32();
}
示例4: ReadV8
protected override void ReadV8(ByteReader reader)
{
base.ReadV8(reader);
DataFlags = reader.ReadU8();
LineWidth = reader.ReadF32();
}
示例5: PrimitiveSetQuantizationParameters
public PrimitiveSetQuantizationParameters(ByteReader reader)
{
BitsPerVertex = reader.ReadU8();
BitsPerColor = reader.ReadU8();
}
示例6: ReadV8
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();
}
}