本文整理匯總了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();
}
}