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::SortingMaterialIdGenerator</title> 51 </head> 52 <body> 53 <h1>nw::gfx::SortingMaterialIdGenerator Class</h1> 54 <h2>Syntax</h2> 55 <div class="section"> 56 <pre class="definition">class SortingMaterialIdGenerator : 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 from the results of sorting.</p><p>Material IDs are created according the order of priority given below. Binary comparison > Shader comparison > Lookup table comparison</p></div> 61 <a name="class" id="class"> 62 <h2>Classes</h2> 63 <div class="section"> 64 <table class="members"> 65 <tr> 66 <th> 67 <a href="../../../nw/gfx/SortingMaterialIdGenerator/Builder/Overview.html">nw::gfx::SortingMaterialIdGenerator::Builder</a> 68 </th> 69 <td>Class for building classes to generate material IDs from a ResMaterial binary resource pointer.</td> 70 </tr> </table> 71 </div> 72 </a> <a name="struct" id="struct"> 73 <h2>Structures</h2> 74 <div class="section"> 75 <table class="members"> 76 <tr> 77 <th> 78 <a href="../../../nw/gfx/SortingMaterialIdGenerator/Description/Overview.html">nw::gfx::SortingMaterialIdGenerator::Description</a> 79 </th> 80 <td>Content to configure.</td> 81 </tr> </table> 82 </div> 83 </a> <a name="variable" id="variable"> 84 <h2>Member Variables</h2> 85 <div class="section"> 86 <table class="members"> 87 <tr> 88 <td width="100"> </td> 89 <th> 90 <span class="argument"><CODE>NW_UT_RUNTIME_TYPEINFO</CODE></span> 91 </th> 92 <td> 93 </td> 94 </tr> </table> 95 </div> 96 </a> <a name="function" id="function"> 97 <h2>Member Functions</h2> 98 <div class="section"> 99 <table class="members"> 100 <tr> 101 <th class="category" colspan="3">Constructors and Destructors</th> 102 </tr> 103 <tr> 104 <td width="100"> </td> 105 <th> 106 <a href="../../../nw/gfx/SortingMaterialIdGenerator/SortingMaterialIdGenerator.html">SortingMaterialIdGenerator</a> 107 </th> 108 <td>Constructor.</td> 109 </tr> 110 <tr> 111 <th class="category" colspan="3">Generation</th> 112 </tr> 113 <tr> 114 <td width="100"> <span class="virtual_style" title="virtual">V</span> 115 </td> 116 <th> 117 <a href="../../../nw/gfx/SortingMaterialIdGenerator/Accept.html"><CODE>Accept</CODE></a> 118 </th> 119 <td>Gets the material. The material is added to an array.</td> 120 </tr> 121 <tr> 122 <td width="100"> <span class="virtual_style" title="virtual">V</span> 123 </td> 124 <th> 125 <a href="../../../nw/gfx/SortingMaterialIdGenerator/Generate.html"><CODE>Generate</CODE></a> 126 </th> 127 <td>Creates a material ID.</td> 128 </tr> 129 <tr> 130 <th class="category" colspan="3">Create/Destroy</th> 131 </tr> 132 <tr> 133 <td width="100"> </td> 134 <th> 135 <a href="../../../nw/gfx/GfxObject/Destroy.html"><CODE>Destroy</CODE></a> 136 </th> 137 <td>Destroys an object.(Derived from <a href="../../../nw/gfx/GfxObject/Overview.html"><CODE>GfxObject</CODE></a>.</td> 138 </tr> </table> 139 </div> 140 </a> 141 <h2>Class Hierarchy</h2> 142 <div class="section"> 143 <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::SortingMaterialIdGenerator</b> 144 </p> 145 </div> 146 <hr><p>CONFIDENTIAL</p></body> 147</html>