123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341 |
- <!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>CPVRTBoneBatches Class Reference</h1>A class for processing vertices into bone batches.
- <a href="#_details">More...</a>
- <p>
- <code>#include <<a class="el" href="PVRTBoneBatch_8h-source.html">PVRTBoneBatch.h</a>></code>
- <p>
- <a href="classCPVRTBoneBatches-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 Member Functions</h2></td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="PVRTError_8h.html#a5">EPVRTError</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classCPVRTBoneBatches.html#a0">Create</a> (int *const pnVtxNumOut, char **const pVtxOut, unsigned int *const pui32Idx, const int nVtxNum, const char *const pVtx, const int nStride, const int nOffsetWeight, const <a class="el" href="PVRTVertex_8h.html#a24">EPVRTDataType</a> eTypeWeight, const int nOffsetIdx, const <a class="el" href="PVRTVertex_8h.html#a24">EPVRTDataType</a> eTypeIdx, const int nTriNum, const int <a class="el" href="classCPVRTBoneBatches.html#o3">nBatchBoneMax</a>, const int nVertexBones)</td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classCPVRTBoneBatches.html#a1">Release</a> ()</td></tr>
- <tr><td colspan=2><br><h2>Public Attributes</h2></td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top>int * </td><td class="memItemRight" valign=bottom><a class="el" href="classCPVRTBoneBatches.html#o0">pnBatches</a></td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top>int * </td><td class="memItemRight" valign=bottom><a class="el" href="classCPVRTBoneBatches.html#o1">pnBatchBoneCnt</a></td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top>int * </td><td class="memItemRight" valign=bottom><a class="el" href="classCPVRTBoneBatches.html#o2">pnBatchOffset</a></td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="classCPVRTBoneBatches.html#o3">nBatchBoneMax</a></td></tr>
- <tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="classCPVRTBoneBatches.html#o4">nBatchCnt</a></td></tr>
- </table>
- <hr><a name="_details"></a><h2>Detailed Description</h2>
- A class for processing vertices into bone batches.
- <p>
- <hr><h2>Member Function Documentation</h2>
- <a class="anchor" name="a0" doxytag="CPVRTBoneBatches::Create" ></a><p>
- <br><br><h3>Create</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="PVRTError_8h.html#a5">EPVRTError</a> CPVRTBoneBatches::Create </td>
- <td class="md" valign="top">( </td>
- <td class="md" nowrap valign="top">int *const </td>
- <td class="mdname" nowrap> <em>pnVtxNumOut</em>, </td>
- </tr>
- <tr>
- <td class="md" nowrap align="right"></td>
- <td></td>
- <td class="md" nowrap>char **const </td>
- <td class="mdname" nowrap> <em>pVtxOut</em>, </td>
- </tr>
- <tr>
- <td class="md" nowrap align="right"></td>
- <td></td>
- <td class="md" nowrap>unsigned int *const </td>
- <td class="mdname" nowrap> <em>pui32Idx</em>, </td>
- </tr>
- <tr>
- <td class="md" nowrap align="right"></td>
- <td></td>
- <td class="md" nowrap>const int </td>
- <td class="mdname" nowrap> <em>nVtxNum</em>, </td>
- </tr>
- <tr>
- <td class="md" nowrap align="right"></td>
- <td></td>
- <td class="md" nowrap>const char *const </td>
- <td class="mdname" nowrap> <em>pVtx</em>, </td>
- </tr>
- <tr>
- <td class="md" nowrap align="right"></td>
- <td></td>
- <td class="md" nowrap>const int </td>
- <td class="mdname" nowrap> <em>nStride</em>, </td>
- </tr>
- <tr>
- <td class="md" nowrap align="right"></td>
- <td></td>
- <td class="md" nowrap>const int </td>
- <td class="mdname" nowrap> <em>nOffsetWeight</em>, </td>
- </tr>
- <tr>
- <td class="md" nowrap align="right"></td>
- <td></td>
- <td class="md" nowrap>const <a class="el" href="PVRTVertex_8h.html#a24">EPVRTDataType</a> </td>
- <td class="mdname" nowrap> <em>eTypeWeight</em>, </td>
- </tr>
- <tr>
- <td class="md" nowrap align="right"></td>
- <td></td>
- <td class="md" nowrap>const int </td>
- <td class="mdname" nowrap> <em>nOffsetIdx</em>, </td>
- </tr>
- <tr>
- <td class="md" nowrap align="right"></td>
- <td></td>
- <td class="md" nowrap>const <a class="el" href="PVRTVertex_8h.html#a24">EPVRTDataType</a> </td>
- <td class="mdname" nowrap> <em>eTypeIdx</em>, </td>
- </tr>
- <tr>
- <td class="md" nowrap align="right"></td>
- <td></td>
- <td class="md" nowrap>const int </td>
- <td class="mdname" nowrap> <em>nTriNum</em>, </td>
- </tr>
- <tr>
- <td class="md" nowrap align="right"></td>
- <td></td>
- <td class="md" nowrap>const int </td>
- <td class="mdname" nowrap> <em>nBatchBoneMax</em>, </td>
- </tr>
- <tr>
- <td class="md" nowrap align="right"></td>
- <td></td>
- <td class="md" nowrap>const int </td>
- <td class="mdname" nowrap> <em>nVertexBones</em></td>
- </tr>
- <tr>
- <td></td>
- <td class="md">) </td>
- <td class="md" colspan="2"></td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <table cellspacing=5 cellpadding=0 border=0>
- <tr>
- <td>
-
- </td>
- <td>
- <p>
- <dl compact><dt><b>Outputs:</b></dt><dd>
- <table border="0" cellspacing="2" cellpadding="0">
- <tr><td valign=top><em>pnVtxNumOut</em> </td><td>vertex count </td></tr>
- <tr><td valign=top><em>pVtxOut</em> </td><td>Output vertices (program must free() this) </td></tr>
- </table>
- </dl>
- <dl compact><dt><b>Modified:</b></dt><dd>
- <table border="0" cellspacing="2" cellpadding="0">
- <tr><td valign=top><em>pui32Idx</em> </td><td>index array for triangle list </td></tr>
- </table>
- </dl>
- <dl compact><dt><b>Inputs:</b></dt><dd>
- <table border="0" cellspacing="2" cellpadding="0">
- <tr><td valign=top><em>nVtxNum</em> </td><td>vertex count </td></tr>
- <tr><td valign=top><em>pVtx</em> </td><td>vertices </td></tr>
- <tr><td valign=top><em>nStride</em> </td><td>Size of a vertex (in bytes) </td></tr>
- <tr><td valign=top><em>nOffsetWeight</em> </td><td>Offset in bytes to the vertex bone-weights </td></tr>
- <tr><td valign=top><em>eTypeWeight</em> </td><td>Data type of the vertex bone-weights </td></tr>
- <tr><td valign=top><em>nOffsetIdx</em> </td><td>Offset in bytes to the vertex bone-indices </td></tr>
- <tr><td valign=top><em>eTypeIdx</em> </td><td>Data type of the vertex bone-indices </td></tr>
- <tr><td valign=top><em>nTriNum</em> </td><td>Number of triangles </td></tr>
- <tr><td valign=top><em>nBatchBoneMax</em> </td><td>Number of bones a batch can reference </td></tr>
- <tr><td valign=top><em>nVertexBones</em> </td><td>Number of bones affecting each vertex </td></tr>
- </table>
- </dl>
- <dl compact><dt><b>Returns:</b></dt><dd>PVR_SUCCESS if successful </dd></dl>
- <dl compact><dt><b>Description:</b></dt><dd>Fills the bone batch structure </dd></dl>
- </td>
- </tr>
- </table>
- <a class="anchor" name="a1" doxytag="CPVRTBoneBatches::Release" ></a><p>
- <br><br><h3>Release</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"> void CPVRTBoneBatches::Release </td>
- <td class="md" valign="top">( </td>
- <td class="mdname1" valign="top" nowrap> </td>
- <td class="md" valign="top"> ) </td>
- <td class="md" nowrap><code> [inline]</code></td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <table cellspacing=5 cellpadding=0 border=0>
- <tr>
- <td>
-
- </td>
- <td>
- <p>
- <dl compact><dt><b>Description:</b></dt><dd>Destroy the bone batch structure </dd></dl>
- </td>
- </tr>
- </table>
- <hr><h2>Member Data Documentation</h2>
- <a class="anchor" name="o3" doxytag="CPVRTBoneBatches::nBatchBoneMax" ></a><p>
- <br><br><h3>nBatchBoneMax</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"> int <a class="el" href="classCPVRTBoneBatches.html#o3">CPVRTBoneBatches::nBatchBoneMax</a>
- </table>
- </td>
- </tr>
- </table>
- <table cellspacing=5 cellpadding=0 border=0>
- <tr>
- <td>
-
- </td>
- <td>
- <p>
- Stored value as was passed into <a class="el" href="classCPVRTBoneBatches.html#a0">Create()</a> </td>
- </tr>
- </table>
- <a class="anchor" name="o4" doxytag="CPVRTBoneBatches::nBatchCnt" ></a><p>
- <br><br><h3>nBatchCnt</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"> int <a class="el" href="classCPVRTBoneBatches.html#o4">CPVRTBoneBatches::nBatchCnt</a>
- </table>
- </td>
- </tr>
- </table>
- <table cellspacing=5 cellpadding=0 border=0>
- <tr>
- <td>
-
- </td>
- <td>
- <p>
- Number of batches to render </td>
- </tr>
- </table>
- <a class="anchor" name="o1" doxytag="CPVRTBoneBatches::pnBatchBoneCnt" ></a><p>
- <br><br><h3>pnBatchBoneCnt</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"> int* <a class="el" href="classCPVRTBoneBatches.html#o1">CPVRTBoneBatches::pnBatchBoneCnt</a>
- </table>
- </td>
- </tr>
- </table>
- <table cellspacing=5 cellpadding=0 border=0>
- <tr>
- <td>
-
- </td>
- <td>
- <p>
- Actual number of bone indices, per batch </td>
- </tr>
- </table>
- <a class="anchor" name="o0" doxytag="CPVRTBoneBatches::pnBatches" ></a><p>
- <br><br><h3>pnBatches</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"> int* <a class="el" href="classCPVRTBoneBatches.html#o0">CPVRTBoneBatches::pnBatches</a>
- </table>
- </td>
- </tr>
- </table>
- <table cellspacing=5 cellpadding=0 border=0>
- <tr>
- <td>
-
- </td>
- <td>
- <p>
- Space for nBatchBoneMax bone indices, per batch </td>
- </tr>
- </table>
- <a class="anchor" name="o2" doxytag="CPVRTBoneBatches::pnBatchOffset" ></a><p>
- <br><br><h3>pnBatchOffset</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"> int* <a class="el" href="classCPVRTBoneBatches.html#o2">CPVRTBoneBatches::pnBatchOffset</a>
- </table>
- </td>
- </tr>
- </table>
- <table cellspacing=5 cellpadding=0 border=0>
- <tr>
- <td>
-
- </td>
- <td>
- <p>
- Offset into triangle array, per batch </td>
- </tr>
- </table>
- <hr>The documentation for this class was generated from the following file:<ul>
- <li><a class="el" href="PVRTBoneBatch_8h-source.html">PVRTBoneBatch.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>
|