1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" /> 7 <style type="text/css"><!-- 8 span.static_style 9 { 10 font-size : 8pt; 11 color : white; 12 font-weight : bold; 13 background : #44f; 14 border-left : solid 1px #aaf; 15 border-top : solid 1px #aaf; 16 border-right : solid 1px #00c; 17 border-bottom : solid 1px #00c; 18 padding-left : 2px; 19 padding-right : 2px; 20 } 21 22 span.virtual_style 23 { 24 font-size : 8pt; 25 color : white; 26 font-weight : bold; 27 background : #0a0; 28 border-left : solid 1px #0f0; 29 border-top : solid 1px #0f0; 30 border-right : solid 1px #060; 31 border-bottom : solid 1px #060; 32 padding-left : 2px; 33 padding-right : 2px; 34 } 35 36 span.protected_style 37 { 38 font-size : 8pt; 39 color : white; 40 font-weight : bold; 41 background : #444; 42 border-left : solid 1px #ccc; 43 border-top : solid 1px #ccc; 44 border-right : solid 1px #222; 45 border-bottom : solid 1px #222; 46 padding-left : 2px; 47 padding-right : 2px; 48 } 49 --></style> 50 <title>nw::gfx::RelativeHashMaterialIdGenerator</title> 51 </head> 52 <body> 53 <h1><CODE>nw::gfx::RelativeHashMaterialIdGenerator</CODE> Class</h1> 54 <h2>Syntax</h2> 55 <div class="section"> 56 <pre class="definition">class RelativeHashMaterialIdGenerator : public <a href="../../../nw/gfx/IMaterialIdGenerator/Overview.html">nw::gfx::IMaterialIdGenerator</a></pre> 57 </div> 58 <h2>Description</h2> 59 <div class="section"> 60 <p>Class for creating material IDs using the material hash. Plans call for the abolishment of <a href="../../../nw/gfx/RelativeHashMaterialIdGenerator/Overview.html">RelativeHashMaterialIdGenerator</a> in version 1.3.0. Use <a href="../../../nw/gfx/SortingMaterialIdGenerator/Overview.html">SortingMaterialIdGenerator</a> or an originally implemented material ID generator.</p> 61 </div> 62 <a name="class" id="class"> 63 <h2>Classes</h2> 64 <div class="section"> 65 <table class="members"> 66 <tr> 67 <th> 68 <a href="../../../nw/gfx/RelativeHashMaterialIdGenerator/Builder/Overview.html">nw::gfx::RelativeHashMaterialIdGenerator::Builder</a> 69 </th> 70 <td> 71 </td> 72 </tr> </table> 73 </div> 74 </a> <a name="struct" id="struct"> 75 <h2>Structures</h2> 76 <div class="section"> 77 <table class="members"> 78 <tr> 79 <th> 80 <a href="../../../nw/gfx/RelativeHashMaterialIdGenerator/Description/Overview.html">nw::gfx::RelativeHashMaterialIdGenerator::Description</a> 81 </th> 82 <td>Content to configure.</td> 83 </tr> </table> 84 </div> 85 </a> <a name="variable" id="variable"> 86 <h2>Member Variables</h2> 87 <div class="section"> 88 <table class="members"> 89 <tr> 90 <td width="100"> </td> 91 <th> 92 <span class="argument"><CODE>NW_UT_RUNTIME_TYPEINFO</CODE></span> 93 </th> 94 <td> 95 </td> 96 </tr> </table> 97 </div> 98 </a> <a name="function" id="function"> 99 <h2>Member Functions</h2> 100 <div class="section"> 101 <table class="members"> 102 <tr> 103 <th class="category" colspan="3">Constructors and Destructors</th> 104 </tr> 105 <tr> 106 <td width="100"> </td> 107 <th> 108 <a href="../../../nw/gfx/RelativeHashMaterialIdGenerator/RelativeHashMaterialIdGenerator.html"><CODE>RelativeHashMaterialIdGenerator</CODE></a> 109 </th> 110 <td>Constructor.</td> 111 </tr> 112 <tr> 113 <th class="category" colspan="3">Generation</th> 114 </tr> 115 <tr> 116 <td width="100"> <span class="virtual_style" title="virtual">V</span> 117 </td> 118 <th> 119 <a href="../../../nw/gfx/RelativeHashMaterialIdGenerator/Accept.html"><CODE>Accept</CODE></a> 120 </th> 121 <td>Gets the material. The material is added to an array.</td> 122 </tr> 123 <tr> 124 <td width="100"> <span class="virtual_style" title="virtual">V</span> 125 </td> 126 <th> 127 <a href="../../../nw/gfx/RelativeHashMaterialIdGenerator/Generate.html"><CODE>Generate</CODE></a> 128 </th> 129 <td>Creates a material ID.</td> 130 </tr> 131 <tr> 132 <th class="category" colspan="3">Create/Destroy</th> 133 </tr> 134 <tr> 135 <td width="100"> </td> 136 <th> 137 <a href="../../../nw/gfx/GfxObject/Destroy.html"><CODE>Destroy</CODE></a> 138 </th> 139 <td>Destroys an object.(Derived from <a href="../../../nw/gfx/GfxObject/Overview.html"><CODE>GfxObject</CODE></a>.</td> 140 </tr> </table> 141 </div> 142 </a> 143 <h2>Class Hierarchy</h2> 144 <div class="section"> 145 <p class="hierarchy"><a href="../../../nw/gfx/GfxObject/Overview.html">nw::gfx::GfxObject</a><br /> <a href="../../../nw/gfx/IMaterialIdGenerator/Overview.html">nw::gfx::IMaterialIdGenerator</a><br /> <b>nw::gfx::RelativeHashMaterialIdGenerator</b> 146 </p> 147 </div> 148 <hr><p>CONFIDENTIAL</p></body> 149</html>