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><a href="../../../../nn/Overview.html">nn</a>::<a href="../../../../nn/gd/Overview.html">gd</a>::<a href="../../../../nn/gd/CTR/Overview.html">CTR</a>::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 width="100"><a href="../../../../nn/gd/CTR/TextureStage/SamplerMinFilter.html">TextureStage::SamplerMinFilter</a></td> 69<td>The <CODE>MIN</CODE> filter.</td> 70 </tr> 71 <tr> 72 <td width="100"> </td> 73 <th> 74<span class="argument"><CODE>m_MagFilter</CODE></span> 75 </th> 76<td width="100"><a href="../../../../nn/gd/CTR/TextureStage/SamplerMagFilter.html">TextureStage::SamplerMagFilter</a></td> 77<td>The <CODE>Mag</CODE> filter.</td> 78 </tr> 79 <tr> 80 <td width="100"> </td> 81 <th> 82<span class="argument"><CODE>m_WrapS</CODE></span> 83 </th> 84<td width="100"><a href="../../../../nn/gd/CTR/TextureStage/SamplerWrapMode.html">TextureStage::SamplerWrapMode</a></td> 85<td><CODE>WrapS</CODE> mode.</td> 86 </tr> 87 <tr> 88 <td width="100"> </td> 89 <th> 90<span class="argument"><CODE>m_WrapT</CODE></span> 91 </th> 92<td width="100"><a href="../../../../nn/gd/CTR/TextureStage/SamplerWrapMode.html">TextureStage::SamplerWrapMode</a></td> 93<td><CODE>WrapT</CODE> mode.</td> 94 </tr> 95 <tr> 96 <td width="100"> </td> 97 <th> 98<span class="argument"><CODE>m_BorderColor</CODE></span> 99 </th> 100<td width="100"><a href="../../../../nn_types/u8.html">u8</a></td> 101<td>The border color.</td> 102 </tr> 103 <tr> 104 <td width="100"> </td> 105 <th> 106<span class="argument"><CODE>m_LodBias</CODE></span> 107 </th> 108<td width="100"><a href="../../../../nn_types/u32.html">u32</a></td> 109<td>The LOD bias.</td> 110 </tr> 111 <tr> 112 <td width="100"> </td> 113 <th> 114<span class="argument"><CODE>m_MinLod</CODE></span> 115 </th> 116<td width="100"><a href="../../../../nn_types/u32.html">u32</a></td> 117<td>The minimum LOD level.</td> 118 </tr> 119 <tr> 120 <td width="100"> </td> 121 <th> 122<span class="argument"><CODE>m_MaxLod</CODE></span> 123 </th> 124<td width="100"><a href="../../../../nn_types/u32.html">u32</a></td> 125<td>The maximum LOD level.</td> 126 </tr> </table> 127 </div> 128 </a> <a name="function" id="function"> 129<h2>Member Functions</h2> 130 <div class="section"> 131 <table class="members"> 132 <tr> 133 <td width="100"> </td> 134 <th> 135<a href="../../../../nn/gd/CTR/SamplerStateDescription/SetMinFilter.html"><CODE>SetMinFilter</CODE></a> 136 </th> 137<td>Sets the <CODE>Min</CODE> filter for <CODE>m_MinFilter</CODE>.</td> 138 </tr> 139 <tr> 140 <td width="100"> </td> 141 <th> 142<a href="../../../../nn/gd/CTR/SamplerStateDescription/SetMagFilter.html"><CODE>SetMagFilter</CODE></a> 143 </th> 144<td>Sets the <CODE>Mag</CODE> filter for <CODE>m_MagFilter</CODE>.</td> 145 </tr> 146 <tr> 147 <td width="100"> </td> 148 <th> 149<a href="../../../../nn/gd/CTR/SamplerStateDescription/SetWrapS.html"><CODE>SetWrapS</CODE></a> 150 </th> 151<td>Sets the <CODE>WrapS</CODE> mode for <CODE>m_WrapS</CODE>.</td> 152 </tr> 153 <tr> 154 <td width="100"> </td> 155 <th> 156<a href="../../../../nn/gd/CTR/SamplerStateDescription/SetWrapT.html"><CODE>SetWrapT</CODE></a> 157 </th> 158<td>Sets the <CODE>WrapT</CODE> mode for <CODE>m_WrapT</CODE>.</td> 159 </tr> 160 <tr> 161 <td width="100"> </td> 162 <th> 163<a href="../../../../nn/gd/CTR/SamplerStateDescription/SetBorderColor.html"><CODE>SetBorderColor</CODE></a> 164 </th> 165<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> 166 </tr> 167 <tr> 168 <td width="100"> </td> 169 <th> 170<a href="../../../../nn/gd/CTR/SamplerStateDescription/SetLodBias.html"><CODE>SetLodBias</CODE></a> 171 </th> 172<td>Sets the LOD bias in <CODE>m_LodBias</CODE>.</td> 173 </tr> 174 <tr> 175 <td width="100"> </td> 176 <th> 177<a href="../../../../nn/gd/CTR/SamplerStateDescription/SetMinLod.html"><CODE>SetMinLod</CODE></a> 178 </th> 179<td>Sets the minimum LOD level (in <CODE>m_MinLod</CODE>.</td> 180 </tr> 181 <tr> 182 <td width="100"> </td> 183 <th> 184<a href="../../../../nn/gd/CTR/SamplerStateDescription/SetMaxLod.html"><CODE>SetMaxLod</CODE></a> 185 </th> 186<td>Sets the maximum LOD level in <CODE>m_MaxLod</CODE>.</td> 187 </tr> 188 <tr> 189 <td width="100"> </td> 190 <th> 191<a href="../../../../nn/gd/CTR/SamplerStateDescription/ToDefault.html"><CODE>ToDefault</CODE></a> 192 </th> 193<td>Sets to the default value.</td> 194 </tr> 195 <tr> 196 <td width="100"> </td> 197 <th> 198<a href="../../../../nn/gd/CTR/SamplerStateDescription/SetShadow.html"><CODE>SetShadow</CODE></a> 199 </th> 200<td>Set for shadow textures.</td> 201 </tr> 202 <tr> 203 <td width="100"> </td> 204 <th> 205<a href="../../../../nn/gd/CTR/SamplerStateDescription/SetShadowCube.html"><CODE>SetShadowCube</CODE></a> 206 </th> 207<td>Set for shadow cube textures.</td> 208 </tr> 209 <tr> 210 <td width="100"> </td> 211 <th> 212<a href="../../../../nn/gd/CTR/SamplerStateDescription/SetGas.html"><CODE>SetGas</CODE></a> 213 </th> 214<td>Set for gas textures.</td> 215 </tr> </table> 216 </div> 217 </a> 218<h2>Revision History</h2> 219 <div class="section"> 220 <dl class="history"> 221 <dt>2011/02/15</dt> 222<dd>Initial version.<br /> 223 </dd> 224 </dl> 225 </div> 226 <hr><p>CONFIDENTIAL</p></body> 227</html> 228