structPVR__Texture__Header.html 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
  3. <title>PowerVR SDK</title>
  4. <link href="doxygen.css" rel="stylesheet" type="text/css">
  5. <link href="tabs.css" rel="stylesheet" type="text/css">
  6. <table width="100%">
  7. <tr>
  8. <td width="33%">
  9. <p align="left">&nbsp;<a href="http://www.imgtec.com"><img border="0" src="IMGLogo.jpg" width="200" height="30"></a></p>
  10. </td>
  11. <td width="33%">
  12. <p align="center"><font color="#808080" face="Arial" size="2">PowerVR Software Development Kit</a></font></p>
  13. </td>
  14. <td width="34%">
  15. <p align="right"><a href="http://www.powervr.com"><img border="0" src="PVRlogo.jpg" width="200" height="27"></a></p>
  16. </td>
  17. </tr>
  18. </table>
  19. <hr>
  20. </head><body>
  21. <!-- Generated by Doxygen 1.3.6 -->
  22. <div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
  23. <h1>PVR_Texture_Header Struct Reference</h1><code>#include &lt;<a class="el" href="PVRTTexture_8h-source.html">PVRTTexture.h</a>&gt;</code>
  24. <p>
  25. <a href="structPVR__Texture__Header-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
  26. <tr><td></td></tr>
  27. <tr><td colspan=2><br><h2>Public Attributes</h2></td></tr>
  28. <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVR__Texture__Header.html#o0">dwHeaderSize</a></td></tr>
  29. <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVR__Texture__Header.html#o1">dwHeight</a></td></tr>
  30. <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVR__Texture__Header.html#o2">dwWidth</a></td></tr>
  31. <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVR__Texture__Header.html#o3">dwMipMapCount</a></td></tr>
  32. <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVR__Texture__Header.html#o4">dwpfFlags</a></td></tr>
  33. <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVR__Texture__Header.html#o5">dwTextureDataSize</a></td></tr>
  34. <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVR__Texture__Header.html#o6">dwBitCount</a></td></tr>
  35. <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVR__Texture__Header.html#o7">dwRBitMask</a></td></tr>
  36. <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVR__Texture__Header.html#o8">dwGBitMask</a></td></tr>
  37. <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVR__Texture__Header.html#o9">dwBBitMask</a></td></tr>
  38. <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVR__Texture__Header.html#o10">dwAlphaBitMask</a></td></tr>
  39. <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVR__Texture__Header.html#o11">dwPVR</a></td></tr>
  40. <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVR__Texture__Header.html#o12">dwNumSurfs</a></td></tr>
  41. </table>
  42. <hr><a name="_details"></a><h2>Detailed Description</h2>
  43. Describes the header of a PVR header-texture
  44. <p>
  45. <hr><h2>Member Data Documentation</h2>
  46. <a class="anchor" name="o10" doxytag="PVR_Texture_Header::dwAlphaBitMask" ></a><p>
  47. <br><br><h3>dwAlphaBitMask</h3><br><div>
  48. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  49. <tr>
  50. <td class="mdRow">
  51. <table cellpadding="0" cellspacing="0" border="0">
  52. <tr>
  53. <td class="md" nowrap valign="top"> <a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a> <a class="el" href="structPVR__Texture__Header.html#o10">PVR_Texture_Header::dwAlphaBitMask</a>
  54. </table>
  55. </td>
  56. </tr>
  57. </table>
  58. <table cellspacing=5 cellpadding=0 border=0>
  59. <tr>
  60. <td>
  61. &nbsp;
  62. </td>
  63. <td>
  64. <p>
  65. mask for alpha channel </td>
  66. </tr>
  67. </table>
  68. <a class="anchor" name="o9" doxytag="PVR_Texture_Header::dwBBitMask" ></a><p>
  69. <br><br><h3>dwBBitMask</h3><br><div>
  70. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  71. <tr>
  72. <td class="mdRow">
  73. <table cellpadding="0" cellspacing="0" border="0">
  74. <tr>
  75. <td class="md" nowrap valign="top"> <a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a> <a class="el" href="structPVR__Texture__Header.html#o9">PVR_Texture_Header::dwBBitMask</a>
  76. </table>
  77. </td>
  78. </tr>
  79. </table>
  80. <table cellspacing=5 cellpadding=0 border=0>
  81. <tr>
  82. <td>
  83. &nbsp;
  84. </td>
  85. <td>
  86. <p>
  87. mask for blue bits </td>
  88. </tr>
  89. </table>
  90. <a class="anchor" name="o6" doxytag="PVR_Texture_Header::dwBitCount" ></a><p>
  91. <br><br><h3>dwBitCount</h3><br><div>
  92. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  93. <tr>
  94. <td class="mdRow">
  95. <table cellpadding="0" cellspacing="0" border="0">
  96. <tr>
  97. <td class="md" nowrap valign="top"> <a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a> <a class="el" href="structPVR__Texture__Header.html#o6">PVR_Texture_Header::dwBitCount</a>
  98. </table>
  99. </td>
  100. </tr>
  101. </table>
  102. <table cellspacing=5 cellpadding=0 border=0>
  103. <tr>
  104. <td>
  105. &nbsp;
  106. </td>
  107. <td>
  108. <p>
  109. number of bits per pixel </td>
  110. </tr>
  111. </table>
  112. <a class="anchor" name="o8" doxytag="PVR_Texture_Header::dwGBitMask" ></a><p>
  113. <br><br><h3>dwGBitMask</h3><br><div>
  114. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  115. <tr>
  116. <td class="mdRow">
  117. <table cellpadding="0" cellspacing="0" border="0">
  118. <tr>
  119. <td class="md" nowrap valign="top"> <a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a> <a class="el" href="structPVR__Texture__Header.html#o8">PVR_Texture_Header::dwGBitMask</a>
  120. </table>
  121. </td>
  122. </tr>
  123. </table>
  124. <table cellspacing=5 cellpadding=0 border=0>
  125. <tr>
  126. <td>
  127. &nbsp;
  128. </td>
  129. <td>
  130. <p>
  131. mask for green bits </td>
  132. </tr>
  133. </table>
  134. <a class="anchor" name="o0" doxytag="PVR_Texture_Header::dwHeaderSize" ></a><p>
  135. <br><br><h3>dwHeaderSize</h3><br><div>
  136. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  137. <tr>
  138. <td class="mdRow">
  139. <table cellpadding="0" cellspacing="0" border="0">
  140. <tr>
  141. <td class="md" nowrap valign="top"> <a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a> <a class="el" href="structPVR__Texture__Header.html#o0">PVR_Texture_Header::dwHeaderSize</a>
  142. </table>
  143. </td>
  144. </tr>
  145. </table>
  146. <table cellspacing=5 cellpadding=0 border=0>
  147. <tr>
  148. <td>
  149. &nbsp;
  150. </td>
  151. <td>
  152. <p>
  153. size of the structure </td>
  154. </tr>
  155. </table>
  156. <a class="anchor" name="o1" doxytag="PVR_Texture_Header::dwHeight" ></a><p>
  157. <br><br><h3>dwHeight</h3><br><div>
  158. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  159. <tr>
  160. <td class="mdRow">
  161. <table cellpadding="0" cellspacing="0" border="0">
  162. <tr>
  163. <td class="md" nowrap valign="top"> <a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a> <a class="el" href="structPVR__Texture__Header.html#o1">PVR_Texture_Header::dwHeight</a>
  164. </table>
  165. </td>
  166. </tr>
  167. </table>
  168. <table cellspacing=5 cellpadding=0 border=0>
  169. <tr>
  170. <td>
  171. &nbsp;
  172. </td>
  173. <td>
  174. <p>
  175. height of surface to be created </td>
  176. </tr>
  177. </table>
  178. <a class="anchor" name="o3" doxytag="PVR_Texture_Header::dwMipMapCount" ></a><p>
  179. <br><br><h3>dwMipMapCount</h3><br><div>
  180. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  181. <tr>
  182. <td class="mdRow">
  183. <table cellpadding="0" cellspacing="0" border="0">
  184. <tr>
  185. <td class="md" nowrap valign="top"> <a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a> <a class="el" href="structPVR__Texture__Header.html#o3">PVR_Texture_Header::dwMipMapCount</a>
  186. </table>
  187. </td>
  188. </tr>
  189. </table>
  190. <table cellspacing=5 cellpadding=0 border=0>
  191. <tr>
  192. <td>
  193. &nbsp;
  194. </td>
  195. <td>
  196. <p>
  197. number of mip-map levels requested </td>
  198. </tr>
  199. </table>
  200. <a class="anchor" name="o12" doxytag="PVR_Texture_Header::dwNumSurfs" ></a><p>
  201. <br><br><h3>dwNumSurfs</h3><br><div>
  202. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  203. <tr>
  204. <td class="mdRow">
  205. <table cellpadding="0" cellspacing="0" border="0">
  206. <tr>
  207. <td class="md" nowrap valign="top"> <a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a> <a class="el" href="structPVR__Texture__Header.html#o12">PVR_Texture_Header::dwNumSurfs</a>
  208. </table>
  209. </td>
  210. </tr>
  211. </table>
  212. <table cellspacing=5 cellpadding=0 border=0>
  213. <tr>
  214. <td>
  215. &nbsp;
  216. </td>
  217. <td>
  218. <p>
  219. the number of surfaces present in the pvr </td>
  220. </tr>
  221. </table>
  222. <a class="anchor" name="o4" doxytag="PVR_Texture_Header::dwpfFlags" ></a><p>
  223. <br><br><h3>dwpfFlags</h3><br><div>
  224. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  225. <tr>
  226. <td class="mdRow">
  227. <table cellpadding="0" cellspacing="0" border="0">
  228. <tr>
  229. <td class="md" nowrap valign="top"> <a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a> <a class="el" href="structPVR__Texture__Header.html#o4">PVR_Texture_Header::dwpfFlags</a>
  230. </table>
  231. </td>
  232. </tr>
  233. </table>
  234. <table cellspacing=5 cellpadding=0 border=0>
  235. <tr>
  236. <td>
  237. &nbsp;
  238. </td>
  239. <td>
  240. <p>
  241. pixel format flags </td>
  242. </tr>
  243. </table>
  244. <a class="anchor" name="o11" doxytag="PVR_Texture_Header::dwPVR" ></a><p>
  245. <br><br><h3>dwPVR</h3><br><div>
  246. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  247. <tr>
  248. <td class="mdRow">
  249. <table cellpadding="0" cellspacing="0" border="0">
  250. <tr>
  251. <td class="md" nowrap valign="top"> <a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a> <a class="el" href="structPVR__Texture__Header.html#o11">PVR_Texture_Header::dwPVR</a>
  252. </table>
  253. </td>
  254. </tr>
  255. </table>
  256. <table cellspacing=5 cellpadding=0 border=0>
  257. <tr>
  258. <td>
  259. &nbsp;
  260. </td>
  261. <td>
  262. <p>
  263. magic number identifying pvr file </td>
  264. </tr>
  265. </table>
  266. <a class="anchor" name="o7" doxytag="PVR_Texture_Header::dwRBitMask" ></a><p>
  267. <br><br><h3>dwRBitMask</h3><br><div>
  268. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  269. <tr>
  270. <td class="mdRow">
  271. <table cellpadding="0" cellspacing="0" border="0">
  272. <tr>
  273. <td class="md" nowrap valign="top"> <a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a> <a class="el" href="structPVR__Texture__Header.html#o7">PVR_Texture_Header::dwRBitMask</a>
  274. </table>
  275. </td>
  276. </tr>
  277. </table>
  278. <table cellspacing=5 cellpadding=0 border=0>
  279. <tr>
  280. <td>
  281. &nbsp;
  282. </td>
  283. <td>
  284. <p>
  285. mask for red bit </td>
  286. </tr>
  287. </table>
  288. <a class="anchor" name="o5" doxytag="PVR_Texture_Header::dwTextureDataSize" ></a><p>
  289. <br><br><h3>dwTextureDataSize</h3><br><div>
  290. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  291. <tr>
  292. <td class="mdRow">
  293. <table cellpadding="0" cellspacing="0" border="0">
  294. <tr>
  295. <td class="md" nowrap valign="top"> <a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a> <a class="el" href="structPVR__Texture__Header.html#o5">PVR_Texture_Header::dwTextureDataSize</a>
  296. </table>
  297. </td>
  298. </tr>
  299. </table>
  300. <table cellspacing=5 cellpadding=0 border=0>
  301. <tr>
  302. <td>
  303. &nbsp;
  304. </td>
  305. <td>
  306. <p>
  307. Total size in bytes </td>
  308. </tr>
  309. </table>
  310. <a class="anchor" name="o2" doxytag="PVR_Texture_Header::dwWidth" ></a><p>
  311. <br><br><h3>dwWidth</h3><br><div>
  312. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  313. <tr>
  314. <td class="mdRow">
  315. <table cellpadding="0" cellspacing="0" border="0">
  316. <tr>
  317. <td class="md" nowrap valign="top"> <a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a> <a class="el" href="structPVR__Texture__Header.html#o2">PVR_Texture_Header::dwWidth</a>
  318. </table>
  319. </td>
  320. </tr>
  321. </table>
  322. <table cellspacing=5 cellpadding=0 border=0>
  323. <tr>
  324. <td>
  325. &nbsp;
  326. </td>
  327. <td>
  328. <p>
  329. width of input surface </td>
  330. </tr>
  331. </table>
  332. <hr>The documentation for this struct was generated from the following file:<ul>
  333. <li><a class="el" href="PVRTTexture_8h-source.html">PVRTTexture.h</a></ul>
  334. <br>
  335. <br>
  336. <P align=left><FONT size=2><STRONG><A
  337. href="http://www.imgtec.com/powervr/insider/legal/index.asp">Copyright</A> ©
  338. 1999-2008, Imagination Technologies Ltd.</STRONG></FONT></P>
  339. <hr>
  340. <address style="align: left;"><small><FONT color=f0f>
  341. Generated by <a href="http://www.doxygen.org/index.html">DOXYGEN</a> 1.3.6</small></address>
  342. </body>
  343. </html>