Html程序  |  458行  |  24.29 KB

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>

<title>android::RSC::Sampler Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />



</head>
<body>
<div id="top"><!-- do not remove this div! -->


<!-- Generated by Doxygen 1.7.5.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li class="current"><a href="annotated.html"><span>Structs</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><b>android</b>      </li>
      <li class="navelem"><b>RSC</b>      </li>
      <li class="navelem"><a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">android::RSC::Sampler Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="android::RSC::Sampler" --><!-- doxytag: inherits="android::RSC::BaseObj" -->
<p><code>#include &lt;<a class="el" href="rsCppStructs_8h_source.html">rsCppStructs.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for android::RSC::Sampler:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classandroid_1_1RSC_1_1Sampler.png" usemap="#android::RSC::Sampler_map" alt=""/>
  <map id="android::RSC::Sampler_map" name="android::RSC::Sampler_map">
<area href="classandroid_1_1RSC_1_1BaseObj.html" alt="android::RSC::BaseObj" shape="rect" coords="0,0,140,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">RsSamplerValue&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Sampler.html#a22c6f5b3bf6e430a0295ab99f65f3dca">getMinification</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">RsSamplerValue&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Sampler.html#acaa10a3d84d99cd68d2274cbb427abb9">getMagnification</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">RsSamplerValue&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Sampler.html#aaa21bc15543fcf02bbd688c38e14080f">getWrapS</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">RsSamplerValue&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Sampler.html#a9515051eeea23c062d29ca8361114919">getWrapT</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Sampler.html#ac4f94713027d23277a520f27f1522624">getAnisotropy</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static sp&lt; <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Sampler.html#a579e236fabaca164d0639bcb9c95a169">create</a> (sp&lt; <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> &gt; rs, RsSamplerValue min, RsSamplerValue mag, RsSamplerValue wrapS, RsSamplerValue wrapT, float anisotropy)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static sp&lt; const <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Sampler.html#a0518c8081002dd7c5633c85a79e9c2f6">CLAMP_NEAREST</a> (sp&lt; <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> &gt; rs)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static sp&lt; const <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Sampler.html#a06c0a2b5a1c589855bdfa568ab3af5d7">CLAMP_LINEAR</a> (sp&lt; <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> &gt; rs)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static sp&lt; const <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Sampler.html#a3eab76d9b2f713959e69e54dc5041ba8">CLAMP_LINEAR_MIP_LINEAR</a> (sp&lt; <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> &gt; rs)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static sp&lt; const <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Sampler.html#a92624553227aa533faa94d6c09ae54ef">WRAP_NEAREST</a> (sp&lt; <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> &gt; rs)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static sp&lt; const <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Sampler.html#a0984f4d8fc88d29d90d5a78b9cc3bb02">WRAP_LINEAR</a> (sp&lt; <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> &gt; rs)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static sp&lt; const <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Sampler.html#a11da4896311f9b3f71af904afb46b8f0">WRAP_LINEAR_MIP_LINEAR</a> (sp&lt; <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> &gt; rs)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static sp&lt; const <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Sampler.html#aa1d8a9143f4e82182c11605d85c9deec">MIRRORED_REPEAT_NEAREST</a> (sp&lt; <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> &gt; rs)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static sp&lt; const <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Sampler.html#a56e9fa97beed1f3f0cf9baf23c2125b7">MIRRORED_REPEAT_LINEAR</a> (sp&lt; <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> &gt; rs)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static sp&lt; const <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Sampler.html#adb6b89babff823202d1c5a112e6124ac">MIRRORED_REPEAT_LINEAR_MIP_LINEAR</a> (sp&lt; <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> &gt; rs)</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<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>
<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>

