private Read ( |
||
reader | ||
return | void |
public void Read(BinaryReader reader) { Size = reader.ReadUInt32(); HeaderFlags = reader.ReadUInt32(); Height = reader.ReadUInt32(); Width = reader.ReadUInt32(); PitchOrLinearSize = reader.ReadUInt32(); Depth = reader.ReadUInt32(); MipMapCount = reader.ReadUInt32(); Reserved1_0 = reader.ReadUInt32(); Reserved1_1 = reader.ReadUInt32(); Reserved1_2 = reader.ReadUInt32(); Reserved1_3 = reader.ReadUInt32(); Reserved1_4 = reader.ReadUInt32(); Reserved1_5 = reader.ReadUInt32(); Reserved1_6 = reader.ReadUInt32(); Reserved1_7 = reader.ReadUInt32(); Reserved1_8 = reader.ReadUInt32(); Reserved1_9 = reader.ReadUInt32(); Reserved1_10 = reader.ReadUInt32(); PixelFormat = new DdsPixelFormat(); PixelFormat.Read(reader); SurfaceFlags = reader.ReadUInt32(); CubemapFlags = reader.ReadUInt32(); Reserved2_0 = reader.ReadUInt32(); Reserved2_1 = reader.ReadUInt32(); Reserved2_2 = reader.ReadUInt32(); }
public void Read(BinaryReader reader) { Size = reader.ReadUInt32(); HeaderFlags = reader.ReadUInt32(); Height = reader.ReadUInt32(); Width = reader.ReadUInt32(); PitchOrLinearSize = reader.ReadUInt32(); Depth = reader.ReadUInt32(); MipMapCount = reader.ReadUInt32(); Reserved1_0 = reader.ReadUInt32(); Reserved1_1 = reader.ReadUInt32(); Reserved1_2 = reader.ReadUInt32(); Reserved1_3 = reader.ReadUInt32(); Reserved1_4 = reader.ReadUInt32(); Reserved1_5 = reader.ReadUInt32(); Reserved1_6 = reader.ReadUInt32(); Reserved1_7 = reader.ReadUInt32(); Reserved1_8 = reader.ReadUInt32(); Reserved1_9 = reader.ReadUInt32(); Reserved1_10 = reader.ReadUInt32(); PixelFormat = new DdsPixelFormat(); PixelFormat.Read(reader); SurfaceFlags = reader.ReadUInt32(); CubemapFlags = reader.ReadUInt32(); Reserved2_0 = reader.ReadUInt32(); Reserved2_1 = reader.ReadUInt32(); Reserved2_2 = reader.ReadUInt32(); }