Html程序  |  1896行  |  109.54 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::Element 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_1Element.html">Element</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<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::Element Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="android::RSC::Element" --><!-- 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::Element:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classandroid_1_1RSC_1_1Element.png" usemap="#android::RSC::Element_map" alt=""/>
  <map id="android::RSC::Element_map" name="android::RSC::Element_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="nested-classes"></a>
Data Structures</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element_1_1Builder.html">Builder</a></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a3bc7d03d3f6d1b130592e4192aeeedc9">getSubElementCount</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">sp&lt; const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a5a23869e7d2a8c22e0d70bf5a90448d1">getSubElement</a> (uint32_t index)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#adb8f953d025b4ea03dd19678c69d4f5a">getSubElementName</a> (uint32_t index)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a004e582191292906e3c20cca7c38ff71">getSubElementArraySize</a> (uint32_t index)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#adaf83e7649e7fd0dfe4b8e2c884bfa5a">getSubElementOffsetBytes</a> (uint32_t index)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">RsDataType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a8534de74929342ed32f271ddfd446a5a">getDataType</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">RsDataKind&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#aa30bc1b991015ac6c1915229e04a9cca">getDataKind</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a5368abfd727463499d49775733cb0cf6">getSizeBytes</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#abdae22ce17b81b9c931f02481302ca46">getVectorSize</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a66e7b5cccf8f7296bc049308d3990d66">isCompatible</a> (sp&lt; const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> &gt;e) const </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; const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a03eb94692c2a7ffd8353373ef416876b">BOOLEAN</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a685e0e76cedd4d457f20fe4e36ab00b8">U8</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a253a510dd720bade6324e94dd2bf6064">I8</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#ae6664c469040672733532b8d46181974">U16</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a909e326836fa1931b7d013b72bb238b9">I16</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a97c43a4c829fa6bf7b788e25ab38dc63">U32</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a4a71a4bd7f73708084abaf059f3b69d9">I32</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a3c45ab8ce73a2e652bcdfe8b632f870a">U64</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a8c5ef3c359e3ce8b03cfb7ebfaaa4723">I64</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a7cd574aa920bcf0bd7676ef12e8faf86">F32</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a2a156b02415f3c7781306757b4e6ff86">F64</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a52d7864dc41cdf9a9bccffd02564f88f">ELEMENT</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#ad426d4adfccc00804ecd29397dfcae4b">TYPE</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#ad7cec967de7508ed5f51ccecc3e43958">ALLOCATION</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a3fef8f6e13144323e5abe23f93727faa">SAMPLER</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a98a7cc92c40fee058b69045a7b9b25da">SCRIPT</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a5c5ab41b9abcdc410b5ad9bc033f969e">A_8</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#ab7c867004008b4f4bd3492db8f142e0a">RGB_565</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a68e4d393957b1236247d6c03de8508ac">RGB_888</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a22d97b36faf9a6e5cb68a8154e2b0d6b">RGBA_5551</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#aaba22a166b24a8cc18bea2f1b2c05b65">RGBA_4444</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a3499096cd7c11fea3711d61f39fdc3b4">RGBA_8888</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#ab61e4800f47caea120ec50ca0fb57505">F32_2</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a97d4c34ac8c682c112b4f2cf894142d3">F32_3</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a388d2e9812c4ff4610de74a40a49467e">F32_4</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a2702b5676a8a91307be1ccaa30b396b4">F64_2</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a4010587d58497cdf511ada9aae7674ce">F64_3</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#ae2a9038ba6526d40628e5f9689469221">F64_4</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a16372b6701a2ae427b91f034f98f8969">U8_2</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a8a4a66f1f8bcce2e71f7af910043d820">U8_3</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#ac20649353c9aa97b557c9e254f67492f">U8_4</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a92a9ec1f2c19ee13a7c869502cbc08ae">I8_2</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a4d064b750ac65f8caf9fdf9f69271d02">I8_3</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#ad05e74d257665041085a3f5ab2c3a2b0">I8_4</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a0fd26a84b5ccc124b09babbd03258e65">U16_2</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a76949cad4eacff904a5edfdd71361539">U16_3</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a55684e38747445df7d4ed2b8502a5e15">U16_4</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a7323339691ded8b0b50e3b099ec90c3a">I16_2</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#acd84e217f33bfb744315b2340752370e">I16_3</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a4c57bb50d919386c1d0fed978f18b6f8">I16_4</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a26a9a26622a8d068781a0d7eef87dab5">U32_2</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a2bd4aef93cd7039e6a093243dbb69fd2">U32_3</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#adcceb18cbe85edc2f62af6e751ae64bc">U32_4</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a837431e95049bcc539c466ce1502277f">I32_2</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a167926bf1978d84952bf53332313a329">I32_3</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#abd04541c11096d72c59a174eeec1ef69">I32_4</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a4ac012a1e70e98bcffe1a951f4e512ec">U64_2</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a313588f5b66a041a7336a883f9bbc59f">U64_3</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a7df301be899fbbf7d6a43b160b9de9ff">U64_4</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a47dc785bde64d663ee3b29f524bc16d7">I64_2</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#aeee892900573bb25af7e1615c2249685">I64_3</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a0359b89391ace9ba2982857f17007037">I64_4</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#ac1636fe09e6df6f390e13f9eec1f301a">YUV</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#ae86d34af397b300dc5bcd2bb853ae799">MATRIX_4X4</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a6fece5a3cfdbeec8c6956363efd2abda">MATRIX_3X3</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a437926b22d3c5daa3faa27e7a20df272">MATRIX_2X2</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_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#afaf1fb2fb0c2ad977867ef5ac098a4b6">createUser</a> (sp&lt; <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> &gt; rs, RsDataType dt)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static sp&lt; const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#a12061ba6e9db8bfefeddb934123e8fc7">createVector</a> (sp&lt; <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> &gt; rs, RsDataType dt, uint32_t size)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static sp&lt; const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1Element.html#aeeca0087ef6e895d76b3048828f0e481">createPixel</a> (sp&lt; <a class="el" href="classandroid_1_1RSC_1_1RS.html">RS</a> &gt; rs, RsDataType dt, RsDataKind dk)</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>An <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> represents one item within an <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a>. An <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> is roughly equivalent to a C type in a RenderScript kernel. Elements may be basic or complex. Some basic elements are:</p>
<ul>
<li>A single float value (equivalent to a float in a kernel)</li>
<li>A four-element float vector (equivalent to a float4 in a kernel)</li>
<li>An unsigned 32-bit integer (equivalent to an unsigned int in a kernel)</li>
<li>A single signed 8-bit integer (equivalent to a char in a kernel)</li>
</ul>
<p>Basic Elements are comprised of a Element.DataType and a Element.DataKind. The DataType encodes C type information of an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>, while the DataKind encodes how that <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> should be interpreted by a <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a>. Note that <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> objects with DataKind USER cannot be used as input for a <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a>. In general, <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> objects that are intended for use with a <a class="el" href="classandroid_1_1RSC_1_1Sampler.html">Sampler</a> should use bitmap-derived Elements such as <a class="el" href="classandroid_1_1RSC_1_1Element.html#a3499096cd7c11fea3711d61f39fdc3b4">Element::RGBA_8888</a>. </p>

