glm/doc/api/a00897.html

1277 lines
74 KiB
HTML
Raw Normal View History

2024-01-24 13:40:22 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2018-09-02 21:34:18 +00:00
<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"/>
2024-01-24 13:40:22 +00:00
<meta name="generator" content="Doxygen 1.8.18"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>1.0.0 API documentation: GLM_GTC_bitfield</title>
2018-09-02 21:34:18 +00:00
<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;">
2024-01-24 13:40:22 +00:00
<div id="projectname">1.0.0 API documentation
2018-09-02 21:34:18 +00:00
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
2024-01-24 13:40:22 +00:00
<!-- Generated by Doxygen 1.8.18 -->
2018-09-02 21:34:18 +00:00
<script type="text/javascript">
2024-01-24 13:40:22 +00:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
2018-09-02 21:34:18 +00:00
var searchBox = new SearchBox("searchBox", "search",false,'Search');
2024-01-24 13:40:22 +00:00
/* @license-end */
2018-09-02 21:34:18 +00:00
</script>
2024-01-24 13:40:22 +00:00
<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&amp;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>
2018-09-02 21:34:18 +00:00
</div><!-- top -->
<!-- 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 class="header">
<div class="summary">
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
2024-01-24 13:40:22 +00:00
<div class="title">GLM_GTC_bitfield<div class="ingroups"><a class="el" href="a00895.html">Recommended extensions</a></div></div> </div>
2018-09-02 21:34:18 +00:00
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
2024-01-24 13:40:22 +00:00
<tr class="memitem:ga091d934233a2e121df91b8c7230357c8"><td class="memItemLeft" align="right" valign="top">GLM_FUNC_DECL <a class="el" href="a00884.html#ga518b8d948a6b4ddb72f84d5c3b7b6611">glm::u8vec2</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00897.html#ga091d934233a2e121df91b8c7230357c8">bitfieldDeinterleave</a> (<a class="el" href="a00864.html#ga05f6b0ae8f6a6e135b0e290c25fe0e4e">glm::uint16</a> x)</td></tr>
<tr class="memdesc:ga091d934233a2e121df91b8c7230357c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deinterleaves the bits of x. <a href="a00897.html#ga091d934233a2e121df91b8c7230357c8">More...</a><br /></td></tr>
2018-09-02 21:34:18 +00:00
<tr class="separator:ga091d934233a2e121df91b8c7230357c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
2024-01-24 13:40:22 +00:00
<tr class="memitem:ga7d1cc24dfbcdd932c3a2abbb76235f98"><td class="memItemLeft" align="right" valign="top">GLM_FUNC_DECL <a class="el" href="a00884.html#ga2a78447eb9d66a114b193f4a25899c16">glm::u16vec2</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00897.html#ga7d1cc24dfbcdd932c3a2abbb76235f98">bitfieldDeinterleave</a> (<a class="el" href="a00864.html#ga1134b580f8da4de94ca6b1de4d37975e">glm::uint32</a> x)</td></tr>
<tr class="memdesc:ga7d1cc24dfbcdd932c3a2abbb76235f98"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deinterleaves the bits of x. <a href="a00897.html#ga7d1cc24dfbcdd932c3a2abbb76235f98">More...</a><br /></td></tr>
2018-09-02 21:34:18 +00:00
<tr class="separator:ga7d1cc24dfbcdd932c3a2abbb76235f98"><td class="memSeparator" colspan="2">&#160;</td></tr>
2024-01-24 13:40:22 +00:00
<tr class="memitem:ga8dbb8c87092f33bd815dd8a840be5d60"><td class="memItemLeft" align="right" valign="top">GLM_FUNC_DECL <a class="el" href="a00884.html#ga2a266e46ee218d0c680f12b35c500cc0">glm::u32vec2</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00897.html#ga8dbb8c87092f33bd815dd8a840be5d60">bitfieldDeinterleave</a> (<a class="el" href="a00864.html#gab630f76c26b50298187f7889104d4b9c">glm::uint64</a> x)</td></tr>
<tr class="memdesc:ga8dbb8c87092f33bd815dd8a840be5d60"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deinterleaves the bits of x. <a href="a00897.html#ga8dbb8c87092f33bd815dd8a840be5d60">More...</a><br /></td></tr>
2018-09-02 21:34:18 +00:00
<tr class="separator:ga8dbb8c87092f33bd815dd8a840be5d60"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga46f9295abe3b5c7658f5b13c7f819f0a"><td class="memTemplParams" colspan="2">template&lt;typename genIUType &gt; </td></tr>
2024-01-24 13:40:22 +00:00
<tr class="memitem:ga46f9295abe3b5c7658f5b13c7f819f0a"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL genIUType&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00897.html#ga46f9295abe3b5c7658f5b13c7f819f0a">bitfieldFillOne</a> (genIUType Value, int FirstBit, int BitCount)</td></tr>
<tr class="memdesc:ga46f9295abe3b5c7658f5b13c7f819f0a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set to 1 a range of bits. <a href="a00897.html#ga46f9295abe3b5c7658f5b13c7f819f0a">More...</a><br /></td></tr>
2018-09-02 21:34:18 +00:00
<tr class="separator:ga46f9295abe3b5c7658f5b13c7f819f0a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3e96dd1f0a4bc892f063251ed118c0c1"><td class="memTemplParams" colspan="2">template&lt;length_t L, typename T , qualifier Q&gt; </td></tr>
2024-01-24 13:40:22 +00:00
<tr class="memitem:ga3e96dd1f0a4bc892f063251ed118c0c1"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; L, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00897.html#ga3e96dd1f0a4bc892f063251ed118c0c1">bitfieldFillOne</a> (vec&lt; L, T, Q &gt; const &amp;Value, int FirstBit, int BitCount)</td></tr>
<tr class="memdesc:ga3e96dd1f0a4bc892f063251ed118c0c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set to 1 a range of bits. <a href="a00897.html#ga3e96dd1f0a4bc892f063251ed118c0c1">More...</a><br /></td></tr>
2018-09-02 21:34:18 +00:00
<tr class="separator:ga3e96dd1f0a4bc892f063251ed118c0c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga697b86998b7d74ee0a69d8e9f8819fee"><td class="memTemplParams" colspan="2">template&lt;typename genIUType &gt; </td></tr>
2024-01-24 13:40:22 +00:00
<tr class="memitem:ga697b86998b7d74ee0a69d8e9f8819fee"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL genIUType&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00897.html#ga697b86998b7d74ee0a69d8e9f8819fee">bitfieldFillZero</a> (genIUType Value, int FirstBit, int BitCount)</td></tr>
<tr class="memdesc:ga697b86998b7d74ee0a69d8e9f8819fee"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set to 0 a range of bits. <a href="a00897.html#ga697b86998b7d74ee0a69d8e9f8819fee">More...</a><br /></td></tr>
2018-09-02 21:34:18 +00:00
<tr class="separator:ga697b86998b7d74ee0a69d8e9f8819fee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0d16c9acef4be79ea9b47c082a0cf7c2"><td class="memTemplParams" colspan="2">template&lt;length_t L, typename T , qualifier Q&gt; </td></tr>
2024-01-24 13:40:22 +00:00
<tr class="memitem:ga0d16c9acef4be79ea9b47c082a0cf7c2"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; L, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00897.html#ga0d16c9acef4be79ea9b47c082a0cf7c2">bitfieldFillZero</a> (vec&lt; L, T, Q &gt; const &amp;Value, int FirstBit, int BitCount)</td></tr>
<tr class="memdesc:ga0d16c9acef4be79ea9b47c082a0cf7c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set to 0 a range of bits. <a href="a00897.html#ga0d16c9acef4be79ea9b47c082a0cf7c2">More...</a><br /></td></tr>
2018-09-02 21:34:18 +00:00
<tr class="separator:ga0d16c9acef4be79ea9b47c082a0cf7c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
2024-01-24 13:40:22 +00:00
<tr class="memitem:gac51c33a394593f0631fa3aa5bb778809"><td class="memItemLeft" align="right" valign="top">GLM_FUNC_DECL <a class="el" href="a00859.html#ga43d43196463bde49cb067f5c20ab8481">int32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00897.html#gac51c33a394593f0631fa3aa5bb778809">bitfieldInterleave</a> (<a class="el" href="a00859.html#ga259fa4834387bd68627ddf37bb3ebdb9">int16</a> x, <a class="el" href="a00859.html#ga259fa4834387bd68627ddf37bb3ebdb9">int16</a> y)</td></tr>
<tr class="memdesc:gac51c33a394593f0631fa3aa5bb778809"><td class="mdescLeft">&#160;</td><td class="mdescRight">Interleaves the bits of x and y. <a href="a00897.html#gac51c33a394593f0631fa3aa5bb778809">More...</a><br /></td></tr>
2018-09-02 21:34:18 +00:00
<tr class="separator:gac51c33a394593f0631fa3aa5bb778809"><td class="memSeparator" colspan="2">&#160;</td></tr>
2024-01-24 13:40:22 +00:00
<tr class="memitem:gaa901c36a842fa5d126ea650549f17b24"><td class="memItemLeft" align="right" valign="top">GLM_FUNC_DECL <a class="el" href="a00859.html#gaff5189f97f9e842d9636a0f240001b2e">int64</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00897.html#gaa901c36a842fa5d126ea650549f17b24">bitfieldInterleave</a> (<a class="el" href="a00859.html#ga259fa4834387bd68627ddf37bb3ebdb9">int16</a> x, <a class="el" href="a00859.html#ga259fa4834387bd68627ddf37bb3ebdb9">int16</a> y, <a class="el" href="a00859.html#ga259fa4834387bd68627ddf37bb3ebdb9">int16</a> z)</td></tr>
<tr class="memdesc:gaa901c36a842fa5d126ea650549f17b24"><td class="mdescLeft">&#160;</td><td class="mdescRight">Interleaves the bits of x, y and z. <a href="a00897.html#gaa901c36a842fa5d126ea650549f17b24">More...</a><br /></td></tr>
<tr class="separator:gaa901c36a842fa5d126ea650549f17b24"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga180a63161e1319fbd5a53c84d0429c7a"><td class="memItemLeft" align="right" valign="top">GLM_FUNC_DECL <a class="el" href="a00859.html#gaff5189f97f9e842d9636a0f240001b2e">int64</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00897.html#ga180a63161e1319fbd5a53c84d0429c7a">bitfieldInterleave</a> (<a class="el" href="a00859.html#ga259fa4834387bd68627ddf37bb3ebdb9">int16</a> x, <a class="el" href="a00859.html#ga259fa4834387bd68627ddf37bb3ebdb9">int16</a> y, <a class="el" href="a00859.html#ga259fa4834387bd68627ddf37bb3ebdb9">int16</a> z, <a class="el" href="a00859.html#ga259fa4834387bd68627ddf37bb3ebdb9">int16</a> w)</td></tr>
<tr class="memdesc:ga180a63161e1319fbd5a53c84d0429c7a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Interleaves the bits of x, y, z and w. <a href="a00897.html#ga180a63161e1319fbd5a53c84d0429c7a">More...</a><br /></td></tr>
<tr class="separator:ga180a63161e1319fbd5a53c84d0429c7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaebb756a24a0784e3d6fba8bd011ab77a"><td class="memItemLeft" align="right" valign="top">GLM_FUNC_DECL <a class="el" href="a00859.html#gaff5189f97f9e842d9636a0f240001b2e">int64</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00897.html#gaebb756a24a0784e3d6fba8bd011ab77a">bitfieldInterleave</a> (<a class="el" href="a00859.html#ga43d43196463bde49cb067f5c20ab8481">int32</a> x, <a class="el" href="a00859.html#ga43d43196463bde49cb067f5c20ab8481">int32</a> y)</td></tr>
<tr class="memdesc:gaebb756a24a0784e3d6fba8bd011ab77a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Interleaves the bits of x and y. <a href="a00897.html#gaebb756a24a0784e3d6fba8bd011ab77a">More...</a><br /></td></tr>
2018-09-02 21:34:18 +00:00
<tr class="separator:gaebb756a24a0784e3d6fba8bd011ab77a"><td class="memSeparator" colspan="2">&#160;</td></tr>
2024-01-24 13:40:22 +00:00
<tr class="memitem:gad2075d96a6640121edaa98ea534102ca"><td class="memItemLeft" align="right" valign="top">GLM_FUNC_DECL <a class="el" href="a00859.html#gaff5189f97f9e842d9636a0f240001b2e">int64</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00897.html#gad2075d96a6640121edaa98ea534102ca">bitfieldInterleave</a> (<a class="el" href="a00859.html#ga43d43196463bde49cb067f5c20ab8481">int32</a> x, <a class="el" href="a00859.html#ga43d43196463bde49cb067f5c20ab8481">int32</a> y, <a class="el" href="a00859.html#ga43d43196463bde49cb067f5c20ab8481">int32</a> z)</td></tr>
<tr class="memdesc:gad2075d96a6640121edaa98ea534102ca"><td class="mdescLeft">&#160;</td><td class="mdescRight">Interleaves the bits of x, y and z. <a href="a00897.html#gad2075d96a6640121edaa98ea534102ca">More...</a><br /></td></tr>
<tr class="separator:gad2075d96a6640121edaa98ea534102ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga24cad0069f9a0450abd80b3e89501adf"><td class="memItemLeft" align="right" valign="top">GLM_FUNC_DECL <a class="el" href="a00859.html#ga259fa4834387bd68627ddf37bb3ebdb9">int16</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00897.html#ga24cad0069f9a0450abd80b3e89501adf">bitfieldInterleave</a> (<a class="el" href="a00859.html#ga1b956fe1df85f3c132b21edb4e116458">int8</a> x, <a class="el" href="a00859.html#ga1b956fe1df85f3c132b21edb4e116458">int8</a> y)</td></tr>
<tr class="memdesc:ga24cad0069f9a0450abd80b3e89501adf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Interleaves the bits of x and y. <a href="a00897.html#ga24cad0069f9a0450abd80b3e89501adf">More...</a><br /></td></tr>
<tr class="separator:ga24cad0069f9a0450abd80b3e89501adf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8fdb724dccd4a07d57efc01147102137"><td class="memItemLeft" align="right" valign="top">GLM_FUNC_DECL <a class="el" href="a00859.html#ga43d43196463bde49cb067f5c20ab8481">int32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00897.html#ga8fdb724dccd4a07d57efc01147102137">bitfieldInterleave</a> (<a class="el" href="a00859.html#ga1b956fe1df85f3c132b21edb4e116458">int8</a> x, <a class="el" href="a00859.html#ga1b956fe1df85f3c132b21edb4e116458">int8</a> y, <a class="el" href="a00859.html#ga1b956fe1df85f3c132b21edb4e116458">int8</a> z)</td></tr>
<tr class="memdesc:ga8fdb724dccd4a07d57efc01147102137"><td class="mdescLeft">&#160;</td><td class="mdescRight">Interleaves the bits of x, y and z. <a href="a00897.html#ga8fdb724dccd4a07d57efc01147102137">More...</a><br /></td></tr>
2018-09-02 21:34:18 +00:00
<tr class="separator:ga8fdb724dccd4a07d57efc01147102137"><td class="memSeparator" colspan="2">&#160;</td></tr>
2024-01-24 13:40:22 +00:00
<tr class="memitem:ga8a44ae22f5c953b296c42d067dccbe6d"><td class="memItemLeft" align="right" valign="top">GLM_FUNC_DECL <a class="el" href="a00859.html#ga43d43196463bde49cb067f5c20ab8481">int32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00897.html#ga8a44ae22f5c953b296c42d067dccbe6d">bitfieldInterleave</a> (<a class="el" href="a00859.html#ga1b956fe1df85f3c132b21edb4e116458">int8</a> x, <a class="el" href="a00859.html#ga1b956fe1df85f3c132b21edb4e116458">int8</a> y, <a class="el" href="a00859.html#ga1b956fe1df85f3c132b21edb4e116458">int8</a> z, <a class="el" href="a00859.html#ga1b956fe1df85f3c132b21edb4e116458">int8</a> w)</td></tr>
<tr class="memdesc:ga8a44ae22f5c953b296c42d067dccbe6d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Interleaves the bits of x, y, z and w. <a href="a00897.html#ga8a44ae22f5c953b296c42d067dccbe6d">More...</a><br /></td></tr>
<tr class="separator:ga8a44ae22f5c953b296c42d067dccbe6d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga406c4ee56af4ca37a73f449f154eca3e"><td class="memItemLeft" align="right" valign="top">GLM_FUNC_DECL <a class="el" href="a00864.html#ga1134b580f8da4de94ca6b1de4d37975e">uint32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00897.html#ga406c4ee56af4ca37a73f449f154eca3e">bitfieldInterleave</a> (<a class="el" href="a00884.html#ga2a78447eb9d66a114b193f4a25899c16">u16vec2</a> const &amp;v)</td></tr>
<tr class="memdesc:ga406c4ee56af4ca37a73f449f154eca3e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Interleaves the bits of x and y. <a href="a00897.html#ga406c4ee56af4ca37a73f449f154eca3e">More...</a><br /></td></tr>
<tr class="separator:ga406c4ee56af4ca37a73f449f154eca3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8cb17574d60abd6ade84bc57c10e8f78"><td class="memItemLeft" align="right" valign="top">GLM_FUNC_DECL <a class="el" href="a00864.html#gab630f76c26b50298187f7889104d4b9c">uint64</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00897.html#ga8cb17574d60abd6ade84bc57c10e8f78">bitfieldInterleave</a> (<a class="el" href="a00884.html#ga2a266e46ee218d0c680f12b35c500cc0">u32vec2</a> const &amp;v)</td></tr>
<tr class="memdesc:ga8cb17574d60abd6ade84bc57c10e8f78"><td class="mdescLeft">&#160;</td><td class="mdescRight">Interleaves the bits of x and y. <a href="a00897.html#ga8cb17574d60abd6ade84bc57c10e8f78">More...</a><br /></td></tr>
<tr class="separator:ga8cb17574d60abd6ade84bc57c10e8f78"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4a76bbca39c40153f3203d0a1926e142"><td class="memItemLeft" align="right" valign="top">GLM_FUNC_DECL <a class="el" href="a00864.html#ga05f6b0ae8f6a6e135b0e290c25fe0e4e">uint16</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00897.html#ga4a76bbca39c40153f3203d0a1926e142">bitfieldInterleave</a> (<a class="el" href="a00884.html#ga518b8d948a6b4ddb72f84d5c3b7b6611">u8vec2</a> const &amp;v)</td></tr>
<tr class="memdesc:ga4a76bbca39c40153f3203d0a1926e142"><td class="mdescLeft">&#160;</td><td class="mdescRight">Interleaves the bits of x and y. <a href="a00897.html#ga4a76bbca39c40153f3203d0a1926e142">More...</a><br /></td></tr>
<tr class="separator:ga4a76bbca39c40153f3203d0a1926e142"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga94f3646a5667f4be56f8dcf3310e963f"><td class="memItemLeft" align="right" valign="top">GLM_FUNC_DECL <a class="el" href="a00864.html#ga1134b580f8da4de94ca6b1de4d37975e">uint32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00897.html#ga94f3646a5667f4be56f8dcf3310e963f">bitfieldInterleave</a> (<a class="el" href="a00864.html#ga05f6b0ae8f6a6e135b0e290c25fe0e4e">uint16</a> x, <a class="el" href="a00864.html#ga05f6b0ae8f6a6e135b0e290c25fe0e4e">uint16</a> y)</td></tr>
<tr class="memdesc:ga94f3646a5667f4be56f8dcf3310e963f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Interleaves the bits of x and y. <a href="a00897.html#ga94f3646a5667f4be56f8dcf3310e963f">More...</a><br /></td></tr>
<tr class="separator:ga94f3646a5667f4be56f8dcf3310e963f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3afd6d38881fe3948c53d4214d2197fd"><td class="memItemLeft" align="right" valign="top">GLM_FUNC_DECL <a class="el" href="a00864.html#gab630f76c26b50298187f7889104d4b9c">uint64</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00897.html#ga3afd6d38881fe3948c53d4214d2197fd">bitfieldInterleave</a> (<a class="el" href="a00864.html#ga05f6b0ae8f6a6e135b0e290c25fe0e4e">uint16</a> x, <a class="el" href="a00864.html#ga05f6b0ae8f6a6e135b0e290c25fe0e4e">uint16</a> y, <a class="el" href="a00864.html#ga05f6b0ae8f6a6e135b0e290c25fe0e4e">uint16</a> z)</td></tr>
<tr class="memdesc:ga3afd6d38881fe3948c53d4214d2197fd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Interleaves the bits of x, y and z. <a href="a00897.html#ga3afd6d38881fe3948c53d4214d2197fd">More...</a><br /></td></tr>
2018-09-02 21:34:18 +00:00
<tr class="separator:ga3afd6d38881fe3948c53d4214d2197fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
2024-01-24 13:40:22 +00:00
<tr class="memitem:gafca8768671a14c8016facccb66a89f26"><td class="memItemLeft" align="right" valign="top">GLM_FUNC_DECL <a class="el" href="a00864.html#gab630f76c26b50298187f7889104d4b9c">uint64</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00897.html#gafca8768671a14c8016facccb66a89f26">bitfieldInterleave</a> (<a class="el" href="a00864.html#ga05f6b0ae8f6a6e135b0e290c25fe0e4e">uint16</a> x, <a class="el" href="a00864.html#ga05f6b0ae8f6a6e135b0e290c25fe0e4e">uint16</a> y, <a class="el" href="a00864.html#ga05f6b0ae8f6a6e135b0e290c25fe0e4e">uint16</a> z, <a class="el" href="a00864.html#ga05f6b0ae8f6a6e135b0e290c25fe0e4e">uint16</a> w)</td></tr>
<tr class="memdesc:gafca8768671a14c8016facccb66a89f26"><td class="mdescLeft">&#160;</td><td class="mdescRight">Interleaves the bits of x, y, z and w. <a href="a00897.html#gafca8768671a14c8016facccb66a89f26">More...</a><br /></td></tr>
<tr class="separator:gafca8768671a14c8016facccb66a89f26"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2f1e2b3fe699e7d897ae38b2115ddcbd"><td class="memItemLeft" align="right" valign="top">GLM_FUNC_DECL <a class="el" href="a00864.html#gab630f76c26b50298187f7889104d4b9c">uint64</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00897.html#ga2f1e2b3fe699e7d897ae38b2115ddcbd">bitfieldInterleave</a> (<a class="el" href="a00864.html#ga1134b580f8da4de94ca6b1de4d37975e">uint32</a> x, <a class="el" href="a00864.html#ga1134b580f8da4de94ca6b1de4d37975e">uint32</a> y)</td></tr>
<tr class="memdesc:ga2f1e2b3fe699e7d897ae38b2115ddcbd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Interleaves the bits of x and y. <a href="a00897.html#ga2f1e2b3fe699e7d897ae38b2115ddcbd">More...</a><br /></td></tr>
<tr class="separator:ga2f1e2b3fe699e7d897ae38b2115ddcbd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab19fbc739fc0cf7247978602c36f7da8"><td class="memItemLeft" align="right" valign="top">GLM_FUNC_DECL <a class="el" href="a00864.html#gab630f76c26b50298187f7889104d4b9c">uint64</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00897.html#gab19fbc739fc0cf7247978602c36f7da8">bitfieldInterleave</a> (<a class="el" href="a00864.html#ga1134b580f8da4de94ca6b1de4d37975e">uint32</a> x, <a class="el" href="a00864.html#ga1134b580f8da4de94ca6b1de4d37975e">uint32</a> y, <a class="el" href="a00864.html#ga1134b580f8da4de94ca6b1de4d37975e">uint32</a> z)</td></tr>
<tr class="memdesc:gab19fbc739fc0cf7247978602c36f7da8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Interleaves the bits of x, y and z. <a href="a00897.html#gab19fbc739fc0cf7247978602c36f7da8">More...</a><br /></td></tr>
2018-09-02 21:34:18 +00:00
<tr class="separator:gab19fbc739fc0cf7247978602c36f7da8"><td class="memSeparator" colspan="2">&#160;</td></tr>
2024-01-24 13:40:22 +00:00
<tr class="memitem:ga9a4976a529aec2cee56525e1165da484"><td class="memItemLeft" align="right" valign="top">GLM_FUNC_DECL <a class="el" href="a00864.html#ga05f6b0ae8f6a6e135b0e290c25fe0e4e">uint16</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00897.html#ga9a4976a529aec2cee56525e1165da484">bitfieldInterleave</a> (<a class="el" href="a00864.html#gadde6aaee8457bee49c2a92621fe22b79">uint8</a> x, <a class="el" href="a00864.html#gadde6aaee8457bee49c2a92621fe22b79">uint8</a> y)</td></tr>
<tr class="memdesc:ga9a4976a529aec2cee56525e1165da484"><td class="mdescLeft">&#160;</td><td class="mdescRight">Interleaves the bits of x and y. <a href="a00897.html#ga9a4976a529aec2cee56525e1165da484">More...</a><br /></td></tr>
<tr class="separator:ga9a4976a529aec2cee56525e1165da484"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9fc2a0dd5dcf8b00e113f272a5feca93"><td class="memItemLeft" align="right" valign="top">GLM_FUNC_DECL <a class="el" href="a00864.html#ga1134b580f8da4de94ca6b1de4d37975e">uint32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00897.html#ga9fc2a0dd5dcf8b00e113f272a5feca93">bitfieldInterleave</a> (<a class="el" href="a00864.html#gadde6aaee8457bee49c2a92621fe22b79">uint8</a> x, <a class="el" href="a00864.html#gadde6aaee8457bee49c2a92621fe22b79">uint8</a> y, <a class="el" href="a00864.html#gadde6aaee8457bee49c2a92621fe22b79">uint8</a> z)</td></tr>
<tr class="memdesc:ga9fc2a0dd5dcf8b00e113f272a5feca93"><td class="mdescLeft">&#160;</td><td class="mdescRight">Interleaves the bits of x, y and z. <a href="a00897.html#ga9fc2a0dd5dcf8b00e113f272a5feca93">More...</a><br /></td></tr>
<tr class="separator:ga9fc2a0dd5dcf8b00e113f272a5feca93"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga14bb274d54a3c26f4919dd7ed0dd0c36"><td class="memItemLeft" align="right" valign="top">GLM_FUNC_DECL <a class="el" href="a00864.html#ga1134b580f8da4de94ca6b1de4d37975e">uint32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00897.html#ga14bb274d54a3c26f4919dd7ed0dd0c36">bitfieldInterleave</a> (<a class="el" href="a00864.html#gadde6aaee8457bee49c2a92621fe22b79">uint8</a> x, <a class="el" href="a00864.html#gadde6aaee8457bee49c2a92621fe22b79">uint8</a> y, <a class="el" href="a00864.html#gadde6aaee8457bee49c2a92621fe22b79">uint8</a> z, <a class="el" href="a00864.html#gadde6aaee8457bee49c2a92621fe22b79">uint8</a> w)</td></tr>
<tr class="memdesc:ga14bb274d54a3c26f4919dd7ed0dd0c36"><td class="mdescLeft">&#160;</td><td class="mdescRight">Interleaves the bits of x, y, z and w. <a href="a00897.html#ga14bb274d54a3c26f4919dd7ed0dd0c36">More...</a><br /></td></tr>
2018-09-02 21:34:18 +00:00
<tr class="separator:ga14bb274d54a3c26f4919dd7ed0dd0c36"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2eb49678a344ce1495bdb5586d9896b9"><td class="memTemplParams" colspan="2">template&lt;typename genIUType &gt; </td></tr>
2024-01-24 13:40:22 +00:00
<tr class="memitem:ga2eb49678a344ce1495bdb5586d9896b9"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL genIUType&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00897.html#ga2eb49678a344ce1495bdb5586d9896b9">bitfieldRotateLeft</a> (genIUType In, int Shift)</td></tr>
<tr class="memdesc:ga2eb49678a344ce1495bdb5586d9896b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Rotate all bits to the left. <a href="a00897.html#ga2eb49678a344ce1495bdb5586d9896b9">More...</a><br /></td></tr>
2018-09-02 21:34:18 +00:00
<tr class="separator:ga2eb49678a344ce1495bdb5586d9896b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae186317091b1a39214ebf79008d44a1e"><td class="memTemplParams" colspan="2">template&lt;length_t L, typename T , qualifier Q&gt; </td></tr>
2024-01-24 13:40:22 +00:00
<tr class="memitem:gae186317091b1a39214ebf79008d44a1e"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; L, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00897.html#gae186317091b1a39214ebf79008d44a1e">bitfieldRotateLeft</a> (vec&lt; L, T, Q &gt; const &amp;In, int Shift)</td></tr>
<tr class="memdesc:gae186317091b1a39214ebf79008d44a1e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Rotate all bits to the left. <a href="a00897.html#gae186317091b1a39214ebf79008d44a1e">More...</a><br /></td></tr>
2018-09-02 21:34:18 +00:00
<tr class="separator:gae186317091b1a39214ebf79008d44a1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1c33d075c5fb8bd8dbfd5092bfc851ca"><td class="memTemplParams" colspan="2">template&lt;typename genIUType &gt; </td></tr>
2024-01-24 13:40:22 +00:00
<tr class="memitem:ga1c33d075c5fb8bd8dbfd5092bfc851ca"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL genIUType&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00897.html#ga1c33d075c5fb8bd8dbfd5092bfc851ca">bitfieldRotateRight</a> (genIUType In, int Shift)</td></tr>
<tr class="memdesc:ga1c33d075c5fb8bd8dbfd5092bfc851ca"><td class="mdescLeft">&#160;</td><td class="mdescRight">Rotate all bits to the right. <a href="a00897.html#ga1c33d075c5fb8bd8dbfd5092bfc851ca">More...</a><br /></td></tr>
2018-09-02 21:34:18 +00:00
<tr class="separator:ga1c33d075c5fb8bd8dbfd5092bfc851ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga590488e1fc00a6cfe5d3bcaf93fbfe88"><td class="memTemplParams" colspan="2">template&lt;length_t L, typename T , qualifier Q&gt; </td></tr>
2024-01-24 13:40:22 +00:00
<tr class="memitem:ga590488e1fc00a6cfe5d3bcaf93fbfe88"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; L, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00897.html#ga590488e1fc00a6cfe5d3bcaf93fbfe88">bitfieldRotateRight</a> (vec&lt; L, T, Q &gt; const &amp;In, int Shift)</td></tr>
<tr class="memdesc:ga590488e1fc00a6cfe5d3bcaf93fbfe88"><td class="mdescLeft">&#160;</td><td class="mdescRight">Rotate all bits to the right. <a href="a00897.html#ga590488e1fc00a6cfe5d3bcaf93fbfe88">More...</a><br /></td></tr>
2018-09-02 21:34:18 +00:00
<tr class="separator:ga590488e1fc00a6cfe5d3bcaf93fbfe88"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad7eba518a0b71662114571ee76939f8a"><td class="memTemplParams" colspan="2">template&lt;typename genIUType &gt; </td></tr>
2024-01-24 13:40:22 +00:00
<tr class="memitem:gad7eba518a0b71662114571ee76939f8a"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL genIUType&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00897.html#gad7eba518a0b71662114571ee76939f8a">mask</a> (genIUType Bits)</td></tr>
<tr class="memdesc:gad7eba518a0b71662114571ee76939f8a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Build a mask of 'count' bits. <a href="a00897.html#gad7eba518a0b71662114571ee76939f8a">More...</a><br /></td></tr>
2018-09-02 21:34:18 +00:00
<tr class="separator:gad7eba518a0b71662114571ee76939f8a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2e64e3b922a296033b825311e7f5fff1"><td class="memTemplParams" colspan="2">template&lt;length_t L, typename T , qualifier Q&gt; </td></tr>
2024-01-24 13:40:22 +00:00
<tr class="memitem:ga2e64e3b922a296033b825311e7f5fff1"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; L, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00897.html#ga2e64e3b922a296033b825311e7f5fff1">mask</a> (vec&lt; L, T, Q &gt; const &amp;v)</td></tr>
<tr class="memdesc:ga2e64e3b922a296033b825311e7f5fff1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Build a mask of 'count' bits. <a href="a00897.html#ga2e64e3b922a296033b825311e7f5fff1">More...</a><br /></td></tr>
2018-09-02 21:34:18 +00:00
<tr class="separator:ga2e64e3b922a296033b825311e7f5fff1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
2024-01-24 13:40:22 +00:00
<p>Include &lt;<a class="el" href="a00530.html" title="GLM_GTC_bitfield">glm/gtc/bitfield.hpp</a>&gt; to use the features of this extension.</p>
2018-09-02 21:34:18 +00:00
<p>Allow to perform bit operations on integer values </p>
<h2 class="groupheader">Function Documentation</h2>
2024-01-24 13:40:22 +00:00
<a id="ga091d934233a2e121df91b8c7230357c8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga091d934233a2e121df91b8c7230357c8">&#9670;&nbsp;</a></span>bitfieldDeinterleave() <span class="overload">[1/3]</span></h2>
2018-09-02 21:34:18 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2024-01-24 13:40:22 +00:00
<td class="memname">GLM_FUNC_DECL <a class="el" href="a00884.html#ga518b8d948a6b4ddb72f84d5c3b7b6611">glm::u8vec2</a> glm::bitfieldDeinterleave </td>
2018-09-02 21:34:18 +00:00
<td>(</td>
2024-01-24 13:40:22 +00:00
<td class="paramtype"><a class="el" href="a00864.html#ga05f6b0ae8f6a6e135b0e290c25fe0e4e">glm::uint16</a>&#160;</td>
2018-09-02 21:34:18 +00:00
<td class="paramname"><em>x</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Deinterleaves the bits of x. </p>
2024-01-24 13:40:22 +00:00
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00897.html">GLM_GTC_bitfield</a> </dd></dl>
2018-09-02 21:34:18 +00:00
</div>
</div>
2024-01-24 13:40:22 +00:00
<a id="ga7d1cc24dfbcdd932c3a2abbb76235f98"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7d1cc24dfbcdd932c3a2abbb76235f98">&#9670;&nbsp;</a></span>bitfieldDeinterleave() <span class="overload">[2/3]</span></h2>
2018-09-02 21:34:18 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2024-01-24 13:40:22 +00:00
<td class="memname">GLM_FUNC_DECL <a class="el" href="a00884.html#ga2a78447eb9d66a114b193f4a25899c16">glm::u16vec2</a> glm::bitfieldDeinterleave </td>
2018-09-02 21:34:18 +00:00
<td>(</td>
2024-01-24 13:40:22 +00:00
<td class="paramtype"><a class="el" href="a00864.html#ga1134b580f8da4de94ca6b1de4d37975e">glm::uint32</a>&#160;</td>
2018-09-02 21:34:18 +00:00
<td class="paramname"><em>x</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Deinterleaves the bits of x. </p>
2024-01-24 13:40:22 +00:00
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00897.html">GLM_GTC_bitfield</a> </dd></dl>
2018-09-02 21:34:18 +00:00
</div>
</div>
2024-01-24 13:40:22 +00:00
<a id="ga8dbb8c87092f33bd815dd8a840be5d60"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8dbb8c87092f33bd815dd8a840be5d60">&#9670;&nbsp;</a></span>bitfieldDeinterleave() <span class="overload">[3/3]</span></h2>
2018-09-02 21:34:18 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2024-01-24 13:40:22 +00:00
<td class="memname">GLM_FUNC_DECL <a class="el" href="a00884.html#ga2a266e46ee218d0c680f12b35c500cc0">glm::u32vec2</a> glm::bitfieldDeinterleave </td>
2018-09-02 21:34:18 +00:00
<td>(</td>
2024-01-24 13:40:22 +00:00
<td class="paramtype"><a class="el" href="a00864.html#gab630f76c26b50298187f7889104d4b9c">glm::uint64</a>&#160;</td>
2018-09-02 21:34:18 +00:00
<td class="paramname"><em>x</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Deinterleaves the bits of x. </p>
2024-01-24 13:40:22 +00:00
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00897.html">GLM_GTC_bitfield</a> </dd></dl>
2018-09-02 21:34:18 +00:00
</div>
</div>
2024-01-24 13:40:22 +00:00
<a id="ga46f9295abe3b5c7658f5b13c7f819f0a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga46f9295abe3b5c7658f5b13c7f819f0a">&#9670;&nbsp;</a></span>bitfieldFillOne() <span class="overload">[1/2]</span></h2>
2018-09-02 21:34:18 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL genIUType glm::bitfieldFillOne </td>
<td>(</td>
<td class="paramtype">genIUType&#160;</td>
<td class="paramname"><em>Value</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>FirstBit</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>BitCount</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set to 1 a range of bits. </p>
2024-01-24 13:40:22 +00:00
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00897.html">GLM_GTC_bitfield</a> </dd></dl>
2018-09-02 21:34:18 +00:00
</div>
</div>
2024-01-24 13:40:22 +00:00
<a id="ga3e96dd1f0a4bc892f063251ed118c0c1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3e96dd1f0a4bc892f063251ed118c0c1">&#9670;&nbsp;</a></span>bitfieldFillOne() <span class="overload">[2/2]</span></h2>
2018-09-02 21:34:18 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL vec&lt;L, T, Q&gt; glm::bitfieldFillOne </td>
<td>(</td>
<td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
<td class="paramname"><em>Value</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>FirstBit</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>BitCount</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set to 1 a range of bits. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">L</td><td>Integer between 1 and 4 included that qualify the dimension of the vector </td></tr>
<tr><td class="paramname">T</td><td>Signed and unsigned integer scalar types </td></tr>
<tr><td class="paramname">Q</td><td>Value from qualifier enum</td></tr>
</table>
</dd>
</dl>
2024-01-24 13:40:22 +00:00
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00897.html">GLM_GTC_bitfield</a> </dd></dl>
2018-09-02 21:34:18 +00:00
</div>
</div>
2024-01-24 13:40:22 +00:00
<a id="ga697b86998b7d74ee0a69d8e9f8819fee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga697b86998b7d74ee0a69d8e9f8819fee">&#9670;&nbsp;</a></span>bitfieldFillZero() <span class="overload">[1/2]</span></h2>
2018-09-02 21:34:18 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL genIUType glm::bitfieldFillZero </td>
<td>(</td>
<td class="paramtype">genIUType&#160;</td>
<td class="paramname"><em>Value</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>FirstBit</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>BitCount</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set to 0 a range of bits. </p>
2024-01-24 13:40:22 +00:00
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00897.html">GLM_GTC_bitfield</a> </dd></dl>
2018-09-02 21:34:18 +00:00
</div>
</div>
2024-01-24 13:40:22 +00:00
<a id="ga0d16c9acef4be79ea9b47c082a0cf7c2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0d16c9acef4be79ea9b47c082a0cf7c2">&#9670;&nbsp;</a></span>bitfieldFillZero() <span class="overload">[2/2]</span></h2>
2018-09-02 21:34:18 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL vec&lt;L, T, Q&gt; glm::bitfieldFillZero </td>
<td>(</td>
<td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
<td class="paramname"><em>Value</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>FirstBit</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>BitCount</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set to 0 a range of bits. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">L</td><td>Integer between 1 and 4 included that qualify the dimension of the vector </td></tr>
<tr><td class="paramname">T</td><td>Signed and unsigned integer scalar types </td></tr>
<tr><td class="paramname">Q</td><td>Value from qualifier enum</td></tr>
</table>
</dd>
</dl>
2024-01-24 13:40:22 +00:00
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00897.html">GLM_GTC_bitfield</a> </dd></dl>
2018-09-02 21:34:18 +00:00
</div>
</div>
2024-01-24 13:40:22 +00:00
<a id="gac51c33a394593f0631fa3aa5bb778809"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac51c33a394593f0631fa3aa5bb778809">&#9670;&nbsp;</a></span>bitfieldInterleave() <span class="overload">[1/19]</span></h2>
2018-09-02 21:34:18 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2024-01-24 13:40:22 +00:00
<td class="memname">GLM_FUNC_DECL <a class="el" href="a00859.html#ga43d43196463bde49cb067f5c20ab8481">int32</a> glm::bitfieldInterleave </td>
2018-09-02 21:34:18 +00:00
<td>(</td>
2024-01-24 13:40:22 +00:00
<td class="paramtype"><a class="el" href="a00859.html#ga259fa4834387bd68627ddf37bb3ebdb9">int16</a>&#160;</td>
2018-09-02 21:34:18 +00:00
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2024-01-24 13:40:22 +00:00
<td class="paramtype"><a class="el" href="a00859.html#ga259fa4834387bd68627ddf37bb3ebdb9">int16</a>&#160;</td>
2018-09-02 21:34:18 +00:00
<td class="paramname"><em>y</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Interleaves the bits of x and y. </p>
<p>The first bit is the first bit of x followed by the first bit of y. The other bits are interleaved following the previous sequence.</p>
2024-01-24 13:40:22 +00:00
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00897.html">GLM_GTC_bitfield</a> </dd></dl>
2018-09-02 21:34:18 +00:00
</div>
</div>
2024-01-24 13:40:22 +00:00
<a id="gaa901c36a842fa5d126ea650549f17b24"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa901c36a842fa5d126ea650549f17b24">&#9670;&nbsp;</a></span>bitfieldInterleave() <span class="overload">[2/19]</span></h2>
2018-09-02 21:34:18 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2024-01-24 13:40:22 +00:00
<td class="memname">GLM_FUNC_DECL <a class="el" href="a00859.html#gaff5189f97f9e842d9636a0f240001b2e">int64</a> glm::bitfieldInterleave </td>
2018-09-02 21:34:18 +00:00
<td>(</td>
2024-01-24 13:40:22 +00:00
<td class="paramtype"><a class="el" href="a00859.html#ga259fa4834387bd68627ddf37bb3ebdb9">int16</a>&#160;</td>
2018-09-02 21:34:18 +00:00
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2024-01-24 13:40:22 +00:00
<td class="paramtype"><a class="el" href="a00859.html#ga259fa4834387bd68627ddf37bb3ebdb9">int16</a>&#160;</td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00859.html#ga259fa4834387bd68627ddf37bb3ebdb9">int16</a>&#160;</td>
<td class="paramname"><em>z</em>&#160;</td>
2018-09-02 21:34:18 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
2024-01-24 13:40:22 +00:00
<p>Interleaves the bits of x, y and z. </p>
<p>The first bit is the first bit of x followed by the first bit of y and the first bit of z. The other bits are interleaved following the previous sequence.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00897.html">GLM_GTC_bitfield</a> </dd></dl>
2018-09-02 21:34:18 +00:00
</div>
</div>
2024-01-24 13:40:22 +00:00
<a id="ga180a63161e1319fbd5a53c84d0429c7a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga180a63161e1319fbd5a53c84d0429c7a">&#9670;&nbsp;</a></span>bitfieldInterleave() <span class="overload">[3/19]</span></h2>
2018-09-02 21:34:18 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2024-01-24 13:40:22 +00:00
<td class="memname">GLM_FUNC_DECL <a class="el" href="a00859.html#gaff5189f97f9e842d9636a0f240001b2e">int64</a> glm::bitfieldInterleave </td>
2018-09-02 21:34:18 +00:00
<td>(</td>
2024-01-24 13:40:22 +00:00
<td class="paramtype"><a class="el" href="a00859.html#ga259fa4834387bd68627ddf37bb3ebdb9">int16</a>&#160;</td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
2018-09-02 21:34:18 +00:00
<td></td>
2024-01-24 13:40:22 +00:00
<td class="paramtype"><a class="el" href="a00859.html#ga259fa4834387bd68627ddf37bb3ebdb9">int16</a>&#160;</td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00859.html#ga259fa4834387bd68627ddf37bb3ebdb9">int16</a>&#160;</td>
<td class="paramname"><em>z</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00859.html#ga259fa4834387bd68627ddf37bb3ebdb9">int16</a>&#160;</td>
<td class="paramname"><em>w</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
2018-09-02 21:34:18 +00:00
</tr>
</table>
</div><div class="memdoc">
2024-01-24 13:40:22 +00:00
<p>Interleaves the bits of x, y, z and w. </p>
<p>The first bit is the first bit of x followed by the first bit of y, the first bit of z and finally the first bit of w. The other bits are interleaved following the previous sequence.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00897.html">GLM_GTC_bitfield</a> </dd></dl>
2018-09-02 21:34:18 +00:00
</div>
</div>
2024-01-24 13:40:22 +00:00
<a id="gaebb756a24a0784e3d6fba8bd011ab77a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaebb756a24a0784e3d6fba8bd011ab77a">&#9670;&nbsp;</a></span>bitfieldInterleave() <span class="overload">[4/19]</span></h2>
2018-09-02 21:34:18 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2024-01-24 13:40:22 +00:00
<td class="memname">GLM_FUNC_DECL <a class="el" href="a00859.html#gaff5189f97f9e842d9636a0f240001b2e">int64</a> glm::bitfieldInterleave </td>
2018-09-02 21:34:18 +00:00
<td>(</td>
2024-01-24 13:40:22 +00:00
<td class="paramtype"><a class="el" href="a00859.html#ga43d43196463bde49cb067f5c20ab8481">int32</a>&#160;</td>
2018-09-02 21:34:18 +00:00
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2024-01-24 13:40:22 +00:00
<td class="paramtype"><a class="el" href="a00859.html#ga43d43196463bde49cb067f5c20ab8481">int32</a>&#160;</td>
2018-09-02 21:34:18 +00:00
<td class="paramname"><em>y</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Interleaves the bits of x and y. </p>
<p>The first bit is the first bit of x followed by the first bit of y. The other bits are interleaved following the previous sequence.</p>
2024-01-24 13:40:22 +00:00
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00897.html">GLM_GTC_bitfield</a> </dd></dl>
2018-09-02 21:34:18 +00:00
</div>
</div>
2024-01-24 13:40:22 +00:00
<a id="gad2075d96a6640121edaa98ea534102ca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad2075d96a6640121edaa98ea534102ca">&#9670;&nbsp;</a></span>bitfieldInterleave() <span class="overload">[5/19]</span></h2>
2018-09-02 21:34:18 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2024-01-24 13:40:22 +00:00
<td class="memname">GLM_FUNC_DECL <a class="el" href="a00859.html#gaff5189f97f9e842d9636a0f240001b2e">int64</a> glm::bitfieldInterleave </td>
2018-09-02 21:34:18 +00:00
<td>(</td>
2024-01-24 13:40:22 +00:00
<td class="paramtype"><a class="el" href="a00859.html#ga43d43196463bde49cb067f5c20ab8481">int32</a>&#160;</td>
2018-09-02 21:34:18 +00:00
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2024-01-24 13:40:22 +00:00
<td class="paramtype"><a class="el" href="a00859.html#ga43d43196463bde49cb067f5c20ab8481">int32</a>&#160;</td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00859.html#ga43d43196463bde49cb067f5c20ab8481">int32</a>&#160;</td>
<td class="paramname"><em>z</em>&#160;</td>
2018-09-02 21:34:18 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
2024-01-24 13:40:22 +00:00
<p>Interleaves the bits of x, y and z. </p>
<p>The first bit is the first bit of x followed by the first bit of y and the first bit of z. The other bits are interleaved following the previous sequence.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00897.html">GLM_GTC_bitfield</a> </dd></dl>
2018-09-02 21:34:18 +00:00
</div>
</div>
2024-01-24 13:40:22 +00:00
<a id="ga24cad0069f9a0450abd80b3e89501adf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga24cad0069f9a0450abd80b3e89501adf">&#9670;&nbsp;</a></span>bitfieldInterleave() <span class="overload">[6/19]</span></h2>
2018-09-02 21:34:18 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2024-01-24 13:40:22 +00:00
<td class="memname">GLM_FUNC_DECL <a class="el" href="a00859.html#ga259fa4834387bd68627ddf37bb3ebdb9">int16</a> glm::bitfieldInterleave </td>
2018-09-02 21:34:18 +00:00
<td>(</td>
2024-01-24 13:40:22 +00:00
<td class="paramtype"><a class="el" href="a00859.html#ga1b956fe1df85f3c132b21edb4e116458">int8</a>&#160;</td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
2018-09-02 21:34:18 +00:00
<td></td>
2024-01-24 13:40:22 +00:00
<td class="paramtype"><a class="el" href="a00859.html#ga1b956fe1df85f3c132b21edb4e116458">int8</a>&#160;</td>
<td class="paramname"><em>y</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
2018-09-02 21:34:18 +00:00
</tr>
</table>
</div><div class="memdoc">
<p>Interleaves the bits of x and y. </p>
2024-01-24 13:40:22 +00:00
<p>The first bit is the first bit of x followed by the first bit of y. The other bits are interleaved following the previous sequence.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00897.html">GLM_GTC_bitfield</a> </dd></dl>
2018-09-02 21:34:18 +00:00
</div>
</div>
2024-01-24 13:40:22 +00:00
<a id="ga8fdb724dccd4a07d57efc01147102137"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8fdb724dccd4a07d57efc01147102137">&#9670;&nbsp;</a></span>bitfieldInterleave() <span class="overload">[7/19]</span></h2>
2018-09-02 21:34:18 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2024-01-24 13:40:22 +00:00
<td class="memname">GLM_FUNC_DECL <a class="el" href="a00859.html#ga43d43196463bde49cb067f5c20ab8481">int32</a> glm::bitfieldInterleave </td>
2018-09-02 21:34:18 +00:00
<td>(</td>
2024-01-24 13:40:22 +00:00
<td class="paramtype"><a class="el" href="a00859.html#ga1b956fe1df85f3c132b21edb4e116458">int8</a>&#160;</td>
2018-09-02 21:34:18 +00:00
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2024-01-24 13:40:22 +00:00
<td class="paramtype"><a class="el" href="a00859.html#ga1b956fe1df85f3c132b21edb4e116458">int8</a>&#160;</td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00859.html#ga1b956fe1df85f3c132b21edb4e116458">int8</a>&#160;</td>
<td class="paramname"><em>z</em>&#160;</td>
2018-09-02 21:34:18 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
2024-01-24 13:40:22 +00:00
<p>Interleaves the bits of x, y and z. </p>
<p>The first bit is the first bit of x followed by the first bit of y and the first bit of z. The other bits are interleaved following the previous sequence.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00897.html">GLM_GTC_bitfield</a> </dd></dl>
2018-09-02 21:34:18 +00:00
</div>
</div>
2024-01-24 13:40:22 +00:00
<a id="ga8a44ae22f5c953b296c42d067dccbe6d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8a44ae22f5c953b296c42d067dccbe6d">&#9670;&nbsp;</a></span>bitfieldInterleave() <span class="overload">[8/19]</span></h2>
2018-09-02 21:34:18 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2024-01-24 13:40:22 +00:00
<td class="memname">GLM_FUNC_DECL <a class="el" href="a00859.html#ga43d43196463bde49cb067f5c20ab8481">int32</a> glm::bitfieldInterleave </td>
2018-09-02 21:34:18 +00:00
<td>(</td>
2024-01-24 13:40:22 +00:00
<td class="paramtype"><a class="el" href="a00859.html#ga1b956fe1df85f3c132b21edb4e116458">int8</a>&#160;</td>
2018-09-02 21:34:18 +00:00
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2024-01-24 13:40:22 +00:00
<td class="paramtype"><a class="el" href="a00859.html#ga1b956fe1df85f3c132b21edb4e116458">int8</a>&#160;</td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00859.html#ga1b956fe1df85f3c132b21edb4e116458">int8</a>&#160;</td>
<td class="paramname"><em>z</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00859.html#ga1b956fe1df85f3c132b21edb4e116458">int8</a>&#160;</td>
<td class="paramname"><em>w</em>&#160;</td>
2018-09-02 21:34:18 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
2024-01-24 13:40:22 +00:00
<p>Interleaves the bits of x, y, z and w. </p>
<p>The first bit is the first bit of x followed by the first bit of y, the first bit of z and finally the first bit of w. The other bits are interleaved following the previous sequence.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00897.html">GLM_GTC_bitfield</a> </dd></dl>
2018-09-02 21:34:18 +00:00
</div>
</div>
2024-01-24 13:40:22 +00:00
<a id="ga406c4ee56af4ca37a73f449f154eca3e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga406c4ee56af4ca37a73f449f154eca3e">&#9670;&nbsp;</a></span>bitfieldInterleave() <span class="overload">[9/19]</span></h2>
2018-09-02 21:34:18 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2024-01-24 13:40:22 +00:00
<td class="memname">GLM_FUNC_DECL <a class="el" href="a00864.html#ga1134b580f8da4de94ca6b1de4d37975e">uint32</a> glm::bitfieldInterleave </td>
2018-09-02 21:34:18 +00:00
<td>(</td>
2024-01-24 13:40:22 +00:00
<td class="paramtype"><a class="el" href="a00884.html#ga2a78447eb9d66a114b193f4a25899c16">u16vec2</a> const &amp;&#160;</td>
2018-09-02 21:34:18 +00:00
<td class="paramname"><em>v</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Interleaves the bits of x and y. </p>
<p>The first bit is the first bit of v.x followed by the first bit of v.y. The other bits are interleaved following the previous sequence.</p>
2024-01-24 13:40:22 +00:00
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00897.html">GLM_GTC_bitfield</a> </dd></dl>
2018-09-02 21:34:18 +00:00
</div>
</div>
2024-01-24 13:40:22 +00:00
<a id="ga8cb17574d60abd6ade84bc57c10e8f78"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8cb17574d60abd6ade84bc57c10e8f78">&#9670;&nbsp;</a></span>bitfieldInterleave() <span class="overload">[10/19]</span></h2>
2018-09-02 21:34:18 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2024-01-24 13:40:22 +00:00
<td class="memname">GLM_FUNC_DECL <a class="el" href="a00864.html#gab630f76c26b50298187f7889104d4b9c">uint64</a> glm::bitfieldInterleave </td>
2018-09-02 21:34:18 +00:00
<td>(</td>
2024-01-24 13:40:22 +00:00
<td class="paramtype"><a class="el" href="a00884.html#ga2a266e46ee218d0c680f12b35c500cc0">u32vec2</a> const &amp;&#160;</td>
<td class="paramname"><em>v</em></td><td>)</td>
2018-09-02 21:34:18 +00:00
<td></td>
</tr>
</table>
</div><div class="memdoc">
2024-01-24 13:40:22 +00:00
<p>Interleaves the bits of x and y. </p>
<p>The first bit is the first bit of v.x followed by the first bit of v.y. The other bits are interleaved following the previous sequence.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00897.html">GLM_GTC_bitfield</a> </dd></dl>
2018-09-02 21:34:18 +00:00
</div>
</div>
2024-01-24 13:40:22 +00:00
<a id="ga4a76bbca39c40153f3203d0a1926e142"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4a76bbca39c40153f3203d0a1926e142">&#9670;&nbsp;</a></span>bitfieldInterleave() <span class="overload">[11/19]</span></h2>
2018-09-02 21:34:18 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2024-01-24 13:40:22 +00:00
<td class="memname">GLM_FUNC_DECL <a class="el" href="a00864.html#ga05f6b0ae8f6a6e135b0e290c25fe0e4e">uint16</a> glm::bitfieldInterleave </td>
2018-09-02 21:34:18 +00:00
<td>(</td>
2024-01-24 13:40:22 +00:00
<td class="paramtype"><a class="el" href="a00884.html#ga518b8d948a6b4ddb72f84d5c3b7b6611">u8vec2</a> const &amp;&#160;</td>
<td class="paramname"><em>v</em></td><td>)</td>
2018-09-02 21:34:18 +00:00
<td></td>
</tr>
</table>
</div><div class="memdoc">
2024-01-24 13:40:22 +00:00
<p>Interleaves the bits of x and y. </p>
<p>The first bit is the first bit of v.x followed by the first bit of v.y. The other bits are interleaved following the previous sequence.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00897.html">GLM_GTC_bitfield</a> </dd></dl>
2018-09-02 21:34:18 +00:00
</div>
</div>
2024-01-24 13:40:22 +00:00
<a id="ga94f3646a5667f4be56f8dcf3310e963f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga94f3646a5667f4be56f8dcf3310e963f">&#9670;&nbsp;</a></span>bitfieldInterleave() <span class="overload">[12/19]</span></h2>
2018-09-02 21:34:18 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2024-01-24 13:40:22 +00:00
<td class="memname">GLM_FUNC_DECL <a class="el" href="a00864.html#ga1134b580f8da4de94ca6b1de4d37975e">uint32</a> glm::bitfieldInterleave </td>
2018-09-02 21:34:18 +00:00
<td>(</td>
2024-01-24 13:40:22 +00:00
<td class="paramtype"><a class="el" href="a00864.html#ga05f6b0ae8f6a6e135b0e290c25fe0e4e">uint16</a>&#160;</td>
2018-09-02 21:34:18 +00:00
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2024-01-24 13:40:22 +00:00
<td class="paramtype"><a class="el" href="a00864.html#ga05f6b0ae8f6a6e135b0e290c25fe0e4e">uint16</a>&#160;</td>
<td class="paramname"><em>y</em>&#160;</td>
2018-09-02 21:34:18 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
2024-01-24 13:40:22 +00:00
<p>Interleaves the bits of x and y. </p>
<p>The first bit is the first bit of x followed by the first bit of y. The other bits are interleaved following the previous sequence.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00897.html">GLM_GTC_bitfield</a> </dd></dl>
2018-09-02 21:34:18 +00:00
</div>
</div>
2024-01-24 13:40:22 +00:00
<a id="ga3afd6d38881fe3948c53d4214d2197fd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3afd6d38881fe3948c53d4214d2197fd">&#9670;&nbsp;</a></span>bitfieldInterleave() <span class="overload">[13/19]</span></h2>
2018-09-02 21:34:18 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2024-01-24 13:40:22 +00:00
<td class="memname">GLM_FUNC_DECL <a class="el" href="a00864.html#gab630f76c26b50298187f7889104d4b9c">uint64</a> glm::bitfieldInterleave </td>
2018-09-02 21:34:18 +00:00
<td>(</td>
2024-01-24 13:40:22 +00:00
<td class="paramtype"><a class="el" href="a00864.html#ga05f6b0ae8f6a6e135b0e290c25fe0e4e">uint16</a>&#160;</td>
2018-09-02 21:34:18 +00:00
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2024-01-24 13:40:22 +00:00
<td class="paramtype"><a class="el" href="a00864.html#ga05f6b0ae8f6a6e135b0e290c25fe0e4e">uint16</a>&#160;</td>
2018-09-02 21:34:18 +00:00
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2024-01-24 13:40:22 +00:00
<td class="paramtype"><a class="el" href="a00864.html#ga05f6b0ae8f6a6e135b0e290c25fe0e4e">uint16</a>&#160;</td>
2018-09-02 21:34:18 +00:00
<td class="paramname"><em>z</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Interleaves the bits of x, y and z. </p>
<p>The first bit is the first bit of x followed by the first bit of y and the first bit of z. The other bits are interleaved following the previous sequence.</p>
2024-01-24 13:40:22 +00:00
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00897.html">GLM_GTC_bitfield</a> </dd></dl>
2018-09-02 21:34:18 +00:00
</div>
</div>
2024-01-24 13:40:22 +00:00
<a id="gafca8768671a14c8016facccb66a89f26"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafca8768671a14c8016facccb66a89f26">&#9670;&nbsp;</a></span>bitfieldInterleave() <span class="overload">[14/19]</span></h2>
2018-09-02 21:34:18 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2024-01-24 13:40:22 +00:00
<td class="memname">GLM_FUNC_DECL <a class="el" href="a00864.html#gab630f76c26b50298187f7889104d4b9c">uint64</a> glm::bitfieldInterleave </td>
2018-09-02 21:34:18 +00:00
<td>(</td>
2024-01-24 13:40:22 +00:00
<td class="paramtype"><a class="el" href="a00864.html#ga05f6b0ae8f6a6e135b0e290c25fe0e4e">uint16</a>&#160;</td>
2018-09-02 21:34:18 +00:00
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2024-01-24 13:40:22 +00:00
<td class="paramtype"><a class="el" href="a00864.html#ga05f6b0ae8f6a6e135b0e290c25fe0e4e">uint16</a>&#160;</td>
2018-09-02 21:34:18 +00:00
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2024-01-24 13:40:22 +00:00
<td class="paramtype"><a class="el" href="a00864.html#ga05f6b0ae8f6a6e135b0e290c25fe0e4e">uint16</a>&#160;</td>
<td class="paramname"><em>z</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="a00864.html#ga05f6b0ae8f6a6e135b0e290c25fe0e4e">uint16</a>&#160;</td>
<td class="paramname"><em>w</em>&#160;</td>
2018-09-02 21:34:18 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
2024-01-24 13:40:22 +00:00
<p>Interleaves the bits of x, y, z and w. </p>
<p>The first bit is the first bit of x followed by the first bit of y, the first bit of z and finally the first bit of w. The other bits are interleaved following the previous sequence.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00897.html">GLM_GTC_bitfield</a> </dd></dl>
2018-09-02 21:34:18 +00:00
</div>
</div>
2024-01-24 13:40:22 +00:00
<a id="ga2f1e2b3fe699e7d897ae38b2115ddcbd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2f1e2b3fe699e7d897ae38b2115ddcbd">&#9670;&nbsp;</a></span>bitfieldInterleave() <span class="overload">[15/19]</span></h2>
2018-09-02 21:34:18 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2024-01-24 13:40:22 +00:00
<td class="memname">GLM_FUNC_DECL <a class="el" href="a00864.html#gab630f76c26b50298187f7889104d4b9c">uint64</a> glm::bitfieldInterleave </td>
2018-09-02 21:34:18 +00:00
<td>(</td>
2024-01-24 13:40:22 +00:00
<td class="paramtype"><a class="el" href="a00864.html#ga1134b580f8da4de94ca6b1de4d37975e">uint32</a>&#160;</td>
2018-09-02 21:34:18 +00:00
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2024-01-24 13:40:22 +00:00
<td class="paramtype"><a class="el" href="a00864.html#ga1134b580f8da4de94ca6b1de4d37975e">uint32</a>&#160;</td>
<td class="paramname"><em>y</em>&#160;</td>
2018-09-02 21:34:18 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
2024-01-24 13:40:22 +00:00
<p>Interleaves the bits of x and y. </p>
<p>The first bit is the first bit of x followed by the first bit of y. The other bits are interleaved following the previous sequence.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00897.html">GLM_GTC_bitfield</a> </dd></dl>
2018-09-02 21:34:18 +00:00
</div>
</div>
2024-01-24 13:40:22 +00:00
<a id="gab19fbc739fc0cf7247978602c36f7da8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab19fbc739fc0cf7247978602c36f7da8">&#9670;&nbsp;</a></span>bitfieldInterleave() <span class="overload">[16/19]</span></h2>
2018-09-02 21:34:18 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2024-01-24 13:40:22 +00:00
<td class="memname">GLM_FUNC_DECL <a class="el" href="a00864.html#gab630f76c26b50298187f7889104d4b9c">uint64</a> glm::bitfieldInterleave </td>
2018-09-02 21:34:18 +00:00
<td>(</td>
2024-01-24 13:40:22 +00:00
<td class="paramtype"><a class="el" href="a00864.html#ga1134b580f8da4de94ca6b1de4d37975e">uint32</a>&#160;</td>
2018-09-02 21:34:18 +00:00
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2024-01-24 13:40:22 +00:00
<td class="paramtype"><a class="el" href="a00864.html#ga1134b580f8da4de94ca6b1de4d37975e">uint32</a>&#160;</td>
2018-09-02 21:34:18 +00:00
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2024-01-24 13:40:22 +00:00
<td class="paramtype"><a class="el" href="a00864.html#ga1134b580f8da4de94ca6b1de4d37975e">uint32</a>&#160;</td>
<td class="paramname"><em>z</em>&#160;</td>
2018-09-02 21:34:18 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
2024-01-24 13:40:22 +00:00
<p>Interleaves the bits of x, y and z. </p>
<p>The first bit is the first bit of x followed by the first bit of y and the first bit of z. The other bits are interleaved following the previous sequence.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00897.html">GLM_GTC_bitfield</a> </dd></dl>
2018-09-02 21:34:18 +00:00
</div>
</div>
2024-01-24 13:40:22 +00:00
<a id="ga9a4976a529aec2cee56525e1165da484"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9a4976a529aec2cee56525e1165da484">&#9670;&nbsp;</a></span>bitfieldInterleave() <span class="overload">[17/19]</span></h2>
2018-09-02 21:34:18 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2024-01-24 13:40:22 +00:00
<td class="memname">GLM_FUNC_DECL <a class="el" href="a00864.html#ga05f6b0ae8f6a6e135b0e290c25fe0e4e">uint16</a> glm::bitfieldInterleave </td>
2018-09-02 21:34:18 +00:00
<td>(</td>
2024-01-24 13:40:22 +00:00
<td class="paramtype"><a class="el" href="a00864.html#gadde6aaee8457bee49c2a92621fe22b79">uint8</a>&#160;</td>
2018-09-02 21:34:18 +00:00
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2024-01-24 13:40:22 +00:00
<td class="paramtype"><a class="el" href="a00864.html#gadde6aaee8457bee49c2a92621fe22b79">uint8</a>&#160;</td>
<td class="paramname"><em>y</em>&#160;</td>
2018-09-02 21:34:18 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
2024-01-24 13:40:22 +00:00
<p>Interleaves the bits of x and y. </p>
<p>The first bit is the first bit of x followed by the first bit of y. The other bits are interleaved following the previous sequence.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00897.html">GLM_GTC_bitfield</a> </dd></dl>
2018-09-02 21:34:18 +00:00
</div>
</div>
2024-01-24 13:40:22 +00:00
<a id="ga9fc2a0dd5dcf8b00e113f272a5feca93"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9fc2a0dd5dcf8b00e113f272a5feca93">&#9670;&nbsp;</a></span>bitfieldInterleave() <span class="overload">[18/19]</span></h2>
2018-09-02 21:34:18 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2024-01-24 13:40:22 +00:00
<td class="memname">GLM_FUNC_DECL <a class="el" href="a00864.html#ga1134b580f8da4de94ca6b1de4d37975e">uint32</a> glm::bitfieldInterleave </td>
2018-09-02 21:34:18 +00:00
<td>(</td>
2024-01-24 13:40:22 +00:00
<td class="paramtype"><a class="el" href="a00864.html#gadde6aaee8457bee49c2a92621fe22b79">uint8</a>&#160;</td>
2018-09-02 21:34:18 +00:00
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2024-01-24 13:40:22 +00:00
<td class="paramtype"><a class="el" href="a00864.html#gadde6aaee8457bee49c2a92621fe22b79">uint8</a>&#160;</td>
2018-09-02 21:34:18 +00:00
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2024-01-24 13:40:22 +00:00
<td class="paramtype"><a class="el" href="a00864.html#gadde6aaee8457bee49c2a92621fe22b79">uint8</a>&#160;</td>
<td class="paramname"><em>z</em>&#160;</td>
2018-09-02 21:34:18 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
2024-01-24 13:40:22 +00:00
<p>Interleaves the bits of x, y and z. </p>
<p>The first bit is the first bit of x followed by the first bit of y and the first bit of z. The other bits are interleaved following the previous sequence.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00897.html">GLM_GTC_bitfield</a> </dd></dl>
2018-09-02 21:34:18 +00:00
</div>
</div>
2024-01-24 13:40:22 +00:00
<a id="ga14bb274d54a3c26f4919dd7ed0dd0c36"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga14bb274d54a3c26f4919dd7ed0dd0c36">&#9670;&nbsp;</a></span>bitfieldInterleave() <span class="overload">[19/19]</span></h2>
2018-09-02 21:34:18 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2024-01-24 13:40:22 +00:00
<td class="memname">GLM_FUNC_DECL <a class="el" href="a00864.html#ga1134b580f8da4de94ca6b1de4d37975e">uint32</a> glm::bitfieldInterleave </td>
2018-09-02 21:34:18 +00:00
<td>(</td>
2024-01-24 13:40:22 +00:00
<td class="paramtype"><a class="el" href="a00864.html#gadde6aaee8457bee49c2a92621fe22b79">uint8</a>&#160;</td>
2018-09-02 21:34:18 +00:00
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2024-01-24 13:40:22 +00:00
<td class="paramtype"><a class="el" href="a00864.html#gadde6aaee8457bee49c2a92621fe22b79">uint8</a>&#160;</td>
2018-09-02 21:34:18 +00:00
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2024-01-24 13:40:22 +00:00
<td class="paramtype"><a class="el" href="a00864.html#gadde6aaee8457bee49c2a92621fe22b79">uint8</a>&#160;</td>
2018-09-02 21:34:18 +00:00
<td class="paramname"><em>z</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2024-01-24 13:40:22 +00:00
<td class="paramtype"><a class="el" href="a00864.html#gadde6aaee8457bee49c2a92621fe22b79">uint8</a>&#160;</td>
2018-09-02 21:34:18 +00:00
<td class="paramname"><em>w</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Interleaves the bits of x, y, z and w. </p>
<p>The first bit is the first bit of x followed by the first bit of y, the first bit of z and finally the first bit of w. The other bits are interleaved following the previous sequence.</p>
2024-01-24 13:40:22 +00:00
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00897.html">GLM_GTC_bitfield</a> </dd></dl>
2018-09-02 21:34:18 +00:00
</div>
</div>
2024-01-24 13:40:22 +00:00
<a id="ga2eb49678a344ce1495bdb5586d9896b9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2eb49678a344ce1495bdb5586d9896b9">&#9670;&nbsp;</a></span>bitfieldRotateLeft() <span class="overload">[1/2]</span></h2>
2018-09-02 21:34:18 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL genIUType glm::bitfieldRotateLeft </td>
<td>(</td>
<td class="paramtype">genIUType&#160;</td>
<td class="paramname"><em>In</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>Shift</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Rotate all bits to the left. </p>
<p>All the bits dropped in the left side are inserted back on the right side.</p>
2024-01-24 13:40:22 +00:00
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00897.html">GLM_GTC_bitfield</a> </dd></dl>
2018-09-02 21:34:18 +00:00
</div>
</div>
2024-01-24 13:40:22 +00:00
<a id="gae186317091b1a39214ebf79008d44a1e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae186317091b1a39214ebf79008d44a1e">&#9670;&nbsp;</a></span>bitfieldRotateLeft() <span class="overload">[2/2]</span></h2>
2018-09-02 21:34:18 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL vec&lt;L, T, Q&gt; glm::bitfieldRotateLeft </td>
<td>(</td>
<td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
<td class="paramname"><em>In</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>Shift</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Rotate all bits to the left. </p>
<p>All the bits dropped in the left side are inserted back on the right side.</p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">L</td><td>Integer between 1 and 4 included that qualify the dimension of the vector </td></tr>
<tr><td class="paramname">T</td><td>Signed and unsigned integer scalar types </td></tr>
<tr><td class="paramname">Q</td><td>Value from qualifier enum</td></tr>
</table>
</dd>
</dl>
2024-01-24 13:40:22 +00:00
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00897.html">GLM_GTC_bitfield</a> </dd></dl>
2018-09-02 21:34:18 +00:00
</div>
</div>
2024-01-24 13:40:22 +00:00
<a id="ga1c33d075c5fb8bd8dbfd5092bfc851ca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1c33d075c5fb8bd8dbfd5092bfc851ca">&#9670;&nbsp;</a></span>bitfieldRotateRight() <span class="overload">[1/2]</span></h2>
2018-09-02 21:34:18 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL genIUType glm::bitfieldRotateRight </td>
<td>(</td>
<td class="paramtype">genIUType&#160;</td>
<td class="paramname"><em>In</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>Shift</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Rotate all bits to the right. </p>
<p>All the bits dropped in the right side are inserted back on the left side.</p>
2024-01-24 13:40:22 +00:00
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00897.html">GLM_GTC_bitfield</a> </dd></dl>
2018-09-02 21:34:18 +00:00
</div>
</div>
2024-01-24 13:40:22 +00:00
<a id="ga590488e1fc00a6cfe5d3bcaf93fbfe88"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga590488e1fc00a6cfe5d3bcaf93fbfe88">&#9670;&nbsp;</a></span>bitfieldRotateRight() <span class="overload">[2/2]</span></h2>
2018-09-02 21:34:18 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL vec&lt;L, T, Q&gt; glm::bitfieldRotateRight </td>
<td>(</td>
<td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
<td class="paramname"><em>In</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>Shift</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Rotate all bits to the right. </p>
<p>All the bits dropped in the right side are inserted back on the left side.</p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">L</td><td>Integer between 1 and 4 included that qualify the dimension of the vector </td></tr>
<tr><td class="paramname">T</td><td>Signed and unsigned integer scalar types </td></tr>
<tr><td class="paramname">Q</td><td>Value from qualifier enum</td></tr>
</table>
</dd>
</dl>
2024-01-24 13:40:22 +00:00
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00897.html">GLM_GTC_bitfield</a> </dd></dl>
2018-09-02 21:34:18 +00:00
</div>
</div>
2024-01-24 13:40:22 +00:00
<a id="gad7eba518a0b71662114571ee76939f8a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad7eba518a0b71662114571ee76939f8a">&#9670;&nbsp;</a></span>mask() <span class="overload">[1/2]</span></h2>
2018-09-02 21:34:18 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL genIUType glm::mask </td>
<td>(</td>
<td class="paramtype">genIUType&#160;</td>
<td class="paramname"><em>Bits</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Build a mask of 'count' bits. </p>
2024-01-24 13:40:22 +00:00
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00897.html">GLM_GTC_bitfield</a> </dd></dl>
2018-09-02 21:34:18 +00:00
</div>
</div>
2024-01-24 13:40:22 +00:00
<a id="ga2e64e3b922a296033b825311e7f5fff1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2e64e3b922a296033b825311e7f5fff1">&#9670;&nbsp;</a></span>mask() <span class="overload">[2/2]</span></h2>
2018-09-02 21:34:18 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL vec&lt;L, T, Q&gt; glm::mask </td>
<td>(</td>
<td class="paramtype">vec&lt; L, T, Q &gt; const &amp;&#160;</td>
<td class="paramname"><em>v</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Build a mask of 'count' bits. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">L</td><td>Integer between 1 and 4 included that qualify the dimension of the vector </td></tr>
<tr><td class="paramname">T</td><td>Signed and unsigned integer scalar types </td></tr>
<tr><td class="paramname">Q</td><td>Value from qualifier enum</td></tr>
</table>
</dd>
</dl>
2024-01-24 13:40:22 +00:00
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00897.html">GLM_GTC_bitfield</a> </dd></dl>
2018-09-02 21:34:18 +00:00
</div>
</div>
</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"/>
2024-01-24 13:40:22 +00:00
</a> 1.8.18
2018-09-02 21:34:18 +00:00
</small></address>
</body>
</html>