Пример #1
0
 private void Read_DDS_PIXELFORMAT(DDS_PIXELFORMAT p, BinaryReader r)
 {
     p.dwSize        = r.ReadInt32();
     p.dwFlags       = r.ReadInt32();
     p.dwFourCC      = r.ReadInt32();
     p.dwRGBBitCount = r.ReadInt32();
     p.dwRBitMask    = r.ReadInt32();
     p.dwGBitMask    = r.ReadInt32();
     p.dwBBitMask    = r.ReadInt32();
     p.dwABitMask    = r.ReadInt32();
 }
Пример #2
0
		private void Read_DDS_PIXELFORMAT(DDS_PIXELFORMAT p, BinaryReader r) {
			p.dwSize = r.ReadInt32();
			p.dwFlags = r.ReadInt32();
			p.dwFourCC = r.ReadInt32();
			p.dwRGBBitCount = r.ReadInt32();
			p.dwRBitMask = r.ReadInt32();
			p.dwGBitMask = r.ReadInt32();
			p.dwBBitMask = r.ReadInt32();
			p.dwABitMask = r.ReadInt32();
		}