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 span.virtual_style 22 { 23 font-size : 8pt; 24 color : white; 25 font-weight : bold; 26 background : #0a0; 27 border-left : solid 1px #0f0; 28 border-top : solid 1px #0f0; 29 border-right : solid 1px #060; 30 border-bottom : solid 1px #060; 31 padding-left : 2px; 32 padding-right : 2px; 33 } 34 span.protected_style 35 { 36 font-size : 8pt; 37 color : white; 38 font-weight : bold; 39 background : #444; 40 border-left : solid 1px #ccc; 41 border-top : solid 1px #ccc; 42 border-right : solid 1px #222; 43 border-bottom : solid 1px #222; 44 padding-left : 2px; 45 padding-right : 2px; 46 } 47 --></style> 48 <title>nn::gd::CTR::SamplerStateDescription</title> 49 </head> 50 <body> 51 <h1><CODE>nn::gd::CTR::SamplerStateDescription</CODE> Class</h1> 52 <h2>Syntax</h2> 53 <div class="section"> 54 <pre class="definition">class SamplerStateDescription</pre> 55 </div> 56 <h2>Description</h2> 57 <div class="section"> 58 <p>The descriptor when creating sampler states.</p><!-- write here --></div> 59 <a name="variable" id="variable"> 60 <h2>Member Variables</h2> 61 <div class="section"> 62 <table class="members"> 63 <tr> 64 <td width="100"> </td> 65 <th> 66 <span class="argument"><CODE>m_MinFilter</CODE></span> 67 </th> 68 <td>The <CODE>MIN</CODE> filter.</td> 69 </tr> 70 <tr> 71 <td width="100"> </td> 72 <th> 73 <span class="argument"><CODE>m_MagFilter</CODE></span> 74 </th> 75 <td>The <CODE>Mag</CODE> filter.</td> 76 </tr> 77 <tr> 78 <td width="100"> </td> 79 <th> 80 <span class="argument"><CODE>m_WrapS</CODE></span> 81 </th> 82 <td><CODE>WrapS</CODE> mode.</td> 83 </tr> 84 <tr> 85 <td width="100"> </td> 86 <th> 87 <span class="argument"><CODE>m_WrapT</CODE></span> 88 </th> 89 <td><CODE>WrapT</CODE> mode.</td> 90 </tr> 91 <tr> 92 <td width="100"> </td> 93 <th> 94 <span class="argument"><CODE>m_BorderColor</CODE></span> 95 </th> 96 <td>The border color.</td> 97 </tr> 98 <tr> 99 <td width="100"> </td> 100 <th> 101 <span class="argument"><CODE>m_LodBias</CODE></span> 102 </th> 103 <td>The LOD bias.</td> 104 </tr> 105 <tr> 106 <td width="100"> </td> 107 <th> 108 <span class="argument"><CODE>m_MinLod</CODE></span> 109 </th> 110 <td>The minimum LOD level.</td> 111 </tr> 112 <tr> 113 <td width="100"> </td> 114 <th> 115 <span class="argument"><CODE>m_MaxLod</CODE></span> 116 </th> 117 <td>The maximum LOD level.</td> 118 </tr> </table> 119 </div> 120 </a> <a name="function" id="function"> 121 <h2>Member Functions</h2> 122 <div class="section"> 123 <table class="members"> 124 <tr> 125 <td width="100"> </td> 126 <th> 127 <a href="../../../../nn/gd/CTR/SamplerStateDescription/SetMinFilter.html"><CODE>SetMinFilter</CODE></a> 128 </th> 129 <td>Sets the <CODE>Min</CODE> filter for <CODE>m_MinFilter</CODE>.</td> 130 </tr> 131 <tr> 132 <td width="100"> </td> 133 <th> 134 <a href="../../../../nn/gd/CTR/SamplerStateDescription/SetMagFilter.html"><CODE>SetMagFilter</CODE></a> 135 </th> 136 <td>Sets the <CODE>Mag</CODE> filter for <CODE>m_MagFilter</CODE>.</td> 137 </tr> 138 <tr> 139 <td width="100"> </td> 140 <th> 141 <a href="../../../../nn/gd/CTR/SamplerStateDescription/SetWrapS.html"><CODE>SetWrapS</CODE></a> 142 </th> 143 <td>Sets the <CODE>WrapS</CODE> mode for <CODE>m_WrapS</CODE>.</td> 144 </tr> 145 <tr> 146 <td width="100"> </td> 147 <th> 148 <a href="../../../../nn/gd/CTR/SamplerStateDescription/SetWrapT.html"><CODE>SetWrapT</CODE></a> 149 </th> 150 <td>Sets the <CODE>WrapT</CODE> mode for <CODE>m_WrapT</CODE>.</td> 151 </tr> 152 <tr> 153 <td width="100"> </td> 154 <th> 155 <a href="../../../../nn/gd/CTR/SamplerStateDescription/SetBorderColor.html"><CODE>SetBorderColor</CODE></a> 156 </th> 157 <td>Sets a border color in <CODE>m_BorderColor[4]</CODE>. Specify values in the range from <CODE>0</CODE> to <CODE>255</CODE>.</td> 158 </tr> 159 <tr> 160 <td width="100"> </td> 161 <th> 162 <a href="../../../../nn/gd/CTR/SamplerStateDescription/SetLodBias.html"><CODE>SetLodBias</CODE></a> 163 </th> 164 <td>Sets the LOD bias in <CODE>m_LodBias</CODE>.</td> 165 </tr> 166 <tr> 167 <td width="100"> </td> 168 <th> 169 <a href="../../../../nn/gd/CTR/SamplerStateDescription/SetMinLod.html"><CODE>SetMinLod</CODE></a> 170 </th> 171 <td>Sets the minimum LOD level in <CODE>m_MinLod</CODE>.</td> 172 </tr> 173 <tr> 174 <td width="100"> </td> 175 <th> 176 <a href="../../../../nn/gd/CTR/SamplerStateDescription/SetMaxLod.html"><CODE>SetMaxLod</CODE></a> 177 </th> 178 <td>Sets the maximum LOD level in <CODE>m_MaxLod</CODE>.</td> 179 </tr> 180 <tr> 181 <td width="100"> </td> 182 <th> 183 <a href="../../../../nn/gd/CTR/SamplerStateDescription/ToDefault.html"><CODE>ToDefault</CODE></a> 184 </th> 185 <td>Sets to the default value.</td> 186 </tr> 187 <tr> 188 <td width="100"> </td> 189 <th> 190 <a href="../../../../nn/gd/CTR/SamplerStateDescription/SetShadow.html"><CODE>SetShadow</CODE></a> 191 </th> 192 <td>Set for shadow textures.</td> 193 </tr> 194 <tr> 195 <td width="100"> </td> 196 <th> 197 <a href="../../../../nn/gd/CTR/SamplerStateDescription/SetShadowCube.html"><CODE>SetShadowCube</CODE></a> 198 </th> 199 <td>Set for shadow cube textures.</td> 200 </tr> 201 <tr> 202 <td width="100"> </td> 203 <th> 204 <a href="../../../../nn/gd/CTR/SamplerStateDescription/SetGas.html"><CODE>SetGas</CODE></a> 205 </th> 206 <td>Set for gas textures.</td> 207 </tr> </table> 208 </div> 209 </a> 210 <h2>Revision History</h2> 211 <div class="section"> 212 <dl class="history"> 213 <dt>2011/02/15</dt> 214 <dd>Initial version.<br /> 215 </dd> 216 </dl> 217 </div> 218 <hr><p>CONFIDENTIAL</p></body> 219</html> 220