1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> 5 6 <title>android::RSC::Sampler Class Reference</title> 7 <link href="tabs.css" rel="stylesheet" type="text/css"/> 8 <link href="doxygen.css" rel="stylesheet" type="text/css" /> 9 10 11 12 </head> 13 <body> 14 <div id="top"><!-- do not remove this div! --> 15 16 17 <!-- Generated by Doxygen 1.7.5.1 --> 18 <div id="navrow1" class="tabs"> 19 <ul class="tablist"> 20 <li><a href="index.html"><span>Overview</span></a></li> 21 <li class="current"><a href="annotated.html"><span>Structs</span></a></li> 22 </ul> 23 </div> 24 <div id="nav-path" class="navpath"> 25 <ul> 26 <li class="navelem"><b>android</b> </li> 27 <li class="navelem"><b>RSC</b> </li> 28 <li class="navelem"><a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a> </li> 29 </ul> 30 </div> 31 </div> 32 <div class="header"> 33 <div class="summary"> 34 <a href="#pub-methods">Public Member Functions</a> | 35 <a href="#pub-static-methods">Static Public Member Functions</a> </div> 36 <div class="headertitle"> 37 <div class="title">android::RSC::Sampler Class Reference</div> </div> 38 </div> 39 <div class="contents"> 40 <!-- doxytag: class="android::RSC::Sampler" --><!-- doxytag: inherits="android::RSC::BaseObj" --> 41 <p><code>#include <<a class="el" href="rsCppStructs_8h_source.html">rsCppStructs.h</a>></code></p> 42 <div class="dynheader"> 43 Inheritance diagram for android::RSC::Sampler:</div> 44 <div class="dyncontent"> 45 <div class="center"> 46 <img src="classandroid_1_1RSC_1_1Sampler.png" usemap="#android::RSC::Sampler_map" alt=""/> 47 <map id="android::RSC::Sampler_map" name="android::RSC::Sampler_map"> 48 <area href="classandroid_1_1RSC_1_1BaseObj.html" alt="android::RSC::BaseObj" shape="rect" coords="0,0,140,24"/> 49 </map> 50 </div></div> 51 <table class="memberdecls"> 52 <tr><td colspan="2"><h2><a name="pub-methods"></a> 53 Public Member Functions</h2></td></tr> 54 <tr><td class="memItemLeft" align="right" valign="top">RsSamplerValue </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Sampler.html#a22c6f5b3bf6e430a0295ab99f65f3dca">getMinification</a> ()</td></tr> 55 <tr><td class="memItemLeft" align="right" valign="top">RsSamplerValue </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Sampler.html#acaa10a3d84d99cd68d2274cbb427abb9">getMagnification</a> ()</td></tr> 56 <tr><td class="memItemLeft" align="right" valign="top">RsSamplerValue </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Sampler.html#aaa21bc15543fcf02bbd688c38e14080f">getWrapS</a> ()</td></tr> 57 <tr><td class="memItemLeft" align="right" valign="top">RsSamplerValue </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Sampler.html#a9515051eeea23c062d29ca8361114919">getWrapT</a> ()</td></tr> 58 <tr><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Sampler.html#ac4f94713027d23277a520f27f1522624">getAnisotropy</a> ()</td></tr> 59 <tr><td colspan="2"><h2><a name="pub-static-methods"></a> 60 Static Public Member Functions</h2></td></tr> 61 <tr><td class="memItemLeft" align="right" valign="top">static sp< <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Sampler.html#a579e236fabaca164d0639bcb9c95a169">create</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs, RsSamplerValue min, RsSamplerValue mag, RsSamplerValue wrapS, RsSamplerValue wrapT, float anisotropy)</td></tr> 62 <tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Sampler.html#a0518c8081002dd7c5633c85a79e9c2f6">CLAMP_NEAREST</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 63 <tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Sampler.html#a06c0a2b5a1c589855bdfa568ab3af5d7">CLAMP_LINEAR</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 64 <tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Sampler.html#a3eab76d9b2f713959e69e54dc5041ba8">CLAMP_LINEAR_MIP_LINEAR</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 65 <tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Sampler.html#a92624553227aa533faa94d6c09ae54ef">WRAP_NEAREST</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 66 <tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Sampler.html#a0984f4d8fc88d29d90d5a78b9cc3bb02">WRAP_LINEAR</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 67 <tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Sampler.html#a11da4896311f9b3f71af904afb46b8f0">WRAP_LINEAR_MIP_LINEAR</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 68 <tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Sampler.html#aa1d8a9143f4e82182c11605d85c9deec">MIRRORED_REPEAT_NEAREST</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 69 <tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Sampler.html#a56e9fa97beed1f3f0cf9baf23c2125b7">MIRRORED_REPEAT_LINEAR</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 70 <tr><td class="memItemLeft" align="right" valign="top">static sp< const <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Sampler.html#adb6b89babff823202d1c5a112e6124ac">MIRRORED_REPEAT_LINEAR_MIP_LINEAR</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > rs)</td></tr> 71 </table> 72 <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> 73 <div class="textblock"><p><a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a> object that defines how Allocations can be read as textures within a kernel. Samplers are used in conjunction with the rsSample runtime function to return values from normalized coordinates.</p> 74 <p>Any <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> used with a <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a> must have been created with RS_ALLOCATION_USAGE_GRAPHICS_TEXTURE; using a <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a> on an <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> that was not created with RS_ALLOCATION_USAGE_GRAPHICS_TEXTURE is undefined. </p> 75 76 <p>Definition at line <a class="el" href="rsCppStructs_8h_source.html#l01874">1874</a> of file <a class="el" href="rsCppStructs_8h_source.html">rsCppStructs.h</a>.</p> 77 </div><hr/><h2>Member Function Documentation</h2> 78 <a class="anchor" id="a06c0a2b5a1c589855bdfa568ab3af5d7"></a><!-- doxytag: member="android::RSC::Sampler::CLAMP_LINEAR" ref="a06c0a2b5a1c589855bdfa568ab3af5d7" args="(sp< RS > rs)" --> 79 <div class="memitem"> 80 <div class="memproto"> 81 <table class="memname"> 82 <tr> 83 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a>> android::RSC::Sampler::CLAMP_LINEAR </td> 84 <td>(</td> 85 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 86 <td class="paramname"><em>rs</em></td><td>)</td> 87 <td><code> [static]</code></td> 88 </tr> 89 </table> 90 </div> 91 <div class="memdoc"> 92 <p>Retrieve a sampler with min and mag set to linear and wrap modes set to clamp.</p> 93 <dl><dt><b>Parameters:</b></dt><dd> 94 <table class="params"> 95 <tr><td class="paramname">rs</td><td>Context to which the sampler will belong.</td></tr> 96 </table> 97 </dd> 98 </dl> 99 <dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a> </dd></dl> 100 101 </div> 102 </div> 103 <a class="anchor" id="a3eab76d9b2f713959e69e54dc5041ba8"></a><!-- doxytag: member="android::RSC::Sampler::CLAMP_LINEAR_MIP_LINEAR" ref="a3eab76d9b2f713959e69e54dc5041ba8" args="(sp< RS > rs)" --> 104 <div class="memitem"> 105 <div class="memproto"> 106 <table class="memname"> 107 <tr> 108 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a>> android::RSC::Sampler::CLAMP_LINEAR_MIP_LINEAR </td> 109 <td>(</td> 110 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 111 <td class="paramname"><em>rs</em></td><td>)</td> 112 <td><code> [static]</code></td> 113 </tr> 114 </table> 115 </div> 116 <div class="memdoc"> 117 <p>Retrieve a sampler with mag set to linear, min linear mipmap linear, and wrap modes set to clamp.</p> 118 <dl><dt><b>Parameters:</b></dt><dd> 119 <table class="params"> 120 <tr><td class="paramname">rs</td><td>Context to which the sampler will belong.</td></tr> 121 </table> 122 </dd> 123 </dl> 124 <dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a> </dd></dl> 125 126 </div> 127 </div> 128 <a class="anchor" id="a0518c8081002dd7c5633c85a79e9c2f6"></a><!-- doxytag: member="android::RSC::Sampler::CLAMP_NEAREST" ref="a0518c8081002dd7c5633c85a79e9c2f6" args="(sp< RS > rs)" --> 129 <div class="memitem"> 130 <div class="memproto"> 131 <table class="memname"> 132 <tr> 133 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a>> android::RSC::Sampler::CLAMP_NEAREST </td> 134 <td>(</td> 135 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 136 <td class="paramname"><em>rs</em></td><td>)</td> 137 <td><code> [static]</code></td> 138 </tr> 139 </table> 140 </div> 141 <div class="memdoc"> 142 <p>Retrieve a sampler with min and mag set to nearest and wrap modes set to clamp.</p> 143 <dl><dt><b>Parameters:</b></dt><dd> 144 <table class="params"> 145 <tr><td class="paramname">rs</td><td>Context to which the sampler will belong.</td></tr> 146 </table> 147 </dd> 148 </dl> 149 <dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a> </dd></dl> 150 151 </div> 152 </div> 153 <a class="anchor" id="a579e236fabaca164d0639bcb9c95a169"></a><!-- doxytag: member="android::RSC::Sampler::create" ref="a579e236fabaca164d0639bcb9c95a169" args="(sp< RS > rs, RsSamplerValue min, RsSamplerValue mag, RsSamplerValue wrapS, RsSamplerValue wrapT, float anisotropy)" --> 154 <div class="memitem"> 155 <div class="memproto"> 156 <table class="memname"> 157 <tr> 158 <td class="memname">static sp<<a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a>> android::RSC::Sampler::create </td> 159 <td>(</td> 160 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 161 <td class="paramname"><em>rs</em>, </td> 162 </tr> 163 <tr> 164 <td class="paramkey"></td> 165 <td></td> 166 <td class="paramtype">RsSamplerValue </td> 167 <td class="paramname"><em>min</em>, </td> 168 </tr> 169 <tr> 170 <td class="paramkey"></td> 171 <td></td> 172 <td class="paramtype">RsSamplerValue </td> 173 <td class="paramname"><em>mag</em>, </td> 174 </tr> 175 <tr> 176 <td class="paramkey"></td> 177 <td></td> 178 <td class="paramtype">RsSamplerValue </td> 179 <td class="paramname"><em>wrapS</em>, </td> 180 </tr> 181 <tr> 182 <td class="paramkey"></td> 183 <td></td> 184 <td class="paramtype">RsSamplerValue </td> 185 <td class="paramname"><em>wrapT</em>, </td> 186 </tr> 187 <tr> 188 <td class="paramkey"></td> 189 <td></td> 190 <td class="paramtype">float </td> 191 <td class="paramname"><em>anisotropy</em> </td> 192 </tr> 193 <tr> 194 <td></td> 195 <td>)</td> 196 <td></td><td><code> [static]</code></td> 197 </tr> 198 </table> 199 </div> 200 <div class="memdoc"> 201 <p>Creates a non-standard <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a>. </p> 202 <dl><dt><b>Parameters:</b></dt><dd> 203 <table class="params"> 204 <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr> 205 <tr><td class="paramdir">[in]</td><td class="paramname">min</td><td>minification </td></tr> 206 <tr><td class="paramdir">[in]</td><td class="paramname">mag</td><td>magnification </td></tr> 207 <tr><td class="paramdir">[in]</td><td class="paramname">wrapS</td><td>S wrapping mode </td></tr> 208 <tr><td class="paramdir">[in]</td><td class="paramname">wrapT</td><td>T wrapping mode </td></tr> 209 <tr><td class="paramdir">[in]</td><td class="paramname">anisotropy</td><td>anisotropy setting </td></tr> 210 </table> 211 </dd> 212 </dl> 213 214 </div> 215 </div> 216 <a class="anchor" id="ac4f94713027d23277a520f27f1522624"></a><!-- doxytag: member="android::RSC::Sampler::getAnisotropy" ref="ac4f94713027d23277a520f27f1522624" args="()" --> 217 <div class="memitem"> 218 <div class="memproto"> 219 <table class="memname"> 220 <tr> 221 <td class="memname">float android::RSC::Sampler::getAnisotropy </td> 222 <td>(</td> 223 <td class="paramname"></td><td>)</td> 224 <td></td> 225 </tr> 226 </table> 227 </div> 228 <div class="memdoc"> 229 <dl class="return"><dt><b>Returns:</b></dt><dd>anisotropy setting for the sampler </dd></dl> 230 231 </div> 232 </div> 233 <a class="anchor" id="acaa10a3d84d99cd68d2274cbb427abb9"></a><!-- doxytag: member="android::RSC::Sampler::getMagnification" ref="acaa10a3d84d99cd68d2274cbb427abb9" args="()" --> 234 <div class="memitem"> 235 <div class="memproto"> 236 <table class="memname"> 237 <tr> 238 <td class="memname">RsSamplerValue android::RSC::Sampler::getMagnification </td> 239 <td>(</td> 240 <td class="paramname"></td><td>)</td> 241 <td></td> 242 </tr> 243 </table> 244 </div> 245 <div class="memdoc"> 246 <dl class="return"><dt><b>Returns:</b></dt><dd>magnification setting for the sampler </dd></dl> 247 248 </div> 249 </div> 250 <a class="anchor" id="a22c6f5b3bf6e430a0295ab99f65f3dca"></a><!-- doxytag: member="android::RSC::Sampler::getMinification" ref="a22c6f5b3bf6e430a0295ab99f65f3dca" args="()" --> 251 <div class="memitem"> 252 <div class="memproto"> 253 <table class="memname"> 254 <tr> 255 <td class="memname">RsSamplerValue android::RSC::Sampler::getMinification </td> 256 <td>(</td> 257 <td class="paramname"></td><td>)</td> 258 <td></td> 259 </tr> 260 </table> 261 </div> 262 <div class="memdoc"> 263 <dl class="return"><dt><b>Returns:</b></dt><dd>minification setting for the sampler </dd></dl> 264 265 </div> 266 </div> 267 <a class="anchor" id="aaa21bc15543fcf02bbd688c38e14080f"></a><!-- doxytag: member="android::RSC::Sampler::getWrapS" ref="aaa21bc15543fcf02bbd688c38e14080f" args="()" --> 268 <div class="memitem"> 269 <div class="memproto"> 270 <table class="memname"> 271 <tr> 272 <td class="memname">RsSamplerValue android::RSC::Sampler::getWrapS </td> 273 <td>(</td> 274 <td class="paramname"></td><td>)</td> 275 <td></td> 276 </tr> 277 </table> 278 </div> 279 <div class="memdoc"> 280 <dl class="return"><dt><b>Returns:</b></dt><dd>S wrapping mode for the sampler </dd></dl> 281 282 </div> 283 </div> 284 <a class="anchor" id="a9515051eeea23c062d29ca8361114919"></a><!-- doxytag: member="android::RSC::Sampler::getWrapT" ref="a9515051eeea23c062d29ca8361114919" args="()" --> 285 <div class="memitem"> 286 <div class="memproto"> 287 <table class="memname"> 288 <tr> 289 <td class="memname">RsSamplerValue android::RSC::Sampler::getWrapT </td> 290 <td>(</td> 291 <td class="paramname"></td><td>)</td> 292 <td></td> 293 </tr> 294 </table> 295 </div> 296 <div class="memdoc"> 297 <dl class="return"><dt><b>Returns:</b></dt><dd>T wrapping mode for the sampler </dd></dl> 298 299 </div> 300 </div> 301 <a class="anchor" id="a56e9fa97beed1f3f0cf9baf23c2125b7"></a><!-- doxytag: member="android::RSC::Sampler::MIRRORED_REPEAT_LINEAR" ref="a56e9fa97beed1f3f0cf9baf23c2125b7" args="(sp< RS > rs)" --> 302 <div class="memitem"> 303 <div class="memproto"> 304 <table class="memname"> 305 <tr> 306 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a>> android::RSC::Sampler::MIRRORED_REPEAT_LINEAR </td> 307 <td>(</td> 308 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 309 <td class="paramname"><em>rs</em></td><td>)</td> 310 <td><code> [static]</code></td> 311 </tr> 312 </table> 313 </div> 314 <div class="memdoc"> 315 <p>Retrieve a sampler with min and mag set to linear and wrap modes set to mirrored repeat.</p> 316 <dl><dt><b>Parameters:</b></dt><dd> 317 <table class="params"> 318 <tr><td class="paramname">rs</td><td>Context to which the sampler will belong.</td></tr> 319 </table> 320 </dd> 321 </dl> 322 <dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a> </dd></dl> 323 324 </div> 325 </div> 326 <a class="anchor" id="adb6b89babff823202d1c5a112e6124ac"></a><!-- doxytag: member="android::RSC::Sampler::MIRRORED_REPEAT_LINEAR_MIP_LINEAR" ref="adb6b89babff823202d1c5a112e6124ac" args="(sp< RS > rs)" --> 327 <div class="memitem"> 328 <div class="memproto"> 329 <table class="memname"> 330 <tr> 331 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a>> android::RSC::Sampler::MIRRORED_REPEAT_LINEAR_MIP_LINEAR </td> 332 <td>(</td> 333 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 334 <td class="paramname"><em>rs</em></td><td>)</td> 335 <td><code> [static]</code></td> 336 </tr> 337 </table> 338 </div> 339 <div class="memdoc"> 340 <p>Retrieve a sampler with min and mag set to linear and wrap modes set to mirrored repeat.</p> 341 <dl><dt><b>Parameters:</b></dt><dd> 342 <table class="params"> 343 <tr><td class="paramname">rs</td><td>Context to which the sampler will belong.</td></tr> 344 </table> 345 </dd> 346 </dl> 347 <dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a> </dd></dl> 348 349 </div> 350 </div> 351 <a class="anchor" id="aa1d8a9143f4e82182c11605d85c9deec"></a><!-- doxytag: member="android::RSC::Sampler::MIRRORED_REPEAT_NEAREST" ref="aa1d8a9143f4e82182c11605d85c9deec" args="(sp< RS > rs)" --> 352 <div class="memitem"> 353 <div class="memproto"> 354 <table class="memname"> 355 <tr> 356 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a>> android::RSC::Sampler::MIRRORED_REPEAT_NEAREST </td> 357 <td>(</td> 358 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 359 <td class="paramname"><em>rs</em></td><td>)</td> 360 <td><code> [static]</code></td> 361 </tr> 362 </table> 363 </div> 364 <div class="memdoc"> 365 <p>Retrieve a sampler with min and mag set to nearest and wrap modes set to mirrored repeat.</p> 366 <dl><dt><b>Parameters:</b></dt><dd> 367 <table class="params"> 368 <tr><td class="paramname">rs</td><td>Context to which the sampler will belong.</td></tr> 369 </table> 370 </dd> 371 </dl> 372 <dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a> </dd></dl> 373 374 </div> 375 </div> 376 <a class="anchor" id="a0984f4d8fc88d29d90d5a78b9cc3bb02"></a><!-- doxytag: member="android::RSC::Sampler::WRAP_LINEAR" ref="a0984f4d8fc88d29d90d5a78b9cc3bb02" args="(sp< RS > rs)" --> 377 <div class="memitem"> 378 <div class="memproto"> 379 <table class="memname"> 380 <tr> 381 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a>> android::RSC::Sampler::WRAP_LINEAR </td> 382 <td>(</td> 383 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 384 <td class="paramname"><em>rs</em></td><td>)</td> 385 <td><code> [static]</code></td> 386 </tr> 387 </table> 388 </div> 389 <div class="memdoc"> 390 <p>Retrieve a sampler with min and mag set to linear and wrap modes set to wrap.</p> 391 <dl><dt><b>Parameters:</b></dt><dd> 392 <table class="params"> 393 <tr><td class="paramname">rs</td><td>Context to which the sampler will belong.</td></tr> 394 </table> 395 </dd> 396 </dl> 397 <dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a> </dd></dl> 398 399 </div> 400 </div> 401 <a class="anchor" id="a11da4896311f9b3f71af904afb46b8f0"></a><!-- doxytag: member="android::RSC::Sampler::WRAP_LINEAR_MIP_LINEAR" ref="a11da4896311f9b3f71af904afb46b8f0" args="(sp< RS > rs)" --> 402 <div class="memitem"> 403 <div class="memproto"> 404 <table class="memname"> 405 <tr> 406 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a>> android::RSC::Sampler::WRAP_LINEAR_MIP_LINEAR </td> 407 <td>(</td> 408 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 409 <td class="paramname"><em>rs</em></td><td>)</td> 410 <td><code> [static]</code></td> 411 </tr> 412 </table> 413 </div> 414 <div class="memdoc"> 415 <p>Retrieve a sampler with mag set to linear, min linear mipmap linear, and wrap modes set to wrap.</p> 416 <dl><dt><b>Parameters:</b></dt><dd> 417 <table class="params"> 418 <tr><td class="paramname">rs</td><td>Context to which the sampler will belong.</td></tr> 419 </table> 420 </dd> 421 </dl> 422 <dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a> </dd></dl> 423 424 </div> 425 </div> 426 <a class="anchor" id="a92624553227aa533faa94d6c09ae54ef"></a><!-- doxytag: member="android::RSC::Sampler::WRAP_NEAREST" ref="a92624553227aa533faa94d6c09ae54ef" args="(sp< RS > rs)" --> 427 <div class="memitem"> 428 <div class="memproto"> 429 <table class="memname"> 430 <tr> 431 <td class="memname">static sp<const <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a>> android::RSC::Sampler::WRAP_NEAREST </td> 432 <td>(</td> 433 <td class="paramtype">sp< <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> > </td> 434 <td class="paramname"><em>rs</em></td><td>)</td> 435 <td><code> [static]</code></td> 436 </tr> 437 </table> 438 </div> 439 <div class="memdoc"> 440 <p>Retrieve a sampler with min and mag set to nearest and wrap modes set to wrap.</p> 441 <dl><dt><b>Parameters:</b></dt><dd> 442 <table class="params"> 443 <tr><td class="paramname">rs</td><td>Context to which the sampler will belong.</td></tr> 444 </table> 445 </dd> 446 </dl> 447 <dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a> </dd></dl> 448 449 </div> 450 </div> 451 <hr/>The documentation for this class was generated from the following file:<ul> 452 <li><a class="el" href="rsCppStructs_8h_source.html">rsCppStructs.h</a></li> 453 </ul> 454 </div> 455 456 </body> 457 </html> 458