<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>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a06c0a2b5a1c589855bdfa568ab3af5d7"></a><!-- doxytag: member="android::RSC::Sampler::CLAMP_LINEAR" ref="a06c0a2b5a1c589855bdfa568ab3af5d7" args="(sp&lt; RS &gt; rs)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static sp&lt;const <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a>&gt; android::RSC::Sampler::CLAMP_LINEAR </td>
          <td>(</td>
          <td class="paramtype">sp&lt; <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> &gt;&#160;</td>
          <td class="paramname"><em>rs</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Retrieve a sampler with min and mag set to linear and wrap modes set to clamp.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">rs</td><td>Context to which the sampler will belong.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a3eab76d9b2f713959e69e54dc5041ba8"></a><!-- doxytag: member="android::RSC::Sampler::CLAMP_LINEAR_MIP_LINEAR" ref="a3eab76d9b2f713959e69e54dc5041ba8" args="(sp&lt; RS &gt; rs)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static sp&lt;const <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a>&gt; android::RSC::Sampler::CLAMP_LINEAR_MIP_LINEAR </td>
          <td>(</td>
          <td class="paramtype">sp&lt; <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> &gt;&#160;</td>
          <td class="paramname"><em>rs</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Retrieve a sampler with mag set to linear, min linear mipmap linear, and wrap modes set to clamp.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">rs</td><td>Context to which the sampler will belong.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a0518c8081002dd7c5633c85a79e9c2f6"></a><!-- doxytag: member="android::RSC::Sampler::CLAMP_NEAREST" ref="a0518c8081002dd7c5633c85a79e9c2f6" args="(sp&lt; RS &gt; rs)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static sp&lt;const <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a>&gt; android::RSC::Sampler::CLAMP_NEAREST </td>
          <td>(</td>
          <td class="paramtype">sp&lt; <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> &gt;&#160;</td>
          <td class="paramname"><em>rs</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Retrieve a sampler with min and mag set to nearest and wrap modes set to clamp.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">rs</td><td>Context to which the sampler will belong.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a579e236fabaca164d0639bcb9c95a169"></a><!-- doxytag: member="android::RSC::Sampler::create" ref="a579e236fabaca164d0639bcb9c95a169" args="(sp&lt; RS &gt; rs, RsSamplerValue min, RsSamplerValue mag, RsSamplerValue wrapS, RsSamplerValue wrapT, float anisotropy)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static sp&lt;<a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a>&gt; android::RSC::Sampler::create </td>
          <td>(</td>
          <td class="paramtype">sp&lt; <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> &gt;&#160;</td>
          <td class="paramname"><em>rs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">RsSamplerValue&#160;</td>
          <td class="paramname"><em>min</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">RsSamplerValue&#160;</td>
          <td class="paramname"><em>mag</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">RsSamplerValue&#160;</td>
          <td class="paramname"><em>wrapS</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">RsSamplerValue&#160;</td>
          <td class="paramname"><em>wrapT</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>anisotropy</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Creates a non-standard <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript context </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">min</td><td>minification </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">mag</td><td>magnification </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">wrapS</td><td>S wrapping mode </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">wrapT</td><td>T wrapping mode </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">anisotropy</td><td>anisotropy setting </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ac4f94713027d23277a520f27f1522624"></a><!-- doxytag: member="android::RSC::Sampler::getAnisotropy" ref="ac4f94713027d23277a520f27f1522624" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float android::RSC::Sampler::getAnisotropy </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>anisotropy setting for the sampler </dd></dl>

</div>
</div>
<a class="anchor" id="acaa10a3d84d99cd68d2274cbb427abb9"></a><!-- doxytag: member="android::RSC::Sampler::getMagnification" ref="acaa10a3d84d99cd68d2274cbb427abb9" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">RsSamplerValue android::RSC::Sampler::getMagnification </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>magnification setting for the sampler </dd></dl>

</div>
</div>
<a class="anchor" id="a22c6f5b3bf6e430a0295ab99f65f3dca"></a><!-- doxytag: member="android::RSC::Sampler::getMinification" ref="a22c6f5b3bf6e430a0295ab99f65f3dca" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">RsSamplerValue android::RSC::Sampler::getMinification </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>minification setting for the sampler </dd></dl>

</div>
</div>
<a class="anchor" id="aaa21bc15543fcf02bbd688c38e14080f"></a><!-- doxytag: member="android::RSC::Sampler::getWrapS" ref="aaa21bc15543fcf02bbd688c38e14080f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">RsSamplerValue android::RSC::Sampler::getWrapS </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>S wrapping mode for the sampler </dd></dl>

</div>
</div>
<a class="anchor" id="a9515051eeea23c062d29ca8361114919"></a><!-- doxytag: member="android::RSC::Sampler::getWrapT" ref="a9515051eeea23c062d29ca8361114919" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">RsSamplerValue android::RSC::Sampler::getWrapT </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>T wrapping mode for the sampler </dd></dl>

</div>
</div>
<a class="anchor" id="a56e9fa97beed1f3f0cf9baf23c2125b7"></a><!-- doxytag: member="android::RSC::Sampler::MIRRORED_REPEAT_LINEAR" ref="a56e9fa97beed1f3f0cf9baf23c2125b7" args="(sp&lt; RS &gt; rs)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static sp&lt;const <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a>&gt; android::RSC::Sampler::MIRRORED_REPEAT_LINEAR </td>
          <td>(</td>
          <td class="paramtype">sp&lt; <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> &gt;&#160;</td>
          <td class="paramname"><em>rs</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Retrieve a sampler with min and mag set to linear and wrap modes set to mirrored repeat.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">rs</td><td>Context to which the sampler will belong.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a> </dd></dl>

</div>
</div>
<a class="anchor" id="adb6b89babff823202d1c5a112e6124ac"></a><!-- doxytag: member="android::RSC::Sampler::MIRRORED_REPEAT_LINEAR_MIP_LINEAR" ref="adb6b89babff823202d1c5a112e6124ac" args="(sp&lt; RS &gt; rs)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static sp&lt;const <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a>&gt; android::RSC::Sampler::MIRRORED_REPEAT_LINEAR_MIP_LINEAR </td>
          <td>(</td>
          <td class="paramtype">sp&lt; <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> &gt;&#160;</td>
          <td class="paramname"><em>rs</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Retrieve a sampler with min and mag set to linear and wrap modes set to mirrored repeat.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">rs</td><td>Context to which the sampler will belong.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a> </dd></dl>

</div>
</div>
<a class="anchor" id="aa1d8a9143f4e82182c11605d85c9deec"></a><!-- doxytag: member="android::RSC::Sampler::MIRRORED_REPEAT_NEAREST" ref="aa1d8a9143f4e82182c11605d85c9deec" args="(sp&lt; RS &gt; rs)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static sp&lt;const <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a>&gt; android::RSC::Sampler::MIRRORED_REPEAT_NEAREST </td>
          <td>(</td>
          <td class="paramtype">sp&lt; <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> &gt;&#160;</td>
          <td class="paramname"><em>rs</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Retrieve a sampler with min and mag set to nearest and wrap modes set to mirrored repeat.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">rs</td><td>Context to which the sampler will belong.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a0984f4d8fc88d29d90d5a78b9cc3bb02"></a><!-- doxytag: member="android::RSC::Sampler::WRAP_LINEAR" ref="a0984f4d8fc88d29d90d5a78b9cc3bb02" args="(sp&lt; RS &gt; rs)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static sp&lt;const <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a>&gt; android::RSC::Sampler::WRAP_LINEAR </td>
          <td>(</td>
          <td class="paramtype">sp&lt; <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> &gt;&#160;</td>
          <td class="paramname"><em>rs</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Retrieve a sampler with min and mag set to linear and wrap modes set to wrap.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">rs</td><td>Context to which the sampler will belong.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a11da4896311f9b3f71af904afb46b8f0"></a><!-- doxytag: member="android::RSC::Sampler::WRAP_LINEAR_MIP_LINEAR" ref="a11da4896311f9b3f71af904afb46b8f0" args="(sp&lt; RS &gt; rs)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static sp&lt;const <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a>&gt; android::RSC::Sampler::WRAP_LINEAR_MIP_LINEAR </td>
          <td>(</td>
          <td class="paramtype">sp&lt; <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> &gt;&#160;</td>
          <td class="paramname"><em>rs</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Retrieve a sampler with mag set to linear, min linear mipmap linear, and wrap modes set to wrap.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">rs</td><td>Context to which the sampler will belong.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a92624553227aa533faa94d6c09ae54ef"></a><!-- doxytag: member="android::RSC::Sampler::WRAP_NEAREST" ref="a92624553227aa533faa94d6c09ae54ef" args="(sp&lt; RS &gt; rs)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static sp&lt;const <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a>&gt; android::RSC::Sampler::WRAP_NEAREST </td>
          <td>(</td>
          <td class="paramtype">sp&lt; <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> &gt;&#160;</td>
          <td class="paramname"><em>rs</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Retrieve a sampler with min and mag set to nearest and wrap modes set to wrap.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">rs</td><td>Context to which the sampler will belong.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a> </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="rsCppStructs_8h_source.html">rsCppStructs.h</a></li>
</ul>
</div>

</body>
</html>