<p>Definition at line <a class="el" href="rsCppStructs_8h_source.html#l00579">579</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="a5c5ab41b9abcdc410b5ad9bc033f969e"></a><!-- doxytag: member="android::RSC::Element::A_8" ref="a5c5ab41b9abcdc410b5ad9bc033f969e" 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_1Element.html">Element</a>&gt; android::RSC::Element::A_8 </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing an ALPHA_8 pixel. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ad7cec967de7508ed5f51ccecc3e43958"></a><!-- doxytag: member="android::RSC::Element::ALLOCATION" ref="ad7cec967de7508ed5f51ccecc3e43958" 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_1Element.html">Element</a>&gt; android::RSC::Element::ALLOCATION </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a single <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a03eb94692c2a7ffd8353373ef416876b"></a><!-- doxytag: member="android::RSC::Element::BOOLEAN" ref="a03eb94692c2a7ffd8353373ef416876b" 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_1Element.html">Element</a>&gt; android::RSC::Element::BOOLEAN </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a single bool. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="aeeca0087ef6e895d76b3048828f0e481"></a><!-- doxytag: member="android::RSC::Element::createPixel" ref="aeeca0087ef6e895d76b3048828f0e481" args="(sp&lt; RS &gt; rs, RsDataType dt, RsDataKind dk)" -->
<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_1Element.html">Element</a>&gt; android::RSC::Element::createPixel </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">RsDataType&#160;</td>
          <td class="paramname"><em>dt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">RsDataKind&#160;</td>
          <td class="paramname"><em>dk</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Create an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> with a given DataType and DataKind. </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">dt</td><td>DataType </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">dk</td><td>DataKind </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="afaf1fb2fb0c2ad977867ef5ac098a4b6"></a><!-- doxytag: member="android::RSC::Element::createUser" ref="afaf1fb2fb0c2ad977867ef5ac098a4b6" args="(sp&lt; RS &gt; rs, RsDataType dt)" -->
