mirror of
https://github.com/g-truc/glm.git
synced 2024-11-26 02:04:35 +00:00
171 lines
67 KiB
HTML
171 lines
67 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.14"/>
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||
|
<title>0.9.9 API documenation: 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="search/search.css" rel="stylesheet" type="text/css"/>
|
||
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
||
|
<script type="text/javascript" src="search/search.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 id="projectlogo"><img alt="Logo" src="logo-mini.png"/></td>
|
||
|
<td id="projectalign" style="padding-left: 0.5em;">
|
||
|
<div id="projectname">0.9.9 API documenation
|
||
|
</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
<!-- end header part -->
|
||
|
<!-- Generated by Doxygen 1.8.14 -->
|
||
|
<script type="text/javascript">
|
||
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||
|
/* @license-end */
|
||
|
</script>
|
||
|
<script type="text/javascript" src="menudata.js"></script>
|
||
|
<script type="text/javascript" src="menu.js"></script>
|
||
|
<script type="text/javascript">
|
||
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||
|
$(function() {
|
||
|
initMenu('',true,false,'search.php','Search');
|
||
|
$(document).ready(function() { init_search(); });
|
||
|
});
|
||
|
/* @license-end */</script>
|
||
|
<div id="main-nav"></div>
|
||
|
<!-- window showing the filter options -->
|
||
|
<div id="MSearchSelectWindow"
|
||
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
||
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
||
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||
|
</div>
|
||
|
|
||
|
<!-- iframe showing the search results (closed by default) -->
|
||
|
<div id="MSearchResultsWindow">
|
||
|
<iframe src="javascript:void(0)" frameborder="0"
|
||
|
name="MSearchResults" id="MSearchResults">
|
||
|
</iframe>
|
||
|
</div>
|
||
|
|
||
|
<div id="nav-path" class="navpath">
|
||
|
<ul>
|
||
|
<li class="navelem"><a class="el" href="dir_d522931ffa1371640980b621734a4381.html">Users</a></li><li class="navelem"><a class="el" href="dir_02cc19cee4c4780485bfe81520450212.html">christophericcio</a></li><li class="navelem"><a class="el" href="dir_54de7df3bc9880881b14ec07f256fd2e.html">Documents</a></li><li class="navelem"><a class="el" href="dir_6399a054f5929b58eaa476233e406ce8.html">Repository</a></li><li class="navelem"><a class="el" href="dir_627f4a52155b61a75c7c4851d7df9027.html">Github</a></li><li class="navelem"><a class="el" href="dir_ffdfd01cf51cdb2fe8bd5e55c6e0c4e8.html">glm</a></li><li class="navelem"><a class="el" href="dir_4ca6aa55b50e6be994025af27820140e.html">glm</a></li><li class="navelem"><a class="el" href="dir_e6ae9283c4fa4619048a0a88dfd00585.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="a01369.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="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment">// Dependency:</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include "<a class="code" href="a00437.html">type_precision.hpp</a>"</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor"># pragma message("GLM: GLM_GTC_packing extension included")</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> </div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="keyword">namespace </span><a class="code" href="a00794.html">glm</a></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> {</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  GLM_FUNC_DECL uint8 <a class="code" href="a00718.html#ga4b2fa60df3460403817d28b082ee0736">packUnorm1x8</a>(<span class="keywordtype">float</span> v);</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> </div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  GLM_FUNC_DECL <span class="keywordtype">float</span> <a class="code" href="a00718.html#ga1319207e30874fb4931a9ee913983ee1">unpackUnorm1x8</a>(uint8 p);</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span> </div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  GLM_FUNC_DECL uint16 <a class="code" href="a00718.html#ga9a666b1c688ab54100061ed06526de6e">packUnorm2x8</a>(<a class="code" href="a00703.html#gabe65c061834f61b4f7cb6037b19006a4">vec2</a> <span class="keyword">const</span>& v);</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span> </div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  GLM_FUNC_DECL <a class="code" href="a00703.html#gabe65c061834f61b4f7cb6037b19006a4">vec2</a> <a class="code" href="a00718.html#ga637cbe3913dd95c6e7b4c99c61bd611f">unpackUnorm2x8</a>(uint16 p);</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span> </div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  GLM_FUNC_DECL uint8 <a class="code" href="a00718.html#gae3592e0795e62aaa1865b3a10496a7a1">packSnorm1x8</a>(<span class="keywordtype">float</span> s);</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span> </div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  GLM_FUNC_DECL <span class="keywordtype">float</span> <a class="code" href="a00718.html#ga4851ff86678aa1c7ace9d67846894285">unpackSnorm1x8</a>(uint8 p);</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span> </div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  GLM_FUNC_DECL uint16 <a class="code" href="a00718.html#ga6be3cfb2cce3702f03e91bbeb5286d7e">packSnorm2x8</a>(<a class="code" href="a00703.html#gabe65c061834f61b4f7cb6037b19006a4">vec2</a> <span class="keyword">const</span
|
||
|
<div class="ttc" id="a00718_html_ga3c3c9fb53ae7823b10fa083909357590"><div class="ttname"><a href="a00718.html#ga3c3c9fb53ae7823b10fa083909357590">glm::packUint2x8</a></div><div class="ttdeci">GLM_FUNC_DECL uint16 packUint2x8(u8vec2 const &v)</div><div class="ttdoc">Convert each component from an integer vector into a packed unsigned integer. </div></div>
|
||
|
<div class="ttc" id="a00718_html_ga1989f093a27ae69cf9207145be48b3d7"><div class="ttname"><a href="a00718.html#ga1989f093a27ae69cf9207145be48b3d7">glm::packInt4x16</a></div><div class="ttdeci">GLM_FUNC_DECL int64 packInt4x16(i16vec4 const &v)</div><div class="ttdoc">Convert each component from an integer vector into a packed unsigned integer. </div></div>
|
||
|
<div class="ttc" id="a00703_html_ga9c3019b13faf179e4ad3626ea66df334"><div class="ttname"><a href="a00703.html#ga9c3019b13faf179e4ad3626ea66df334">glm::vec3</a></div><div class="ttdeci">vec< 3, float, defaultp > vec3</div><div class="ttdoc">3 components vector of single-precision floating-point numbers. </div><div class="ttdef"><b>Definition:</b> <a href="a00317_source.html#l00015">vector_float3.hpp:15</a></div></div>
|
||
|
<div class="ttc" id="a00718_html_ga2d8bbce673ebc04831c1fb05c47f5251"><div class="ttname"><a href="a00718.html#ga2d8bbce673ebc04831c1fb05c47f5251">glm::packHalf</a></div><div class="ttdeci">GLM_FUNC_DECL vec< L, uint16, Q > packHalf(vec< L, float, Q > const &v)</div><div class="ttdoc">Returns an unsigned integer vector obtained by converting the components of a floating-point vector t...</div></div>
|
||
|
<div class="ttc" id="a00718_html_gaf942ff11b65e83eb5f77e68329ebc6ab"><div class="ttname"><a href="a00718.html#gaf942ff11b65e83eb5f77e68329ebc6ab">glm::unpackUint2x32</a></div><div class="ttdeci">GLM_FUNC_DECL u32vec2 unpackUint2x32(uint64 p)</div><div class="ttdoc">Convert a packed integer into an integer vector. </div></div>
|
||
|
<div class="ttc" id="a00718_html_ga7f9abdb50f9be1aa1c14912504a0d98d"><div class="ttname"><a href="a00718.html#ga7f9abdb50f9be1aa1c14912504a0d98d">glm::packUnorm2x3_1x2</a></div><div class="ttdeci">GLM_FUNC_DECL uint8 packUnorm2x3_1x2(vec3 const &v)</div><div class="ttdoc">Convert each component of the normalized floating-point vector into unsigned integer values...</div></div>
|
||
|
<div class="ttc" id="a00718_html_gac58ee89d0e224bb6df5e8bbb18843a2d"><div class="ttname"><a href="a00718.html#gac58ee89d0e224bb6df5e8bbb18843a2d">glm::unpackUnorm4x4</a></div><div class="ttdeci">GLM_FUNC_DECL vec4 unpackUnorm4x4(uint16 p)</div><div class="ttdoc">Convert a packed integer to a normalized floating-point vector. </div></div>
|
||
|
<div class="ttc" id="a00718_html_ga96dd15002370627a443c835ab03a766c"><div class="ttname"><a href="a00718.html#ga96dd15002370627a443c835ab03a766c">glm::unpackSnorm1x16</a></div><div class="ttdeci">GLM_FUNC_DECL float unpackSnorm1x16(uint16 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="a00689_html_gab630f76c26b50298187f7889104d4b9c"><div class="ttname"><a href="a00689.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="a00251_source.html#l00071">scalar_uint_sized.hpp:71</a></div></div>
|
||
|
<div class="ttc" id="a00718_html_ga83d34160a5cb7bcb5339823210fc7501"><div class="ttname"><a href="a00718.html#ga83d34160a5cb7bcb5339823210fc7501">glm::unpackUnorm1x16</a></div><div class="ttdeci">GLM_FUNC_DECL float unpackUnorm1x16(uint16 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="a00703_html_gaa57e96bb337867329d5f43bcc27c1095"><div class="ttname"><a href="a00703.html#gaa57e96bb337867329d5f43bcc27c1095">glm::uvec4</a></div><div class="ttdeci">vec< 4, unsigned int, defaultp > uvec4</div><div class="ttdoc">4 components vector of unsigned integer numbers. </div><div class="ttdef"><b>Definition:</b> <a href="a00374_source.html#l00015">vector_uint4.hpp:15</a></div></div>
|
||
|
<div class="ttc" id="a00718_html_ga3e6ac9178b59f0b1b2f7599f2183eb7f"><div class="ttname"><a href="a00718.html#ga3e6ac9178b59f0b1b2f7599f2183eb7f">glm::unpackUnorm</a></div><div class="ttdeci">GLM_FUNC_DECL vec< L, floatType, Q > unpackUnorm(vec< L, uintType, Q > const &v)</div><div class="ttdoc">Convert a packed integer to a normalized floating-point vector. </div></div>
|
||
|
<div class="ttc" id="a00718_html_gac37dedaba24b00adb4ec6e8f92c19dbf"><div class="ttname"><a href="a00718.html#gac37dedaba24b00adb4ec6e8f92c19dbf">glm::unpackHalf1x16</a></div><div class="ttdeci">GLM_FUNC_DECL float unpackHalf1x16(uint16 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="a00718_html_ga43f2093b6ff192a79058ff7834fc3528"><div class="ttname"><a href="a00718.html#ga43f2093b6ff192a79058ff7834fc3528">glm::packHalf1x16</a></div><div class="ttdeci">GLM_FUNC_DECL uint16 packHalf1x16(float 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="a00718_html_ga5eecc9e8cbaf51ac6cf57501e670ee19"><div class="ttname"><a href="a00718.html#ga5eecc9e8cbaf51ac6cf57501e670ee19">glm::packUint2x16</a></div><div class="ttdeci">GLM_FUNC_DECL uint packUint2x16(u16vec2 const &v)</div><div class="ttdoc">Convert each component from an integer vector into a packed unsigned integer. </div></div>
|
||
|
<div class="ttc" id="a00723_html_ga20779a61de2fd526a17f12fe53ec46b1"><div class="ttname"><a href="a00723.html#ga20779a61de2fd526a17f12fe53ec46b1">glm::u8vec4</a></div><div class="ttdeci">vec< 4, u8, defaultp > u8vec4</div><div class="ttdoc">Default qualifier 8 bit unsigned integer vector of 4 components type. </div><div class="ttdef"><b>Definition:</b> <a href="a00383_source.html#l00342">fwd.hpp:342</a></div></div>
|
||
|
<div class="ttc" id="a00703_html_gabe65c061834f61b4f7cb6037b19006a4"><div class="ttname"><a href="a00703.html#gabe65c061834f61b4f7cb6037b19006a4">glm::vec2</a></div><div class="ttdeci">vec< 2, float, defaultp > vec2</div><div class="ttdoc">2 components vector of single-precision floating-point numbers. </div><div class="ttdef"><b>Definition:</b> <a href="a00311_source.html#l00015">vector_float2.hpp:15</a></div></div>
|
||
|
<div class="ttc" id="a00718_html_ga9f82737bf2a44bedff1d286b76837886"><div class="ttname"><a href="a00718.html#ga9f82737bf2a44bedff1d286b76837886">glm::packUnorm1x16</a></div><div class="ttdeci">GLM_FUNC_DECL uint16 packUnorm1x16(float 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="a00718_html_gab3bc08ecfc0f3339be93fb2b3b56d88a"><div class="ttname"><a href="a00718.html#gab3bc08ecfc0f3339be93fb2b3b56d88a">glm::unpackUnorm1x5_1x6_1x5</a></div><div class="ttdeci">GLM_FUNC_DECL vec3 unpackUnorm1x5_1x6_1x5(uint16 p)</div><div class="ttdoc">Convert a packed integer to a normalized floating-point vector. </div></div>
|
||
|
<div class="ttc" id="a00718_html_gab297c0bfd38433524791eb0584d8f08d"><div class="ttname"><a href="a00718.html#gab297c0bfd38433524791eb0584d8f08d">glm::unpackInt2x32</a></div><div class="ttdeci">GLM_FUNC_DECL i32vec2 unpackInt2x32(int64 p)</div><div class="ttdoc">Convert a packed integer into an integer vector. </div></div>
|
||
|
<div class="ttc" id="a00718_html_ga9a05330e5490be0908d3b117d82aff56"><div class="ttname"><a href="a00718.html#ga9a05330e5490be0908d3b117d82aff56">glm::unpackI3x10_1x2</a></div><div class="ttdeci">GLM_FUNC_DECL ivec4 unpackI3x10_1x2(uint32 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="a00718_html_gaa864081097b86e83d8e4a4d79c382b22"><div class="ttname"><a href="a00718.html#gaa864081097b86e83d8e4a4d79c382b22">glm::packUint2x32</a></div><div class="ttdeci">GLM_FUNC_DECL uint64 packUint2x32(u32vec2 const &v)</div><div class="ttdoc">Convert each component from an integer vector into a packed unsigned integer. </div></div>
|
||
|
<div class="ttc" id="a00718_html_gaaddf9c353528fe896106f7181219c7f4"><div class="ttname"><a href="a00718.html#gaaddf9c353528fe896106f7181219c7f4">glm::unpackSnorm4x16</a></div><div class="ttdeci">GLM_FUNC_DECL vec4 unpackSnorm4x16(uint64 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="a00718_html_ga6be3cfb2cce3702f03e91bbeb5286d7e"><div class="ttname"><a href="a00718.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="a00718_html_ga2ceb62cca347d8ace42ee90317a3f1f9"><div class="ttname"><a href="a00718.html#ga2ceb62cca347d8ace42ee90317a3f1f9">glm::packUint4x16</a></div><div class="ttdeci">GLM_FUNC_DECL uint64 packUint4x16(u16vec4 const &v)</div><div class="ttdoc">Convert each component from an integer vector into a packed unsigned integer. </div></div>
|
||
|
<div class="ttc" id="a00718_html_gae3592e0795e62aaa1865b3a10496a7a1"><div class="ttname"><a href="a00718.html#gae3592e0795e62aaa1865b3a10496a7a1">glm::packSnorm1x8</a></div><div class="ttdeci">GLM_FUNC_DECL uint8 packSnorm1x8(float s)</div><div class="ttdoc">First, converts the normalized floating-point value v into 8-bit integer value. </div></div>
|
||
|
<div class="ttc" id="a00718_html_gab997545661877d2c7362a5084d3897d3"><div class="ttname"><a href="a00718.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="a00718_html_ga6abd5a9014df3b5ce4059008d2491260"><div class="ttname"><a href="a00718.html#ga6abd5a9014df3b5ce4059008d2491260">glm::unpackUnorm2x3_1x2</a></div><div class="ttdeci">GLM_FUNC_DECL vec3 unpackUnorm2x3_1x2(uint8 p)</div><div class="ttdoc">Convert a packed integer to a normalized floating-point vector. </div></div>
|
||
|
<div class="ttc" id="a00718_html_ga358943934d21da947d5bcc88c2ab7832"><div class="ttname"><a href="a00718.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="a00718_html_ga035bbbeab7ec2b28c0529757395b645b"><div class="ttname"><a href="a00718.html#ga035bbbeab7ec2b28c0529757395b645b">glm::unpackUint2x16</a></div><div class="ttdeci">GLM_FUNC_DECL u16vec2 unpackUint2x16(uint p)</div><div class="ttdoc">Convert a packed integer into an integer vector. </div></div>
|
||
|
<div class="ttc" id="a00718_html_ga9a666b1c688ab54100061ed06526de6e"><div class="ttname"><a href="a00718.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="a00718_html_ga5c1ec97894b05ea21a05aea4f0204a02"><div class="ttname"><a href="a00718.html#ga5c1ec97894b05ea21a05aea4f0204a02">glm::unpackRGBM</a></div><div class="ttdeci">GLM_FUNC_DECL vec< 3, T, Q > unpackRGBM(vec< 4, T, Q > const &rgbm)</div><div class="ttdoc">Returns a floating-point vector with components obtained by reinterpreting an integer vector as 16-bi...</div></div>
|
||
|
<div class="ttc" id="a00718_html_ga06ecb6afb902dba45419008171db9023"><div class="ttname"><a href="a00718.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="a00718_html_gafe2f7b39caf8f5ec555e1c059ec530e6"><div class="ttname"><a href="a00718.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="a00718_html_ga4851ff86678aa1c7ace9d67846894285"><div class="ttname"><a href="a00718.html#ga4851ff86678aa1c7ace9d67846894285">glm::unpackSnorm1x8</a></div><div class="ttdeci">GLM_FUNC_DECL float unpackSnorm1x8(uint8 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="a00718_html_ga48df3042a7d079767f5891a1bfd8a60a"><div class="ttname"><a href="a00718.html#ga48df3042a7d079767f5891a1bfd8a60a">glm::unpackU3x10_1x2</a></div><div class="ttdeci">GLM_FUNC_DECL uvec4 unpackU3x10_1x2(uint32 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="a00718_html_ga30d6b2f1806315bcd6047131f547d33b"><div class="ttname"><a href="a00718.html#ga30d6b2f1806315bcd6047131f547d33b">glm::unpackHalf</a></div><div class="ttdeci">GLM_FUNC_DECL vec< L, float, Q > unpackHalf(vec< L, uint16, Q > const &p)</div><div class="ttdoc">Returns a floating-point vector with components obtained by reinterpreting an integer vector as 16-bi...</div></div>
|
||
|
<div class="ttc" id="a00718_html_ga8b128e89be449fc71336968a66bf6e1a"><div class="ttname"><a href="a00718.html#ga8b128e89be449fc71336968a66bf6e1a">glm::unpackSnorm2x8</a></div><div class="ttdeci">GLM_FUNC_DECL vec2 unpackSnorm2x8(uint16 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="a00718_html_ga768e0337dd6246773f14aa0a421fe9a8"><div class="ttname"><a href="a00718.html#ga768e0337dd6246773f14aa0a421fe9a8">glm::packUnorm1x5_1x6_1x5</a></div><div class="ttdeci">GLM_FUNC_DECL uint16 packUnorm1x5_1x6_1x5(vec3 const &v)</div><div class="ttdoc">Convert each component of the normalized floating-point vector into unsigned integer values...</div></div>
|
||
|
<div class="ttc" id="a00718_html_gab0c59f1e259fca9e68adb2207a6b665e"><div class="ttname"><a href="a00718.html#gab0c59f1e259fca9e68adb2207a6b665e">glm::unpackInt2x8</a></div><div class="ttdeci">GLM_FUNC_DECL i8vec2 unpackInt2x8(int16 p)</div><div class="ttdoc">Convert a packed integer into an integer vector. </div></div>
|
||
|
<div class="ttc" id="a00723_html_gad06935764d78f43f9d542c784c2212ec"><div class="ttname"><a href="a00723.html#gad06935764d78f43f9d542c784c2212ec">glm::i8vec2</a></div><div class="ttdeci">vec< 2, i8, defaultp > i8vec2</div><div class="ttdoc">8 bit signed integer vector of 2 components type. </div><div class="ttdef"><b>Definition:</b> <a href="a00383_source.html#l00238">fwd.hpp:238</a></div></div>
|
||
|
<div class="ttc" id="a00718_html_gaa0fe2f09aeb403cd66c1a062f58861ab"><div class="ttname"><a href="a00718.html#gaa0fe2f09aeb403cd66c1a062f58861ab">glm::packUint4x8</a></div><div class="ttdeci">GLM_FUNC_DECL uint32 packUint4x8(u8vec4 const &v)</div><div class="ttdoc">Convert each component from an integer vector into a packed unsigned integer. </div></div>
|
||
|
<div class="ttc" id="a00718_html_ga1f63c264e7ab63264e2b2a99fd393897"><div class="ttname"><a href="a00718.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="a00718_html_ga4b2fa60df3460403817d28b082ee0736"><div class="ttname"><a href="a00718.html#ga4b2fa60df3460403817d28b082ee0736">glm::packUnorm1x8</a></div><div class="ttdeci">GLM_FUNC_DECL uint8 packUnorm1x8(float 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="a00718_html_gab173834ef14cfc23a96a959f3ff4b8dc"><div class="ttname"><a href="a00718.html#gab173834ef14cfc23a96a959f3ff4b8dc">glm::unpackUint4x16</a></div><div class="ttdeci">GLM_FUNC_DECL u16vec4 unpackUint4x16(uint64 p)</div><div class="ttdoc">Convert a packed integer into an integer vector. </div></div>
|
||
|
<div class="ttc" id="a00718_html_ga1cd8d2038cdd33a860801aa155a26221"><div class="ttname"><a href="a00718.html#ga1cd8d2038cdd33a860801aa155a26221">glm::unpackInt4x8</a></div><div class="ttdeci">GLM_FUNC_DECL i8vec4 unpackInt4x8(int32 p)</div><div class="ttdoc">Convert a packed integer into an integer vector. </div></div>
|
||
|
<div class="ttc" id="a00718_html_ga0466daf4c90f76cc64b3f105ce727295"><div class="ttname"><a href="a00718.html#ga0466daf4c90f76cc64b3f105ce727295">glm::packRGBM</a></div><div class="ttdeci">GLM_FUNC_DECL vec< 4, T, Q > packRGBM(vec< 3, T, Q > const &rgb)</div><div class="ttdoc">Returns an unsigned integer vector obtained by converting the components of a floating-point vector t...</div></div>
|
||
|
<div class="ttc" id="a00718_html_gaf2238401d5ce2aaade1a44ba19709072"><div class="ttname"><a href="a00718.html#gaf2238401d5ce2aaade1a44ba19709072">glm::packInt4x8</a></div><div class="ttdeci">GLM_FUNC_DECL int32 packInt4x8(i8vec4 const &v)</div><div class="ttdoc">Convert each component from an integer vector into a packed unsigned integer. </div></div>
|
||
|
<div class="ttc" id="a00718_html_gaa7600a6c71784b637a410869d2a5adcd"><div class="ttname"><a href="a00718.html#gaa7600a6c71784b637a410869d2a5adcd">glm::unpackUint2x8</a></div><div class="ttdeci">GLM_FUNC_DECL u8vec2 unpackUint2x8(uint16 p)</div><div class="ttdoc">Convert a packed integer into an integer vector. </div></div>
|
||
|
<div class="ttc" id="a00718_html_ga5156d3060355fe332865da2c7f78815f"><div class="ttname"><a href="a00718.html#ga5156d3060355fe332865da2c7f78815f">glm::unpackUnorm3x10_1x2</a></div><div class="ttdeci">GLM_FUNC_DECL vec4 unpackUnorm3x10_1x2(uint32 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="a00723_html_ga4177a44206121dabc8c4ff1c0f544574"><div class="ttname"><a href="a00723.html#ga4177a44206121dabc8c4ff1c0f544574">glm::i8vec4</a></div><div class="ttdeci">vec< 4, i8, defaultp > i8vec4</div><div class="ttdoc">8 bit signed integer vector of 4 components type. </div><div class="ttdef"><b>Definition:</b> <a href="a00383_source.html#l00240">fwd.hpp:240</a></div></div>
|
||
|
<div class="ttc" id="a00718_html_ga8a1ee625d2707c60530fb3fca2980b19"><div class="ttname"><a href="a00718.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="a00718_html_gada3d88d59f0f458f9c51a9fd359a4bc0"><div class="ttname"><a href="a00718.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="a00723_html_ga2996630ba7b10535af8e065cf326f761"><div class="ttname"><a href="a00723.html#ga2996630ba7b10535af8e065cf326f761">glm::i16vec2</a></div><div class="ttdeci">vec< 2, i16, defaultp > i16vec2</div><div class="ttdoc">16 bit signed integer vector of 2 components type. </div><div class="ttdef"><b>Definition:</b> <a href="a00383_source.html#l00258">fwd.hpp:258</a></div></div>
|
||
|
<div class="ttc" id="a00718_html_gaccde055882918a3175de82f4ca8b7d8e"><div class="ttname"><a href="a00718.html#gaccde055882918a3175de82f4ca8b7d8e">glm::unpackInt2x16</a></div><div class="ttdeci">GLM_FUNC_DECL i16vec2 unpackInt2x16(int p)</div><div class="ttdoc">Convert a packed integer into an integer vector. </div></div>
|
||
|
<div class="ttc" id="a00718_html_ga2b1fd1e854705b1345e98409e0a25e50"><div class="ttname"><a href="a00718.html#ga2b1fd1e854705b1345e98409e0a25e50">glm::unpackF2x11_1x10</a></div><div class="ttdeci">GLM_FUNC_DECL vec3 unpackF2x11_1x10(uint32 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="a00437_html"><div class="ttname"><a href="a00437.html">type_precision.hpp</a></div><div class="ttdoc">GLM_GTC_type_precision </div></div>
|
||
|
<div class="ttc" id="a00723_html_ga2a78447eb9d66a114b193f4a25899c16"><div class="ttname"><a href="a00723.html#ga2a78447eb9d66a114b193f4a25899c16">glm::u16vec2</a></div><div class="ttdeci">vec< 2, u16, defaultp > u16vec2</div><div class="ttdoc">Default qualifier 16 bit unsigned integer vector of 2 components type. </div><div class="ttdef"><b>Definition:</b> <a href="a00383_source.html#l00360">fwd.hpp:360</a></div></div>
|
||
|
<div class="ttc" id="a00723_html_ga550831bfc26d1e0101c1cb3d79938c06"><div class="ttname"><a href="a00723.html#ga550831bfc26d1e0101c1cb3d79938c06">glm::i16vec4</a></div><div class="ttdeci">vec< 4, i16, defaultp > i16vec4</div><div class="ttdoc">16 bit signed integer vector of 4 components type. </div><div class="ttdef"><b>Definition:</b> <a href="a00383_source.html#l00260">fwd.hpp:260</a></div></div>
|
||
|
<div class="ttc" id="a00718_html_ga637cbe3913dd95c6e7b4c99c61bd611f"><div class="ttname"><a href="a00718.html#ga637cbe3913dd95c6e7b4c99c61bd611f">glm::unpackUnorm2x8</a></div><div class="ttdeci">GLM_FUNC_DECL vec2 unpackUnorm2x8(uint16 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="a00718_html_gab9e60ebe3ad3eeced6a9ec6eb876d74e"><div class="ttname"><a href="a00718.html#gab9e60ebe3ad3eeced6a9ec6eb876d74e">glm::unpackF3x9_E1x5</a></div><div class="ttdeci">GLM_FUNC_DECL vec3 unpackF3x9_E1x5(uint32 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="a00718_html_ga5ff95ff5bc16f396432ab67243dbae4d"><div class="ttname"><a href="a00718.html#ga5ff95ff5bc16f396432ab67243dbae4d">glm::unpackUnorm3x5_1x1</a></div><div class="ttdeci">GLM_FUNC_DECL vec4 unpackUnorm3x5_1x1(uint16 p)</div><div class="ttdoc">Convert a packed integer to a normalized floating-point vector. </div></div>
|
||
|
<div class="ttc" id="a00723_html_ga2a266e46ee218d0c680f12b35c500cc0"><div class="ttname"><a href="a00723.html#ga2a266e46ee218d0c680f12b35c500cc0">glm::u32vec2</a></div><div class="ttdeci">vec< 2, u32, defaultp > u32vec2</div><div class="ttdoc">Default qualifier 32 bit unsigned integer vector of 2 components type. </div><div class="ttdef"><b>Definition:</b> <a href="a00383_source.html#l00380">fwd.hpp:380</a></div></div>
|
||
|
<div class="ttc" id="a00718_html_ga1319207e30874fb4931a9ee913983ee1"><div class="ttname"><a href="a00718.html#ga1319207e30874fb4931a9ee913983ee1">glm::unpackUnorm1x8</a></div><div class="ttdeci">GLM_FUNC_DECL float unpackUnorm1x8(uint8 p)</div><div class="ttdoc">Convert a single 8-bit integer to a normalized floating-point value. </div></div>
|
||
|
<div class="ttc" id="a00723_html_ga518b8d948a6b4ddb72f84d5c3b7b6611"><div class="ttname"><a href="a00723.html#ga518b8d948a6b4ddb72f84d5c3b7b6611">glm::u8vec2</a></div><div class="ttdeci">vec< 2, u8, defaultp > u8vec2</div><div class="ttdoc">Default qualifier 8 bit unsigned integer vector of 2 components type. </div><div class="ttdef"><b>Definition:</b> <a href="a00383_source.html#l00340">fwd.hpp:340</a></div></div>
|
||
|
<div class="ttc" id="a00718_html_ga3644163cf3a47bf1d4af1f4b03013a7e"><div class="ttname"><a href="a00718.html#ga3644163cf3a47bf1d4af1f4b03013a7e">glm::packInt2x16</a></div><div class="ttdeci">GLM_FUNC_DECL int packInt2x16(i16vec2 const &v)</div><div class="ttdoc">Convert each component from an integer vector into a packed unsigned integer. </div></div>
|
||
|
<div class="ttc" id="a00718_html_ga6d49b31e5c3f9df8e1f99ab62b999482"><div class="ttname"><a href="a00718.html#ga6d49b31e5c3f9df8e1f99ab62b999482">glm::unpackSnorm</a></div><div class="ttdeci">GLM_FUNC_DECL vec< L, floatType, Q > unpackSnorm(vec< L, intType, Q > const &v)</div><div class="ttdoc">Convert a packed integer to a normalized floating-point vector. </div></div>
|
||
|
<div class="ttc" id="a00718_html_ga8884b1f2292414f36d59ef3be5d62914"><div class="ttname"><a href="a00718.html#ga8884b1f2292414f36d59ef3be5d62914">glm::packInt2x8</a></div><div class="ttdeci">GLM_FUNC_DECL int16 packInt2x8(i8vec2 const &v)</div><div class="ttdoc">Convert each component from an integer vector into a packed unsigned integer. </div></div>
|
||
|
<div class="ttc" id="a00718_html_gaec4112086d7fb133bea104a7c237de52"><div class="ttname"><a href="a00718.html#gaec4112086d7fb133bea104a7c237de52">glm::packUnorm3x5_1x1</a></div><div class="ttdeci">GLM_FUNC_DECL uint16 packUnorm3x5_1x1(vec4 const &v)</div><div class="ttdoc">Convert each component of the normalized floating-point vector into unsigned integer values...</div></div>
|
||
|
<div class="ttc" id="a00718_html_gad3e7e3ce521513584a53aedc5f9765c1"><div class="ttname"><a href="a00718.html#gad3e7e3ce521513584a53aedc5f9765c1">glm::packUnorm4x4</a></div><div class="ttdeci">GLM_FUNC_DECL uint16 packUnorm4x4(vec4 const &v)</div><div class="ttdoc">Convert each component of the normalized floating-point vector into unsigned integer values...</div></div>
|
||
|
<div class="ttc" id="a00794_html"><div class="ttname"><a href="a00794.html">glm</a></div><div class="ttdef"><b>Definition:</b> <a href="a00002_source.html#l00018">common.hpp:18</a></div></div>
|
||
|
<div class="ttc" id="a00687_html_gaff5189f97f9e842d9636a0f240001b2e"><div class="ttname"><a href="a00687.html#gaff5189f97f9e842d9636a0f240001b2e">glm::int64</a></div><div class="ttdeci">detail::int64 int64</div><div class="ttdoc">64 bit signed integer type. </div><div class="ttdef"><b>Definition:</b> <a href="a00245_source.html#l00071">scalar_int_sized.hpp:71</a></div></div>
|
||
|
<div class="ttc" id="a00723_html_ga529496d75775fb656a07993ea9af2450"><div class="ttname"><a href="a00723.html#ga529496d75775fb656a07993ea9af2450">glm::u16vec4</a></div><div class="ttdeci">vec< 4, u16, defaultp > u16vec4</div><div class="ttdoc">Default qualifier 16 bit unsigned integer vector of 4 components type. </div><div class="ttdef"><b>Definition:</b> <a href="a00383_source.html#l00362">fwd.hpp:362</a></div></div>
|
||
|
<div class="ttc" id="a00718_html_ga2ae149c5d2473ac1e5f347bb654a242d"><div class="ttname"><a href="a00718.html#ga2ae149c5d2473ac1e5f347bb654a242d">glm::unpackUnorm4x16</a></div><div class="ttdeci">GLM_FUNC_DECL vec4 unpackUnorm4x16(uint64 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="a00703_html_gac215a35481a6597d1bf622a382e9d6e2"><div class="ttname"><a href="a00703.html#gac215a35481a6597d1bf622a382e9d6e2">glm::vec4</a></div><div class="ttdeci">vec< 4, float, defaultp > vec4</div><div class="ttdoc">4 components vector of single-precision floating-point numbers. </div><div class="ttdef"><b>Definition:</b> <a href="a00323_source.html#l00015">vector_float4.hpp:15</a></div></div>
|
||
|
<div class="ttc" id="a00723_html_ga8b44026374982dcd1e52d22bac99247e"><div class="ttname"><a href="a00723.html#ga8b44026374982dcd1e52d22bac99247e">glm::i32vec2</a></div><div class="ttdeci">vec< 2, i32, defaultp > i32vec2</div><div class="ttdoc">32 bit signed integer vector of 2 components type. </div><div class="ttdef"><b>Definition:</b> <a href="a00383_source.html#l00278">fwd.hpp:278</a></div></div>
|
||
|
<div class="ttc" id="a00718_html_ga52c154a9b232b62c22517a700cc0c78c"><div class="ttname"><a href="a00718.html#ga52c154a9b232b62c22517a700cc0c78c">glm::unpackInt4x16</a></div><div class="ttdeci">GLM_FUNC_DECL i16vec4 unpackInt4x16(int64 p)</div><div class="ttdoc">Convert a packed integer into an integer vector. </div></div>
|
||
|
<div class="ttc" id="a00718_html_ga3f648fc205467792dc6d8c59c748f8a6"><div class="ttname"><a href="a00718.html#ga3f648fc205467792dc6d8c59c748f8a6">glm::packF3x9_E1x5</a></div><div class="ttdeci">GLM_FUNC_DECL uint32 packF3x9_E1x5(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 class="ttc" id="a00718_html_gad1e4c8a9e67d86b61a6eec86703a827a"><div class="ttname"><a href="a00718.html#gad1e4c8a9e67d86b61a6eec86703a827a">glm::packInt2x32</a></div><div class="ttdeci">GLM_FUNC_DECL int64 packInt2x32(i32vec2 const &v)</div><div class="ttdoc">Convert each component from an integer vector into a packed unsigned integer. </div></div>
|
||
|
<div class="ttc" id="a00718_html_gaf6dc0e4341810a641c7ed08f10e335d1"><div class="ttname"><a href="a00718.html#gaf6dc0e4341810a641c7ed08f10e335d1">glm::unpackUint4x8</a></div><div class="ttdeci">GLM_FUNC_DECL u8vec4 unpackUint4x8(uint32 p)</div><div class="ttdoc">Convert a packed integer into an integer vector. </div></div>
|
||
|
<div class="ttc" id="a00703_html_ga5abb4603dae0ce58c595e66d9123d812"><div class="ttname"><a href="a00703.html#ga5abb4603dae0ce58c595e66d9123d812">glm::ivec4</a></div><div class="ttdeci">vec< 4, int, defaultp > ivec4</div><div class="ttdoc">4 components vector of signed integer numbers. </div><div class="ttdef"><b>Definition:</b> <a href="a00347_source.html#l00015">vector_int4.hpp:15</a></div></div>
|
||
|
<div class="ttc" id="a00718_html_ga2e50476132fe5f27f08e273d9c70d85b"><div class="ttname"><a href="a00718.html#ga2e50476132fe5f27f08e273d9c70d85b">glm::unpackUnorm2x4</a></div><div class="ttdeci">GLM_FUNC_DECL vec2 unpackUnorm2x4(uint8 p)</div><div class="ttdoc">Convert a packed integer to a normalized floating-point vector. </div></div>
|
||
|
<div class="ttc" id="a00718_html_gab22f8bcfdb5fc65af4701b25f143c1af"><div class="ttname"><a href="a00718.html#gab22f8bcfdb5fc65af4701b25f143c1af">glm::packSnorm1x16</a></div><div class="ttdeci">GLM_FUNC_DECL uint16 packSnorm1x16(float v)</div><div class="ttdoc">First, converts the normalized floating-point value v into 16-bit integer value. </div></div>
|
||
|
<div class="ttc" id="a00718_html_gaa54b5855a750d6aeb12c1c902f5939b8"><div class="ttname"><a href="a00718.html#gaa54b5855a750d6aeb12c1c902f5939b8">glm::packSnorm</a></div><div class="ttdeci">GLM_FUNC_DECL vec< L, intType, Q > packSnorm(vec< L, floatType, Q > const &v)</div><div class="ttdoc">Convert each component of the normalized floating-point vector into signed integer values...</div></div>
|
||
|
<div class="ttc" id="a00718_html_ga4944ad465ff950e926d49621f916c78d"><div class="ttname"><a href="a00718.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 class="ttc" id="a00718_html_ga57dfc41b2eb20b0ac00efae7d9c49dcd"><div class="ttname"><a href="a00718.html#ga57dfc41b2eb20b0ac00efae7d9c49dcd">glm::unpackHalf4x16</a></div><div class="ttdeci">GLM_FUNC_DECL vec4 unpackHalf4x16(uint64 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="a00718_html_ga7a4fbf79be9740e3c57737bc2af05e5b"><div class="ttname"><a href="a00718.html#ga7a4fbf79be9740e3c57737bc2af05e5b">glm::unpackSnorm3x10_1x2</a></div><div class="ttdeci">GLM_FUNC_DECL vec4 unpackSnorm3x10_1x2(uint32 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="a00718_html_gab6bbd5be3b8e6db538ecb33a7844481c"><div class="ttname"><a href="a00718.html#gab6bbd5be3b8e6db538ecb33a7844481c">glm::packUnorm2x4</a></div><div class="ttdeci">GLM_FUNC_DECL uint8 packUnorm2x4(vec2 const &v)</div><div class="ttdoc">Convert each component of the normalized floating-point vector into unsigned integer values...</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.14
|
||
|
</small></address>
|
||
|
</body>
|
||
|
</html>
|