123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505 |
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
- <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
- <title>PowerVR SDK</title>
- <link href="doxygen.css" rel="stylesheet" type="text/css">
- <link href="tabs.css" rel="stylesheet" type="text/css">
- <table width="100%">
- <tr>
- <td width="33%">
- <p align="left"> <a href="http://www.imgtec.com"><img border="0" src="IMGLogo.jpg" width="200" height="30"></a></p>
- </td>
- <td width="33%">
- <p align="center"><font color="#808080" face="Arial" size="2">PowerVR Software Development Kit</a></font></p>
- </td>
- <td width="34%">
- <p align="right"><a href="http://www.powervr.com"><img border="0" src="PVRlogo.jpg" width="200" height="27"></a></p>
- </td>
- </tr>
- </table>
- <hr>
- </head><body>
- <!-- Generated by Doxygen 1.3.6 -->
- <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div>
- <h1>SPODMesh Struct Reference</h1>Struct for storing POD mesh data.
- <a href="#_details">More...</a>
- <p>
- <code>#include <<a class="el" href="PVRTModelPOD_8h-source.html">PVRTModelPOD.h</a>></code>
- <p>
- Collaboration diagram for SPODMesh:<p><center><img src="structSPODMesh__coll__graph.png" border="0" usemap="#SPODMesh__coll__map" alt="Collaboration graph"></center>
- <map name="SPODMesh__coll__map">
- <area href="classCPVRTBoneBatches.html" shape="rect" coords="7,7,154,34" alt="">
- <area href="classPVRTMATRIXf.html" shape="rect" coords="178,7,290,34" alt="">
- <area href="classCPODData.html" shape="rect" coords="315,7,403,34" alt="">
- <area href="structEPODPrimitiveType.html" shape="rect" coords="427,7,568,34" alt="">
- </map>
- <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="structSPODMesh-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
- <tr><td></td></tr>
- <tr><td colspan=2><br><h2>Public Attributes</h2></td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top>unsigned int </td><td class="memItemRight" valign=bottom><a class="el" href="structSPODMesh.html#o0">nNumVertex</a></td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top>unsigned int </td><td class="memItemRight" valign=bottom><a class="el" href="structSPODMesh.html#o1">nNumFaces</a></td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top>unsigned int </td><td class="memItemRight" valign=bottom><a class="el" href="structSPODMesh.html#o2">nNumUVW</a></td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classCPODData.html">CPODData</a> </td><td class="memItemRight" valign=bottom><a class="el" href="structSPODMesh.html#o3">sFaces</a></td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top>unsigned int * </td><td class="memItemRight" valign=bottom><a class="el" href="structSPODMesh.html#o4">pnStripLength</a></td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top>unsigned int </td><td class="memItemRight" valign=bottom><a class="el" href="structSPODMesh.html#o5">nNumStrips</a></td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classCPODData.html">CPODData</a> </td><td class="memItemRight" valign=bottom><a class="el" href="structSPODMesh.html#o6">sVertex</a></td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classCPODData.html">CPODData</a> </td><td class="memItemRight" valign=bottom><a class="el" href="structSPODMesh.html#o7">sNormals</a></td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classCPODData.html">CPODData</a> </td><td class="memItemRight" valign=bottom><a class="el" href="structSPODMesh.html#o8">sTangents</a></td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classCPODData.html">CPODData</a> </td><td class="memItemRight" valign=bottom><a class="el" href="structSPODMesh.html#o9">sBinormals</a></td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classCPODData.html">CPODData</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="structSPODMesh.html#o10">psUVW</a></td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classCPODData.html">CPODData</a> </td><td class="memItemRight" valign=bottom><a class="el" href="structSPODMesh.html#o11">sVtxColours</a></td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classCPODData.html">CPODData</a> </td><td class="memItemRight" valign=bottom><a class="el" href="structSPODMesh.html#o12">sBoneIdx</a></td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classCPODData.html">CPODData</a> </td><td class="memItemRight" valign=bottom><a class="el" href="structSPODMesh.html#o13">sBoneWeight</a></td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top>unsigned char * </td><td class="memItemRight" valign=bottom><a class="el" href="structSPODMesh.html#o14">pInterleaved</a></td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classCPVRTBoneBatches.html">CPVRTBoneBatches</a> </td><td class="memItemRight" valign=bottom><a class="el" href="structSPODMesh.html#o15">sBoneBatches</a></td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="structEPODPrimitiveType.html">EPODPrimitiveType</a> </td><td class="memItemRight" valign=bottom><a class="el" href="structSPODMesh.html#o16">ePrimitiveType</a></td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classPVRTMATRIXf.html">PVRTMATRIX</a> </td><td class="memItemRight" valign=bottom><a class="el" href="structSPODMesh.html#o17">mUnpackMatrix</a></td></tr>
- </table>
- <hr><a name="_details"></a><h2>Detailed Description</h2>
- Struct for storing POD mesh data.
- <p>
- <hr><h2>Member Data Documentation</h2>
- <a class="anchor" name="o16" doxytag="SPODMesh::ePrimitiveType" ></a><p>
- <br><br><h3>ePrimitiveType</h3><br><div>
- <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
- <tr>
- <td class="mdRow">
- <table cellpadding="0" cellspacing="0" border="0">
- <tr>
- <td class="md" nowrap valign="top"> <a class="el" href="structEPODPrimitiveType.html">EPODPrimitiveType</a> <a class="el" href="structSPODMesh.html#o16">SPODMesh::ePrimitiveType</a>
- </table>
- </td>
- </tr>
- </table>
- <table cellspacing=5 cellpadding=0 border=0>
- <tr>
- <td>
-
- </td>
- <td>
- <p>
- Primitive type used by this mesh </td>
- </tr>
- </table>
- <a class="anchor" name="o17" doxytag="SPODMesh::mUnpackMatrix" ></a><p>
- <br><br><h3>mUnpackMatrix</h3><br><div>
- <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
- <tr>
- <td class="mdRow">
- <table cellpadding="0" cellspacing="0" border="0">
- <tr>
- <td class="md" nowrap valign="top"> <a class="el" href="classPVRTMATRIXf.html">PVRTMATRIX</a> <a class="el" href="structSPODMesh.html#o17">SPODMesh::mUnpackMatrix</a>
- </table>
- </td>
- </tr>
- </table>
- <table cellspacing=5 cellpadding=0 border=0>
- <tr>
- <td>
-
- </td>
- <td>
- <p>
- A matrix used for unscaling scaled vertex data created with PVRTModelPODScaleAndConvertVtxData </td>
- </tr>
- </table>
- <a class="anchor" name="o1" doxytag="SPODMesh::nNumFaces" ></a><p>
- <br><br><h3>nNumFaces</h3><br><div>
- <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
- <tr>
- <td class="mdRow">
- <table cellpadding="0" cellspacing="0" border="0">
- <tr>
- <td class="md" nowrap valign="top"> unsigned int <a class="el" href="structSPODMesh.html#o1">SPODMesh::nNumFaces</a>
- </table>
- </td>
- </tr>
- </table>
- <table cellspacing=5 cellpadding=0 border=0>
- <tr>
- <td>
-
- </td>
- <td>
- <p>
- Number of triangles in the mesh </td>
- </tr>
- </table>
- <a class="anchor" name="o5" doxytag="SPODMesh::nNumStrips" ></a><p>
- <br><br><h3>nNumStrips</h3><br><div>
- <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
- <tr>
- <td class="mdRow">
- <table cellpadding="0" cellspacing="0" border="0">
- <tr>
- <td class="md" nowrap valign="top"> unsigned int <a class="el" href="structSPODMesh.html#o5">SPODMesh::nNumStrips</a>
- </table>
- </td>
- </tr>
- </table>
- <table cellspacing=5 cellpadding=0 border=0>
- <tr>
- <td>
-
- </td>
- <td>
- <p>
- If mesh is stripped: number of strips, length of pnStripLength array. </td>
- </tr>
- </table>
- <a class="anchor" name="o2" doxytag="SPODMesh::nNumUVW" ></a><p>
- <br><br><h3>nNumUVW</h3><br><div>
- <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
- <tr>
- <td class="mdRow">
- <table cellpadding="0" cellspacing="0" border="0">
- <tr>
- <td class="md" nowrap valign="top"> unsigned int <a class="el" href="structSPODMesh.html#o2">SPODMesh::nNumUVW</a>
- </table>
- </td>
- </tr>
- </table>
- <table cellspacing=5 cellpadding=0 border=0>
- <tr>
- <td>
-
- </td>
- <td>
- <p>
- Number of texture coordinate channels per vertex </td>
- </tr>
- </table>
- <a class="anchor" name="o0" doxytag="SPODMesh::nNumVertex" ></a><p>
- <br><br><h3>nNumVertex</h3><br><div>
- <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
- <tr>
- <td class="mdRow">
- <table cellpadding="0" cellspacing="0" border="0">
- <tr>
- <td class="md" nowrap valign="top"> unsigned int <a class="el" href="structSPODMesh.html#o0">SPODMesh::nNumVertex</a>
- </table>
- </td>
- </tr>
- </table>
- <table cellspacing=5 cellpadding=0 border=0>
- <tr>
- <td>
-
- </td>
- <td>
- <p>
- Number of vertices in the mesh </td>
- </tr>
- </table>
- <a class="anchor" name="o14" doxytag="SPODMesh::pInterleaved" ></a><p>
- <br><br><h3>pInterleaved</h3><br><div>
- <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
- <tr>
- <td class="mdRow">
- <table cellpadding="0" cellspacing="0" border="0">
- <tr>
- <td class="md" nowrap valign="top"> unsigned char* <a class="el" href="structSPODMesh.html#o14">SPODMesh::pInterleaved</a>
- </table>
- </td>
- </tr>
- </table>
- <table cellspacing=5 cellpadding=0 border=0>
- <tr>
- <td>
-
- </td>
- <td>
- <p>
- Interleaved vertex data </td>
- </tr>
- </table>
- <a class="anchor" name="o4" doxytag="SPODMesh::pnStripLength" ></a><p>
- <br><br><h3>pnStripLength</h3><br><div>
- <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
- <tr>
- <td class="mdRow">
- <table cellpadding="0" cellspacing="0" border="0">
- <tr>
- <td class="md" nowrap valign="top"> unsigned int* <a class="el" href="structSPODMesh.html#o4">SPODMesh::pnStripLength</a>
- </table>
- </td>
- </tr>
- </table>
- <table cellspacing=5 cellpadding=0 border=0>
- <tr>
- <td>
-
- </td>
- <td>
- <p>
- If mesh is stripped: number of tris per strip. </td>
- </tr>
- </table>
- <a class="anchor" name="o10" doxytag="SPODMesh::psUVW" ></a><p>
- <br><br><h3>psUVW</h3><br><div>
- <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
- <tr>
- <td class="mdRow">
- <table cellpadding="0" cellspacing="0" border="0">
- <tr>
- <td class="md" nowrap valign="top"> <a class="el" href="classCPODData.html">CPODData</a>* <a class="el" href="structSPODMesh.html#o10">SPODMesh::psUVW</a>
- </table>
- </td>
- </tr>
- </table>
- <table cellspacing=5 cellpadding=0 border=0>
- <tr>
- <td>
-
- </td>
- <td>
- <p>
- List of UVW coordinate sets; size of array given by 'nNumUVW' </td>
- </tr>
- </table>
- <a class="anchor" name="o9" doxytag="SPODMesh::sBinormals" ></a><p>
- <br><br><h3>sBinormals</h3><br><div>
- <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
- <tr>
- <td class="mdRow">
- <table cellpadding="0" cellspacing="0" border="0">
- <tr>
- <td class="md" nowrap valign="top"> <a class="el" href="classCPODData.html">CPODData</a> <a class="el" href="structSPODMesh.html#o9">SPODMesh::sBinormals</a>
- </table>
- </td>
- </tr>
- </table>
- <table cellspacing=5 cellpadding=0 border=0>
- <tr>
- <td>
-
- </td>
- <td>
- <p>
- List of vertex binormals (Bx0, By0, Bz0, Bx1, By1, Bz1, Bx2, etc...) </td>
- </tr>
- </table>
- <a class="anchor" name="o15" doxytag="SPODMesh::sBoneBatches" ></a><p>
- <br><br><h3>sBoneBatches</h3><br><div>
- <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
- <tr>
- <td class="mdRow">
- <table cellpadding="0" cellspacing="0" border="0">
- <tr>
- <td class="md" nowrap valign="top"> <a class="el" href="classCPVRTBoneBatches.html">CPVRTBoneBatches</a> <a class="el" href="structSPODMesh.html#o15">SPODMesh::sBoneBatches</a>
- </table>
- </td>
- </tr>
- </table>
- <table cellspacing=5 cellpadding=0 border=0>
- <tr>
- <td>
-
- </td>
- <td>
- <p>
- Bone tables </td>
- </tr>
- </table>
- <a class="anchor" name="o12" doxytag="SPODMesh::sBoneIdx" ></a><p>
- <br><br><h3>sBoneIdx</h3><br><div>
- <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
- <tr>
- <td class="mdRow">
- <table cellpadding="0" cellspacing="0" border="0">
- <tr>
- <td class="md" nowrap valign="top"> <a class="el" href="classCPODData.html">CPODData</a> <a class="el" href="structSPODMesh.html#o12">SPODMesh::sBoneIdx</a>
- </table>
- </td>
- </tr>
- </table>
- <table cellspacing=5 cellpadding=0 border=0>
- <tr>
- <td>
-
- </td>
- <td>
- <p>
- nNumBones*nNumVertex ints (Vtx0Idx0, Vtx0Idx1, ... Vtx1Idx0, Vtx1Idx1, ...) </td>
- </tr>
- </table>
- <a class="anchor" name="o13" doxytag="SPODMesh::sBoneWeight" ></a><p>
- <br><br><h3>sBoneWeight</h3><br><div>
- <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
- <tr>
- <td class="mdRow">
- <table cellpadding="0" cellspacing="0" border="0">
- <tr>
- <td class="md" nowrap valign="top"> <a class="el" href="classCPODData.html">CPODData</a> <a class="el" href="structSPODMesh.html#o13">SPODMesh::sBoneWeight</a>
- </table>
- </td>
- </tr>
- </table>
- <table cellspacing=5 cellpadding=0 border=0>
- <tr>
- <td>
-
- </td>
- <td>
- <p>
- nNumBones*nNumVertex floats (Vtx0Wt0, Vtx0Wt1, ... Vtx1Wt0, Vtx1Wt1, ...) </td>
- </tr>
- </table>
- <a class="anchor" name="o3" doxytag="SPODMesh::sFaces" ></a><p>
- <br><br><h3>sFaces</h3><br><div>
- <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
- <tr>
- <td class="mdRow">
- <table cellpadding="0" cellspacing="0" border="0">
- <tr>
- <td class="md" nowrap valign="top"> <a class="el" href="classCPODData.html">CPODData</a> <a class="el" href="structSPODMesh.html#o3">SPODMesh::sFaces</a>
- </table>
- </td>
- </tr>
- </table>
- <table cellspacing=5 cellpadding=0 border=0>
- <tr>
- <td>
-
- </td>
- <td>
- <p>
- List of triangle indices </td>
- </tr>
- </table>
- <a class="anchor" name="o7" doxytag="SPODMesh::sNormals" ></a><p>
- <br><br><h3>sNormals</h3><br><div>
- <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
- <tr>
- <td class="mdRow">
- <table cellpadding="0" cellspacing="0" border="0">
- <tr>
- <td class="md" nowrap valign="top"> <a class="el" href="classCPODData.html">CPODData</a> <a class="el" href="structSPODMesh.html#o7">SPODMesh::sNormals</a>
- </table>
- </td>
- </tr>
- </table>
- <table cellspacing=5 cellpadding=0 border=0>
- <tr>
- <td>
-
- </td>
- <td>
- <p>
- List of vertex normals (Nx0, Ny0, Nz0, Nx1, Ny1, Nz1, Nx2, etc...) </td>
- </tr>
- </table>
- <a class="anchor" name="o8" doxytag="SPODMesh::sTangents" ></a><p>
- <br><br><h3>sTangents</h3><br><div>
- <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
- <tr>
- <td class="mdRow">
- <table cellpadding="0" cellspacing="0" border="0">
- <tr>
- <td class="md" nowrap valign="top"> <a class="el" href="classCPODData.html">CPODData</a> <a class="el" href="structSPODMesh.html#o8">SPODMesh::sTangents</a>
- </table>
- </td>
- </tr>
- </table>
- <table cellspacing=5 cellpadding=0 border=0>
- <tr>
- <td>
-
- </td>
- <td>
- <p>
- List of vertex tangents (Tx0, Ty0, Tz0, Tx1, Ty1, Tz1, Tx2, etc...) </td>
- </tr>
- </table>
- <a class="anchor" name="o6" doxytag="SPODMesh::sVertex" ></a><p>
- <br><br><h3>sVertex</h3><br><div>
- <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
- <tr>
- <td class="mdRow">
- <table cellpadding="0" cellspacing="0" border="0">
- <tr>
- <td class="md" nowrap valign="top"> <a class="el" href="classCPODData.html">CPODData</a> <a class="el" href="structSPODMesh.html#o6">SPODMesh::sVertex</a>
- </table>
- </td>
- </tr>
- </table>
- <table cellspacing=5 cellpadding=0 border=0>
- <tr>
- <td>
-
- </td>
- <td>
- <p>
- List of vertices (x0, y0, z0, x1, y1, z1, x2, etc...) </td>
- </tr>
- </table>
- <a class="anchor" name="o11" doxytag="SPODMesh::sVtxColours" ></a><p>
- <br><br><h3>sVtxColours</h3><br><div>
- <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
- <tr>
- <td class="mdRow">
- <table cellpadding="0" cellspacing="0" border="0">
- <tr>
- <td class="md" nowrap valign="top"> <a class="el" href="classCPODData.html">CPODData</a> <a class="el" href="structSPODMesh.html#o11">SPODMesh::sVtxColours</a>
- </table>
- </td>
- </tr>
- </table>
- <table cellspacing=5 cellpadding=0 border=0>
- <tr>
- <td>
-
- </td>
- <td>
- <p>
- A colour per vertex </td>
- </tr>
- </table>
- <hr>The documentation for this struct was generated from the following file:<ul>
- <li><a class="el" href="PVRTModelPOD_8h-source.html">PVRTModelPOD.h</a></ul>
- <br>
- <br>
- <P align=left><FONT size=2><STRONG><A
- href="http://www.imgtec.com/powervr/insider/legal/index.asp">Copyright</A> ©
- 1999-2008, Imagination Technologies Ltd.</STRONG></FONT></P>
- <hr>
- <address style="align: left;"><small><FONT color=f0f>
- Generated by <a href="http://www.doxygen.org/index.html">DOXYGEN</a> 1.3.6</small></address>
- </body>
- </html>
|