<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_1Element.html">Element</a>&gt; android::RSC::Element::createUser </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">RsDataType&#160;</td>
          <td class="paramname"><em>dt</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Create an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> with a given DataType. </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">dt</td><td>data type </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a12061ba6e9db8bfefeddb934123e8fc7"></a><!-- doxytag: member="android::RSC::Element::createVector" ref="a12061ba6e9db8bfefeddb934123e8fc7" args="(sp&lt; RS &gt; rs, RsDataType dt, uint32_t size)" -->
<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_1Element.html">Element</a>&gt; android::RSC::Element::createVector </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">RsDataType&#160;</td>
          <td class="paramname"><em>dt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Create a vector <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> with the given DataType </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">rs</td><td>RenderScript </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">dt</td><td>DataType </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">size</td><td>vector size </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a52d7864dc41cdf9a9bccffd02564f88f"></a><!-- doxytag: member="android::RSC::Element::ELEMENT" ref="a52d7864dc41cdf9a9bccffd02564f88f" 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_1Element.html">Element</a>&gt; android::RSC::Element::ELEMENT </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a single <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a7cd574aa920bcf0bd7676ef12e8faf86"></a><!-- doxytag: member="android::RSC::Element::F32" ref="a7cd574aa920bcf0bd7676ef12e8faf86" 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_1Element.html">Element</a>&gt; android::RSC::Element::F32 </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a single float. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ab61e4800f47caea120ec50ca0fb57505"></a><!-- doxytag: member="android::RSC::Element::F32_2" ref="ab61e4800f47caea120ec50ca0fb57505" 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_1Element.html">Element</a>&gt; android::RSC::Element::F32_2 </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a float2. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a97d4c34ac8c682c112b4f2cf894142d3"></a><!-- doxytag: member="android::RSC::Element::F32_3" ref="a97d4c34ac8c682c112b4f2cf894142d3" 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_1Element.html">Element</a>&gt; android::RSC::Element::F32_3 </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a float3. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a388d2e9812c4ff4610de74a40a49467e"></a><!-- doxytag: member="android::RSC::Element::F32_4" ref="a388d2e9812c4ff4610de74a40a49467e" 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_1Element.html">Element</a>&gt; android::RSC::Element::F32_4 </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a float4. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a2a156b02415f3c7781306757b4e6ff86"></a><!-- doxytag: member="android::RSC::Element::F64" ref="a2a156b02415f3c7781306757b4e6ff86" 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_1Element.html">Element</a>&gt; android::RSC::Element::F64 </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a single double. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a2702b5676a8a91307be1ccaa30b396b4"></a><!-- doxytag: member="android::RSC::Element::F64_2" ref="a2702b5676a8a91307be1ccaa30b396b4" 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_1Element.html">Element</a>&gt; android::RSC::Element::F64_2 </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a double2. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a4010587d58497cdf511ada9aae7674ce"></a><!-- doxytag: member="android::RSC::Element::F64_3" ref="a4010587d58497cdf511ada9aae7674ce" 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_1Element.html">Element</a>&gt; android::RSC::Element::F64_3 </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a double3. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ae2a9038ba6526d40628e5f9689469221"></a><!-- doxytag: member="android::RSC::Element::F64_4" ref="ae2a9038ba6526d40628e5f9689469221" 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_1Element.html">Element</a>&gt; android::RSC::Element::F64_4 </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a double4. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="aa30bc1b991015ac6c1915229e04a9cca"></a><!-- doxytag: member="android::RSC::Element::getDataKind" ref="aa30bc1b991015ac6c1915229e04a9cca" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">RsDataKind android::RSC::Element::getDataKind </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the data kind used for the <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>data kind </dd></dl>

<p>Definition at line <a class="el" href="rsCppStructs_8h_source.html#l00636">636</a> of file <a class="el" href="rsCppStructs_8h_source.html">rsCppStructs.h</a>.</p>

</div>
</div>
<a class="anchor" id="a8534de74929342ed32f271ddfd446a5a"></a><!-- doxytag: member="android::RSC::Element::getDataType" ref="a8534de74929342ed32f271ddfd446a5a" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">RsDataType android::RSC::Element::getDataType </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the data type used for the <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>data type </dd></dl>

<p>Definition at line <a class="el" href="rsCppStructs_8h_source.html#l00628">628</a> of file <a class="el" href="rsCppStructs_8h_source.html">rsCppStructs.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5368abfd727463499d49775733cb0cf6"></a><!-- doxytag: member="android::RSC::Element::getSizeBytes" ref="a5368abfd727463499d49775733cb0cf6" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t android::RSC::Element::getSizeBytes </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the size in bytes of the <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>size in bytes </dd></dl>

<p>Definition at line <a class="el" href="rsCppStructs_8h_source.html#l00644">644</a> of file <a class="el" href="rsCppStructs_8h_source.html">rsCppStructs.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5a23869e7d2a8c22e0d70bf5a90448d1"></a><!-- doxytag: member="android::RSC::Element::getSubElement" ref="a5a23869e7d2a8c22e0d70bf5a90448d1" args="(uint32_t index)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">sp&lt;const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>&gt; android::RSC::Element::getSubElement </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>For complex Elements, this returns the sub-element at a given index. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">index</td><td>index of sub-element </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>sub-element </dd></dl>

</div>
</div>
<a class="anchor" id="a004e582191292906e3c20cca7c38ff71"></a><!-- doxytag: member="android::RSC::Element::getSubElementArraySize" ref="a004e582191292906e3c20cca7c38ff71" args="(uint32_t index)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t android::RSC::Element::getSubElementArraySize </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>For complex Elements, this returns the size of the sub-element at a given index. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">index</td><td>index of sub-element </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>size of sub-element </dd></dl>

</div>
</div>
<a class="anchor" id="a3bc7d03d3f6d1b130592e4192aeeedc9"></a><!-- doxytag: member="android::RSC::Element::getSubElementCount" ref="a3bc7d03d3f6d1b130592e4192aeeedc9" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t android::RSC::Element::getSubElementCount </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Elements could be simple, such as an int or a float, or a structure with multiple sub-elements, such as a collection of floats, float2, float4. This function returns zero for simple elements or the number of sub-elements otherwise. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>number of sub-elements </dd></dl>

<p>Definition at line <a class="el" href="rsCppStructs_8h_source.html#l00590">590</a> of file <a class="el" href="rsCppStructs_8h_source.html">rsCppStructs.h</a>.</p>

</div>
</div>
<a class="anchor" id="adb8f953d025b4ea03dd19678c69d4f5a"></a><!-- doxytag: member="android::RSC::Element::getSubElementName" ref="adb8f953d025b4ea03dd19678c69d4f5a" args="(uint32_t index)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* android::RSC::Element::getSubElementName </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>For complex Elements, this returns the name of the sub-element at a given index. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">index</td><td>index of sub-element </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>name of sub-element </dd></dl>

</div>
</div>
<a class="anchor" id="adaf83e7649e7fd0dfe4b8e2c884bfa5a"></a><!-- doxytag: member="android::RSC::Element::getSubElementOffsetBytes" ref="adaf83e7649e7fd0dfe4b8e2c884bfa5a" args="(uint32_t index)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t android::RSC::Element::getSubElementOffsetBytes </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the location of a sub-element within a complex <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">index</td><td>index of sub-element </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>offset in bytes </dd></dl>

</div>
</div>
<a class="anchor" id="abdae22ce17b81b9c931f02481302ca46"></a><!-- doxytag: member="android::RSC::Element::getVectorSize" ref="abdae22ce17b81b9c931f02481302ca46" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t android::RSC::Element::getVectorSize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the number of vector components for this <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>number of vector components </dd></dl>

<p>Definition at line <a class="el" href="rsCppStructs_8h_source.html#l00652">652</a> of file <a class="el" href="rsCppStructs_8h_source.html">rsCppStructs.h</a>.</p>

</div>
</div>
<a class="anchor" id="a909e326836fa1931b7d013b72bb238b9"></a><!-- doxytag: member="android::RSC::Element::I16" ref="a909e326836fa1931b7d013b72bb238b9" 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_1Element.html">Element</a>&gt; android::RSC::Element::I16 </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a single signed short. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a7323339691ded8b0b50e3b099ec90c3a"></a><!-- doxytag: member="android::RSC::Element::I16_2" ref="a7323339691ded8b0b50e3b099ec90c3a" 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_1Element.html">Element</a>&gt; android::RSC::Element::I16_2 </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a short2. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="acd84e217f33bfb744315b2340752370e"></a><!-- doxytag: member="android::RSC::Element::I16_3" ref="acd84e217f33bfb744315b2340752370e" 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_1Element.html">Element</a>&gt; android::RSC::Element::I16_3 </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a short3. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a4c57bb50d919386c1d0fed978f18b6f8"></a><!-- doxytag: member="android::RSC::Element::I16_4" ref="a4c57bb50d919386c1d0fed978f18b6f8" 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_1Element.html">Element</a>&gt; android::RSC::Element::I16_4 </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a short4. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a4a71a4bd7f73708084abaf059f3b69d9"></a><!-- doxytag: member="android::RSC::Element::I32" ref="a4a71a4bd7f73708084abaf059f3b69d9" 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_1Element.html">Element</a>&gt; android::RSC::Element::I32 </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a single signed int. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a837431e95049bcc539c466ce1502277f"></a><!-- doxytag: member="android::RSC::Element::I32_2" ref="a837431e95049bcc539c466ce1502277f" 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_1Element.html">Element</a>&gt; android::RSC::Element::I32_2 </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing an int2. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a167926bf1978d84952bf53332313a329"></a><!-- doxytag: member="android::RSC::Element::I32_3" ref="a167926bf1978d84952bf53332313a329" 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_1Element.html">Element</a>&gt; android::RSC::Element::I32_3 </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing an int3. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="abd04541c11096d72c59a174eeec1ef69"></a><!-- doxytag: member="android::RSC::Element::I32_4" ref="abd04541c11096d72c59a174eeec1ef69" 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_1Element.html">Element</a>&gt; android::RSC::Element::I32_4 </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing an int4. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a8c5ef3c359e3ce8b03cfb7ebfaaa4723"></a><!-- doxytag: member="android::RSC::Element::I64" ref="a8c5ef3c359e3ce8b03cfb7ebfaaa4723" 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_1Element.html">Element</a>&gt; android::RSC::Element::I64 </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a single signed long long. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a47dc785bde64d663ee3b29f524bc16d7"></a><!-- doxytag: member="android::RSC::Element::I64_2" ref="a47dc785bde64d663ee3b29f524bc16d7" 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_1Element.html">Element</a>&gt; android::RSC::Element::I64_2 </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a long2. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="aeee892900573bb25af7e1615c2249685"></a><!-- doxytag: member="android::RSC::Element::I64_3" ref="aeee892900573bb25af7e1615c2249685" 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_1Element.html">Element</a>&gt; android::RSC::Element::I64_3 </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a long3. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a0359b89391ace9ba2982857f17007037"></a><!-- doxytag: member="android::RSC::Element::I64_4" ref="a0359b89391ace9ba2982857f17007037" 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_1Element.html">Element</a>&gt; android::RSC::Element::I64_4 </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a long4. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a253a510dd720bade6324e94dd2bf6064"></a><!-- doxytag: member="android::RSC::Element::I8" ref="a253a510dd720bade6324e94dd2bf6064" 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_1Element.html">Element</a>&gt; android::RSC::Element::I8 </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a single signed char. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a92a9ec1f2c19ee13a7c869502cbc08ae"></a><!-- doxytag: member="android::RSC::Element::I8_2" ref="a92a9ec1f2c19ee13a7c869502cbc08ae" 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_1Element.html">Element</a>&gt; android::RSC::Element::I8_2 </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a char2. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a4d064b750ac65f8caf9fdf9f69271d02"></a><!-- doxytag: member="android::RSC::Element::I8_3" ref="a4d064b750ac65f8caf9fdf9f69271d02" 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_1Element.html">Element</a>&gt; android::RSC::Element::I8_3 </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a char3. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ad05e74d257665041085a3f5ab2c3a2b0"></a><!-- doxytag: member="android::RSC::Element::I8_4" ref="ad05e74d257665041085a3f5ab2c3a2b0" 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_1Element.html">Element</a>&gt; android::RSC::Element::I8_4 </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a char4. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a66e7b5cccf8f7296bc049308d3990d66"></a><!-- doxytag: member="android::RSC::Element::isCompatible" ref="a66e7b5cccf8f7296bc049308d3990d66" args="(sp&lt; const Element &gt;e) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool android::RSC::Element::isCompatible </td>
          <td>(</td>
          <td class="paramtype">sp&lt; const <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> &gt;&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns true if the <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> can interoperate with this <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">e</td><td><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> to compare </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if Elements can interoperate </dd></dl>

</div>
</div>
<a class="anchor" id="a437926b22d3c5daa3faa27e7a20df272"></a><!-- doxytag: member="android::RSC::Element::MATRIX_2X2" ref="a437926b22d3c5daa3faa27e7a20df272" 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_1Element.html">Element</a>&gt; android::RSC::Element::MATRIX_2X2 </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing an rs_matrix_2x2. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a6fece5a3cfdbeec8c6956363efd2abda"></a><!-- doxytag: member="android::RSC::Element::MATRIX_3X3" ref="a6fece5a3cfdbeec8c6956363efd2abda" 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_1Element.html">Element</a>&gt; android::RSC::Element::MATRIX_3X3 </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing an rs_matrix_3x3. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ae86d34af397b300dc5bcd2bb853ae799"></a><!-- doxytag: member="android::RSC::Element::MATRIX_4X4" ref="ae86d34af397b300dc5bcd2bb853ae799" 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_1Element.html">Element</a>&gt; android::RSC::Element::MATRIX_4X4 </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing an rs_matrix_4x4. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ab7c867004008b4f4bd3492db8f142e0a"></a><!-- doxytag: member="android::RSC::Element::RGB_565" ref="ab7c867004008b4f4bd3492db8f142e0a" 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_1Element.html">Element</a>&gt; android::RSC::Element::RGB_565 </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing an RGB_565 pixel. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a68e4d393957b1236247d6c03de8508ac"></a><!-- doxytag: member="android::RSC::Element::RGB_888" ref="a68e4d393957b1236247d6c03de8508ac" 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_1Element.html">Element</a>&gt; android::RSC::Element::RGB_888 </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing an RGB_888 pixel. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="aaba22a166b24a8cc18bea2f1b2c05b65"></a><!-- doxytag: member="android::RSC::Element::RGBA_4444" ref="aaba22a166b24a8cc18bea2f1b2c05b65" 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_1Element.html">Element</a>&gt; android::RSC::Element::RGBA_4444 </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing an RGBA_4444 pixel. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a22d97b36faf9a6e5cb68a8154e2b0d6b"></a><!-- doxytag: member="android::RSC::Element::RGBA_5551" ref="a22d97b36faf9a6e5cb68a8154e2b0d6b" 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_1Element.html">Element</a>&gt; android::RSC::Element::RGBA_5551 </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing an RGBA_5551 pixel. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a3499096cd7c11fea3711d61f39fdc3b4"></a><!-- doxytag: member="android::RSC::Element::RGBA_8888" ref="a3499096cd7c11fea3711d61f39fdc3b4" 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_1Element.html">Element</a>&gt; android::RSC::Element::RGBA_8888 </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing an RGBA_8888 pixel. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a3fef8f6e13144323e5abe23f93727faa"></a><!-- doxytag: member="android::RSC::Element::SAMPLER" ref="a3fef8f6e13144323e5abe23f93727faa" 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_1Element.html">Element</a>&gt; android::RSC::Element::SAMPLER </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a single <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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a98a7cc92c40fee058b69045a7b9b25da"></a><!-- doxytag: member="android::RSC::Element::SCRIPT" ref="a98a7cc92c40fee058b69045a7b9b25da" 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_1Element.html">Element</a>&gt; android::RSC::Element::SCRIPT </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a single <a class="el" href="classandroid_1_1RSC_1_1Script.html">Script</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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ad426d4adfccc00804ecd29397dfcae4b"></a><!-- doxytag: member="android::RSC::Element::TYPE" ref="ad426d4adfccc00804ecd29397dfcae4b" 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_1Element.html">Element</a>&gt; android::RSC::Element::TYPE </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a single <a class="el" href="classandroid_1_1RSC_1_1Type.html">Type</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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ae6664c469040672733532b8d46181974"></a><!-- doxytag: member="android::RSC::Element::U16" ref="ae6664c469040672733532b8d46181974" 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_1Element.html">Element</a>&gt; android::RSC::Element::U16 </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a single unsigned short. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a0fd26a84b5ccc124b09babbd03258e65"></a><!-- doxytag: member="android::RSC::Element::U16_2" ref="a0fd26a84b5ccc124b09babbd03258e65" 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_1Element.html">Element</a>&gt; android::RSC::Element::U16_2 </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a ushort2. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a76949cad4eacff904a5edfdd71361539"></a><!-- doxytag: member="android::RSC::Element::U16_3" ref="a76949cad4eacff904a5edfdd71361539" 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_1Element.html">Element</a>&gt; android::RSC::Element::U16_3 </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a ushort3. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a55684e38747445df7d4ed2b8502a5e15"></a><!-- doxytag: member="android::RSC::Element::U16_4" ref="a55684e38747445df7d4ed2b8502a5e15" 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_1Element.html">Element</a>&gt; android::RSC::Element::U16_4 </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a ushort4. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a97c43a4c829fa6bf7b788e25ab38dc63"></a><!-- doxytag: member="android::RSC::Element::U32" ref="a97c43a4c829fa6bf7b788e25ab38dc63" 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_1Element.html">Element</a>&gt; android::RSC::Element::U32 </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a single unsigned int. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a26a9a26622a8d068781a0d7eef87dab5"></a><!-- doxytag: member="android::RSC::Element::U32_2" ref="a26a9a26622a8d068781a0d7eef87dab5" 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_1Element.html">Element</a>&gt; android::RSC::Element::U32_2 </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a uint2. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a2bd4aef93cd7039e6a093243dbb69fd2"></a><!-- doxytag: member="android::RSC::Element::U32_3" ref="a2bd4aef93cd7039e6a093243dbb69fd2" 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_1Element.html">Element</a>&gt; android::RSC::Element::U32_3 </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a uint3. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="adcceb18cbe85edc2f62af6e751ae64bc"></a><!-- doxytag: member="android::RSC::Element::U32_4" ref="adcceb18cbe85edc2f62af6e751ae64bc" 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_1Element.html">Element</a>&gt; android::RSC::Element::U32_4 </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a uint4. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a3c45ab8ce73a2e652bcdfe8b632f870a"></a><!-- doxytag: member="android::RSC::Element::U64" ref="a3c45ab8ce73a2e652bcdfe8b632f870a" 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_1Element.html">Element</a>&gt; android::RSC::Element::U64 </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a single unsigned long long. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a4ac012a1e70e98bcffe1a951f4e512ec"></a><!-- doxytag: member="android::RSC::Element::U64_2" ref="a4ac012a1e70e98bcffe1a951f4e512ec" 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_1Element.html">Element</a>&gt; android::RSC::Element::U64_2 </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a ulong2. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a313588f5b66a041a7336a883f9bbc59f"></a><!-- doxytag: member="android::RSC::Element::U64_3" ref="a313588f5b66a041a7336a883f9bbc59f" 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_1Element.html">Element</a>&gt; android::RSC::Element::U64_3 </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a ulong3. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a7df301be899fbbf7d6a43b160b9de9ff"></a><!-- doxytag: member="android::RSC::Element::U64_4" ref="a7df301be899fbbf7d6a43b160b9de9ff" 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_1Element.html">Element</a>&gt; android::RSC::Element::U64_4 </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a ulong4. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a685e0e76cedd4d457f20fe4e36ab00b8"></a><!-- doxytag: member="android::RSC::Element::U8" ref="a685e0e76cedd4d457f20fe4e36ab00b8" 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_1Element.html">Element</a>&gt; android::RSC::Element::U8 </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a single unsigned char. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a16372b6701a2ae427b91f034f98f8969"></a><!-- doxytag: member="android::RSC::Element::U8_2" ref="a16372b6701a2ae427b91f034f98f8969" 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_1Element.html">Element</a>&gt; android::RSC::Element::U8_2 </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a uchar2. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a8a4a66f1f8bcce2e71f7af910043d820"></a><!-- doxytag: member="android::RSC::Element::U8_3" ref="a8a4a66f1f8bcce2e71f7af910043d820" 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_1Element.html">Element</a>&gt; android::RSC::Element::U8_3 </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a uchar3. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ac20649353c9aa97b557c9e254f67492f"></a><!-- doxytag: member="android::RSC::Element::U8_4" ref="ac20649353c9aa97b557c9e254f67492f" 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_1Element.html">Element</a>&gt; android::RSC::Element::U8_4 </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a uchar4. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ac1636fe09e6df6f390e13f9eec1f301a"></a><!-- doxytag: member="android::RSC::Element::YUV" ref="ac1636fe09e6df6f390e13f9eec1f301a" 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_1Element.html">Element</a>&gt; android::RSC::Element::YUV </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>Utility function for returning an <a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</a> containing a YUV pixel. </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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classandroid_1_1RSC_1_1Element.html">Element</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>