Ejemplo n.º 1
0
 /// <summary>
 /// Read the pixel indices from the stream using given info, unswizzle it, and set the data as the pixel indices member value.
 /// </summary>
 private void ReadIndices(BinaryReader reader)
 {
     PS2PixelFormatHelper.ReadPixelData(RasterInfoStructNode.Tex0Register.TexturePixelFormat, reader, RasterInfoStructNode.Width, RasterInfoStructNode.Height, out mIndices);
     PS2PixelFormatHelper.UnSwizzle8(RasterInfoStructNode.Width, RasterInfoStructNode.Height, mIndices, out mIndices);
 }