glm/doc/api/a00069_source.html

185 lines
30 KiB
HTML
Raw Normal View History

<!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"/>
2012-11-18 13:05:52 +00:00
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>ocl_type.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
2012-11-18 13:05:52 +00:00
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
2012-11-18 13:05:52 +00:00
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
2012-11-18 13:05:52 +00:00
<td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
</tr>
</tbody>
</table>
</div>
2012-11-18 13:05:52 +00:00
<!-- end header part -->
<!-- Generated by Doxygen 1.8.2 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File&#160;List</span></a></li>
</ul>
</div>
2012-11-18 13:05:52 +00:00
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_934f46a345653ef2b3014a1b37a162c1.html">G:</a></li><li class="navelem"><a class="el" href="dir_bf513233250988b6ff3b72f8482c1597.html">Repository</a></li><li class="navelem"><a class="el" href="dir_e217bba5d90990da93f61f0ea8b942dc.html">glm</a></li><li class="navelem"><a class="el" href="dir_a844bf6d5a07b8853f8463b41029861e.html">glm</a></li><li class="navelem"><a class="el" href="dir_abb3ddac8d2c26e45fecc003279ba790.html">gtx</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">ocl_type.hpp</div> </div>
2012-11-18 13:05:52 +00:00
</div><!--header-->
<div class="contents">
2012-11-18 13:05:52 +00:00
<a href="a00069.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;</div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;</div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;</div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;</div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;</div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;</div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;</div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;</div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;</div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;</div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;</div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;</div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;</div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;</div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;</div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;</div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;</div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;</div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;</div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;</div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;</div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;</div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;<span class="preprocessor">#ifndef GLM_GTX_ocl_type</span></div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define GLM_GTX_ocl_type GLM_VERSION</span></div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;<span class="comment">// Dependency:</span></div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;<span class="preprocessor">#include &quot;../glm.hpp&quot;</span></div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;<span class="preprocessor">#if(defined(GLM_MESSAGES) &amp;&amp; !defined(glm_ext))</span></div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;<span class="preprocessor"></span><span class="preprocessor"># pragma message(&quot;GLM: GLM_GTX_ocl_type extension included&quot;)</span></div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;<span class="keyword">namespace </span>glm{</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;<span class="keyword">namespace </span>gtx</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;{</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; <span class="comment">// Scalar types </span></div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160;</div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="code" href="a00192.html#ga595300752d3c11b13411074df8fcadc7"> 58</a></span>&#160; <span class="keyword">typedef</span> detail::int8 <a class="code" href="a00192.html#ga595300752d3c11b13411074df8fcadc7" title="8bit signed integer. (from GLM_GTX_ocl_type extension)">cl_char</a>; </div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="code" href="a00192.html#ga30b0387f3031a789362d91fc2dd2dc3f"> 59</a></span>&#160; <span class="keyword">typedef</span> detail::int16 <a class="code" href="a00192.html#ga30b0387f3031a789362d91fc2dd2dc3f" title="16bit signed integer. (from GLM_GTX_ocl_type extension)">cl_short</a>; </div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="code" href="a00192.html#ga15daeef78674bfa6218f1fc8050e0967"> 60</a></span>&#160; <span class="keyword">typedef</span> detail::int32 <a class="code" href="a00192.html#ga15daeef78674bfa6218f1fc8050e0967" title="32bit signed integer. (from GLM_GTX_ocl_type extension)">cl_int</a>; </div>
<div class="line"><a name="l00061"></a><span class="lineno"><a class="code" href="a00192.html#ga58de53886632d819d967a2972a977c37"> 61</a></span>&#160; <span class="keyword">typedef</span> detail::int64 <a class="code" href="a00192.html#ga58de53886632d819d967a2972a977c37" title="64bit signed integer. (from GLM_GTX_ocl_type extension)">cl_long</a>; </div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;</div>
<div class="line"><a name="l00063"></a><span class="lineno"><a class="code" href="a00192.html#ga791bdd6f40533322f03efcc031dc43e7"> 63</a></span>&#160; <span class="keyword">typedef</span> detail::uint8 <a class="code" href="a00192.html#ga791bdd6f40533322f03efcc031dc43e7" title="8bit signed integer. (from GLM_GTX_ocl_type extension)">cl_uchar</a>; </div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="code" href="a00192.html#ga17431e27a8e8d20ec69a3ba3f6557a2d"> 64</a></span>&#160; <span class="keyword">typedef</span> detail::uint16 <a class="code" href="a00192.html#ga17431e27a8e8d20ec69a3ba3f6557a2d" title="16bit signed integer. (from GLM_GTX_ocl_type extension)">cl_ushort</a>; </div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="code" href="a00192.html#gafab0cba90c3db2c143bb3e1bc38ac41f"> 65</a></span>&#160; <span class="keyword">typedef</span> detail::uint32 <a class="code" href="a00192.html#gafab0cba90c3db2c143bb3e1bc38ac41f" title="32bit signed integer. (from GLM_GTX_ocl_type extension)">cl_uint</a>; </div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="code" href="a00192.html#gaf00884c494b2bd9d47c739847c5e8eaf"> 66</a></span>&#160; <span class="keyword">typedef</span> detail::uint64 <a class="code" href="a00192.html#gaf00884c494b2bd9d47c739847c5e8eaf" title="64bit signed integer. (from GLM_GTX_ocl_type extension)">cl_ulong</a>; </div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;</div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="code" href="a00192.html#ga8bb152355ac899354df1742c673faad0"> 68</a></span>&#160; <span class="keyword">typedef</span> detail::float16 <a class="code" href="a00192.html#ga8bb152355ac899354df1742c673faad0" title="Half-precision floating-point scalar. (from GLM_GTX_ocl_type extension)">cl_half</a>; </div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="code" href="a00192.html#ga6a505bfaeb7d16f0aee456c238d31f06"> 69</a></span>&#160; <span class="keyword">typedef</span> detail::float32 <a class="code" href="a00192.html#ga6a505bfaeb7d16f0aee456c238d31f06" title="Single-precision floating-point scalar. (from GLM_GTX_ocl_type extension)">cl_float</a>; </div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;</div>
<div class="line"><a name="l00072"></a><span class="lineno"><a class="code" href="a00192.html#gafe341e63c543ce750d41ed776ca0f8cc"> 72</a></span>&#160; <span class="keyword">typedef</span> detail::int8 <a class="code" href="a00192.html#gafe341e63c543ce750d41ed776ca0f8cc" title="8bit signed integer. (from GLM_GTX_ocl_type extension)">cl_char1</a>; </div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="code" href="a00192.html#gacedae42c667e97db08055a962e4ac73f"> 73</a></span>&#160; <span class="keyword">typedef</span> detail::int16 <a class="code" href="a00192.html#gacedae42c667e97db08055a962e4ac73f" title="16bit signed integer. (from GLM_GTX_ocl_type extension)">cl_short1</a>; </div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="code" href="a00192.html#ga929eeb0ebaa707edf32fe6381eac38a2"> 74</a></span>&#160; <span class="keyword">typedef</span> detail::int32 <a class="code" href="a00192.html#ga929eeb0ebaa707edf32fe6381eac38a2" title="32bit signed integer. (from GLM_GTX_ocl_type extension)">cl_int1</a>; </div>
<div class="line"><a name="l00075"></a><span class="lineno"><a class="code" href="a00192.html#ga23c699d4f4ccf698822b67da14b87481"> 75</a></span>&#160; <span class="keyword">typedef</span> detail::int64 <a class="code" href="a00192.html#ga23c699d4f4ccf698822b67da14b87481" title="64bit signed integer. (from GLM_GTX_ocl_type extension)">cl_long1</a>; </div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160;</div>
<div class="line"><a name="l00077"></a><span class="lineno"><a class="code" href="a00192.html#ga458a3244086d84cb4a02356e17e10e41"> 77</a></span>&#160; <span class="keyword">typedef</span> detail::uint8 <a class="code" href="a00192.html#ga458a3244086d84cb4a02356e17e10e41" title="8bit signed integer. (from GLM_GTX_ocl_type extension)">cl_uchar1</a>; </div>
<div class="line"><a name="l00078"></a><span class="lineno"><a class="code" href="a00192.html#ga2765c8e248830f14881cafc7ff08ce48"> 78</a></span>&#160; <span class="keyword">typedef</span> detail::uint16 <a class="code" href="a00192.html#ga2765c8e248830f14881cafc7ff08ce48" title="16bit signed integer. (from GLM_GTX_ocl_type extension)">cl_ushort1</a>; </div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="code" href="a00192.html#ga463351df94e9f31c91787e9ead1d0f5e"> 79</a></span>&#160; <span class="keyword">typedef</span> detail::uint32 <a class="code" href="a00192.html#ga463351df94e9f31c91787e9ead1d0f5e" title="32bit signed integer. (from GLM_GTX_ocl_type extension)">cl_uint1</a>; </div>
<div class="line"><a name="l00080"></a><span class="lineno"><a class="code" href="a00192.html#ga38c51ec5073e63c422c741cf7e40a6a8"> 80</a></span>&#160; <span class="keyword">typedef</span> detail::uint64 <a class="code" href="a00192.html#ga38c51ec5073e63c422c741cf7e40a6a8" title="64bit signed integer. (from GLM_GTX_ocl_type extension)">cl_ulong1</a>; </div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160;</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; <span class="comment">//typedef detail::float16 cl_half1; //!&lt; \brief Half-precision floating-point scalar. (from GLM_GTX_ocl_type extension)</span></div>
<div class="line"><a name="l00083"></a><span class="lineno"><a class="code" href="a00192.html#gabd9de5d6f4075dcf643bcb3c74b4d169"> 83</a></span>&#160; <span class="keyword">typedef</span> detail::float32 <a class="code" href="a00192.html#gabd9de5d6f4075dcf643bcb3c74b4d169" title="Single-precision floating-point scalar. (from GLM_GTX_ocl_type extension)">cl_float1</a>; </div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160;</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160;</div>
<div class="line"><a name="l00086"></a><span class="lineno"><a class="code" href="a00192.html#ga5eaab898e9289ffad98798d96a8ff22e"> 86</a></span>&#160; <span class="keyword">typedef</span> detail::tvec2&lt;detail::int8&gt; <a class="code" href="a00192.html#ga5eaab898e9289ffad98798d96a8ff22e" title="8bit signed integer. (from GLM_GTX_ocl_type extension)">cl_char2</a>; </div>
<div class="line"><a name="l00087"></a><span class="lineno"><a class="code" href="a00192.html#ga035b54a5fd591587d9fa6131e8a0c73c"> 87</a></span>&#160; <span class="keyword">typedef</span> detail::tvec2&lt;detail::int16&gt; <a class="code" href="a00192.html#ga035b54a5fd591587d9fa6131e8a0c73c" title="16bit signed integer. (from GLM_GTX_ocl_type extension)">cl_short2</a>; </div>
<div class="line"><a name="l00088"></a><span class="lineno"><a class="code" href="a00192.html#ga75d44bea03be3491e5636dea711b70eb"> 88</a></span>&#160; <span class="keyword">typedef</span> detail::tvec2&lt;detail::int32&gt; <a class="code" href="a00192.html#ga75d44bea03be3491e5636dea711b70eb" title="32bit signed integer. (from GLM_GTX_ocl_type extension)">cl_int2</a>; </div>
<div class="line"><a name="l00089"></a><span class="lineno"><a class="code" href="a00192.html#ga64aa9b2dc534ebd9cb26010e2eabd987"> 89</a></span>&#160; <span class="keyword">typedef</span> detail::tvec2&lt;detail::int64&gt; <a class="code" href="a00192.html#ga64aa9b2dc534ebd9cb26010e2eabd987" title="64bit signed integer. (from GLM_GTX_ocl_type extension)">cl_long2</a>; </div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160;</div>
<div class="line"><a name="l00091"></a><span class="lineno"><a class="code" href="a00192.html#gafee78def47febbb4ff7789df67f80e67"> 91</a></span>&#160; <span class="keyword">typedef</span> detail::tvec2&lt;detail::uint8&gt; <a class="code" href="a00192.html#gafee78def47febbb4ff7789df67f80e67" title="8bit signed integer. (from GLM_GTX_ocl_type extension)">cl_uchar2</a>; </div>
<div class="line"><a name="l00092"></a><span class="lineno"><a class="code" href="a00192.html#ga83879286ad8a304211a9bd1dec8a81b9"> 92</a></span>&#160; <span class="keyword">typedef</span> detail::tvec2&lt;detail::uint16&gt; <a class="code" href="a00192.html#ga83879286ad8a304211a9bd1dec8a81b9" title="16bit signed integer. (from GLM_GTX_ocl_type extension)">cl_ushort2</a>; </div>
<div class="line"><a name="l00093"></a><span class="lineno"><a class="code" href="a00192.html#gaf64dcd996174ae3271a9590c232d680f"> 93</a></span>&#160; <span class="keyword">typedef</span> detail::tvec2&lt;detail::uint32&gt; <a class="code" href="a00192.html#gaf64dcd996174ae3271a9590c232d680f" title="32bit signed integer. (from GLM_GTX_ocl_type extension)">cl_uint2</a>; </div>
<div class="line"><a name="l00094"></a><span class="lineno"><a class="code" href="a00192.html#ga983b584fd1a89ba357c4d161f57a97a5"> 94</a></span>&#160; <span class="keyword">typedef</span> detail::tvec2&lt;detail::uint64&gt; <a class="code" href="a00192.html#ga983b584fd1a89ba357c4d161f57a97a5" title="64bit signed integer. (from GLM_GTX_ocl_type extension)">cl_ulong2</a>; </div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160;</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; <span class="comment">//typedef detail::tvec2&lt;detail::float16&gt; cl_half2; //!&lt; \brief Half-precision floating-point scalar. (from GLM_GTX_ocl_type extension)</span></div>
<div class="line"><a name="l00097"></a><span class="lineno"><a class="code" href="a00192.html#ga1d631e031b44406b9ecf4c9390ff4aaf"> 97</a></span>&#160; <span class="keyword">typedef</span> detail::tvec2&lt;detail::float32&gt; <a class="code" href="a00192.html#ga1d631e031b44406b9ecf4c9390ff4aaf" title="Single-precision floating-point scalar. (from GLM_GTX_ocl_type extension)">cl_float2</a>; </div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160;</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160;</div>
<div class="line"><a name="l00100"></a><span class="lineno"><a class="code" href="a00192.html#ga3f60c528dc517a88386358e525238198"> 100</a></span>&#160; <span class="keyword">typedef</span> detail::tvec3&lt;detail::int8&gt; <a class="code" href="a00192.html#ga3f60c528dc517a88386358e525238198" title="8bit signed integer. (from GLM_GTX_ocl_type extension)">cl_char3</a>; </div>
<div class="line"><a name="l00101"></a><span class="lineno"><a class="code" href="a00192.html#gaacc919abeb1dac5c46b35cba6f2ff1f6"> 101</a></span>&#160; <span class="keyword">typedef</span> detail::tvec3&lt;detail::int16&gt; <a class="code" href="a00192.html#gaacc919abeb1dac5c46b35cba6f2ff1f6" title="16bit signed integer. (from GLM_GTX_ocl_type extension)">cl_short3</a>; </div>
<div class="line"><a name="l00102"></a><span class="lineno"><a class="code" href="a00192.html#ga685501809b08b64d48ede7cd04818675"> 102</a></span>&#160; <span class="keyword">typedef</span> detail::tvec3&lt;detail::int32&gt; <a class="code" href="a00192.html#ga685501809b08b64d48ede7cd04818675" title="32bit signed integer. (from GLM_GTX_ocl_type extension)">cl_int3</a>; </div>
<div class="line"><a name="l00103"></a><span class="lineno"><a class="code" href="a00192.html#ga6deed316e020729bc448758fc2e72388"> 103</a></span>&#160; <span class="keyword">typedef</span> detail::tvec3&lt;detail::int64&gt; <a class="code" href="a00192.html#ga6deed316e020729bc448758fc2e72388" title="64bit signed integer. (from GLM_GTX_ocl_type extension)">cl_long3</a>; </div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160;</div>
<div class="line"><a name="l00105"></a><span class="lineno"><a class="code" href="a00192.html#ga03f1fdd60172bf92db40de83e13ab2f8"> 105</a></span>&#160; <span class="keyword">typedef</span> detail::tvec3&lt;detail::uint8&gt; <a class="code" href="a00192.html#ga03f1fdd60172bf92db40de83e13ab2f8" title="8bit signed integer. (from GLM_GTX_ocl_type extension)">cl_uchar3</a>; </div>
<div class="line"><a name="l00106"></a><span class="lineno"><a class="code" href="a00192.html#ga8ffa538b79f80a173f52a83c3bcc0587"> 106</a></span>&#160; <span class="keyword">typedef</span> detail::tvec3&lt;detail::uint16&gt; <a class="code" href="a00192.html#ga8ffa538b79f80a173f52a83c3bcc0587" title="16bit signed integer. (from GLM_GTX_ocl_type extension)">cl_ushort3</a>; </div>
<div class="line"><a name="l00107"></a><span class="lineno"><a class="code" href="a00192.html#ga423c13d5b93ab6f5fcdf248e0c89fb8d"> 107</a></span>&#160; <span class="keyword">typedef</span> detail::tvec3&lt;detail::uint32&gt; <a class="code" href="a00192.html#ga423c13d5b93ab6f5fcdf248e0c89fb8d" title="32bit signed integer. (from GLM_GTX_ocl_type extension)">cl_uint3</a>; </div>
<div class="line"><a name="l00108"></a><span class="lineno"><a class="code" href="a00192.html#gaad8f2d09028d9522ff6b792ceaeeebbc"> 108</a></span>&#160; <span class="keyword">typedef</span> detail::tvec3&lt;detail::uint64&gt; <a class="code" href="a00192.html#gaad8f2d09028d9522ff6b792ceaeeebbc" title="64bit signed integer. (from GLM_GTX_ocl_type extension)">cl_ulong3</a>; </div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160;</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; <span class="comment">//typedef detail::tvec3&lt;detail::float16&gt; cl_half3; //!&lt; \brief Half-precision floating-point scalar. (from GLM_GTX_ocl_type extension)</span></div>
<div class="line"><a name="l00111"></a><span class="lineno"><a class="code" href="a00192.html#gaad4526a10e23f201f55649f264856683"> 111</a></span>&#160; <span class="keyword">typedef</span> detail::tvec3&lt;detail::float32&gt; <a class="code" href="a00192.html#gaad4526a10e23f201f55649f264856683" title="Single-precision floating-point scalar. (from GLM_GTX_ocl_type extension)">cl_float3</a>; </div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160;</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160;</div>
<div class="line"><a name="l00114"></a><span class="lineno"><a class="code" href="a00192.html#ga7235804672db90b3b2e8bba142ff4977"> 114</a></span>&#160; <span class="keyword">typedef</span> detail::tvec4&lt;detail::int8&gt; <a class="code" href="a00192.html#ga7235804672db90b3b2e8bba142ff4977" title="8bit signed integer. (from GLM_GTX_ocl_type extension)">cl_char4</a>; </div>
<div class="line"><a name="l00115"></a><span class="lineno"><a class="code" href="a00192.html#ga4682ecd16257fe283e891b3979e3037c"> 115</a></span>&#160; <span class="keyword">typedef</span> detail::tvec4&lt;detail::int16&gt; <a class="code" href="a00192.html#ga4682ecd16257fe283e891b3979e3037c" title="16bit signed integer. (from GLM_GTX_ocl_type extension)">cl_short4</a>; </div>
<div class="line"><a name="l00116"></a><span class="lineno"><a class="code" href="a00192.html#ga7cf765cb37a5717826260a44e7c37d03"> 116</a></span>&#160; <span class="keyword">typedef</span> detail::tvec4&lt;detail::int32&gt; <a class="code" href="a00192.html#ga7cf765cb37a5717826260a44e7c37d03" title="32bit signed integer. (from GLM_GTX_ocl_type extension)">cl_int4</a>; </div>
<div class="line"><a name="l00117"></a><span class="lineno"><a class="code" href="a00192.html#ga4f38be1bb22d86fa7617da6f6907b74c"> 117</a></span>&#160; <span class="keyword">typedef</span> detail::tvec4&lt;detail::int64&gt; <a class="code" href="a00192.html#ga4f38be1bb22d86fa7617da6f6907b74c" title="64bit signed integer. (from GLM_GTX_ocl_type extension)">cl_long4</a>; </div>
<div class="line"><a name="l00118"></a><span class="lineno"><a class="code" href="a00192.html#ga1ba627aa90581618f0aff17a4f52ebc6"> 118</a></span>&#160; <span class="keyword">typedef</span> detail::tvec4&lt;detail::uint8&gt; <a class="code" href="a00192.html#ga1ba627aa90581618f0aff17a4f52ebc6" title="8bit signed integer. (from GLM_GTX_ocl_type extension)">cl_uchar4</a>; </div>
<div class="line"><a name="l00119"></a><span class="lineno"><a class="code" href="a00192.html#gaef286e330c9eaa72e71c5081a85592b3"> 119</a></span>&#160; <span class="keyword">typedef</span> detail::tvec4&lt;detail::uint16&gt; <a class="code" href="a00192.html#gaef286e330c9eaa72e71c5081a85592b3" title="16bit signed integer. (from GLM_GTX_ocl_type extension)">cl_ushort4</a>; </div>
<div class="line"><a name="l00120"></a><span class="lineno"><a class="code" href="a00192.html#gae75d9f1c7e3cebf862623eb3073870b0"> 120</a></span>&#160; <span class="keyword">typedef</span> detail::tvec4&lt;detail::uint32&gt; <a class="code" href="a00192.html#gae75d9f1c7e3cebf862623eb3073870b0" title="32bit signed integer. (from GLM_GTX_ocl_type extension)">cl_uint4</a>; </div>
<div class="line"><a name="l00121"></a><span class="lineno"><a class="code" href="a00192.html#ga5724575e5574de465785f06eeefd8789"> 121</a></span>&#160; <span class="keyword">typedef</span> detail::tvec4&lt;detail::uint64&gt; <a class="code" href="a00192.html#ga5724575e5574de465785f06eeefd8789" title="64bit signed integer. (from GLM_GTX_ocl_type extension)">cl_ulong4</a>; </div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160;</div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; <span class="comment">//typedef detail::tvec4&lt;detail::float16&gt; cl_half4; //!&lt; \brief Half-precision floating-point scalar. (from GLM_GTX_ocl_type extension)</span></div>
<div class="line"><a name="l00124"></a><span class="lineno"><a class="code" href="a00192.html#ga6a4d1b4f7bfdb1721f1554b30096b325"> 124</a></span>&#160; <span class="keyword">typedef</span> detail::tvec4&lt;detail::float32&gt; <a class="code" href="a00192.html#ga6a4d1b4f7bfdb1721f1554b30096b325" title="Single-precision floating-point scalar. (from GLM_GTX_ocl_type extension)">cl_float4</a>; </div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160;</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160;}<span class="comment">//namespace gtx</span></div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160;}<span class="comment">//namespace glm</span></div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160;</div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160;<span class="preprocessor">#include &quot;ocl_type.inl&quot;</span></div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160;</div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160;<span class="preprocessor">#endif//GLM_GTX_ocl_type</span></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
2012-11-18 13:05:52 +00:00
</a> 1.8.2
</small></address>
</body>
</html>