Advertisement
Ember

Texture Header

Apr 27th, 2014
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.29 KB | None | 0 0
  1. struct Header
  2. {
  3.     // Texture information (16/32 bits)
  4.     UInt Width : 4;
  5.     UInt Height : 4;
  6.     UInt Depth : 4;
  7.     UInt Type : 2;
  8.     UInt Mips : 1;
  9.     UInt Unused : 1;
  10.     // Pixel information (24/32 bits)
  11.     UInt Format : 8;
  12.     // Flags (32/32 bits)
  13.     UInt Flags : 8;
  14. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement