mirror of
https://github.com/g-truc/glm.git
synced 2024-11-15 22:34:35 +00:00
183 lines
34 KiB
HTML
183 lines
34 KiB
HTML
<!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"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.8.5"/>
|
|
<title>GLM: packing.hpp Source File</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<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>
|
|
<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;">
|
|
<td style="padding-left: 0.5em;">
|
|
<div id="projectname">GLM
|
|
 <span id="projectnumber">0.9.5</span>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.5 -->
|
|
<div id="navrow1" class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
|
<li><a href="modules.html"><span>Modules</span></a></li>
|
|
<li><a href="namespaces.html"><span>Namespaces</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 List</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_8ceffd4ee35c3518d4e8bdc7e638efe8.html">Users</a></li><li class="navelem"><a class="el" href="dir_968fb7988749a6351e7b3d0c1783dec4.html">Groove</a></li><li class="navelem"><a class="el" href="dir_6e418c18ca640a0404613de005739e2e.html">Documents</a></li><li class="navelem"><a class="el" href="dir_e3ecd7863bd215c92a17f47e2ae3be43.html">GitHub</a></li><li class="navelem"><a class="el" href="dir_edf753475b928be648c1cf1c6443cf63.html">glm</a></li><li class="navelem"><a class="el" href="dir_e50778361fd4ab4de52181ed9eb2b726.html">glm</a></li><li class="navelem"><a class="el" href="dir_f7324829a002c536307b42a892c06451.html">gtc</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">gtc/packing.hpp</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="a00091.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> </div>
|
|
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="preprocessor">#ifndef GLM_GTC_packing</span></div>
|
|
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="preprocessor"></span><span class="preprocessor">#define GLM_GTC_packing</span></div>
|
|
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="preprocessor"></span></div>
|
|
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="comment">// Dependency:</span></div>
|
|
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="preprocessor">#include "<a class="code" href="a00132.html">type_precision.hpp</a>"</span></div>
|
|
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> </div>
|
|
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="preprocessor">#if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))</span></div>
|
|
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="preprocessor"></span><span class="preprocessor"># pragma message("GLM: GLM_GTC_packing extension included")</span></div>
|
|
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="preprocessor"></span><span class="preprocessor">#endif</span></div>
|
|
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="preprocessor"></span></div>
|
|
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="keyword">namespace </span>glm</div>
|
|
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> {</div>
|
|
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> </div>
|
|
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  GLM_FUNC_DECL <a class="code" href="a00182.html#ga36475e31b1992cfde54c1a6f5a148865">uint8</a> <a class="code" href="a00178.html#gab16a1b79ed7431e9d84e8fde983b6d11">packUnorm1x8</a>(<span class="keywordtype">float</span> <span class="keyword">const</span> & v);</div>
|
|
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span> </div>
|
|
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  GLM_FUNC_DECL <span class="keywordtype">float</span> <a class="code" href="a00178.html#ga5e96a68924f1a4a9f4d75475098f5ddb">unpackUnorm1x8</a>(<a class="code" href="a00182.html#ga36475e31b1992cfde54c1a6f5a148865">uint8</a> <span class="keyword">const</span> & p);</div>
|
|
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span> </div>
|
|
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  GLM_FUNC_DECL <a class="code" href="a00182.html#ga13471cbbe74e4303a57f3743d007b74d">uint16</a> <a class="code" href="a00178.html#ga9a666b1c688ab54100061ed06526de6e">packUnorm2x8</a>(<a class="code" href="a00168.html#ga09d0200e8ff86391d8804b4fefd5f1da">vec2</a> <span class="keyword">const</span> & v);</div>
|
|
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span> </div>
|
|
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  GLM_FUNC_DECL <a class="code" href="a00168.html#ga09d0200e8ff86391d8804b4fefd5f1da">vec2</a> <a class="code" href="a00178.html#ga2f28b1b4f401c6cec9465a0f266a1481">unpackUnorm2x8</a>(<a class="code" href="a00182.html#ga13471cbbe74e4303a57f3743d007b74d">uint16</a> <span class="keyword">const</span> & p);</div>
|
|
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  </div>
|
|
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  GLM_FUNC_DECL <a class="code" href="a00182.html#ga36475e31b1992cfde54c1a6f5a148865">uint8</a> <a class="code" href="a00178.html#gaeecb4166fa0f5764846cb6c215766398">packSnorm1x8</a>(<span class="keywordtype">float</span> <span class="keyword">const</span> & s);</div>
|
|
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span> </div>
|
|
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  GLM_FUNC_DECL <span class="keywordtype">float</span> <a class="code" href="a00178.html#gacb89a737b93aa41e3efce2148fffbea4">unpackSnorm1x8</a>(<a class="code" href="a00182.html#ga36475e31b1992cfde54c1a6f5a148865">uint8</a> <span class="keyword">const</span> & p);</div>
|
|
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  </div>
|
|
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  GLM_FUNC_DECL <a class="code" href="a00182.html#ga13471cbbe74e4303a57f3743d007b74d">uint16</a> <a class="code" href="a00178.html#ga6be3cfb2cce3702f03e91bbeb5286d7e">packSnorm2x8</a>(<a class="code" href="a00168.html#ga09d0200e8ff86391d8804b4fefd5f1da">vec2</a> <span class="keyword">const</span> & v);</div>
|
|
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span> </div>
|
|
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  GLM_FUNC_DECL <a class="code" href="a00168.html#ga09d0200e8ff86391d8804b4fefd5f1da">vec2</a> <a class="code" href="a00178.html#gaca99cad292a1045eefb1ad4cb535c31a">unpackSnorm2x8</a>(<a class="code" href="a00182.html#ga13471cbbe74e4303a57f3743d007b74d">uint16</a> <span class="keyword">const</span> & p);</div>
|
|
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  </div>
|
|
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  GLM_FUNC_DECL <a class="code" href="a00182.html#ga13471cbbe74e4303a57f3743d007b74d">uint16</a> <a class="code" href="a00178.html#ga146ced9fe50f08bbbccac5693d717a27">packUnorm1x16</a>(<span class="keywordtype">float</span> <span class="keyword">const</span> & v);</div>
|
|
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span> </div>
|
|
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  GLM_FUNC_DECL <span class="keywordtype">float</span> <a class="code" href="a00178.html#gac2e137ade637150f6a9a14e394c3064b">unpackUnorm1x16</a>(<a class="code" href="a00182.html#ga13471cbbe74e4303a57f3743d007b74d">uint16</a> <span class="keyword">const</span> & p);</div>
|
|
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span> </div>
|
|
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  GLM_FUNC_DECL <a class="code" href="a00182.html#gab630f76c26b50298187f7889104d4b9c">uint64</a> <a class="code" href="a00178.html#ga1f63c264e7ab63264e2b2a99fd393897">packUnorm4x16</a>(<a class="code" href="a00168.html#gafbab23070ca47932487d25332adc7d7c">vec4</a> <span class="keyword">const</span> & v);</div>
|
|
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span> </div>
|
|
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  GLM_FUNC_DECL <a class="code" href="a00168.html#gafbab23070ca47932487d25332adc7d7c">vec4</a> <a class="code" href="a00178.html#ga0b957d3ce90faf63cf6b826939837947">unpackUnorm4x16</a>(<a class="code" href="a00182.html#gab630f76c26b50298187f7889104d4b9c">uint64</a> <span class="keyword">const</span> & p);</div>
|
|
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span> </div>
|
|
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  GLM_FUNC_DECL <a class="code" href="a00182.html#ga13471cbbe74e4303a57f3743d007b74d">uint16</a> <a class="code" href="a00178.html#gab05d07ca244dddc2d82ba71d843691e4">packSnorm1x16</a>(<span class="keywordtype">float</span> <span class="keyword">const</span> & v);</div>
|
|
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span> </div>
|
|
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  GLM_FUNC_DECL <span class="keywordtype">float</span> <a class="code" href="a00178.html#ga7a065826893fb3ab85097a8ed23d6654">unpackSnorm1x16</a>(<a class="code" href="a00182.html#ga13471cbbe74e4303a57f3743d007b74d">uint16</a> <span class="keyword">const</span> & p);</div>
|
|
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span> </div>
|
|
<div class="line"><a name="l00267"></a><span class="lineno"> 267</span>  GLM_FUNC_DECL <a class="code" href="a00182.html#gab630f76c26b50298187f7889104d4b9c">uint64</a> <a class="code" href="a00178.html#ga358943934d21da947d5bcc88c2ab7832">packSnorm4x16</a>(<a class="code" href="a00168.html#gafbab23070ca47932487d25332adc7d7c">vec4</a> <span class="keyword">const</span> & v);</div>
|
|
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span> </div>
|
|
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span>  GLM_FUNC_DECL <a class="code" href="a00168.html#gafbab23070ca47932487d25332adc7d7c">vec4</a> <a class="code" href="a00178.html#gadb01fc0530f07beb509c89d97b6f4d20">unpackSnorm4x16</a>(<a class="code" href="a00182.html#gab630f76c26b50298187f7889104d4b9c">uint64</a> <span class="keyword">const</span> & p);</div>
|
|
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  </div>
|
|
<div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  GLM_FUNC_DECL <a class="code" href="a00182.html#ga13471cbbe74e4303a57f3743d007b74d">uint16</a> <a class="code" href="a00178.html#gab7f8a84e119fe3f1ff57d7e2ec093747">packHalf1x16</a>(<span class="keywordtype">float</span> <span class="keyword">const</span> & v);</div>
|
|
<div class="line"><a name="l00295"></a><span class="lineno"> 295</span>  </div>
|
|
<div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  GLM_FUNC_DECL <span class="keywordtype">float</span> <a class="code" href="a00178.html#ga4c5ad3375f215b9bd0e530dd43624882">unpackHalf1x16</a>(<a class="code" href="a00182.html#ga13471cbbe74e4303a57f3743d007b74d">uint16</a> <span class="keyword">const</span> & v);</div>
|
|
<div class="line"><a name="l00306"></a><span class="lineno"> 306</span> </div>
|
|
<div class="line"><a name="l00318"></a><span class="lineno"> 318</span>  GLM_FUNC_DECL <a class="code" href="a00182.html#gab630f76c26b50298187f7889104d4b9c">uint64</a> <a class="code" href="a00178.html#gafe2f7b39caf8f5ec555e1c059ec530e6">packHalf4x16</a>(<a class="code" href="a00168.html#gafbab23070ca47932487d25332adc7d7c">vec4</a> <span class="keyword">const</span> & v);</div>
|
|
<div class="line"><a name="l00319"></a><span class="lineno"> 319</span>  </div>
|
|
<div class="line"><a name="l00331"></a><span class="lineno"> 331</span>  GLM_FUNC_DECL <a class="code" href="a00168.html#gafbab23070ca47932487d25332adc7d7c">vec4</a> <a class="code" href="a00178.html#ga7acdbf24148ef556939719cf47036524">unpackHalf4x16</a>(<a class="code" href="a00182.html#gab630f76c26b50298187f7889104d4b9c">uint64</a> <span class="keyword">const</span> & p);</div>
|
|
<div class="line"><a name="l00332"></a><span class="lineno"> 332</span> </div>
|
|
<div class="line"><a name="l00344"></a><span class="lineno"> 344</span>  GLM_FUNC_DECL <a class="code" href="a00182.html#ga5fa3ddcab56c789bc272ff5651faa12d">uint32</a> <a class="code" href="a00178.html#ga06ecb6afb902dba45419008171db9023">packI3x10_1x2</a>(<a class="code" href="a00168.html#gaaa26c41d168dc00be0fe55f4d0a34224">ivec4</a> <span class="keyword">const</span> & v);</div>
|
|
<div class="line"><a name="l00345"></a><span class="lineno"> 345</span> </div>
|
|
<div class="line"><a name="l00355"></a><span class="lineno"> 355</span>  GLM_FUNC_DECL <a class="code" href="a00168.html#gaaa26c41d168dc00be0fe55f4d0a34224">ivec4</a> <a class="code" href="a00178.html#ga1ff4f5a28d764786f916f9d069d16e86">unpackI3x10_1x2</a>(<a class="code" href="a00182.html#ga5fa3ddcab56c789bc272ff5651faa12d">uint32</a> <span class="keyword">const</span> & p);</div>
|
|
<div class="line"><a name="l00356"></a><span class="lineno"> 356</span> </div>
|
|
<div class="line"><a name="l00368"></a><span class="lineno"> 368</span>  GLM_FUNC_DECL <a class="code" href="a00182.html#ga5fa3ddcab56c789bc272ff5651faa12d">uint32</a> <a class="code" href="a00178.html#gada3d88d59f0f458f9c51a9fd359a4bc0">packU3x10_1x2</a>(<a class="code" href="a00168.html#gaa7c3a0e7ae50c34c3290415c115f251e">uvec4</a> <span class="keyword">const</span> & v);</div>
|
|
<div class="line"><a name="l00369"></a><span class="lineno"> 369</span> </div>
|
|
<div class="line"><a name="l00379"></a><span class="lineno"> 379</span>  GLM_FUNC_DECL <a class="code" href="a00168.html#gaa7c3a0e7ae50c34c3290415c115f251e">uvec4</a> <a class="code" href="a00178.html#gaef276e11b8246c34d993b0eb01f66481">unpackU3x10_1x2</a>(<a class="code" href="a00182.html#ga5fa3ddcab56c789bc272ff5651faa12d">uint32</a> <span class="keyword">const</span> & p);</div>
|
|
<div class="line"><a name="l00380"></a><span class="lineno"> 380</span> </div>
|
|
<div class="line"><a name="l00397"></a><span class="lineno"> 397</span>  GLM_FUNC_DECL <a class="code" href="a00182.html#ga5fa3ddcab56c789bc272ff5651faa12d">uint32</a> <a class="code" href="a00178.html#gab997545661877d2c7362a5084d3897d3">packSnorm3x10_1x2</a>(<a class="code" href="a00168.html#gafbab23070ca47932487d25332adc7d7c">vec4</a> <span class="keyword">const</span> & v);</div>
|
|
<div class="line"><a name="l00398"></a><span class="lineno"> 398</span> </div>
|
|
<div class="line"><a name="l00414"></a><span class="lineno"> 414</span>  GLM_FUNC_DECL <a class="code" href="a00168.html#gafbab23070ca47932487d25332adc7d7c">vec4</a> <a class="code" href="a00178.html#ga03af1e97f8a96c429524ebf20a6509f5">unpackSnorm3x10_1x2</a>(<a class="code" href="a00182.html#ga5fa3ddcab56c789bc272ff5651faa12d">uint32</a> <span class="keyword">const</span> & p);</div>
|
|
<div class="line"><a name="l00415"></a><span class="lineno"> 415</span> </div>
|
|
<div class="line"><a name="l00432"></a><span class="lineno"> 432</span>  GLM_FUNC_DECL <a class="code" href="a00182.html#ga5fa3ddcab56c789bc272ff5651faa12d">uint32</a> <a class="code" href="a00178.html#ga8a1ee625d2707c60530fb3fca2980b19">packUnorm3x10_1x2</a>(<a class="code" href="a00168.html#gafbab23070ca47932487d25332adc7d7c">vec4</a> <span class="keyword">const</span> & v);</div>
|
|
<div class="line"><a name="l00433"></a><span class="lineno"> 433</span> </div>
|
|
<div class="line"><a name="l00449"></a><span class="lineno"> 449</span>  GLM_FUNC_DECL <a class="code" href="a00168.html#gafbab23070ca47932487d25332adc7d7c">vec4</a> <a class="code" href="a00178.html#gabec69b5ec17cd939035302551bfd04e5">unpackUnorm3x10_1x2</a>(<a class="code" href="a00182.html#ga5fa3ddcab56c789bc272ff5651faa12d">uint32</a> <span class="keyword">const</span> & p);</div>
|
|
<div class="line"><a name="l00450"></a><span class="lineno"> 450</span> </div>
|
|
<div class="line"><a name="l00460"></a><span class="lineno"> 460</span>  GLM_FUNC_DECL <a class="code" href="a00182.html#ga5fa3ddcab56c789bc272ff5651faa12d">uint32</a> <a class="code" href="a00178.html#ga4944ad465ff950e926d49621f916c78d">packF2x11_1x10</a>(<a class="code" href="a00168.html#gaa8ea2429bb3cb41a715258a447f39897">vec3</a> <span class="keyword">const</span> & v);</div>
|
|
<div class="line"><a name="l00461"></a><span class="lineno"> 461</span> </div>
|
|
<div class="line"><a name="l00470"></a><span class="lineno"> 470</span>  GLM_FUNC_DECL <a class="code" href="a00168.html#gaa8ea2429bb3cb41a715258a447f39897">vec3</a> <a class="code" href="a00178.html#gabee51ecab6b477b18e7da4fc7393d0e9">unpackF2x11_1x10</a>(<a class="code" href="a00182.html#ga5fa3ddcab56c789bc272ff5651faa12d">uint32</a> <span class="keyword">const</span> & p);</div>
|
|
<div class="line"><a name="l00471"></a><span class="lineno"> 471</span> </div>
|
|
<div class="line"><a name="l00473"></a><span class="lineno"> 473</span> }<span class="comment">// namespace glm</span></div>
|
|
<div class="line"><a name="l00474"></a><span class="lineno"> 474</span> </div>
|
|
<div class="line"><a name="l00475"></a><span class="lineno"> 475</span> <span class="preprocessor">#include "packing.inl"</span></div>
|
|
<div class="line"><a name="l00476"></a><span class="lineno"> 476</span> </div>
|
|
<div class="line"><a name="l00477"></a><span class="lineno"> 477</span> <span class="preprocessor">#endif//GLM_GTC_packing</span></div>
|
|
<div class="line"><a name="l00478"></a><span class="lineno"> 478</span> <span class="preprocessor"></span></div>
|
|
<div class="ttc" id="a00168_html_gaaa26c41d168dc00be0fe55f4d0a34224"><div class="ttname"><a href="a00168.html#gaaa26c41d168dc00be0fe55f4d0a34224">glm::ivec4</a></div><div class="ttdeci">highp_ivec4 ivec4</div><div class="ttdoc">4 components vector of signed integer numbers. </div><div class="ttdef"><b>Definition:</b> <a href="a00134_source.html#l00454">type_vec.hpp:454</a></div></div>
|
|
<div class="ttc" id="a00168_html_gaa8ea2429bb3cb41a715258a447f39897"><div class="ttname"><a href="a00168.html#gaa8ea2429bb3cb41a715258a447f39897">glm::vec3</a></div><div class="ttdeci">highp_vec3 vec3</div><div class="ttdoc">3 components vector of floating-point numbers. </div><div class="ttdef"><b>Definition:</b> <a href="a00134_source.html#l00393">type_vec.hpp:393</a></div></div>
|
|
<div class="ttc" id="a00182_html_ga5fa3ddcab56c789bc272ff5651faa12d"><div class="ttname"><a href="a00182.html#ga5fa3ddcab56c789bc272ff5651faa12d">glm::uint32</a></div><div class="ttdeci">detail::uint32 uint32</div><div class="ttdoc">32 bit unsigned integer type. </div><div class="ttdef"><b>Definition:</b> <a href="a00121_source.html#l00096">type_int.hpp:96</a></div></div>
|
|
<div class="ttc" id="a00178_html_gac2e137ade637150f6a9a14e394c3064b"><div class="ttname"><a href="a00178.html#gac2e137ade637150f6a9a14e394c3064b">glm::unpackUnorm1x16</a></div><div class="ttdeci">GLM_FUNC_DECL float unpackUnorm1x16(uint16 const &p)</div><div class="ttdoc">First, unpacks a single 16-bit unsigned integer p into a of 16-bit unsigned integers. </div></div>
|
|
<div class="ttc" id="a00178_html_ga9a666b1c688ab54100061ed06526de6e"><div class="ttname"><a href="a00178.html#ga9a666b1c688ab54100061ed06526de6e">glm::packUnorm2x8</a></div><div class="ttdeci">GLM_FUNC_DECL uint16 packUnorm2x8(vec2 const &v)</div><div class="ttdoc">First, converts each component of the normalized floating-point value v into 8-bit integer values...</div></div>
|
|
<div class="ttc" id="a00178_html_gab05d07ca244dddc2d82ba71d843691e4"><div class="ttname"><a href="a00178.html#gab05d07ca244dddc2d82ba71d843691e4">glm::packSnorm1x16</a></div><div class="ttdeci">GLM_FUNC_DECL uint16 packSnorm1x16(float const &v)</div><div class="ttdoc">First, converts the normalized floating-point value v into 16-bit integer value. </div></div>
|
|
<div class="ttc" id="a00168_html_gafbab23070ca47932487d25332adc7d7c"><div class="ttname"><a href="a00168.html#gafbab23070ca47932487d25332adc7d7c">glm::vec4</a></div><div class="ttdeci">highp_vec4 vec4</div><div class="ttdoc">4 components vector of floating-point numbers. </div><div class="ttdef"><b>Definition:</b> <a href="a00134_source.html#l00398">type_vec.hpp:398</a></div></div>
|
|
<div class="ttc" id="a00178_html_gaeecb4166fa0f5764846cb6c215766398"><div class="ttname"><a href="a00178.html#gaeecb4166fa0f5764846cb6c215766398">glm::packSnorm1x8</a></div><div class="ttdeci">GLM_FUNC_DECL uint8 packSnorm1x8(float const &s)</div><div class="ttdoc">First, converts the normalized floating-point value v into 8-bit integer value. </div></div>
|
|
<div class="ttc" id="a00178_html_ga5e96a68924f1a4a9f4d75475098f5ddb"><div class="ttname"><a href="a00178.html#ga5e96a68924f1a4a9f4d75475098f5ddb">glm::unpackUnorm1x8</a></div><div class="ttdeci">GLM_FUNC_DECL float unpackUnorm1x8(uint8 const &p)</div><div class="ttdoc">Convert a single 8-bit integer to a normalized floating-point value. </div></div>
|
|
<div class="ttc" id="a00178_html_ga8a1ee625d2707c60530fb3fca2980b19"><div class="ttname"><a href="a00178.html#ga8a1ee625d2707c60530fb3fca2980b19">glm::packUnorm3x10_1x2</a></div><div class="ttdeci">GLM_FUNC_DECL uint32 packUnorm3x10_1x2(vec4 const &v)</div><div class="ttdoc">First, converts the first three components of the normalized floating-point value v into 10-bit unsig...</div></div>
|
|
<div class="ttc" id="a00178_html_ga358943934d21da947d5bcc88c2ab7832"><div class="ttname"><a href="a00178.html#ga358943934d21da947d5bcc88c2ab7832">glm::packSnorm4x16</a></div><div class="ttdeci">GLM_FUNC_DECL uint64 packSnorm4x16(vec4 const &v)</div><div class="ttdoc">First, converts each component of the normalized floating-point value v into 16-bit integer values...</div></div>
|
|
<div class="ttc" id="a00178_html_ga7a065826893fb3ab85097a8ed23d6654"><div class="ttname"><a href="a00178.html#ga7a065826893fb3ab85097a8ed23d6654">glm::unpackSnorm1x16</a></div><div class="ttdeci">GLM_FUNC_DECL float unpackSnorm1x16(uint16 const &p)</div><div class="ttdoc">First, unpacks a single 16-bit unsigned integer p into a single 16-bit signed integers. </div></div>
|
|
<div class="ttc" id="a00178_html_ga06ecb6afb902dba45419008171db9023"><div class="ttname"><a href="a00178.html#ga06ecb6afb902dba45419008171db9023">glm::packI3x10_1x2</a></div><div class="ttdeci">GLM_FUNC_DECL uint32 packI3x10_1x2(ivec4 const &v)</div><div class="ttdoc">Returns an unsigned integer obtained by converting the components of a four-component signed integer ...</div></div>
|
|
<div class="ttc" id="a00182_html_gab630f76c26b50298187f7889104d4b9c"><div class="ttname"><a href="a00182.html#gab630f76c26b50298187f7889104d4b9c">glm::uint64</a></div><div class="ttdeci">detail::uint64 uint64</div><div class="ttdoc">64 bit unsigned integer type. </div><div class="ttdef"><b>Definition:</b> <a href="a00121_source.html#l00097">type_int.hpp:97</a></div></div>
|
|
<div class="ttc" id="a00178_html_ga0b957d3ce90faf63cf6b826939837947"><div class="ttname"><a href="a00178.html#ga0b957d3ce90faf63cf6b826939837947">glm::unpackUnorm4x16</a></div><div class="ttdeci">GLM_FUNC_DECL vec4 unpackUnorm4x16(uint64 const &p)</div><div class="ttdoc">First, unpacks a single 64-bit unsigned integer p into four 16-bit unsigned integers. </div></div>
|
|
<div class="ttc" id="a00178_html_gabec69b5ec17cd939035302551bfd04e5"><div class="ttname"><a href="a00178.html#gabec69b5ec17cd939035302551bfd04e5">glm::unpackUnorm3x10_1x2</a></div><div class="ttdeci">GLM_FUNC_DECL vec4 unpackUnorm3x10_1x2(uint32 const &p)</div><div class="ttdoc">First, unpacks a single 32-bit unsigned integer p into four 16-bit signed integers. </div></div>
|
|
<div class="ttc" id="a00178_html_gab997545661877d2c7362a5084d3897d3"><div class="ttname"><a href="a00178.html#gab997545661877d2c7362a5084d3897d3">glm::packSnorm3x10_1x2</a></div><div class="ttdeci">GLM_FUNC_DECL uint32 packSnorm3x10_1x2(vec4 const &v)</div><div class="ttdoc">First, converts the first three components of the normalized floating-point value v into 10-bit signe...</div></div>
|
|
<div class="ttc" id="a00178_html_gabee51ecab6b477b18e7da4fc7393d0e9"><div class="ttname"><a href="a00178.html#gabee51ecab6b477b18e7da4fc7393d0e9">glm::unpackF2x11_1x10</a></div><div class="ttdeci">GLM_FUNC_DECL vec3 unpackF2x11_1x10(uint32 const &p)</div><div class="ttdoc">First, unpacks a single 32-bit unsigned integer p into two 11-bit signless floating-point values and ...</div></div>
|
|
<div class="ttc" id="a00178_html_gada3d88d59f0f458f9c51a9fd359a4bc0"><div class="ttname"><a href="a00178.html#gada3d88d59f0f458f9c51a9fd359a4bc0">glm::packU3x10_1x2</a></div><div class="ttdeci">GLM_FUNC_DECL uint32 packU3x10_1x2(uvec4 const &v)</div><div class="ttdoc">Returns an unsigned integer obtained by converting the components of a four-component unsigned intege...</div></div>
|
|
<div class="ttc" id="a00132_html"><div class="ttname"><a href="a00132.html">type_precision.hpp</a></div><div class="ttdoc">OpenGL Mathematics (glm.g-truc.net) </div></div>
|
|
<div class="ttc" id="a00178_html_gacb89a737b93aa41e3efce2148fffbea4"><div class="ttname"><a href="a00178.html#gacb89a737b93aa41e3efce2148fffbea4">glm::unpackSnorm1x8</a></div><div class="ttdeci">GLM_FUNC_DECL float unpackSnorm1x8(uint8 const &p)</div><div class="ttdoc">First, unpacks a single 8-bit unsigned integer p into a single 8-bit signed integers. </div></div>
|
|
<div class="ttc" id="a00178_html_gab7f8a84e119fe3f1ff57d7e2ec093747"><div class="ttname"><a href="a00178.html#gab7f8a84e119fe3f1ff57d7e2ec093747">glm::packHalf1x16</a></div><div class="ttdeci">GLM_FUNC_DECL uint16 packHalf1x16(float const &v)</div><div class="ttdoc">Returns an unsigned integer obtained by converting the components of a floating-point scalar to the 1...</div></div>
|
|
<div class="ttc" id="a00178_html_ga146ced9fe50f08bbbccac5693d717a27"><div class="ttname"><a href="a00178.html#ga146ced9fe50f08bbbccac5693d717a27">glm::packUnorm1x16</a></div><div class="ttdeci">GLM_FUNC_DECL uint16 packUnorm1x16(float const &v)</div><div class="ttdoc">First, converts the normalized floating-point value v into a 16-bit integer value. </div></div>
|
|
<div class="ttc" id="a00182_html_ga36475e31b1992cfde54c1a6f5a148865"><div class="ttname"><a href="a00182.html#ga36475e31b1992cfde54c1a6f5a148865">glm::uint8</a></div><div class="ttdeci">detail::uint8 uint8</div><div class="ttdoc">8 bit unsigned integer type. </div><div class="ttdef"><b>Definition:</b> <a href="a00121_source.html#l00094">type_int.hpp:94</a></div></div>
|
|
<div class="ttc" id="a00178_html_ga6be3cfb2cce3702f03e91bbeb5286d7e"><div class="ttname"><a href="a00178.html#ga6be3cfb2cce3702f03e91bbeb5286d7e">glm::packSnorm2x8</a></div><div class="ttdeci">GLM_FUNC_DECL uint16 packSnorm2x8(vec2 const &v)</div><div class="ttdoc">First, converts each component of the normalized floating-point value v into 8-bit integer values...</div></div>
|
|
<div class="ttc" id="a00178_html_ga1ff4f5a28d764786f916f9d069d16e86"><div class="ttname"><a href="a00178.html#ga1ff4f5a28d764786f916f9d069d16e86">glm::unpackI3x10_1x2</a></div><div class="ttdeci">GLM_FUNC_DECL ivec4 unpackI3x10_1x2(uint32 const &p)</div><div class="ttdoc">Unpacks a single 32-bit unsigned integer p into three 10-bit and one 2-bit signed integers...</div></div>
|
|
<div class="ttc" id="a00178_html_gadb01fc0530f07beb509c89d97b6f4d20"><div class="ttname"><a href="a00178.html#gadb01fc0530f07beb509c89d97b6f4d20">glm::unpackSnorm4x16</a></div><div class="ttdeci">GLM_FUNC_DECL vec4 unpackSnorm4x16(uint64 const &p)</div><div class="ttdoc">First, unpacks a single 64-bit unsigned integer p into four 16-bit signed integers. </div></div>
|
|
<div class="ttc" id="a00178_html_ga03af1e97f8a96c429524ebf20a6509f5"><div class="ttname"><a href="a00178.html#ga03af1e97f8a96c429524ebf20a6509f5">glm::unpackSnorm3x10_1x2</a></div><div class="ttdeci">GLM_FUNC_DECL vec4 unpackSnorm3x10_1x2(uint32 const &p)</div><div class="ttdoc">First, unpacks a single 32-bit unsigned integer p into four 16-bit signed integers. </div></div>
|
|
<div class="ttc" id="a00178_html_gafe2f7b39caf8f5ec555e1c059ec530e6"><div class="ttname"><a href="a00178.html#gafe2f7b39caf8f5ec555e1c059ec530e6">glm::packHalf4x16</a></div><div class="ttdeci">GLM_FUNC_DECL uint64 packHalf4x16(vec4 const &v)</div><div class="ttdoc">Returns an unsigned integer obtained by converting the components of a four-component floating-point ...</div></div>
|
|
<div class="ttc" id="a00178_html_gaef276e11b8246c34d993b0eb01f66481"><div class="ttname"><a href="a00178.html#gaef276e11b8246c34d993b0eb01f66481">glm::unpackU3x10_1x2</a></div><div class="ttdeci">GLM_FUNC_DECL uvec4 unpackU3x10_1x2(uint32 const &p)</div><div class="ttdoc">Unpacks a single 32-bit unsigned integer p into three 10-bit and one 2-bit unsigned integers...</div></div>
|
|
<div class="ttc" id="a00178_html_ga2f28b1b4f401c6cec9465a0f266a1481"><div class="ttname"><a href="a00178.html#ga2f28b1b4f401c6cec9465a0f266a1481">glm::unpackUnorm2x8</a></div><div class="ttdeci">GLM_FUNC_DECL vec2 unpackUnorm2x8(uint16 const &p)</div><div class="ttdoc">First, unpacks a single 16-bit unsigned integer p into a pair of 8-bit unsigned integers. </div></div>
|
|
<div class="ttc" id="a00168_html_gaa7c3a0e7ae50c34c3290415c115f251e"><div class="ttname"><a href="a00168.html#gaa7c3a0e7ae50c34c3290415c115f251e">glm::uvec4</a></div><div class="ttdeci">highp_uvec4 uvec4</div><div class="ttdoc">4 components vector of unsigned integer numbers. </div><div class="ttdef"><b>Definition:</b> <a href="a00134_source.html#l00482">type_vec.hpp:482</a></div></div>
|
|
<div class="ttc" id="a00178_html_ga4c5ad3375f215b9bd0e530dd43624882"><div class="ttname"><a href="a00178.html#ga4c5ad3375f215b9bd0e530dd43624882">glm::unpackHalf1x16</a></div><div class="ttdeci">GLM_FUNC_DECL float unpackHalf1x16(uint16 const &v)</div><div class="ttdoc">Returns a floating-point scalar with components obtained by unpacking a 16-bit unsigned integer into ...</div></div>
|
|
<div class="ttc" id="a00178_html_gab16a1b79ed7431e9d84e8fde983b6d11"><div class="ttname"><a href="a00178.html#gab16a1b79ed7431e9d84e8fde983b6d11">glm::packUnorm1x8</a></div><div class="ttdeci">GLM_FUNC_DECL uint8 packUnorm1x8(float const &v)</div><div class="ttdoc">First, converts the normalized floating-point value v into a 8-bit integer value. ...</div></div>
|
|
<div class="ttc" id="a00182_html_ga13471cbbe74e4303a57f3743d007b74d"><div class="ttname"><a href="a00182.html#ga13471cbbe74e4303a57f3743d007b74d">glm::uint16</a></div><div class="ttdeci">detail::uint16 uint16</div><div class="ttdoc">16 bit unsigned integer type. </div><div class="ttdef"><b>Definition:</b> <a href="a00121_source.html#l00095">type_int.hpp:95</a></div></div>
|
|
<div class="ttc" id="a00178_html_gaca99cad292a1045eefb1ad4cb535c31a"><div class="ttname"><a href="a00178.html#gaca99cad292a1045eefb1ad4cb535c31a">glm::unpackSnorm2x8</a></div><div class="ttdeci">GLM_FUNC_DECL vec2 unpackSnorm2x8(uint16 const &p)</div><div class="ttdoc">First, unpacks a single 16-bit unsigned integer p into a pair of 8-bit signed integers. </div></div>
|
|
<div class="ttc" id="a00178_html_ga1f63c264e7ab63264e2b2a99fd393897"><div class="ttname"><a href="a00178.html#ga1f63c264e7ab63264e2b2a99fd393897">glm::packUnorm4x16</a></div><div class="ttdeci">GLM_FUNC_DECL uint64 packUnorm4x16(vec4 const &v)</div><div class="ttdoc">First, converts each component of the normalized floating-point value v into 16-bit integer values...</div></div>
|
|
<div class="ttc" id="a00168_html_ga09d0200e8ff86391d8804b4fefd5f1da"><div class="ttname"><a href="a00168.html#ga09d0200e8ff86391d8804b4fefd5f1da">glm::vec2</a></div><div class="ttdeci">highp_vec2 vec2</div><div class="ttdoc">2 components vector of floating-point numbers. </div><div class="ttdef"><b>Definition:</b> <a href="a00134_source.html#l00388">type_vec.hpp:388</a></div></div>
|
|
<div class="ttc" id="a00178_html_ga7acdbf24148ef556939719cf47036524"><div class="ttname"><a href="a00178.html#ga7acdbf24148ef556939719cf47036524">glm::unpackHalf4x16</a></div><div class="ttdeci">GLM_FUNC_DECL vec4 unpackHalf4x16(uint64 const &p)</div><div class="ttdoc">Returns a four-component floating-point vector with components obtained by unpacking a 64-bit unsigne...</div></div>
|
|
<div class="ttc" id="a00178_html_ga4944ad465ff950e926d49621f916c78d"><div class="ttname"><a href="a00178.html#ga4944ad465ff950e926d49621f916c78d">glm::packF2x11_1x10</a></div><div class="ttdeci">GLM_FUNC_DECL uint32 packF2x11_1x10(vec3 const &v)</div><div class="ttdoc">First, converts the first two components of the normalized floating-point value v into 11-bit signles...</div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.5
|
|
</small></address>
|
|
</body>
|
|
</html>
|