classvtmaterialarraybase.html

来自「VC下实现图像处理。 VC下实现图像处理。 VC下实现图像处理。」· HTML 代码 · 共 549 行 · 第 1/3 页

HTML
549 行
字号
          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>bool&nbsp;</td>          <td class="mdname" nowrap> <em>bCulling</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>bool&nbsp;</td>          <td class="mdname" nowrap> <em>bLighting</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>bool&nbsp;</td>          <td class="mdname" nowrap> <em>bTransp</em> = <code>false</code>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>bool&nbsp;</td>          <td class="mdname" nowrap> <em>bAdditive</em> = <code>false</code>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>float&nbsp;</td>          <td class="mdname" nowrap> <em>fAmbient</em> = <code>0.0f</code>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>float&nbsp;</td>          <td class="mdname" nowrap> <em>fDiffuse</em> = <code>1.0f</code>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>float&nbsp;</td>          <td class="mdname" nowrap> <em>fAlpha</em> = <code>1.0f</code>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>float&nbsp;</td>          <td class="mdname" nowrap> <em>fEmissive</em> = <code>0.0f</code>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>bool&nbsp;</td>          <td class="mdname" nowrap> <em>bTexGen</em> = <code>false</code>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>bool&nbsp;</td>          <td class="mdname" nowrap> <em>bClamp</em> = <code>false</code>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>bool&nbsp;</td>          <td class="mdname" nowrap> <em>bMipMap</em> = <code>false</code></td>        </tr>        <tr>          <td class="md"></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Create and add a simple textured material. This method takes a a filename of the texture image to use.<p>See <a class="el" href="classvtMaterialArrayBase.html#f2b01fcd911a7b074b67a3844024ba27">AddTextureMaterial()</a> for a description of the parameters, which lets you control many other aspects of the material.<p><dl compact><dt><b>Returns:</b></dt><dd>The index of the added material if successful, or -1 on failure. </dd></dl>    </td>  </tr></table><a class="anchor" name="4522320650d8b727abe1e44e8dcd4ec8"></a><!-- doxytag: member="vtMaterialArrayBase::CopyFrom" ref="4522320650d8b727abe1e44e8dcd4ec8" args="(vtMaterialArrayBase *pFromMats)" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">void vtMaterialArrayBase::CopyFrom           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classvtMaterialArrayBase.html">vtMaterialArrayBase</a> *&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>pFrom</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Copies all the materials from one <a class="el" href="classvtMaterialArray.html">vtMaterialArray</a> to another.<p>The materials copied from the source are simply appending to this array.     </td>  </tr></table><a class="anchor" name="37dbbdf51042b843b240c1e9b2f1e39e"></a><!-- doxytag: member="vtMaterialArrayBase::FindByDiffuse" ref="37dbbdf51042b843b240c1e9b2f1e39e" args="(const RGBAf &amp;rgba) const " --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">int vtMaterialArrayBase::FindByDiffuse           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="elRef" doxygen="vtdata.tag:../vtdata/" href="../vtdata/classRGBAf.html">RGBAf</a> &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>rgba</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap> const</td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Find a material in an array by looking for a specific diffuse color.<p><dl compact><dt><b>Returns:</b></dt><dd>The index of the material if found, otherwise -1. </dd></dl>    </td>  </tr></table><a class="anchor" name="5f9400f909771062e8d4bedceb42956d"></a><!-- doxytag: member="vtMaterialArrayBase::FindByImage" ref="5f9400f909771062e8d4bedceb42956d" args="(const vtImage *image) const " --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">int vtMaterialArrayBase::FindByImage           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="classvtImage.html">vtImage</a> *&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>image</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap> const</td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Find a material in an array by looking for a specific texture image.<p><dl compact><dt><b>Returns:</b></dt><dd>The index of the material if found, otherwise -1. </dd></dl>    </td>  </tr></table><hr size="1"><address style="align: right;"><small>Generated on Mon Jan 14 14:41:01 2008 for vtlib library by&nbsp;<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.5 </small></address></body></html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?